# US 2021/0240807 A1 · Authentication method for mobile terminal and mobile terminal

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

- Number: US 2021/0240807 A1
- Document ID: US20210240807A1
- Status: Published application
- Kind: A1
- Application number: 16/314,031
- Filed: 2016-06-30
- Published: 2021-08-05
- Earliest claimed: 2016-06-30
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chan WANG; Huangwei WU
- Web page: https://patentgrep.com/patent/US20210240807A1

## CPC

- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06Q 20/3227: {using secure elements embedded in M-devices}
- G06Q 20/3267: {In-app payments}
- G06Q 20/40145: {Biometric identity checks}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

The present disclosure relates to authentication methods for a mobile terminal. One example method includes running, by a first application, in a first execution environment, running, by a second application, in a second execution environment, the second application associated with the first application, running, by a biometric feature management module, in the second execution environment, generating, by the first application, a first request message, and receiving, by the second application, the first request message by using interfaces of the first execution environment and the second execution environment. If the second application determines that the first request message is a request message related to a biometric feature, the second application sends the first request message to the biometric feature management module.

## Claims

### Claim 1

An authentication method for a mobile terminal, wherein the method comprises:
running, by a first application, in a first execution environment;
running, by a second application, in a second execution environment, wherein the second application is associated with the first application;
running, by a biometric feature management module, in the second execution environment, wherein the biometric feature management module is configured to perform, in the second execution environment, an operation related to biometric feature authentication;
generating, by the first application, a request message, wherein the request message carries identification information of the second application or the biometric feature management module;
sending the request message to an interface of the second execution environment by using an interface of the first execution environment; and
if the request message carries the identification information of the second application, sending, by the interface of the second execution environment, the request message to the second application; or
if the request message carries the identification information of the biometric feature management module, sending, by the interface of the second execution environment, the request message to the biometric feature management module.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
generating, by the biometric feature management module, a response message, wherein the response message is a response made by the biometric feature management module to the request message;
sending the response message to the interface of the first execution environment by using the interface of the second execution environment; and
sending, by the interface of the first execution environment, the response message to the first application.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, a biometric feature stored in the mobile terminal;
determining, by the hardware of the mobile terminal, whether the to-be-authenticated biometric feature matches the biometric feature stored in the mobile terminal, and generating an authentication result; and
receiving, by the biometric feature management module, the authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the response message.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the request message carries type information of the first application, and the request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, at least one first biometric feature stored in the mobile terminal, wherein type information of the at least one first biometric feature matches the type information of the first application; and
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature matches the at least one first biometric feature, receiving, by the biometric feature management module, a first authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the response message.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the method further comprises:
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature does not match the at least one first biometric feature, traversing, by the hardware of the mobile terminal, all biometric features to attempt to authenticate the to-be-authenticated biometric feature;
generating, by the hardware of the mobile terminal, a second authentication result, and sending the second authentication result to the biometric feature interface; and
receiving, by the biometric feature management module, the second authentication result sent by the biometric feature interface, and generating the response message.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the operation related to biometric feature authentication comprises at least one of a register operation of a biometric feature, a delete operation of a biometric feature, a verify operation of a biometric feature, or a cancel operation of an association relationship between a biometric feature and an application.

### Claim at position 7

7-13. (canceled)

### Claim 14

A mobile terminal, wherein the mobile terminal comprises one or more processors, a memory, multiple application programs, and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, wherein the one or more programs comprise an instruction, and wherein the instruction is used to perform the following operations:
running, by a first application, in a first execution environment;
running, by a second application, in a second execution environment, wherein the second application is associated with the first application;
running, by a biometric feature management module, in the second execution environment, wherein the biometric feature management module is configured to perform, in the second execution environment, an operation related to biometric feature authentication;
generating, by the first application, a request message, wherein the request message carries identification information of the second application or the biometric feature management module;
sending the request message to an interface of the second execution environment by using an interface of the first execution environment; and
if the request message carries the identification information of the second application, sending, by the interface of the second execution environment, the request message to the second application; or
if the request message carries the identification information of the biometric feature management module, sending, by the interface of the second execution environment, the request message to the biometric feature management module.

### Claim 15 (depends on 14)

The mobile terminal according to claim 14, wherein the one or more processors execute the instruction to further perform the following operations:
generating, by the biometric feature management module, a response message, wherein the response message is a response made by the biometric feature management module to the request message;
sending the response message to the interface of the first execution environment by using the interface of the second execution environment; and
sending, by the interface of the first execution environment, the response message to the first application.

### Claim 16 (depends on 15)

The mobile terminal according to claim 15, wherein the request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, a biometric feature stored in the mobile terminal;
determining, by the hardware of the mobile terminal, whether the to-be-authenticated biometric feature matches the biometric feature stored in the mobile terminal, and generating an authentication result; and
receiving, by the biometric feature management module, the authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the response message.

### Claim 17 (depends on 15)

The mobile terminal according to claim 15, wherein the request message carries type information of the first application, and the request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, at least one first biometric feature stored in the mobile terminal, wherein type information of the at least one first biometric feature matches the type information of the first application; and
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature matches the at least one first biometric feature, receiving, by the biometric feature management module, a first authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the response message.

### Claim 18 (depends on 17)

The mobile terminal according to claim 17, wherein the one or more processors execute the instruction to further perform the following operations:
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature does not match the at least one first biometric feature, traversing, by the hardware of the mobile terminal, all biometric features to attempt to authenticate the to-be-authenticated biometric feature;
generating, by the hardware of the mobile terminal, a second authentication result, and sending the second authentication result to the biometric feature interface; and
receiving, by the biometric feature management module, the second authentication result sent by the biometric feature interface, and generating the response message.

### Claim 19 (depends on 14)

The mobile terminal according to claim 14, wherein the operation related to biometric feature authentication comprises at least one of a register operation of a biometric feature, a delete operation of a biometric feature, a verify operation of a biometric operation, or a cancel operation of an association relationship between a biometric feature and an application.

### Claim 20

A mobile terminal, wherein the mobile terminal comprises one or more processors, a memory, multiple application programs, and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, wherein the one or more programs comprise an instruction, and wherein the instruction is used to perform the following operations:
running, by a first application, in a first execution environment;
running, by a second application, in a second execution environment, wherein the second application is associated with the first application;
running, by a biometric feature management module, in the second execution environment;
generating, by the first application, a first request message;
receiving, by the second application, the first request message by using interfaces of the first execution environment and the second execution environment; and
if the second application determines that the first request message is a request message related to a biometric feature, sending, by the second application, the first request message to the biometric feature management module.

### Claim 21 (depends on 20)

The mobile terminal according to claim 20, wherein the one or more processors execute the instruction to further perform the following operations:
running, by a third application, in the first execution environment;
running, by a fourth application, in the second execution environment, wherein the fourth application is associated with the third application;
generating, by the third application, a second request message;
receiving, by the fourth application, the second request message by using the interfaces of the first execution environment and the second execution environment; and
if the fourth application determines that the second request message is a request message related to a second biometric feature, sending, by the fourth application, the second request message to the biometric feature management module.

### Claim 22 (depends on 20)

The mobile terminal according to claim 20, wherein the one or more processors execute the instruction to further perform the following operations:
generating, by the biometric feature management module, a first response message, wherein the first response message is a response made by the biometric feature management module to the first request message;
receiving, by the second application, the first response message sent by the biometric feature management module; and
receiving, by the first application, the first response message by using the interfaces of the first execution environment and the second execution environment.

### Claim 23 (depends on 22)

The mobile terminal according to claim 22, wherein the first request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a first response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, a biometric feature stored in the mobile terminal;
determining, by the hardware of the mobile terminal, whether the to-be-authenticated biometric feature matches the biometric feature stored in the mobile terminal, and generating an authentication result; and
receiving, by the biometric feature management module, the authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the first response message.

### Claim 24 (depends on 22)

The mobile terminal according to claim 22, wherein the first request message carries type information of the first application, and the request message is used to request to authenticate a biometric feature; and the generating, by the biometric feature management module, a first response message comprises:
invoking, by the biometric feature management module and by using a biometric feature interface, hardware of the mobile terminal to obtain a to-be-authenticated biometric feature;
obtaining, by the hardware of the mobile terminal, at least one first biometric feature stored in the mobile terminal, wherein type information of the at least one first biometric feature matches the type information of the first application; and
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature matches the at least one first biometric feature, receiving, by the biometric feature management module, a first authentication result sent by the hardware of the mobile terminal and by using the biometric feature interface, and generating the first response message.

### Claim 25 (depends on 24)

The mobile terminal according to claim 24, wherein the one or more processors execute the instruction to further perform the following operations:
if the hardware of the mobile terminal determines that the to-be-authenticated biometric feature does not match the at least one first biometric feature, traversing, by the hardware of the mobile terminal, all biometric features to attempt to authenticate the to-be-authenticated biometric feature;
generating, by the hardware of the mobile terminal, a second authentication result, and sending the second authentication result to the biometric feature interface; and
receiving, by the biometric feature management module, the second authentication result sent by the biometric feature interface, and generating the first response message.

### Claim 26 (depends on 20)

The mobile terminal according to claim 20, wherein the operation related to biometric feature authentication comprises at least one of a register operation of a biometric feature, a delete operation of a biometric feature, a verify operation of a biometric operation, or a cancel operation of an association relationship between a biometric feature and an application.
