Movatterモバイル変換


[0]ホーム

URL:


CN107423170B - A fingerprint unlocking time testing method and mobile terminal - Google Patents

A fingerprint unlocking time testing method and mobile terminal
Download PDF

Info

Publication number
CN107423170B
CN107423170BCN201710162344.6ACN201710162344ACN107423170BCN 107423170 BCN107423170 BCN 107423170BCN 201710162344 ACN201710162344 ACN 201710162344ACN 107423170 BCN107423170 BCN 107423170B
Authority
CN
China
Prior art keywords
fingerprint
fingerprint unlocking
unlocking
time
application
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
CN201710162344.6A
Other languages
Chinese (zh)
Other versions
CN107423170A (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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710162344.6ApriorityCriticalpatent/CN107423170B/en
Publication of CN107423170ApublicationCriticalpatent/CN107423170A/en
Application grantedgrantedCritical
Publication of CN107423170BpublicationCriticalpatent/CN107423170B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种指纹解锁时间测试方法及移动终端,所述方法包括:获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数;根据所述N个指纹解锁时间确定测试时间。通过本发明实施例可直接将生命周期时间作为指纹解锁时间,自身便可以统计指纹解锁时间,可提高指纹解锁时间测试效率。

Figure 201710162344

Embodiments of the present invention provide a fingerprint unlocking time testing method and a mobile terminal. The method includes: acquiring N fingerprint unlocking times, and each fingerprint unlocking time in the N fingerprint unlocking times is obtained from a preset global handle from Obtained by the fingerprint unlocking application, the fingerprint unlocking time is the life cycle time of the fingerprint identification operation in a specified stage, and the N is a positive integer; the test time is determined according to the N fingerprint unlocking times. Through the embodiment of the present invention, the life cycle time can be directly used as the fingerprint unlocking time, and the fingerprint unlocking time can be counted by itself, which can improve the fingerprint unlocking time test efficiency.

Figure 201710162344

Description

Translated fromChinese
一种指纹解锁时间测试方法及移动终端A fingerprint unlocking time testing method and mobile terminal

技术领域technical field

本发明涉及电子设备领域,具体涉及一种指纹解锁时间测试方法及移动终端。The invention relates to the field of electronic equipment, in particular to a fingerprint unlocking time testing method and a mobile terminal.

背景技术Background technique

随着信息技术的快速发展,移动终端(如手机、平板电脑等等)使用越来越普及,指纹识别技术作为移动终端的标配技术,已经在移动终端上进行了广泛使用。市面上指纹识别模组已经成为智能终端的标准配置,指纹用于指纹解锁也成为指纹终端的基本功能,指纹识别可以用于屏幕解锁、文件/程序加密、移动支付等。With the rapid development of information technology, the use of mobile terminals (such as mobile phones, tablet computers, etc.) is becoming more and more popular. As a standard technology of mobile terminals, fingerprint identification technology has been widely used in mobile terminals. The fingerprint recognition module on the market has become the standard configuration of smart terminals, and the use of fingerprints for fingerprint unlocking has also become the basic function of fingerprint terminals. Fingerprint recognition can be used for screen unlocking, file/program encryption, and mobile payment.

目前来看,通常会通过测试人员通过高速摄像头测试解锁时间,但是,该方式高速摄像头较为昂贵,且测试过程较为繁琐,因而,降低了指纹解锁时间测试效率。At present, the unlocking time is usually tested by a tester through a high-speed camera. However, the high-speed camera in this method is expensive and the testing process is cumbersome, thus reducing the efficiency of fingerprint unlocking time testing.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种指纹解锁时间测试方法及移动终端,可提高指纹解锁时间测试效率。The embodiments of the present invention provide a fingerprint unlocking time testing method and a mobile terminal, which can improve the fingerprint unlocking time testing efficiency.

本发明实施例第一方面提供了一种指纹解锁时间测试方法,包括:A first aspect of the embodiments of the present invention provides a fingerprint unlocking time test method, including:

获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数;Obtaining N fingerprint unlocking times, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is the life cycle time of the fingerprint identification operation in a specified stage, The N is a positive integer;

根据所述N个指纹解锁时间确定测试时间。The test time is determined according to the N fingerprint unlock times.

本发明实施例第二方面提供了一种移动终端,包括:A second aspect of the embodiments of the present invention provides a mobile terminal, including:

第一获取单元,用于获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数;The first obtaining unit is used to obtain N fingerprint unlocking times, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is the fingerprint identification operation at The life cycle time of the specified stage, the N is a positive integer;

确定单元,用于根据所述N个指纹解锁时间确定测试时间。A determination unit, configured to determine the test time according to the N fingerprint unlock times.

本发明实施例第三方面提供了一种移动终端,包括:A third aspect of the embodiments of the present invention provides a mobile terminal, including:

处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行第一方面所描述的方法的部分或者全部步骤。A processor and a memory; wherein, the processor executes part or all of the steps of the method described in the first aspect by invoking codes or instructions in the memory.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

可以看出,通过本发明实施例,获取N个指纹解锁时间,该N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,该指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,N为正整数,根据该N个指纹解锁时间确定测试时间。如此,移动终端可直接将生命周期时间作为指纹解锁时间,自身便可以统计指纹解锁时间,可提高指纹解锁时间测试效率。It can be seen that, through the embodiment of the present invention, N fingerprint unlocking times are obtained, and each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is a fingerprint recognition operation. In the life cycle time of the specified stage, N is a positive integer, and the test time is determined according to the unlocking time of the N fingerprints. In this way, the mobile terminal can directly use the life cycle time as the fingerprint unlocking time, and can count the fingerprint unlocking time by itself, which can improve the fingerprint unlocking time test efficiency.

附图说明Description of drawings

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

图1是本发明实施例提供的一种指纹解锁时间测试方法的第一实施例流程示意图;1 is a schematic flowchart of a first embodiment of a fingerprint unlocking time testing method provided by an embodiment of the present invention;

图1a是本发明实施例提供的指纹解锁时间的演示示意图;Fig. 1a is a demonstration schematic diagram of fingerprint unlocking time provided by an embodiment of the present invention;

图2是本发明实施例提供的一种指纹解锁时间测试方法的第二实施例流程示意图;2 is a schematic flowchart of a second embodiment of a fingerprint unlocking time testing method provided by an embodiment of the present invention;

图3a是本发明实施例提供的一种移动终端的第一实施例结构示意图;3a is a schematic structural diagram of a first embodiment of a mobile terminal provided by an embodiment of the present invention;

图3b是本发明实施例提供的图3a所描述的移动终端的第一获取单元的结构示意图;3b is a schematic structural diagram of a first acquisition unit of the mobile terminal described in FIG. 3a according to an embodiment of the present invention;

图3c是本发明实施例提供的图3a所描述的移动终端的第一获取单元的又一结构示意图;FIG. 3c is another schematic structural diagram of the first acquisition unit of the mobile terminal described in FIG. 3a according to an embodiment of the present invention;

图3d是本发明实施例提供的图3a所描述的移动终端的确定单元的结构示意图;3d is a schematic structural diagram of a determination unit of the mobile terminal described in FIG. 3a according to an embodiment of the present invention;

图3e是本发明实施例提供的图3a所描述的移动终端的又一结构示意图;FIG. 3e is another schematic structural diagram of the mobile terminal described in FIG. 3a according to an embodiment of the present invention;

图4是本发明实施例提供的一种移动终端的第二实施例结构示意图;4 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention;

图5是本发明实施例提供的一种手机的实施例结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of a mobile phone according to an embodiment of the present invention.

具体实施方式Detailed ways

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

本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。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 appearance of this phrase in various places in the specification is not necessarily all referring to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with 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.

本发明实施例所描述移动终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,MobileInternet Devices)或穿戴式设备等,上述仅是举例,而非穷举,包含但不限于上述移动终端。The mobile terminals described in the embodiments of the present invention may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, handheld computers, notebook computers, mobile Internet devices (MID, Mobile Internet Devices), or wearable devices, etc., The above are only examples, not exhaustive, including but not limited to the above mobile terminals.

需要说明的是,本发明实施例中,黑屏解锁为移动终端处于黑屏状态下,对移动终端实现指纹解锁,以进入移动终端的桌面。亮屏解锁为移动终端处于亮屏状态下,对移动终端实现指纹解锁,以进入移动终端的桌面。应用解锁为移动终端处于解锁状态下,但是移动终端的某一应用的某个页面需要解锁,例如,进入应用的主页面需要指纹解锁,又例如,实现指纹支付。针对不同的应用,其指纹解锁时间也可能不一样。针对不同的指纹模板,其对应的指纹解锁时间也不一样。针同一应用,不同应用场景下的指纹解锁时间也不一样,例如,微信指纹解锁中的两个场景为例,指纹解锁进入主页面和指纹解锁实现指纹支付。因而,本发明实施例中可为每一场景下的指纹提供一种测试方法。It should be noted that, in this embodiment of the present invention, the black screen unlocking means that when the mobile terminal is in a black screen state, the mobile terminal is unlocked with a fingerprint to enter the desktop of the mobile terminal. Bright screen unlocking means that when the mobile terminal is in a bright screen state, the mobile terminal is unlocked with a fingerprint to access the desktop of the mobile terminal. Application unlocking means that the mobile terminal is in an unlocked state, but a certain page of a certain application of the mobile terminal needs to be unlocked, for example, fingerprint unlocking is required to enter the main page of the application, and for example, fingerprint payment is realized. For different applications, the fingerprint unlock time may also be different. For different fingerprint templates, the corresponding fingerprint unlock time is also different. For the same application, the fingerprint unlocking time in different application scenarios is different. For example, take two scenarios in WeChat fingerprint unlocking as an example, fingerprint unlocking to enter the home page and fingerprint unlocking to realize fingerprint payment. Therefore, in this embodiment of the present invention, a method for testing fingerprints in each scenario can be provided.

请参阅图1,为本发明实施例提供的一种指纹解锁时间测试方法的第一实施例流程示意图。本实施例中所描述的指纹解锁时间测试方法,包括以下步骤:Please refer to FIG. 1 , which is a schematic flowchart of a first embodiment of a fingerprint unlocking time testing method provided by an embodiment of the present invention. The fingerprint unlocking time test method described in this embodiment includes the following steps:

101、获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数。101. Obtain N fingerprint unlocking times, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from a fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is the life cycle of the fingerprint identification operation at a specified stage time, the N is a positive integer.

其中,上述指纹识别操作可为用户触摸到指纹识别模组直到实现指纹解锁的一整个流程,在这个过程中可包含多个阶段,即:采图阶段(采集指纹图像的阶段)、图像匹配阶段(将采集到的指纹图像与预设指纹模板匹配的阶段)、事件传递阶段(将匹配结果进行传递的阶段)、解锁阶段和亮屏阶段。上述指纹识别操作的指定阶段可包含上述至少一个阶段。上述N个指纹解锁时间中每一指纹解锁时间为实现成功指纹解锁的指纹解锁时间,即每一指纹解锁时间与一次成功指纹解锁对应。具体实现中,每次实现指纹解锁的指纹解锁时间不一样,因而,可将多次指纹解锁时间的均值作为指纹解锁时间,例如,可将多次黑屏解锁的指纹解锁时间的均值作为黑屏状态下的指纹解锁时间,又例如,可将多次亮屏解锁的指纹解锁时间的均值作为亮屏状态下的指纹解锁时间,又例如,可将多次在微信支付下,进行指纹解锁的指纹解锁时间的均值作为微信支付状态下的指纹解锁时间。当然,本发明实施例还可以对每一阶段的指纹解锁时间进行测试。The above fingerprint recognition operation can be a whole process from the user touching the fingerprint recognition module until the unlocking of the fingerprint is realized, and this process can include multiple stages, namely: the image collection stage (the stage of collecting fingerprint images), the image matching stage (the phase of matching the collected fingerprint image with the preset fingerprint template), the event transmission phase (the phase of transmitting the matching result), the unlocking phase and the bright screen phase. The specified stages of the fingerprinting operation described above may include at least one of the stages described above. In the above N fingerprint unlocking times, each fingerprint unlocking time is the fingerprint unlocking time for realizing successful fingerprint unlocking, that is, each fingerprint unlocking time corresponds to one successful fingerprint unlocking. In the specific implementation, the fingerprint unlocking time is different each time the fingerprint is unlocked. Therefore, the average value of multiple fingerprint unlocking times can be used as the fingerprint unlocking time. For another example, the average value of the fingerprint unlocking time of the screen-on-screen unlocking can be used as the fingerprint unlocking time in the bright-screen state. The average value of is used as the fingerprint unlocking time in the WeChat payment state. Of course, in this embodiment of the present invention, the fingerprint unlocking time of each stage can also be tested.

可选地,上述N个指纹解锁时间可包含黑屏解锁的指纹解锁时间、亮屏解锁的指纹解锁时间和应用解锁的指纹解锁时间中的至少一个。上述N个指纹解锁可为预设时间段的N个指纹解锁时间,例如,预设时间段可为距离当前时间最近的一段时间。如此,移动终端可获取N个指纹解锁时间,该N个指纹解锁时间中每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,上述预设全局句柄保存在指纹服务FingerprintService,用来传递消息给指纹解锁应用,该全局句柄在指纹解锁应用使用指纹时创建,作为该应用的标识。Optionally, the above N fingerprint unlocking times may include at least one of a fingerprint unlocking time for black screen unlocking, a fingerprint unlocking time for bright screen unlocking, and a fingerprint unlocking time for application unlocking. The above-mentioned N fingerprint unlocking times may be N fingerprint unlocking times within a preset time period, for example, the preset time period may be a period of time closest to the current time. In this way, the mobile terminal can obtain N fingerprint unlocking times, and each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, which is stored in the fingerprint service FingerprintService and used to transmit The message is sent to the fingerprint unlocking application, and the global handle is created when the fingerprint unlocking application uses the fingerprint, as the identification of the application.

可选地,在指纹解锁过程中,指纹解锁应用之所以能够获取指纹的消息,是因为指纹解锁应用在申请使用指纹的时候将预设全局句柄传递至系统服务,而系统通过预设全局句柄识别需要将消息传递至哪个应用,预设全局句柄的生命周期与指纹解锁应用使用指纹的生命周期是一样的,即假设指纹解锁应用使用指纹完成解锁,则该预设全局句柄就会被清理掉。Optionally, in the fingerprint unlocking process, the reason why the fingerprint unlocking application can obtain the information of the fingerprint is because the fingerprint unlocking application transmits the preset global handle to the system service when applying for using the fingerprint, and the system recognizes the fingerprint through the preset global handle. To which application the message needs to be delivered, the life cycle of the preset global handle is the same as the life cycle of the fingerprint unlocking application using the fingerprint, that is, if the fingerprint unlocking application uses the fingerprint to complete the unlocking, the preset global handle will be cleared.

可选地,上述指纹识别操作可对应指定的匹配阈值,在指纹图像与预设指纹模板进行匹配时,指纹图像与预设指纹模板之间的匹配值大于匹配阈值的情况下,可实现指纹解锁。如此,可对不同匹配阈值情况下的指纹解锁时间进行测试。Optionally, the above-mentioned fingerprint identification operation may correspond to a specified matching threshold, and when the fingerprint image and the preset fingerprint template are matched, and the matching value between the fingerprint image and the preset fingerprint template is greater than the matching threshold, the fingerprint unlocking can be realized. . In this way, the fingerprint unlocking time under different matching thresholds can be tested.

可选地,上述步骤101中,获取N个指纹解锁时间,可包括如下步骤:Optionally, in theabove step 101, acquiring N fingerprint unlock times may include the following steps:

11)、获取指纹解锁类别,所述指纹解锁类别为以下至少一种:黑屏解锁、亮屏解锁和应用解锁;11), obtain a fingerprint unlocking category, the fingerprint unlocking category is at least one of the following: black screen unlocking, bright screen unlocking and application unlocking;

12)、获取与所述指纹解锁类别对应的所述N个指纹解锁时间。12) Obtain the N fingerprint unlock times corresponding to the fingerprint unlock categories.

其中,上述指纹解锁类别可为以下至少一种:黑屏解锁、亮屏解锁和应用解锁。当然,应用解锁可理解为需要进行指纹解锁的应用,如:指纹支付,指纹加密后的文件夹,指纹加密后的音视频等等。因而,移动终端可获取指纹解锁类别,不同的指纹解锁类别从存储器中提取的指纹解锁时间不一样,因而,可得到N个指纹解锁时间。如此,可实现对不同指纹解锁类别的指纹解锁时间进行测试,提高了指纹解锁时间测试效率。The above fingerprint unlocking category may be at least one of the following: black screen unlocking, bright screen unlocking, and application unlocking. Of course, application unlocking can be understood as applications requiring fingerprint unlocking, such as: fingerprint payment, fingerprint-encrypted folders, fingerprint-encrypted audio and video, and so on. Therefore, the mobile terminal can obtain the fingerprint unlocking category, and the fingerprint unlocking time extracted from the memory is different for different fingerprint unlocking categories. Therefore, N fingerprint unlocking times can be obtained. In this way, the fingerprint unlocking time of different fingerprint unlocking categories can be tested, and the efficiency of fingerprint unlocking time testing is improved.

可选地,上述步骤101中,获取N个指纹解锁时间,可包括如下步骤:Optionally, in theabove step 101, acquiring N fingerprint unlock times may include the following steps:

13)、获取当前应用的目标标识信息;13), obtain the target identification information of the current application;

14)、获取与所述目标标识信息对应的所述N个指纹解锁时间。14) Obtain the N fingerprint unlock times corresponding to the target identification information.

其中,每一应用对应一个标识信息,不同的标识信息对应不同的应用,如此,可获取当前应用的目标标识信息,若当前应用为微信,可获取与微信相关的N个指纹解锁时间,如此,可对微信应用的指纹解锁时间实现测试。进而,可实现对不同应用的指纹解锁时间进行测试。Among them, each application corresponds to one identification information, and different identification information corresponds to different applications. In this way, the target identification information of the current application can be obtained. If the current application is WeChat, N fingerprint unlocking times related to WeChat can be obtained. In this way, The fingerprint unlock time of the WeChat application can be tested. Furthermore, the fingerprint unlocking time of different applications can be tested.

可选地,不同图像匹配算法对应的指纹解锁时间不一样,因而,移动终端中可预先存储多个图像匹配算法,因而,可获取与指定图像匹配算法对应的N个指纹解锁时间。又例如,可获取指定图像匹配算法以及指纹解锁类别对应的N个指纹解锁时间,如此,可在不同的图像匹配算法,对指纹解锁时间进行研究。Optionally, the fingerprint unlocking times corresponding to different image matching algorithms are different. Therefore, multiple image matching algorithms may be stored in the mobile terminal in advance, and thus N fingerprint unlocking times corresponding to the specified image matching algorithms may be obtained. For another example, the specified image matching algorithm and N fingerprint unlocking times corresponding to the fingerprint unlocking category can be obtained. In this way, different image matching algorithms can be used to study the fingerprint unlocking time.

可选地,上述步骤101中,获取N个指纹解锁时间,可包括如下步骤:Optionally, in theabove step 101, acquiring N fingerprint unlock times may include the following steps:

获取当前用户信息,获取与当前用户信息对应的N个指纹解锁时间。当前用户信息可为:用户名、用户密码和用户账号中的至少一个。当然,同一移动终端中存储多个用户,由于不同的用户,用于指纹解锁的指纹模板不一样,因而,其对应的指纹解锁时间不一样,如此,可实现对不同用户的指纹解锁时间进行研究。Obtain current user information, and obtain N fingerprint unlock times corresponding to the current user information. The current user information can be at least one of a user name, a user password and a user account. Of course, multiple users are stored in the same mobile terminal. Since different users have different fingerprint templates for fingerprint unlocking, their corresponding fingerprint unlocking times are different. In this way, the fingerprint unlocking time of different users can be studied. .

102、根据所述N个指纹解锁时间确定测试时间。102. Determine a test time according to the N fingerprint unlock times.

其中,移动终端可根据N个指纹解锁时间确定测试时间,例如,可将N个指纹解锁时间的均值作为确定时间。如图1a所示,黑屏解锁下,5次成功进行指纹解锁,其均值为238ms。The mobile terminal may determine the test time according to the N fingerprint unlocking times, for example, the average value of the N fingerprint unlocking times may be used as the determination time. As shown in Figure 1a, under the black screen unlocking, the fingerprint unlocking is performed successfully for 5 times, and the average value is 238ms.

可选地,上述步骤102中,根据所述N个指纹解锁时间确定测试时间,可包括如下步骤:Optionally, in theabove step 102, determining the test time according to the N fingerprint unlock times may include the following steps:

21)、对所述N个指纹解锁时间进行筛选,得到M个指纹解锁时间,所述M为小于所述N的正整数;21), screen the N fingerprint unlocking times to obtain M fingerprint unlocking times, where M is a positive integer less than the N;

22)、将所述M个指纹解锁时间的均值作为所述测试时间。22), taking the average value of the unlocking times of the M fingerprints as the test time.

其中,上述N个指纹解锁时间之间的差异性可能有所区别,毕竟在每次用户输入的指纹图像不一样,在实现指纹匹配的过程中,匹配的时间不一样,例如,若用户输入的指纹图像为干手指或者湿手指的指纹图像,则移动终端还可能对其进行图像增强处理,因而,会增加额外的处理时间,造成最终的指纹解锁时间相对正常情况下会长点。因而,可对N个指纹解锁时间作进一步筛选,筛选后,可得到M个指纹解锁时间,将该M个指纹解锁时间的均值作为测试时间。当然,上述M个指纹解锁时间也可以为干手指情况下的指纹解锁时间,和/或湿手指情况下的指纹解锁时间,如此,可对特殊情况下的指纹解锁时间进行测试。Among them, the difference between the above-mentioned N fingerprint unlocking times may be different. After all, the fingerprint images input by the user are different each time, and the matching time is different in the process of realizing fingerprint matching. For example, if the user input If the fingerprint image is a fingerprint image of a dry finger or a wet finger, the mobile terminal may also perform image enhancement processing on it. Therefore, additional processing time will be added, and the final fingerprint unlocking time will be longer than normal. Therefore, N fingerprint unlocking times can be further screened. After screening, M fingerprint unlocking times can be obtained, and the average value of the M fingerprint unlocking times can be used as the test time. Of course, the above-mentioned M fingerprint unlocking times may also be fingerprint unlocking times under dry fingers, and/or fingerprint unlocking times under wet fingers, so that fingerprint unlocking times in special cases can be tested.

可选地,上述N个指纹解锁时间中每一指纹解锁时间对应一个匹配值;上述步骤21中,对所述N个指纹解锁时间进行筛选,可包括如下步骤:Optionally, each fingerprint unlocking time in the above N fingerprint unlocking times corresponds to a matching value; in the above step 21, screening the N fingerprint unlocking times may include the following steps:

从所述N个匹配值中选取匹配值大于预设阈值的M个匹配值,并获取其对应的指纹解锁时间。M matching values whose matching values are greater than a preset threshold are selected from the N matching values, and their corresponding fingerprint unlocking times are obtained.

其中,上述预设阈值可由用户自行设置或者系统默认。在指纹图像与预设指纹模板之间的匹配值大于匹配阈值时,才可实现指纹解锁,而上述预设阈值则大于匹配阈值,如此,可实现对不同匹配阈值情况下的指纹解锁时间进行测试。The above-mentioned preset threshold can be set by the user or the system defaults. Only when the matching value between the fingerprint image and the preset fingerprint template is greater than the matching threshold, the fingerprint unlocking can be realized, and the above-mentioned preset threshold is greater than the matching threshold. In this way, the fingerprint unlocking time under different matching thresholds can be tested. .

可以看出,通过本发明实施例,获取N个指纹解锁时间,该N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,该指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,N为正整数,根据该N个指纹解锁时间确定测试时间。如此,移动终端可直接将生命周期时间作为指纹解锁时间,自身便可以统计指纹解锁时间,可提高指纹解锁时间测试效率。进一步地可以看出,本发明实施例可以对不同场景(黑屏解锁、亮屏解锁以及应用解锁,还可以为:干手指和/或湿手指),不同匹配参数(如:匹配阈值、指纹模板、不同用户),不同阶段(采图阶段、图像匹配阶段、事件传递阶段(将匹配结果进行传递的阶段)、解锁阶段和亮屏阶段)进行指纹解锁时间测试,如此,可为用户提供更为详细的数据。It can be seen that, through the embodiment of the present invention, N fingerprint unlocking times are obtained, and each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is a fingerprint recognition operation. In the life cycle time of the specified stage, N is a positive integer, and the test time is determined according to the unlocking time of the N fingerprints. In this way, the mobile terminal can directly use the life cycle time as the fingerprint unlocking time, and can count the fingerprint unlocking time by itself, which can improve the fingerprint unlocking time test efficiency. It can be further seen that the embodiment of the present invention can be used for different scenarios (unlocking the black screen, unlocking the bright screen, and application unlocking, and also: dry fingers and/or wet fingers), different matching parameters (such as: matching threshold, fingerprint template, Different users), different stages (image acquisition stage, image matching stage, event transfer stage (the stage in which the matching result is delivered), unlock stage and screen bright stage) to conduct fingerprint unlock time test, in this way, it can provide users with more detailed The data.

与上述一致地,请参阅图2,为本发明实施例提供的一种指纹解锁时间测试方法的第二实施例流程示意图。本实施例中所描述的指纹解锁时间测试方法,包括以下步骤:Consistent with the above, please refer to FIG. 2 , which is a schematic flowchart of a second embodiment of a fingerprint unlocking time test method provided by an embodiment of the present invention. The fingerprint unlocking time test method described in this embodiment includes the following steps:

201、在当前指纹图像被识别成功时,获取与所述当前指纹图像对应的指纹模板。201. When the current fingerprint image is successfully identified, acquire a fingerprint template corresponding to the current fingerprint image.

其中,当前指纹图像是在用户按压指纹识别模组之后,采集到的指纹图像,并且其与预设指纹模板之间的匹配值大于上述匹配阈值,如此,当前指纹图像被识别成功时,可获取与当前指纹图像对应的指纹模板,可获取该指纹模板对应的指纹解锁时间。The current fingerprint image is the fingerprint image collected after the user presses the fingerprint recognition module, and the matching value between it and the preset fingerprint template is greater than the above matching threshold. In this way, when the current fingerprint image is successfully recognized, it can be obtained The fingerprint template corresponding to the current fingerprint image can obtain the fingerprint unlocking time corresponding to the fingerprint template.

202、根据所述指纹模板,获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数。202. Obtain N fingerprint unlocking times according to the fingerprint template, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from a fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is a fingerprint identification operation. The N is a positive integer during the lifetime of the specified phase.

其中,每一指纹模板在每一次指纹解锁成功之后,均可记录一个指纹解锁时间,因而,可根据上述步骤201中的指纹模板获取与之对应的N个指纹解锁时间,如此,可实现对每一指纹模板的指纹解锁时间进行测试。Wherein, each fingerprint template can record one fingerprint unlocking time after each fingerprint is unlocked successfully. Therefore, N corresponding fingerprint unlocking times can be obtained according to the fingerprint template in the above-mentionedstep 201. The fingerprint unlock time of a fingerprint template is tested.

203、根据所述N个指纹解锁时间确定测试时间。203. Determine a test time according to the N fingerprint unlock times.

其中,上述步骤202-步骤203的具体描述可参照图1所描述的指纹解锁时间测试方法的对应步骤。The specific description of the above steps 202 to 203 may refer to the corresponding steps of the fingerprint unlocking time test method described in FIG. 1 .

可以看出,通过本发明实施例,在当前指纹图像被识别成功时,获取与该当前指纹图像对应的指纹模板,并根据该指纹模板获取N个指纹解锁时间,该N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,该指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,N为正整数,根据该N个指纹解锁时间确定测试时间。如此,移动终端可直接将生命周期时间作为指纹解锁时间,自身便可以统计指纹解锁时间,可提高指纹解锁时间测试效率。It can be seen that, according to the embodiment of the present invention, when the current fingerprint image is successfully identified, a fingerprint template corresponding to the current fingerprint image is obtained, and N fingerprint unlocking times are obtained according to the fingerprint template. Each fingerprint unlocking time is obtained from the fingerprint unlocking application through a preset global handle. The fingerprint unlocking time is the life cycle time of the fingerprint identification operation in the specified stage, N is a positive integer, and the test time is determined according to the N fingerprint unlocking times. In this way, the mobile terminal can directly use the life cycle time as the fingerprint unlocking time, and can count the fingerprint unlocking time by itself, which can improve the fingerprint unlocking time test efficiency.

与上述一致地,以下为实施上述指纹解锁时间测试方法的装置,具体如下:Consistent with the above, the following is a device for implementing the above fingerprint unlocking time test method, specifically as follows:

请参阅图3a,为本发明实施例提供的一种移动终端的第一实施例结构示意图。本实施例中所描述的移动终端,包括:第一获取单元301和确定单元302,具体如下:Please refer to FIG. 3 a , which is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present invention. The mobile terminal described in this embodiment includes: a first obtainingunit 301 and a determiningunit 302, and the details are as follows:

第一获取单元301,用于获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数;The first obtainingunit 301 is used to obtain N fingerprint unlocking times, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from a fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is a fingerprint identification operation. During the life cycle time of the specified stage, the N is a positive integer;

确定单元302,用于根据所述N个指纹解锁时间确定测试时间。The determiningunit 302 is configured to determine the test time according to the N fingerprint unlock times.

可选地,如图3b,图3b为图3a所描述的移动终端的第一获取单元301的具体细化结构,所述第一获取单元301可包括:第一获取模块3011和第二获取模块3012,具体如下:Optionally, as shown in FIG. 3b, FIG. 3b is a detailed structure of the first obtainingunit 301 of the mobile terminal described in FIG. 3a, the first obtainingunit 301 may include: a first obtainingmodule 3011 and a second obtainingmodule 3012, as follows:

第一获取模块3011,用于获取指纹解锁类别,所述指纹解锁类别为以下至少一种:黑屏解锁、亮屏解锁和应用解锁;Thefirst acquisition module 3011 is used to acquire a fingerprint unlocking category, and the fingerprint unlocking category is at least one of the following: black screen unlocking, bright screen unlocking and application unlocking;

第二获取模块3012,用于获取与所述指纹解锁类别对应的所述N个指纹解锁时间。The second acquiringmodule 3012 is configured to acquire the N fingerprint unlocking times corresponding to the fingerprint unlocking categories.

可选地,如图3c,图3c为图3a所描述的移动终端的第一获取单元301的具体细化结构,所述第一获取单元301可包括:第三获取模块3013和第四获取模块3014,具体如下:Optionally, as shown in Fig. 3c, Fig. 3c is a detailed structure of the first obtainingunit 301 of the mobile terminal described in Fig. 3a, the first obtainingunit 301 may include: a third obtainingmodule 3013 and a fourth obtainingmodule 3014, as follows:

第三获取模块3013,用于获取当前应用的目标标识信息;The third obtainingmodule 3013 is used to obtain the target identification information of the current application;

第四获取模块3014,用于获取与所述目标标识信息对应的所述N个指纹解锁时间。The fourth obtainingmodule 3014 is configured to obtain the N fingerprint unlocking times corresponding to the target identification information.

可选地,如图3d,图3d为图3a所描述的移动终端的确定单元302的具体细化结构,所述确定单元302可包括:筛选模块3021和确定模块3022,具体如下:Optionally, as shown in FIG. 3d, FIG. 3d is a detailed structure of thedetermination unit 302 of the mobile terminal described in FIG. 3a. Thedetermination unit 302 may include: ascreening module 3021 and adetermination module 3022, as follows:

筛选模块3021,用于对所述N个指纹解锁时间进行筛选,得到M个指纹解锁时间,所述M为小于所述N的正整数;Screening module 3021, configured to screen the N fingerprint unlock times to obtain M fingerprint unlock times, where M is a positive integer smaller than the N;

确定模块3022,用于将所述M个指纹解锁时间的均值作为所述测试时间。Adetermination module 3022, configured to use the average value of the M fingerprint unlock times as the test time.

进一步可选地,所述N个指纹解锁时间中每一指纹解锁时间对应一个匹配值;所述筛选模块3022可具体用于:Further optionally, each fingerprint unlocking time in the N fingerprint unlocking times corresponds to a matching value; thescreening module 3022 can be specifically used for:

从所述N个匹配值中选取匹配值大于预设阈值的M个匹配值,并获取其对应的指纹解锁时间。M matching values whose matching values are greater than a preset threshold are selected from the N matching values, and their corresponding fingerprint unlocking times are obtained.

可选地,如图3e,图3e为图3a所描述的移动终端的又一变型结构,图3e与图3a相比较,其还可进一步包括:第二获取单元303,具体如下:Optionally, as shown in FIG. 3e, FIG. 3e is another modified structure of the mobile terminal described in FIG. 3a. Compared with FIG. 3a, FIG. 3e may further include: a second obtainingunit 303, as follows:

第二获取单元303,用于在当前指纹图像被识别成功时,获取与所述当前指纹图像对应的指纹模板,由所述第一获取单元301根据该指纹模板,获取N个指纹解锁时间。The second obtainingunit 303 is configured to obtain a fingerprint template corresponding to the current fingerprint image when the current fingerprint image is successfully identified, and the first obtainingunit 301 obtains N fingerprint unlock times according to the fingerprint template.

可以看出,通过本发明实施例所描述的移动终端,可获取N个指纹解锁时间,该N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,该指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,N为正整数,根据该N个指纹解锁时间确定测试时间。如此,移动终端可直接将生命周期时间作为指纹解锁时间,自身便可以统计指纹解锁时间,可提高指纹解锁时间测试效率。It can be seen that, through the mobile terminal described in the embodiment of the present invention, N fingerprint unlocking times can be obtained, and each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle. The unlock time is the life cycle time of the fingerprint identification operation in the specified stage, N is a positive integer, and the test time is determined according to the N fingerprint unlock times. In this way, the mobile terminal can directly use the life cycle time as the fingerprint unlocking time, and can count the fingerprint unlocking time by itself, which can improve the fingerprint unlocking time test efficiency.

与上述一致地,请参阅图4,为本发明实施例提供的一种移动终端的第二实施例结构示意图。本实施例中所描述的移动终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。Consistent with the above, please refer to FIG. 4 , which is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention. The mobile terminal described in this embodiment includes: at least oneinput device 1000; at least oneoutput device 2000; at least oneprocessor 3000, such as a CPU; Thememory 4000 is connected through thebus 5000 .

其中,上述输入设备1000具体可为触控面板、物理按键或者鼠标。The above-mentionedinput device 1000 may specifically be a touch panel, a physical button or a mouse.

上述输出设备2000具体可为显示屏。The above-mentionedoutput device 2000 may specifically be a display screen.

上述存储器4000可以是高速RAM存储器,也可为非易失存储器(non-volatilememory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The above-mentionedmemory 4000 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory. The above-mentionedmemory 4000 is used to store a set of program codes, and the above-mentionedinput device 1000,output device 2000 andprocessor 3000 are used to call the program codes stored in thememory 4000, and perform the following operations:

上述处理器3000,用于:Theabove processor 3000 is used for:

获取N个指纹解锁时间,所述N个指纹解锁时间中的每一指纹解锁时间均通过预设全局句柄从指纹解锁应用获取,所述指纹解锁时间为指纹识别操作在指定阶段的生命周期时间,所述N为正整数;Obtaining N fingerprint unlocking times, each fingerprint unlocking time in the N fingerprint unlocking times is obtained from the fingerprint unlocking application through a preset global handle, and the fingerprint unlocking time is the life cycle time of the fingerprint identification operation in a specified stage, The N is a positive integer;

根据所述N个指纹解锁时间确定测试时间。The test time is determined according to the N fingerprint unlock times.

可选地,上述处理器3000获取N个指纹解锁时间,包括:Optionally, the above-mentionedprocessor 3000 obtains N fingerprint unlock times, including:

获取指纹解锁类别,所述指纹解锁类别为以下至少一种:黑屏解锁、亮屏解锁和应用解锁;Obtain a fingerprint unlocking category, where the fingerprint unlocking category is at least one of the following: black screen unlocking, bright screen unlocking, and application unlocking;

获取与所述指纹解锁类别对应的所述N个指纹解锁时间。Acquire the N fingerprint unlock times corresponding to the fingerprint unlock categories.

可选地,上述处理器3000获取N个指纹解锁时间,包括:Optionally, the above-mentionedprocessor 3000 obtains N fingerprint unlock times, including:

获取当前应用的目标标识信息;Get the target identification information of the current application;

获取与所述目标标识信息对应的所述N个指纹解锁时间。Obtain the N fingerprint unlock times corresponding to the target identification information.

可选地,上述处理器3000根据所述N个指纹解锁时间确定测试时间,包括:Optionally, theprocessor 3000 determines the test time according to the N fingerprint unlock times, including:

对所述N个指纹解锁时间进行筛选,得到M个指纹解锁时间,所述M为小于所述N的正整数;Screening the N fingerprint unlocking times to obtain M fingerprint unlocking times, where M is a positive integer less than the N;

将所述M个指纹解锁时间的均值作为所述测试时间。The average value of the unlocking times of the M fingerprints is taken as the test time.

可选地,所述N个指纹解锁时间中每一指纹解锁时间对应一个匹配值;上述处理器3000,对所述N个指纹解锁时间进行筛选,包括:Optionally, each fingerprint unlocking time in the N fingerprint unlocking times corresponds to a matching value; the above-mentionedprocessor 3000, screening the N fingerprint unlocking times, includes:

从所述N个匹配值中选取匹配值大于预设阈值的M个匹配值,并获取其对应的指纹解锁时间。M matching values whose matching values are greater than a preset threshold are selected from the N matching values, and their corresponding fingerprint unlocking times are obtained.

可选地,上述处理器3000具体用于:Optionally, the above-mentionedprocessor 3000 is specifically used for:

在当前指纹图像被识别成功时,获取与所述当前指纹图像对应的指纹模板,根据该指纹模板,执行所述获取N个指纹解锁时间。When the current fingerprint image is successfully identified, a fingerprint template corresponding to the current fingerprint image is acquired, and according to the fingerprint template, the acquisition of N fingerprint unlock times is performed.

图5示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、传感器550、音频电路560、无线保真(Wireless Fidelity,Wi-Fi)模块570、处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 5 , the mobile phone includes: a radio frequency (RF)circuit 510, amemory 520, aninput unit 530, adisplay unit 540, asensor 550, anaudio circuit 560, a wireless fidelity (Wi-Fi)module 570, aprocessing 580, and thepower supply 590 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 5 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.

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

RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。TheRF circuit 510 can be used for receiving and sending signals during sending and receiving of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by theprocessor 580; in addition, the designed uplink data is sent to the base station. Typically, theRF circuit 510 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 510 may also 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) , 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.

存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 520 can be used to store software programs and modules, and theprocessor 580 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in thememory 520 . Thememory 520 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 520 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.

输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Theinput unit 530 may be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the mobile phone. Specifically, theinput unit 530 may include atouch panel 531 andother input devices 532 . Thetouch panel 531, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 531). operation), and drive the corresponding connection device according to the preset program. Optionally, thetouch 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, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 580, and can receive the command sent by theprocessor 580 and execute it. In addition, thetouch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to thetouch panel 531 , theinput unit 530 may further includeother input devices 532 . Specifically,other input devices 532 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。Thedisplay unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. Thedisplay unit 540 may include adisplay panel 541, and optionally, thedisplay panel 541 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. Further, thetouch panel 531 may cover thedisplay panel 541, and when thetouch panel 531 detects a touch operation on or near it, it transmits it to theprocessor 580 to determine the type of the touch event, and then theprocessor 580 determines the type of the touch event according to the touch event. Type provides corresponding visual output ondisplay panel 541 . Although in FIG. 5, thetouch panel 531 and thedisplay panel 541 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, thetouch panel 531 and thedisplay panel 541 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least onesensor 550, 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 thedisplay panel 541 according to the brightness of the ambient light, and the proximity sensor may turn off thedisplay 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 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.

音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。Theaudio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the mobile phone. Theaudio circuit 560 can transmit the received audio data converted electrical signal to the speaker 561, and the speaker 561 converts it into a sound signal for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is converted by theaudio circuit 560 After receiving, it is converted into audio data, and then the audio data is output to theprocessor 580 for processing, and then sent to, for example, another mobile phone through theRF circuit 510, or the audio data is output to thememory 520 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。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 theWiFi module 570, which provides users with wireless broadband Internet access. Although FIG. 5 shows theWiFi module 570, 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.

处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。Theprocessor 580 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 thememory 520, and calling the data stored in thememory 520. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, theprocessor 580 may include one or more processing units; preferably, theprocessor 580 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 theprocessor 580 .

手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 590 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to theprocessor 580 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.

前述实施例中,各步骤方法流程可以基于该终端的结构实现。其中传感器550可包含接近传感器和湿度传感器,触控面板531可以作为指纹识别模组使用。In the foregoing embodiments, the method flow of each step may be implemented based on the structure of the terminal. Thesensor 550 may include a proximity sensor and a humidity sensor, and thetouch panel 531 may be used as a fingerprint recognition module.

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

尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。While the invention has been described herein in connection with various embodiments, those skilled in the art will understand and understand from a review of the drawings, the disclosure, and the appended claims in practicing the claimed invention. 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或其它有线或无线电信系统。As will be appreciated by those skilled in the art, embodiments of the present invention may be provided as a method, an apparatus (apparatus), or a computer program product. Accordingly, the present invention may 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 in a suitable medium, provided with or as part of other hardware, or may take other forms of distribution, such as over 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 (apparatus) and computer program products according to embodiments of the present invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a 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 function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts 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, this 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. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (14)

acquiring N fingerprint unlocking times, wherein each fingerprint unlocking time in the N fingerprint unlocking times is acquired from a fingerprint unlocking application through a preset global handle, the fingerprint unlocking time is the life cycle time of a fingerprint identification operation at a specified stage, and N is a positive integer; the preset global handle is stored in a fingerprint service and used for transmitting a message to a fingerprint unlocking application, and the global handle is created when the fingerprint unlocking application uses a fingerprint; in the fingerprint unlocking process, the preset global handle is transmitted to system service when the fingerprint unlocking application applies for using the fingerprint, the system identifies that a message needs to be transmitted to the fingerprint unlocking application through the preset global handle, and the life cycle of the preset global handle is the same as that of the fingerprint unlocking application using the fingerprint;
the fingerprint identification device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring N fingerprint unlocking times, each of the N fingerprint unlocking times is acquired from a fingerprint unlocking application through a preset global handle, the fingerprint unlocking time is the life cycle time of a fingerprint identification operation in a specified stage, and N is a positive integer; the preset global handle is stored in a fingerprint service and used for transmitting a message to a fingerprint unlocking application, and the global handle is created when the fingerprint unlocking application uses a fingerprint; in the fingerprint unlocking process, the preset global handle is transmitted to system service when the fingerprint unlocking application applies for using the fingerprint, the system identifies that a message needs to be transmitted to the fingerprint unlocking application through the preset global handle, and the life cycle of the preset global handle is the same as that of the fingerprint unlocking application using the fingerprint;
CN201710162344.6A2017-03-172017-03-17 A fingerprint unlocking time testing method and mobile terminalExpired - Fee RelatedCN107423170B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710162344.6ACN107423170B (en)2017-03-172017-03-17 A fingerprint unlocking time testing method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710162344.6ACN107423170B (en)2017-03-172017-03-17 A fingerprint unlocking time testing method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN107423170A CN107423170A (en)2017-12-01
CN107423170Btrue CN107423170B (en)2020-09-22

Family

ID=60423811

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710162344.6AExpired - Fee RelatedCN107423170B (en)2017-03-172017-03-17 A fingerprint unlocking time testing method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN107423170B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105659522A (en)*2013-09-092016-06-08苹果公司 Apparatus, method and graphical user interface for manipulating user interface based on fingerprint sensor input
CN105824743A (en)*2016-03-142016-08-03广东欧珀移动通信有限公司 A method and mobile terminal for testing unlocking time
CN106022058A (en)*2016-05-272016-10-12广东欧珀移动通信有限公司Fingerprint unlocking method and terminal
CN106096353A (en)*2016-05-272016-11-09广东欧珀移动通信有限公司A kind of solution lock control method and equipment
CN106503516A (en)*2016-09-302017-03-15北京小米移动软件有限公司Terminal, unlocked by fingerprint method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2014182698A1 (en)*2013-05-062014-11-13Sentinl LlcQuick access firearm safety apparatus
CN104978171B (en)*2014-04-032019-06-14腾讯科技(深圳)有限公司It can recognize the output method and device of mark

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105659522A (en)*2013-09-092016-06-08苹果公司 Apparatus, method and graphical user interface for manipulating user interface based on fingerprint sensor input
CN105824743A (en)*2016-03-142016-08-03广东欧珀移动通信有限公司 A method and mobile terminal for testing unlocking time
CN106022058A (en)*2016-05-272016-10-12广东欧珀移动通信有限公司Fingerprint unlocking method and terminal
CN106096353A (en)*2016-05-272016-11-09广东欧珀移动通信有限公司A kind of solution lock control method and equipment
CN106503516A (en)*2016-09-302017-03-15北京小米移动软件有限公司Terminal, unlocked by fingerprint method and device

Also Published As

Publication numberPublication date
CN107423170A (en)2017-12-01

Similar Documents

PublicationPublication DateTitle
CN106126015B (en)A kind of application program launching control method and terminal
CN106127481B (en)A kind of fingerprint method of payment and terminal
CN107025395B (en)Fingerprint identification method and mobile terminal
CN106227437B (en)A kind of unlocked by fingerprint method and terminal
CN106203290B (en)A kind of fingerprint image acquisition method and terminal
CN107622193B (en) Fingerprint unlocking method and related products
CN106951850B (en)A kind of method and mobile terminal controlling fingerprint recognition mould group
CN106203034B (en)A kind of unlocked by fingerprint method and terminal
CN105912919B (en)A kind of unlocked by fingerprint method and terminal
CN105912915A (en)Fingerprint unlocking method and terminal
CN106874725A (en) A fingerprint unlocking method and mobile terminal
CN107451450B (en) Biometric methods and related products
CN105912918A (en)Fingerprint unlocking method and terminal
CN106658354B (en)Data transmission method and equipment
CN106022058B (en)A kind of unlocked by fingerprint method and terminal
CN106066764B (en)A kind of unlocked by fingerprint method and terminal
CN105912920A (en)Fingerprint unlocking method and terminal
CN107330374B (en)Fingerprint registration method and related product
CN107025434A (en) A fingerprint registration method and mobile terminal
CN106127000A (en) A fingerprint unlocking method and terminal
CN106022074B (en)A kind of unlocked by fingerprint method and terminal
CN107609378B (en) Fingerprint unlocking method and related products
CN106022047B (en) A fingerprint unlocking method and terminal
CN107423598B (en)Unlocking control method and mobile terminal
CN107480495B (en) Mobile terminal unlocking method and related products

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
CB02Change 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.

CB02Change of applicant information
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20200922

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp