CN107341000B - A method, device and terminal for displaying a fingerprint input image - Google Patents
A method, device and terminal for displaying a fingerprint input image Download PDFInfo
- Publication number
- CN107341000B CN107341000B CN201710258684.9A CN201710258684A CN107341000B CN 107341000 B CN107341000 B CN 107341000B CN 201710258684 A CN201710258684 A CN 201710258684A CN 107341000 B CN107341000 B CN 107341000B
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- entry
- image
- progress
- target
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Collating Specific Patterns (AREA)
Abstract
本公开提供了一种显示指纹录入图像的方法及装置、终端,其中,所述方法包括:获取用户的指纹录入信息;根据所述指纹录入信息确定当前用户的指纹模板的录入进度;在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像;显示所述目标指纹录入图像。本公开中,终端只需要存储图像帧数为预设数目的预存指纹录入动画,就可以自动根据当前用户的指纹模板的录入进度,确定出匹配的一帧目标指纹录入图像并显示,节省了终端的存储空间。且用户进行指纹录入的次数可以是动态的,提升了终端的智能化程度,且提升了用户体验。
The present disclosure provides a method, device, and terminal for displaying a fingerprint entry image, wherein the method includes: acquiring fingerprint entry information of a user; determining the entry progress of the current user's fingerprint template according to the fingerprint entry information; In the preset number of pre-stored fingerprint entry animations, a frame of target fingerprint entry images matching the entry progress is determined; and the target fingerprint entry images are displayed. In the present disclosure, the terminal only needs to store the pre-stored fingerprint entry animation with a preset number of image frames, and can automatically determine and display a matching target fingerprint entry image according to the entry progress of the current user's fingerprint template, saving the terminal cost. of storage space. In addition, the number of times the user performs fingerprint entry can be dynamic, which improves the intelligence of the terminal and improves the user experience.
Description
技术领域technical field
本公开涉及指纹识别领域,尤其涉及一种显示指纹录入图像的方法及装置、终端。The present disclosure relates to the field of fingerprint identification, and in particular, to a method, device, and terminal for displaying a fingerprint input image.
背景技术Background technique
目前,用户可以通过智能终端的指纹识别功能进行终端解锁或支付等业务。在使用指纹识别功能之前,需要用户进行指纹模板的录入。用户需要在指纹传感器上进行指纹录入的次数达到固定次数,从而生成指纹模板。在用户每次进行指纹录入时,终端会对应显示指纹录入动画中的一帧图像,从而让用户了解指纹模板的录入进度。At present, users can perform services such as terminal unlocking or payment through the fingerprint recognition function of the smart terminal. Before using the fingerprint recognition function, the user needs to enter the fingerprint template. The user needs to perform fingerprint entry on the fingerprint sensor for a fixed number of times, thereby generating a fingerprint template. Each time the user performs fingerprint entry, the terminal will display a corresponding frame of image in the fingerprint entry animation, so that the user can understand the entry progress of the fingerprint template.
但是,不同的终端机型对应不同的指纹录入的固定次数,其适用的指纹录入动画的类型也不同。相关技术中,为了适配所有终端机型,会将多种类型的指纹录入动画同时保存在终端上。但是在实际应用中,一个终端只适用于其中一种类型的指纹录入动画,因此,会造成终端存储空间的浪费。另外,用户录入指纹的次数需要达到固定次数,也无法适配于动态录入指纹次数的要求。However, different terminal models correspond to different fixed times of fingerprint entry, and the applicable types of fingerprint entry animations are also different. In the related art, in order to adapt to all terminal models, various types of fingerprint entry animations are stored on the terminal at the same time. However, in practical applications, a terminal is only suitable for one type of fingerprint entry animation, which will result in a waste of terminal storage space. In addition, the number of times the user enters fingerprints needs to reach a fixed number of times, which cannot be adapted to the requirement of the number of times of dynamically entering fingerprints.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本公开提供了一种显示指纹录入图像的方法及装置、终端,以解决相关技术中的不足。In view of this, the present disclosure provides a method, a device, and a terminal for displaying a fingerprint recorded image, so as to solve the deficiencies in the related art.
根据本公开实施例的第一方面,提供一种显示指纹录入图像的方法,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for displaying a fingerprint entry image, the method comprising:
获取用户的指纹录入信息;Obtain the user's fingerprint entry information;
根据所述指纹录入信息确定当前用户的指纹模板的录入进度;Determine the entry progress of the fingerprint template of the current user according to the fingerprint entry information;
在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像;In the pre-stored fingerprint entry animation whose image frame number is a preset number, determine a frame of target fingerprint entry image that matches the entry progress;
显示所述目标指纹录入图像。The target fingerprint entry image is displayed.
可选地,所述根据所述指纹录入信息确定当前用户的指纹模板的录入进度,包括:Optionally, determining the entry progress of the fingerprint template of the current user according to the fingerprint entry information, including:
计算所述指纹录入信息所对应的信息量占预设总指纹信息量的比值,所述信息量包括指纹面积值和指纹特征点数目;Calculate the ratio of the information amount corresponding to the fingerprint entry information to the preset total fingerprint information amount, and the information amount includes the fingerprint area value and the number of fingerprint feature points;
将所述比值作为当前用户的指纹模板的录入进度。The ratio is taken as the entry progress of the current user's fingerprint template.
可选地,所述在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像,包括:Optionally, in the pre-stored fingerprint entry animation with the number of image frames being a preset number, determine a frame of target fingerprint entry image that matches the entry progress, including:
计算所述录入进度与所述预设数目的乘积;calculating the product of the entry progress and the preset number;
根据所述乘积确定目标帧号;Determine the target frame number according to the product;
在图像帧数为预设数目的预存指纹录入动画中,将所述目标帧号对应的一帧图像作为所述目标指纹录入图像;In the pre-stored fingerprint input animation whose image frame number is a preset number, a frame of image corresponding to the target frame number is used as the target fingerprint input image;
其中,所述预存指纹录入动画中的每帧图像的帧号按照各自对应的指纹模板的录入进度由低到高的顺序进行编号。Wherein, the frame numbers of each frame of the image in the pre-stored fingerprint entry animation are numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates.
可选地,所述根据所述乘积确定目标帧号,包括:Optionally, the determining the target frame number according to the product includes:
当所述乘积大于1时,将小于等于所述乘积的最大整数值作为所述目标帧号;When the product is greater than 1, the maximum integer value less than or equal to the product is used as the target frame number;
当所述乘积小于等于1时,将1作为所述目标帧号。When the product is less than or equal to 1, 1 is used as the target frame number.
可选地,所述在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像,还包括:Optionally, in the pre-stored fingerprint entry animation with the number of image frames being a preset number, determining a frame of target fingerprint entry image that matches the entry progress, further comprising:
在所述计算所述录入进度与所述预设数目的乘积之前,如果所述录入进度达到预设阈值,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像,所述预设阈值小于100%。Before calculating the product of the entry progress and the preset number, if the entry progress reaches a preset threshold, a frame of image in the pre-stored fingerprint entry animation for indicating the completion of fingerprint template entry is used as the The target fingerprint is recorded in the image, and the preset threshold is less than 100%.
可选地,所述在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像,还包括:Optionally, in the pre-stored fingerprint entry animation with the number of image frames being a preset number, determining a frame of target fingerprint entry image that matches the entry progress, further comprising:
在所述计算所述录入进度与所述预设数目的乘积之前,如果用户当前进行指纹录入的累计次数达到所述预设数目,判断所述录入进度是否达到预设阈值,所述预设阈值小于100%;Before calculating the product of the entry progress and the preset number, if the current cumulative number of fingerprint entries by the user reaches the preset number, it is determined whether the entry progress has reached a preset threshold, the preset threshold less than 100%;
在所述录入进度达到所述预设阈值时,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像。When the entry progress reaches the preset threshold, a frame of image in the pre-stored fingerprint entry animation for indicating the completion of fingerprint template entry is used as the target fingerprint entry image.
可选地,所述方法还包括:Optionally, the method further includes:
如果用户当前进行指纹录入的累计次数达到所述预设数目但所述录入进度未达到所述预设阈值,确定指纹模板录入失败且停止显示任何指纹录入图像。If the current cumulative number of fingerprint entries by the user reaches the preset number but the entry progress does not reach the preset threshold, it is determined that the fingerprint template entry has failed and any fingerprint entry images are stopped from being displayed.
根据本公开实施例的第二方面,提供一种显示指纹录入图像的装置,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for displaying a fingerprint entry image, the apparatus comprising:
获取模块,被配置为获取用户的指纹录入信息;an acquisition module, configured to acquire the user's fingerprint entry information;
录入进度确定模块,被配置为根据所述指纹录入信息确定当前用户的指纹模板的录入进度;an entry progress determination module, configured to determine the entry progress of the fingerprint template of the current user according to the fingerprint entry information;
图像确定模块,被配置为在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像;The image determination module is configured to determine a frame of target fingerprint entry image matching the entry progress in the pre-stored fingerprint entry animation with the number of image frames being a preset number;
显示模块,被配置为显示所述目标指纹录入图像。A display module configured to display the target fingerprint entry image.
可选地,所述录入进度确定模块包括:Optionally, the input progress determination module includes:
第一计算子模块,被配置为计算所述指纹录入信息所对应的信息量占预设总指纹信息量的比值,所述信息量包括指纹面积值和指纹特征点数目;The first calculation submodule is configured to calculate the ratio of the information amount corresponding to the fingerprint entry information to the preset total fingerprint information amount, and the information amount includes the fingerprint area value and the number of fingerprint feature points;
第一确定子模块,被配置为将所述比值作为当前用户的指纹模板的录入进度。The first determination sub-module is configured to use the ratio as the entry progress of the fingerprint template of the current user.
可选地,所述图像确定模块包括:Optionally, the image determination module includes:
第二计算子模块,被配置为计算所述录入进度与所述预设数目的乘积;a second calculation submodule, configured to calculate the product of the entry progress and the preset number;
第二确定子模块,被配置为根据所述乘积确定目标帧号;a second determination submodule, configured to determine the target frame number according to the product;
第三确定子模块,被配置为在图像帧数为预设数目的预存指纹录入动画中,将所述目标帧号对应的一帧图像作为所述目标指纹录入图像;The third determination sub-module is configured to use a frame of image corresponding to the target frame number as the target fingerprint input image in the pre-stored fingerprint input animation whose image frame number is a preset number;
其中,所述预存指纹录入动画中的每帧图像的帧号按照各自对应的指纹模板的录入进度由低到高的顺序进行编号。Wherein, the frame numbers of each frame of the image in the pre-stored fingerprint entry animation are numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates.
可选地,所述第二确定子模块包括:Optionally, the second determination submodule includes:
第一确定单元,被配置为当所述乘积大于1时,将小于等于所述乘积的最大整数值作为所述目标帧号;a first determining unit, configured to use the maximum integer value less than or equal to the product as the target frame number when the product is greater than 1;
第二确定单元,被配置为当所述乘积小于等于1时,将1作为所述目标帧号。The second determination unit is configured to use 1 as the target frame number when the product is less than or equal to 1.
可选地,所述图像确定模块还包括:Optionally, the image determination module further includes:
第四确定子模块,被配置为如果所述录入进度达到预设阈值,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像,所述预设阈值小于100%。The fourth determination sub-module is configured to, if the entry progress reaches a preset threshold, use a frame image of the pre-stored fingerprint entry animation for indicating that the fingerprint template entry is completed as the target fingerprint entry image, the preset fingerprint entry image. Threshold is less than 100%.
可选地,所述图像确定模块还包括:Optionally, the image determination module further includes:
判断子模块,被配置为如果用户当前进行指纹录入的累计次数达到所述预设数目,判断所述录入进度是否达到预设阈值,所述预设阈值小于100%;a judging sub-module, configured to judge whether the input progress has reached a preset threshold if the cumulative number of fingerprint entries currently performed by the user reaches the preset number, and the preset threshold is less than 100%;
第五确定子模块,被配置为在所述录入进度达到所述预设阈值时,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像。The fifth determination sub-module is configured to use a frame of image in the pre-stored fingerprint entry animation for indicating completion of fingerprint template entry as the target fingerprint entry image when the entry progress reaches the preset threshold.
可选地,所述装置还包括:Optionally, the device further includes:
执行模块,被配置为如果用户当前进行指纹录入的累计次数达到所述预设数目但所述录入进度未达到所述预设阈值,确定指纹模板录入失败且停止显示任何指纹录入图像。The execution module is configured to determine that the fingerprint template entry has failed and stop displaying any fingerprint entry image if the current cumulative number of fingerprint entries by the user reaches the preset number but the entry progress does not reach the preset threshold.
根据本公开实施例的第三方面,提供一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序用于执行上述第一方面所述的显示指纹录入图像的方法。According to a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the display fingerprint entry image described in the first aspect above. Methods.
根据本公开实施例的第四方面,提供一种终端,包括:According to a fourth aspect of the embodiments of the present disclosure, a terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为用于执行上述第一方面所述的显示指纹录入图像的方法。Wherein, the processor is configured to execute the method for displaying a fingerprint entry image described in the first aspect above.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开实施例中,终端获取到用户的指纹录入信息后,可以根据所述指纹录入信息确定当前用户的指纹模板的录入进度,在预存指纹录入动画中确定与所述录入进度匹配的一帧目标指纹录入图像,从而显示所述目标指纹录入图像。通过上述过程,终端只需要存储图像帧数为预设数目的预存指纹录入动画,就可以自动根据当前用户的指纹模板的录入进度,确定出匹配的一帧目标指纹录入图像并显示,节省了终端的存储空间。且用户进行指纹录入的次数可以是动态的,提升了终端的智能化程度,且提升了用户体验。In the embodiment of the present disclosure, after acquiring the user's fingerprint entry information, the terminal can determine the entry progress of the current user's fingerprint template according to the fingerprint entry information, and determine a frame target matching the entry progress in the pre-stored fingerprint entry animation The fingerprint entry image is displayed, thereby displaying the target fingerprint entry image. Through the above process, the terminal only needs to store the pre-stored fingerprint entry animation with the preset number of image frames, and can automatically determine and display a matching target fingerprint entry image according to the entry progress of the current user's fingerprint template, saving the terminal. of storage space. In addition, the number of times the user performs fingerprint entry can be dynamic, which improves the intelligence of the terminal and improves the user experience.
本公开实施例中,可选地,终端可以计算指纹录入信息所对应的信息量占预设总指纹信息量的比值,将所述比值作为当前用户的指纹模板的录入进度。实现简便,可用性高。In the embodiment of the present disclosure, optionally, the terminal may calculate the ratio of the information amount corresponding to the fingerprint entry information to the preset total fingerprint information amount, and use the ratio as the entry progress of the current user's fingerprint template. Simple implementation and high availability.
本公开实施例中,终端在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像时,可以通过计算录入进度与所述预设数目的乘积,进而根据所述乘积来确定目标帧号,将预存指纹录入动画中,所述目标帧号对应的一帧图像作为所述目标指纹录入图像。其中,所述预存指纹录入动画中的每帧图像的帧号预先按照各自对应的指纹模板的录入进度由低到高的顺序进行编号。通过上述过程,可以灵活地根据当前用户的指纹模板的录入进度,显示匹配的目标指纹录入图像,相应地,用户进行指纹录入的次数可以是动态的,提升了终端的智能化程度,且提升了用户体验。In the embodiment of the present disclosure, when the terminal determines a frame of target fingerprint input image that matches the input progress in a pre-stored fingerprint input animation with a preset number of image frames, the terminal may calculate the difference between the input progress and the preset number by calculating the difference between the input progress and the preset number. product, and then determine the target frame number according to the product, record the pre-stored fingerprint into the animation, and record a frame image corresponding to the target frame number as the target fingerprint input image. Wherein, the frame numbers of each frame of the image in the pre-stored fingerprint entry animation are pre-numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates. Through the above process, the matching target fingerprint entry image can be displayed flexibly according to the entry progress of the current user's fingerprint template. Accordingly, the number of times the user performs fingerprint entry can be dynamic, which improves the intelligence of the terminal and improves the user experience.
本公开实施例中,如果当前指纹模板的录入进度已经达到预设阈值,则可以确定指纹模板录入完成,此时,终端显示的目标指纹录入图像可以为预存指纹录入动画中用于指示指纹模板录入完成的一帧图像。通过上述过程,进一步减少了生成指纹模板时进行指纹录入的次数,使得终端只预存指纹录入动画就可以满足用户进行指纹模板录入时显示录入进度的要求,提升了终端的智能化程度,且提升了用户体验。In the embodiment of the present disclosure, if the current fingerprint template entry progress has reached the preset threshold, it can be determined that the fingerprint template entry is completed, and at this time, the target fingerprint entry image displayed by the terminal may be a pre-stored fingerprint entry animation for indicating fingerprint template entry. A completed frame of image. Through the above process, the number of times of fingerprint entry when generating a fingerprint template is further reduced, so that the terminal can only pre-store the fingerprint entry animation to meet the user's requirement of displaying the entry progress when entering the fingerprint template, which improves the intelligence of the terminal and improves the user experience.
本公开实施例中,如果用户当前进行指纹录入的累计次数达到预存指纹录入动画所包括的图像帧数,即所述累计次数达到预设数目,且指纹模板的录入进度达到了预设阈值,则可以确定指纹模板录入完成,此时,终端同样显示的目标指纹录入图像同样可以为预存指纹录入动画中用于指示指纹模板录入完成的一帧图像。如果用户当前进行指纹录入的累计次数达到所述预设数目但所述录入进度未达到所述预设阈值,则终端自动确定指纹模板录入失败且停止显示任何指纹录入图像。通过上述过程,终端只需要存储图像帧数为预设数目的预存指纹录入动画,就可以满足用户进行指纹模板录入时显示录入进度的要求,节省了终端的存储空间,提升了终端的智能化程度。In the embodiment of the present disclosure, if the current cumulative number of fingerprint entries by the user reaches the number of image frames included in the pre-stored fingerprint entry animation, that is, the cumulative number of times reaches the preset number, and the fingerprint template entry progress reaches the preset threshold, then It can be determined that the fingerprint template entry is completed. At this time, the target fingerprint entry image also displayed by the terminal can also be a frame image in the pre-stored fingerprint entry animation used to indicate that the fingerprint template entry is completed. If the current cumulative number of fingerprint entries by the user reaches the preset number but the entry progress does not reach the preset threshold, the terminal automatically determines that the fingerprint template entry has failed and stops displaying any fingerprint entry images. Through the above process, the terminal only needs to store the pre-stored fingerprint entry animation with the preset number of image frames, which can meet the user's requirement of displaying the entry progress when entering the fingerprint template, save the storage space of the terminal, and improve the intelligence of the terminal. .
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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.
图1A至1C是本公开根据一示例性实施例示出的显示指纹录入图像的场景示意图;1A to 1C are schematic diagrams of scenarios showing fingerprint entry images according to an exemplary embodiment of the present disclosure;
图2是本公开根据一示例性实施例示出的一种显示指纹录入图像的方法流程图;FIG. 2 is a flowchart of a method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图3是本公开根据一示例性实施例示出的另一种显示指纹录入图像的方法流程图;FIG. 3 is a flowchart of another method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图4A至4B是本公开根据一示例性实施例示出的显示指纹录入图像的场景示意图;4A to 4B are schematic diagrams of scenarios showing a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图5是本公开根据一示例性实施例示出的另一种显示指纹录入图像的方法流程图;FIG. 5 is a flowchart of another method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图6A至6B是本公开根据一示例性实施例示出的显示指纹录入图像的场景示意图;6A to 6B are schematic diagrams of scenarios showing fingerprint entry images according to an exemplary embodiment of the present disclosure;
图7A至7E是本公开根据一示例性实施例示出的显示指纹录入图像的场景示意图;7A to 7E are schematic diagrams of scenarios showing fingerprint entry images according to an exemplary embodiment of the present disclosure;
图8是本公开根据一示例性实施例示出的另一种显示指纹录入图像的方法流程图;FIG. 8 is a flowchart of another method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图9是本公开根据一示例性实施例示出的另一种显示指纹录入图像的方法流程图;FIG. 9 is a flowchart of another method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图10是本公开根据一示例性实施例示出的另一种显示指纹录入图像的方法流程图;FIG. 10 is a flowchart of another method for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图11是本公开根据一示例性实施例示出的一种显示指纹录入图像的装置框图;FIG. 11 is a block diagram of a device for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图12是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 12 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图13是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 13 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图14是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 14 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图15是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 15 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图16是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 16 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图17是本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图;FIG. 17 is a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure;
图18是本公开根据一示例性实施例示出的一种终端的一结构示意图。FIG. 18 is a schematic structural diagram of a terminal according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。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.
在本公开运行的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所运行的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中运行的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所运行的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various pieces of information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."
相关技术中,用户通过终端上的指纹传感器进行指纹模板的录入时,终端会提示用户将手指放在指纹传感器上,如图1A所示。进一步地,用户在指纹模板录入完成之前,需要多次进行指纹录入,终端会对应显示当前指纹模板的录入进度,例如图1B和1C所示。In the related art, when a user enters a fingerprint template through a fingerprint sensor on a terminal, the terminal will prompt the user to place a finger on the fingerprint sensor, as shown in FIG. 1A . Further, before the fingerprint template entry is completed, the user needs to perform fingerprint entry multiple times, and the terminal will correspondingly display the current fingerprint template entry progress, as shown in Figures 1B and 1C, for example.
对于不同的终端机型,需要用户分别录入固定次数,例如8次、12次或16次,才能完成最终的指纹模板。不同的指纹录入次数对应的指纹录入动画的图像帧数不同。例如,指纹录入次数为8次时,指纹录入动画的图像帧数为8;指纹录入次数为16次时,指纹录入动画的图像帧数为16。For different terminal models, the user needs to input a fixed number of times, such as 8 times, 12 times or 16 times, to complete the final fingerprint template. The number of image frames of the fingerprint entry animation corresponding to different fingerprint entry times is different. For example, when the number of fingerprint entries is 8, the number of image frames of the fingerprint entry animation is 8; when the number of fingerprint entries is 16, the number of image frames of the fingerprint entry animation is 16.
相关技术中,为了适配所有机型,终端中会同时保存上述三种类型的包括不同图像帧数的指纹录入动画,因此,造成了终端存储空间的浪费。且用户进行指纹录入的次数是固定的,对于一些操作熟练的用户而言,可能完成指纹模板时录入指纹的次数小于固定次数,也就造成了当前指纹录入动画无法动态适配指纹录入次数的要求。In the related art, in order to adapt to all models, the above three types of fingerprint entry animations including different image frame numbers are simultaneously stored in the terminal, thus causing a waste of terminal storage space. In addition, the number of fingerprint entries performed by the user is fixed. For some skilled users, the number of fingerprint entries may be less than the fixed number of times when completing the fingerprint template, which results in that the current fingerprint entry animation cannot dynamically adapt to the requirements of the number of fingerprint entries. .
为了解决上述问题,本公开实施例提供的一种显示指纹录入图像的方法,所述方法可以用于终端,例如,智能手机、平板电脑、个人数字助理(Personal DigitalAssistant,PDA)等。如图2所示,图2是根据一示例性实施例示出的一种显示指纹录入图像的方法,包括以下步骤:In order to solve the above problem, an embodiment of the present disclosure provides a method for displaying a fingerprint recorded image, and the method can be used in a terminal, for example, a smart phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), and the like. As shown in FIG. 2, FIG. 2 shows a method for displaying a fingerprint entry image according to an exemplary embodiment, including the following steps:
在步骤101中,获取用户的指纹录入信息;In
在步骤102中,根据所述指纹录入信息确定当前用户的指纹模板的录入进度;In
在步骤103中,在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像;In
在步骤104中,显示所述目标指纹录入图像。In
上述实施例中,终端只需要存储图像帧数为预设数目的预存指纹录入动画,就可以自动根据当前用户的指纹模板的录入进度,确定出匹配的一帧目标指纹录入图像并显示,节省了终端的存储空间。且用户进行指纹录入的次数可以是动态的,提升了终端的智能化程度,且提升了用户体验。In the above-mentioned embodiment, the terminal only needs to store the pre-stored fingerprint entry animation with the preset number of image frames, and can automatically determine and display a matching target fingerprint entry image according to the entry progress of the current user's fingerprint template, which saves money. Terminal storage space. In addition, the number of times the user performs fingerprint entry can be dynamic, which improves the intelligence of the terminal and improves the user experience.
针对上述步骤101,所述终端可以通过预先安装的指纹传感器按照相关技术获取所述指纹录入信息。可选地,所述指纹录入信息包括指纹面积和指纹特征点等信息,其中,所述指纹特征点可以包括指纹弧度和指纹分岔点等可以表征当前指纹的特征的信息点。For the
针对上述步骤102,可选地,如图3所示,图3是在前述图2所示实施例的基础上示出的另一种显示指纹录入图像的方法,步骤102可以包括:For the
在步骤102-1中,计算所述指纹录入信息所对应的信息量占预设总指纹信息量的比值;In step 102-1, calculate the ratio of the information amount corresponding to the fingerprint entry information to the preset total fingerprint information amount;
本步骤中,所述终端已经通过指纹传感器获取到了指纹录入信息,进一步地,可以统计所述指纹录入信息所对应的的信息量,即统计指纹面积值和指纹特征点数目中的至少一项。指纹模板中已经预先设定了总指纹信息量,即预设了总指纹面积值和总指纹特征点数目,本公开实施例中,只需要计算当前统计出的指纹信息量占预设总指纹信息量的比值即可。In this step, the terminal has obtained the fingerprint entry information through the fingerprint sensor, and further, the information amount corresponding to the fingerprint entry information can be counted, that is, at least one of the fingerprint area value and the number of fingerprint feature points can be counted. The total fingerprint information has been preset in the fingerprint template, that is, the total fingerprint area value and the total number of fingerprint feature points are preset. In the embodiment of the present disclosure, it is only necessary to calculate the current counted fingerprint information to account for the preset total fingerprint information. The ratio of the amount can be.
例如,预设总指纹信息量包括:总指纹面积值A和总指纹特征点数目B,统计出的当前指纹信息量包括:指纹面积值a和指纹特征点数目b,则可以分别计算指纹面积值a占总指纹面积值A的比值1,和指纹特征点数目b占总指纹特征点数目B的比值2,最终将上述比值1和比值2分别乘以各自所占的权重值后相加就可以得出最终的比值,即所述指纹信息量占预设总指纹信息量的比值。For example, the preset total fingerprint information includes: the total fingerprint area value A and the total number of fingerprint feature points B, and the current fingerprint information counted includes: the fingerprint area value a and the number of fingerprint feature points b, then the fingerprint area value can be calculated separately The ratio of a to the total fingerprint area value A is 1, and the ratio of the number of fingerprint feature points b to the total number of fingerprint feature points B is 2. Finally, the above ratio 1 and ratio 2 are multiplied by their respective weights and added together. A final ratio is obtained, that is, the ratio of the fingerprint information amount to the preset total fingerprint information amount.
在步骤102-2中,将所述比值作为当前用户的指纹模板的录入进度。In step 102-2, the ratio is used as the entry progress of the fingerprint template of the current user.
本步骤中,终端可以直接将上述步骤计算得到的所述比值作为当前用户的指纹模板的录入进度。In this step, the terminal may directly use the ratio calculated in the above steps as the entry progress of the current user's fingerprint template.
针对上述步骤103,预存指纹录入动画包括了预设数目的图像帧数,可选地,所述预设数目可以为20。For the
进一步地,所述预存指纹录入动画中的每帧图像的帧号按照各自对应的指纹模板的录入进度由低到高的顺序进行编号。即预存指纹录入动画的多帧图像的帧号是按照各自对应的指纹模板的录入进度由低到高的顺序进行编号的。Further, the frame numbers of each frame of the image in the pre-stored fingerprint entry animation are numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates. That is, the frame numbers of the multi-frame images of the pre-stored fingerprint entry animation are numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates.
例如,预存指纹录入动画中的20帧图像按照上述顺序依次从1开始进行编号,最终帧号为1的图像对应的指纹模板的录入进度最小,例如图4A所示;而帧号为20的图像对应的指纹模板的录入进度最大,例如图4B所示。For example, the 20 frames of images in the pre-stored fingerprint input animation are numbered sequentially from 1 in the above order, and the image with the final frame number of 1 corresponds to the fingerprint template with the smallest input progress, such as shown in Figure 4A; and the image with frame number of 20 The entry progress of the corresponding fingerprint template is the largest, as shown in Fig. 4B, for example.
则步骤103中确定目标指纹录入图像的过程如图5所示,图5是在前述图2所示实施例的基础上示出的另一种显示指纹录入图像的方法,步骤103可以包括:Then, the process of determining the target fingerprint entry image in
在步骤103-1中,计算所述录入进度与所述预设数目的乘积;In step 103-1, calculate the product of the input progress and the preset number;
本步骤中,终端可以先计算当前得到的指纹模板的录入进度和预存指纹录入动画所包括的图像帧数的乘积,即计算所述录入进度和所述预设数目的乘积。In this step, the terminal may first calculate the product of the currently obtained fingerprint template entry progress and the number of image frames included in the pre-stored fingerprint entry animation, that is, calculate the product of the entry progress and the preset number.
例如,预设数目为20,录入进度为24%,则计算得到的乘积为4.8。For example, if the preset number is 20 and the entry progress is 24%, the calculated product is 4.8.
在步骤103-2中,根据所述乘积确定目标帧号;In step 103-2, the target frame number is determined according to the product;
本步骤中,可选地,当所述乘积大于1时,可以将小于等于所述乘积的最大整数值作为所述目标帧号;而当所述乘积小于等于1时,将1作为所述目标帧号。In this step, optionally, when the product is greater than 1, the maximum integer value less than or equal to the product can be used as the target frame number; and when the product is less than or equal to 1, 1 can be used as the target frame number.
本公开实施例中,为了更为准确地反映当前的指纹模板的录入进度,如果得到的上述乘积大于1,则向下取最接近该乘积的整数值作为目标帧号;如果得到的乘积小于或等于1,则需要将1作为目标帧号,即指纹模板的录入过程中,至少需要显示对应于指纹录入进度最小的一帧图像。In the embodiment of the present disclosure, in order to more accurately reflect the current fingerprint template entry progress, if the obtained product is greater than 1, the integer value closest to the product is taken downward as the target frame number; if the obtained product is less than or If it is equal to 1, 1 needs to be used as the target frame number, that is, during the fingerprint template entry process, at least one frame image corresponding to the smallest fingerprint entry progress needs to be displayed.
例如,计算得到的乘积为4.8,则可以将4作为目标帧号。如果计算得到的乘积为0.8,则需要将1作为目标帧号。For example, if the calculated product is 4.8, then 4 can be used as the target frame number. If the calculated product is 0.8, you need to use 1 as the target frame number.
在步骤103-3中,在图像帧数为预设数目的预存指纹录入动画中,将所述目标帧号对应的一帧图像作为所述目标指纹录入图像。In step 103-3, in the pre-stored fingerprint recording animation with a preset number of image frames, a frame of image corresponding to the target frame number is used as the target fingerprint recording image.
本步骤中,终端直接在图像帧数为预设数目的预存指纹录入动画中,将所述目标帧号对应的一帧图像作为所述目标指纹录入图像即可。In this step, the terminal may directly record a frame of image corresponding to the target frame number as the target fingerprint input image in the pre-stored fingerprint recording animation with a preset number of image frames.
针对上述步骤104,终端在预存指纹录入动画中确定了与所述录入进度匹配的一帧目标指纹录入图像之后,按照相关技术在终端界面上显示该目标指纹录入图像即可。For the
用户可以通过显示的目标指纹录入图像了解当前的指纹模板的录入进度,提升了用户体验。另外,本公开实施例中,可以动态的基于指纹模板的录入进度显示相应的目标指纹录入图像,例如,预存指纹录入动画包括20帧图像,但是用户在录入到第6次时,录入进度就达到了最大的录入进度,此时,终端可以直接显示预存指纹录入动画中帧号为20的目标指纹录入图像。提升了终端的智能化程度,且提升了用户体验。The user can know the current fingerprint template entry progress through the displayed target fingerprint entry image, which improves the user experience. In addition, in the embodiment of the present disclosure, the corresponding target fingerprint entry image can be dynamically displayed based on the entry progress of the fingerprint template. For example, the pre-stored fingerprint entry animation includes 20 frames of images, but when the user enters the sixth time, the entry progress is reached. In this case, the terminal can directly display the target fingerprint entry image whose frame number is 20 in the pre-stored fingerprint entry animation. The intelligence of the terminal is improved, and the user experience is improved.
相关技术中,在用户每次进行指纹录入时,所述终端除了显示指纹录入图像指纹还会显示完成指纹模板录入用户所需要进行指纹录入的剩余次数,例如图6A所示。在本公开实施例中,用户每进行一次指纹录入,所述终端可以在显示所述目标指纹录入图像的同时,显示用户当前的指纹模板的录入进度,例如图6B所示。从而让用户更加清晰地了解当前指纹模板的录入进度,提升了用户体验。In the related art, each time the user performs fingerprint entry, the terminal not only displays the fingerprint entry image fingerprint, but also displays the remaining number of fingerprint entries required by the user to complete the fingerprint template entry, as shown in FIG. 6A , for example. In this embodiment of the present disclosure, each time a user performs fingerprint entry, the terminal may display the user's current fingerprint template entry progress while displaying the target fingerprint entry image, as shown in FIG. 6B , for example. Thus, the user can more clearly understand the input progress of the current fingerprint template, and the user experience is improved.
假设在所述录入进度达到100%时,用户共进行了5次指纹录入,每次进行指纹录入时,终端显示对于当前录入进度的目标指纹录入图像,同时显示当前录入进度,整个录入过程可以依次如图7A至7E所示。通过上述过程,可以将指纹录入过程与指纹模板的录入进度关联起来,终端根据当前指纹模板的录入用户显示对应该进度的目标指纹录入图像,且显示指纹模板的录入进度,使得用户录入指纹的次数可以是动态的,提升了终端的智能化程度。Assuming that when the entry progress reaches 100%, the user has performed fingerprint entry for a total of 5 times, and each time the fingerprint entry is performed, the terminal displays the target fingerprint entry image for the current entry progress, and displays the current entry progress at the same time. The entire entry process can be sequentially As shown in Figures 7A to 7E. Through the above process, the fingerprint entry process can be associated with the entry progress of the fingerprint template, and the terminal displays the target fingerprint entry image corresponding to the progress according to the entry user of the current fingerprint template, and displays the entry progress of the fingerprint template, so that the number of times the user has entered fingerprints It can be dynamic, which improves the intelligence of the terminal.
在一实施例中,上述步骤102如图8所示,图8是在前述图5所示实施例的基础上示出的另一种显示指纹录入图像的方法,在执行步骤103-1之前,步骤103还可以包括:In one embodiment, the above-mentioned
在步骤103-01中,如果所述录入进度达到预设阈值,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像。In step 103-01, if the entry progress reaches a preset threshold, a frame of image in the pre-stored fingerprint entry animation for indicating the completion of fingerprint template entry is used as the target fingerprint entry image.
本步骤中,可以设置预设阈值,该预设阈值可以小于100%。当前指纹模板的录入进度无需达到100%,只要录入进度达到所述预设阈值,终端就可以确定指纹模板录入成功。例如预设阈值为80%,在录入进度达到80%时,终端就确定指纹模板录入完成,此时直接将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像即可,也就是说可以将帧号最大的一帧图像作为所述目标指纹录入图像。In this step, a preset threshold may be set, and the preset threshold may be less than 100%. The current entry progress of the fingerprint template does not need to reach 100%, as long as the entry progress reaches the preset threshold, the terminal can determine that the fingerprint template entry is successful. For example, the preset threshold is 80%. When the entry progress reaches 80%, the terminal determines that the fingerprint template entry is completed, and at this time, the pre-stored fingerprint entry animation is directly used to indicate that the fingerprint template entry is completed. One frame image as the target The fingerprint can be entered into the image, that is to say, the image with the largest frame number can be entered into the image as the target fingerprint.
终端在此时得到的指纹模板虽然未达到100%,但是终端可以在后续用户进行终端解锁或进行支付业务时,通过指纹传感器进行自学习,从而不断完善该指纹模板。Although the fingerprint template obtained by the terminal at this time does not reach 100%, the terminal can continuously improve the fingerprint template by self-learning through the fingerprint sensor when the subsequent user unlocks the terminal or performs payment services.
上述实施例中,终端可以在进行任意一次的指纹录入时,如果确定录入进度达到预设阈值时,就确定指纹模板录入成功,进一步减少了生成指纹模板时进行指纹录入的次数,使得终端只预存指纹录入动画就可以满足用户进行指纹模板录入时显示录入进度的要求,提升了终端的智能化程度,且提升了用户体验。In the above embodiment, when the terminal performs any fingerprint entry, if it is determined that the entry progress reaches the preset threshold, it is determined that the fingerprint template entry is successful, which further reduces the number of fingerprint entries when generating the fingerprint template, so that the terminal only pre-stores the fingerprint template. The fingerprint entry animation can meet the user's requirement of displaying the entry progress when entering the fingerprint template, which improves the intelligence of the terminal and improves the user experience.
在一实施例中,上述步骤103如图9所示,图9是在前述图5所示实施例的基础上示出的另一种显示指纹录入图像的方法,在执行步骤103-1之前,步骤103还可以包括:In one embodiment, the above-mentioned
在步骤103-02中,如果用户当前进行指纹录入的累计次数达到所述预设数目,判断所述录入进度是否达到预设阈值;In step 103-02, if the current cumulative number of fingerprint entries by the user reaches the preset number, it is determined whether the entry progress has reached a preset threshold;
本步骤中,可以在用户当前进行指纹录入的累计次数达到所述预设数目,即达到预存指纹录入动画所包括的图像帧数时,确定录入的所述用户的指纹模板的录入进度是否达到所述预设阈值,可选地,所述预设阈值小于100%,可以为80%。In this step, when the current cumulative number of fingerprint entries by the user reaches the preset number, that is, the number of image frames included in the pre-stored fingerprint entry animation, it can be determined whether the entry progress of the entered fingerprint template of the user has reached the predetermined number. The preset threshold, optionally, the preset threshold is less than 100%, and may be 80%.
如果所述录入进度达到所述预设阈值,则继续执行步骤102-03。If the input progress reaches the preset threshold, continue to execute step 102-03.
在步骤103-03中,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像。In step 103-03, a frame of image in the pre-stored fingerprint entry animation for indicating the completion of fingerprint template entry is used as the target fingerprint entry image.
本步骤中,终端直接将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像即可,也就是说可以将编号最大的一帧图像作为所述目标指纹录入图像。In this step, the terminal can directly use a frame of image in the pre-stored fingerprint input animation used to indicate that the fingerprint template registration is completed as the target fingerprint input image, that is to say, the frame image with the largest number can be used as the target. Fingerprint entry image.
上述实施例中,如果用户当前进行指纹录入的累计次数已经达到预设数目,即达到了预存指纹录入动画所包括的图像帧数,则终端可以在录入进度达到预设阈值时,确定指纹模板录入成功。通过上述过程,终端只需要存储图像帧数为预设数目的预存指纹录入动画,就可以满足用户进行指纹模板录入时显示录入进度的要求,节省了终端的存储空间,提升了终端的智能化程度。In the above embodiment, if the accumulated number of times the user currently performs fingerprint entry has reached the preset number, that is, the number of image frames included in the pre-stored fingerprint entry animation, the terminal can determine the fingerprint template entry when the entry progress reaches the preset threshold. success. Through the above process, the terminal only needs to store the pre-stored fingerprint entry animation with the preset number of image frames, which can meet the user's requirement of displaying the entry progress when entering the fingerprint template, save the storage space of the terminal, and improve the intelligence of the terminal. .
在一实施例中,上述显示指纹录入图像的方法如图10所示,图10是在前述图9所示实施例的基础上示出的另一种显示指纹录入图像的方法,还可以包括:In one embodiment, the above-mentioned method for displaying a fingerprint entry image is shown in FIG. 10 . FIG. 10 is another method for displaying a fingerprint entry image based on the foregoing embodiment shown in FIG. 9 , which may further include:
在步骤105中,如果用户当前进行指纹录入的累计次数达到所述预设数目但所述录入进度未达到所述预设阈值,确定指纹模板录入失败且停止显示任何指纹录入图像。In
本步骤中,如果用户当前进行指纹录入的累计次数达到所述预设数目,同时,录入进度未达到所述预设阈值,则所述终端确定指纹模板的录入失败,可以输出提示用户指纹模板录入失败的提示信息,并退出指纹录入过程,不再显示任何指纹录入图像。In this step, if the current cumulative number of fingerprint entries by the user reaches the preset number, and at the same time, the entry progress does not reach the preset threshold, the terminal determines that the entry of the fingerprint template has failed, and can output a prompt to the user to enter the fingerprint template. Failed prompt message, and exit the fingerprint entry process, no longer display any fingerprint entry image.
上述实施例中,可以在用户当前进行指纹录入的累计次数达到预存指纹录入动画所包括的图像帧数但录入进度未达到预设阈值时,确定指纹录入失败,不再显示任何指纹录入图像。使得预存指纹录入动画可以匹配录入过程,提升用户体验,提升了终端的智能化程度。In the above embodiment, when the accumulated number of times the user currently performs fingerprint entry reaches the number of image frames included in the pre-stored fingerprint entry animation but the entry progress does not reach the preset threshold, it is determined that the fingerprint entry has failed, and no fingerprint entry image is displayed. The pre-stored fingerprint input animation can match the input process, improve the user experience, and improve the intelligence of the terminal.
与前述方法实施例相对应,本公开还提供了装置的实施例。Corresponding to the foregoing method embodiments, the present disclosure also provides device embodiments.
如图11所示,图11是本公开根据一示例性实施例示出的一种显示指纹录入图像的装置框图,所述装置包括:As shown in FIG. 11 , FIG. 11 is a block diagram of an apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure, and the apparatus includes:
获取模块210,被配置为获取用户的指纹录入信息;The acquiring
录入进度确定模块220,被配置为根据所述指纹录入信息确定当前用户的指纹模板的录入进度;The entry
图像确定模块230,被配置为在图像帧数为预设数目的预存指纹录入动画中,确定与所述录入进度匹配的一帧目标指纹录入图像;The
显示模块240,被配置为显示所述目标指纹录入图像。The
如图12所示,图12本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图11实施例的基础上,所述录入进度确定模块220包括:As shown in FIG. 12 , FIG. 12 shows a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure. Based on the foregoing embodiment in FIG. 11 , the entry
第一计算子模块221,被配置为计算所述指纹录入信息所对应的信息量占预设总指纹信息量的比值,所述信息量包括指纹面积值和指纹特征点数目中的至少一项;The
第一确定子模块222,被配置为将所述比值作为当前用户的指纹模板的录入进度。The
如图13所示,图13本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图11实施例的基础上,所述图像确定模块230包括:As shown in FIG. 13 , FIG. 13 shows a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure. Based on the foregoing embodiment in FIG. 11 , the
第二计算子模块231,被配置为计算所述录入进度与所述预设数目的乘积;The
第二确定子模块232,被配置为根据所述乘积确定目标帧号;The
第三确定子模块233,被配置为在图像帧数为预设数目的预存指纹录入动画中,将所述目标帧号对应的一帧图像作为所述目标指纹录入图像;The
其中,所述预存指纹录入动画中的每帧图像的帧号按照各自对应的指纹模板的录入进度由低到高的顺序进行编号。Wherein, the frame numbers of each frame of the image in the pre-stored fingerprint entry animation are numbered in ascending order according to the entry progress of the respective corresponding fingerprint templates.
如图14所示,图14本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图12实施例的基础上,所述第二确定子模块232包括:As shown in FIG. 14 , FIG. 14 shows a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure. This embodiment is based on the foregoing embodiment in FIG. 12 , the
第一确定单元2321,被配置为当所述乘积大于1时,将小于等于所述乘积的最大整数值作为所述目标帧号;The first determining
第二确定单元2322,被配置为当所述乘积小于等于1时,将1作为所述目标帧号。The second determining
如图15所示,图15本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图12实施例的基础上,所述图像确定模块230还包括:As shown in FIG. 15 , FIG. 15 shows a block diagram of another apparatus for displaying a fingerprint recording image according to an exemplary embodiment of the present disclosure. Based on the foregoing embodiment in FIG. 12 , the
第四确定子模块234,被配置为如果所述录入进度达到预设阈值,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像,所述预设阈值小于100%。The
如图16所示,图16本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图13实施例的基础上,所述图像确定模块230还包括:As shown in FIG. 16 , FIG. 16 shows a block diagram of another apparatus for displaying a fingerprint recording image according to an exemplary embodiment of the present disclosure. Based on the foregoing embodiment in FIG. 13 , the
判断子模块235,被配置为如果用户当前进行指纹录入的累计次数达到所述预设数目,判断所述录入进度是否达到预设阈值,所述预设阈值小于100%;The
第五确定子模块236,被配置为在所述录入进度达到所述预设阈值时,将所述预存指纹录入动画中用于指示指纹模板录入完成的一帧图像作为所述目标指纹录入图像。The
如图17所示,图17本公开根据一示例性实施例示出的另一种显示指纹录入图像的装置框图,该实施例在前述图16实施例的基础上,所述装置还包括:As shown in FIG. 17 , FIG. 17 shows a block diagram of another apparatus for displaying a fingerprint entry image according to an exemplary embodiment of the present disclosure. On the basis of the foregoing embodiment in FIG. 16 , the apparatus further includes:
执行模块250,被配置为如果用户当前进行指纹录入的累计次数达到所述预设数目但所述录入进度未达到所述预设阈值,确定指纹模板录入失败且停止显示任何指纹录入图像。The
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place , or distributed to multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.
相应的,本公开还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行上述任一所述的显示指纹录入图像的方法。Correspondingly, the present disclosure also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to execute any one of the above-mentioned methods for displaying a fingerprint and recording an image.
相应的,本公开还提供了一种终端,包括:Correspondingly, the present disclosure also provides a terminal, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为用于执行上述任一所述的显示指纹录入图像的方法。Wherein, the processor is configured to execute any one of the above-mentioned methods for displaying a fingerprint entry image.
图18是根据一示例性实施例示出的一种显示指纹录入图像的装置的结构示意图。如图18所示,根据一示例性实施例示出的一种显示指纹录入图像的装置1800,该装置1800可以是计算机,移动电话,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。Fig. 18 is a schematic structural diagram of an apparatus for displaying a fingerprint recorded image according to an exemplary embodiment. As shown in FIG. 18 , according to an exemplary embodiment, an
参照图18,装置1800可以包括以下一个或多个组件:处理组件1801,存储器1802,电源组件1803,多媒体组件1804,音频组件1805,输入/输出(I/O)的接口1806,传感器组件1807,以及通信组件1808。18, an
处理组件1801通常控制装置1800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1801可以包括一个或多个处理器1809来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1801可以包括一个或多个模块,便于处理组件1801和其它组件之间的交互。例如,处理组件1801可以包括多媒体模块,以方便多媒体组件1804和处理组件1801之间的交互。The
存储器1802被配置为存储各种类型的数据以支持在装置1800的操作。这些数据的示例包括用于在装置1800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1802可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1803为装置1800的各种组件提供电力。电源组件1803可以包括电源管理系统,一个或多个电源,及其它与为装置1800生成、管理和分配电力相关联的组件。
多媒体组件1804包括在所述装置1800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1804包括一个前置摄像头和/或后置摄像头。当装置1800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1805被配置为输出和/或输入音频信号。例如,音频组件1805包括一个麦克风(MIC),当装置1800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1802或经由通信组件1808发送。在一些实施例中,音频组件1805还包括一个扬声器,用于输出音频信号。
I/O接口1806为处理组件1801和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件1807包括一个或多个传感器,用于为装置1800提供各个方面的状态评估。例如,传感器组件1807可以检测到装置1800的打开/关闭状态,组件的相对定位,例如所述组件为装置1800的显示器和小键盘,传感器组件1807还可以检测装置1800或装置1800一个组件的位置改变,用户与装置1800接触的存在或不存在,装置1800方位或加速/减速和装置1800的温度变化。传感器组件1807可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1807还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1807还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1808被配置为便于装置1800和其它设备之间有线或无线方式的通信。装置1800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1808经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1808还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其它技术来实现。
在示例性实施例中,装置1800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其它电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1802,上述指令可由装置1800的处理器1809执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
其中,当所述存储介质中的指令由所述处理器执行时,使得装置1800能够执行上述任一所述显示指纹录入图像的方法。Wherein, when the instructions in the storage medium are executed by the processor, the
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或者惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。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 disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this 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.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the present disclosure. within the scope of protection.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710258684.9A CN107341000B (en) | 2017-04-19 | 2017-04-19 | A method, device and terminal for displaying a fingerprint input image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710258684.9A CN107341000B (en) | 2017-04-19 | 2017-04-19 | A method, device and terminal for displaying a fingerprint input image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107341000A CN107341000A (en) | 2017-11-10 |
CN107341000B true CN107341000B (en) | 2020-11-20 |
Family
ID=60223272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710258684.9A Active CN107341000B (en) | 2017-04-19 | 2017-04-19 | A method, device and terminal for displaying a fingerprint input image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107341000B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408173B (en) * | 2018-09-27 | 2021-10-19 | 维沃移动通信有限公司 | Interface display method and terminal |
CN110210397B (en) * | 2019-05-31 | 2023-12-15 | Oppo广东移动通信有限公司 | Fingerprint entry methods and related equipment |
CA3158977A1 (en) * | 2019-11-26 | 2021-06-03 | Spectrum Brands, Inc. | System and method of enrolling users of a wireless biometric lockset |
CN114463471B (en) * | 2020-10-22 | 2025-06-06 | 华为技术有限公司 | Electronic device and method for prompting function settings thereof, and method for playing prompt files |
CN114511947A (en) * | 2020-10-23 | 2022-05-17 | 深圳绿米联创科技有限公司 | Fingerprint entry method, smart door lock, mobile terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105184218A (en) * | 2015-07-30 | 2015-12-23 | 广东欧珀移动通信有限公司 | Method and device for fingerprint recording |
CN105389565A (en) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | Fingerprint registration method, device and terminal equipment |
CN105893814A (en) * | 2015-02-12 | 2016-08-24 | 三星电子株式会社 | Electronic device and method for registering fingerprints in electronic device |
CN106485190A (en) * | 2015-08-27 | 2017-03-08 | 张敏 | Fingerprint register method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9202099B2 (en) * | 2012-06-29 | 2015-12-01 | Apple Inc. | Fingerprint sensing and enrollment |
US8913801B2 (en) * | 2012-06-29 | 2014-12-16 | Apple Inc. | Enrollment using synthetic fingerprint image and fingerprint sensing systems |
-
2017
- 2017-04-19 CN CN201710258684.9A patent/CN107341000B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105893814A (en) * | 2015-02-12 | 2016-08-24 | 三星电子株式会社 | Electronic device and method for registering fingerprints in electronic device |
CN105184218A (en) * | 2015-07-30 | 2015-12-23 | 广东欧珀移动通信有限公司 | Method and device for fingerprint recording |
CN106485190A (en) * | 2015-08-27 | 2017-03-08 | 张敏 | Fingerprint register method and device |
CN105389565A (en) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | Fingerprint registration method, device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107341000A (en) | 2017-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106970754B (en) | Screen capture processing method and device | |
CN107025419B (en) | Fingerprint template inputting method and device | |
CN105430262B (en) | Filming control method and device | |
CN106454336B (en) | Method and device for detecting blocked terminal camera and terminal | |
CN107341000B (en) | A method, device and terminal for displaying a fingerprint input image | |
EP3176709A1 (en) | Video categorization method and apparatus, computer program and recording medium | |
EP3300407A1 (en) | Method and device for processing verification code | |
US20170060260A1 (en) | Method and device for connecting external equipment | |
CN106372204A (en) | Push message processing method and device | |
US20190174046A1 (en) | Method and device for capturing image and storage medium | |
US10230891B2 (en) | Method, device and medium of photography prompts | |
CN105245775A (en) | Method and device for camera imaging, and mobile terminal | |
EP2961148A1 (en) | Method and device for obtaining voice service | |
EP3176999A1 (en) | Method and device for processing information | |
CN105426485A (en) | Image combination method and device, intelligent terminal and server | |
CN106203306A (en) | Age prediction method, device and terminal | |
CN107491681B (en) | Fingerprint information processing method and device | |
CN108108671A (en) | Description of product information acquisition method and device | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN106572268A (en) | Information display method and device | |
CN108121631A (en) | Screen abnormality based reminding method and device | |
CN107247794B (en) | Topic guidance method in live broadcast, live broadcast device and terminal device | |
CN112948704A (en) | Model training method and device for information recommendation, electronic equipment and medium | |
CN106488132A (en) | Photographic method and device | |
CN108769513B (en) | Camera photographing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |