# US 2021/0344675 A1 · Identity verification method and apparatus, storage medium, and computer device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0344675 A1
- Document ID: US20210344675A1
- Status: Published application
- Kind: A1
- Application number: 17/368,607
- Filed: 2021-07-06
- Published: 2021-11-04
- Earliest claimed: 2019-04-08
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Qi Cui; Zhijun Geng; Runzeng Guo; Shaoming Wang
- Web page: https://patentgrep.com/patent/US20210344675A1

## CPC

- H04L 63/0861: {using biometrical features, e.g. fingerprint, retina-scan (cryptographic mechanisms or cryptographic arrangements for entity authentication using biological data H04L9/3231)}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06V 20/64: Three-dimensional [3D] objects
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06V 40/172: {Classification, e.g. identification}
- G06V 40/45: {Detection of the body part being alive}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/045: {wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- G06F 2218/04: Denoising
- G06N 3/045: Combinations of networks
- G06V 2201/12: Acquisition of 3D measurements of objects
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim 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 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.

### Claim 2 (depends on 1)

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.

### Claim 3 (depends on 2)

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.

### Claim 4 (depends on 1)

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.

### Claim 5 (depends on 4)

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.

### Claim 6 (depends on 1)

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.

### Claim 7 (depends on 6)

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.

### Claim 8 (depends on 1)

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.

### Claim 9 (depends on 1)

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.

### Claim 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 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.

### Claim 11 (depends on 10)

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.

### Claim 12 (depends on 11)

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.

### Claim 13 (depends on 10)

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.

### Claim 14 (depends on 10)

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.

### Claim 15 (depends on 10)

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.

### Claim 16 (depends on 10)

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.

### Claim 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 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.

### Claim 18 (depends on 17)

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.

### Claim 19 (depends on 17)

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.

### Claim 20 (depends on 17)

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.
