[go: up one dir, main page]

CN107016271B - Data processing method and related equipment - Google Patents

Data processing method and related equipment Download PDF

Info

Publication number
CN107016271B
CN107016271B CN201710134757.3A CN201710134757A CN107016271B CN 107016271 B CN107016271 B CN 107016271B CN 201710134757 A CN201710134757 A CN 201710134757A CN 107016271 B CN107016271 B CN 107016271B
Authority
CN
China
Prior art keywords
fingerprint
touch
data
fingerprint image
sensor
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.)
Expired - Fee Related
Application number
CN201710134757.3A
Other languages
Chinese (zh)
Other versions
CN107016271A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710134757.3A priority Critical patent/CN107016271B/en
Publication of CN107016271A publication Critical patent/CN107016271A/en
Application granted granted Critical
Publication of CN107016271B publication Critical patent/CN107016271B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Collating Specific Patterns (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种数据处理方法,应用于包括指纹识别区域和置于触摸屏下的触摸传感器的终端设备,包括:当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集指纹图像;当所述指纹图像不正确时,获取所述触摸传感器检测到的触摸数据;当所述传感数据符合触摸操作判断条件时,维持当前错误识别的次数。本发明实施例还提供了相关设备。采用本发明实施例可避免非用户手指触碰指纹识别区域而导致用户无法使用指纹解锁功能的问题。

Figure 201710134757

The invention discloses a data processing method, which is applied to a terminal device including a fingerprint identification area and a touch sensor placed under a touch screen. Fingerprint image; when the fingerprint image is incorrect, acquire the touch data detected by the touch sensor; when the sensor data meets the touch operation judgment condition, maintain the current number of incorrect identifications. The embodiments of the present invention also provide related equipment. By adopting the embodiments of the present invention, the problem that the user cannot use the fingerprint unlocking function due to the non-user's finger touching the fingerprint identification area can be avoided.

Figure 201710134757

Description

一种数据处理方法及相关设备A data processing method and related equipment

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种数据处理方法及相关设备。The present invention relates to the field of electronic technology, and in particular, to a data processing method and related equipment.

背景技术Background technique

目前,支持指纹解锁的智能手机,处于安全考虑一般都会设定最大错误允许次数,比如指纹验证错误5次后在一段时间内锁定指纹解锁功能,在这段时间内用户不得使用指纹解锁功能。At present, smartphones that support fingerprint unlocking generally set the maximum allowable number of errors for security reasons. For example, after 5 fingerprint verification errors, the fingerprint unlocking function will be locked for a period of time. During this period, the user cannot use the fingerprint unlocking function.

当智能手机置于衣服口袋中时,由于人们习惯性的将手置于衣服口袋中,该种情况下用户手部很容易连续触碰到智能手机的指纹识别区域,使得智能手机连续将用户手部皮肤识别成错误手指,导致智能手机锁定指纹解锁功能。假如此时用户正拿出智能手机准备使用,由于智能手机的指纹解锁功能是锁定状态,用户是无法使用指纹解锁功能的。When the smartphone is placed in the pocket, because people habitually put their hands in the pocket, the user's hand is easy to continuously touch the fingerprint recognition area of the smartphone, so that the smartphone can continuously touch the user's hand with the user's hand. The external skin is recognized as a wrong finger, which causes the smartphone to lock the fingerprint unlock function. If the user is taking out the smartphone for use at this time, since the fingerprint unlocking function of the smartphone is in a locked state, the user cannot use the fingerprint unlocking function.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种数据处理方法及装置,用于避免非用户手指触碰指纹识别区域而导致用户无法使用指纹解锁功能的问题。Embodiments of the present invention provide a data processing method and device, which are used to avoid the problem that the user cannot use the fingerprint unlocking function due to the non-user's finger touching the fingerprint recognition area.

第一方面,本发明实施例提供一种数据处理方法,应用于包括指纹识别区域和置于触摸屏下的触摸传感器的终端设备,所述数据处理方法包括:In a first aspect, an embodiment of the present invention provides a data processing method, which is applied to a terminal device including a fingerprint recognition area and a touch sensor placed under a touch screen. The data processing method includes:

当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集指纹图像;When a touch operation in the fingerprint identification area is detected, a fingerprint image is collected through the fingerprint identification area;

当所述指纹图像不正确时,获取所述触摸传感器检测到的触摸数据;When the fingerprint image is incorrect, acquiring touch data detected by the touch sensor;

当所述传感数据符合触摸操作判断条件时,维持当前错误识别的次数。When the sensing data meets the touch operation judgment condition, the current number of false identifications is maintained.

第二方面,本发明实施例提供一种数据处理装置,应用于包括指纹识别区域和置于触摸屏下的触摸传感器的终端设备,所述装置包括:In a second aspect, an embodiment of the present invention provides a data processing apparatus, which is applied to a terminal device including a fingerprint identification area and a touch sensor placed under a touch screen, the apparatus including:

处理模块,用于当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集指纹图像;当所述指纹图像不正确时,获取所述触摸传感器检测到的触摸数据;当所述传感数据符合触摸操作判断条件时,维持当前错误识别的次数。a processing module, configured to collect a fingerprint image through the fingerprint identification area when detecting a touch operation in the fingerprint identification area; acquire touch data detected by the touch sensor when the fingerprint image is incorrect; When the sensing data meets the touch operation judgment condition, the current number of false identifications is maintained.

第三方面,本发明实施例提供了一种计算机设备,包括:In a third aspect, an embodiment of the present invention provides a computer device, including:

存储有可执行程序代码的存储器;a memory in which executable program code is stored;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面中所描述的部分或全部步骤,所述计算机设备包括终端设备。The processor invokes the executable program code stored in the memory to execute part or all of the steps described in the first aspect of the embodiment of the present invention, and the computer device includes a terminal device.

第四方面,本发明提供一种计算机存储介质,用于储存为本发明实施例第三方面提供的计算机设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, the present invention provides a computer storage medium for storing computer software instructions used for the computer device provided in the third aspect of the embodiments of the present invention, which includes a program designed to execute the above aspect.

本发明实施例提供的方案中,当指纹识别区域采集到的指纹图像不正确,且置于触摸屏下的触摸传感器检测到的触摸数据符合触摸操作判断条件时,该种情况维持当前的错误识别的次数,进而可避免非用户手指触碰指纹识别区域而导致用户无法使用指纹解锁功能的问题。In the solution provided by the embodiment of the present invention, when the fingerprint image collected in the fingerprint recognition area is incorrect, and the touch data detected by the touch sensor placed under the touch screen meets the touch operation judgment condition, the current error recognition status is maintained in this situation. The number of times, thereby avoiding the problem that the user cannot use the fingerprint unlocking function due to the non-user's finger touching the fingerprint recognition area.

本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the invention will be more clearly understood from the description of the following embodiments.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1是本发明实施例提供的一种数据处理方法的流程示意图;1 is a schematic flowchart of a data processing method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种指纹识别区域的示意图;2 is a schematic diagram of a fingerprint identification area provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种指纹识别区域的示意图;3 is a schematic diagram of another fingerprint identification area provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种指纹识别区域的示意图;4 is a schematic diagram of another fingerprint identification area provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种指纹识别区域的示意图;5 is a schematic diagram of another fingerprint identification area provided by an embodiment of the present invention;

图6是本发明实施例提供的一种触摸屏的示意图;6 is a schematic diagram of a touch screen provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种触摸屏的示意图;7 is a schematic diagram of another touch screen provided by an embodiment of the present invention;

图8是本发明实施例提供的一种正常指纹解锁的示意图;8 is a schematic diagram of a normal fingerprint unlocking provided by an embodiment of the present invention;

图9是本发明实施例提供的一种非正常指纹解锁的示意图;9 is a schematic diagram of an abnormal fingerprint unlocking provided by an embodiment of the present invention;

图10是本发明实施例提供的一种数据处理装置的结构示意图;10 is a schematic structural diagram of a data processing apparatus provided by an embodiment of the present invention;

图11是本发明实施例提供的一种计算机设备的结构示意图;11 is a schematic structural diagram of a computer device provided by an embodiment of the present invention;

图12是本发明实施例提供的一种终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, 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 only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

以下分别进行详细说明。Each of them will be described in detail below.

本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the accompanying drawings are used to distinguish different objects, rather than to describe a specific order. . Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

下面结合本发明实施例中的附图对本发明实施例进行描述。The embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.

请参见图1,图1为本发明实施例提供的一种数据处理方法的流程示意图,该数据处理方法应用于包括指纹识别区域和置于触摸屏下的触摸传感器的终端设备,包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present invention. The data processing method is applied to a terminal device including a fingerprint recognition area and a touch sensor placed under a touch screen, and includes the following steps:

S101、当检测到所述指纹识别区域的触摸操作时,终端设备通过所述指纹识别区域采集指纹图像。S101. When a touch operation in the fingerprint identification area is detected, a terminal device collects a fingerprint image through the fingerprint identification area.

其中,终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internetdevice,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。A terminal device, also called user equipment (UE), is a device that provides voice and/or data connectivity to a user, such as a handheld device with a wireless connection function, a vehicle-mounted device, and the like. Common terminals include, for example, mobile phones, tablet computers, notebook computers, handheld computers, mobile internet devices (mobile internet devices, MIDs), wearable devices, such as smart watches, smart bracelets, and pedometers.

在一实施例中,上述指纹识别区域的具体形式可以是集成有指纹识别模组的Home键,如图2所示,图2是本发明实施例提供的一种指纹识别区域与终端设备的Home键结合的示意图。In one embodiment, the specific form of the above-mentioned fingerprint identification area may be a Home key integrated with a fingerprint identification module, as shown in FIG. 2 , which is a fingerprint identification area provided by an embodiment of the present invention and the Home key of the terminal device Schematic diagram of bonding.

在另一个实施例中,上述指纹识别区域的具体形式可以是集成有指纹识别模组的指纹采集区域,该指纹采集区域可以置于终端设备的背面,如图3所示,图3是本发明实施例提供的指纹识别区域置于终端设备的背面的示意图。其中,图3仅仅是指纹采集区域置于终端设备的背面的一个示例,对于指纹采集区域置于终端设备的背面的具体位置和指纹采集区域的大小本发明不作限定。该指纹采集区域可以置于终端设备的侧边框,如图4所示,图4是本发明实施例提供的指纹识别区域置于终端设备的侧边框的示意图。其中,图4仅仅是指纹采集区域置于终端设备的侧边框的一个示例,对于指纹采集区域置于终端设备的侧边框的具体位置和指纹采集区域的大小本发明不作限定。In another embodiment, the specific form of the above-mentioned fingerprint identification area may be a fingerprint collection area integrated with a fingerprint identification module, and the fingerprint collection area may be placed on the back of the terminal device, as shown in FIG. 3 , which shows the present invention A schematic diagram of the fingerprint identification area provided in the embodiment is placed on the back of the terminal device. 3 is only an example where the fingerprint collection area is placed on the back of the terminal device, and the present invention does not limit the specific position of the fingerprint collection area on the back of the terminal device and the size of the fingerprint collection area. The fingerprint collection area may be placed on the side frame of the terminal device, as shown in FIG. 4 . FIG. 4 is a schematic diagram of the fingerprint identification area provided on the side frame of the terminal device provided by an embodiment of the present invention. 4 is only an example where the fingerprint collection area is placed on the side frame of the terminal device, and the specific position of the fingerprint collection area on the side frame of the terminal device and the size of the fingerprint collection area are not limited in the present invention.

在另一实施例中,上述指纹识别区域的具体形式可以是终端设备的触控屏幕的某个指定区域,如图5所示,图5是本发明实施例提供的指纹识别区域与终端设备的触控屏幕结合的示意图,在该指定区域的下方设置有指纹识别模组。其中,如图5仅仅是指纹识别区域置于终端设备的触控屏幕的一个示例,对于指纹识别区域置于终端设备的触控屏幕的具体位置和指纹采集区域的大小本发明不作限定。In another embodiment, the specific form of the above-mentioned fingerprint identification area may be a certain designated area of the touch screen of the terminal device, as shown in FIG. A schematic diagram of the combination of touch screens, a fingerprint identification module is arranged below the designated area. 5 is only an example where the fingerprint identification area is placed on the touch screen of the terminal device, and the present invention does not limit the specific position of the fingerprint identification area placed on the touch screen of the terminal device and the size of the fingerprint collection area.

其中,指纹识别模组,是要通过特定的感应模组实现对于个体指纹特征的识别。目前,指纹识别模块主要分为光学式指纹模块、电容式指纹模块以及射频式指纹模块。Among them, the fingerprint identification module is to realize the identification of individual fingerprint characteristics through a specific sensing module. At present, fingerprint identification modules are mainly divided into optical fingerprint modules, capacitive fingerprint modules and radio frequency fingerprint modules.

在一实施例中,所述触摸屏置于所述指纹识别区域附近。In one embodiment, the touch screen is placed near the fingerprint recognition area.

在一实施例中,上述触摸屏可以是设置于终端设备前端的触摸显示装置,或者,上述触摸屏是设置于终端设备前端的触摸显示装置的某个区域,例如,假设上述指纹识别区域是集成有指纹识别模组的Home键,那么触摸显示装置的某个区域可以是Home键左上方的一个区域,或者是Home键右上方的一个区域;又假如上述指纹识别区域是图3所示的情况,那么指纹识别区域水平投影落入触摸显示装置的某个区域等等。In an embodiment, the above-mentioned touch screen may be a touch display device disposed at the front end of the terminal device, or the above-mentioned touch screen is a certain area of the touch display device disposed at the front end of the terminal device. For example, it is assumed that the above-mentioned fingerprint recognition area is integrated with fingerprints. Identify the Home button of the module, then a certain area of the touch display device can be an area on the upper left of the Home button, or an area on the upper right of the Home button; and if the above fingerprint recognition area is the situation shown in Figure 3, then The horizontal projection of the fingerprint recognition area falls into a certain area of the touch display device and so on.

在一实施例中,上述触摸屏也可以是设置在指纹识别区域附近的小触摸面板。假设上述指纹识别区域是集成有指纹识别模组的Home键,那么置于所述指纹识别区域附近的小触摸面板如图6所示,图6是本发明实施例提供的一种触摸屏的示意图。又假如,上述指纹识别区域图3所示,那么置于所述指纹识别区域附近的小触摸面板如图7所示,图7是本发明实施例提供的另一种触摸屏的示意图。In an embodiment, the above-mentioned touch screen may also be a small touch panel disposed near the fingerprint recognition area. Assuming that the above fingerprint identification area is a Home key integrated with a fingerprint identification module, a small touch panel placed near the fingerprint identification area is shown in FIG. 6 , which is a schematic diagram of a touch screen provided by an embodiment of the present invention. If the above fingerprint recognition area is shown in FIG. 3 , then a small touch panel placed near the fingerprint recognition area is shown in FIG. 7 , which is a schematic diagram of another touch screen provided by an embodiment of the present invention.

需要说明的是,图6和图7所示的仅仅是一个示例,对于上述小触摸面板与指纹识别区域的位置关系以及小触摸面板的大小本发明不作限定。It should be noted that, what is shown in FIG. 6 and FIG. 7 is only an example, and the present invention does not limit the positional relationship between the small touch panel and the fingerprint recognition area and the size of the small touch panel.

在一实施例中,以上步骤S101终端设备通过所述指纹识别区域采集指纹图像的具体实施方式有:终端设备的指纹识别模组的感应电极获取正常底层数据集合和异常底层数据集合,所述正常底层数据集合包含多个正常底层数据值,所述异常底层数据集合包含多个异常底层数据值;终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合;终端设备根据所述正常底层数据集合和所述目标底层数据集合生成指纹图像。In an embodiment, the specific implementation of the above step S101 that the terminal device collects the fingerprint image through the fingerprint identification area is as follows: the sensing electrode of the fingerprint identification module of the terminal device obtains the normal underlying data set and the abnormal underlying data set, the normal underlying data set. The underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data set includes multiple abnormal underlying data values; the terminal device determines a target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set; the terminal device A fingerprint image is generated according to the normal underlying data set and the target underlying data set.

进一步地,上述示例过程中,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Further, in the above example process, an example implementation process for the terminal device to determine the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:

终端设备根据所述正常底层数据集合中包含的多个正常底层数据值,确定平均值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述平均值,以得到所述目标底层数据集合。The terminal device determines the average value according to the multiple normal underlying data values contained in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data contained in the abnormal underlying data set with the average value to obtain The target underlying data set.

或者,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Alternatively, an example implementation process for the terminal device to determine the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:

终端设备从所述正常底层数据集合中包含的多个正常底层数据值中获取数据值最小的正常底层数据值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述数据值最小的正常底层数据值,以得到所述目标底层数据集合。The terminal device obtains the normal underlying data value with the smallest data value from the plurality of normal underlying data values contained in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data contained in the abnormal underlying data set with the The normal underlying data value with the smallest data value is obtained to obtain the target underlying data set.

或者,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Alternatively, an example implementation process for the terminal device to determine the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:

终端设备从所述正常底层数据集合中包含的多个正常底层数据值中获取任意一个正常底层数据值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述任意一个正常底层数据值,以得到所述目标底层数据集合。The terminal device obtains any one of the normal underlying data values from the multiple normal underlying data values contained in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data contained in the abnormal underlying data set with the arbitrary underlying data values. A normal underlying data value to get the target underlying data set.

其中,上述底层数据值可以包括电容和/或电压等。指纹识别模组的感应电极可以由指纹识别模组的微控制单元MCU进行检测。指纹识别模组的感应电极包括多个正常感应电极和多个异常感应电极,其中,异常感应电极是出现异常的感应电极。通过多个正常感应电极获取正常底层数据集合,通过多个异常感应电极获取异常底层数据集合。Wherein, the above-mentioned underlying data value may include capacitance and/or voltage, and the like. The sensing electrodes of the fingerprint identification module can be detected by the micro-control unit MCU of the fingerprint identification module. The sensing electrodes of the fingerprint identification module include a plurality of normal sensing electrodes and a plurality of abnormal sensing electrodes, wherein the abnormal sensing electrodes are sensing electrodes with abnormality. The normal underlying data set is acquired through multiple normal sensing electrodes, and the abnormal underlying data set is acquired through multiple abnormal sensing electrodes.

S102、当所述指纹图像不正确时,所述终端设备获取所述触摸传感器检测到的触摸数据。S102. When the fingerprint image is incorrect, the terminal device acquires touch data detected by the touch sensor.

在一实施例中,图1所述的方法还包括:In one embodiment, the method described in FIG. 1 further includes:

终端设备将所述指纹图像与预存的M个指纹模板进行对比匹配,所述M为正整数;若所述指纹图像与预存的多个指纹模板中的其中一个指纹模板相匹配,则表示所述指纹图像正确,若所述指纹图像未与预存的多个指纹模板中的任意一个指纹模板相匹配时,表示所述指纹图像不正确。The terminal device compares and matches the fingerprint image with the pre-stored M fingerprint templates, where M is a positive integer; if the fingerprint image matches one of the pre-stored multiple fingerprint templates, it means that the The fingerprint image is correct. If the fingerprint image does not match any one of the multiple pre-stored fingerprint templates, it means that the fingerprint image is incorrect.

进一步地,所述M个指纹模板是预存的N个指纹模板中的匹配优先级最高的M个指纹模板,所述N大于所述M。Further, the M fingerprint templates are the M fingerprint templates with the highest matching priority among the pre-stored N fingerprint templates, and the N is greater than the M.

进一步地,指纹模板的匹配优先级可以是用户自定义的;或者是终端设备基于指纹模板的使用参数(如某一段时间内被匹配成功次数,某一段时间内被匹配次数)确定的,比如,指纹模板的匹配优先级是基于某一段时间内被匹配成功的次数确定的,指纹模板在某一段时间内被匹配成功的次数越高,该指纹模板的匹配优先级越高。Further, the matching priority of the fingerprint template may be user-defined; or determined by the terminal device based on the usage parameters of the fingerprint template (such as the number of successful matches within a certain period of time, the number of times of matching within a certain period of time), for example, The matching priority of the fingerprint template is determined based on the number of times the fingerprint template is successfully matched within a certain period of time. The higher the number of times the fingerprint template is successfully matched within a certain period of time, the higher the matching priority of the fingerprint template.

其中,触摸传感器包括单触型传感器和划擦型传感器。触摸传感器是基于电容感应的原理制作的触摸开关模块。人体或金属触碰传感器的镀金接触面会被感应到。除了与金属面的直接触摸,隔着一定厚度的塑料、玻璃等材料的接触也可以被感应到,感应灵敏度随接触面的大小和覆盖材料的厚度有关。Among them, the touch sensor includes a one-touch sensor and a scratch sensor. The touch sensor is a touch switch module based on the principle of capacitive sensing. The gold-plated contact surface of the human or metal touch sensor is sensed. In addition to the direct touch with the metal surface, the contact through a certain thickness of plastic, glass and other materials can also be sensed, and the sensing sensitivity is related to the size of the contact surface and the thickness of the covering material.

在一实施例中,所述触摸数据是所述触摸传感器在所述指纹识别区域采集所述指纹图像时检测到的;或者,所述触摸数据是所述触摸传感器在所述终端设备确定所述指纹图像不正确后检测到的。In an embodiment, the touch data is detected when the touch sensor collects the fingerprint image in the fingerprint recognition area; Detected after the fingerprint image is incorrect.

在另一实施例中,所述触摸数据也可以是在其他时间段所述触摸传感器检测到的,比如,所述触摸数据是所述触摸传感器在终端设备在识别所述指纹图像是否正确的过程中检测到的,或者,所述触摸数据是所述触摸传感器在所述指纹识别区域采集所述指纹图像的过程中检测到的,等等。In another embodiment, the touch data may also be detected by the touch sensor in other time periods. For example, the touch data is a process in which the touch sensor recognizes whether the fingerprint image is correct in the terminal device. or, the touch data is detected by the touch sensor in the process of collecting the fingerprint image in the fingerprint recognition area, and so on.

在一实施例中,所述触摸传感器的数量为N,所述触摸数据是所述触摸屏的指定区域下的M个触摸传感器检测到的,所述N大于所述M,所述N和所述M均为大于1的整数。In an embodiment, the number of the touch sensors is N, the touch data is detected by M touch sensors under a designated area of the touch screen, the N is greater than the M, and the N and the M is an integer greater than 1.

假如上述触摸屏为设置于终端设备前端的触摸显示装置,上述指定区域在触摸显示装置的具体位置例如可以是在触摸显示装置的左下方、右下方、右上方、右下方等等,本发明不作限定。If the above-mentioned touch screen is a touch display device arranged at the front end of the terminal device, the specific position of the above-mentioned designated area on the touch display device may be, for example, the lower left, lower right, upper right, lower right of the touch display device, etc., which is not limited in the present invention. .

S103、当所述传感数据符合触摸操作判断条件时,所述终端设备维持当前错误识别的次数。S103. When the sensing data meets the touch operation judgment condition, the terminal device maintains the current number of misidentifications.

具体地,假设当前错误识别次数为3次,执行完步骤S103后,错误识别次数仍然还是3次。其中,错误识别次数指的是终端设备识别到指纹识别区域采集到的指纹图像为错误指纹图像的次数。Specifically, assuming that the current number of misidentifications is 3, after step S103 is performed, the number of misidentifications is still 3. The number of incorrect identifications refers to the number of times that the terminal device recognizes that the fingerprint image collected in the fingerprint identification area is an incorrect fingerprint image.

当触摸屏未被触摸时,置于触摸屏底下的传感传感器获取到的传感器数据为零,此时不符合触摸操作判断条件。当触摸屏被触摸时,置于触摸屏底下的传感传感器获取到的传感器数据不为零,此时符合触摸操作判断条件。When the touch screen is not touched, the sensor data obtained by the sensor sensor placed under the touch screen is zero, and the touch operation judgment condition is not met at this time. When the touch screen is touched, the sensor data obtained by the sensor sensor placed under the touch screen is not zero, and the touch operation judgment condition is met at this time.

在一实施例中,图1所述的方法还包括:In one embodiment, the method described in FIG. 1 further includes:

当所述传感数据不符合触摸操作判断条件时,更新错误识别的次数,更新后的错误识别的次数等于所述当前错误识别的次数加1。When the sensing data does not meet the touch operation judgment condition, the number of incorrect identifications is updated, and the updated number of incorrect identifications is equal to the current number of incorrect identifications plus 1.

具体地,正常情况下,用户若要想进行指纹解锁操作时,由于目的比较明确,用户会将解锁手指明确的放在指纹识别区域上,如图8所示。该种情况下,终端设备的触摸屏通常是不会检测到触摸操作的。但是,如果用户手拿终端设备用户的手部不小心触碰到指纹识别区域,如图9所示,该种情况下,很大的可能是在用户的手部在触碰到指纹识别区域的同时也触碰到了触摸屏,该种情况下,为了避免非用户手指触碰指纹识别区域而导致用户无法使用指纹解锁功能的问题,终端设备需要判断此时触摸传感器获取到的所述传感数据是否符合触摸操作判断条件,若是,则有很大的可能是非用户手指触碰指纹识别区域的情况,该种情况终端设备不对错误识别次数进行更新,只需维持当前错误识别次数即可,进而提升了用户体验。Specifically, under normal circumstances, if the user wants to perform the fingerprint unlocking operation, the user will place the unlocking finger on the fingerprint recognition area, as shown in FIG. 8 , because the purpose is relatively clear. In this case, the touch screen of the terminal device usually does not detect the touch operation. However, if the user holds the terminal device and the user's hand accidentally touches the fingerprint recognition area, as shown in Figure 9, in this case, it is very likely that the user's hand touches the fingerprint recognition area. At the same time, the touch screen is also touched. In this case, in order to avoid the problem that the user cannot use the fingerprint unlocking function due to the non-user's finger touching the fingerprint recognition area, the terminal device needs to determine whether the sensing data obtained by the touch sensor at this time is not. The touch operation judgment condition is met. If so, there is a high possibility that a non-user's finger touches the fingerprint recognition area. In this case, the terminal device does not update the number of false recognitions, and only needs to maintain the current number of false recognitions, thereby improving the user experience.

本发明实施例还提供了一种数据处理装置1000,如图10所示,应用于包括指纹识别区域和置于触摸屏下的触摸传感器的终端设备,所述装置包括:An embodiment of the present invention further provides a data processing apparatus 1000, as shown in FIG. 10, applied to a terminal device including a fingerprint identification area and a touch sensor placed under a touch screen, the apparatus includes:

处理模块1001,用于当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集指纹图像;当所述指纹图像不正确时,获取所述触摸传感器检测到的触摸数据;当所述传感数据符合触摸操作判断条件时,维持当前错误识别的次数。The processing module 1001 is configured to collect a fingerprint image through the fingerprint recognition area when a touch operation in the fingerprint recognition area is detected; when the fingerprint image is incorrect, acquire touch data detected by the touch sensor; When the sensing data meets the touch operation judgment condition, the current number of false identifications is maintained.

在一实施例中,所述触摸数据是所述触摸传感器在所述指纹识别区域采集所述指纹图像时检测到的;或者,所述触摸数据是所述触摸传感器在所述终端设备确定所述指纹图像不正确后检测到的。In an embodiment, the touch data is detected when the touch sensor collects the fingerprint image in the fingerprint recognition area; Detected after the fingerprint image is incorrect.

在一实施例中,所述触摸传感器的数量为N,所述触摸数据是所述触摸屏的指定区域下的M个触摸传感器检测到的,所述N大于所述M,所述N和所述M均为大于1的整数。In an embodiment, the number of the touch sensors is N, the touch data is detected by M touch sensors under a designated area of the touch screen, the N is greater than the M, and the N and the M is an integer greater than 1.

在一实施例中,所述触摸屏置于所述指纹识别区域附近。In one embodiment, the touch screen is placed near the fingerprint recognition area.

在一实施例中,所述处理模块1001还用于:当所述传感数据不符合触摸操作判断条件时,更新错误识别的次数,更新后的错误识别的次数等于所述当前错误识别的次数加1。In one embodiment, the processing module 1001 is further configured to: update the number of misrecognitions when the sensing data does not meet the touch operation judgment condition, and the updated number of misrecognitions is equal to the current number of misrecognitions plus 1.

需要说明的是,上述各模块(处理模块1001)用于执行上述方法的相关步骤。比如处理模块1001用于执行以上步骤S101-S103,等等。It should be noted that each of the above modules (processing module 1001 ) is used to execute the relevant steps of the above method. For example, the processing module 1001 is configured to execute the above steps S101-S103, and so on.

在本实施例中,数据处理装置1100是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上处理模块1001可通过图11所示的计算机设备的处理器1101来实现。In this embodiment, the data processing apparatus 1100 is presented in the form of a module. "Module" herein may refer to an application-specific integrated circuit (ASIC), a processor and memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the above-described functions . In addition, the above processing module 1001 may be implemented by the processor 1101 of the computer device shown in FIG. 11 .

如图11所示,计算机设备1100可以以图11中的结构来实现,该计算机设备包括终端设备,该计算机设备1100包括至少一个处理器1101,至少一个存储器1102以及至少一个通信接口1103。所述处理器1101通过总线所述存储器1102和所述通信接口1103通过所述通信总线连接并完成相互间的通信。As shown in FIG. 11 , the computer device 1100 can be implemented with the structure in FIG. 11 , the computer device includes a terminal device, and the computer device 1100 includes at least one processor 1101 , at least one memory 1102 and at least one communication interface 1103 . The processor 1101 is connected to the memory 1102 and the communication interface 1103 through the bus and communicates with each other through the communication bus.

处理器1101可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。The processor 1101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in the above solutions.

通信接口1103,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。The communication interface 1103 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (Wireless Local Area Networks, WLAN).

存储器1102可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。Memory 1102 may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of static storage device that can store information and instructions The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a CompactDisc Read-Only Memory (CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.

其中,所述存储器1102用于存储执行以上方案的应用程序代码,并由处理器1101来控制执行。所述处理器1101用于执行所述存储器1102中存储的应用程序代码。Wherein, the memory 1102 is used to store the application code for executing the above solution, and the execution is controlled by the processor 1101 . The processor 1101 is used for executing the application code stored in the memory 1102 .

存储器1102存储的代码可执行以上提供的终端设备执行的上述数据处理方法,比如当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集指纹图像;当所述指纹图像不正确时,获取所述触摸传感器检测到的触摸数据;当所述传感数据符合触摸操作判断条件时,维持当前错误识别的次数。The code stored in the memory 1102 can execute the above-mentioned data processing method performed by the terminal device provided above. For example, when a touch operation in the fingerprint identification area is detected, a fingerprint image is collected through the fingerprint identification area; when the fingerprint image is incorrect When the touch sensor is detected, the touch data detected by the touch sensor is acquired; when the sensor data meets the touch operation judgment condition, the current number of false identifications is maintained.

图12示出的是与本发明实施例提供的终端设备相关的手机的部分结构的框图。参考图12,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图12中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 12 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided by an embodiment of the present invention. Referring to FIG. 12 , the mobile phone includes: a radio frequency (RF) circuit 910 , a memory 920 , an input unit 930 , a display unit 940 , a sensor 950 , an audio circuit 960 , a Wireless Fidelity (WiFi) module 970 , and a processor 980 , and power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 12 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图12对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone with reference to Figure 12:

RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 910 may be used for the reception and transmission of information. Typically, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据(如触摸传感器检测到的触摸数据、错误识别的次数等等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data (such as touch sensors) created according to the use of the mobile phone. detected touch data, number of misidentifications, etc.), etc. Additionally, memory 920 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.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹识别模组931以及其他输入设备932。指纹识别模组931,可采集用户在其上的指纹数据。除了指纹识别模组931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于触控屏、物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 may be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932 . The fingerprint identification module 931 can collect the fingerprint data of the user on it. Besides the fingerprint recognition module 931 , the input unit 930 may also include other input devices 932 . Specifically, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。虽然在图5中,指纹识别模组931与显示屏941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹识别模组931与显示屏941集成而实现手机的输入和播放功能。The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941. Optionally, the display screen 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 5 , the fingerprint recognition module 931 and the display screen 941 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the fingerprint recognition module 931 and the display screen 941 can be combined Integrated to realize the input and playback functions of the mobile phone.

手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 941 and/or when the mobile phone 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 it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can convert the received audio data into an electrical signal, and transmit it to the speaker 961, and the speaker 961 converts it into a sound signal for playback; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 960 After receiving, the audio data is converted into audio data, and then processed by the audio data playback processor 980, and sent to, for example, another mobile phone through the RF circuit 910, or the audio data is played to the memory 920 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图12示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. Although FIG. 12 shows the WiFi module 970, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

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

手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

前述图1~图9所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1 to FIG. 9 , the method flow of each step can be implemented based on the structure of the mobile phone.

前述图10所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiment shown in FIG. 10 , the functions of each unit can be implemented based on the structure of the mobile phone.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种数据处理方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any data processing method described in the above method embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable memory. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been introduced in detail above, and specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; at the same time, for Persons of ordinary skill in the art, according to the idea of the present invention, will have changes in the specific embodiments and application scope. To sum up, the content of this description should not be construed as a limitation of the present invention.

Claims (7)

1. The data processing method is characterized by being applied to terminal equipment comprising a fingerprint identification area and a touch sensor arranged below a touch screen, wherein the fingerprint identification area is arranged on the back or side frame of the terminal equipment; the data processing method comprises the following steps:
when the touch operation of the fingerprint identification area is detected, acquiring a fingerprint image through the fingerprint identification area;
comparing and matching the fingerprint image with M pre-stored fingerprint templates, wherein M is a positive integer; if the fingerprint image is matched with one of the plurality of pre-stored fingerprint templates, the fingerprint image is correct, and if the fingerprint image is not matched with any one of the plurality of pre-stored fingerprint templates, the fingerprint image is incorrect;
the M fingerprint templates are M fingerprint templates with the highest matching priority in N prestored fingerprint templates, and N is greater than M; the matching priority of the fingerprint template is determined based on the number of times of successful matching in a certain period of time, and the higher the number of times of successful matching in the certain period of time is, the higher the matching priority of the fingerprint template is;
when the fingerprint image is incorrect, acquiring touch data detected by the touch sensor; the touch data is detected by the touch sensor when the fingerprint image is acquired in the fingerprint identification area;
when the touch data meet the touch operation judgment condition, maintaining the current error identification times; when the touch screen is not touched, the sensor data acquired by the sensor arranged under the touch screen is zero, and the touch operation judgment condition is not met; when the touch screen is touched, the sensor data acquired by the sensor arranged under the touch screen is not zero, and the touch operation judgment condition is met.
2. The method of claim 1, wherein the number of touch sensors is N, wherein the touch data is detected by M touch sensors under a designated area of the touch screen, wherein N is greater than M, and wherein N and M are integers greater than 1.
3. The method of claim 1, further comprising:
and when the sensing data do not accord with the touch operation judgment condition, updating the number of times of error identification, wherein the updated number of times of error identification is equal to the number of times of current error identification plus 1.
4. The data processing device is characterized by being applied to terminal equipment comprising a fingerprint identification area and a touch sensor arranged below a touch screen, wherein the fingerprint identification area is arranged on the back or side frame of the terminal equipment; the device comprises:
the processing module is used for collecting a fingerprint image through the fingerprint identification area when the touch operation of the fingerprint identification area is detected; comparing and matching the fingerprint image with M pre-stored fingerprint templates, wherein M is a positive integer; if the fingerprint image is matched with one of the plurality of pre-stored fingerprint templates, the fingerprint image is correct, and if the fingerprint image is not matched with any one of the plurality of pre-stored fingerprint templates, the fingerprint image is incorrect; the M fingerprint templates are M fingerprint templates with the highest matching priority in N prestored fingerprint templates, and N is greater than M; the matching priority of the fingerprint template is determined based on the number of times of successful matching in a certain period of time, and the higher the number of times of successful matching in the certain period of time is, the higher the matching priority of the fingerprint template is;
when the fingerprint image is incorrect, acquiring touch data detected by the touch sensor; the touch data is detected by the touch sensor when the fingerprint image is acquired in the fingerprint identification area; when the touch data meet the touch operation judgment condition, maintaining the current error identification times; when the touch screen is not touched, the sensor data acquired by the sensor arranged under the touch screen is zero, and the touch operation judgment condition is not met; when the touch screen is touched, the sensor data acquired by the sensor arranged under the touch screen is not zero, and the touch operation judgment condition is met.
5. The apparatus of claim 4, wherein the number of touch sensors is N, wherein the touch data is detected by M touch sensors under a designated area of the touch screen, wherein N is greater than M, and wherein N and M are integers greater than 1.
6. The apparatus of claim 4, wherein the processing module is further configured to: and when the sensing data do not accord with the touch operation judgment condition, updating the number of times of error identification, wherein the updated number of times of error identification is equal to the number of times of current error identification plus 1.
7. A computer device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program codes stored in the memory to execute the data processing method according to any one of claims 1 to 3, and the computer device comprises a terminal device.
CN201710134757.3A 2017-03-08 2017-03-08 Data processing method and related equipment Expired - Fee Related CN107016271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134757.3A CN107016271B (en) 2017-03-08 2017-03-08 Data processing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134757.3A CN107016271B (en) 2017-03-08 2017-03-08 Data processing method and related equipment

Publications (2)

Publication Number Publication Date
CN107016271A CN107016271A (en) 2017-08-04
CN107016271B true CN107016271B (en) 2020-03-10

Family

ID=59440161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134757.3A Expired - Fee Related CN107016271B (en) 2017-03-08 2017-03-08 Data processing method and related equipment

Country Status (1)

Country Link
CN (1) CN107016271B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491677A (en) 2017-08-15 2017-12-19 北京小米移动软件有限公司 Fingerprint recognition processing method, device, equipment and storage medium
CN109409168A (en) * 2017-08-16 2019-03-01 北京小米移动软件有限公司 Detect the processing method and processing device of fingerprint

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933342A (en) * 2015-06-18 2015-09-23 广东欧珀移动通信有限公司 Picture viewing method and mobile terminal
CN106200879A (en) * 2016-07-25 2016-12-07 深圳市万普拉斯科技有限公司 A kind of fingerprint authentication method and electronic equipment
CN106250876A (en) * 2016-08-19 2016-12-21 深圳市金立通信设备有限公司 A kind of fingerprint identification method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012042775A1 (en) * 2010-09-30 2012-04-05 パナソニック株式会社 Biometric authentication system, communication terminal device, biometric authentication device, and biometric authentication method
EP2579182B1 (en) * 2011-10-03 2019-08-28 Accenture Global Services Limited Biometric matching engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933342A (en) * 2015-06-18 2015-09-23 广东欧珀移动通信有限公司 Picture viewing method and mobile terminal
CN106200879A (en) * 2016-07-25 2016-12-07 深圳市万普拉斯科技有限公司 A kind of fingerprint authentication method and electronic equipment
CN106250876A (en) * 2016-08-19 2016-12-21 深圳市金立通信设备有限公司 A kind of fingerprint identification method and terminal

Also Published As

Publication number Publication date
CN107016271A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN106056081B (en) Unlocking control method and terminal equipment
CN109583356B (en) Fingerprint identification method and related product
CN106022290B (en) A kind of fingerprint template update method and terminal device
CN108491707B (en) Unlocking control method, terminal equipment and medium product
CN106021606B (en) A kind of fingerprint template update method and terminal device
CN107609375B (en) Unlocking control method and related product
CN106022062B (en) Unlocking method and mobile terminal
CN107087053B (en) A kind of screen backlight control method and mobile terminal
CN106066767A (en) An unlocking method and mobile terminal
CN107205088B (en) Camera control method and related products
CN106022073A (en) Unlocking control method and mobile terminal
CN106055364A (en) Application starting method and terminal equipment
CN106055209B (en) A kind of application startup method and terminal device
CN106066685B (en) One kind solution lock control method and terminal device
CN107609379B (en) A kind of unlocking control method and mobile terminal
CN106127152B (en) A fingerprint template update method and terminal device
CN106886702B (en) Fingerprint unlocking method and related equipment
CN106055960B (en) An unlocking control method and terminal device
CN106096359A (en) A kind of solution lock control method and mobile terminal
CN106446841A (en) Fingerprint template matching order updating method and terminal
CN106951761A (en) A fingerprint unlocking method and device
CN107422962A (en) A kind of bright screen control method and equipment
CN107066857B (en) Data processing method and related equipment
CN107066264B (en) Bright screen control method and mobile terminal
CN106096515A (en) A kind of solution lock control method and terminal unit

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200310

CF01 Termination of patent right due to non-payment of annual fee