IP Library › Granted Patent US 11,936,647
Granted Patent B2
US 11,936,647 · App. 17/368,607 · Granted Mar 19, 2024

Identity verification method and apparatus, storage medium, and computer device

Inventors: Qi Cui (Shenzhen, CN); Zhijun Geng (Shenzhen, CN); Runzeng Guo (Shenzhen, CN); Shaoming Wang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04L63/0861G06N3/08G06V40/171G06V40/172G06V40/45H04L63/045G06F2218/04
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,936,647
App. No.
17/368,607
Granted
Mar 19, 2024
Kind
B2
Abstract

This application relates to an identity verification method performed at a computer device and a computer-readable storage medium. The method includes: obtaining a biometric feature image from a video acquisition device via an encrypted connection; extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device; encrypting the biometric feature information in the local safe area, to obtain encrypted feature information, and transmitting the encrypted feature information to an application run in a local normal area within the running environment of the computer device; transmitting the encrypted feature information to a verification server through the application via a network connection; and receiving, through the application and via the network connection, an identity verification result returned by the verification server, the identity verification result being obtained after the encrypted feature information is decrypted and verified by the verification server.

Claims (92)

1. An identity verification method, applicable to a computer device, the method comprising:

obtaining a biometric feature image from a video acquisition device via an encrypted connection;

extracting, in a local safe area within a running environment of the computer device, biometric feature information from the biometric feature image, the local safe area being a first type of execution environment;

encrypting, in the local safe area, the biometric feature information, to obtain encrypted feature information, and transmitting the encrypted feature information to an application running in a local normal area within the running environment of the computer device, the local normal area being a second type of execution environment isolated from the first type of execution environment;

transmitting the encrypted feature information to a verification server through the application via a network connection; and

receiving, through the application and via the network connection, an identity verification result returned by the verification server, the identity verification result being obtained after the encrypted feature information is decrypted and verified by the verification server.

2. The method according to claim 1 , wherein the obtaining a biometric feature image from a video acquisition device via an encrypted connection comprises:

receiving, from the video acquisition device, encrypted video data and a first signature corresponding to the video acquisition device, wherein the video acquisition device generates the first signature by further encrypting the encrypted video data using a first private key;

verifying the first signature by using a first public key corresponding to the first private key;

decrypting the encrypted video data in the local safe area after the first signature is verified successfully, to obtain video data; and

determining the biometric feature image according to the video data obtained through decryption in the local safe area.

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

presenting an operating interface through the application;

generating a video acquisition instruction in response to detecting a trigger operation on the operating interface; and

transmitting the video acquisition instruction to the video acquisition device, the video acquisition instruction being used for instructing the video acquisition device to acquire video data comprising biometric features.

4. The method according to claim 1 , wherein the extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device comprises:

performing living body detection on the biometric feature image in the local safe area, to obtain a detection result; and

extracting the biometric feature information from the biometric feature image in response to the detection result indicating that a living body is detected in the biometric feature image.

5. The method according to claim 4 , wherein the performing living body detection on the biometric feature image in the local safe area, to obtain a detection result comprises:

extracting, by using a convolutional layer of an identification model, a feature map representing biometric features from the biometric feature image in the local safe area;

classifying the biometric feature image according to the feature map by using a fully connected layer of the identification model, to obtain a confidence level at which the biometric feature image is a living body biometric image, the confidence level representing a probability that a living body is detected; and

determining that a living body is detected in response to the confidence level being greater than or equal to a confidence threshold.

6. The method according to claim 1 , wherein the biometric feature image comprises a face image, the biometric feature information comprises face position information, a target face depth map, and a target face color map, and the extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device comprises:

identifying face feature points in the face image in the local safe area, to obtain the face position information;

determining candidate face depth maps and candidate face color maps comprised in the face image;

performing denoising processing on the candidate face depth maps, to obtain the target face depth map; and

screening, from the candidate face color maps, the target face color map that meets a preset condition.

7. The method according to claim 6 , wherein the transmitted encrypted feature information is used for: instructing the verification server to decrypt the encrypted feature information, to obtain the face position information, the target face depth map, and the target face color map, and instructing the verification server to process the face position information, the target face depth map, and the target face color map, to obtain a face feature vector, and compare the face feature vector with a face feature vector sample, to obtain the identity verification result.

8. The method according to claim 1 , wherein the encrypting the biometric feature information in the local safe area, to obtain encrypted feature information, and transmitting the encrypted feature information to an application run in a local normal area within the running environment of the computer device comprises:

encrypting the biometric feature information in the local safe area, to obtain encrypted feature information;

further encrypting the encrypted feature information by using a second private key, to obtain a second signature; and

transmitting the encrypted feature information and the second signature to the application run in the local normal area; and

the transmitting the encrypted feature information to a verification server through the application via a network connection comprises:

transmitting the encrypted feature information and the second signature to the verification server through the application via the network connection, the encrypted feature information and the second signature being used for instructing the verification server to verify the second signature according to a second public key corresponding to the second private key; and

decrypting the encrypted feature information after the second signature is verified successfully, to obtain the biometric feature information, and performing identity verification according to the decrypted biometric feature information, to obtain the identity verification result.

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

receiving, through the application, a resource transfer credential from the verification server that is generated according to the identity verification result; and

triggering a resource transfer operation according to the resource transfer credential.

10. A computer device, comprising a memory and a processor, the memory storing a plurality of computer programs that, when executed by the processor, cause the computer device to perform a plurality of operations including:

obtaining a biometric feature image from a video acquisition device via an encrypted connection;

extracting, in a local safe area within a running environment of the computer device, biometric feature information from the biometric feature image, the local safe area being a first type of execution environment;

encrypting, in the local safe area, the biometric feature information, to obtain encrypted feature information, and transmitting the encrypted feature information to an application running in a local normal area within the running environment of the computer device, the local normal area being a second type of execution environment isolated from the first type of execution environment;

transmitting the encrypted feature information to a verification server through the application via a network connection; and

receiving, through the application and via the network connection, an identity verification result returned by the verification server, the identity verification result being obtained after the encrypted feature information is decrypted and verified by the verification server.

11. The computer device according to claim 10 , wherein the obtaining a biometric feature image from a video acquisition device via an encrypted connection comprises:

receiving, from the video acquisition device, encrypted video data and a first signature corresponding to the video acquisition device, wherein the video acquisition device generates the first signature by further encrypting the encrypted video data using a first private key;

verifying the first signature by using a first public key corresponding to the first private key;

decrypting the encrypted video data in the local safe area after the first signature is verified successfully, to obtain video data; and

determining the biometric feature image according to the video data obtained through decryption in the local safe area.

12. The computer device according to claim 11 , wherein the plurality of operations further comprise:

presenting an operating interface through the application;

generating a video acquisition instruction in response to detecting a trigger operation on the operating interface; and

transmitting the video acquisition instruction to the video acquisition device, the video acquisition instruction being used for instructing the video acquisition device to acquire video data comprising biometric features.

13. The computer device according to claim 10 , wherein the extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device comprises:

performing living body detection on the biometric feature image in the local safe area, to obtain a detection result; and

extracting the biometric feature information from the biometric feature image in response to the detection result indicating that a living body is detected in the biometric feature image.

14. The computer device according to claim 10 , wherein the biometric feature image comprises a face image, the biometric feature information comprises face position information, a target face depth map, and a target face color map, and the extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device comprises:

identifying face feature points in the face image in the local safe area, to obtain the face position information;

determining candidate face depth maps and candidate face color maps comprised in the face image;

performing denoising processing on the candidate face depth maps, to obtain the target face depth map; and

screening, from the candidate face color maps, the target face color map that meets a preset condition.

15. The computer device according to claim 10 , wherein the encrypting the biometric feature information in the local safe area, to obtain encrypted feature information, and transmitting the encrypted feature information to an application run in a local normal area within the running environment of the computer device further comprises:

encrypting the biometric feature information in the local safe area, to obtain encrypted feature information;

further encrypting the encrypted feature information by using a second private key, to obtain a second signature; and

transmitting the encrypted feature information and the second signature to the application run in the local normal area; and

the transmitting the encrypted feature information to a verification server through the application via a network connection comprises:

transmitting the encrypted feature information and the second signature to the verification server through the application via the network connection, the encrypted feature information and the second signature being used for instructing the verification server to verify the second signature according to a second public key corresponding to the second private key; and

decrypting the encrypted feature information after the second signature is verified successfully, to obtain the biometric feature information, and performing identity verification according to the decrypted biometric feature information, to obtain the identity verification result.

16. The computer device according to claim 10 , wherein the plurality of operations further comprise:

receiving, through the application, a resource transfer credential from the verification server that is generated according to the identity verification result; and

triggering a resource transfer operation according to the resource transfer credential.

17. A non-transitory computer-readable storage medium, storing a plurality of computer programs that, when executed by a processor of a computer device, cause the computer device to perform a plurality of operations including:

obtaining a biometric feature image from a video acquisition device via an encrypted connection;

extracting, in a local safe area within a running environment of the computer device, biometric feature information from the biometric feature, the local safe area being a first type of execution environment;

encrypting, in the local safe area, the biometric feature information, to obtain encrypted feature information, and transmitting the encrypted feature information to an application running in a local normal area within the running environment of the computer device, the local normal area being a second type of execution environment isolated from the first type of execution environment;

transmitting the encrypted feature information to a verification server through the application via a network connection; and

receiving, through the application and via the network connection, an identity verification result returned by the verification server, the identity verification result being obtained after the encrypted feature information is decrypted and verified by the verification server.

18. The non-transitory computer-readable storage medium according to claim 17 , wherein the obtaining a biometric feature image from a video acquisition device via an encrypted connection comprises:

receiving, from the video acquisition device, encrypted video data and a first signature corresponding to the video acquisition device, wherein the video acquisition device generates the first signature by further encrypting the encrypted video data using a first private key;

verifying the first signature by using a first public key corresponding to the first private key;

decrypting the encrypted video data in the local safe area after the first signature is verified successfully, to obtain video data; and

determining the biometric feature image according to the video data obtained through decryption in the local safe area.

19. The non-transitory computer-readable storage medium according to claim 17 , wherein the extracting biometric feature information from the biometric feature image in a local safe area within a running environment of the computer device comprises:

performing living body detection on the biometric feature image in the local safe area, to obtain a detection result; and

extracting the biometric feature information from the biometric feature image in response to the detection result indicating that a living body is detected in the biometric feature image.

20. The non-transitory computer-readable storage medium according to claim 17 , wherein the encrypting the biometric feature information in the local safe area, to obtain encrypted feature information, and transmitting the encrypted feature information to an application run in a local normal area within the running environment of the computer device further comprises:

encrypting the biometric feature information in the local safe area, to obtain encrypted feature information;

further encrypting the encrypted feature information by using a second private key, to obtain a second signature; and

transmitting the encrypted feature information and the second signature to the application run in the local normal area; and

the transmitting the encrypted feature information to a verification server through the application via a network connection comprises:

transmitting the encrypted feature information and the second signature to the verification server through the application via the network connection, the encrypted feature information and the second signature being used for instructing the verification server to verify the second signature according to a second public key corresponding to the second private key; and

decrypting the encrypted feature information after the second signature is verified successfully, to obtain the biometric feature information, and performing identity verification according to the decrypted biometric feature information, to obtain the identity verification result.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 25, 2024
From: GENG, ZHIJUN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 066250/0418 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 14, 2022
From: CUI, QI; GUO, RUNZENG; WANG, SHAOMING
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 059000/0743 →
Priority Claims (1)
CN 201910277029.7 · Apr 8, 2019 · national
Continuity (2)
Continuation PCTCN2020079144 · Mar 13, 2020
Related Publication 20210344675A1 · Nov 4, 2021