CN107643818B - Function opening method and device - Google Patents
Function opening method and device Download PDFInfo
- Publication number
- CN107643818B CN107643818B CN201610581687.1A CN201610581687A CN107643818B CN 107643818 B CN107643818 B CN 107643818B CN 201610581687 A CN201610581687 A CN 201610581687A CN 107643818 B CN107643818 B CN 107643818B
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- matching
- template
- fingerprint template
- matching result
- 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.)
- Active
Links
Images
Landscapes
- Collating Specific Patterns (AREA)
Abstract
Description
技术领域technical field
本公开涉及终端技术领域,尤其涉及一种功能开启方法及装置。The present disclosure relates to the technical field of terminals, and in particular, to a method and device for enabling a function.
背景技术Background technique
随着终端技术的发展,指纹识别技术已经普遍应用于终端中。实际应用中指纹识别功能通常与终端的物理按键结合在一起,使得物理按键的触摸区域与指纹识别区域重叠,这样便可以将对物理按键(例如Home按键)的操作过程以及指纹识别的过程结合在一起,以开启某些功能,比如终端解锁功能等。With the development of terminal technology, fingerprint identification technology has been widely used in terminals. In practical applications, the fingerprint recognition function is usually combined with the physical buttons of the terminal, so that the touch area of the physical button overlaps with the fingerprint recognition area, so that the operation process of the physical button (such as the Home button) and the process of fingerprint recognition can be combined. together to enable certain functions, such as the terminal unlocking function, etc.
以终端解锁功能为例,在终端屏幕处于灭屏状态时,如果检测到对Home按键的按压操作,则当Home按键按下时,将终端屏幕由灭屏状态转换为亮屏状态;当Home按键恢复至原始位置时,在Home按键对应的指纹识别区域中采集指纹,并对采集到的指纹进行识别,如果识别成功,则对终端进行解锁。Taking the terminal unlocking function as an example, when the terminal screen is in the off-screen state, if the pressing operation of the Home button is detected, when the Home button is pressed, the terminal screen is converted from the off-screen state to the bright-screen state; When returning to the original position, a fingerprint is collected in the fingerprint identification area corresponding to the Home button, and the collected fingerprint is identified. If the identification is successful, the terminal is unlocked.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本公开提供一种功能开启方法及装置,所述技术方案如下:In order to overcome the problems existing in the related art, the present disclosure provides a method and device for enabling a function, and the technical solutions are as follows:
根据本公开实施例的第一方面,提供一种功能开启方法,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for enabling a function, the method comprising:
在检测到物理按键按下时,在所述物理按键对应的指纹识别区域中进行指纹采集,得到第一指纹信息;When it is detected that the physical button is pressed, fingerprint collection is performed in the fingerprint identification area corresponding to the physical button to obtain the first fingerprint information;
将所述第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果;Matching the first fingerprint information with at least one stored fingerprint template to obtain a first matching result;
如果所述第一匹配结果为匹配成功,则开启预设功能。If the first matching result is that the matching is successful, the preset function is enabled.
在一种可能的实施方式中,将所述第一指纹信息与存储的指纹模板进行匹配,得到第一匹配结果之后,所述方法还包括:In a possible implementation manner, after the first matching result is obtained by matching the first fingerprint information with the stored fingerprint template, the method further includes:
如果所述第一匹配结果为匹配失败,则在检测到所述物理按键恢复至原始位置时,在所述指纹识别区域进行指纹采集,得到第二指纹信息;If the first matching result is that the matching fails, when it is detected that the physical button is restored to the original position, fingerprint collection is performed in the fingerprint identification area to obtain second fingerprint information;
将所述第二指纹信息与所述至少一个指纹模板进行匹配,得到第二匹配结果;Matching the second fingerprint information with the at least one fingerprint template to obtain a second matching result;
如果所述第二匹配结果为匹配成功,则开启所述预设功能。If the second matching result is that the matching is successful, the preset function is enabled.
在一种可能的实施方式中,开启所述预设功能之后,所述方法还包括:In a possible implementation manner, after enabling the preset function, the method further includes:
确定目标指纹模板,所述目标指纹模板为与所述第二指纹信息的相似度超过预设阈值的指纹模板;determining a target fingerprint template, where the target fingerprint template is a fingerprint template whose similarity with the second fingerprint information exceeds a preset threshold;
根据所述第二指纹信息对所述目标指纹模板进行更新。The target fingerprint template is updated according to the second fingerprint information.
在一种可能的实施方式中,将所述第二指纹信息与所述至少一个指纹模板进行匹配,得到第二匹配结果之后,所述方法还包括:In a possible implementation manner, after matching the second fingerprint information with the at least one fingerprint template to obtain a second matching result, the method further includes:
如果所述第二匹配结果为匹配失败,则记录匹配失败次数;If the second matching result is a matching failure, record the number of matching failures;
当所述匹配失败次数达到预设次数时,锁定所述预设功能。When the number of matching failures reaches a preset number of times, the preset function is locked.
在一种可能的实施方式中,将所述第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果包括:In a possible implementation manner, matching the first fingerprint information with at least one stored fingerprint template to obtain a first matching result includes:
根据所述第一指纹信息与所述至少一个指纹模板中每个指纹模板的相似度,判断所述至少一个指纹模板中是否存在目标指纹模板,所述目标指纹模板为与所述第一指纹信息的相似度超过预设阈值的指纹模板;According to the similarity between the first fingerprint information and each fingerprint template in the at least one fingerprint template, determine whether there is a target fingerprint template in the at least one fingerprint template, and the target fingerprint template is the same as the first fingerprint information The similarity of the fingerprint template exceeds the preset threshold;
如果所述至少一个指纹模板中存在所述目标指纹模板,则确定匹配成功;If the target fingerprint template exists in the at least one fingerprint template, it is determined that the matching is successful;
如果所述至少一个指纹模板中不存在所述目标指纹模板,则确定匹配失败。If the target fingerprint template does not exist in the at least one fingerprint template, it is determined that the matching fails.
在一种可能的实施方式中,开启预设功能包括:In a possible implementation manner, enabling the preset function includes:
当检测到所述物理按键恢复至原始位置时,开启所述预设功能。When it is detected that the physical key returns to the original position, the preset function is enabled.
根据本公开实施例的第二方面,提供一种功能开启装置,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided a function enabling device, the device comprising:
指纹采集模块,用于在检测到物理按键按下时,在所述物理按键对应的指纹识别区域中进行指纹采集,得到第一指纹信息;a fingerprint collection module, configured to collect a fingerprint in the fingerprint identification area corresponding to the physical key when it is detected that the physical key is pressed to obtain the first fingerprint information;
匹配模块,用于将所述第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果;a matching module, configured to match the first fingerprint information with at least one stored fingerprint template to obtain a first matching result;
开启模块,用于当所述第一匹配结果为匹配成功时,开启预设功能。The enabling module is configured to enable the preset function when the first matching result is that the matching is successful.
在一种可能的实施方式中,所述指纹采集模块还用于如果所述第一匹配结果为匹配失败,则在检测到所述物理按键恢复至原始位置时,在所述指纹识别区域进行指纹采集,得到第二指纹信息;In a possible implementation manner, the fingerprint collection module is further configured to perform fingerprinting in the fingerprint identification area when the physical key is detected to be restored to the original position if the first matching result is a matching failure collecting to obtain second fingerprint information;
所述匹配模块还用于将所述第二指纹信息与所述至少一个指纹模板进行匹配,得到第二匹配结果;The matching module is further configured to match the second fingerprint information with the at least one fingerprint template to obtain a second matching result;
所述开启模块还用于如果所述第二匹配结果为匹配成功,则开启所述预设功能。The enabling module is further configured to enable the preset function if the second matching result is that the matching is successful.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
确定模块,用于确定目标指纹模板,所述目标指纹模板为与所述第二指纹信息的相似度超过预设阈值的指纹模板;a determination module, configured to determine a target fingerprint template, where the target fingerprint template is a fingerprint template whose similarity with the second fingerprint information exceeds a preset threshold;
更新模块,用于根据所述第二指纹信息对所述目标指纹模板进行更新。An update module, configured to update the target fingerprint template according to the second fingerprint information.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
记录模块,用于如果所述第二匹配结果为匹配失败,则记录匹配失败次数;a recording module, configured to record the number of matching failures if the second matching result is a matching failure;
锁定模块,用于当所述匹配失败次数达到预设次数时,锁定所述预设功能。A locking module, configured to lock the preset function when the number of matching failures reaches a preset number of times.
在一种可能的实施方式中,所述匹配模块用于根据所述第一指纹信息与所述至少一个指纹模板中每个指纹模板的相似度,判断所述至少一个指纹模板中是否存在目标指纹模板,所述目标指纹模板为与所述第一指纹信息的相似度超过预设阈值的指纹模板;如果所述至少一个指纹模板中存在所述目标指纹模板,则确定匹配成功;如果所述至少一个指纹模板中不存在所述目标指纹模板,则确定匹配失败。In a possible implementation manner, the matching module is configured to determine whether there is a target fingerprint in the at least one fingerprint template according to the similarity between the first fingerprint information and each fingerprint template in the at least one fingerprint template template, the target fingerprint template is a fingerprint template whose similarity with the first fingerprint information exceeds a preset threshold; if the target fingerprint template exists in the at least one fingerprint template, it is determined that the matching is successful; if the at least one fingerprint template exists If the target fingerprint template does not exist in one fingerprint template, it is determined that the matching fails.
在一种可能的实施方式中,所述开启模块用于当检测到所述物理按键恢复至原始位置时,开启所述预设功能。In a possible implementation manner, the enabling module is configured to enable the preset function when it is detected that the physical key returns to the original position.
根据本公开实施例的第三方面,提供一种功能开启装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a function enabling device, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:在检测到物理按键按下时,在所述物理按键的指纹识别区域中进行指纹采集,得到第一指纹信息;将所述第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果;如果所述第一匹配结果为匹配成功,则开启预设功能。Wherein, the processor is configured to: when detecting that the physical button is pressed, perform fingerprint collection in the fingerprint identification area of the physical button to obtain first fingerprint information; and combine the first fingerprint information with the stored at least A fingerprint template is matched to obtain a first matching result; if the first matching result is successful, the preset function is enabled.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
在物理按键被按压的过程中,通过在物理按键按下时便在指纹识别区域中进行指纹采集,并进行指纹识别,使得物理按键恢复至原始位置之前便可实现功能的开启,缩短了功能开启过程的耗时,提高了功能开启的效率。In the process of pressing the physical button, by collecting the fingerprint in the fingerprint recognition area and performing fingerprint recognition when the physical button is pressed, the function can be turned on before the physical button is restored to the original position, which shortens the function turning on. The time-consuming process improves the efficiency of function opening.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种功能开启方法的流程图。Fig. 1 is a flow chart of a method for enabling a function according to an exemplary embodiment.
图2A是根据一示例性实施例示出的一种功能开启方法的流程图。Fig. 2A is a flow chart of a method for enabling a function according to an exemplary embodiment.
图2B是现有技术中一种实现将物理按键与指纹识别功能结合在一起的结构示意图。FIG. 2B is a schematic diagram of a structure in the prior art for realizing the combination of a physical key and a fingerprint identification function.
图2C是根据一示例性实施例示出的一种终端解锁功能的开启流程图。FIG. 2C is a flow chart of enabling a terminal unlocking function according to an exemplary embodiment.
图3A是根据一示例性实施例示出的一种功能开启装置的框图。Fig. 3A is a block diagram of a function enabling device according to an exemplary embodiment.
图3B是根据一示例性实施例示出的一种功能开启装置的框图。Fig. 3B is a block diagram of a function enabling device according to an exemplary embodiment.
图3C是根据一示例性实施例示出的一种功能开启装置的框图。Fig. 3C is a block diagram of a function enabling device according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种功能开启装置的框图。Fig. 4 is a block diagram of a device for enabling a function according to an exemplary embodiment.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种功能开启方法的流程图,如图1所示,应用于终端,包括以下步骤:FIG. 1 is a flowchart of a method for enabling a function according to an exemplary embodiment. As shown in FIG. 1 , applied to a terminal, the method includes the following steps:
在步骤101中,在检测到物理按键按下时,在物理按键对应的指纹识别区域中进行指纹采集,得到第一指纹信息。In
在步骤102中,将第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果,如果第一匹配结果为匹配成功,则执行步骤103。In
在步骤103中,如果第一匹配结果为匹配成功,则开启预设功能。In
本公开实施例提供的方法,在物理按键被按压的过程中,通过在物理按键按下时便在指纹识别区域中进行指纹采集,并进行指纹识别,使得物理按键恢复至原始位置之前便可实现功能的开启,缩短了功能开启过程的耗时,提高了功能开启的效率。In the method provided by the embodiments of the present disclosure, during the process of pressing the physical button, the fingerprint collection is performed in the fingerprint recognition area when the physical button is pressed, and the fingerprint recognition is performed, so that the physical button can be restored to the original position. The opening of the function shortens the time-consuming process of opening the function and improves the efficiency of opening the function.
在一种可能的实施方式中,将第一指纹信息与存储的指纹模板进行匹配,得到第一匹配结果之后,该方法还包括:In a possible implementation manner, the first fingerprint information is matched with the stored fingerprint template, and after obtaining the first matching result, the method further includes:
如果第一匹配结果为匹配失败,则在检测到物理按键恢复至原始位置时,在指纹识别区域进行指纹采集,得到第二指纹信息;If the first matching result is that the matching fails, when it is detected that the physical button is restored to the original position, fingerprint collection is performed in the fingerprint identification area to obtain the second fingerprint information;
将第二指纹信息与至少一个指纹模板进行匹配,得到第二匹配结果;Matching the second fingerprint information with at least one fingerprint template to obtain a second matching result;
如果第二匹配结果为匹配成功,则开启预设功能。If the second matching result is that the matching is successful, the preset function is enabled.
在一种可能的实施方式中,开启预设功能之后,方法还包括:In a possible implementation manner, after enabling the preset function, the method further includes:
确定目标指纹模板,目标指纹模板为与第二指纹信息的相似度超过预设阈值的指纹模板;determining a target fingerprint template, where the target fingerprint template is a fingerprint template whose similarity with the second fingerprint information exceeds a preset threshold;
根据第二指纹信息对目标指纹模板进行更新。The target fingerprint template is updated according to the second fingerprint information.
在一种可能的实施方式中,将第二指纹信息与至少一个指纹模板进行匹配,得到第二匹配结果之后,该方法还包括:In a possible implementation manner, the second fingerprint information is matched with at least one fingerprint template, and after obtaining the second matching result, the method further includes:
如果第二匹配结果为匹配失败,则记录匹配失败次数;If the second matching result is a matching failure, record the number of matching failures;
当匹配失败次数达到预设次数时,锁定预设功能。When the number of matching failures reaches the preset number, the preset function is locked.
在一种可能的实施方式中,将第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果包括:In a possible implementation manner, matching the first fingerprint information with at least one stored fingerprint template, and obtaining the first matching result includes:
根据第一指纹信息与至少一个指纹模板中每个指纹模板的相似度,判断至少一个指纹模板中是否存在目标指纹模板,目标指纹模板为与第一指纹信息的相似度超过预设阈值的指纹模板;According to the similarity between the first fingerprint information and each fingerprint template in the at least one fingerprint template, determine whether there is a target fingerprint template in the at least one fingerprint template, and the target fingerprint template is a fingerprint template whose similarity with the first fingerprint information exceeds a preset threshold ;
如果至少一个指纹模板中存在目标指纹模板,则确定匹配成功;If the target fingerprint template exists in at least one fingerprint template, it is determined that the matching is successful;
如果至少一个指纹模板中不存在目标指纹模板,则确定匹配失败。If the target fingerprint template does not exist in at least one fingerprint template, it is determined that the matching fails.
在一种可能的实施方式中,开启预设功能包括:In a possible implementation manner, enabling the preset function includes:
当检测到物理按键恢复至原始位置时,开启预设功能。When it is detected that the physical button returns to its original position, the preset function is enabled.
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, which will not be repeated here.
图2A是根据一示例性实施例示出的一种功能开启方法的流程图,如图2A所示,应用于终端,包括以下步骤:Fig. 2A is a flowchart of a method for enabling a function according to an exemplary embodiment, as shown in Fig. 2A, applied to a terminal, including the following steps:
在步骤201中,在检测到物理按键按下时,在物理按键对应的指纹识别区域中进行指纹采集,得到第一指纹信息。In
在本公开实施例中,终端可以根据对物理按键的按压操作,开启相应的预设功能,为了保证终端的安全性,避免其他用户对终端进行非法操作,可以将物理按键与指纹识别功能结合在一起,使得终端在检测到对物理按键的按压操作的同时,能够进行指纹识别,以开启该预设功能。In the embodiment of the present disclosure, the terminal can activate the corresponding preset function according to the pressing operation of the physical button. In order to ensure the security of the terminal and prevent other users from illegally operating the terminal, the physical button and the fingerprint recognition function can be combined in the At the same time, the terminal can perform fingerprint recognition to enable the preset function while detecting the pressing operation on the physical key.
其中,物理按键可以为终端的Home键、电源键、音量键等,本公开实施例对此不作具体限定。物理按键对应的预设功能可以为:终端解锁功能,或者将终端屏幕由灭屏状态转换成亮屏状态,或者将当前屏幕界面由应用界面返回至桌面,或者显示桌面主页等,本公开实施例对此不作具体限定。预设功能可由终端或用户进行预先设置或修改,该预设功能可以为系统内置功能,或者终端安装应用的功能等,本公开实施例对此不作具体限定。The physical keys may be a Home key, a power key, a volume key, etc. of the terminal, which are not specifically limited in this embodiment of the present disclosure. The preset function corresponding to the physical button may be: terminal unlocking function, or converting the terminal screen from the off-screen state to the bright-screen state, or returning the current screen interface from the application interface to the desktop, or displaying the desktop homepage, etc., the embodiments of the present disclosure This is not specifically limited. The preset function may be preset or modified by the terminal or the user, and the preset function may be a built-in function of the system, or a function of installing an application on the terminal, etc., which is not specifically limited in this embodiment of the present disclosure.
以物理按键为Home键为例,通常采用图2B所示的结构实现将物理按键与指纹识别功能结合在一起。在图2B中,指纹识传感器设置于物理按键的上方,该指纹识别传感器的上表面对应的区域即为指纹识别区域。指纹识别传感器用于在指纹识别区域进行指纹识别。在物理按键未被按下时,该指纹识别传感器的上表面与盖板玻璃的上表面持平,此时物理按键所在的位置称为原始位置。用户可以通过按压该指纹识别传感器,触发对物理按键的按压,此时物理按键离开原始位置向下移动。Taking the physical key as the Home key as an example, the structure shown in FIG. 2B is generally used to realize the combination of the physical key and the fingerprint identification function. In FIG. 2B , the fingerprint identification sensor is arranged above the physical button, and the area corresponding to the upper surface of the fingerprint identification sensor is the fingerprint identification area. The fingerprint identification sensor is used for fingerprint identification in the fingerprint identification area. When the physical key is not pressed, the upper surface of the fingerprint recognition sensor is flush with the upper surface of the cover glass, and the position where the physical key is located at this time is called the original position. The user can trigger the pressing of the physical button by pressing the fingerprint recognition sensor, and at this time, the physical button moves downward from the original position.
在本公开实施例中,用户在对物理按键进行按压的过程包括物理按键的按下过程和抬起过程。由于现有技术中终端只能在物理按键抬起后、恢复至原始位置时才能进行指纹识别,导致功能开启耗时长,因此为了缩短该预设功能开启过程的耗时,本公开实施例中终端可以在检测到物理按键按下时,便在物理按键对应的指纹识别区域中进行指纹采集,并对采集得到的指纹进行识别,具体识别过程参见步骤202。本公开实施例中将在物理按键按下时采集得到的指纹信息称为第一指纹信息。In the embodiment of the present disclosure, the process of the user pressing the physical key includes a pressing process and a lifting process of the physical key. In the prior art, the terminal can only perform fingerprint recognition when the physical button is lifted and restored to the original position, which leads to a long time for function activation. Therefore, in order to shorten the time consumption of the preset function activation process, the terminal When it is detected that the physical button is pressed, a fingerprint is collected in the fingerprint identification area corresponding to the physical button, and the collected fingerprint is identified. For the specific identification process, refer to step 202 . In the embodiment of the present disclosure, the fingerprint information collected when the physical key is pressed is referred to as the first fingerprint information.
在步骤202中,将第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果,如果第一匹配结果为匹配成功,执行步骤203,如果第一匹配结果为匹配失败,执行步骤204。In
终端可以存储至少一个指纹模板,该至少一个指纹模板可用于指示同一手指的指纹,也可用于指示不同手指的指纹,每个指纹模板具有唯一用于标识该指纹模板的模板标识。该模板标识可由终端自动生成,也可由用户进行设置或修改,本公开实施例对此不作具体限定。其中,每个指纹模板可由终端根据用户的多次指纹录入操作生成。具体地,用户可以将手指反复放在指纹识别区域中,使得终端可以在指纹识别区域中采集得到多个指纹信息,进而根据采集到的多个指纹信息生成指纹模板。其中,用户在将手指放在指纹识别区域时,不需要按压手指,这样手指不会发生形变。也即是,终端存储的指纹模板对应的是未发生形变的手指指纹。The terminal can store at least one fingerprint template, which can be used to indicate the fingerprints of the same finger or the fingerprints of different fingers, and each fingerprint template has a unique template identifier for identifying the fingerprint template. The template identifier may be automatically generated by the terminal, and may also be set or modified by the user, which is not specifically limited in this embodiment of the present disclosure. Wherein, each fingerprint template can be generated by the terminal according to multiple fingerprint entry operations of the user. Specifically, the user can repeatedly place the finger in the fingerprint identification area, so that the terminal can collect multiple fingerprint information in the fingerprint identification area, and then generate a fingerprint template according to the collected multiple fingerprint information. The user does not need to press the finger when placing the finger in the fingerprint recognition area, so that the finger will not be deformed. That is, the fingerprint template stored in the terminal corresponds to an undeformed fingerprint.
具体地,终端根据该至少一个指纹模板对第一指纹信息进行识别,也即是将第一指纹信息与存储的至少一个指纹模板进行匹配,过程可以为:终端根据第一指纹信息与至少一个指纹模板中每个指纹模板的相似度,判断至少一个指纹模板中是否存在目标指纹模板。该目标指纹模板为与第一指纹信息的相似度超过预设阈值的指纹模板。如果至少一个指纹模板中存在该目标指纹模板,则确定匹配成功;如果至少一个指纹模板中不存在该目标指纹模板,则确定匹配失败。Specifically, the terminal identifies the first fingerprint information according to the at least one fingerprint template, that is, matches the first fingerprint information with the stored at least one fingerprint template. The process may be: the terminal matches the at least one fingerprint information according to the first fingerprint information The similarity of each fingerprint template in the template is used to determine whether there is a target fingerprint template in at least one fingerprint template. The target fingerprint template is a fingerprint template whose similarity with the first fingerprint information exceeds a preset threshold. If the target fingerprint template exists in at least one fingerprint template, it is determined that the matching is successful; if the target fingerprint template does not exist in at least one fingerprint template, it is determined that the matching fails.
其中,预设阈值可由终端进行预先设定或修改,本公开实施例对此不作具体限定。第一指纹信息与指纹模板的相似度是指第一指纹信息中包含在指纹模板中的部分指纹信息占第一指纹信息的百分比。例如,第一指纹信息中有80%的指纹信息包含在指纹模板中,则第一指纹信息与指纹模板的相似度为80%。当然,上述相似度还可以通过其他算法计算得到,本公开实施例对此不作具体限定The preset threshold may be preset or modified by the terminal, which is not specifically limited in this embodiment of the present disclosure. The similarity between the first fingerprint information and the fingerprint template refers to the percentage of the partial fingerprint information included in the fingerprint template in the first fingerprint information to the first fingerprint information. For example, if 80% of the fingerprint information in the first fingerprint information is included in the fingerprint template, the similarity between the first fingerprint information and the fingerprint template is 80%. Of course, the above similarity can also be calculated by other algorithms, which is not specifically limited in this embodiment of the present disclosure
需要说明的是,为了减少指纹识别的计算量,缩短指纹识别的耗时,在进行指纹识别过程中,终端还可以不将第一指纹信息与每一个指纹模板进行匹配,而是在匹配的过程中,一旦发现某一指纹模板与第一指纹信息的相似度超过预设阈值,则将该指纹模板确定为目标指纹模板,并结束指纹识别过程。It should be noted that, in order to reduce the calculation amount of fingerprint identification and shorten the time-consuming of fingerprint identification, in the process of fingerprint identification, the terminal may not match the first fingerprint information with each fingerprint template, but in the matching process. In the process, once it is found that the similarity between a certain fingerprint template and the first fingerprint information exceeds a preset threshold, the fingerprint template is determined as the target fingerprint template, and the fingerprint identification process is ended.
在步骤203中,如果第一匹配结果为匹配成功,则开启预设功能,结束预设功能的开启流程。In
其中,预设功能可以为终端解锁功能、相机功能、支付功能等,当预设功能为终端解锁功能时,开启预设功能是指对终端进行解锁,本公开实施例中采用的“开启”预设功能的描述方式不用来对实际应用中功能开启的通用描述方式进行限制,例如开启终端解锁功能的通用描述方式为对终端进行解锁。The preset function may be a terminal unlocking function, a camera function, a payment function, etc. When the preset function is a terminal unlocking function, enabling the preset function refers to unlocking the terminal. It is assumed that the description method of the function is not used to limit the general description method for enabling the function in practical applications. For example, the general description method for enabling the terminal unlocking function is to unlock the terminal.
在另一实施例中,由于当物理按键被按下时,可能会采集到发生形变的指纹,而终端存储的指纹模板对应的未发生形变的手指指纹。因此,在对物理按键按下时采集到的第一指纹信息进行识别时,可能会发生识别不成功的情况。在该种情况下,为了能够采集到未发生形变的指纹,进而进行指纹识别,以提高指纹识别的成功率,终端可以在第一匹配结果为匹配失败时,在检测到物理按键恢复至原始位置时,再进行一次指纹识别,该过程详见步骤204。而这样就需要用户在物理按键抬起时,手指仍然放在指纹识别区域中,因此,为了培养用户的使用习惯,进而保证功能开启的成功率,终端在确定第一匹配结果为匹配成功时,先记录匹配成功的结果,在检测到物理按键恢复至原始位置时,再返回该匹配成功的结果,以开启预设功能。这样便会引导用户在物理按键抬起的过程中继续将手指停留在指纹识别区域,使得在第一匹配结果为匹配失败时,能够成功进行二次指纹识别过程。该过程是在物理按键按下时便完成了指纹识别并记录识别结果,在物理按键抬起后直接返回匹配结果,以开启预设功能,与仅在物理按键抬起后再进行指纹识别,以开启预设功能的过程相比,缩短了功能开启的时长,提高了功能开启的效率。In another embodiment, when a physical key is pressed, a deformed fingerprint may be collected, and the fingerprint template stored in the terminal corresponds to an undeformed fingerprint. Therefore, when the first fingerprint information collected when the physical key is pressed, the identification may fail. In this case, in order to collect an undeformed fingerprint and perform fingerprint identification to improve the success rate of fingerprint identification, when the first matching result is a matching failure, the terminal may restore the physical button to the original position after detecting that the , the fingerprint identification is performed again, and the process is detailed in
在步骤204中,如果第一匹配结果为匹配失败,则在检测到物理按键恢复至原始位置时,在指纹识别区域进行指纹采集,得到第二指纹信息。In
为了提高指纹识别的成功率,进而提高预设功能开启的成功率,在第一匹配结果为匹配失败时,终端还可以在物理按键恢复至原始位置时,再在指纹识别区域中对未发生形变的指纹进行一次指纹采集,得到第二指纹信息,进而对采集得到的指纹进行识别,具体识别过程参见步骤205。In order to improve the success rate of fingerprint recognition, and thus improve the success rate of enabling the preset function, when the first matching result is that the matching fails, the terminal can also check the undeformed shape in the fingerprint recognition area when the physical button is restored to the original position. The fingerprint is collected once to obtain the second fingerprint information, and then the collected fingerprint is identified. For the specific identification process, refer to step 205 .
在另一实施例中,在指纹识别的过程中,放在指纹识别区域内的手指可能根本就不是指纹模板所指示的手指,在这种情况下,不论进行多少次指纹识别都不可能识别成功。因此,为了简化预设功能的开启过程,减少由于不必要的指纹识别带来的电量消耗,终端可以在第一指纹信息与每一个指纹模板的相似度均小于最低相似度阈值时,不执行步骤204。也即是,在第一匹配结果为匹配失败时,终端可不进行指纹的二次识别,也无需进行第二指纹信息的采集。具体地,在步骤202中终端可以获取到第一指纹信息与存储的每一个指纹模板的相似度,如果获取到的每个相似度均小于最低相似度阈值,则说明采集得到的第一指纹信息与存储的指纹模板差别很大,即使是在手指未发生形变的情况下也不可能识别成功。其中,最低相似度阈值可以由终端进行预先设定或修改,本公开实施例对此不作具体限定。In another embodiment, in the process of fingerprint recognition, the finger placed in the fingerprint recognition area may not be the finger indicated by the fingerprint template at all. In this case, no matter how many times the fingerprint recognition is performed, it may not be recognized successfully. . Therefore, in order to simplify the opening process of the preset function and reduce the power consumption caused by unnecessary fingerprint identification, the terminal may not execute the steps when the similarity between the first fingerprint information and each fingerprint template is less than the
在步骤205中,将第二指纹信息与至少一个指纹模板进行匹配,得到第二匹配结果,如果第二匹配结果为匹配成功,执行步骤206,如果第二匹配结果为匹配失败,执行步骤208。In
在该步骤中,对第二指纹信息进行指纹识别的过程与上述步骤202中对第一指纹信息进行识别的过程同理,在此不再赘述。In this step, the process of performing fingerprint identification on the second fingerprint information is the same as the process of identifying the first fingerprint information in the foregoing
在步骤206中,如果第二匹配结果为匹配成功,则开启预设功能。In
在物理按键恢复至原始位置时,终端检测到指纹识别成功后,确定与物理按键关联的预设功能,并开启该预设功能。比如,当预设功能为终端解锁功能时,对终端进行解锁;当预设功能为支付功能时,打开支付功能对应的支付页面等。When the physical button is restored to the original position, after the terminal detects that the fingerprint identification is successful, the terminal determines the preset function associated with the physical button, and enables the preset function. For example, when the preset function is the terminal unlocking function, the terminal is unlocked; when the preset function is the payment function, the payment page corresponding to the payment function is opened, and the like.
在步骤207中,确定目标指纹模板,根据第二指纹信息对目标指纹模板进行更新。In
其中,该目标指纹模板为与第二指纹信息的相似度超过预设阈值的指纹模板。Wherein, the target fingerprint template is a fingerprint template whose similarity with the second fingerprint information exceeds a preset threshold.
终端在生成指纹模板的过程中,采集到的指纹的数目是有限的,使得指纹模板中可能没有完全包含手指全部的指纹信息,比如指纹模板中只包含了手指局部的指纹信息。而在开启预设功能的过程中,采集得到的指纹信息中可能不完全与指纹模板中的指纹信息相同。假如,采集得到的第二指纹信息与目标模板的相似度为90%时,说明第二指纹信息中有90%指纹信息与目标指纹模板所指示的指纹信息相同,而剩下10%的指纹信息则与目标指纹模板所指示的指纹信息不相同,可将该90%的指纹信息称为相同指纹信息,将该10%的指纹信息称为差异指纹信息。In the process of generating a fingerprint template, the terminal collects a limited number of fingerprints, so that the fingerprint template may not completely contain all the fingerprint information of the finger. For example, the fingerprint template only contains the partial fingerprint information of the finger. In the process of enabling the preset function, the collected fingerprint information may not be completely the same as the fingerprint information in the fingerprint template. If the similarity between the collected second fingerprint information and the target template is 90%, it means that 90% of the second fingerprint information is the same as the fingerprint information indicated by the target fingerprint template, and the remaining 10% of the fingerprint information Then it is different from the fingerprint information indicated by the target fingerprint template, and the 90% fingerprint information can be called the same fingerprint information, and the 10% fingerprint information can be called the difference fingerprint information.
因此,为了扩充指纹模板所指示的指纹信息量,进而提高指纹识别的准确性,终端可以根据第二指纹信息对指纹模板进行更新,具体过程包括但不限于下述两种方式:Therefore, in order to expand the amount of fingerprint information indicated by the fingerprint template, thereby improving the accuracy of fingerprint identification, the terminal can update the fingerprint template according to the second fingerprint information, and the specific process includes but is not limited to the following two ways:
一、终端可以在第二指纹信息中提取与目标指纹模板不同的差异指纹信息,将该差异指纹信息更新至目标指纹模板中。1. The terminal can extract differential fingerprint information from the second fingerprint information that is different from the target fingerprint template, and update the differential fingerprint information to the target fingerprint template.
其中,将该差异指纹信息更新至目标指纹模板中的方式可以包括:当该差异指纹信息完全不包含在目标指纹模板中,也即是该差异指纹信息与目标模板的相似度为0时,将该差异指纹信息直接添加到目标指纹模板中。或者,当该差异指纹信息与目标模板的相似度不为0时,在目标指纹模板中,将与该差异指纹信息相似的部分替换为该差异指纹信息。The method of updating the differential fingerprint information into the target fingerprint template may include: when the differential fingerprint information is not included in the target fingerprint template at all, that is, when the similarity between the differential fingerprint information and the target template is 0, changing the The differential fingerprint information is directly added to the target fingerprint template. Or, when the similarity between the difference fingerprint information and the target template is not 0, in the target fingerprint template, the part similar to the difference fingerprint information is replaced with the difference fingerprint information.
二、终端从目标指纹模板中,获取目标指纹模板与第二指纹信息的相同指纹信息,将该相同指纹信息替换为该第二指纹信息。2. The terminal obtains the same fingerprint information of the target fingerprint template and the second fingerprint information from the target fingerprint template, and replaces the same fingerprint information with the second fingerprint information.
需要说明的是,步骤207是根据未发生形变的第二指纹信息对目标指纹模板进行更新的过程。本公开实例中,由于终端存储的指纹模板对应的是未发生形变的指纹信息,因此为了保证指纹模板的质量,采用未发生形变的第二指纹信息进行指纹模板的更新,而不采用可能发生形变的第一指纹信息进行指纹模板的更新。It should be noted that,
在步骤208中,如果第二匹配结果为匹配失败,则记录匹配失败次数,当匹配失败次数达到预设次数时,锁定预设功能。In
其中,预设次数可以由终端进行预先设置,或者由用户根据实际需求进行预先设置或修改,本公开实施例对此不作具体限定。The preset number of times may be preset by the terminal, or preset or modified by the user according to actual needs, which is not specifically limited in this embodiment of the present disclosure.
为了提高终端的安全性,防止其他用户对终端的非法使用,当第二匹配结果为匹配失败时,终端还可记录匹配失败的次数,并在匹配识别次数达到预设次数时,对预设功能进行锁定。预设功能在锁定状态下,终端在第一预设时间内不对该预设功能的任何操作进行响应,比如开启操作、卸载操作、图标移动操作等。其中,该第一预设时间可由终端进行预先设置或修改,本公开实施例对此不作具体限定。In order to improve the security of the terminal and prevent illegal use of the terminal by other users, when the second matching result is a matching failure, the terminal can also record the number of matching failures, and when the number of matching identifications reaches a preset number of times, the preset function to lock. When the preset function is in the locked state, the terminal does not respond to any operation of the preset function within the first preset time, such as an opening operation, an uninstalling operation, an icon moving operation, and the like. The first preset time may be preset or modified by the terminal, which is not specifically limited in this embodiment of the present disclosure.
此外,为了进一步地提高终端的安全性,终端还可记录预设功能在第二预设时间内被锁定的次数,如果预设功能在第二预设时间内被锁定的次数超过最大锁定次数,则将终端锁定,也即是终端不响应用户的任何操作,比如触摸操作,电源键操作等,本公开实施例对此不作具体限定。其中,该第二预设时间不小于第一预设时间,可由终端进行预先设置或修改,本公开实施例对此不作具体限定。In addition, in order to further improve the security of the terminal, the terminal can also record the number of times the preset function is locked within the second preset time. Then, the terminal is locked, that is, the terminal does not respond to any operation of the user, such as a touch operation, a power key operation, etc., which is not specifically limited in this embodiment of the present disclosure. The second preset time is not less than the first preset time, and can be preset or modified by the terminal, which is not specifically limited in this embodiment of the present disclosure.
下面以预设功能为终端解锁功能为例,对上述步骤201至步骤208的过程进行解释说明,假设终端在锁屏状态时,屏幕处于灭屏状态,则参见图2C为终端解锁功能的开启流程图,包括以下内容:Taking the preset function as the terminal unlocking function as an example, the above process from
步骤a、当终端检测到物理按键按下时,点亮屏幕,也即是将屏幕由灭屏状态转换为亮屏状态,并在指纹识别区域中进行指纹采集,得到第一指纹信息。Step a. When the terminal detects that the physical button is pressed, the screen is turned on, that is, the screen is converted from the off-screen state to the bright-screen state, and fingerprints are collected in the fingerprint identification area to obtain the first fingerprint information.
步骤b、将第一指纹信息与存储的指纹模板进行匹配,如果匹配成功,则在物理按键抬起后,也即是在物理按键恢复至原始位置时,对终端进行解锁,不进行指纹模板更新。Step b. Match the first fingerprint information with the stored fingerprint template. If the matching is successful, after the physical button is lifted, that is, when the physical button is restored to the original position, the terminal is unlocked, and the fingerprint template is not updated. .
步骤c、如果匹配失败,则在物理按键抬起后,在指纹识别区域进行二次指纹采集,得到第二指纹信息。Step c. If the matching fails, after the physical button is lifted, a second fingerprint collection is performed in the fingerprint identification area to obtain the second fingerprint information.
步骤d、将第二指纹信息与存储的指纹模板进行匹配,如果匹配成功,则对终端进行解锁,并根据第二指纹信息更新指纹模板。Step d, match the second fingerprint information with the stored fingerprint template, if the matching is successful, unlock the terminal, and update the fingerprint template according to the second fingerprint information.
步骤e、如果匹配失败,则不解锁,并记录匹配失败次数,此时不更新指纹模板。Step e. If the matching fails, the device will not be unlocked, and the number of matching failures will be recorded, and the fingerprint template will not be updated at this time.
步骤d、匹配失败次数达到预设次数,将终端锁定在锁屏状态。In step d, the number of matching failures reaches a preset number, and the terminal is locked in a locked screen state.
本公开实施例提供的方法,在物理按键被按压的过程中,通过在物理按键按下时便在指纹识别区域中进行指纹采集,并进行指纹识别,使得物理按键恢复至原始位置之前便可实现功能的开启,缩短了功能开启过程的耗时,提高了功能开启的效率。进一步地,终端还可在第一次指纹识别失败时,还可以在物理按键恢复至原始位置时,进行第二次指纹采集与识别,并在指纹识别成功后,开启相应的功能,提高了功能开启的成功率。In the method provided by the embodiments of the present disclosure, during the process of pressing the physical button, the fingerprint collection is performed in the fingerprint recognition area when the physical button is pressed, and the fingerprint recognition is performed, so that the physical button can be restored to the original position. The opening of the function shortens the time-consuming process of opening the function and improves the efficiency of opening the function. Further, when the first fingerprint recognition fails, the terminal can also perform the second fingerprint collection and recognition when the physical button is restored to the original position, and after the fingerprint recognition succeeds, the corresponding function can be turned on, which improves the function. success rate of opening.
图3A是根据一示例性实施例示出的一种功能开启装置的框图。参照图3A,该装置包括指纹采集模块301,匹配模块302和开启模块303。Fig. 3A is a block diagram of a function enabling device according to an exemplary embodiment. Referring to FIG. 3A , the device includes a
其中,指纹采集模块301与匹配模块302连接,用于在检测到物理按键按下时,在物理按键对应的指纹识别区域中进行指纹采集,得到第一指纹信息;匹配模块302与开启模块303连接,用于将第一指纹信息与存储的至少一个指纹模板进行匹配,得到第一匹配结果;开启模块303,用于当第一匹配结果为匹配成功时,开启预设功能。Wherein, the
在一种可能的实施方式中,指纹采集模块301还用于如果第一匹配结果为匹配失败,则在检测到物理按键恢复至原始位置时,在指纹识别区域进行指纹采集,得到第二指纹信息;匹配模块302还用于将第二指纹信息与至少一个指纹模板进行匹配,得到第二匹配结果;开启模块303还用于如果第二匹配结果为匹配成功,则开启预设功能。In a possible implementation manner, the
在一种可能的实施方式中,参见图3B,该装置还包括:In a possible implementation, referring to FIG. 3B , the device further includes:
确定模块304,用于确定目标指纹模板,目标指纹模板为与第二指纹信息的相似度超过预设阈值的指纹模板;A
更新模块305,用于根据第二指纹信息对目标指纹模板进行更新。The updating
在一种可能的实施方式中,参见图3C,该装置还包括:In a possible implementation, referring to FIG. 3C, the device further includes:
记录模块306,用于如果第二匹配结果为匹配失败,则记录匹配失败次数;
锁定模块307,用于当匹配失败次数达到预设次数时,锁定预设功能。The
在一种可能的实施方式中,匹配模块302用于根据第一指纹信息与至少一个指纹模板中每个指纹模板的相似度,判断至少一个指纹模板中是否存在目标指纹模板,目标指纹模板为与第一指纹信息的相似度超过预设阈值的指纹模板;如果至少一个指纹模板中存在目标指纹模板,则确定匹配成功;如果至少一个指纹模板中不存在目标指纹模板,则确定匹配失败。In a possible implementation, the
在一种可能的实施方式中,开启模块303用于当检测到物理按键恢复至原始位置时,开启预设功能。In a possible implementation manner, the enabling
本公开实施例提供的装置,在物理按键被按压的过程中,通过在物理按键按下时便在指纹识别区域中进行指纹采集,并进行指纹识别,使得物理按键恢复至原始位置之前便可实现功能的开启,缩短了功能开启过程的耗时,提高了功能开启的效率。In the device provided by the embodiments of the present disclosure, during the process of pressing the physical button, the fingerprint collection is performed in the fingerprint identification area when the physical button is pressed, and the fingerprint identification is performed, so that the physical button can be restored to the original position. The opening of the function shortens the time-consuming process of opening the function and improves the efficiency of opening the function.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图4是根据一示例性实施例示出的一种功能开启装置的框图。例如,装置400可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 4 is a block diagram of a device for enabling a function according to an exemplary embodiment. For example,
参照图4,装置400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件404,音频组件410,输入/输出(I/O)接口412,传感器组件414,以及通信组件416。4,
处理组件402通常控制装置400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。The
存储器404被配置为存储各种类型的数据以支持在装置400的操作。这些数据的示例包括用于在装置400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件406为装置400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为装置400生成、管理和分配电力相关联的组件。
多媒体组件408包括在所述装置400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当装置400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当装置400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。
I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件414包括一个或多个传感器,用于为装置400提供各个方面的状态评估。例如,传感器组件414可以检测到装置400的打开/关闭状态,组件的相对定位,例如所述组件为装置400的显示器和小键盘,传感器组件414还可以检测装置400或装置400一个组件的位置改变,用户与装置400接触的存在或不存在,装置400方位或加速/减速和装置400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件416被配置为便于装置400和其他设备之间有线或无线方式的通信。装置400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述功能开启方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行上述功能开启方法。In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, when the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the above-mentioned method for enabling the function.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610581687.1A CN107643818B (en) | 2016-07-21 | 2016-07-21 | Function opening method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610581687.1A CN107643818B (en) | 2016-07-21 | 2016-07-21 | Function opening method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107643818A CN107643818A (en) | 2018-01-30 |
| CN107643818B true CN107643818B (en) | 2020-08-11 |
Family
ID=61109946
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610581687.1A Active CN107643818B (en) | 2016-07-21 | 2016-07-21 | Function opening method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107643818B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109190346A (en) * | 2018-08-10 | 2019-01-11 | 维沃移动通信有限公司 | A function module startup method and terminal |
| CN109299947A (en) * | 2018-09-13 | 2019-02-01 | Oppo(重庆)智能科技有限公司 | Fingerprint payment authentication method, electronic device and computer readable storage medium |
| CN110401771A (en) * | 2019-07-19 | 2019-11-01 | 努比亚技术有限公司 | A kind of double screen method for handover control, terminal and computer readable storage medium |
| CN112307452A (en) * | 2019-08-01 | 2021-02-02 | 银河水滴科技(北京)有限公司 | Application program operation control method and device and computer readable storage medium |
| CN113516802A (en) * | 2021-04-19 | 2021-10-19 | 深圳市龙侨华实业有限公司 | Verification method of intelligent door lock |
| CN114115683B (en) * | 2021-11-26 | 2024-11-05 | 歌尔科技有限公司 | Smart watch control method, device, smart watch and storage medium |
| CN115494931B (en) * | 2022-08-19 | 2025-12-19 | 青岛海尔空调器有限总公司 | Apparatus, method, device and storage medium for fingerprint identification |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103838992A (en) * | 2014-03-03 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint identifying method and terminal |
| CN104699507A (en) * | 2015-03-16 | 2015-06-10 | 上海与德通讯技术有限公司 | Starting method and device of application program |
| CN105260105A (en) * | 2015-10-19 | 2016-01-20 | 广东欧珀移动通信有限公司 | Display screen wake-up method, device and mobile terminal based on fingerprint sensor |
| CN105487784A (en) * | 2015-11-25 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Control method and device of electronic terminal, terminal and system |
| CN105634740A (en) * | 2015-06-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint password verification method, system and terminal |
-
2016
- 2016-07-21 CN CN201610581687.1A patent/CN107643818B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103838992A (en) * | 2014-03-03 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint identifying method and terminal |
| CN104699507A (en) * | 2015-03-16 | 2015-06-10 | 上海与德通讯技术有限公司 | Starting method and device of application program |
| CN105634740A (en) * | 2015-06-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint password verification method, system and terminal |
| CN105260105A (en) * | 2015-10-19 | 2016-01-20 | 广东欧珀移动通信有限公司 | Display screen wake-up method, device and mobile terminal based on fingerprint sensor |
| CN105487784A (en) * | 2015-11-25 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Control method and device of electronic terminal, terminal and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107643818A (en) | 2018-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107643818B (en) | Function opening method and device | |
| CN105224195B (en) | Terminal operation method and device | |
| CN107025419B (en) | Fingerprint template inputting method and device | |
| CN106951884B (en) | Method, device and electronic device for collecting fingerprints | |
| CN108319886B (en) | Fingerprint identification method and device | |
| CN105912163A (en) | Entity key assembly, terminal, and touch control response method and apparatus | |
| EP3331226A1 (en) | Method and device for reading messages | |
| CN106407952A (en) | Fingerprint entry method and device | |
| WO2019157804A1 (en) | Method and apparatus for fingerprint unlocking | |
| US20180157817A1 (en) | Unlocking method and apparatus, and storage medium | |
| WO2017031888A1 (en) | Fingerprint recognition method and device | |
| CN106357934B (en) | Screen locking control method and device | |
| CN108319836A (en) | The method and apparatus for executing processing based on fingerprint recognition | |
| CN107025041B (en) | Fingerprint input method and terminal | |
| CN109324863B (en) | Fingerprint identification method, device and computer readable storage medium | |
| CN107229915A (en) | Biological feather recognition method, device, equipment and storage medium | |
| CN106203048A (en) | A kind of method and apparatus being unlocked | |
| CN106529253A (en) | Unlocking method and apparatus, and terminal device | |
| CN106503628A (en) | method and device for fingerprint matching | |
| CN112437189A (en) | Identity recognition method, device and medium | |
| CN106469265A (en) | Electronic equipment awakening method, device and electronic equipment | |
| CN106650569B (en) | Fingerprint input method and device | |
| CN108491834A (en) | Fingerprint identification method and device | |
| CN107133550B (en) | Fingerprint authentication method and device | |
| CN108388864A (en) | Fingerprint collecting method, device and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |