IP Library Granted Patent US 10,721,076
Granted Patent B2
US 10,721,076 · App. 15/484,061 · Granted Jul 21, 2020

Method, device, terminal, and server for a security check

Inventor: Junsui Lin (Zhejiang, CN)
Assignee: ALIBABA GROUP HOLDING LIMITED
H04L9/3247H04L9/0819H04L9/0869H04L9/0894H04L9/14H04L9/30H04L9/32H04L63/0428H04L63/0807H04W12/02H04W12/06G06F21/32H04L2209/80
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 10,721,076
App. No.
15/484,061
Granted
Jul 21, 2020
Kind
B2
Abstract

A method, a device, a terminal, and a service are described for a security check for terminal users. The method may include: performing a local check via an updated check mode to acquire a local check result, when a terminal user performs the security check; encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result, wherein the substitutive credential information is generated when the updated check mode is used to replace an original check mode; and sending the encrypted check result, the local check result and user information of the terminal user to a server, so that the server determines that the local check result is trustable when the verification of the encrypted check result according to substitutive credential information corresponding to the user information is passed.

Claims (106)

1. A method for a security check, comprising:

replacing an original check mode with an updated check mode, wherein the original check mode is performed at a server side using a first original check credential information;

performing a local check via the updated check mode to acquire a local check result, when a terminal user performs the security check;

encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result, wherein the substitutive credential information is generated according to the first original check credential information when the updated check mode is used to replace the original check mode and the updated check mode comprises a check algorithm that is different from the original check mode; and

sending the encrypted check result, the local check result, and user information of the terminal user to a server, wherein

the local check result is determined to be trustable when verification of the encrypted check result according to substitutive credential information corresponding to the user information is passed.

2. The method according to claim 1 , further comprising:

acquiring first original check credential information of the original check mode when the updated check mode is used to replace the original check mode;

generating the substitutive credential information for the updated check mode; and

transmitting the first original check credential information, the substitutive credential information, and the user information to the server, so that second original check credential information corresponding to the user information is retrieved, and correlation between the substitutive credential information and the user information is stored when the second original check credential information is consistent with the first original check credential information.

3. The method according to claim 2 , further comprising:

storing the substitutive credential information in a trusted storage area associated with the terminal user, wherein the trusted storage area comprises a trusted execution environment (TEE) module or a security environment (SE) module.

4. The method according to claim 2 , wherein the substitutive credential information comprises a public key and a private key;

transmitting the substitutive credential information to the server further comprises transmitting the public key to the server;

encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result further comprises digitally signing the local check result according to the stored private key to acquire signature information; and

sending the encrypted check result to the server further comprises sending the signature information to the server, wherein

the local check result is determined to be trustable when verification of the signature information according to the public key corresponding to the user information is passed.

5. The method according to claim 2 , wherein the substitutive credential information comprises a random string;

transmitting the substitutive credential information to the server further comprises transmitting the random string to the server;

encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result further comprises encrypting the random string and the local check result by a message abstract algorithm, so as to acquire a first encrypted data result; and

sending the encrypted check result to the server further comprises sending the first encrypted data result to the server to acquire a second encrypted data result, wherein

the local check result is determined to be trustable when the second encrypted data result is consistent with the first encrypted data result.

6. A security check method, comprising:

receiving an encrypted check result, a local check result, and user information of a terminal user that are sent by a terminal, wherein the encrypted check result is generated by encrypting the local check result according to stored substitutive credential information, the substitutive credential information is generated according to a first original check credential information when an updated check mode replaces an original check mode, and the local check result is acquired by performing a local check via the updated check mode when the terminal user performs a security check, wherein the original check mode is performed using the first original check credential information and the updated check mode comprises a check algorithm that is different from the original check mode's check algorithm;

acquiring substitutive credential information corresponding to the user information; and

verifying the encrypted check result according to the substitutive credential information corresponding to the user information, and determining the local check result to be trustable when the verification is passed.

7. The method according to claim 6 , further comprising:

receiving first original check credential information, substitutive credential information, and the user information sent by the terminal when the terminal uses the updated check mode to replace an original check mode, wherein the first original check credential information is check credential information of the original check mode, and the substitutive credential information is generated by the terminal for the updated check mode;

searching for second original check credential information corresponding to the user information;

determining whether the first original check credential information is consistent with the second original check credential information; and

storing correlation between the substitutive credential information and the user information when the first original check credential information is consistent with the second original check credential information.

8. The method according to claim 7 , wherein the substitutive credential information comprises a public key and a private key;

receiving substitutive credential information sent by the terminal further comprises receiving the public key sent by the terminal;

receiving an encrypted check result sent by the terminal further comprises receiving signature information sent by the terminal, wherein the signature information is acquired by digitally signing the local check result according to the stored private key;

acquiring substitutive credential information corresponding to the user information further comprises acquiring a public key corresponding to the user information by searching for the correlation; and

verifying the encrypted check result according to the substitutive credential information corresponding to the user information further comprises verifying the signature information via the public key corresponding to the user information.

9. The method according to claim 7 , wherein the substitutive credential information comprises a random string;

receiving substitutive credential information sent by the terminal further comprises receiving the random string sent by the terminal;

receiving an encrypted check result sent by the terminal further comprises receiving a first encrypted data result sent by the terminal, wherein the first encrypted data result is acquired by encrypting the random string and the local check result by a message abstract algorithm;

acquiring substitutive credential information corresponding to the user information further comprises acquiring a random string corresponding to the user information by searching for the correlation; and

verifying the encrypted check result according to the substitutive credential information corresponding to the user information comprises: encrypting, by the encryption abstract algorithm, a random string corresponding to the user information and the local check result, so as to acquire a second encrypted data result; and determining whether the second encrypted data result is consistent with the first encrypted data result, wherein upon the second encrypted data result being consistent with the first encrypted data result, the verifying is passed.

10. A terminal, comprising:

a processor; and a memory for storing instructions executable by the processor;

wherein the processor is configured to cause the terminal to:

replace an original check mode with an updated check mode, wherein the original check mode is performed at a server side using a first original check credential information;

perform a local check via an updated check mode to acquire a local check result, when a terminal user performs the security check;

encrypt the local check result according to stored substitutive credential information to acquire an encrypted check result, wherein the substitutive credential information is generated according to the first original check credential information when the updated check mode is used to replace the original check mode, and the updated check mode comprises a check algorithm that is different from the original check mode's check algorithm; and

send the encrypted check result, the local check result and user information of the terminal user to a server, wherein

the local check result is determined to be trustable when the verification of the encrypted check result according to substitutive credential information corresponding to the user information is passed.

11. A server, comprising:

a processor; and a memory for storing instructions executable by the processor;

wherein the processor is configured to cause the server to:

receive an encrypted check result, a local check result, and user information of a terminal user that are sent by a terminal, wherein the encrypted check result is generated by encrypting the local check result according to stored substitutive credential information, the substitutive credential information is generated according to a first original check credential information when an updated check mode replaces an original check mode, and the local check result is acquired by performing a local check via the updated check mode when the terminal user performs a security check, wherein the original check mode is performed using the first original check credential information and the updated check mode comprises a check algorithm that is different from the original check mode's check algorithm;

acquire substitutive credential information corresponding to the user information; and

verify the encrypted check result according to the substitutive credential information corresponding to the user information, and determine the local check result to be trustable when the verification is passed.

12. The terminal according to claim 10 , wherein the processor is further configured to cause the terminal to:

acquire first original check credential information of the original check mode when the updated check mode is used to replace the original check mode;

generate the substitutive credential information for the updated check mode; and

transmit the first original check credential information, the substitutive credential information, and the user information to the server, so that second original check credential information corresponding to the user information is retrieved, and the correlation between the substitutive credential information and the user information is stored, when the second original check credential information is consistent with the first original check credential information.

13. The terminal according to claim 12 , wherein the substitutive credential information is stored in a TEE module or an SE module.

14. The server according to claim 11 , wherein the processor is further configured to cause the server to:

receive first original check credential information, substitutive credential information, and the user information sent by the terminal when the terminal uses the updated check mode to replace an original check mode, wherein the first original check credential information is check credential information of the original check mode, and the substitutive credential information is generated by the terminal for the updated check mode;

search for second original check credential information corresponding to the user information;

compare whether the first original check credential information is consistent with the second original check credential information; and

store correlation between the substitutive credential information and the user information when the first original check credential information is consistent with the second original check credential information.

15. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a terminal device to cause the terminal device to perform a security check method, the method comprising:

replacing an original check mode with an updated check mode, wherein the original check mode is performed at a server side using a first original check credential information;

performing a local check via an updated check mode to acquire a local check result, when a terminal user performs the security check;

encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result, wherein the substitutive credential information is generated according to the first original check credential information when the updated check mode is used to replace the original check mode and the updated check mode comprises a check algorithm that is different from the original check mode's check algorithm; and

sending the encrypted check result, the local check result and user information of the terminal user to a server, wherein

the local check result is determined to be trustable when the verification of the encrypted check result according to substitutive credential information corresponding to the user information is passed.

16. The non-transitory computer readable medium according to claim 15 , wherein the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform:

acquiring first original check credential information of the original check mode when the updated check mode is used to replace the original check mode;

generating the substitutive credential information for the updated check mode; and

transmitting the first original check credential information, the substitutive credential information, and the user information to the server, so that second original check credential information corresponding to the user information is retrieved, and correlation between the substitutive credential information and the user information is stored when the second original check credential information is consistent with the first original check credential information.

17. The non-transitory computer readable medium according to claim 16 , wherein the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform:

storing the substitutive credential information in a trusted storage area associated with the terminal user, wherein the trusted storage area comprises a trusted execution environment (TEE) module or a security environment (SE) module.

18. The non-transitory computer readable medium according to claim 16 , wherein the substitutive credential information comprises a public key and a private key;

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform transmitting the substitutive credential information to the server by transmitting the public key to the server;

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result by digitally signing the local check result according to the stored private key to acquire signature information; and

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform sending the encrypted check result to the server by sending the signature information to the server, wherein

the local check result is determined to be trustable when verification of the signature information according to the public key corresponding to the user information is passed.

19. The non-transitory computer readable medium according to claim 16 , wherein the substitutive credential information comprises a random string;

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform transmitting the substitutive credential information to the server by transmitting the random string to the server;

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform encrypting the local check result according to stored substitutive credential information to acquire an encrypted check result by encrypting the random string and the local check result by a message abstract algorithm, so as to acquire a first encrypted data result; and

the set of instructions is executable by the at least one processor of the terminal device to cause the terminal device to perform sending the encrypted check result to the server by sending the first encrypted data result to the server to acquire a second encrypted data result, wherein

the local check result is determined to be trustable when the second encrypted data result is consistent with the first encrypted data result.

20. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a server to cause the server to perform a security check method, the method comprising:

receiving an encrypted check result, a local check result, and user information of a terminal user that are sent by a terminal, wherein the encrypted check result is generated by encrypting the local check result according to stored substitutive credential information, the substitutive credential information is generated according to a first original check credential information when an updated check mode replaces an original check mode, and the local check result is acquired by performing a local check via the updated check mode when the terminal user performs a security check, wherein the original check mode is performed using the first original check credential information and the updated check mode comprises a check algorithm that is different from the original check mode's check algorithm;

acquiring substitutive credential information corresponding to the user information; and

verifying the encrypted check result according to the substitutive credential information corresponding to the user information, and determining the local check result to be trustable when the verification is passed.

21. The non-transitory computer readable medium according to claim 20 , the set of instructions is executable by the at least one processor of the server to cause the server to perform:

receiving first original check credential information, substitutive credential information, and the user information sent by the terminal when the terminal uses the updated check mode to replace an original check mode, wherein the first original check credential information is check credential information of the original check mode, and the substitutive credential information is generated by the terminal for the updated check mode;

searching for second original check credential information corresponding to the user information;

determining whether the first original check credential information is consistent with the second original check credential information; and

storing correlation between the substitutive credential information and the user information when the first original check credential information is consistent with the second original check credential information.

22. The non-transitory computer readable medium according to claim 21 , wherein the substitutive credential information comprises a public key and a private key;

the set of instructions is executable by the at least one processor of the server to cause the server to perform receiving substitutive credential information sent by the terminal by receiving the public key sent by the terminal;

the set of instructions is executable by the at least one processor of the server to cause the server to perform receiving an encrypted check result sent by the terminal by receiving signature information sent by the terminal, wherein the signature information is acquired by digitally signing the local check result according to the stored private key;

the set of instructions is executable by the at least one processor of the server to cause the server to perform acquiring substitutive credential information corresponding to the user information by acquiring a public key corresponding to the user information by searching for the correlation; and

the set of instructions is executable by the at least one processor of the server to cause the server to perform verifying the encrypted check result according to the substitutive credential information corresponding to the user information by verifying the signature information via the public key corresponding to the user information.

23. The non-transitory computer readable medium according to claim 21 , wherein the substitutive credential information comprises a random string;

the set of instructions is executable by the at least one processor of the server to cause the server to perform receiving substitutive credential information sent by the terminal by receiving the random string sent by the terminal;

the set of instructions is executable by the at least one processor of the server to cause the server to perform receiving an encrypted check result sent by the terminal by receiving a first encrypted data result sent by the terminal, wherein the first encrypted data result is acquired by encrypting the random string and the local check result by a message abstract algorithm;

acquiring substitutive credential information corresponding to the user information further comprises acquiring a random string corresponding to the user information by searching for the correlation; and

verifying the encrypted check result according to the substitutive credential information corresponding to the user information comprises: encrypting, by the encryption abstract algorithm, a random string corresponding to the user information and the local check result, so as to acquire a second encrypted data result; and determining whether the second encrypted data result is consistent with the first encrypted data result, wherein upon the second encrypted data result being consistent with the first encrypted data result, the verifying is passed.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 13, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053761/0338 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053713/0665 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2020
From: LIN, JUNSUI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052732/0561 →
Priority Claims (1)
CN 2014 1 0532781 · Oct 10, 2014 · national
Continuity (2)
Continuation PCTCN2015091235 · Sep 30, 2015
Related Publication 20170222813A1 · Aug 3, 2017