[go: up one dir, main page]

CN110851810A - Response method and electronic equipment - Google Patents

Response method and electronic equipment Download PDF

Info

Publication number
CN110851810A
CN110851810A CN201911054211.2A CN201911054211A CN110851810A CN 110851810 A CN110851810 A CN 110851810A CN 201911054211 A CN201911054211 A CN 201911054211A CN 110851810 A CN110851810 A CN 110851810A
Authority
CN
China
Prior art keywords
input
electronic device
fingerprint
target
virtual key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911054211.2A
Other languages
Chinese (zh)
Inventor
张晗玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911054211.2A priority Critical patent/CN110851810A/en
Publication of CN110851810A publication Critical patent/CN110851810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a response method and electronic equipment, which are applied to the technical field of communication and are used for solving the problem that the conventional electronic equipment is triggered by mistake. The method comprises the following steps: receiving a first input for a target area of an electronic device; under the condition that the first input comprises multi-finger input, if a target fingerprint matched with a preset fingerprint is acquired or input aiming at a first virtual key is received, responding to a second input aiming at the target area, and executing a function corresponding to the second input; and the second input is input received within a preset time after the first input.

Description

响应方法及电子设备Response method and electronic device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种响应方法及电子设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a response method and an electronic device.

背景技术Background technique

随着电子设备技术的快速发展,用户对电子设备的外观及操控要求也越来越高。With the rapid development of electronic equipment technology, users have higher and higher requirements for the appearance and manipulation of electronic equipment.

目前,为了电子设备的美观性以及一致性,电子设备的机械按键逐渐被虚拟按键代替,且终端设备电子设备通常在侧边设置多个虚拟按键,用户可以通过触控虚拟按键来实现传统机械按键控制的开关机、调节音量等功能。At present, for the aesthetics and consistency of electronic devices, the mechanical buttons of electronic devices are gradually replaced by virtual buttons, and electronic devices of terminal equipment are usually provided with multiple virtual buttons on the side. Users can touch the virtual buttons to realize traditional mechanical buttons. Control the switch machine, adjust the volume and other functions.

然而,当用户握持电子设备时,容易发生误触,例如用户的手指可能会同时触控到多个虚拟按键,进而就可能会触发虚拟按键对应的功能,因此现有技术存在容易发生误触发的问题。However, when a user holds an electronic device, false touches are likely to occur. For example, the user's finger may touch multiple virtual buttons at the same time, which may trigger the functions corresponding to the virtual buttons. Therefore, the prior art is prone to false triggering. The problem.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种响应方法及电子设备,以解决现有的电子设备所存在的被误触发的问题。Embodiments of the present invention provide a response method and electronic device, so as to solve the problem of false triggering existing in the existing electronic device.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本发明实施例提供一种响应方法,应用于电子设备,该方法包括:In a first aspect, an embodiment of the present invention provides a response method, which is applied to an electronic device, and the method includes:

接收针对电子设备的目标区域的第一输入;receiving a first input for a target area of the electronic device;

在上述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应针对上述目标区域的第二输入,执行该第二输入对应的功能;In the case that the above-mentioned first input includes multi-finger input, if a target fingerprint matching the preset fingerprint is obtained or an input for the first virtual key is received, the second input for the above-mentioned target area is executed in response to the second input. Enter the corresponding function;

其中,上述第二输入为在上述第一输入之后预设时长内接收到的输入。Wherein, the second input is an input received within a preset time period after the first input.

第二方面,本发明实施例还提供了一种电子设备,该电子设备的外壳上设置有目标虚拟按键,该电子设备包括:In a second aspect, an embodiment of the present invention further provides an electronic device, the shell of the electronic device is provided with a target virtual key, and the electronic device includes:

接收模块,用于接收针对电子设备的目标区域的第一输入;a receiving module for receiving a first input for the target area of the electronic device;

执行模块,用于在上述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应上述接收模块接收到的针对上述目标区域的第二输入,执行该第二输入对应的功能;The execution module is configured to, in the case that the above-mentioned first input includes a multi-finger input, if a target fingerprint matching the preset fingerprint is obtained or an input for the first virtual key is received, then in response to the above-mentioned receiving module the second input of the target area, execute the function corresponding to the second input;

其中,上述第二输入为在上述第一输入之后预设时长内接收到的输入。Wherein, the second input is an input received within a preset time period after the first input.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的响应方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to achieve the The steps of the response method described in one aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的响应方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of the response method described in the first aspect.

在本发明实施例中,电子设备在接收到针对电子设备的目标区域的第一输入之后,在该第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入之后,响应针对上述目标区域的第二输入,执行该第二输入对应的功能,上述第二输入为在上述第一输入之后预设时长内接收到的输入。如此,电子设备只有在指纹匹配成功,或者接收到针对第一虚拟按键的输入后,才会执行用户对目标区域的第二输入,进而避免了用户对目标区域的误触发。In this embodiment of the present invention, after the electronic device receives the first input for the target area of the electronic device, if the first input includes multi-finger input, if the electronic device obtains a target fingerprint matching the preset fingerprint Or after receiving the input for the first virtual key, in response to the second input for the target area, the function corresponding to the second input is executed, and the second input is the input received within a preset time period after the first input . In this way, the electronic device executes the second input of the user to the target area only after the fingerprint matching is successful or after receiving the input for the first virtual key, thereby avoiding false triggering of the target area by the user.

附图说明Description of drawings

图1为本发明实施例提供的一种现有的虚拟按键的位置示意图;FIG. 1 is a schematic diagram of the position of an existing virtual key according to an embodiment of the present invention;

图2为本发明实施例提供的一种可能的安卓操作系统的架构示意图;2 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;

图3为本发明实施例提供的一种响应方法流程示意图;3 is a schematic flowchart of a response method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种响应方法所应用的界面的示意图之一;4 is one of the schematic diagrams of an interface to which a response method provided by an embodiment of the present invention is applied;

图5为本发明实施例提供的一种响应方法所应用的界面的示意图之二;5 is a second schematic diagram of an interface to which a response method provided by an embodiment of the present invention is applied;

图6为本发明实施例提供的一种响应方法所应用的界面的示意图之三;6 is a third schematic diagram of an interface to which a response method provided by an embodiment of the present invention is applied;

图7为本发明实施例提供的一种响应方法所应用的界面的示意图之四;7 is a fourth schematic diagram of an interface to which a response method provided by an embodiment of the present invention is applied;

图8为本发明实施例提供的一种电子设备的结构示意图之一;FIG. 8 is one of the schematic structural diagrams of an electronic device according to an embodiment of the present invention;

图9为本发明实施例提供的一种电子设备的结构示意图之二。FIG. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。It should be noted that “/” in this document means or, for example, A/B can mean A or B; “and/or” in this document is only an association relationship that describes an associated object, indicating that there may be three A relationship, for example, A and/or B, can mean the existence of A alone, the existence of both A and B, and the existence of B alone.

需要说明的是,本文中的“多个”是指两个或多于两个。It should be noted that the "plurality" herein refers to two or more than two.

需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or descriptions. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

需要说明的是,为了便于清楚描述本发明实施例的技术方案,在本发明实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一输入和第二输入是用于区别不同的输入,而不是用于描述输入的特定顺序。It should be noted that, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to describe the same or similar items that have basically the same function or effect. For distinction, those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order. For example, the first input and the second input are used to distinguish different inputs, not to describe a specific order of the inputs.

本发明实施例中的虚拟按键为:设置在电子设备外壳上的虚拟按键,该虚拟按键用于替代传统的机械按键(即物理按键)。The virtual keys in the embodiments of the present invention are: virtual keys disposed on the casing of the electronic device, and the virtual keys are used to replace traditional mechanical keys (ie, physical keys).

示例性的,本发明实施例中的虚拟按键可以设置在电子设备的外壳上的任意区域,本发明实施例对此不作限定,且电子设备的外壳上可以设置一个或多个虚拟按键。Exemplarily, the virtual keys in this embodiment of the present invention may be set in any area on the casing of the electronic device, which is not limited in the embodiment of the present invention, and one or more virtual keys may be set on the casing of the electronic device.

举例说明,本发明实施例中的虚拟按键可以设置在电子设备的外壳的侧边框区域,例如,如图1中的(a)所示,音量虚拟按键以及电源虚拟按键可以设置在电子设备的右边框上。如图1中的(b)所示,本发明实施例中的虚拟按键也可以设置在电子设备的外壳的后壳区域。For example, the virtual keys in this embodiment of the present invention may be arranged in the side frame area of the casing of the electronic device. For example, as shown in (a) of FIG. 1 , the virtual volume keys and the power virtual keys may be arranged on the right side of the electronic device. on the border. As shown in (b) of FIG. 1 , the virtual keys in the embodiment of the present invention may also be arranged in the back cover area of the casing of the electronic device.

示例性的,虚拟按键不同于物理按键,是由多个感应区域组成的,且这些感应区域均位于电子设备的外壳上。即,虚拟按键在电子设备的外壳上的感应区域能够感应用户的触控输入,这样用户仅需要触控虚拟按键的感应区域,便可触发电子设备执行该虚拟按键的功能。Exemplarily, the virtual key is different from the physical key, and is composed of multiple sensing areas, and these sensing areas are all located on the casing of the electronic device. That is, the sensing area of the virtual key on the casing of the electronic device can sense the user's touch input, so that the user only needs to touch the sensing area of the virtual key to trigger the electronic device to execute the function of the virtual key.

一般的,虚拟按键在电子设备的外壳上的感应区域内通常设置有对应的虚拟按键处理器,这样当用户触控该虚拟按键的感应区域时,该虚拟按键处理器便将接收到的被触控的信息传输至电子设备的CPU中进行处理,从而响应该虚拟按键对应的功能。Generally, a virtual key is usually provided with a corresponding virtual key processor in the sensing area on the casing of the electronic device, so that when the user touches the sensing area of the virtual key, the virtual key processor will receive the touch The control information is transmitted to the CPU of the electronic device for processing, so as to respond to the function corresponding to the virtual key.

本发明实施例提供的响应方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该响应方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的响应方法进行示例性的说明。The execution subject of the response method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or may be a functional module and/or functional entity in the electronic device capable of implementing the response method, The specifics can be determined according to actual usage requirements, which are not limited in the embodiments of the present invention. The following takes an electronic device as an example to illustrate the response method provided by the embodiment of the present invention.

本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. The mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) etc.; the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiment of the present invention does not make any specific limitations.

本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的响应方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the response method provided by the embodiment of the present invention is applied.

如图2所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图2中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 2 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 2, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的响应方法的软件程序,从而使得该响应方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的响应方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program that implements the response method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. It can run based on the Android operating system as shown in Figure 1. That is, the processor or the electronic device can implement the response method provided by the embodiment of the present invention by running the software program in the Android operating system.

下面结合图3所示的响应方法流程图对本发明实施例的响应方法进行说明,图3为本发明实施例提供的一种响应方法流程示意图,应用于电子设备,包括步骤201至步骤202:The following describes the response method of the embodiment of the present invention with reference to the flow chart of the response method shown in FIG. 3 . FIG. 3 is a schematic flowchart of a response method provided by the embodiment of the present invention, applied to an electronic device, including steps 201 to 202:

步骤201:电子设备接收针对电子设备的目标区域的第一输入。Step 201: The electronic device receives a first input for a target area of the electronic device.

步骤202:在上述第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹,或,接收到针对第一虚拟按键的输入,则响应针对上述目标区域的第二输入,电子设备执行该第二输入对应的功能。Step 202: In the case where the above-mentioned first input includes multi-finger input, if the electronic device obtains a target fingerprint matching the preset fingerprint, or receives an input for the first virtual key, the electronic device responds to the first input for the above-mentioned target area. Second input, the electronic device executes the function corresponding to the second input.

示例性的,上述第二输入为在上述第一输入之后预设时长(例如,500毫秒)内接收到的输入。需要说明的是,若在第一输入之后预定时长内未接收到第二输入,则电子设备不执行任何功能。Exemplarily, the above-mentioned second input is an input received within a preset time period (for example, 500 milliseconds) after the above-mentioned first input. It should be noted that, if the second input is not received within a predetermined period of time after the first input, the electronic device does not perform any function.

示例性的,在上述第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹,则表明电子设备进行了指纹认证,该电子设备只有在指纹认证成功后,才会响应针对上述目标区域的第二输入,电子设备执行该第二输入对应的功能。在一种示例中,上述的多指输入包括指纹输入,或者,在上述第一输入包括多指输入的情况下,电子设备还接收到一个指纹输入(即下述的第三输入)。Exemplarily, in the case where the above-mentioned first input includes multi-finger input, if the electronic device obtains a target fingerprint matching the preset fingerprint, it indicates that the electronic device has performed fingerprint authentication, and the electronic device can only perform fingerprint authentication after successful fingerprint authentication. Only in response to the second input for the target area, the electronic device executes the function corresponding to the second input. In an example, the above-mentioned multi-finger input includes fingerprint input, or, in the case that the above-mentioned first input includes multi-finger input, the electronic device further receives one fingerprint input (ie, the following third input).

在一种示例中,电子设备会预存一个或多个预设指纹,当电子设备采集到指纹时,会判定该指纹是否与预设指纹相匹配,若匹配,则表示认证成功。需要说明的是,若电子设备在进行指纹认证之前或正在进行指纹认证时,用户手指已经离开,则认为此次为误触,电子设备不再进行认证。In one example, the electronic device will pre-store one or more preset fingerprints, and when the electronic device collects the fingerprints, it will determine whether the fingerprints match the preset fingerprints, and if they match, the authentication is successful. It should be noted that, if the user's finger has left before or when the electronic device performs fingerprint authentication, it is considered that this time is a false touch, and the electronic device will no longer perform authentication.

示例性的,在上述第一输入包括多指输入的情况下,电子设备会在接收到用户针对第一虚拟按键的输入的同时或之后,才会响应该电子设备接收到的对目标区域的第二输入,从而执行该第二输入对应的功能。在一种示例中,上述多指输入包括用户对第一虚拟按键的输入。Exemplarily, in the case where the above-mentioned first input includes multi-finger input, the electronic device will not respond to the first input to the target area received by the electronic device at the same time or after receiving the user's input for the first virtual key. two inputs, so as to execute the function corresponding to the second input. In an example, the above-mentioned multi-finger input includes the user's input on the first virtual key.

示例性的,上述的第一虚拟按键可以为专用于防触控的虚拟按键,还可以为现有的虚拟按键,本发明实施例对此不做限定。Exemplarily, the above-mentioned first virtual key may be a virtual key dedicated to anti-touch, or may be an existing virtual key, which is not limited in this embodiment of the present invention.

示例性的,上述目标区域可以包括感应区域,该感应区域可以设置一个或多个虚拟按键。Exemplarily, the above-mentioned target area may include a sensing area, and the sensing area may be provided with one or more virtual keys.

示例性的,上述的目标区域可以为电子设备的外壳的侧边框区域,还可以为电子设备的外壳的后壳区域,本发明实施例对此不作限定。Exemplarily, the above-mentioned target area may be the side frame area of the outer casing of the electronic device, or may be the rear casing area of the outer casing of the electronic device, which is not limited in this embodiment of the present invention.

示例性的,上述的针对电子设备的目标区域的第一输入可以包括:用户对目标区域的输入,或者,其他用户对目标区域的输入,本发明实施例对此不作限定。Exemplarily, the above-mentioned first input to the target area of the electronic device may include: a user's input to the target area, or other user's input to the target area, which is not limited in this embodiment of the present invention.

示例性的,上述的用户对目标区域的输入具体可以包括:用户对目标区域的点击输入,或者,用户在目标区域上的滑动输入,或者用户在目标区域上的其他可行性输入,具体的可以根据实际需求设定,本发明实施例对此不作限定。Exemplarily, the above-mentioned user input on the target area may specifically include: the user's click input on the target area, or the user's sliding input on the target area, or the user's other feasible input on the target area. It is set according to actual requirements, which is not limited in this embodiment of the present invention.

示例性的,上述的点击输入可以为单击输入、双击输入或任意次数的点击输入等;上述的点击输入还可以为长按输入或短按输入,上述的滑动输入可以为向任意方向的滑动输入,例如向上滑动、向下滑动、向左滑动或者向右滑动等,且上述滑动输入的滑动轨迹可以是直线,也可以是曲线,具体的可以根据实际需求设定。Exemplarily, the above-mentioned click input can be a single-click input, a double-click input, or an arbitrary number of click input, etc.; the above-mentioned click input can also be a long-press input or a short-press input, and the above-mentioned sliding input can be sliding in any direction. Input, such as sliding up, sliding down, sliding left or sliding right, etc., and the sliding trajectory of the above sliding input can be a straight line or a curve, which can be set according to actual needs.

示例性的,上述的第二输入可以为用户对目标区域的触控输入,或其他可行性输入,本发明实施例对此不做限定。Exemplarily, the above-mentioned second input may be a user's touch input on the target area, or other feasible input, which is not limited in this embodiment of the present invention.

示例性的,上述的目标区域包括目标虚拟按键,上述的第二输入对应的功能为该目标虚拟按键对应的功能。在一种示例中,若上述目标虚拟按键为多个虚拟按键、且该多个虚拟按键对应多个功能的情况下,电子设备可以依次执行每个虚拟按键的功能,也可以同时执行该多个虚拟按键的功能。例如,电子设备可以按照上述多个虚拟按键的触发顺序依次执行每个虚拟按键的功能,或者,电子设备可以按照虚拟按键的按键优先级从高到低依次执行每个虚拟按键的功能,或者,在上述多个虚拟按键的感应区域均可识别指纹的情况下,电子设备可以按照用户触控上述多个虚拟按键时录入的指纹的指纹优先级从高到低依次执行每个虚拟按键功能,本发明实施例对此不作限定。Exemplarily, the above-mentioned target area includes a target virtual key, and the function corresponding to the above-mentioned second input is a function corresponding to the target virtual key. In an example, if the target virtual keys are multiple virtual keys and the multiple virtual keys correspond to multiple functions, the electronic device may execute the function of each virtual key sequentially, or may execute the multiple functions simultaneously. Function of virtual keys. For example, the electronic device may sequentially execute the function of each virtual key according to the triggering sequence of the plurality of virtual keys, or the electronic device may execute the function of each virtual key sequentially according to the key priority of the virtual keys from high to low, or, In the case where fingerprints can be recognized in the sensing areas of the plurality of virtual keys, the electronic device can execute the function of each virtual key in order from high to low according to the fingerprint priority of the fingerprints recorded when the user touches the plurality of virtual keys. This embodiment of the invention does not limit this.

可选的,在本发明实施例中,上述目标区域可以包括:第一感应区域和第二感应区域;其中,第一感应区域和第二感应区域可分别设置一个或多个虚拟按键。Optionally, in this embodiment of the present invention, the above-mentioned target area may include: a first sensing area and a second sensing area; wherein, one or more virtual keys may be respectively set in the first sensing area and the second sensing area.

进一步可选的,在本发明实施例中,上述第一输入可以为针对该第一感应区域的输入,上述第二输入可以为针对该第二感应区域的输入。Further optionally, in this embodiment of the present invention, the first input may be an input for the first sensing area, and the second input may be an input for the second sensing area.

示例性的,上述的第一感应区域可以包括指纹识别区域。上述的目标指纹为用户在该第一感应区域中的指纹识别区域上输入的指纹。Exemplarily, the above-mentioned first sensing area may include a fingerprint identification area. The above-mentioned target fingerprint is the fingerprint input by the user on the fingerprint identification area in the first sensing area.

在一种示例中,上述的电子设备可以在获取到与预设指纹匹配的目标指纹、且接收到针对第一虚拟按键的输入的情况下,才会响应上述的第二输入,执行第二输入对应的功能。In an example, the electronic device may respond to the second input and execute the second input only when the target fingerprint matching the preset fingerprint is acquired and the input for the first virtual key is received. corresponding function.

本发明实施例提供的响应方法,电子设备在接收到针对电子设备的目标区域的第一输入之后,在该第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入之后,响应针对上述目标区域的第二输入,执行该第二输入对应的功能,上述第二输入为在上述第一输入之后预设时长内接收到的输入。如此,电子设备只有在指纹匹配成功,或者接收到针对第一虚拟按键的输入后,才会执行用户对目标区域的第二输入,进而避免了用户对目标区域的误触发。In the response method provided by the embodiment of the present invention, after the electronic device receives the first input for the target area of the electronic device, if the first input includes multi-finger input, if the electronic device obtains a fingerprint matching the preset fingerprint After the target fingerprint or the input for the first virtual key is received, the function corresponding to the second input is executed in response to the second input for the above-mentioned target area, and the above-mentioned second input is received within a preset time period after the above-mentioned first input. input of. In this way, the electronic device executes the second input of the user to the target area only after the fingerprint matching is successful or after receiving the input for the first virtual key, thereby avoiding false triggering of the target area by the user.

可选的,在本发明实施例中,在上述的电子设备包括指纹识别区域的情况下,至少可以通过以下两种可能实现的方式进行指纹识别。Optionally, in this embodiment of the present invention, in the case that the above-mentioned electronic device includes a fingerprint identification area, fingerprint identification may be performed in at least the following two possible implementation manners.

在第一种可能实现的方式中(指纹识别区域可以单独设置在电子设备上):In the first possible way (the fingerprint recognition area can be set separately on the electronic device):

示例性的,上述的步骤202具体可以包括如下步骤202a和步骤202b:Exemplarily, the above-mentioned step 202 may specifically include the following steps 202a and 202b:

步骤202a:在上述第一输入包括多指输入的情况下,电子设备接收针对电子设备的指纹识别区域的第三输入。Step 202a: In the case that the above-mentioned first input includes a multi-finger input, the electronic device receives a third input for the fingerprint identification area of the electronic device.

示例性的,上述的第三输入具体可以包括:用户对指纹识别区域的触控输入。Exemplarily, the above-mentioned third input may specifically include: a user's touch input on the fingerprint recognition area.

步骤202b:响应上述第三输入,若该第三输入对应目标指纹与上述预设指纹匹配,则响应上述第二输入,执行该第二输入对应的功能。Step 202b: In response to the third input, if the target fingerprint corresponding to the third input matches the preset fingerprint, in response to the second input, execute the function corresponding to the second input.

示例性的,若终端设备检测到第三输入对应的指纹与预定指纹相匹配,且接收到第二输入,则表明用户的第二输入并未误触,此时,电子设备执行第二输入对应的功能。Exemplarily, if the terminal device detects that the fingerprint corresponding to the third input matches the predetermined fingerprint, and receives the second input, it indicates that the user's second input has not been touched by mistake. At this time, the electronic device performs the second input corresponding to the fingerprint. function.

示例性的,若终端设备在接收到第三输入时未检测到指纹(例如,用户的手掌不小心触控到指纹识别区域),或者,终端设备检测到第三输入对应的指纹与预定指纹不匹配,此时若接收到第二输入,则表明用户为误触发目标区域,此时,终端设备不执行第二输入对应的功能。Exemplarily, if the terminal device does not detect a fingerprint when receiving the third input (for example, the user's palm accidentally touches the fingerprint recognition area), or the terminal device detects that the fingerprint corresponding to the third input is different from the predetermined fingerprint. If it matches, if the second input is received at this time, it indicates that the user has triggered the target area by mistake, and at this time, the terminal device does not execute the function corresponding to the second input.

需要说明的是,电子设备在接收上述的第二输入和第三输入时没有明显的前后顺序,即,电子设备可以在接收上述第二输入之前接收第三输入,还可以在接收上述第二输入的同时接收第三输入,还可以在接收上述的第二输入之后接收第三输入,本发明实施例对此不作限定。It should be noted that there is no obvious sequence when the electronic device receives the second input and the third input, that is, the electronic device may receive the third input before receiving the second input, and may also receive the second input before receiving the second input. While receiving the third input at the same time, the third input may also be received after receiving the above-mentioned second input, which is not limited in this embodiment of the present invention.

在一种示例中,目标区域包括多个虚拟按键的情况下,电子设备可以在接收上述第二输入之前接收第三输入,即用户可以先触控指纹识别区域,再点击多个虚拟按键,从而执行该多个目标虚拟按键对应的功能。例如,电子设备可以按照用户点击该多个虚拟按键的点击顺序依次执行该多个虚拟按键对应的功能。In an example, when the target area includes multiple virtual keys, the electronic device may receive the third input before receiving the second input, that is, the user may touch the fingerprint recognition area first, and then click the multiple virtual keys, thereby The functions corresponding to the multiple target virtual keys are executed. For example, the electronic device may sequentially execute the functions corresponding to the plurality of virtual keys according to the click sequence of the plurality of virtual keys by the user.

举例说明,结合图1中的(a),以指纹识别区域可以单独设置在电子设备上、且目标区域设置有多个虚拟按键为例,如图4所示,电子设备的左侧边框区域包括指纹识别区域(即图4中的31),电子设备的右侧边框区域设置有3个虚拟按键,分别为“电源”虚拟按键(即图4中的32)、“+”虚拟按键(即图4中的33)和“-”虚拟按键(即图4中的34),其中,“电源”虚拟按键32对应的功能为开关机,“+”虚拟按键33对应的功能为调高电子设备音量,“-”虚拟按键34对应的功能为调低电子设备音量。当用户手指同时点击“电源”虚拟按键32、“+”虚拟按键33和“-”虚拟按键34这3个虚拟按键(即上述的第一输入)之后,若用户先触控指纹识别区域31(即上述的第三输入),电子设备将获取到的目标指纹与预设指纹进行匹配,若匹配成功,则当用户依次点击“+”虚拟按键33、“电源”虚拟按键32(即上述的第二输入),此时,电子设备可以先执行调高电子设备音量功能,再执行开关机功能。For example, in conjunction with (a) in FIG. 1 , taking the fingerprint recognition area that can be independently set on the electronic device and the target area provided with multiple virtual buttons as an example, as shown in FIG. 4 , the left border area of the electronic device includes: The fingerprint recognition area (ie 31 in Figure 4), the right border area of the electronic device is provided with 3 virtual buttons, which are the "power" virtual button (ie 32 in Figure 4), the "+" virtual button (ie Figure 4). 33 in 4) and the "-" virtual key (ie, 34 in Figure 4), wherein the function corresponding to the "power" virtual key 32 is to switch the machine on and off, and the corresponding function of the "+" virtual key 33 is to increase the volume of the electronic device , the function corresponding to the "-" virtual key 34 is to lower the volume of the electronic device. When the user's finger simultaneously clicks the three virtual keys of the "power" virtual key 32, the "+" virtual key 33 and the "-" virtual key 34 (ie, the above-mentioned first input), if the user first touches the fingerprint recognition area 31 ( That is, the above-mentioned third input), the electronic device will match the acquired target fingerprint with the preset fingerprint, if the matching is successful, then when the user clicks the "+" virtual button 33 and the "power" virtual button 32 in turn (that is, the above-mentioned first Two inputs), at this time, the electronic device can first perform the function of turning up the volume of the electronic device, and then perform the function of switching the machine on and off.

这样,电子设备可以通过认证该指纹是否为用户手指指纹,来防止虚拟按键被误触发。只有当该指纹认证成功后,电子设备才执行第二输入对应的功能。In this way, the electronic device can prevent the virtual key from being triggered by mistake by verifying whether the fingerprint is the fingerprint of the user's finger. Only when the fingerprint authentication is successful, the electronic device executes the function corresponding to the second input.

需要说明的是,当上述的第二输入为用户同时触控多个虚拟按键时,若该多个虚拟按键的组合不对应何种功能,则电子设备不执行任何功能。例如,当用户触控指纹识别区域后,再同时点击“电源”虚拟按键32、“+”虚拟按键33和“-”虚拟按键34,则电子设备不执行任何功能。It should be noted that, when the above-mentioned second input is that the user touches multiple virtual keys at the same time, if the combination of the multiple virtual keys does not correspond to any function, the electronic device does not perform any function. For example, when the user touches the fingerprint recognition area, and then simultaneously clicks the "power" virtual key 32, the "+" virtual key 33 and the "-" virtual key 34, the electronic device does not perform any function.

在第二种可能实现的方式中(目标区域包括指纹识别区域):In the second possible implementation (the target area includes the fingerprint recognition area):

示例性的,上述多指输入包括:用户对上述指纹识别区域的第一触控输入,上述目标指纹为该第一触控输入对应输入的指纹。Exemplarily, the multi-finger input includes: a first touch input by the user to the fingerprint recognition area, and the target fingerprint is a fingerprint input corresponding to the first touch input.

示例性的,上述的多指输入除了包括用户对上述指纹识别区域的第一触控输入,还可以包括用户对目标区域中的虚拟按键的触控输入。Exemplarily, the above-mentioned multi-finger input may include, in addition to the user's first touch input to the above-mentioned fingerprint recognition area, the user's touch input to a virtual key in the target area.

举例说明,结合图1中的(a),以目标区域包括指纹识别区域、且目标区域设置有多个虚拟按键为例,如图5所示,电子设备的右侧边框区域设置有指纹识别区域(即图5中的41)、“电源”虚拟按键(即图5中的42)、“+”虚拟按键(即图5中的43)和“-”虚拟按键(即图5中的44)。当用户点击“电源”虚拟按键42、“+”虚拟按键43和“-”虚拟按键44的同时,即可触控指纹识别区域41(即上述的第一触控输入)。此时,若电子设备检测到手指指纹认证成功,当用户想要调高音量,则可以点击“+”虚拟按键43,则电子设备执行调高电子设备音量功能。若电子设备未检测到用户手指指纹,或者电子设备检测到该指纹并非手指指纹,即指纹认证失败,若此时用户点击“+”虚拟按键43,则电子设备不执行任何功能。For example, in conjunction with (a) in FIG. 1 , taking the target area including the fingerprint recognition area and the target area being provided with a plurality of virtual buttons as an example, as shown in FIG. 5 , the right frame area of the electronic device is provided with a fingerprint recognition area. (ie 41 in Figure 5), "power" virtual key (ie 42 in Figure 5), "+" virtual key (ie 43 in Figure 5) and "-" virtual key (ie 44 in Figure 5) . When the user clicks the "power" virtual key 42, the "+" virtual key 43 and the "-" virtual key 44, the user can touch the fingerprint recognition area 41 (ie, the above-mentioned first touch input). At this time, if the electronic device detects that the fingerprint authentication is successful, when the user wants to increase the volume, he can click the "+" virtual button 43, and the electronic device executes the function of increasing the volume of the electronic device. If the electronic device does not detect the fingerprint of the user's finger, or the electronic device detects that the fingerprint is not a fingerprint, the fingerprint authentication fails, and if the user clicks the "+" virtual button 43, the electronic device does not perform any function.

这样,用户可以在触控目标区域的同时可以进行指纹认证,使得整个操作更为简便、效率高。In this way, the user can perform fingerprint authentication while touching the target area, which makes the entire operation simpler and more efficient.

进一步可选的,在本发明实施例中,电子设备可以根据不同的指纹,执行第二输入对应的不同的功能。Further optionally, in this embodiment of the present invention, the electronic device may perform different functions corresponding to the second input according to different fingerprints.

示例性的,上述的针对目标区域的第二输入为用户针对虚拟按键的输入时,一个虚拟按键可以对应至少一个预定指纹;不同的预定指纹可以触发电子设备执行该一个虚拟按键对应的不同的功能。例如,结合图4,以“+”虚拟按键还具有调亮电子设备屏幕的功能为例,若用户用手指1触控指纹识别区域31,当用户点击“+”虚拟按键33(即上述的第二输入)后,则电子设备执行调高电子设备音量功能;若用户用手指2触控指纹识别区域31,当用户点击“+”虚拟按键33(即上述的第二输入)后,则电子设备执行调亮电子设备屏幕功能。Exemplarily, when the above-mentioned second input to the target area is the user's input to a virtual key, one virtual key may correspond to at least one predetermined fingerprint; different predetermined fingerprints may trigger the electronic device to perform different functions corresponding to the one virtual key. . For example, in conjunction with FIG. 4, taking the "+" virtual button also having the function of brightening the screen of an electronic device as an example, if the user touches the fingerprint recognition area 31 with finger 1, when the user clicks the "+" virtual button 33 (that is, the above-mentioned No. 1 After the second input), the electronic device performs the function of turning up the volume of the electronic device; if the user touches the fingerprint recognition area 31 with his finger 2, when the user clicks the "+" virtual button 33 (ie, the above-mentioned second input), the electronic device Executes the function to brighten the electronic device screen.

这样,用户可以通过不同的手指对虚拟按键进行触控,触发终端执行该虚拟按键对应的不同的功能,进而可以丰富虚拟按键的功能并提高人机交互感。In this way, the user can touch the virtual keys with different fingers to trigger the terminal to execute different functions corresponding to the virtual keys, thereby enriching the functions of the virtual keys and improving the sense of human-computer interaction.

可选的,在本发明实施中,上述目标区域设置有上述第一虚拟按键的情况下,上述多指输入包括:针对该第一虚拟按键的触控输入。Optionally, in the implementation of the present invention, when the target area is provided with the first virtual key, the multi-finger input includes: touch input for the first virtual key.

示例性的,上述的触控输入可以包括:用户对第一虚拟按键的输入,或者,其他用户对第一虚拟按键的输入。Exemplarily, the above-mentioned touch input may include: the user's input to the first virtual key, or the input of other users to the first virtual key.

示例性的,上述的用户对第一虚拟按键的输入具体可以包括:用户对第一虚拟按键的点击输入,或者,针对第一虚拟按键的滑动输入,或者用户在第一虚拟按键上的其他可行性输入,具体的可以根据实际需求设定,本发明实施例对此不作限定。Exemplarily, the above-mentioned user input on the first virtual key may specifically include: the user's click input on the first virtual key, or a sliding input on the first virtual key, or other feasible user input on the first virtual key. The specific input can be set according to actual requirements, which is not limited in this embodiment of the present invention.

示例性的,上述的第一虚拟按键可以为一个也可以为多个。可以理解,上述的第一虚拟按键可以为电子设备的已有虚拟按键,也可以为新增的虚拟按键,本发明实施例对此不作限定。Exemplarily, the above-mentioned first virtual key may be one or multiple. It can be understood that the above-mentioned first virtual key may be an existing virtual key of the electronic device, or may be a newly added virtual key, which is not limited in this embodiment of the present invention.

在一种示例中,上述的第一虚拟按键为专用于防误触的虚拟按键,则上述的多指输入除了包括用户对专用于防误触的虚拟按键的触控输入,还包括用户对目标区域中的其他虚拟按键的触控输入。例如,上述的第一输入可以为用户的第一手指触控第一虚拟按和用户的第二手指触控目标区域中的其他虚拟按键的输入,则第二输入可以为用户的第二手指重新触控该其他虚拟按键中的至少一个的输入。In an example, the above-mentioned first virtual key is a virtual key dedicated to preventing accidental touches, and the above-mentioned multi-finger input not only includes the user's touch input on the virtual key dedicated to preventing accidental touches, but also includes the user's touch input on the target Touch input to other virtual keys in the area. For example, the above-mentioned first input may be the input of the user's first finger touching the first virtual button and the user's second finger touching other virtual keys in the target area, and the second input may be the user's second finger An input to touch at least one of the other virtual keys.

举例说明,结合图1中的(a),以第一虚拟按键为专用的防误触虚拟按键为例,当用户单手握持电子设备时,如图6所示,电子设备包括边框区域(即上述的目标区域),其中,电子设备的左侧边框区域设置有“防误触”虚拟按键(即上述第一虚拟按键,如图6中的51),电子设备的右侧边框区域设置有3个虚拟按键,分别为“电源”虚拟按键(即图6中的52)、“+”虚拟按键(即图6中的53)和“-”虚拟按键(即图6中的54),其中,“电源”虚拟按键52对应的功能为开关机,“+”虚拟按键53对应的功能为调高电子设备音量,“-”虚拟按键54对应的功能为调低电子设备音量。当用户的手指1持续触控“电源”虚拟按键52、手指3持续触控“-”虚拟按键54以及手指4持续触控“防误触”虚拟按键51(即上述的第一输入),此时,电子设备不执行任何功能。若用户其他手指保持不变,手指2重新点击“+”虚拟按键53(即上述的第二输入),则电子设备执行调高电子设备音量功能。For example, in conjunction with (a) in FIG. 1 , taking the first virtual key as a dedicated anti-mistouch virtual key as an example, when the user holds the electronic device with one hand, as shown in FIG. 6 , the electronic device includes a frame area ( That is, the above-mentioned target area), wherein, the left border area of the electronic device is provided with a "anti-mistouch" virtual key (that is, the above-mentioned first virtual key, such as 51 in Figure 6), and the right border area of the electronic device is provided with 3 virtual keys, namely "power" virtual key (ie 52 in Figure 6), "+" virtual key (ie 53 in Figure 6) and "-" virtual key (ie 54 in Figure 6), where , the function corresponding to the "power" virtual button 52 is to turn on and off the machine, the function corresponding to the "+" virtual button 53 is to increase the volume of the electronic device, and the corresponding function of the "-" virtual button 54 is to decrease the volume of the electronic device. When the user's finger 1 keeps touching the "power" virtual key 52, finger 3 keeps touching the "-" virtual key 54, and finger 4 keeps touching the "anti-mistouch" virtual key 51 (ie, the above-mentioned first input), this , the electronic device does not perform any function. If the other fingers of the user remain unchanged, and the finger 2 re-clicks the "+" virtual key 53 (ie, the above-mentioned second input), the electronic device performs the function of increasing the volume of the electronic device.

这样,电子设备无需额外的硬件辅助,只需任意指定一个或多个专用的防误触虚拟按键,即可防止目标虚拟按键被误触。In this way, the electronic device does not need additional hardware assistance, and only needs to arbitrarily designate one or more dedicated virtual keys for preventing accidental touches, so that the target virtual keys can be prevented from being accidentally touched.

在一种示例中,若电子设备设置的第一虚拟按键为专用的防误触虚拟按键的情况下,当用户同时触控该第一虚拟按键和目标区域中至少一个虚拟按键时,可以直接触发电子设备执行该至少一个虚拟按键对应的功能。In an example, if the first virtual key set by the electronic device is a dedicated anti-mistouch virtual key, when the user touches the first virtual key and at least one virtual key in the target area at the same time, the trigger can be directly triggered The electronic device executes the function corresponding to the at least one virtual key.

进一步可选的,在本发明实施例中,若上述第一虚拟按键包括至少两个第二虚拟按键;该至少两个第二虚拟按键包括目标虚拟按键;其中,上述第二输入为:用户重新触控该目标虚拟按键的输入;上述第二输入对应的功能为:该目标虚拟按键对应的功能。Further optionally, in this embodiment of the present invention, if the above-mentioned first virtual key includes at least two second virtual keys; the at least two second virtual keys include a target virtual key; wherein, the above-mentioned second input is: the user resets the Touch the input of the target virtual key; the function corresponding to the second input is: the function corresponding to the target virtual key.

示例性的,上述的第二输入可以包括:用户对目标虚拟按键的输入,或者,其他用户对目标虚拟按键的输入。Exemplarily, the above-mentioned second input may include: the user's input to the target virtual key, or the input of other users to the target virtual key.

示例性的,上述的用户对目标虚拟按键的输入具体可以包括:用户对目标虚拟按键的点击输入,或者,针对目标虚拟按键的滑动输入,或者用户在目标虚拟按键上的其他可行性输入,具体的可以根据实际需求设定,本发明实施例对此不作限定。Exemplarily, the above-mentioned user input on the target virtual key may specifically include: the user's click input on the target virtual key, or a sliding input on the target virtual key, or other feasible input by the user on the target virtual key, specifically. can be set according to actual needs, which is not limited in this embodiment of the present invention.

示例性的,上述的至少两个第二虚拟按键可以为目标区域中已有的具有对应功能的虚拟按键,则上述的多指输入为用户对该至少两个第二虚拟按键的触控输入。Exemplarily, the above-mentioned at least two second virtual keys may be existing virtual keys with corresponding functions in the target area, and the above-mentioned multi-finger input is a user's touch input on the at least two second virtual keys.

举例说明,结合图1中的(a),以用户单手握持电子设备为例,如图7所示,当用户单手握持电子设备时,电子设备的右侧边框区域(上述的目标区域)设置有3个虚拟按键,分别为“电源”虚拟按键(即图7中的61)、“+”虚拟按键(即图7中的62)和“-”虚拟按键(即图7中的63),其中,“电源”虚拟按键61对应的功能为开关机,“+”虚拟按键62对应的功能为调高电子设备音量,“-”虚拟按键63对应的功能为调低电子设备音量。用户的手指1持续触控“电源”虚拟按键61、手指2持续触控“+”虚拟按键62、手指3持续触控“-”虚拟按键63(即上述的至少两个第二虚拟按键),电子设备不执行任何功能。此时,若用户的其他手指保持不变,手指2重新点击“+”虚拟按键62(即上述的第二输入),则电子设备执行调高电子设备音量功能。For example, in conjunction with (a) in FIG. 1 , taking the user holding the electronic device with one hand as an example, as shown in FIG. 7 , when the user holds the electronic device with one hand, area) is provided with 3 virtual keys, namely the "power" virtual key (ie 61 in Figure 7), the "+" virtual key (ie 62 in Figure 7) and the "-" virtual key (ie, Figure 7 63), wherein, the function corresponding to the "power" virtual key 61 is to switch the machine, the function corresponding to the "+" virtual key 62 is to increase the volume of the electronic device, and the function corresponding to the "-" virtual key 63 is to lower the volume of the electronic device. The user's finger 1 continuously touches the "power" virtual button 61, the finger 2 continuously touches the "+" virtual button 62, and the finger 3 continuously touches the "-" virtual button 63 (that is, the above-mentioned at least two second virtual buttons), The electronic device does not perform any function. At this time, if the other fingers of the user remain unchanged, and the finger 2 re-clicks the "+" virtual key 62 (ie, the above-mentioned second input), the electronic device performs the function of increasing the volume of the electronic device.

如此,当用户触控电子设备上已有的多个第二虚拟按键的输入,可以作为电子设备接收到针对第一虚拟按键的输入的判定条件,这样,可以在不增加新的虚拟按键的同时,即可避免误触发虚拟按键。In this way, when the user touches the input of a plurality of existing second virtual keys on the electronic device, it can be used as a judgment condition for the electronic device to receive the input for the first virtual key. In this way, without adding new virtual keys, to avoid false triggering of virtual keys.

需要说明的是,电子设备接收到第一输入后,会重新检测用户是否重新触控虚拟按键时,在重新检测前对于用户已经触控的虚拟按键,若用户一直未重新触控,则电子设备认为该触控输入为无效输入,电子设备不执行该虚拟按键对应的功能,若用户对该虚拟按键重新触控,则电子设备执行该虚拟按键对应的功能。即在电子设备重新检测时,若虚拟按键是从没有触控输入到有触控输入,则电子设备认为该触控输入为有效输入,进而电子设备可以执行该虚拟按键对应的功能。It should be noted that, after the electronic device receives the first input, it will re-detect whether the user touches the virtual button again. For the virtual button that the user has touched before the re-detection, if the user has not touched the virtual button again, the electronic device will not touch the virtual button again. It is considered that the touch input is invalid input, the electronic device does not execute the function corresponding to the virtual key, and if the user touches the virtual key again, the electronic device executes the function corresponding to the virtual key. That is, when the electronic device re-detects, if the virtual key changes from no touch input to having touch input, the electronic device considers the touch input as valid input, and the electronic device can execute the function corresponding to the virtual key.

图8为实现本发明实施例提供的一种电子设备的可能的结构示意图,如图8所示,电子设备600包括:接收模块601和执行模块602,其中:FIG. 8 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present invention. As shown in FIG. 8 , the electronic device 600 includes: a receiving module 601 and an executing module 602, wherein:

接收模块601,用于接收针对电子设备的目标区域的第一输入;执行模块602,用于在上述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应上述接收模块601接收到的针对上述目标区域的第二输入,执行该第二输入对应的功能;其中,上述第二输入为在上述第一输入之后预设时长内接收到的输入。The receiving module 601 is used to receive the first input for the target area of the electronic device; the execution module 602 is used to obtain the target fingerprint matching the preset fingerprint when the above-mentioned first input includes multi-finger input, or receive to the input for the first virtual key, then in response to the second input for the target area received by the receiving module 601, the function corresponding to the second input is executed; wherein, the second input is a predetermined input after the first input. Inputs received within the set duration.

可选的,上述目标区域包括:第一感应区域和第二感应区域;其中,上述第一输入为针对该第一感应区域的输入;上述第二输入为针对该第二感应区域的输入。Optionally, the target area includes: a first sensing area and a second sensing area; wherein the first input is an input for the first sensing area; the second input is an input for the second sensing area.

可选的,上述目标区域包括指纹识别区域,上述多指输入包括:用户对上述指纹识别区域的第一触控输入,上述目标指纹为该第一触控输入对应输入的指纹。Optionally, the target area includes a fingerprint identification area, the multi-finger input includes: a first touch input by the user to the fingerprint identification area, and the target fingerprint is a fingerprint input corresponding to the first touch input.

可选的,上述接收模块601,还用于在上述第一输入包括多指输入的情况下,接收针对上述电子设备的指纹识别区域的第三输入;上述执行模块602,还用于响应上述接收模块601接收到的上述第三输入,若上述第三输入对应目标指纹与上述预设指纹匹配,则响应上述接收模块601接收到的上述第二输入,执行该第二输入对应的功能。Optionally, the above-mentioned receiving module 601 is further configured to receive a third input for the fingerprint identification area of the above-mentioned electronic device when the above-mentioned first input includes a multi-finger input; the above-mentioned executing module 602 is also used to respond to the above-mentioned receiving. The third input received by the module 601, if the target fingerprint corresponding to the third input matches the preset fingerprint, the function corresponding to the second input is executed in response to the second input received by the receiving module 601.

可选的,上述目标区域设置有上述第一虚拟按键,上述多指输入包括:针对上述第一虚拟按键的触控输入。Optionally, the target area is provided with the first virtual key, and the multi-finger input includes: touch input for the first virtual key.

可选的,上述第一虚拟按键包括至少两个第二虚拟按键;上述至少两个第二虚拟按键包括目标虚拟按键;其中,上述第二输入为:用户重新触控上述目标虚拟按键的输入;上述第二输入对应的功能为:上述目标虚拟按键对应的功能。Optionally, the first virtual key includes at least two second virtual keys; the at least two second virtual keys include a target virtual key; wherein, the second input is: an input of the user retouching the target virtual key; The function corresponding to the second input is: the function corresponding to the target virtual key.

本发明实施例提供的电子设备,电子设备在接收到针对电子设备的目标区域的第一输入之后,在该第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入之后,响应针对上述目标区域的第二输入,执行该第二输入对应的功能,上述第二输入为在上述第一输入之后预设时长内接收到的输入。如此,电子设备只有在指纹匹配成功,或者接收到针对第一虚拟按键的输入后,才会执行用户对目标区域的第二输入,进而避免了用户对目标区域的误触发。In the electronic device provided by the embodiment of the present invention, after the electronic device receives the first input for the target area of the electronic device, if the first input includes multi-finger input, if the electronic device obtains a fingerprint matching the preset fingerprint After the target fingerprint or the input for the first virtual key is received, the function corresponding to the second input is executed in response to the second input for the above-mentioned target area, and the above-mentioned second input is received within a preset time period after the above-mentioned first input. input of. In this way, the electronic device executes the second input of the user to the target area only after the fingerprint matching is successful or after receiving the input for the first virtual key, thereby avoiding false triggering of the target area by the user.

本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiments of the present invention can implement each process implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not repeated here.

图9为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9示出的电子设备100的结构并不构成对电子设备的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。9 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , the user input unit 107 , the interface unit 108 , the memory 109 , the processor 110 , and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device 100 shown in FIG. 9 does not constitute a limitation on the electronic device, and the electronic device 100 may include more or less components than the one shown, or combine some components, or different component layout. In this embodiment of the present invention, the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle terminal device, a wearable device, a pedometer, and the like.

其中,用户输入单元107,用于接收针对电子设备的目标区域的第一输入;处理器110,用于在上述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应用户输入单元107接收到的针对上述目标区域的第二输入,执行该第二输入对应的功能;其中,上述第二输入为在上述第一输入之后预设时长内接收到的输入。The user input unit 107 is configured to receive a first input for the target area of the electronic device; the processor 110 is configured to obtain a target matching the preset fingerprint if the first input includes multi-finger input. The fingerprint or the input for the first virtual key is received, and the function corresponding to the second input is executed in response to the second input for the above-mentioned target area received by the user input unit 107; wherein, the above-mentioned second input is in the above-mentioned first Inputs received within a preset period of time after input.

本发明实施例提供的电子设备,电子设备在接收到针对电子设备的目标区域的第一输入之后,在该第一输入包括多指输入的情况下,若电子设备获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入之后,响应针对上述目标区域的第二输入,执行该第二输入对应的功能,上述第二输入为在上述第一输入之后预设时长内接收到的输入。如此,电子设备只有在指纹匹配成功,或者接收到针对第一虚拟按键的输入后,才会执行用户对目标区域的第二输入,进而避免了用户对目标区域的误触发。In the electronic device provided by the embodiment of the present invention, after the electronic device receives the first input for the target area of the electronic device, if the first input includes multi-finger input, if the electronic device obtains a fingerprint matching the preset fingerprint After the target fingerprint or the input for the first virtual key is received, the function corresponding to the second input is executed in response to the second input for the above-mentioned target area, and the above-mentioned second input is received within a preset time period after the above-mentioned first input. input of. In this way, the electronic device executes the second input of the user to the target area only after the fingerprint matching is successful or after receiving the input for the first virtual key, thereby avoiding false triggering of the target area by the user.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 110; The uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

电子设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device 100 provides the user with wireless broadband Internet access through the network module 102, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.

电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device 100 . Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备100的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output on display panel 1061 . Although in FIG. 9, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be The input and output functions of the electronic device 100 are implemented through integration, which is not specifically limited here.

接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the electronic device 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 100 or may be used between the electronic device 100 and external Transfer data between devices.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备100的各种功能和处理数据,从而对电子设备100进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device 100, uses various interfaces and lines to connect various parts of the entire electronic device 100, runs or executes the software programs and/or modules stored in the memory 109, and calls the software programs and/or modules stored in the memory 109. to perform various functions of the electronic device 100 and process data, so as to monitor the electronic device 100 as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .

电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.

另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述响应方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including a processor, a memory, a computer program stored in the memory and executable on the processor 110, and the computer program is executed by the processor to realize the above response. Each process of the method embodiment can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述响应方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned response method embodiment can be realized, and the same technical effect can be achieved. , in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (13)

1.一种响应方法,应用于电子设备,其特征在于,所述方法包括:1. a response method, applied to electronic equipment, is characterized in that, described method comprises: 接收针对所述电子设备的目标区域的第一输入;receiving a first input for a target area of the electronic device; 在所述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应针对所述目标区域的第二输入,执行所述第二输入对应的功能;In the case where the first input includes multi-finger input, if a target fingerprint matching the preset fingerprint is acquired or an input for the first virtual key is received, in response to the second input for the target area, execute the Describe the function corresponding to the second input; 其中,所述第二输入为在所述第一输入之后预设时长内接收到的输入。The second input is an input received within a preset time period after the first input. 2.根据权利要求1所述的方法,其特征在于,所述目标区域包括:第一感应区域和第二感应区域;2. The method according to claim 1, wherein the target area comprises: a first sensing area and a second sensing area; 其中,所述第一输入为针对所述第一感应区域的输入;所述第二输入为针对所述第二感应区域的输入。Wherein, the first input is an input for the first sensing area; the second input is an input for the second sensing area. 3.根据权利要求1所述的方法,其特征在于,所述目标区域包括指纹识别区域,所述多指输入包括:用户对所述指纹识别区域的第一触控输入,所述目标指纹为所述第一触控输入对应输入的指纹。3 . The method according to claim 1 , wherein the target area comprises a fingerprint recognition area, the multi-finger input comprises: a first touch input by a user to the fingerprint recognition area, and the target fingerprint is 3 . The first touch input corresponds to the input fingerprint. 4.根据权利要求1所述的方法,其特征在于,所述在所述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹,则响应针对所述目标区域的第二输入,执行所述第二输入对应的功能,包括:4 . The method according to claim 1 , wherein, in the case that the first input includes a multi-finger input, if a target fingerprint matching a preset fingerprint is obtained, the response is directed to the target area. 5 . The second input of the second input executes the function corresponding to the second input, including: 在所述第一输入包括多指输入的情况下,接收针对所述电子设备的指纹识别区域的第三输入;In the case where the first input includes a multi-finger input, receiving a third input for the fingerprint recognition area of the electronic device; 响应所述第三输入,若所述第三输入对应目标指纹与所述预设指纹匹配,则响应所述第二输入,执行所述第二输入对应的功能。In response to the third input, if the target fingerprint corresponding to the third input matches the preset fingerprint, in response to the second input, the function corresponding to the second input is executed. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述目标区域设置有所述第一虚拟按键,所述多指输入包括:针对所述第一虚拟按键的触控输入。5. The method according to any one of claims 1 to 4, wherein the target area is provided with the first virtual key, and the multi-finger input comprises: touching the first virtual key enter. 6.根据权利要求5所述的方法,其特征在于,所述第一虚拟按键包括至少两个第二虚拟按键;所述至少两个第二虚拟按键包括目标虚拟按键;6. The method according to claim 5, wherein the first virtual keys comprise at least two second virtual keys; the at least two second virtual keys comprise target virtual keys; 其中,所述第二输入为:用户重新触控所述目标虚拟按键的输入;Wherein, the second input is: the user touches the input of the target virtual key again; 所述第二输入对应的功能为:所述目标虚拟按键对应的功能。The function corresponding to the second input is: the function corresponding to the target virtual key. 7.一种电子设备,其特征在于,所述电子设备包括:7. An electronic device, characterized in that the electronic device comprises: 接收模块,用于接收针对所述电子设备的目标区域的第一输入;a receiving module for receiving a first input for the target area of the electronic device; 执行模块,用于在所述第一输入包括多指输入的情况下,若获取到与预设指纹匹配的目标指纹或接收到针对第一虚拟按键的输入,则响应所述接收模块接收到的针对所述目标区域的第二输入,执行所述第二输入对应的功能;The execution module is configured to, in the case where the first input includes a multi-finger input, if a target fingerprint matching the preset fingerprint is acquired or an input for the first virtual key is received, then respond to the received by the receiving module. For the second input of the target area, execute the function corresponding to the second input; 其中,所述第二输入为在所述第一输入之后预设时长内接收到的输入。The second input is an input received within a preset time period after the first input. 8.根据权利要求7所述的电子设备,其特征在于,所述目标区域包括:第一感应区域和第二感应区域;其中,所述第一输入为针对所述第一感应区域的输入;所述第二输入为针对所述第二感应区域的输入。8. The electronic device according to claim 7, wherein the target area comprises: a first sensing area and a second sensing area; wherein the first input is an input for the first sensing area; The second input is an input for the second sensing area. 9.根据权利要求7所述的电子设备,其特征在于,所述目标区域包括指纹识别区域,所述多指输入包括:用户对所述指纹识别区域的第一触控输入,所述目标指纹为所述第一触控输入对应输入的指纹。9 . The electronic device according to claim 7 , wherein the target area comprises a fingerprint recognition area, and the multi-finger input comprises: a first touch input by a user to the fingerprint recognition area, the target fingerprint Inputting the fingerprint corresponding to the first touch input. 10.根据权利要求7所述的电子设备,其特征在于,10. The electronic device according to claim 7, wherein, 所述接收模块,还用于在所述第一输入包括多指输入的情况下,接收针对所述电子设备的指纹识别区域的第三输入;The receiving module is further configured to receive a third input for the fingerprint identification area of the electronic device when the first input includes a multi-finger input; 所述执行模块,还用于响应所述接收模块接收到的所述第三输入,若所述第三输入对应目标指纹与所述预设指纹匹配,则响应所述接收模块接收到的所述第二输入,执行所述第二输入对应的功能。The executing module is further configured to respond to the third input received by the receiving module, and if the target fingerprint corresponding to the third input matches the preset fingerprint, then respond to the third input received by the receiving module. The second input executes the function corresponding to the second input. 11.根据权利要求7至10任一项所述的电子设备,其特征在于,所述目标区域设置有所述第一虚拟按键,所述多指输入包括:针对所述第一虚拟按键的触控输入。11. The electronic device according to any one of claims 7 to 10, wherein the target area is provided with the first virtual key, and the multi-finger input comprises: touching the first virtual key. control input. 12.根据权利要求11所述的电子设备,其特征在于,所述第一虚拟按键包括至少两个第二虚拟按键;所述至少两个第二虚拟按键包括目标虚拟按键;其中,所述第二输入为:用户重新触控所述目标虚拟按键的输入;所述第二输入对应的功能为:所述目标虚拟按键对应的功能。12. The electronic device according to claim 11, wherein the first virtual key comprises at least two second virtual keys; the at least two second virtual keys comprise a target virtual key; wherein the first virtual key The second input is: the user retouches the input of the target virtual key; the function corresponding to the second input is: the function corresponding to the target virtual key. 13.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的响应方法的步骤。13. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the right The steps of the response method of any one of claims 1 to 6.
CN201911054211.2A 2019-10-31 2019-10-31 Response method and electronic equipment Pending CN110851810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911054211.2A CN110851810A (en) 2019-10-31 2019-10-31 Response method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911054211.2A CN110851810A (en) 2019-10-31 2019-10-31 Response method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110851810A true CN110851810A (en) 2020-02-28

Family

ID=69598345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911054211.2A Pending CN110851810A (en) 2019-10-31 2019-10-31 Response method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110851810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050834A (en) * 2021-03-26 2021-06-29 联想(北京)有限公司 Information processing method and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049901A (en) * 2014-07-03 2014-09-17 南昌欧菲生物识别技术有限公司 Mobile terminal and touch button operating method of mobile terminal
CN104808944A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Touch operation induction method and device
CN105138148A (en) * 2015-08-28 2015-12-09 黄俊锋 Wearable gesture input device and input method
US20150356286A1 (en) * 2013-12-12 2015-12-10 International Business Machines Corporation Continuous monitoring of fingerprint signature on a mobile touchscreen for identity management
CN105824559A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Unintended activation recognizing and treating method and electronic equipment
CN106411310A (en) * 2016-10-31 2017-02-15 青岛海尔科技有限公司 Touch button and response method and system thereof
CN106484303A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of method preventing maloperation and electronic equipment
CN107748648A (en) * 2017-10-27 2018-03-02 维沃移动通信有限公司 Prevent the method and terminal device of fingerprint sensor false triggering
CN109189514A (en) * 2018-07-16 2019-01-11 维沃移动通信有限公司 A kind of control method and terminal device of terminal device
CN109799924A (en) * 2018-12-25 2019-05-24 努比亚技术有限公司 False-touch prevention control method and device, mobile terminal, computer readable storage medium
CN110147174A (en) * 2019-04-18 2019-08-20 东莞市步步高通信软件有限公司 A kind of control method and terminal device
CN110175445A (en) * 2019-05-28 2019-08-27 Oppo广东移动通信有限公司 Fingerprint authentication method, device, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150356286A1 (en) * 2013-12-12 2015-12-10 International Business Machines Corporation Continuous monitoring of fingerprint signature on a mobile touchscreen for identity management
CN104049901A (en) * 2014-07-03 2014-09-17 南昌欧菲生物识别技术有限公司 Mobile terminal and touch button operating method of mobile terminal
CN104808944A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Touch operation induction method and device
CN105138148A (en) * 2015-08-28 2015-12-09 黄俊锋 Wearable gesture input device and input method
CN105824559A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Unintended activation recognizing and treating method and electronic equipment
CN106411310A (en) * 2016-10-31 2017-02-15 青岛海尔科技有限公司 Touch button and response method and system thereof
CN106484303A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of method preventing maloperation and electronic equipment
CN107748648A (en) * 2017-10-27 2018-03-02 维沃移动通信有限公司 Prevent the method and terminal device of fingerprint sensor false triggering
CN109189514A (en) * 2018-07-16 2019-01-11 维沃移动通信有限公司 A kind of control method and terminal device of terminal device
CN109799924A (en) * 2018-12-25 2019-05-24 努比亚技术有限公司 False-touch prevention control method and device, mobile terminal, computer readable storage medium
CN110147174A (en) * 2019-04-18 2019-08-20 东莞市步步高通信软件有限公司 A kind of control method and terminal device
CN110175445A (en) * 2019-05-28 2019-08-27 Oppo广东移动通信有限公司 Fingerprint authentication method, device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RUGGERO DONIDA LABATI等: "《A neural-based minutiae pair identification method for touch-less fingerprint images》", 《2011 IEEE WORKSHOP ON COMPUTATIONAL INTELLIGENCE IN BIOMETRICS AND IDENTITY MANAGEMENT (CIBIM)》 *
安琪: "《玩转华硕多指触控板》", 《脑知识与技术(经验技巧)》 *
小鱼儿211: "《Android多点触控详解》", 《HTTPS://BLOG.CSDN.NET/L707941510/ARTICLE/DETAILS/81300333》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050834A (en) * 2021-03-26 2021-06-29 联想(北京)有限公司 Information processing method and electronic equipment
CN113050834B (en) * 2021-03-26 2023-07-21 联想(北京)有限公司 Information processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108762634B (en) Control method and terminal
CN109857306B (en) Screen capturing method and terminal equipment
CN108459797A (en) A kind of control method and mobile terminal of Folding screen
CN110737374A (en) Operation method and electronic equipment
CN110874147A (en) A display method and electronic device
CN107728923B (en) An operation processing method and mobile terminal
CN111339515A (en) A kind of application program startup method and electronic device
CN109521933A (en) A kind of display control method and mobile terminal
CN109828732A (en) A kind of display control method and terminal device
WO2020173235A1 (en) Task switching method and terminal device
CN110069178A (en) Interface control method and terminal device
CN109857495A (en) A kind of display control method and terminal device
CN108762606B (en) Screen unlocking method and terminal equipment
CN108319386A (en) A kind of display screen false-touch prevention method and mobile terminal
WO2020078234A1 (en) Display control method and terminal
CN110752981A (en) Information control method and electronic equipment
CN108733282A (en) A kind of page moving method and terminal device
CN110531915A (en) Screen operation method and terminal equipment
CN110381203A (en) A kind of method of controlling operation thereof and terminal of terminal
CN110221799A (en) A kind of control method, terminal and computer readable storage medium
CN110049486A (en) A SIM card selection method and terminal device
CN108984099B (en) Man-machine interaction method and terminal
CN111246105A (en) Shooting method and electronic device
CN110703972A (en) A file control method and electronic device
CN110866465A (en) Electronic device control method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200228

RJ01 Rejection of invention patent application after publication