CN105912920A - Fingerprint unlocking method and terminal - Google Patents
Fingerprint unlocking method and terminal Download PDFInfo
- Publication number
- CN105912920A CN105912920A CN201610436084.2A CN201610436084A CN105912920A CN 105912920 A CN105912920 A CN 105912920A CN 201610436084 A CN201610436084 A CN 201610436084A CN 105912920 A CN105912920 A CN 105912920A
- Authority
- CN
- China
- Prior art keywords
- fingerprint image
- fingerprint
- image
- target
- preset
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Collating Specific Patterns (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子设备技术领域,尤其涉及一种指纹解锁方法及终端。The invention relates to the technical field of electronic equipment, in particular to a fingerprint unlocking method and a terminal.
背景技术Background technique
随着信息技术的快速发展,终端(如手机、平板电脑等等)的使用越来越普及。指纹识别技术作为终端上的标配技术,指纹识别技术不仅可以用于终端的解锁、唤醒、移动支付等等中得到广泛应用。在指纹识别技术流行的同时,为了实现快速解锁,终端的解锁时间也是终端制造商直接关心的问题。现有技术中,往往由于指纹解锁效率较低,因而,降低了用户体验。With the rapid development of information technology, the use of terminals (such as mobile phones, tablet computers, etc.) is becoming more and more popular. As a standard technology on the terminal, fingerprint recognition technology can be widely used not only in unlocking, waking up, mobile payment, etc. of the terminal. While the fingerprint recognition technology is popular, in order to achieve fast unlocking, the unlocking time of the terminal is also a direct concern of the terminal manufacturer. In the prior art, often due to the low efficiency of fingerprint unlocking, user experience is reduced.
发明内容Contents of the invention
本发明实施例提供了一种指纹解锁方法及终端,能够提高指纹解锁效率。Embodiments of the present invention provide a fingerprint unlocking method and a terminal, which can improve the efficiency of fingerprint unlocking.
本发明实施例第一方面公开了一种指纹解锁方法,包括:The first aspect of the embodiment of the present invention discloses a fingerprint unlocking method, including:
在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数;During the process when the user presses the fingerprint recognition module, each of the N collection regions pre-divided by the fingerprint recognition module is used in parallel to collect capacitance values, and the N is an integer greater than 1;
将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像;converting the capacitance value collected by each of the N collection regions into the N fingerprint images;
选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像;Select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image;
将所述目标指纹图像与预设指纹模板进行匹配;matching the target fingerprint image with a preset fingerprint template;
在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。When the target fingerprint image matches the preset fingerprint template successfully, unlock the terminal.
本发明实施例第二方面公开了一种终端,包括:The second aspect of the embodiment of the present invention discloses a terminal, including:
采集单元,用于在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数;The acquisition unit is used to collect capacitance values in parallel using each of the N acquisition areas pre-divided by the fingerprint identification module when the user presses the fingerprint identification module, where N is an integer greater than 1;
转化单元,用于将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像;a conversion unit, configured to convert the capacitance value collected by each of the N collection areas into the N fingerprint images;
选取单元,用于选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像;A selection unit, configured to select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image;
匹配单元,用于将所述目标指纹图像与预设指纹模板进行匹配;a matching unit, configured to match the target fingerprint image with a preset fingerprint template;
解锁单元,用于在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。An unlocking unit, configured to unlock the terminal when the target fingerprint image matches the preset fingerprint template successfully.
本发明实施例第三方面公开了一种终端,包括:The third aspect of the embodiment of the present invention discloses a terminal, including:
处理器、存储器;processor, memory;
所述处理器用于调用所述存储器中的所述可执行程序代码,执行第一方面的部分或者全部步骤。The processor is configured to invoke the executable program code in the memory to execute part or all of the steps in the first aspect.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
可以看出,本发明实施例中,在用户按压指纹识别模组的过程中,并行利用指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,N为大于1整数,将N个采集区域中的每一采集区域所采集的电容值转化为N个指纹图像,选取N个指纹图像中质量最好的一个指纹图像作为目标指纹图像,将目标指纹图像与预设指纹模板进行匹配,在目标指纹图像与预设指纹模板匹配成功时,对终端进行解锁。因此,由于可从多个采集区域并行采集指纹图像,并将图像质量最好的指纹图像与预设指纹模板,从而,可提高匹配效率,即提高终端解锁效率。It can be seen that in the embodiment of the present invention, when the user presses the fingerprint recognition module, each of the N collection regions pre-divided by the fingerprint recognition module is used in parallel to collect capacitance values, where N is an integer greater than 1, Convert the capacitance value collected by each of the N collection areas into N fingerprint images, select the fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, and combine the target fingerprint image with the preset fingerprint template Perform matching, and unlock the terminal when the target fingerprint image matches the preset fingerprint template successfully. Therefore, since fingerprint images can be collected in parallel from multiple collection areas, and the fingerprint image with the best image quality can be combined with the preset fingerprint template, the matching efficiency can be improved, that is, the terminal unlocking efficiency can be improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明实施例公开的一种指纹解锁方法的第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a fingerprint unlocking method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种指纹解锁方法的第二实施例的流程示意图;FIG. 2 is a schematic flowchart of a second embodiment of a fingerprint unlocking method disclosed in an embodiment of the present invention;
图3a是本发明实施例公开的一种终端的第一实施例的结构示意图;Fig. 3a is a schematic structural diagram of a first embodiment of a terminal disclosed in an embodiment of the present invention;
图3b是本发明实施例公开的图3a中所描述的终端的选取单元的结构示意图;FIG. 3b is a schematic structural diagram of a selection unit of the terminal described in FIG. 3a disclosed in an embodiment of the present invention;
图3c是本发明实施例公开的一种终端的第一实施例的又一结构示意图;Fig. 3c is another schematic structural diagram of the first embodiment of a terminal disclosed in the embodiment of the present invention;
图3d是本发明实施例公开的图3a中所描述的终端的转化单元的结构示意图;Fig. 3d is a schematic structural diagram of the conversion unit of the terminal described in Fig. 3a disclosed by the embodiment of the present invention;
图3e是本发明实施例公开的图3a中所描述的终端的选取单元的结构示意图;FIG. 3e is a schematic structural diagram of a selection unit of the terminal described in FIG. 3a disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种终端的第二实施例的结构示意图;FIG. 4 is a schematic structural diagram of a second embodiment of a terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的一种手机的结构示意图。Fig. 5 is a schematic structural diagram of a mobile phone disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a 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 further includes For other steps or units inherent in these processes, methods, products or apparatuses.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
本发明实施例所描述的终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述终端仅是举例,而非穷举,包含但不限于上述终端。The terminal described in the embodiment of the present invention may include a smart phone (such as an Android phone, an iOS phone, a Windows Phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices) or a wearable device, etc. , the above-mentioned terminals are only examples, not exhaustive, including but not limited to the above-mentioned terminals.
请参阅图1,为本发明实施例提供的一种指纹解锁方法的第一实施例流程示意图。本实施例中所描述的指纹解锁方法,包括以下步骤:Please refer to FIG. 1 , which is a schematic flowchart of a first embodiment of a fingerprint unlocking method provided by an embodiment of the present invention. The fingerprint unlocking method described in this embodiment includes the following steps:
101、在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数。101. When the user presses the fingerprint recognition module, use each of the N collection regions pre-divided by the fingerprint recognition module to collect capacitance values in parallel, where N is an integer greater than 1.
其中,终端可预先将指纹识别模组划分为N个采集区域,N为大于的整数,如图1a所示,将指纹识别模组分为四个区域,包括第一区域,第二区域,第三区域和第四区域,在用户按压终端的指纹识别模组的过程中,每一区域可分别采集电容值,优选地,可采用多个进程或者线程采集电容值,四个区域的话,则可采用四个进程或者线程采集电容值,如:四个进程分别为:第一进程、第二进程、第三进程和四个进程,第一进程采集第一区域的电容值,第二进程采集第二区域的电容值,第三进程采集第三区域的电容值和第四进程采集第四区域的电容值。上述仅以4个区域加以说明,具体实现中,指纹识别模组,还可被分割为2个、3个,甚至大于4个采集区域。Among them, the terminal can divide the fingerprint identification module into N collection areas in advance, and N is an integer greater than or equal to 1. As shown in Figure 1a, the fingerprint identification module is divided into four areas, including the first area, the second area, and the second area. In the third area and the fourth area, when the user presses the fingerprint identification module of the terminal, each area can collect the capacitance value separately. Preferably, multiple processes or threads can be used to collect the capacitance value. If there are four areas, the capacitance value can be collected separately. Four processes or threads are used to collect capacitance values. For example, the four processes are: the first process, the second process, the third process and the fourth process. The first process collects the capacitance value of the first area, and the second process collects the second process. For the capacitance value of the second area, the third process collects the capacitance value of the third area and the fourth process collects the capacitance value of the fourth area. The above is only illustrated with 4 areas. In actual implementation, the fingerprint identification module can also be divided into 2, 3, or even more than 4 acquisition areas.
102、将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像。102. Convert the capacitance value collected by each of the N collection areas into the N fingerprint images.
其中,对于采集区域i而言,可将其采集的电容值转化为指纹图像,采集区域i为上述N个采集区域中的一个。通常情况下,电容值在0~1之间,而指纹图像的值在0~255之间,则可将电容值映射为相应的电容值,例如,电容值为0.5,那么对应的像素值则为125。Wherein, for the collection area i, the collected capacitance value can be converted into a fingerprint image, and the collection area i is one of the aforementioned N collection areas. Usually, the capacitance value is between 0 and 1, and the value of the fingerprint image is between 0 and 255, then the capacitance value can be mapped to the corresponding capacitance value, for example, if the capacitance value is 0.5, then the corresponding pixel value is for 125.
可选地,上述步骤102可包括如下步骤:Optionally, the above step 102 may include the following steps:
21)、分别将所述N个采集区域中的每一采集区域所采集的电容值进行二值化处理,得到所述N组二值化电容值;21), respectively performing binarization processing on the capacitance values collected in each of the N collection regions to obtain the N groups of binarized capacitance values;
22)、将所述N组二值化电容值转化为所述N个指纹图像。22). Converting the N groups of binarized capacitance values into the N fingerprint images.
其中,步骤21中,可将所有电容值的均值作为二值化阈值,根据该二值化阈值将N个采集区域中每一采集区域所采集的电容值进行二值化处理,得到N组二值化电容值。也可以分别将每一采集区域的电容值作为该采集区域的二值化阈值,根据该二值化阈值对该采集区域所采集的电容值进行二值化处理,得到一组二值化电容值。Wherein, in step 21, the average value of all capacitance values can be used as the binarization threshold, and the capacitance values collected in each of the N collection areas are binarized according to the binarization threshold, to obtain N groups of two Value capacitance value. It is also possible to use the capacitance value of each collection area as the binarization threshold of the collection area, and perform binarization processing on the capacitance values collected in the collection area according to the binarization threshold to obtain a set of binarization capacitance values .
相应地,步骤22后,将N组二值化电容值转化为N个指纹图像,每一指纹图像均也可称为二值化指纹图像。Correspondingly, after step 22, N sets of binarized capacitance values are converted into N fingerprint images, and each fingerprint image can also be called a binarized fingerprint image.
103、选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像。103. Select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image.
其中,图像质量越好,包含的信息越多,因此,可选取N个指纹图像中最好的一个指纹图像作为目标指纹图像。Among them, the better the image quality, the more information it contains. Therefore, the best fingerprint image among the N fingerprint images can be selected as the target fingerprint image.
需要说明说明的是,上述质量最好可为:信噪比最大,特征点数目最多,清晰度最大等等,质量最好不仅限于此,在此不再赘述。It should be noted that the above-mentioned quality can preferably be: the largest signal-to-noise ratio, the largest number of feature points, the largest definition, etc. The best quality is not limited to this, and will not be repeated here.
可选地,步骤103可包括:Optionally, step 103 may include:
31)分别提取所述N个指纹图像的特征点;31) Extract feature points of the N fingerprint images respectively;
32)将所述N个指纹图像中特征点最多的指纹图像作为目标指纹图像。32) Taking the fingerprint image with the most feature points among the N fingerprint images as the target fingerprint image.
其中,步骤31中,可分别提取N个指纹图像的特征点,优选地,采用同一特征点提取算法对该N个指纹图像进行特征提取,特征点提取算法可为:Harris角点提取算法,尺度不变特征提取(Scale Invariant Feature Transform,SIFT)算法等等。在步骤32中,可将特征点数目最多的指纹图像作为目标指纹图像。Wherein, in step 31, the feature points of N fingerprint images can be extracted respectively. Preferably, the same feature point extraction algorithm is used to perform feature extraction on the N fingerprint images. The feature point extraction algorithm can be: Harris corner point extraction algorithm, scale Invariant feature extraction (Scale Invariant Feature Transform, SIFT) algorithm and so on. In step 32, the fingerprint image with the largest number of feature points may be used as the target fingerprint image.
可选地,步骤103可包括以下步骤:Optionally, step 103 may include the following steps:
33)、分别对所述N个指纹图像进行图像质量评价,得到所述N个图像质量评价值;33), performing image quality evaluation on the N fingerprint images respectively, to obtain the N image quality evaluation values;
34)、将所述N个图像质量评价值中的最大图像质量评价值对应的指纹图像作为目标指纹图像。34) Taking the fingerprint image corresponding to the maximum image quality evaluation value among the N image quality evaluation values as the target fingerprint image.
其中,步骤33可包括以下步骤:Wherein, step 33 may include the following steps:
331)、采用预设的多个评价指标对所述指纹图像i进行图像质量评价,得到所述多个评价值,所述指纹图像i为所述N个指纹图像中的一个;331), using a plurality of preset evaluation indicators to evaluate the image quality of the fingerprint image i to obtain the plurality of evaluation values, the fingerprint image i is one of the N fingerprint images;
332)、根据所述多个评价值及所述预设的多个评价指标对应的预设权重确定所述指纹图像i的图像质量评价值。332). Determine the image quality evaluation value of the fingerprint image i according to the multiple evaluation values and the preset weights corresponding to the multiple preset evaluation indicators.
上述评价指标可包括但不仅限于:信噪比、平均梯度,边缘强度,信息熵、灰度均值、标准差、清晰度等等,在此不作限定。The above-mentioned evaluation indicators may include but not limited to: signal-to-noise ratio, average gradient, edge intensity, information entropy, average gray value, standard deviation, sharpness, etc., which are not limited here.
举例说明下,可选择三个评价指标对指纹图像进行图像质量评价,假设三个评价指标分别为:A、B和C,评价指标A对应的预设权值为k1,0<k1<1,评价指标B对应的预设权值为0<k2<1,评价指标C对应的预设权值为0<k3<1,其中,k1+k2+k3=1,那么,图像质量评价值=A*k1+B*k2+C*k3。对于指纹图像i而言,可分别计算它的评价指标A、B和C的值,假设,评价指标A的值为a,评价指标B的值为b,评价指标C的值为c,那么,指纹图像i的图像质量评价值=a*k1+b*k2+c*k3。For example, three evaluation indicators can be selected to evaluate the image quality of fingerprint images, assuming that the three evaluation indicators are: A, B and C, and the preset weight value corresponding to evaluation indicator A is k1, 0<k1<1, The preset weight value corresponding to the evaluation index B is 0<k2<1, and the preset weight value corresponding to the evaluation index C is 0<k3<1, wherein, k1+k2+k3=1, then the image quality evaluation value=A *k1+B*k2+C*k3. For fingerprint image i, the values of its evaluation indexes A, B, and C can be calculated respectively. Assume that the value of evaluation index A is a, the value of evaluation index B is b, and the value of evaluation index C is c. Then, Image quality evaluation value of fingerprint image i=a*k1+b*k2+c*k3.
当然,也可以以一个评价指标对上述N个指纹图像进行图像质量评价,但是,多个评价指标对上述N个指纹图像进行图像质量评价可得到更为精确的评价结果。Of course, one evaluation index can also be used to evaluate the image quality of the above N fingerprint images, but more accurate evaluation results can be obtained by performing image quality evaluation on the above N fingerprint images with multiple evaluation indexes.
可选地,在步骤102和步骤103之间,若102得到的N个指纹图像并非是二值化指纹图像,则可将该N个指纹图像转化为二值化指纹图像,得到N个二值化指纹图像,再由步骤103从该N个二值化指纹图像中选取图像质量最好的一个二值化指纹图像作为目标指纹图像。Optionally, between step 102 and step 103, if the N fingerprint images obtained in step 102 are not binary fingerprint images, then the N fingerprint images can be converted into binary fingerprint images to obtain N binary fingerprint images Then select a binary fingerprint image with the best image quality from the N binary fingerprint images in step 103 as the target fingerprint image.
104、将所述目标指纹图像与预设指纹模板进行匹配。104. Match the target fingerprint image with a preset fingerprint template.
其中,可分别提取目标指纹图像的特征和预设指纹模板的特征,此处,特征可为特征纹路和特征点,然后,判断目标指纹图像的特征与预设指纹模板的特征的相似度是否大于预设阈值,该预设阈值为用于解锁设置的一阈值,大于该阈值,则可对终端解锁,若小于或等于该阈值,则无法解锁。Wherein, the features of the target fingerprint image and the features of the preset fingerprint template can be extracted respectively. Here, the features can be feature lines and feature points. Then, it is judged whether the similarity between the features of the target fingerprint image and the features of the preset fingerprint template is greater than A preset threshold. The preset threshold is a threshold used for unlocking settings. If the threshold is greater than the threshold, the terminal can be unlocked. If it is less than or equal to the threshold, the terminal cannot be unlocked.
可选地,若步骤103按照31和32方式执行,则已经提取了特征点,那么,在步骤104中,可按照31中提取特征点的方式对预设指纹模板进行特征点提取,然后,将上述图像质量最好的指纹图像的特征点与预设指纹模板的特征点进行匹配,若两者匹配成功,则可执行步骤105,若两者匹配失败,则提示用户重新进行指纹输入。Optionally, if step 103 is executed according to 31 and 32, then the feature points have been extracted, then, in step 104, feature point extraction can be performed on the preset fingerprint template according to the method of extracting feature points in 31, and then, the The feature points of the above-mentioned fingerprint image with the best image quality are matched with the feature points of the preset fingerprint template. If the two match successfully, step 105 can be performed. If the two match fails, the user is prompted to re-enter the fingerprint.
105、在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。105. When the target fingerprint image matches the preset fingerprint template successfully, unlock the terminal.
其中,在目标指纹图像与预设指纹模板匹配成功时,可对终端进行解锁或者对终端中的某个应用进行解锁。例如,在终端处于熄屏状态下,对终端进行解锁,终端的显示屏点亮,并且显示解锁后的桌面;或者,在终端处于亮屏状态下,对终端进行解锁,显示解锁后的桌面;或者,在终端处于已解锁状态下,可对终端的至少一个应用进行解锁,即启动该至少一个应用或者展示该至少一个应用中的某一应用的预设页面;或者,在终端处于熄屏状态下,可对终端的至少一个应用进行解锁,即启动该至少一个应用或者展示该至少一个应用中的某一应用的预设页面。Wherein, when the target fingerprint image matches the preset fingerprint template successfully, the terminal may be unlocked or an application in the terminal may be unlocked. For example, when the terminal is in the off-screen state, unlock the terminal, the display screen of the terminal lights up, and display the unlocked desktop; or, when the terminal is in the bright state, unlock the terminal, and display the unlocked desktop; Or, when the terminal is in an unlocked state, at least one application of the terminal can be unlocked, that is, start the at least one application or display a preset page of an application in the at least one application; or, when the terminal is in a screen-off state Next, at least one application of the terminal can be unlocked, that is, the at least one application can be started or a preset page of a certain application in the at least one application can be displayed.
可以看出,本发明实施例中,在用户按压指纹识别模组的过程中,并行利用指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,N为大于1整数,将N个采集区域中的每一采集区域所采集的电容值转化为N个指纹图像,选取N个指纹图像中质量最好的一个指纹图像作为目标指纹图像,将目标指纹图像与预设指纹模板进行匹配,在目标指纹图像与预设指纹模板匹配成功时,对终端进行解锁。因此,由于可从多个采集区域并行采集指纹图像,加快指纹图像采集速度,并将图像质量最好的指纹图像与预设指纹模板,从而,可提高匹配效率,即提高终端解锁效率。It can be seen that in the embodiment of the present invention, when the user presses the fingerprint recognition module, each of the N collection regions pre-divided by the fingerprint recognition module is used in parallel to collect capacitance values, where N is an integer greater than 1, Convert the capacitance value collected by each of the N collection areas into N fingerprint images, select the fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, and combine the target fingerprint image with the preset fingerprint template Perform matching, and unlock the terminal when the target fingerprint image matches the preset fingerprint template successfully. Therefore, since fingerprint images can be collected in parallel from multiple collection areas, the speed of fingerprint image collection can be accelerated, and the fingerprint image with the best image quality can be combined with the preset fingerprint template, thereby improving the matching efficiency, that is, improving the terminal unlocking efficiency.
与上述实施例一致的,请参阅图2,为本发明实施例提供的一种指纹解锁方法的第二实施例流程示意图。本实施例中所描述的指纹解锁方法,包括以下步骤:Consistent with the above embodiment, please refer to FIG. 2 , which is a schematic flowchart of a second embodiment of a fingerprint unlocking method provided by an embodiment of the present invention. The fingerprint unlocking method described in this embodiment includes the following steps:
201、在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数。201. When the user presses the fingerprint recognition module, use each of the N collection regions pre-divided by the fingerprint recognition module to collect capacitance values in parallel, where N is an integer greater than 1.
202、将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像。202. Convert the capacitance value collected by each of the N collection areas into the N fingerprint images.
203、分别提取所述N个指纹图像的特征点;203. Extract feature points of the N fingerprint images respectively;
204、将所述N个指纹图像中特征点最多的指纹图像作为目标指纹图像。204. Use the fingerprint image with the most feature points among the N fingerprint images as the target fingerprint image.
205、判断所述目标指纹图像的特征点个数是否处于预设范围。205. Determine whether the number of feature points of the target fingerprint image is within a preset range.
可选地,若是,执行步骤208。Optionally, if yes, step 208 is performed.
206、在所述特征点个数低于所述预设范围时,提示用户重新按压所述指纹识别模组。206. Prompt the user to press the fingerprint identification module again when the number of feature points is lower than the preset range.
207、在所述特征点个数处于所述预设范围时,对所述目标指纹图像进行图像增强处理。207. When the number of feature points is within the preset range, perform image enhancement processing on the target fingerprint image.
其中,若执行了步骤207,则可对目标指纹图像进行图像增强处理,接着,在步骤208中,可将图像增强处理后的目标指纹图像与预设指纹模板进行匹配。图像增强处理的方法可包括但不仅限于:直方图均衡化,灰度拉伸,小波变换,图像复原等等。Wherein, if step 207 is executed, image enhancement processing may be performed on the target fingerprint image, and then, in step 208, the target fingerprint image after image enhancement processing may be matched with a preset fingerprint template. The methods of image enhancement processing may include but not limited to: histogram equalization, gray scale stretching, wavelet transform, image restoration and so on.
208、将所述目标指纹图像与预设指纹模板进行匹配。208. Match the target fingerprint image with a preset fingerprint template.
209、在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。209. When the target fingerprint image matches the preset fingerprint template successfully, unlock the terminal.
其中,图2中未具体描述的其他步骤的具体实施过程可参见图1所描述的指纹解锁方法,在此不再赘述。Wherein, the specific implementation process of other steps not specifically described in FIG. 2 can refer to the fingerprint unlocking method described in FIG. 1 , which will not be repeated here.
步骤204中,预设范围可由用户设置或者系统默认,预设范围可包括但不仅限于:[20,50],(40,80),(35,70],等等,具体取值依据具体情况而定,在此不作限定。In step 204, the preset range can be set by the user or defaulted by the system. The preset range can include but not limited to: [20, 50], (40, 80), (35, 70], etc., the specific value depends on the specific situation Depends, it is not limited here.
以下是实施图1或图2所描述的指纹解锁方法的装置,具体如下。The following is a device for implementing the fingerprint unlocking method described in FIG. 1 or FIG. 2 , specifically as follows.
请参阅图3a,为本发明实施例提供的一种终端的第一实施例结构示意图。本实施例中所描述的终端,包括:采集单元301、转化单元302、选取单元303、匹配单元304和解锁单元305,具体如下:Please refer to FIG. 3 a , which is a schematic structural diagram of a first embodiment of a terminal provided by an embodiment of the present invention. The terminal described in this embodiment includes: an acquisition unit 301, a conversion unit 302, a selection unit 303, a matching unit 304, and an unlocking unit 305, specifically as follows:
采集单元301,用于在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数;The acquisition unit 301 is configured to collect capacitance values in parallel using each of the N acquisition areas pre-divided by the fingerprint identification module when the user presses the fingerprint identification module, where N is an integer greater than 1;
转化单元302,用于将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像;A conversion unit 302, configured to convert the capacitance value collected by each of the N collection areas into the N fingerprint images;
选取单元303,用于选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像;A selection unit 303, configured to select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image;
匹配单元304,用于将所述目标指纹图像与预设指纹模板进行匹配;A matching unit 304, configured to match the target fingerprint image with a preset fingerprint template;
解锁单元305,用于在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。The unlocking unit 305 is configured to unlock the terminal when the target fingerprint image matches the preset fingerprint template successfully.
可选地,如图3b所示,图3a中所描述的终端的所述选取单元303可包括:Optionally, as shown in FIG. 3b, the selecting unit 303 of the terminal described in FIG. 3a may include:
提取模块3031,用于分别提取所述N个指纹图像的特征点;An extraction module 3031, configured to extract feature points of the N fingerprint images respectively;
第一确定模块3032,用于将所述N个指纹图像中特征点最多的指纹图像作为目标指纹图像。The first determining module 3032 is configured to use the fingerprint image with the most feature points among the N fingerprint images as the target fingerprint image.
可选地,如图3c所示,图3a所描述的终端还可包括:判断单元306、提示单元307和第一处理单元308,下面具体描述:Optionally, as shown in FIG. 3c, the terminal described in FIG. 3a may further include: a judgment unit 306, a prompt unit 307, and a first processing unit 308, which are described in detail below:
判断单元306,用于在所述选取单元303选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像之后,判断所述目标指纹图像的特征点个数是否处于预设范围;A judging unit 306, configured to judge whether the number of feature points of the target fingerprint image is within a preset range after the selection unit 303 selects a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image;
在所述判断单元306的判断结果为所述特征点个数超过预设范围时,由所述匹配单元304将所述目标指纹图像与预设指纹模板进行匹配;When the judging result of the judging unit 306 is that the number of feature points exceeds a preset range, the matching unit 304 matches the target fingerprint image with a preset fingerprint template;
提示单元307,用于在所述判断单元306的判断结果为所述特征点个数低于所述预设范围时,提示用户重新按压所述指纹识别模组;A prompting unit 307, configured to prompt the user to press the fingerprint identification module again when the judgment result of the judging unit 306 is that the number of feature points is lower than the preset range;
第一处理单元308,用于在所述判断单元306的判断结果为所述特征点个数处于所述预设范围时,对所述目标指纹图像进行图像增强处理。The first processing unit 308 is configured to perform image enhancement processing on the target fingerprint image when the judging result of the judging unit 306 is that the number of feature points is within the preset range.
可选地,如图3d所示,图3a中所描述的终端的所述转化单元302,包括:Optionally, as shown in FIG. 3d, the conversion unit 302 of the terminal described in FIG. 3a includes:
第二处理模块3021,用于分别将所述N个采集区域中的每一采集区域所采集的电容值进行二值化处理,得到所述N组二值化电容值;The second processing module 3021 is configured to perform binarization processing on the capacitance values collected in each of the N collection areas, respectively, to obtain the N sets of binarized capacitance values;
转化模块3022,用于将所述N组二值化电容值转化为所述N个指纹图像。A conversion module 3022, configured to convert the N sets of binarized capacitance values into the N fingerprint images.
可选地,如图3e所示,图3a中所描述的终端的所述选取单元303可包括:Optionally, as shown in FIG. 3e, the selecting unit 303 of the terminal described in FIG. 3a may include:
第一评价模块3033,用于分别对所述N个指纹图像进行图像质量评价,得到所述N个图像质量评价值;The first evaluation module 3033 is configured to perform image quality evaluation on the N fingerprint images respectively, to obtain the N image quality evaluation values;
第二确定模块3034,用于将所述N个图像质量评价值中的最大图像质量评价值对应的指纹图像作为目标指纹图像。The second determination module 3034 is configured to use the fingerprint image corresponding to the maximum image quality evaluation value among the N image quality evaluation values as the target fingerprint image.
进一步地,所述第一评价模块3033,包括:Further, the first evaluation module 3033 includes:
第二评价模块(图中未标出),用于采用预设的多个评价指标对所述指纹图像i进行图像质量评价,得到所述多个评价值,所述指纹图像i为所述N个指纹图像中的一个;The second evaluation module (not marked in the figure) is used to evaluate the image quality of the fingerprint image i by using a plurality of preset evaluation indicators to obtain the plurality of evaluation values, and the fingerprint image i is the N one of the fingerprint images;
第三确定模块(图中未标出),用于根据所述多个评价值及所述预设的多个评价指标对应的预设权重确定所述指纹图像i的图像质量评价值。A third determination module (not shown in the figure), configured to determine the image quality evaluation value of the fingerprint image i according to the plurality of evaluation values and the preset weights corresponding to the plurality of preset evaluation indicators.
可以看出,本发明实施例中所描述的终端可在用户按压指纹识别模组的过程中,并行利用指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,N为大于1整数,将N个采集区域中的每一采集区域所采集的电容值转化为N个指纹图像,选取N个指纹图像中质量最好的一个指纹图像作为目标指纹图像,将目标指纹图像与预设指纹模板进行匹配,在目标指纹图像与预设指纹模板匹配成功时,对终端进行解锁。因此,由于可从多个采集区域并行采集指纹图像,可加快指纹采集速度,并将图像质量最好的指纹图像与预设指纹模板,从而,可提高匹配效率,即提高终端解锁效率。It can be seen that the terminal described in the embodiment of the present invention can use each of the N collection areas pre-divided by the fingerprint identification module to collect capacitance values in parallel when the user presses the fingerprint identification module, where N is is greater than 1 integer, convert the capacitance value collected by each of the N collection areas into N fingerprint images, select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, and combine the target fingerprint image with The preset fingerprint template is matched, and the terminal is unlocked when the target fingerprint image is successfully matched with the preset fingerprint template. Therefore, since fingerprint images can be collected in parallel from multiple collection areas, the fingerprint collection speed can be accelerated, and the fingerprint image with the best image quality can be combined with the preset fingerprint template, thereby improving the matching efficiency, that is, improving the terminal unlocking efficiency.
请参阅图4,为本发明实施例提供的一种终端的第二实施例结构示意图。本实施例中所描述的终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。Please refer to FIG. 4 , which is a schematic structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention. The terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the above-mentioned input device 1000, output device 2000, processor 3000 and memory The 4000 is connected via the bus 5000.
其中,上述输入设备1000具体可为触控面板、物理按键或者鼠标、指纹识别模组等等。Wherein, the above-mentioned input device 1000 may specifically be a touch panel, a physical button or a mouse, a fingerprint recognition module, and the like.
上述输出设备2000具体可为显示屏。The aforementioned output device 2000 may specifically be a display screen.
上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The above-mentioned memory 4000 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as a magnetic disk memory. The above-mentioned memory 4000 is used to store a set of program codes, and the above-mentioned input device 1000, output device 2000 and processor 3000 are used to call the program codes stored in the memory 4000, and perform the following operations:
上述处理器3000,用于:The above-mentioned processor 3000 is used for:
在用户按压指纹识别模组的过程中,并行利用所述指纹识别模组预先分割的N个采集区域中的每一采集区域采集电容值,所述N为大于1整数;During the process when the user presses the fingerprint recognition module, each of the N collection regions pre-divided by the fingerprint recognition module is used in parallel to collect capacitance values, and the N is an integer greater than 1;
将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像;converting the capacitance value collected by each of the N collection regions into the N fingerprint images;
选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像;Select a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image;
将所述目标指纹图像与预设指纹模板进行匹配;matching the target fingerprint image with a preset fingerprint template;
在所述目标指纹图像与所述预设指纹模板匹配成功时,对终端进行解锁。When the target fingerprint image matches the preset fingerprint template successfully, unlock the terminal.
可选地,上述处理器3000选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像,包括:Optionally, the processor 3000 selects a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, including:
分别提取所述N个指纹图像的特征点;Extract feature points of the N fingerprint images respectively;
将所述N个指纹图像中特征点最多的指纹图像作为目标指纹图像。The fingerprint image with the most feature points among the N fingerprint images is used as the target fingerprint image.
可选地,上述处理器3000选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像之后,还具体用于:Optionally, after the processor 3000 selects the fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, it is also specifically used for:
判断所述目标指纹图像的特征点个数是否处于预设范围;judging whether the number of feature points of the target fingerprint image is within a preset range;
在所述特征点个数超过预设范围时,执行所述将所述目标指纹图像与预设指纹模板进行匹配;When the number of feature points exceeds a preset range, performing the matching of the target fingerprint image with a preset fingerprint template;
在所述特征点个数低于所述预设范围时,提示用户重新按压所述指纹识别模组;When the number of feature points is lower than the preset range, prompting the user to press the fingerprint identification module again;
在所述特征点个数处于所述预设范围时,对所述目标指纹图像进行图像增强处理。When the number of feature points is within the preset range, image enhancement processing is performed on the target fingerprint image.
可选地,上述处理器3000将所述N个采集区域中的每一采集区域所采集的电容值转化为所述N个指纹图像,包括:Optionally, the processor 3000 converts the capacitance value collected by each of the N collection areas into the N fingerprint images, including:
分别将所述N个采集区域中的每一采集区域所采集的电容值进行二值化处理,得到所述N组二值化电容值;performing binarization processing on the capacitance values collected in each of the N collection regions, respectively, to obtain the N groups of binarized capacitance values;
将所述N组二值化电容值转化为所述N个指纹图像。Converting the N groups of binarized capacitance values into the N fingerprint images.
可选地,上述处理器3000选取所述N个指纹图像中质量最好的一个指纹图像作为目标指纹图像,包括:Optionally, the processor 3000 selects a fingerprint image with the best quality among the N fingerprint images as the target fingerprint image, including:
分别对所述N个指纹图像进行图像质量评价,得到所述N个图像质量评价值;performing image quality evaluation on the N fingerprint images respectively to obtain the N image quality evaluation values;
将所述N个图像质量评价值中的最大图像质量评价值对应的指纹图像作为目标指纹图像。The fingerprint image corresponding to the maximum image quality evaluation value among the N image quality evaluation values is used as the target fingerprint image.
可选地,上述处理器3000分别对所述N个指纹图像进行图像质量评价,得到所述N个图像质量评价值,包括:Optionally, the processor 3000 performs image quality evaluation on the N fingerprint images respectively to obtain the N image quality evaluation values, including:
采用预设的多个评价指标对所述指纹图像i进行图像质量评价,得到所述多个评价值,所述指纹图像i为所述N个指纹图像中的一个;performing image quality evaluation on the fingerprint image i by using a plurality of preset evaluation indicators to obtain the plurality of evaluation values, the fingerprint image i being one of the N fingerprint images;
根据所述多个评价值及所述预设的多个评价指标对应的预设权重确定所述指纹图像i的图像质量评价值。Determine the image quality evaluation value of the fingerprint image i according to the multiple evaluation values and the preset weights corresponding to the multiple preset evaluation indicators.
图5示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、传感器550、音频电路560、无线保真(Wireless Fidelity,WiFi)模块570、处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 shows a block diagram of a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 5 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, a wireless fidelity (Wireless Fidelity, WiFi) module 570, a processor 580 , and power supply 590 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 5 is not limited to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图5对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 5:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(WidebandCode Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 510 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, the processor 580 processes it; in addition, it sends the designed uplink data to the base station. Generally, the RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 510 may also communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobilecommunication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 520 . The memory 520 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 530 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532 . The touch panel 531, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 531 or near the touch panel 531). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 531 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and 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 sends it to the to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 531 , the input unit 530 may also include other input devices 532 . Specifically, other input devices 532 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。The display unit 540 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541. Optionally, the display panel 541 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED). Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near it, it transmits to the processor 580 to determine the type of the touch event, and then the processor 580 determines the type of the touch event according to the touch event. The type provides a corresponding visual output on the display panel 541 . Although in FIG. 5 , the touch panel 531 and the display panel 541 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 541 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 various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the mobile phone. The audio circuit 560 can transmit the electrical signal converted from the received audio data to the loudspeaker 561, and the loudspeaker 561 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 580, and then sent to another mobile phone through the RF circuit 510, or the audio data is output to the memory 520 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access. Although Fig. 5 shows a WiFi module 570, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。The processor 580 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 520, and calling data stored in the memory 520, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 580 .
手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 590 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 580 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
前述实施例中,各步骤方法流程可以基于该终端的结构实现。其中传感器550或者触控面板531可以作为指纹识别模组使用。In the foregoing embodiments, the method flow of each step can be realized based on the structure of the terminal. Wherein the sensor 550 or the touch panel 531 can be used as a fingerprint identification module.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种指纹解锁方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, some or all steps of any fingerprint unlocking method described in the above method embodiments are included.
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present invention has been described in conjunction with various embodiments herein, in the process of implementing the claimed invention, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The computer program is stored/distributed on suitable media, supplied with or as part of other hardware, and may also take other forms of distribution, such as via the Internet or other wired or wireless telecommunication systems.
本发明是参照本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, apparatus (device) and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Although the invention has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are merely illustrative of the invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the invention. Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610436084.2A CN105912920A (en) | 2016-06-17 | 2016-06-17 | Fingerprint unlocking method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610436084.2A CN105912920A (en) | 2016-06-17 | 2016-06-17 | Fingerprint unlocking method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105912920A true CN105912920A (en) | 2016-08-31 |
Family
ID=56750400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610436084.2A Pending CN105912920A (en) | 2016-06-17 | 2016-06-17 | Fingerprint unlocking method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105912920A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107103221A (en) * | 2017-04-28 | 2017-08-29 | 广东欧珀移动通信有限公司 | Unlocking control method and related product |
CN107273830A (en) * | 2017-06-05 | 2017-10-20 | 深圳天珑无线科技有限公司 | A kind of method of testing and system of fingerprint module |
TWI643087B (en) * | 2016-12-01 | 2018-12-01 | 財團法人資訊工業策進會 | Authentication method and authentication system |
CN110378263A (en) * | 2019-07-08 | 2019-10-25 | Oppo广东移动通信有限公司 | Fingerprint identification method and Related product |
CN110472392A (en) * | 2019-07-09 | 2019-11-19 | 陈威 | Fingerprint recognition monitoring method and device |
CN111027038A (en) * | 2019-11-19 | 2020-04-17 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN112580605A (en) * | 2020-12-31 | 2021-03-30 | 敦泰电子(深圳)有限公司 | Fingerprint image acquisition method and device, electronic equipment and storage medium |
CN116665256A (en) * | 2023-06-05 | 2023-08-29 | 长春理工大学 | Fingerprint matching method based on fingerprint image local area quality |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201773412U (en) * | 2010-07-07 | 2011-03-23 | 胡思捷 | Singlechip-based fingerprint identifying system |
WO2011074955A1 (en) * | 2009-12-15 | 2011-06-23 | Priv-Id B.V. | System and method for verifying the identity of an individual by employing biometric data features associated with the individual as well as a computer program product for performing said method |
CN104751040A (en) * | 2014-07-25 | 2015-07-01 | 北京智膜科技有限公司 | Fingerprint detection method based on intelligent mobile information equipment |
CN104933337A (en) * | 2015-05-22 | 2015-09-23 | 广东欧珀移动通信有限公司 | Method for realizing fingerprint unlocking and intelligent terminal |
CN105095722A (en) * | 2015-08-25 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint verification method of mobile terminal and fingerprint verification system of mobile terminal |
CN105303100A (en) * | 2015-09-30 | 2016-02-03 | 北京奇虎科技有限公司 | Verification method and device of application program startup |
CN105335730A (en) * | 2015-11-13 | 2016-02-17 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint identification device and terminal equipment |
CN105404875A (en) * | 2015-11-30 | 2016-03-16 | 南昌欧菲生物识别技术有限公司 | Fingerprint recognition apparatus, fingerprint recognition method and terminal device for same |
CN105447447A (en) * | 2015-11-11 | 2016-03-30 | 广东欧珀移动通信有限公司 | Terminal Fingerprint Recognition Method and System |
-
2016
- 2016-06-17 CN CN201610436084.2A patent/CN105912920A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011074955A1 (en) * | 2009-12-15 | 2011-06-23 | Priv-Id B.V. | System and method for verifying the identity of an individual by employing biometric data features associated with the individual as well as a computer program product for performing said method |
CN201773412U (en) * | 2010-07-07 | 2011-03-23 | 胡思捷 | Singlechip-based fingerprint identifying system |
CN104751040A (en) * | 2014-07-25 | 2015-07-01 | 北京智膜科技有限公司 | Fingerprint detection method based on intelligent mobile information equipment |
CN104933337A (en) * | 2015-05-22 | 2015-09-23 | 广东欧珀移动通信有限公司 | Method for realizing fingerprint unlocking and intelligent terminal |
CN105095722A (en) * | 2015-08-25 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint verification method of mobile terminal and fingerprint verification system of mobile terminal |
CN105303100A (en) * | 2015-09-30 | 2016-02-03 | 北京奇虎科技有限公司 | Verification method and device of application program startup |
CN105447447A (en) * | 2015-11-11 | 2016-03-30 | 广东欧珀移动通信有限公司 | Terminal Fingerprint Recognition Method and System |
CN105335730A (en) * | 2015-11-13 | 2016-02-17 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint identification device and terminal equipment |
CN105404875A (en) * | 2015-11-30 | 2016-03-16 | 南昌欧菲生物识别技术有限公司 | Fingerprint recognition apparatus, fingerprint recognition method and terminal device for same |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI643087B (en) * | 2016-12-01 | 2018-12-01 | 財團法人資訊工業策進會 | Authentication method and authentication system |
CN107103221B (en) * | 2017-04-28 | 2020-04-21 | Oppo广东移动通信有限公司 | Unlock control method and related products |
CN107103221A (en) * | 2017-04-28 | 2017-08-29 | 广东欧珀移动通信有限公司 | Unlocking control method and related product |
CN107273830A (en) * | 2017-06-05 | 2017-10-20 | 深圳天珑无线科技有限公司 | A kind of method of testing and system of fingerprint module |
CN107273830B (en) * | 2017-06-05 | 2021-01-26 | 深圳天珑无线科技有限公司 | Fingerprint module testing method and system |
CN110378263A (en) * | 2019-07-08 | 2019-10-25 | Oppo广东移动通信有限公司 | Fingerprint identification method and Related product |
CN110378263B (en) * | 2019-07-08 | 2021-07-13 | Oppo广东移动通信有限公司 | Fingerprint identification method and related products |
CN110472392A (en) * | 2019-07-09 | 2019-11-19 | 陈威 | Fingerprint recognition monitoring method and device |
CN111027038A (en) * | 2019-11-19 | 2020-04-17 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN112580605A (en) * | 2020-12-31 | 2021-03-30 | 敦泰电子(深圳)有限公司 | Fingerprint image acquisition method and device, electronic equipment and storage medium |
CN112580605B (en) * | 2020-12-31 | 2024-05-24 | 敦泰电子(深圳)有限公司 | Fingerprint image acquisition method and device, electronic equipment and storage medium |
CN116665256A (en) * | 2023-06-05 | 2023-08-29 | 长春理工大学 | Fingerprint matching method based on fingerprint image local area quality |
CN116665256B (en) * | 2023-06-05 | 2024-03-15 | 长春理工大学 | Fingerprint matching method based on fingerprint image local area quality |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106096372B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106096354B (en) | A fingerprint unlocking method and terminal | |
CN105912915B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106227437B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106127481B (en) | A kind of fingerprint method of payment and terminal | |
CN105912920A (en) | Fingerprint unlocking method and terminal | |
CN105912916B (en) | A fingerprint unlocking method and terminal | |
CN106022075B (en) | Fingerprint unlocking method and terminal | |
CN106127000B (en) | Fingerprint unlocking method and terminal | |
CN106203034B (en) | A kind of unlocked by fingerprint method and terminal | |
CN105912918B (en) | Fingerprint unlocking method and terminal | |
CN107194326A (en) | Fingerprint collection method and related products | |
CN105975833A (en) | Fingerprint unlocking method and terminal | |
CN106022058B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106874725A (en) | A fingerprint unlocking method and mobile terminal | |
CN105912919B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106066764B (en) | A kind of unlocked by fingerprint method and terminal | |
WO2019015575A1 (en) | Unlocking control method and related product | |
CN106022074B (en) | A kind of unlocked by fingerprint method and terminal | |
CN107622235B (en) | Fingerprint unlocking method and related product | |
CN106022059B (en) | A fingerprint unlocking method and terminal | |
CN106022057B (en) | A kind of unlocked by fingerprint method and terminal | |
WO2019015574A1 (en) | Unlocking control method and related product | |
CN106845413B (en) | Fingerprint identification method and mobile terminal | |
CN107423170B (en) | A fingerprint unlocking time testing method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160831 |
|
RJ01 | Rejection of invention patent application after publication |