Patent ID: 11928884
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 10:
11. A terminal, comprising:
a function key comprising a power control or a volume control;
a fingerprint sensor integrated with the function key;
a processor coupled to the function key and the fingerprint sensor; and
a memory coupled to the processor and configured to store programming instructions that, when executed by the processor, cause the terminal to:
obtain a fingerprint collection instruction, wherein the fingerprint collection instruction instructs the terminal to collect a fingerprint;
set, in response to the fingerprint collection instruction, a function key status of the function key to a locked state;
display a fingerprint collecting indication on a screen of the terminal, wherein the fingerprint collecting indication corresponds to a fingerprint pattern;
collect, using the fingerprint sensor, fingerprint information of a user while the fingerprint collecting indication is displayed on the screen;
obtain a first function key event of the function key;
perform a fingerprint recording process based on the fingerprint information;
display an animation of each status of recording the fingerprint information by the user;
refrain from executing the first function key event when the function key status is the locked state;
set the function key status to an unlocked state after a fingerprint procedure is completed, wherein the fingerprint procedure comprises collecting the fingerprint information; and
execute the first function key event after the function key status is set to the unlocked state.