[go: up one dir, main page]

CN109726695B - Optical fingerprint icon display method, electronic device and computer-readable storage medium - Google Patents

Optical fingerprint icon display method, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN109726695B
CN109726695B CN201910004777.8A CN201910004777A CN109726695B CN 109726695 B CN109726695 B CN 109726695B CN 201910004777 A CN201910004777 A CN 201910004777A CN 109726695 B CN109726695 B CN 109726695B
Authority
CN
China
Prior art keywords
optical fingerprint
display
icon
module
fingerprint icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201910004777.8A
Other languages
Chinese (zh)
Other versions
CN109726695A (en
Inventor
姚智情
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910004777.8A priority Critical patent/CN109726695B/en
Publication of CN109726695A publication Critical patent/CN109726695A/en
Application granted granted Critical
Publication of CN109726695B publication Critical patent/CN109726695B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

一种光学指纹图标显示方法、电子装置及计算机可读存储介质,以快速显示光学指纹图标,满足应用场景的需求,所述方法包括:检测当前的应用场景;若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标;若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。本发明的技术方案一方面通过快速通信方式通知显示模块显示光学指纹图标,由于是快速通信方式,因此,在当前的应用场景已经进入指纹识别应用时可以快速显示光学指纹图标;另一方面,由于当前的应用场景将要进入指纹识别应用时就提前通知显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标又快了很多。

Figure 201910004777

A method for displaying an optical fingerprint icon, an electronic device and a computer-readable storage medium, so as to quickly display an optical fingerprint icon to meet the requirements of an application scenario, the method includes: detecting a current application scenario; if the current application scenario is that the fingerprint has entered the Identify the application, notify the display module to display the optical fingerprint icon through fast communication; if the current application scenario is to enter the fingerprint identification application, notify the display module in advance to display the optical fingerprint icon. On the one hand, the technical solution of the present invention informs the display module to display the optical fingerprint icon by means of fast communication. Because of the fast communication method, the optical fingerprint icon can be displayed quickly when the current application scene has entered the fingerprint identification application; In the current application scenario, the optical fingerprint icon is notified in advance when entering the fingerprint identification application, which is much faster than the prior art when the optical fingerprint icon is displayed when entering the fingerprint identification application.

Figure 201910004777

Description

光学指纹图标显示方法、电子装置及计算机可读存储介质Optical fingerprint icon display method, electronic device and computer-readable storage medium

技术领域technical field

本申请涉及光学指纹领域,尤其涉及一种光学指纹图标显示方法、电子装置及计算机可读存储介质。The present application relates to the field of optical fingerprints, and in particular, to a method for displaying an optical fingerprint icon, an electronic device and a computer-readable storage medium.

背景技术Background technique

光学指纹识别是目前使用最广泛的指纹识别技术,它的原理是将手指放在光学镜片上,手指在内置光源照射下,采用棱镜将其投射至电荷耦合器件,进而形成脊线呈黑色、谷呈白色的数字化、可被指纹设备算法处理的多灰度指纹图像。基于成本、精度等因素考虑,在尚不能做到终端的全屏幕光学指纹识别的情形下,于屏幕的固定位置进行光学指纹识别不失为一种可行方案。Optical fingerprint recognition is the most widely used fingerprint recognition technology at present. Its principle is to place the finger on the optical lens, and under the built-in light source, the finger is projected to the charge-coupled device by a prism, and then the ridge line is black and valley. A white digitized, multi-grayscale fingerprint image that can be processed by the fingerprint device algorithm. Based on factors such as cost and accuracy, in the case where full-screen optical fingerprint recognition of the terminal is not yet possible, optical fingerprint recognition at a fixed position on the screen is a feasible solution.

于屏幕固定位置进行光学指纹识别方案的前提是在该固定位置能够显示指纹图标,以引导用户在此处用手指按压屏幕,采集指纹。现有的光学指纹图标显示方法是位于系统层之上的应用层收到屏幕按压事件后临时绘制指纹图标,再将这一临时绘制好的指纹图标上传至显示模块显示。The premise of implementing an optical fingerprint identification solution at a fixed position on the screen is that a fingerprint icon can be displayed at the fixed position, so as to guide the user to press the screen with a finger to collect the fingerprint. The existing optical fingerprint icon display method is that the application layer located above the system layer temporarily draws the fingerprint icon after receiving the screen pressing event, and then uploads the temporarily drawn fingerprint icon to the display module for display.

由于指纹图标是临时绘制,在对响应要求较高的应用场景,例如,指纹锁屏或/和解锁,上述现有的光学指纹图标显示方法尚不足以很快地显示指纹图标,满足上述应用场景的要求。Since the fingerprint icon is drawn temporarily, in the application scenarios with high response requirements, such as fingerprint lock screen or/and unlock, the above-mentioned existing optical fingerprint icon display method is not enough to quickly display the fingerprint icon, which meets the above application scenarios requirements.

发明内容SUMMARY OF THE INVENTION

本申请提供一种光学指纹图标显示方法、电子装置及计算机可读存储介质,以快速显示光学指纹图标,满足应用场景的需求。The present application provides a method for displaying an optical fingerprint icon, an electronic device and a computer-readable storage medium, so as to quickly display the optical fingerprint icon and meet the requirements of application scenarios.

本申请第一方面提供一种光学指纹图标显示方法,包括:A first aspect of the present application provides a method for displaying an optical fingerprint icon, including:

检测当前的应用场景;Detect the current application scenario;

若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标;If the current application scenario is that the fingerprint recognition application has been entered, the display module will be notified to display the optical fingerprint icon by means of fast communication;

若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。If the current application scenario is to enter the fingerprint identification application, the display module is notified in advance to display the optical fingerprint icon.

本申请第二方面提供一种光学指纹图标显示装置,包括:A second aspect of the present application provides an optical fingerprint icon display device, comprising:

检测模块,用于检测当前的应用场景;The detection module is used to detect the current application scenario;

第一通知模块,用于若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标;a first notification module, configured to notify the display module to display an optical fingerprint icon through a fast communication method if the current application scenario has entered the fingerprint identification application;

第二通知模块,用于若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。The second notification module is configured to notify the display module in advance to display the optical fingerprint icon if the current application scenario is to enter the fingerprint identification application.

本申请第三方面提供一种电子装置,包括:A third aspect of the present application provides an electronic device, comprising:

存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述本申请实施例第一方面提供的光学指纹图标显示方法中的各步骤,包括:A memory, a processor, and a computer program stored on the memory and running on the processor, when the processor executes the computer program, the display of the optical fingerprint icon provided by the first aspect of the embodiment of the present application described above is realized The steps in the method include:

检测当前的应用场景;Detect the current application scenario;

若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标;If the current application scenario is that the fingerprint recognition application has been entered, the display module will be notified to display the optical fingerprint icon by means of fast communication;

若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。If the current application scenario is to enter the fingerprint identification application, the display module is notified in advance to display the optical fingerprint icon.

本申请第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述本申请实施例第一方面提供的光学指纹图标显示方法中的各步骤,包括:A fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each of the above-mentioned methods for displaying an optical fingerprint icon provided in the first aspect of the embodiments of the present application. steps, including:

检测当前的应用场景;Detect the current application scenario;

若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标;If the current application scenario is that the fingerprint recognition application has been entered, the display module will be notified to display the optical fingerprint icon by means of fast communication;

若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。If the current application scenario is to enter the fingerprint identification application, the display module is notified in advance to display the optical fingerprint icon.

由上述技术方案可知,一方面,若当前的应用场景已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标,由于是快速通信方式,因此,相比于现有技术,在当前的应用场景已经进入指纹识别应用时可以快速显示光学指纹图标;另一方面,由于当前的应用场景将要进入指纹识别应用时就提前通知显示模块显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标又快了很多,综上,无论是哪种情形,本申请的技术方案相比于现有技术都可以快速显示光学指纹图标,从而满足对快速显示光学指纹图标的应用场景的需求。It can be seen from the above technical solutions that, on the one hand, if the current application scenario has entered the fingerprint recognition application, the display module is notified to display the optical fingerprint icon through the fast communication method. When the application scenario of the fingerprint recognition application has entered the fingerprint recognition application, the optical fingerprint icon can be quickly displayed; on the other hand, because the current application scenario is about to enter the fingerprint recognition application, the display module is notified in advance to display the optical fingerprint icon. It is much faster to display the optical fingerprint icon only when the identification application is used. To sum up, no matter what the situation is, the technical solution of the present application can quickly display the optical fingerprint icon compared with the prior art, so as to meet the requirements for the rapid display of the optical fingerprint icon. application scenario requirements.

附图说明Description of drawings

图1为本申请实施例提供的光学指纹图标显示方法一个实施例流程示意图;1 is a schematic flowchart of an embodiment of a method for displaying an optical fingerprint icon provided by an embodiment of the present application;

图2为现有技术在显示光学指纹图标的流程示意图;FIG. 2 is a schematic flow chart of displaying an optical fingerprint icon in the prior art;

图3为本申请实施例提供的在显示光学指纹图标的流程示意图;FIG. 3 is a schematic flowchart of displaying an optical fingerprint icon according to an embodiment of the present application;

图4为本申请实施例提供的光学指纹图标显示装置结构示意图;4 is a schematic structural diagram of an optical fingerprint icon display device provided by an embodiment of the present application;

图5为本申请另一实施例提供的光学指纹图标显示装置结构示意图;5 is a schematic structural diagram of an optical fingerprint icon display device according to another embodiment of the present application;

图6为本申请另一实施例提供的光学指纹图标显示装置结构示意图;6 is a schematic structural diagram of an optical fingerprint icon display device provided by another embodiment of the present application;

图7为本申请另一实施例提供的光学指纹图标显示装置结构示意图;FIG. 7 is a schematic structural diagram of an optical fingerprint icon display device according to another embodiment of the present application;

图8为本申请另一实施例提供的光学指纹图标显示装置结构示意图;FIG. 8 is a schematic structural diagram of an optical fingerprint icon display device provided by another embodiment of the present application;

图9为本申请实施例提供的电子装置结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

为使得本申请的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而非全部实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, features and advantages of the invention of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. The embodiments described above are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of this application.

本申请实施例提供一种光学指纹图标显示方法,该光学指纹图标显示方法应用于电子装置,该电子装置可以为个人电脑、智能手机或平板电脑等。An embodiment of the present application provides a method for displaying an optical fingerprint icon, and the method for displaying an optical fingerprint icon is applied to an electronic device, and the electronic device may be a personal computer, a smart phone, a tablet computer, or the like.

请参阅图1,本申请实施例中的光学指纹图标显示方法主要包括以下步骤101至103:Referring to FIG. 1, the method for displaying an optical fingerprint icon in the embodiment of the present application mainly includes the following steps 101 to 103:

步骤101、检测当前的应用场景。Step 101 , detect the current application scenario.

并非所有的应用场景都需要使用到指纹识别,例如,用户在听音乐、阅读或者观看视频时,可能就无需指纹识别,而在一些应用场景中,例如,解锁、锁屏或者支付类应用,则可能进行指纹识别或验证。因此,在本申请实施例中,首先需要做当前应用场景的检测。Not all application scenarios require the use of fingerprint recognition. For example, users may not need fingerprint recognition when listening to music, reading or watching videos. In some application scenarios, such as unlocking, locking the screen, or payment applications, Fingerprinting or verification possible. Therefore, in this embodiment of the present application, the detection of the current application scenario needs to be done first.

步骤102、若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标。Step 102 , if the current application scenario is that the fingerprint identification application has been entered, notify the display module to display the optical fingerprint icon by means of fast communication.

在当前的应用场景已经进入指纹识别应用时,例如,指纹锁屏、解锁等,就意味着需要尽可能快速地在用户界面显示光学指纹图标。与现有技术需要通过用户界面层等复杂路径通知显示模块显示光学指纹图标不同,本申请的技术方案是在当前的应用场景已经进入指纹识别应用时通过快速通信方式通知显示模块显示光学指纹图标。When the current application scenario has entered the fingerprint recognition application, for example, fingerprint lock screen, unlock, etc., it means that the optical fingerprint icon needs to be displayed on the user interface as quickly as possible. Different from the prior art that needs to notify the display module to display the optical fingerprint icon through complex paths such as the user interface layer, the technical solution of the present application is to notify the display module to display the optical fingerprint icon through fast communication when the current application scenario has entered the fingerprint identification application.

作为本申请的一个实施例,步骤102可通过如下步骤1021和1022完成:As an embodiment of the present application, step 102 can be completed through the following steps 1021 and 1022:

步骤1021、若当前的应用场景为已经进入指纹识别应用,则用户界面层绘制光学指纹图标。Step 1021: If the current application scenario is that the fingerprint identification application has been entered, the user interface layer draws an optical fingerprint icon.

在多数终端的系统框架中,用户界面(User Interface,UI)层是系统框架中位于最上的一层,直接面对用户。在本申请实施例中,在当前的应用场景已经进入指纹识别应用时,用户界面层可以绘制光学指纹图标。In the system framework of most terminals, the user interface (User Interface, UI) layer is the uppermost layer in the system framework, directly facing the user. In this embodiment of the present application, when the current application scenario has entered the fingerprint identification application, the user interface layer may draw an optical fingerprint icon.

步骤1022、指纹驱动模块通过底层快速通道通知显示模块显示用户界面层绘制的光学指纹图标。Step 1022 , the fingerprint driving module notifies the display module to display the optical fingerprint icon drawn by the user interface layer through the underlying fast channel.

需要说明的是,用户界面层绘制光学指纹图标的时间可以忽略不计,因此,无论是现有技术还是本申请的技术方案,绘制光学指纹图标本身及其耗费的时间并非本申请的技术方案与现有技术方案的差别所在,说明如下:It should be noted that the time for the user interface layer to draw the optical fingerprint icon is negligible. Therefore, whether it is the prior art or the technical solution of the present application, the drawing of the optical fingerprint icon itself and the time it takes are not the same as the technical solution of the present application. The differences between the technical solutions are described as follows:

现有技术在显示光学指纹图标的流程如附图2所述,具体过程为:用户按压屏幕产生屏幕按压事件,该屏幕按压事件由指纹驱动模块上报给用户界面层,用户界面层绘制光学指纹图标,随后将绘制的光学指纹图标传递给显示模块显示,此后,等待显示模块将光学指纹图标显示出来。而本申请实施例中,指纹驱动模块不再与用户界面层交互,而是直接通知显示模块显示用户界面层绘制的光学指纹图标,如附图3所示。由于指纹驱动模块与显示模块的交互并没有经过用户界面层,省去了指纹驱动模块与用户界面层的交互时间和路径,这个省去的时间就是本申请相比于现有技术的方案,能够提前显示光学指纹图标的时间,例如,假设指纹驱动模块与用户界面层的交互时间是80ms(毫秒),则在同等条件下,本申请的技术方案相比于现有技术的方案可以提前80ms显示光学指纹图标。The process of displaying an optical fingerprint icon in the prior art is shown in FIG. 2, and the specific process is: the user presses the screen to generate a screen pressing event, the screen pressing event is reported to the user interface layer by the fingerprint driver module, and the user interface layer draws the optical fingerprint icon. , and then pass the drawn optical fingerprint icon to the display module for display, after that, wait for the display module to display the optical fingerprint icon. In the embodiment of the present application, the fingerprint driving module no longer interacts with the user interface layer, but directly informs the display module to display the optical fingerprint icon drawn by the user interface layer, as shown in FIG. 3 . Since the interaction between the fingerprint driving module and the display module does not pass through the user interface layer, the interaction time and path between the fingerprint driving module and the user interface layer are saved. The time to display the optical fingerprint icon in advance. For example, if the interaction time between the fingerprint driver module and the user interface layer is 80ms (milliseconds), then under the same conditions, the technical solution of the present application can be displayed 80ms earlier than the solution of the prior art Optical fingerprint icon.

若在用户较长时间没有按压屏幕时仍然将光学指纹图标长久显示出来,则将给用户带来不好的体验。因此,在上述本申请实施例中,其光学指纹图标显示方法还包括:用户界面层将绘制的光学指纹图标发送至显示模块;在没有检测到屏幕按压事件时,显示模块将用户界面层绘制的光学指纹图标进行隐藏。相应地,上述步骤1022的指纹驱动模块通过底层快速通道通知显示模块显示用户界面层绘制的光学指纹图标可以是:指纹驱动模块检测是否发生屏幕按压事件,若发生屏幕按压事件,则指纹驱动模块绕过用户界面层,直接通知显示模块将隐藏的光学指纹图标进行显示。由于指纹驱动模块与显示模块均属于底层模块,指纹驱动模块与显示模块的直接通信远比指纹驱动模块经由用户界面层,再与显示模块通信要快即耗费的时间要短。If the optical fingerprint icon is still displayed for a long time when the user does not press the screen for a long time, it will bring a bad experience to the user. Therefore, in the above-mentioned embodiment of the present application, the method for displaying an optical fingerprint icon further includes: the user interface layer sends the drawn optical fingerprint icon to the display module; when no screen pressing event is detected, the display module displays the drawn optical fingerprint icon by the user interface layer. The optical fingerprint icon is hidden. Correspondingly, the fingerprint driving module in the above step 1022 notifies the display module to display the optical fingerprint icon drawn by the user interface layer through the bottom fast channel, which may be: the fingerprint driving module detects whether a screen pressing event occurs, and if a screen pressing event occurs, the fingerprint driving module Through the user interface layer, the display module is directly notified to display the hidden optical fingerprint icon. Since both the fingerprint driver module and the display module belong to the bottom layer, the direct communication between the fingerprint driver module and the display module is much faster than the communication between the fingerprint driver module and the display module via the user interface layer, that is, the time consumption is shorter.

步骤103、若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标。Step 103: If the current application scenario is to enter the fingerprint identification application, notify the display module in advance to display the optical fingerprint icon.

考虑到应用场景将要进入指纹识别应用,意味着大概率会要进入指纹识别应用,因此,提前即当前的应用场景尚未进入指纹识别应用之前就通知显示模块显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标仍然要快很多。Considering that the application scenario is about to enter the fingerprint identification application, it means that the fingerprint identification application will be entered with a high probability. Therefore, the display module is notified to display the optical fingerprint icon in advance, that is, before the current application scenario has entered the fingerprint identification application. Compared with the existing technology It's still a lot faster to only show the optical fingerprint icon when entering the fingerprint recognition app.

为了实现上述步骤103的技术方案,上述本申请实施例的方法还包括:用户界面层绘制光学指纹图标;用户界面层将绘制的光学指纹图标发送至显示模块以由显示模块保存。相应地,若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标可通过如下方式实现,即,若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块显示光学指纹图标包括:若当前的应用场景为将要进入指纹识别应用,则所述用户界面层向所述显示模块发出显示光学指纹图标的通知;显示模块收到显示光学指纹图标的通知后,在当前的应用场景进入指纹识别应用之前显示保存的光学指纹图标,如此,在在当前的应用场景进入指纹识别应用之前,用户即可看到用户界面层绘制且由显示模块保存的光学指纹图标。In order to realize the technical solution of step 103, the method of the above embodiment of the present application further includes: the user interface layer draws an optical fingerprint icon; and the user interface layer sends the drawn optical fingerprint icon to the display module to be saved by the display module. Correspondingly, if the current application scenario is about to enter the fingerprint recognition application, the display module is notified in advance to display the optical fingerprint icon in the following manner. That is, if the current application scenario is to enter the fingerprint recognition application, the display module is notified in advance to display The optical fingerprint icon includes: if the current application scenario is to enter the fingerprint identification application, the user interface layer sends a notification to the display module to display the optical fingerprint icon; after the display module receives the notification to display the optical fingerprint icon, the current The saved optical fingerprint icon is displayed before entering the fingerprint recognition application in the application scenario of the current application scenario. In this way, before the current application scenario enters the fingerprint recognition application, the user can see the optical fingerprint icon drawn by the user interface layer and saved by the display module.

然而,在当前的应用场景迟迟不进入指纹识别应用而将已绘制的光学指纹图标显示出来,如此会给用户带来不好的使用体验。因此,在本申请实施例中,上述方法还包括:启动预设条件监测,若所述预设条件达到预设阈值,当前的应用场景仍未进入所述指纹识别应用,则将已显示的光学指纹图标进行隐藏,直至当前的应用场景进入指纹识别应用后再次显示保存的光学指纹图标。例如,若当前的应用场景为将要进入指纹识别应用,启动计时器开始计时,若计时达到预设的时间阈值,当前的应用场景仍未进入所述指纹识别应用,则将已显示的光学指纹图标进行隐藏,直至当前的应用场景进入指纹识别应用后再次显示保存的光学指纹图标;或者,启动传感器件,例如,启动终端内置的位姿传感器,若终端的位置或姿态是达到预设的位置或姿态数据,但当前的应用场景仍未进入所述指纹识别应用,则将已显示的光学指纹图标进行隐藏,直至当前的应用场景进入指纹识别应用后再次显示保存的光学指纹图标。However, in the current application scenario, the fingerprint identification application is delayed and the drawn optical fingerprint icon is displayed, which will bring a bad experience to the user. Therefore, in this embodiment of the present application, the above-mentioned method further includes: starting a preset condition monitoring, if the preset condition reaches a preset threshold and the current application scene has not yet entered the fingerprint identification application, the displayed optical The fingerprint icon is hidden until the current application scene enters the fingerprint recognition application and the saved optical fingerprint icon is displayed again. For example, if the current application scenario is about to enter the fingerprint recognition application, start the timer to start timing. If the timer reaches the preset time threshold and the current application scenario has not yet entered the fingerprint recognition application, the displayed optical fingerprint icon will be displayed. Hide until the current application scene enters the fingerprint recognition application and the saved optical fingerprint icon is displayed again; or, activate the sensor device, for example, activate the built-in pose sensor of the terminal, if the position or posture of the terminal reaches the preset position or gesture data, but the current application scene has not yet entered the fingerprint recognition application, the displayed optical fingerprint icon is hidden until the current application scene enters the fingerprint recognition application and the saved optical fingerprint icon is displayed again.

由上述附图1示例的光学指纹图标显示方法可知,一方面,若当前的应用场景已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标,由于是快速通信方式,因此,相比于现有技术,在当前的应用场景已经进入指纹识别应用时可以快速显示光学指纹图标;另一方面,由于当前的应用场景将要进入指纹识别应用时就提前通知显示模块显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标又快了很多,综上,无论是哪种情形,本申请的技术方案相比于现有技术都可以快速显示光学指纹图标,从而满足对快速显示光学指纹图标的应用场景的需求。It can be seen from the optical fingerprint icon display method shown in the above example of FIG. 1 that, on the one hand, if the current application scenario has entered the fingerprint recognition application, the display module is notified to display the optical fingerprint icon through the fast communication method. Compared with the prior art, the optical fingerprint icon can be quickly displayed when the current application scenario has entered the fingerprint recognition application; Compared with the prior art, it is much faster to display the optical fingerprint icon when entering the fingerprint identification application. In conclusion, no matter what the situation is, the technical solution of the present application can quickly display the optical fingerprint icon compared with the prior art, thereby Meet the needs of application scenarios that quickly display optical fingerprint icons.

图4为本申请实施例提供一种光学指纹图标显示装置。该电子装置可用于实现图1所示实施例中的光学指纹图标显示方法。如图4所示,该装置主要包括检测模块401、第一通知模块402、第二通知模块403和显示模块404,其中:FIG. 4 provides an optical fingerprint icon display device according to an embodiment of the present application. The electronic device can be used to implement the method for displaying an optical fingerprint icon in the embodiment shown in FIG. 1 . As shown in FIG. 4 , the device mainly includes a detection module 401, a first notification module 402, a second notification module 403 and a display module 404, wherein:

检测模块401,用于检测当前的应用场景。The detection module 401 is used to detect the current application scenario.

并非所有的应用场景都需要使用到指纹识别,例如,用户在听音乐、阅读或者观看视频时,可能就无需指纹识别,而在一些应用场景中,例如,解锁、锁屏或者支付类应用,则可能进行指纹识别或验证。因此,在本申请实施例中,首先需要检测模块401做当前应用场景的检测。Not all application scenarios require the use of fingerprint recognition. For example, users may not need fingerprint recognition when listening to music, reading or watching videos. In some application scenarios, such as unlocking, locking the screen, or payment applications, Fingerprinting or verification possible. Therefore, in this embodiment of the present application, the detection module 401 first needs to perform the detection of the current application scenario.

第一通知模块402,用于若当前的应用场景为已经进入指纹识别应用,则通过快速通信方式通知显示模块404显示光学指纹图标。The first notification module 402 is configured to notify the display module 404 to display the optical fingerprint icon by means of fast communication if the current application scenario is that the fingerprint identification application has been entered.

在当前的应用场景已经进入指纹识别应用时,例如,指纹锁屏、解锁等,就意味着需要尽可能快速地在用户界面显示光学指纹图标。与现有技术需要通过用户界面层等复杂路径通知显示模块404显示光学指纹图标不同,本申请的技术方案是在当前的应用场景已经进入指纹识别应用时,第一通知模块402通过快速通信方式通知显示模块404显示光学指纹图标。When the current application scenario has entered the fingerprint recognition application, for example, fingerprint lock screen, unlock, etc., it means that the optical fingerprint icon needs to be displayed on the user interface as quickly as possible. Different from the prior art, which needs to notify the display module 404 to display the optical fingerprint icon through a complex path such as the user interface layer, the technical solution of the present application is that when the current application scenario has entered the fingerprint recognition application, the first notification module 402 notifies by fast communication. The display module 404 displays the optical fingerprint icon.

第二通知模块403,用于若当前的应用场景为将要进入指纹识别应用,则提前通知显示模块404显示光学指纹图标。The second notification module 403 is configured to notify the display module 404 in advance to display the optical fingerprint icon if the current application scenario is to enter the fingerprint identification application.

考虑到应用场景将要进入指纹识别应用,意味着大概率会要进入指纹识别应用,因此,若当前的应用场景为将要进入指纹识别应用,则第二通知模块403提前即当前的应用场景尚未进入指纹识别应用之前就通知显示模块404显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标仍然要快很多。Considering that the application scenario will enter the fingerprint identification application, it means that the fingerprint identification application will be entered with a high probability. Therefore, if the current application scenario is to enter the fingerprint identification application, the second notification module 403 in advance. That is, the current application scenario has not yet entered the fingerprint identification application. The display module 404 is notified to display the optical fingerprint icon before the identification application, which is still much faster than displaying the optical fingerprint icon when entering the fingerprint identification application in the prior art.

需要说明的是,以上图4示例的装置的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将电子装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,在实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成。本说明书提供的各个实施例都可应用上述描述原则,以下不再赘述。It should be noted that, in the above embodiment of the device illustrated in FIG. 4 , the division of each functional module is only an example, and in practical applications, the above can be considered according to needs, such as the configuration requirements of the corresponding hardware or the convenience of software implementation. The function distribution is completed by different function modules, that is, the internal structure of the electronic device is divided into different function modules, so as to complete all or part of the functions described above. Moreover, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to each of the embodiments provided in this specification, which will not be repeated below.

本实施例提供的电子装置中各功能模块实现各自功能的具体过程,请参见上述方法实施例中描述的具体内容,此处不再赘述。For the specific process of implementing the respective functions of each functional module in the electronic device provided in this embodiment, please refer to the specific content described in the foregoing method embodiment, which will not be repeated here.

由上可见,本申请实施例中的光学指纹图标显示装置,一方面,若当前的应用场景已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标,由于是快速通信方式,因此,相比于现有技术,在当前的应用场景已经进入指纹识别应用时可以快速显示光学指纹图标;另一方面,由于当前的应用场景将要进入指纹识别应用时就提前通知显示模块显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标又快了很多,综上,无论是哪种情形,本申请的技术方案相比于现有技术都可以快速显示光学指纹图标,从而满足对快速显示光学指纹图标的应用场景的需求。As can be seen from the above, the optical fingerprint icon display device in the embodiment of the present application, on the one hand, if the current application scene has entered the fingerprint recognition application, the display module is notified to display the optical fingerprint icon through the fast communication method. , compared with the prior art, the optical fingerprint icon can be quickly displayed when the current application scenario has entered the fingerprint recognition application; on the other hand, since the current application scenario is about to enter the fingerprint recognition application, the display module is notified in advance to display the optical fingerprint icon. , compared to the prior art, it is much faster to display the optical fingerprint icon when entering the fingerprint identification application. To sum up, no matter what the situation is, the technical solution of the present application can quickly display the optical fingerprint icon compared with the prior art. , so as to meet the demand for the application scenario of quickly displaying the optical fingerprint icon.

可选地,附图4示例的第一通知模块402可以包括第一绘制模块501和指纹驱动模块502,如附图5示例的光学指纹图标显示装置,其中:Optionally, the first notification module 402 illustrated in FIG. 4 may include a first drawing module 501 and a fingerprint driving module 502, such as the optical fingerprint icon display device illustrated in FIG. 5, wherein:

第一绘制模块501,用于若当前的应用场景为已经进入指纹识别应用,则用户界面层绘制光学指纹图标。The first drawing module 501 is configured to draw an optical fingerprint icon on the user interface layer if the current application scenario is that the fingerprint identification application has been entered.

在多数终端的系统框架中,用户界面(User Interface,UI)层是系统框架中位于最上的一层,直接面对用户。在本申请实施例中,在当前的应用场景已经进入指纹识别应用时,用户界面层可以绘制光学指纹图标。In the system framework of most terminals, the user interface (User Interface, UI) layer is the uppermost layer in the system framework, directly facing the user. In this embodiment of the present application, when the current application scenario has entered the fingerprint identification application, the user interface layer may draw an optical fingerprint icon.

指纹驱动模块502,用于通过底层快速通道通知显示模块显示用户界面层绘制的光学指纹图标。The fingerprint driving module 502 is configured to notify the display module to display the optical fingerprint icon drawn by the user interface layer through the underlying fast channel.

需要说明的是,用户界面层绘制光学指纹图标的时间可以忽略不计,因此,无论是现有技术还是本申请的技术方案,绘制光学指纹图标本身及其耗费的时间并非本申请的技术方案与现有技术方案的差别所在,说明如下:It should be noted that the time for the user interface layer to draw the optical fingerprint icon is negligible. Therefore, whether it is the prior art or the technical solution of the present application, the drawing of the optical fingerprint icon itself and the time it takes are not the same as the technical solution of the present application. The differences between the technical solutions are described as follows:

现有技术在显示光学指纹图标的流程如附图2所述,具体过程为:用户按压屏幕产生屏幕按压事件,该屏幕按压事件由指纹驱动模块502上报给用户界面层,用户界面层绘制光学指纹图标,随后将绘制的光学指纹图标传递给显示模块404显示,此后,等待显示模块将光学指纹图标显示出来。而本申请实施例中,指纹驱动模块不再与用户界面层交互,而是直接通知显示模块404显示用户界面层绘制的光学指纹图标,如附图3所示。由于指纹驱动模块502与显示模块404的交互并没有经过用户界面层,省去了指纹驱动模块502与用户界面层的交互时间和路径,这个省去的时间就是本申请相比于现有技术的方案,能够提前显示光学指纹图标的时间,例如,假设指纹驱动模块502与用户界面层的交互时间是80ms(毫秒),则在同等条件下,本申请的技术方案相比于现有技术的方案可以提前80ms显示光学指纹图标。The process of displaying an optical fingerprint icon in the prior art is shown in FIG. 2. The specific process is as follows: the user presses the screen to generate a screen pressing event, and the screen pressing event is reported to the user interface layer by the fingerprint driving module 502, and the user interface layer draws the optical fingerprint. icon, and then transmit the drawn optical fingerprint icon to the display module 404 for display, and then wait for the display module to display the optical fingerprint icon. In the embodiment of the present application, the fingerprint driving module no longer interacts with the user interface layer, but directly informs the display module 404 to display the optical fingerprint icon drawn by the user interface layer, as shown in FIG. 3 . Since the interaction between the fingerprint driving module 502 and the display module 404 does not pass through the user interface layer, the interaction time and path between the fingerprint driving module 502 and the user interface layer are omitted. This saved time is the difference between the present application and the prior art. solution, the time that the optical fingerprint icon can be displayed in advance. For example, if the interaction time between the fingerprint driving module 502 and the user interface layer is 80ms (milliseconds), then under the same conditions, the technical solution of the present application is compared with the solution of the prior art The optical fingerprint icon can be displayed 80ms in advance.

可选地,附图5示例的光学指纹图标显示装置还可以包括第一发送模块601,指纹驱动模块502可以包括按压事件检测单元602和直接通知单元603,如附图6示例的光学指纹图标显示装置,其中:Optionally, the optical fingerprint icon display device illustrated in FIG. 5 may further include a first sending module 601, and the fingerprint driving module 502 may include a pressing event detection unit 602 and a direct notification unit 603, as shown in the optical fingerprint icon display in the example in FIG. 6 . device, where:

第一发送模块601,用于用户界面层将绘制的光学指纹图标发送至显示模块404;The first sending module 601 is used for the user interface layer to send the drawn optical fingerprint icon to the display module 404;

显示模块404还用于在按压事件检测单元602没有检测到屏幕按压事件时,将用户界面层绘制的光学指纹图标进行隐藏;The display module 404 is further configured to hide the optical fingerprint icon drawn by the user interface layer when the pressing event detection unit 602 does not detect a screen pressing event;

按压事件检测单元602,用于检测是否发生屏幕按压事件;a press event detection unit 602, configured to detect whether a screen press event occurs;

直接通知单元603,用于若发生屏幕按压事件,则指纹驱动模块502绕过用户界面层,直接通知显示模块404将隐藏的光学指纹图标进行显示。The direct notification unit 603 is configured to directly notify the display module 404 to display the hidden optical fingerprint icon by bypassing the user interface layer if a screen pressing event occurs.

由于指纹驱动模块502与显示模块404均属于底层模块,指纹驱动模块502与显示模块404的直接通信远比指纹驱动模块经由用户界面层,再与显示模块404通信要快即耗费的时间要短。Since both the fingerprint driver module 502 and the display module 404 belong to the underlying modules, the direct communication between the fingerprint driver module 502 and the display module 404 is much faster than the communication between the fingerprint driver module 502 and the display module 404 via the user interface layer, that is, the time consumption is shorter.

可选地,附图4示例的光学指纹图标显示装置还可以包括第二绘制模块701和第二发送模块702,第二通知模块403可以包括通知发出单元703和提前显示单元704,如附图7示例的光学指纹图标显示装置,其中:Optionally, the optical fingerprint icon display device illustrated in FIG. 4 may further include a second drawing module 701 and a second sending module 702, and the second notification module 403 may include a notification sending unit 703 and an advance display unit 704, as shown in FIG. 7 Example optical fingerprint icon display device wherein:

第二绘制模块701,用于用户界面层绘制光学指纹图标;The second drawing module 701 is used for the user interface layer to draw an optical fingerprint icon;

第二发送模块702,用于用户界面层将绘制的光学指纹图标发送至显示模块404以由显示模块404保存;The second sending module 702 is used for the user interface layer to send the drawn optical fingerprint icon to the display module 404 to be saved by the display module 404;

通知发出单元703,用于若当前的应用场景为将要进入指纹识别应用,则用户界面层向显示模块404发出显示光学指纹图标的通知;The notification issuing unit 703 is configured to issue a notification of displaying the optical fingerprint icon to the display module 404 from the user interface layer if the current application scenario is to enter the fingerprint identification application;

提前显示单元704,用于显示模块404收到显示光学指纹图标的通知后,在当前的应用场景进入指纹识别应用之前显示保存的光学指纹图标。The advance display unit 704 is used for displaying the saved optical fingerprint icon before the current application scene enters the fingerprint identification application after the display module 404 receives the notification of displaying the optical fingerprint icon.

可选地,附图7示例的光学指纹图标显示装置还可以包括启动模块801和隐藏模块802,如附图8示例的光学指纹图标显示装置,其中:Optionally, the optical fingerprint icon display device shown in FIG. 7 may further include a startup module 801 and a hiding module 802, such as the optical fingerprint icon display device shown in FIG. 8, wherein:

启动模块801,用于启动预设条件监测;A start-up module 801 is used for starting preset condition monitoring;

隐藏模块802,用于若预设条件达到预设阈值,当前的应用场景仍未进入指纹识别应用,则将已显示的光学指纹图标进行隐藏,直至当前的应用场景进入指纹识别应用后再次显示保存的光学指纹图标。The hiding module 802 is configured to hide the displayed optical fingerprint icon if the preset condition reaches the preset threshold and the current application scene has not entered the fingerprint identification application, until the current application scene enters the fingerprint identification application and is displayed and saved again optical fingerprint icon.

图9为本申请实施例提供一种电子装置。该电子装置可用于实现图1所示实施例中的光学指纹图标显示方法。如图9所示,该电子装置主要包括:FIG. 9 provides an electronic device according to an embodiment of the present application. The electronic device can be used to implement the method for displaying an optical fingerprint icon in the embodiment shown in FIG. 1 . As shown in Figure 9, the electronic device mainly includes:

存储器901、处理器902及存储在存储器901上并可在处理器902上运行的计算机程序,处理器902执行该计算机程序时,实现图1或所示实施例中的光学指纹图标显示方法。The memory 901, the processor 902, and the computer program stored in the memory 901 and running on the processor 902, when the processor 902 executes the computer program, implements the method for displaying an optical fingerprint icon in FIG. 1 or the embodiment shown.

进一步地,该电子装置还包括:Further, the electronic device also includes:

至少一个输入设备903以及至少一个输出设备904。At least one input device 903 and at least one output device 904 .

上述存储器901、处理器902、输入设备903以及输出设备904,通过总线905连接。The above-mentioned memory 901 , processor 902 , input device 903 and output device 904 are connected through a bus 905 .

其中,输入设备903具体可为摄像头、触控面板、物理按键或者鼠标等等。输出设备904具体可为显示屏。The input device 903 may specifically be a camera, a touch panel, a physical button, a mouse, or the like. The output device 904 may specifically be a display screen.

存储器901可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器901用于存储一组可执行程序代码,处理器902与存储器901耦合。The memory 901 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory. The memory 901 is used to store a set of executable program codes, and the processor 902 is coupled to the memory 901 .

由上可见,本申请实施例中的装置,一方面,若当前的应用场景已经进入指纹识别应用,则通过快速通信方式通知显示模块显示光学指纹图标,由于是快速通信方式,因此,相比于现有技术,在当前的应用场景已经进入指纹识别应用时可以快速显示光学指纹图标;另一方面,由于当前的应用场景将要进入指纹识别应用时就提前通知显示模块显示光学指纹图标,相比于现有技术在进入指纹识别应用时才显示光学指纹图标又快了很多,综上,无论是哪种情形,本申请的技术方案相比于现有技术都可以快速显示光学指纹图标,从而满足对快速显示光学指纹图标的应用场景的需求。It can be seen from the above that, on the one hand, if the current application scenario has entered the fingerprint recognition application, the device in the embodiment of the present application notifies the display module to display the optical fingerprint icon through the fast communication method. In the prior art, when the current application scenario has entered the fingerprint recognition application, the optical fingerprint icon can be quickly displayed; In the prior art, it is much faster to display the optical fingerprint icon when entering the fingerprint identification application. To sum up, no matter what the situation is, the technical solution of the present application can quickly display the optical fingerprint icon compared with the prior art, so as to satisfy the requirements of The needs of application scenarios that quickly display optical fingerprint icons.

进一步地,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的电子装置中,该计算机可读存储介质可以是前述图9所示实施例中的存储器。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现图1所示实施例中的光学指纹图标显示方法。进一步地,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Further, an embodiment of the present application further provides a computer-readable storage medium, which may be provided in the electronic device in the above-mentioned embodiments, and the computer-readable storage medium may be the one shown in FIG. 9 above. memory in the example embodiment. A computer program is stored on the computer-readable storage medium, and when the program is executed by the processor, the method for displaying an optical fingerprint icon in the embodiment shown in FIG. 1 is implemented. Further, the computer-storable medium may also be a U disk, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a RAM, a magnetic disk, or an optical disk, and other mediums that can store program codes.

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

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

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

所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的可读存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a readable storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned readable storage medium includes: U disk, removable hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

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

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

以上为对本申请所提供的光学指纹图标显示方法、电子装置及计算机可读存储介质的描述,对于本领域的技术人员,依据本申请实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。The above is a description of the optical fingerprint icon display method, electronic device and computer-readable storage medium provided by the present application. For those skilled in the art, according to the ideas of the embodiments of the present application, there will be Changes, in conclusion, the content of this specification should not be construed as a limitation on this application.

Claims (9)

1. An optical fingerprint icon display method, comprising:
detecting a current application scene;
if the current application scene is that the fingerprint identification application is entered, informing a display module to display an optical fingerprint icon in a rapid communication mode;
drawing an optical fingerprint icon by the user interface layer;
the user interface layer sends the drawn optical fingerprint icon to a display module to be stored by the display module;
if the current application scene is about to enter the fingerprint identification application, the user interface layer sends a notice for displaying an optical fingerprint icon to the display module;
and after receiving the notification of displaying the optical fingerprint icon, the display module displays the stored optical fingerprint icon before the current application scene enters the fingerprint identification application.
2. The method for displaying an optical fingerprint icon according to claim 1, wherein if the current application scene is that the fingerprint recognition application has been entered, notifying a display module to display the optical fingerprint icon in a fast communication manner, includes:
if the current application scene is that fingerprint identification application is entered, drawing the optical fingerprint icon by the user interface layer;
and the fingerprint driving module informs the display module to display the optical fingerprint icon drawn by the user interface layer through a bottom layer fast channel.
3. The method of claim 2, further comprising:
the user interface layer sends the drawn optical fingerprint icon to the display module;
when a screen pressing event is not detected, the display module hides an optical fingerprint icon drawn by the user interface layer;
the fingerprint drive module informs the display module to display the optical fingerprint icon drawn by the user interface layer through a bottom layer fast channel, and the method comprises the following steps:
the fingerprint driving module detects whether a screen pressing event occurs;
and if a screen pressing event occurs, the fingerprint driving module bypasses the user interface layer and directly informs the display module to display the hidden optical fingerprint icon.
4. The method of claim 1, further comprising:
starting preset condition monitoring;
and if the preset condition reaches a preset threshold value and the current application scene does not enter the fingerprint identification application, hiding the displayed optical fingerprint icon until the stored optical fingerprint icon is displayed again after the current application scene enters the fingerprint identification application.
5. An optical fingerprint icon display device, comprising:
the detection module is used for detecting the current application scene;
the first notification module is used for notifying the display module to display the optical fingerprint icon in a fast communication mode if the current application scene is that the fingerprint identification application is entered;
the second drawing module is used for drawing the optical fingerprint icon by the user interface layer;
the second sending module is used for sending the drawn optical fingerprint icon to a display module by the user interface layer so as to be stored by the display module;
the second notification module comprises a notification sending unit and an advanced display unit; a notification sending unit, configured to send a notification for displaying an optical fingerprint icon to the display module by the user interface layer if the current application scene is to enter the fingerprint identification application; and the advanced display unit is used for displaying the stored optical fingerprint icon before the current application scene enters the fingerprint identification application after the display module receives the notification of displaying the optical fingerprint icon.
6. The optical fingerprint icon display of claim 5, wherein the first notification module comprises:
the first drawing module is used for drawing the optical fingerprint icon by the user interface layer if the current application scene is that the fingerprint identification application is entered;
and the fingerprint driving module is used for informing the display module to display the optical fingerprint icon drawn by the user interface layer through a bottom layer fast channel.
7. The optical fingerprint icon display device of claim 6, further comprising: the sending module is used for sending the drawn optical fingerprint icon to the display module by the user interface layer;
the display module is further used for hiding the optical fingerprint icon drawn by the user interface layer when no screen pressing event is detected;
the fingerprint driving module includes:
a press event detecting unit for detecting whether a screen press event occurs;
and the direct notification unit is used for bypassing the user interface layer by the fingerprint driving module if a screen pressing event occurs, and directly notifying the display module to display the hidden optical fingerprint icon.
8. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN201910004777.8A 2019-01-03 2019-01-03 Optical fingerprint icon display method, electronic device and computer-readable storage medium Expired - Fee Related CN109726695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910004777.8A CN109726695B (en) 2019-01-03 2019-01-03 Optical fingerprint icon display method, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910004777.8A CN109726695B (en) 2019-01-03 2019-01-03 Optical fingerprint icon display method, electronic device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109726695A CN109726695A (en) 2019-05-07
CN109726695B true CN109726695B (en) 2020-09-25

Family

ID=66299415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910004777.8A Expired - Fee Related CN109726695B (en) 2019-01-03 2019-01-03 Optical fingerprint icon display method, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109726695B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361305B (en) * 2020-03-06 2024-03-29 北京小米移动软件有限公司 Fingerprint collection method, electronic device and computer-readable storage medium
CN116469138B (en) * 2021-06-15 2024-03-29 荣耀终端有限公司 Light spot display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912911A (en) * 2016-04-29 2016-08-31 乐视控股(北京)有限公司 Method and system for managing application programs of mobile equipment
CN107422962A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of bright screen control method and equipment
CN108920926A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 shortcut operation method and mobile terminal
CN109033977A (en) * 2018-06-28 2018-12-18 深圳市麦极客图像技术有限公司 A kind of starting method and apparatus of optical finger print identification mould group, storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101720502B1 (en) * 2015-11-27 2017-04-10 구인회 Method for providing user interface of mobile terminal
CN106384039B (en) * 2016-10-18 2020-01-10 维沃移动通信有限公司 Quick starting method of application program and mobile terminal
EP3416050B1 (en) * 2016-12-26 2022-01-26 Shenzhen Goodix Technology Co., Ltd. Method and device for guiding fingerprint recognition
CN107783747B (en) * 2017-10-19 2020-04-28 维沃移动通信有限公司 Interface display processing method and mobile terminal
CN107908334B (en) * 2017-12-04 2020-03-31 维沃移动通信有限公司 Fingerprint icon display method and device and mobile terminal
CN108255369B (en) * 2018-01-05 2021-07-27 北京小米移动软件有限公司 Display method, device and computer-readable storage medium for fingerprint icon in screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912911A (en) * 2016-04-29 2016-08-31 乐视控股(北京)有限公司 Method and system for managing application programs of mobile equipment
CN107422962A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of bright screen control method and equipment
CN108920926A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 shortcut operation method and mobile terminal
CN109033977A (en) * 2018-06-28 2018-12-18 深圳市麦极客图像技术有限公司 A kind of starting method and apparatus of optical finger print identification mould group, storage medium

Also Published As

Publication number Publication date
CN109726695A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
JP6793732B2 (en) Information image display method and equipment
US10152625B2 (en) Method for providing control function using fingerprint sensor and electronic device thereof
CN105739897A (en) Touch operation processing method and device, and terminal
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
CN105117137A (en) A method and device for taking pictures when a terminal is in standby, and a mobile terminal
CN106294006A (en) A kind of data back up method, source terminal and target terminal
CN105824551A (en) Electronic equipment unlocking method and electronic equipment
WO2018184443A1 (en) Terminal screen display processing method and apparatus and storage medium
CN109324863B (en) Fingerprint identification method, device and computer readable storage medium
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
CN106850988A (en) Incoming call processing method, device and terminal
CN109726695B (en) Optical fingerprint icon display method, electronic device and computer-readable storage medium
CN107317928B (en) Information processing method, mobile terminal, and computer-readable storage medium
WO2018184442A1 (en) Terminal control method and device
CN104866198A (en) A method for quickly switching display interfaces
CN105847012B (en) How to enter authentication information
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN105138137B (en) The method and device that fingerprint and volume key are imaged is combined in the standby state
CN112533072A (en) Image sending method and device and electronic equipment
CN114762320A (en) Video highlight screen recording method and device and readable storage medium
WO2022268023A1 (en) Fingerprint recognition method and apparatus, and electronic device and readable storage medium
CN106896907A (en) A method and device for operating a terminal according to user gestures
CN106295472A (en) A kind of fingerprint pattern application process and device
CN112287713A (en) Two-dimensional code identification method and device
CN105072117B (en) Finger prints processing method and relevant apparatus and system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200925