Processing method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsXiaojuan Li, Wenmei Gao
Life of this patent
Estimating the term…
Abstract
In a processing method, an electronic device may detect, in a locked state, an operation performed on a fingerprint sensor, and determine a result of matching a fingerprint collected by the fingerprint sensor with a preset fingerprint, where the matching result is matching or not matching. When an included angle between a direction of a screen and a gravity direction falls beyond a preset range, the electronic device skips executing a response corresponding to the matching result. When an included angle between a direction of a screen and a gravity direction falls within a preset range, the electronic device executes a response corresponding to the matching result.
Claims21
A processing method comprising:
- collecting a fingerprint on a fingerprint sensor of an electronic device, when the electronic device, while in a locked state, detects an operation being performed on the fingerprint sensor;
- determining whether the collected fingerprint matches a preset fingerprint;
- when an included angle between a direction of a screen on the electronic device and a gravity direction falls beyond a preset range, skipping an execution of a response corresponding to an outcome of the determination;
- and
- when the included angle between the direction of the screen and the gravity direction falls within the preset range, executing the response corresponding to the outcome of the determination.
An electronic device, comprising:
- a fingerprint sensor;
- a screen;
- a processor coupled to the fingerprint sensor and the screen;
- and
- a non-transitory computer-readable storage medium coupled to the processor and storing a program for execution by the processor;
- wherein the program includes instructions to:
- collect a fingerprint on the fingerprint sensor, when the electronic device, while in a locked state, detects an operation being performed on the fingerprint sensor;
- determine whether the collected fingerprint matches a preset fingerprint;
- when an included angle between a direction of the screen and a gravity direction falls beyond a preset range, skip an execution of a response corresponding to an outcome of the determination;
- and
- when the included angle between the direction of the screen and the gravity direction falls within the preset range, execute the response corresponding to the outcome of the determination.
A non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs comprise an instruction, wherein when executed by an electronic device, the instructions enables the electronic device to implement the following operations:
- collecting a fingerprint sensed on the electronic device, when the electronic device, while in a locked state, detects an operation being performed thereon;
- determining whether the collected fingerprint matches a preset fingerprint;
- and
- when an included angle between a direction of a screen on the electronic device and a gravity direction falls beyond a preset range, skipping an execution of a response corresponding to an outcome of the determination;
- and
- when the included angle between the direction of the screen and the gravity direction falls within the preset range, executing the response corresponding to the outcome of the determination.
Dependencies are inferred from the claim text.