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

Claim 18:
19. A computer program product comprising instructions stored on a non-transitory computer-readable medium that, when executed by a processor, cause a terminal to:
receive, by a fingerprint sensor of the terminal, a first operation from a user in an area of a screen of the terminal corresponding to the fingerprint sensor when the screen is off or is displaying a first user interface, wherein the first user interface comprises a lock screen of the terminal, and wherein the first operation comprises a fingerprint input of a finger;
determine, after the fingerprint input matches a preset fingerprint and by the processor and a touch sensor of the terminal, that the finger does not lift from the screen and that a first duration of the finger touching the screen is greater than a preset threshold duration;
display, in response to the fingerprint input matching the preset fingerprint, the finger not lifting from the screen, and the first duration being greater than the preset threshold duration, a second user interface, wherein the second user interface comprises one or more shortcuts, and wherein the one or more shortcuts comprises a first shortcut;
receive, by the touch sensor, a second operation from the user when displaying the second user interface, wherein the second operation meets a preset condition;
determine, based on a layout of the one or more shortcuts in the second user interface and the second operation, a correspondence between the second operation and the first shortcut;
execute, in response to determining the correspondence, a function corresponding to the first shortcut;
receive, by the touch sensor, a third operation from the user when displaying the second user interface, wherein the third operation does not meet the preset condition; and
display, in response to the third operation, an unlocked user interface.