Method for starting up device and device
AssigneeHuawei Technologies Co., Ltd.
InventorXiangshan Guan
Life of this patent
Estimating the term…
Abstract
A device includes a power button and a fingerprint sensor, where the power button is integrated with the fingerprint sensor. A method is applied to a process in which a user presses the power button to start up the device. The method includes obtaining fingerprint information acquired by the fingerprint sensor, and saving the fingerprint information. The method further includes obtaining a fingerprint authentication request. The method further includes providing the fingerprint information to perform fingerprint authentication to log in to an operating system of the device.
Claims20
A method for starting up a device, comprising:
- detecting a touch operation from a user on a power button;
- obtaining, in response to the touch operation, fingerprint information from a fingerprint sensor integrated with the power button;
- saving, by a first microcontroller coupled to the fingerprint sensor, the obtained fingerprint information;
- detecting, by the first microcontroller, whether the power button is pressed within a first preset duration, wherein the first preset duration starts when the first microcontroller saves the fingerprint information;
- deleting, by the first microcontroller, the saved fingerprint information in response to detecting that the power button is not pressed within the first preset duration;
- retaining the saved fingerprint information in response to detecting that the power button is pressed within the first preset duration;
- in response to detecting, by a second microcontroller, that the power button is pressed:
- triggering power-on a central processing unit (CPU) of the device;
- loading a fingerprint drive of the device;
- and
- transmitting a fingerprint authentication request from the fingerprint drive of the device to the first microcontroller;
- and
- when the fingerprint information is retained:
- in response to not obtaining, by the first microcontroller, the fingerprint authentication request within a second preset duration, deleting the saved fingerprint information, wherein the second preset duration begins when the fingerprint information is saved;
- and
- in response to obtaining, by the first microcontroller, the fingerprint authentication request within the second preset duration, the method further comprises:
- obtaining, by the fingerprint drive, previously enrolled fingerprint information;
- receiving, by the fingerprint drive from the first microcontroller, the saved fingerprint information;
- performing, by the fingerprint drive, fingerprint authentication on the saved fingerprint information using the enrolled fingerprint information to obtain an authentication result;
- obtaining, by an operating system of the device, the authentication result from the fingerprint drive;
- and
- logging the user into the operating system and displaying an operating system desktop when the authentication result indicates that the fingerprint authentication succeeds.
A device, comprising:
- a power button;
- a fingerprint sensor integrated with the power button;
- a first microcontroller coupled to the power button and the fingerprint sensor;
- and
- a memory coupled to the first microcontroller and storing instructions that, when executed by the first microcontroller, cause the first microcontroller to be configured to:
- detect a touch operation from a user on the power button;
- obtain, in response to the touch operation, fingerprint information from the fingerprint sensor;
- save, by the first microcontroller coupled to the fingerprint sensor, the obtained fingerprint information;
- detect, by the first microcontroller, whether the power button is pressed within a first preset duration, wherein the first preset duration starts when a microcontroller coupled to the fingerprint sensor saves the fingerprint information;
- delete, by the first microcontroller, the saved fingerprint information in response to detecting that the power button is not pressed within the first preset duration;
- retain the saved fingerprint information in response to detecting that the power button is pressed within the first preset duration;
- in response to detecting, by a second microcontroller, that the power button is pressed:
- triggering power-on a central processing unit (CPU) of the device;
- loading a fingerprint drive of the device;
- and
- transmitting a fingerprint authentication request from the fingerprint drive of the device to the first microcontroller;
- and
- when the fingerprint information is retained:
- in response to not obtaining, by the first microcontroller, the fingerprint authentication request within a second preset duration, deleting the saved fingerprint information, wherein the second preset duration begins when the fingerprint information is saved;
- and
- in response to obtaining, by the first microcontroller, the fingerprint authentication request within the second preset duration, the instructions further cause the first microcontroller to be configured to:
- obtain, by the fingerprint drive, previously enrolled fingerprint information;
- receive, by the fingerprint drive from the first microcontroller, the saved fingerprint information;
- perform, by the fingerprint drive, fingerprint authentication on the saved fingerprint information using the enrolled fingerprint information to obtain an authentication result;
- obtain, by an operating system of the device, the authentication result from the fingerprint drive;
- and
- log the user into the operating system and displaying an operating system desktop when the authentication result indicates that fingerprint authentication succeeds.
A non-transitory computer-readable storage medium comprising instructions that, when executed by a device, cause the device to:
- detect a touch operation from a user on a power button;
- obtain, in response to the touch operation, fingerprint information from a fingerprint sensor integrated with the power button;
- save, by a first microcontroller coupled to the fingerprint sensor, the obtained fingerprint information;
- detect, by the first microcontroller, whether the power button is pressed within a first preset duration, wherein the first preset duration starts when the first microcontroller saves the fingerprint information;
- delete, by the first microcontroller, the saved fingerprint information in response to detecting that the power button is not pressed within the first preset duration;
- retain the saved fingerprint information in response to detecting that the power button is pressed within the first preset duration;
- in response to detecting, by a second microcontroller, that the power button is pressed:
- triggering power-on a central processing unit (CPU) of the device;
- loading a fingerprint drive of the device;
- and
- transmitting a fingerprint authentication request from the fingerprint drive of the device to the first microcontroller;
- and
- when the fingerprint information is retained:
- in response to not obtaining, the first microcontroller, the fingerprint authentication request within a second preset duration, deleting the saved fingerprint information, wherein the second preset duration begins when the fingerprint information is saved;
- and
- in response to obtaining, by the first microcontroller, the fingerprint authentication request within the second preset duration, the instructions further cause the device to:
- obtain, by the fingerprint drive, previously enrolled fingerprint information;
- receive, by the fingerprint drive from the first microcontroller, the saved fingerprint information;
- perform, by the fingerprint drive, fingerprint authentication on the saved fingerprint information using the enrolled fingerprint information to obtain an authentication result;
- obtain, by an operating system of the device, the authentication result from the fingerprint drive;
- and
- log the user into the operating system and displaying an operating system desktop when the authentication result indicates that fingerprint authentication succeeds.
Dependencies are inferred from the claim text.