Key instruction processing method and terminal

一种按键指令处理方法及终端

Abstract

本发明实施例公开了一种按键指令处理方法,所述方法应用于终端,所述终端的按键中设有指纹传感器和压力传感器,所述方法包括:当感应到用户针对所述按键执行的触摸操作时,通过所述按键中的指纹传感器采集指纹信息,同时通过所述按键中的压力传感器检测压力值;判断是否满足预设的条件,所述预设的条件包括采集的所述指纹信息与预设的指纹信息相匹配以及检测的所述压力值大于预设的压力阈值;若满足预设的条件,则执行所述按键对应的操作。相应的,本发明实施例还公开了一种终端。采用本发明实施例,可以防止按键被恶意操作。
The embodiment of the invention discloses a key instruction processing method. The method is applied to a terminal. A fingerprint sensor and a pressure sensor are arranged in a key of the terminal. The method comprises the following steps of: acquiring fingerprint information through the fingerprint sensor in the key while inducing touch operation of a user for the key, and simultaneously, detecting a pressure value through the pressure sensor in the key; judging whether pre-set conditions are satisfied or not, wherein the pre-set conditions are as follows: the acquired fingerprint information is matched with pre-set fingerprint information; and the detected pressure value is greater than a pre-set pressure threshold value; and, if the pre-set conditions are satisfied, executing operation corresponding to the key. Correspondingly, the embodiment of the invention further discloses the terminal. By adopting the embodiment of the invention, the key can be prevented from being operated maliciously.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (0)

    Publication numberPublication dateAssigneeTitle