WO2017215567A1 - 熄屏指纹解锁方法及终端、存储介质 - Google Patents

熄屏指纹解锁方法及终端、存储介质 Download PDF

Info

Publication number
WO2017215567A1
WO2017215567A1 PCT/CN2017/087939 CN2017087939W WO2017215567A1 WO 2017215567 A1 WO2017215567 A1 WO 2017215567A1 CN 2017087939 W CN2017087939 W CN 2017087939W WO 2017215567 A1 WO2017215567 A1 WO 2017215567A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
fingerprint
terminal
module
lighting
Prior art date
Application number
PCT/CN2017/087939
Other languages
English (en)
French (fr)
Inventor
谢升伦
廖国渊
李昌华
Original Assignee
深圳市万普拉斯科技有限公司
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 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2017215567A1 publication Critical patent/WO2017215567A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/96Management of image or video recognition tasks

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a screen unlocking method, a terminal, and a storage medium.
  • the embodiment of the invention provides a method for unlocking a fingerprint of a screen and a terminal and a storage medium, so as to shorten the occupation time of the unlocking of the fingerprint.
  • the method for unlocking the fingerprint of the screen is applied to the terminal, and the method for unlocking the fingerprint of the screen is:
  • the fingerprint recognition process and the screen lighting process are performed synchronously;
  • the method further includes: when the fingerprint sensor of the terminal detects the touch, the operating frequency of the processor of the terminal is raised.
  • the method further includes: performing a transparent process on the lock screen interface before the step of performing the fingerprint recognition process and the screen lighting process synchronously.
  • the method further includes: after the fingerprint identification is successful, transparently processing the lock screen interface.
  • the transparency process includes adjusting a transparency of the lock screen interface.
  • the screen lighting process includes: performing window drawing; and if the window drawing is completed and the fingerprint recognition is successful, performing a lighting operation of the screen illumination source.
  • a terminal comprising:
  • a lock screen module configured to perform a screen lighting process; and, if the fingerprint recognition is successful and the screen is successfully illuminated, performing an unlocking operation;
  • a fingerprint identification module configured to detect a touch operation of the terminal fingerprint sensor, and perform fingerprint recognition processing when the fingerprint sensor of the terminal detects that the fingerprint sensor is touched;
  • the fingerprint recognition process is performed in parallel with the screen lighting process.
  • the method further includes: an operating frequency management module configured to increase an operating frequency of the processor of the terminal when the fingerprint sensor of the terminal detects that the fingerprint sensor is touched.
  • the lock screen module is further configured to: transparently process the lock screen interface before performing the lighting screen processing.
  • the lock screen module is further configured to transparently process the lock screen interface after fingerprint recognition is successful.
  • the lock screen module is further configured to: receive a touch event notification sent by the fingerprint identification module, where the touch event notification is used to indicate that the fingerprint sensor detects that the touch is touched; The processing and lighting screen processing is triggered after receiving the touch event notification.
  • the method further includes: a drawing module configured to perform window drawing; and a screen illumination source lighting module configured to perform a lighting operation of the screen illumination source.
  • the lock screen module is configured to: notify the drawing module to perform window drawing, and notify the screen illumination light source lighting module to perform lighting of the screen illumination light source. operating.
  • the operating frequency management module is configured to call an interface that adjusts the processor frequency to increase the operating frequency of the processor.
  • the embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the screen blanking fingerprint unlocking method provided by the embodiment of the invention.
  • the embodiment of the invention provides a terminal, including:
  • a storage medium configured to store executable instructions
  • the processor is configured to execute the stored executable instructions, and the executable instructions are used to perform the screen blanking fingerprint unlocking method provided by the embodiment of the present invention.
  • the screen lighting process and the fingerprint recognition process are processed in parallel. Compared with the existing method of starting to light the screen after the fingerprint identification is successful, the time can be saved and the processing speed can be improved. From the user's point of view, the interface before the lock screen can be seen more quickly after pressing the fingerprint.
  • 1a is an exemplary structural diagram of a terminal according to an embodiment of the present invention.
  • 1b is a schematic diagram of a computer architecture of a terminal according to an embodiment of the present invention.
  • FIG. 1c is an exemplary flowchart of an unlocking fingerprint method according to an embodiment of the present invention.
  • FIG. 1 is an exemplary flowchart of a method for unlocking a fingerprint of a screen according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an exemplary method for unlocking a fingerprint from a screen according to an embodiment of the present invention
  • 4a is an exemplary flowchart of an unlocking fingerprint method for an off-screen fingerprint according to an embodiment of the present invention
  • FIG. 4b is an exemplary flowchart of an unlocking fingerprint method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for unlocking the fingerprint of the screen and a terminal for applying the method, so as to shorten the occupation time of the screenless fingerprint unlocking and increase the speed.
  • the terminal may include a lock screen module 1 and a fingerprint recognition module 2.
  • the terminal further includes a fingerprint sensor 3.
  • the function of the lock screen module 1 described above may be specifically implemented by a lock screen application installed in the terminal.
  • the function of the fingerprint recognition module 2 can be implemented by a fingerprint recognition service installed in the terminal.
  • the fingerprint sensor 3, the fingerprint recognition module 2, and the fingerprint service (Fingerprint Service) which will be mentioned later are all part of the fingerprint identification service.
  • the fingerprint recognition function is called through the FingerprintService.
  • the fingerprint recognition service may also not include the fingerprint sensor 3, but includes the fingerprint recognition module 2 and the FingerprintService and the like which will be mentioned later.
  • the above terminal may include a bus, a processor 101, a memory 102, a communication interface 103, an input device 104, and an output device 105.
  • the processor 101, the memory 102, the communication interface 103, the input device 104, and the output device 105 are connected to each other through a bus.
  • the processor 101 executes the program stored in the memory 102 and invokes other devices, and can be used to implement various steps in the method for unlocking the fingerprint of the screen provided by the foregoing embodiment of the present invention.
  • Fig. 1c shows an exemplary flow of the method of unlocking the fingerprint from the perspective of the terminal.
  • FIG. 1d shows an exemplary flow of an off-screen fingerprint unlocking method in which each module (application) of the terminal interacts.
  • the above method for unlocking the fingerprint of the screen may include the following steps:
  • Step 100 Detect a touch operation of the terminal fingerprint sensor.
  • the user touches the fingerprint sensor and the fingerprint sensor detects that it is touched.
  • Step 101 The lock screen application/module transparently processes the lock screen interface.
  • the lock screen interface becomes transparent, so that once the screen is lit, the screen below the lock screen interface is seen by the user.
  • the transparency process can be achieved by adjusting the transparency of the lock screen interface. Transparency generally appears as a percentage, completely transparent at 0% and completely opaque at 100%. The transparency can be adjusted to 0% to make the lock screen interface transparent.
  • the transparent processing of the lock screen interface may also be performed after the fingerprint recognition is successful.
  • Step 102 The lock screen application/module performs lighting screen processing.
  • Step 103 The fingerprint identification service performs fingerprint identification processing.
  • the fingerprint recognition process and the screen lighting process are performed synchronously by different modules. It saves time compared with the existing ones that start to light the screen after successful fingerprint recognition.
  • Step 104 If the fingerprint recognition is successful and the screen is successfully illuminated, the unlocking module performs an unlocking operation.
  • failure processing is performed, for example, prompting fingerprint recognition failure.
  • the screen lighting process and the fingerprint recognition process are synchronous parallel processing. Compared with the existing ones that start to light the screen after successful fingerprint identification, it can save time and improve processing speed.
  • the lock screen interface is transparent, so that once the screen is lit, the screen under the lock screen interface (the interface before the lock screen) is seen by the user. .
  • the interface before the lock screen can be seen more quickly.
  • the terminal when the user sees the interface before the lock screen, the terminal is still unlocked. However, the user will experience a certain time T from seeing the interface before the lock screen, to removing the finger from the fingerprint sensor, and then using the finger to manipulate the interface before the lock screen that he sees. During this time T, the terminal is simultaneously performing an unlocking operation.
  • Unlocking operations typically take about 100-200ms, while T is generally second-order. Therefore, the user does not feel the pause, which can enhance the user experience.
  • FIG. 2 illustrates another interactive exemplary process of the above-described screen-off fingerprint unlocking method, which may include at least the following steps:
  • Step 200 detecting a touch operation of the terminal fingerprint sensor
  • the fingerprint sensor detects that it is touched.
  • Step 200 is similar to step 100 and will not be described here.
  • Step 201 The terminal raises the operating frequency of the processor to speed up the instruction cycle of the processor, thereby improving the processing speed of the subsequent fingerprint recognition process.
  • the terminal can include an operating frequency management module that performs an operation of boosting the operating frequency of the processor by the operating frequency management module.
  • the functionality of the operating frequency management module can be completed by the underlying layer of the terminal.
  • the fingerprint sensor can detect the interruption of the finger press, and the bottom layer detects the interrupt, thereby performing processing for increasing the operating frequency of the processor.
  • the underlying layer can call an interface that adjusts the processor frequency for the purpose of increasing the operating frequency.
  • the interface that can adjust the processor frequency is specifically a perf_lockr (performance lock) interface, and the bottom layer can call the perf_lockr interface, which corresponds to the perf_lock module.
  • Perf_lock will set the CPU to the node in sysfs (a file system of the Linux kernel), thus changing the maximum/minimum operating frequency of each CPU and turning the CPU on/off.
  • the operation of raising the operating frequency of the processor may be performed by the fingerprint recognition module.
  • Step 202 The lock screen application/module transparently processes the lock screen interface.
  • the lock screen interface becomes transparent, so that once the screen is lit, the screen below the lock screen interface (ie, the interface before the lock screen) is seen by the user.
  • Step 202 is similar to the foregoing step 102, and details are not described herein.
  • Step 203 The lock screen application/module performs screen lighting processing.
  • Step 204 The fingerprint identification service performs fingerprint identification processing.
  • the fingerprint recognition process and the screen lighting process are performed by different modules at the same time. It saves time compared with the existing ones that start to light the screen after successful fingerprint recognition.
  • Step 205 If the fingerprint recognition is successful and the screen is successfully illuminated, the unlocking module performs an unlocking operation.
  • failure processing is performed, for example, prompting fingerprint recognition failure.
  • Steps 204 and 205 are similar to the foregoing steps 103 and 104, and are not described herein.
  • the biggest difference from the foregoing embodiment is that the present embodiment adds an operation of raising the operating frequency of the processor (step 201), so that the processing time can be further shortened.
  • FIG. 3 illustrates still another interactive exemplary flow of the above-described screen-off fingerprint unlocking method, which may include at least the following steps:
  • Step 300 detecting a touch operation of the terminal fingerprint sensor
  • the fingerprint sensor detects that it is touched.
  • Step 300 is similar to steps 100 and 200, and is not described herein.
  • Step 301 The terminal increases the operating frequency of the processor to speed up the instruction cycle of the processor, thereby improving the processing speed of the subsequent fingerprint recognition process.
  • Step 301 is similar to step 201 and will not be described here.
  • Step 302 The lock screen application/module receives the touch event notification, and transparently processes the lock screen interface.
  • the fingerprint sensor sends a touch event notification to the lock screen application when a finger touch is detected. After receiving the notification, the lock screen application is transparent.
  • the touch event notification can be carried in a callback message.
  • the callback message delivery path is: after the fingerprint sensor is touched, the callback is sent to the fingerprint server framework through the FingerprintDaemon of the Hardware Abstract Layer, the framework FingerprintService forwards the callback to the FingerprintManager, and the FingerprintManager forwards the callback to Lock screen application.
  • the fingerprint recognition module sends a touch event notification to it.
  • Step 303 The fingerprint identification module (fingerprint identification service) captures an image
  • Step 304 The fingerprint identification module (fingerprint identification service) matches the captured image with the preset fingerprint image to obtain a matching result, and the matching result is used to indicate whether the fingerprint identification is successful.
  • the capture and matching can be initiated by the hal layer, particularly FingerprintHal.
  • the real capture and matching are in the TEE layer (Trust Execution Environment) Finish and get the matching result. Because the code running environment is trusted, the matching result is also trusted. Then the matching result is returned to FingerprintHal, and then forwarded to the FingerprintManager step by step, so that the called lock screen application gets the matching result.
  • TEE layer Titan Execution Environment
  • the number 0 can be used to characterize the success of the fingerprint recognition, the digit 1 is used to characterize the fingerprint recognition failure, or vice versa; in another example, the flag can be used to characterize whether the fingerprint recognition is successful, the flag has two values, and one representation is successful. A representation failure.
  • the status of fingerprint recognition may include three states of finger contact sensor, image capture, and recognition success/failure, and three flags may be used to indicate these three states.
  • Step 303 and step 304 are refinements of the fingerprint recognition process of all the aforementioned embodiments.
  • Step 305 The lock screen application/module performs screen lighting processing.
  • Step 306 If the fingerprint recognition is successful and the screen is successfully illuminated, the unlocking module performs an unlocking operation.
  • failure processing is performed, for example, prompting fingerprint recognition failure.
  • FIG. 4a illustrates still another interactive exemplary flow of the above-described screen-off fingerprint unlocking method, which may include at least the following steps:
  • Step 400 The user touches the fingerprint sensor, and the fingerprint sensor detects that it is touched.
  • Step 400 is similar to steps 100, 200, and 300, and is not described herein.
  • Step 401 The terminal increases the operating frequency of the processor.
  • Step 401 is similar to steps 201 and 301, and is not described herein.
  • Step 402 The lock screen application/module transparently processes the lock screen interface.
  • Step 402 is similar to the foregoing steps 101, 202, and 302, and is not described herein.
  • Step 403 The fingerprint identification module captures an image.
  • Step 404 The fingerprint identification module matches the captured image with the preset fingerprint image to obtain a matching result, where the matching result is used to indicate whether the fingerprint identification is successful.
  • Steps 403 and 404 are similar to steps 303 and 304, respectively, and are not described herein.
  • Step 405 The lock screen application/module notifies the bottom layer to perform window drawing.
  • the underlying drawing window is notified by the lock screen application via a window manager (Windowmanager).
  • Windowmanager For details on how to draw a window, please refer to the existing drawing window mode, which will not be described here.
  • Step 406 If the window drawing is completed and the fingerprint recognition is successful, the window manager performs a lighting operation of the screen illumination source.
  • the program that illuminates the screen is turned on by the lock screen application/module, and the program determines whether to illuminate the backlight according to whether the window drawing and fingerprint recognition are completed, and the final judgment point is in the window manager.
  • the command to be lit is issued by the lock screen application to the wakeup interface of the power manager (PowerManager), and the window manager checks the window drawing result/status during the lighting process. And the fingerprint identification result/state. If the window drawing is completed and the fingerprint recognition is successful, the power manager is finally notified to illuminate the illumination source.
  • PowerManager power manager
  • the window manager will get the status of the fingerprint recognition.
  • the status of fingerprint recognition may include three states of finger contact sensor, image capture, and success/failure recognition.
  • the power manager is notified to illuminate the screen illumination source.
  • the screen illumination source can be a Light Emitting Diode (LED) backlight.
  • the screen illumination source can also be an organic light emitting diode (OLED) light source or other light source.
  • LED Light Emitting Diode
  • OLED organic light emitting diode
  • Step 407 If the fingerprint recognition is successful and the screen illumination source is successfully illuminated, the unlocking module performs an unlocking operation.
  • failure processing is performed, for example, prompting fingerprint recognition failure.
  • the lighting source of the screen illumination will not be lit.
  • the lighting process will be interrupted.
  • Figure 4b shows the modules in the terminal after the user puts a finger on the fingerprint sensor. Piece) The process of lighting up in two branches (paths).
  • branches are represented by numbers and English respectively.
  • S6 The window manager notifies the SurfaceFinger to draw the window
  • S7 The window manager gets the drawing result/status from SurfaceFinger.
  • the window manager can actively obtain the drawing result/status from the SurfaceFinger, and the SurfaceFinger can also send the drawing result/status to the window manager.
  • the window manager notifies the power manager to illuminate the illumination source when the window drawing is completed and the fingerprint recognition is successful.
  • the fingerprint sensor detects the interruption of the finger press
  • FingerprintHal initiates execution of the capture and match.
  • the matching result (fingerprint result/status) is forwarded to the window manager via FingerprintHal, FingerprintService, lock screen application, and so on.
  • step S8 is performed.
  • the Surfaceflinger thread is a class, and at the same time it is a thread. The thread is continuously calculated through loops. And refresh the display content required by the current screen.
  • the Surfaceflinger thread belongs to the SystemServer process, that is, the Surfaceflinger thread is started in the SystemServer process. Surfaceflinger holds various layers, and its main job is to be responsible for the fusion of various layers, so it can be seen as a thread for maintaining various layers.
  • readyToRun() which defines the content that needs to be initialized before the thread loops.
  • the second is threadLoop(), which must be implemented by each thread. This function defines the thread execution content. The function returns true (true), the thread will continue to call threadLoop(), and if false (false) is returned, the thread will exit.
  • the invention also claims a terminal in all of the above embodiments.
  • FIG. 1a An exemplary structure of the terminal can be seen in FIG. 1a, which can include:
  • the lock screen module 1 is configured to perform a screen lighting process, and if the fingerprint recognition is successful and the screen is successfully illuminated, the unlocking operation is performed;
  • the fingerprint recognition module 2 is configured to detect a touch operation of the terminal fingerprint sensor 3, and perform fingerprint recognition processing when the fingerprint sensor 3 detects that it is touched.
  • fingerprint recognition process and the screen lighting process are performed simultaneously in parallel.
  • the operating frequency management module may be further configured to: when the fingerprint sensor 3 detects that the fingerprint sensor 3 is touched, increase the operating frequency of the processor of the terminal.
  • the lock screen module 1 may be further configured to: transparently process the lock screen interface before performing the lighting screen processing; or, after the fingerprint recognition succeeds, transparently process the lock screen interface .
  • the lock screen module in all the above embodiments may be further configured to:
  • the touch event notification is used to indicate that the fingerprint sensor detects being touched. For details, please refer to step 302 above, which is not described here.
  • the above-described transparency processing and screen lighting processing are triggered to be executed after receiving the touch event notification.
  • the lock screen module 1 can perform the steps 101-102, 104 shown in FIG. 1c and FIG. 1d, the steps 202, 203, 205 shown in FIG. 2, the steps 305, 306 shown in FIG. 3, and the step 402 shown in FIG. 4a. , 405-407.
  • the fingerprint identification module 2 can perform step 103 shown in FIG. 1c and FIG. 1d, step 204 shown in FIG. 2, steps 303-304 shown in FIG. 3, and steps 403-404 shown in FIG. 4a.
  • the working frequency management module can perform step 201 shown in FIG. 2, step 301 shown in FIG. 3, and step 401 shown in FIG. 4a.
  • the foregoing terminal may further include:
  • a drawing module 501 configured to perform window drawing
  • the functionality of the graphics module 501 can be done by the underlying layer of the terminal.
  • the drawing module 501 can perform the window drawing work in step 405 shown in Figure 4a.
  • the screen illumination source lighting module 502 is configured to perform a lighting operation for illuminating the screen illumination source.
  • Screen illumination source illumination module 502 can perform step 406 shown in Figure 4a.
  • the lock screen module 1 is specifically configured to: notify the drawing module 502 to perform window drawing; and notify the screen illumination light source lighting module 502 to perform a lighting operation of the screen illumination source.
  • the lock screen module 1 can send a lighting command to the screen illumination source lighting module 502. After receiving the lighting command, the screen illumination light source lighting module 502 performs a lighting operation of the screen illumination source.
  • the screen illumination source lighting module 502 can be specifically configured to illuminate the screen illumination source when the window drawing is complete and the fingerprint recognition is successful.
  • the screen illumination source lighting module 502 can be configured to: obtain a rendering result/state of the window and a fingerprint recognition result/state; if the drawing result/state characterization window is completed, and the fingerprint identification result/state characterization fingerprint identification If successful, the screen illumination source is illuminated.
  • the value in the rendering result/state can be 0 or 1, with the number 0 indicating that the window plot is incomplete, the digit 1 is used to characterize the window plot not complete, or vice versa; in another example, the flag can be used to characterize the window plot Whether it is completed, the flag has two values, one is completed, and one is not completed.
  • the value in the fingerprint identification result/state can be 0 or 1
  • the digit 0 can be used to characterize the fingerprint recognition success
  • the digit 1 is used to characterize the fingerprint recognition failure, or vice versa
  • the flag can be used to characterize Whether fingerprint identification is successful, flag has two values, one is successful, and one is failed.
  • the status of fingerprint recognition may include three states of finger contact sensor, image capture, and recognition success/failure, and three flags may be used to indicate these three states.
  • the function of the screen illumination source lighting module 502 can be implemented by the wakeup interface, the window manager and the Pwermanager mentioned in the aforementioned step 406.
  • the modules such as the lock screen module, the fingerprint identification module, and the working frequency management module can be processed by a central processing unit (CPU), a microprocessor (Micro Processor Unit, MPU), and a digital signal processing located in the terminal. (Digital Signal Processor, DSP) or Field Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the bus can include a path for communicating information between various components of the computer system.
  • the processor 101 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a network processor (NP Processor, NP for short, a microprocessor, etc., or an application-specific integrated circuit (ASIC). , or one or more for control An integrated circuit executed by the program of the present invention. It can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the processor 101 can include at least a main processor, a baseband chip, and a modem.
  • the memory 102 stores a program for executing the technical solution of the present invention, and can also store an operating system and other key services.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 102 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), and storable memory. Other types of dynamic storage devices for information and instructions, disk storage, flash, and the like. Further, the memory 102 can store the above multimedia information content.
  • Input device 104 may include means for receiving data and information input by a user, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer or gravity sensor, and the like.
  • Output device 105 may include devices that allow output of information to the user, such as a display screen, printer, speaker, and the like.
  • Communication interface 103 may include devices that use any type of transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.
  • Ethernet Radio Access Network
  • WLAN Wireless Local Area Network
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, and a read-only memory.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • the embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the screen blanking fingerprint unlocking method provided by the embodiment of the invention.
  • the embodiment of the invention provides a terminal, including:
  • a storage medium configured to store executable instructions
  • the processor is configured to execute the stored executable instructions, and the executable instructions are used to perform the screen blanking fingerprint unlocking method provided by the embodiment of the present invention.
  • the steps of a method or algorithm described in connection with the embodiments disclosed in the embodiments can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
  • the touch operation of the terminal fingerprint sensor is detected; the screen lighting process and the fingerprint recognition process are performed synchronously; if the fingerprint recognition is successful and the screen is successfully illuminated, the unlocking operation is performed.
  • the screen lighting process and the fingerprint recognition process are processed in parallel; compared with the existing method of starting to light the screen after the fingerprint identification is successful, the time can be saved and the processing speed can be improved; From the perspective of the user, the interface before the lock screen can be seen more quickly after pressing the fingerprint.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种熄屏指纹解锁方法及终端、存储介质。该方法包括:在指纹传感器检测到被触碰时,对锁屏界面进行透明化处理(101);同步执行屏幕点亮处理(102)和指纹识别处理(103);若指纹识别成功且屏幕点亮成功,进行解锁操作(104)。

Description

熄屏指纹解锁方法及终端、存储介质
相关申请的交叉引用
本申请基于申请号为201610424536.5、申请日为2016年06月15日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引入的方式引入本申请。
技术领域
本发明涉及计算机应用技术领域,具体涉及熄屏指纹解锁方法及终端、存储介质。
背景技术
目前市场上很多智能终端都有熄屏指纹解锁的功能。以安装有安卓操作***的智能手机为例,其从使用者放下手指到指纹传感器至指纹辨识完成花费时间将近20毫秒(ms),之后再进行点亮与解锁的动作将再花费40毫秒(ms)左右的时间。因此,现有的熄屏指纹解锁方式占用时间较长,速度缓慢。而从使用者的角度观察,从使用者放下手指至指纹传感器直到看到画面,会明显感受到停顿,使用者体验不好。
发明内容
有鉴于此,本发明实施例提供一种熄屏指纹解锁方法及终端、存储介质,以缩短熄屏指纹解锁的占用时间。
本发明实施例提供如下技术方案:
一种熄屏指纹解锁方法,应用于终端,所述熄屏指纹解锁方法包括:
检测终端指纹传感器的触摸操作;
在所述终端的指纹传感器检测到被触碰时,同步执行指纹识别处理和屏幕点亮处理;
若指纹识别成功且屏幕点亮成功,进行解锁操作。
在其他的实施例中,还包括:在所述终端的指纹传感器检测到被触碰时,提升所述终端的处理器的工作频率。
在其他的实施例中,还包括:在所述同步执行指纹识别处理和屏幕点亮处理的步骤之前,对锁屏界面进行透明化处理。
在其他的实施例中,还包括:在指纹识别成功后,对锁屏界面进行透明化处理。
在其他的实施例中,所述透明化处理包括:调节所述锁屏界面的透明度。
在其他的实施例中,所述屏幕点亮处理包括:进行窗口绘图;若窗口绘图完成且指纹识别成功,执行屏幕照明光源的点亮操作。
一种终端,包括:
锁屏模块,配置为进行屏幕点亮处理;以及,若指纹识别成功且屏幕点亮成功,进行解锁操作;
指纹识别模块,配置为检测终端指纹传感器的触摸操作,在所述终端的指纹传感器检测到被触碰时,进行指纹识别处理;
所述指纹识别处理与屏幕点亮处理同时并行执行。
在其他的实施例中,还包括:工作频率管理模块,配置为在所述终端的指纹传感器检测到被触碰时,提升所述终端的处理器的工作频率。
在其他的实施例中,所述锁屏模块还配置为:进行点亮屏幕处理之前,对锁屏界面进行透明化处理。
在其他的实施例中,所述锁屏模块还配置为在指纹识别成功后,对所述锁屏界面进行透明化处理。
在其他的实施例中,所述锁屏模块还配置为:接收指纹识别模块发送的触碰事件通知,所述触碰事件通知用于表征所述指纹传感器检测到被触碰;所述透明化处理及点亮屏幕处理是在接收到所述触碰事件通知后被触发执行的。
在其他的实施例中,还包括:绘图模块,配置为进行窗口绘图;屏幕照明光源点亮模块,配置为执行屏幕照明光源的点亮操作。
在其他的实施例中,在进行屏幕点亮处理的方面,所述锁屏模块配置为:通知所述绘图模块进行窗口绘图,并通知所述屏幕照明光源点亮模块执行屏幕照明光源的点亮操作。
在其他的实施例中,在提升所述终端的处理器的工作频率的方面,所述工作频率管理模块配置为:呼叫可调节处理器频率的接口,以提升所述处理器的工作频率。
本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例提供的熄屏指纹解锁方法。
本发明实施例提供一种终端,包括:
存储介质,配置为存储可执行指令;
处理器,配置为执行存储的可执行指令,所述可执行指令用于执行本发明实施例提供的熄屏指纹解锁方法。
在本发明实施例中,屏幕点亮处理和指纹识别处理是并行处理的。与现有的在指纹辨识成功后才开始做点亮屏幕的方式相比,可节省时间,提高处理速度。从使用者的角度看,在按下指纹后可更快得看到锁屏前的界面。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1a为本发明实施例提供的终端的示例性结构图;
图1b为本发明实施例提供的终端的计算机架构示例图;
图1c为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图1d为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图2为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图3为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图4a为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图4b为本发明实施例提供的熄屏指纹解锁方法示例性流程图;
图5为本发明实施例提供的终端的示例性结构图。
具体实施方式
本发明实施例提供熄屏指纹解锁方法及应用该方法的终端,以缩短熄屏指纹解锁占用时间,提高速度。
请参见图1a,上述终端可包括锁屏模块1、指纹识别模块2,此外,该终端还包括指纹传感器3。
在一个示例中,上述锁屏模块1的功能具体可由安装于终端的锁屏应用实现。
而指纹识别模块2的功能可由安装于终端中的指纹识别服务实现,在一个示例中,指纹传感器3、指纹识别模块2和后续将提及的指纹服务(FingerprintService)皆属于指纹识别服务的一部分。当需要做指纹识别时,便会透过FingerprintService调用指纹识别的功能。
当然,在另一个示例中,指纹识别服务也可不包含指纹传感器3,而包含指纹识别模块2和后续将提及的FingerprintService等。
请参见图1b,从硬件架构上,上述终端可包括总线、处理器101、存储器102、通信接口103、输入设备104和输出设备105。处理器101、存储器102、通信接口103、输入设备104和输出设备105通过总线相互连接。其中:处理器101执行存储器102中所存放的程序,以及调用其他设备,可用于实现本发明前述实施例所提供的熄屏指纹解锁方法中的各个步骤。
图1c示出了从终端的角度,熄屏指纹解锁方法的一种示例性流程。
图1d示出了终端各模块(应用)交互完成的熄屏指纹解锁方法的示例性流程。
上述熄屏指纹解锁方法可包括如下步骤:
步骤100:检测终端指纹传感器的触摸操作。
在实施中,用户触摸指纹传感器,则指纹传感器检测到被触摸。
步骤101:锁屏应用/模块对锁屏界面进行透明化处理。
透明化处理的结果是锁屏界面变成透明状,这样,一旦屏幕点亮后,锁屏界面之下的画面就会被使用者看到。
在一个示例中,可通过调节锁屏界面的透明度来实现透明化处理。透明度一般以百分比的形式出现,0%时完全透明,100%时,完全不透明。则可将透明度调节至0%,以实现令锁屏界面变成透明状。
在本发明其他实施例中,对锁屏界面进行透明化处理也可在指纹识别成功后进行。
步骤102:锁屏应用/模块进行点亮屏幕处理。
后续会对点亮屏幕处理进行介绍。
步骤103:指纹识别服务进行指纹识别处理。
需要注意的是,指纹识别处理与屏幕点亮处理是由不同的模块同步执行的。与现有的在指纹辨识成功后才开始做点亮屏幕相比,会节省时间。
步骤104:若指纹识别成功且屏幕点亮成功,解锁模块进行解锁操作。
当然,若指纹识别失败,则进行失败处理,例如提示指纹识别失败等。
可见,本发明实施例中,屏幕点亮处理和指纹识别处理是同步并行处理的。与现有的在指纹辨识成功后才开始做点亮屏幕相比,可节省时间,提高处理速度。
同时,本实施例在做屏幕点亮处理之前,还将锁屏界面透明化,这样,一旦屏幕点亮后,锁屏界面之下的画面(锁屏前的界面)就会被使用者看到。相较于现有技术,从使用者的角度看,其在按下指纹后,可更快得看到锁屏前的界面。
需要说明的是,用户看到锁屏前的界面时,终端仍是未解锁状态。但用户从看到锁屏前的界面,到将手指从指纹传感器上拿开,再到使用手指去操控其所看到的锁屏前的界面,会经历一定的时间T。在这段时间T中,终端同时在进行解锁操作。
解锁操作一般会花费100-200ms左右,而T则一般是秒级的。所以使用者并不会感觉到停顿,这样可提升使用者体验。
图2示出了上述熄屏指纹解锁方法的另一种交互式示例性流程,其至少可包括如下步骤:
步骤200:检测终端指纹传感器的触摸操作;
用户触摸指纹传感器,则指纹传感器检测到被触摸。
步骤200与步骤100相类似,在此不作赘述。
201步骤:终端提升处理器的工作频率,以加快处理器的指令周期,进而提高后续指纹识别处理的处理速度。
当然,后续的透明化处理、解锁等也会随之变快。
在一个示例中,终端可包括工作频率管理模块,由工作频率管理模块执行提升处理器的工作频率的操作。
在另一个示例中,可由终端底层完成工作频率管理模块的功能。
在其他的实施例中,指纹传感器可以检测到手指按下的中断,底层则会检测到这个中断,进而做提升处理器工作频率的处理。
在一个示例中,底层可呼叫可调节处理器频率的接口,以达到提升工作频率的目的。
以高通的芯片为例,可调节处理器频率的接口具体为perf_lockr(performance lock)接口,底层可呼叫perf_lockr接口,该接口对应perf_lock模块。perf_lock会去设置CPU在sysfs(Linux内核的一种文件***)中的节点,从而改变每一个CPU的最大/最小工作频率以及打开/关闭CPU。
或者,也可由指纹识别模块完成提升处理器的工作频率的操作。
步骤202:锁屏应用/模块对锁屏界面进行透明化处理。
透明化处理的结果是锁屏界面变成透明状,这样,一旦屏幕点亮后,锁屏界面之下的画面(即锁屏前的界面)就会被使用者看到。
步骤202与前述步骤102相类似,在此不作赘述。
步骤203:锁屏应用/模块进行屏幕点亮处理。
后续会对点亮屏幕处理进行介绍。
步骤204:指纹识别服务进行指纹识别处理。
需要注意的是,指纹识别处理与屏幕点亮处理是同时由不同的模块执行的。与现有的在指纹辨识成功后才开始做点亮屏幕相比,会节省时间。
步骤205:若指纹识别成功且屏幕点亮成功,解锁模块进行解锁操作。
当然,若指纹识别失败,则进行失败处理,例如提示指纹识别失败等。
步骤204、205,分别与前述的步骤103、104相类似,在此不作赘述。
与前述实施例最大的不同在于,本实施例增加了提升处理器的工作频率的操作(步骤201),这样,可进一步的缩短处理时间。
图3示出了上述熄屏指纹解锁方法的又一种交互式示例性流程,其至少可包括如下步骤:
步骤300:检测终端指纹传感器的触摸操作;
用户触摸指纹传感器,则指纹传感器检测到被触摸。
步骤300与步骤100、200相类似,在此不作赘述。
步骤301:终端提升处理器的工作频率,以加快处理器的指令周期,进而提高后续指纹识别处理的处理速度。
步骤301与步骤201相类似,在此不作赘述。
步骤302:锁屏应用/模块接收触碰事件通知,对锁屏界面进行透明化处理。
在其他实施例中,指纹传感器在检测到手指触碰时,会发送触碰事件通知给锁屏应用。接收到该通知后,锁屏应用进行透明化处理。
在一个示例中,触碰事件通知可承载在回调(callback)消息中。callback消息传递路径是:指纹传感器被触碰后,会通过硬件适配层(Hardware Abstract Layer)的FingerprintDaemon发送callback给指纹服务器框架(framework FingerprintService),framework FingerprintService再转发callback给FingerprintManager,FingerprintManager再转发callback给锁屏应用。
当然,从锁屏应用的角度看,是指纹识别模块向其发送了触碰事件通知。
透明化处理相关内容可参见前述步骤102,在此不作赘述。
步骤303:指纹识别模块(指纹识别服务)抓取图像;
步骤304:指纹识别模块(指纹识别服务)将抓取的图像与预置的指纹图像进行匹配,得到匹配结果,上述匹配结果用于表征指纹识别是否成功。
在其他实施例中,可由hal层,特别是FingerprintHal发起执行抓图和匹配。
而真正的抓图和匹配都是在TEE层(Trust Execution Environment)里 完成,得到匹配结果。因为这里的代码运行环境是可信的,所以得出的匹配结果也是可信的,再把匹配结果返回FingerprintHal,再一步步转发到FingerprintManager,从而调用的锁屏应用拿到匹配结果。
在一个示例中,可用数字0表征指纹识别成功,用数位1表征指纹识别失败,或相反;在另一个示例中,可用flag表征指纹识别是否成功,flag有两种取值,一种表征成功,一种表征失败。
在实际状况还有其他类别的讯号,所以会用两个以上的flag来表示不同的状态。例如,指纹识别的状态可包括手指接触传感器、抓取图像、识别成功/失败三种状态,则可以用三个flag来表示这三个状态。
步骤303和步骤304是前述所有实施例的指纹识别处理的细化。
步骤305:锁屏应用/模块进行屏幕点亮处理。
步骤306:若指纹识别成功且屏幕点亮成功,解锁模块进行解锁操作。
当然,若指纹识别失败,则进行失败处理,例如提示指纹识别失败等。
图4a示出了上述熄屏指纹解锁方法的又一种交互式示例性流程,其至少可包括如下步骤:
步骤400:用户触摸指纹传感器,则指纹传感器检测到被触摸。
步骤400与步骤100、200、300相类似,在此不作赘述。
步骤401:终端提升处理器的工作频率。
步骤401与步骤201、301相类似,在此不作赘述。
步骤402:锁屏应用/模块对锁屏界面进行透明化处理。
步骤402与前述的步骤101、202、302相类似,在此不作赘述。
步骤403:指纹识别模块抓取图像;
步骤404:指纹识别模块将抓取的图像与预置的指纹图像进行匹配,得到匹配结果,上述匹配结果用于表征指纹识别是否成功。
步骤403和404分别与步骤303和304相类似,在此不作赘述。
步骤405:锁屏应用/模块通知底层进行窗口绘图。
在其他实施例中,是由锁屏应用经由窗口管理器(Windowmanager)通知底层绘制窗口。具体如何绘制窗口请参见现有的绘制窗口方式,在此不作赘述。
步骤406:若窗口绘图完成且指纹识别成功,窗口管理器执行屏幕照明光源的点亮操作。
在一个示例中,是由锁屏应用/模块开启了点亮屏幕的程序,该程序会根据窗口绘制及指纹辨识是否完成来决定是否点亮背光,最后的判断点在窗口管理器。
在其他实施例中,在熄屏解锁的过程中,点亮的命令是由锁屏应用发出至电源管理器(PowerManager)的wakeup接口,点亮流程中会经过窗口管理器检查window绘制结果/状态以及指纹辨识结果/状态,若窗口绘图完成且指纹识别成功,最后通知电源管理器点亮照明光源。
在一个示例中,窗口管理器会去获取指纹识别的状态。指纹识别的状态可包括手指接触传感器、抓取图像、识别成功/失败三种状态。在识别成功状态并且窗口绘图完成时,会通知电源管理器点亮屏幕照明光源。
在一个示例中,屏幕照明光源可为发光二极管(LED,Light Emitting Diode)背光源。当然,屏幕照明光源也可为有机发光二极管(OLED,Organic Light Emitting Diode)光源或其他光源。
步骤407:若指纹识别成功且屏幕照明光源点亮成功,解锁模块进行解锁操作。
当然,若指纹识别失败,则进行失败处理,例如提示指纹识别失败等。
需要说明的是,指纹识别失败后,就不会点亮点亮屏幕照明光源.点亮的流程会被中断。
图4b示出了使用者将手指放在指纹传感器上后,终端中的各模块(器 件)分两条支路(路径)最终实现点亮的处理过程。
为加以区别,以数字和英文分别表示两条支路(路径)。
路径1:
S1-S3:指纹传感器被触碰后,通过FingerprintHal、FingerprintService等转发callback至锁屏应用。
S4:锁屏应用发送点亮命令给电源管理器;
详见步骤406。
S5:电源管理器发送点亮命令给窗口管理器;
S6:窗口管理器通知SurfaceFinger绘制窗口;
S7:窗口管理器从SurfaceFinger获取绘制结果/状态。
窗口管理器可主动从SurfaceFinger处获取绘制结果/状态,也可由SurfaceFinger向窗口管理器发送绘制结果/状态。
S8:窗口管理器在窗口绘图完成且指纹识别成功时,通知电源管理器点亮照明光源。
路径2:
a:指纹传感器检测到手指按下的中断;
b:FingerprintHal发起执行抓图和匹配。
真正的抓图和匹配都是在TEE层里完成,并得到匹配结果。因为这里的代码运行环境是可信的,所以得出的匹配结果也是可信的,再把匹配结果返回FingerprintHal。
c-e:匹配结果(指纹辨识结果/状态)通过FingerprintHal、FingerprintService、锁屏应用等转发至窗口管理器。
窗口管理器在获取了绘制结果/状态(表征完成)和匹配结果(表征辨识成功)后,会执行上述步骤S8。
Surfaceflinger是一个类,同时又是线程,该线程通过循环,不断计算 并刷新当前屏幕需要的显示内容。Surfaceflinger线程属于SystemServer进程,也就是在SystemServer进程中启动了Surfaceflinger线程。Surfaceflinger中保存着各种layer,其主要工作就是负责各种layer的融合,因此可看做一个用于维护各种layer的线程。启动Android线程需要提供两个接口,一是readyToRun(),该函数定义了线程循环前需要初始化的内容;二是threadLoop(),每个线程都必须实现,该函数定义了线程执行的内容,如果该函数返回真(true),线程会继续调用threadLoop(),如果返回假(false),线程将退出。
本发明还要求保护上述所有实施例中的终端。
终端的一种示例性结构可参见图1a,其可包括:
锁屏模块1,配置为进行屏幕点亮处理,若指纹识别成功且屏幕点亮成功,进行解锁操作;
指纹识别模块2,配置为检测终端指纹传感器3的触摸操作,在指纹传感器3检测到被触碰时,进行指纹识别处理。
需要注意的是,指纹识别处理与屏幕点亮处理同时并行执行。
在本发明其他实施例中,还可包括:工作频率管理模块,配置为在指纹传感器3检测到被触碰时,提升终端的处理器的工作频率。
在本发明其他实施例中,锁屏模块1还可配置为:在进行点亮屏幕处理之前,对锁屏界面进行透明化处理;或者,在指纹识别成功后,对锁屏界面进行透明化处理。
相关内容请参见方法部分的记载,在此不作赘述。
在本发明其他实施例中,上述所有实施例中的锁屏模块还可配置为:
接收指纹识别模块发送的触碰事件通知,所述触碰事件通知用于表征所述指纹传感器检测到被触碰。具体细节请参见前述的步骤302,在此不作赘述。
上述透明化处理及屏幕点亮处理是在接收到该触碰事件通知后被触发执行的。
锁屏模块1可执行图1c和图1d所示的步骤101-102、104,图2所示的步骤202、203、205,图3所示的步骤305、306,图4a所示的步骤402,405-407。
指纹识别模块2可执行图1c和图1d所示的步骤103,图2所示的步骤204,图3所示的步骤303-304、图4a所示的步骤403-404。
工作频率管理模块可执行图2所示的步骤201,图3所示的步骤301,以及,图4a所示的步骤401。
在本发明其他实施例中,请参见图5,上述终端还可包括:
绘图模块501,配置为进行窗口绘图;
在一个示例中,绘图模块501功能可由终端的底层完成。
绘图模块501可执行图4a所示步骤405中的窗口绘制工作。
屏幕照明光源点亮模块502,配置为执行点亮屏幕照明光源的点亮操作。
屏幕照明光源点亮模块502可执行图4a所示的步骤406。
则相应的,在进行屏幕点亮处理方面,锁屏模块1具体配置为:通知绘图模块502进行窗口绘图;通知屏幕照明光源点亮模块502执行屏幕照明光源的点亮操作。
在其他实施例中,锁屏模块1可向屏幕照明光源点亮模块502发送点亮命令。屏幕照明光源点亮模块502接收到点亮命令后,执行屏幕照明光源的点亮操作。
在一个示例中,在执行屏幕照明光源的点亮操作的方面,屏幕照明光源点亮模块502可具体配置为:在窗口绘图完成且指纹识别成功时,点亮屏幕照明光源。
在其他实施例中,屏幕照明光源点亮模块502可配置为:获取窗口的绘制结果/状态以及指纹辨识结果/状态;若绘制结果/状态表征窗口绘图完成,并且指纹辨识结果/状态表征指纹识别成功,则点亮屏幕照明光源。
在一个示例中,绘制结果/状态中的数值可为0或1,可用数字0表征窗口绘图未完成,用数位1表征窗口绘图未完成,或相反;在另一个示例中,可用flag表征窗口绘图是否完成,flag有两种取值,一种表征完成,一种表征未完成。
同理,在一个示例中,指纹辨识结果/状态中的数值可为0或1,可用数字0表征指纹识别成功,用数位1表征指纹识别失败,或相反;在另一个示例中,可用flag表征指纹识别是否成功,flag有两种取值,一种表征成功,一种表征失败。在实际状况还有其他类别的讯号,所以会用两个以上的flag来表示不同的状态。例如,指纹识别的状态可包括手指接触传感器、抓取图像、识别成功/失败三种状态,则可以用三个flag来表示这三个状态。
屏幕照明光源点亮模块502的功能可由前述步骤406中提及的wakeup接口、窗口管理器和Pwermanager等交互实现。
在实际应用中,锁屏模块、指纹识别模块、工作频率管理模块等模块均可由位于终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
下面,介绍图1b示出的上述终端各硬设备的功能。
总线可包括一通路,在计算机***各个部件之间传送信息。
处理器101可以是通用处理器,例如通用中央处理器(CPU)、网络处理器(Network Processor,简称NP)、微处理器等,也可以是特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制 本发明方案程序执行的集成电路。还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
处理器101至少可包括主处理器、基带芯片和调制解调器。
存储器102中保存有执行本发明技术方案的程序,还可以保存有操作***和其他关键业务。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。在其他实施例中,存储器102可以包括只读存储器(read-only memory,ROM)、可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)、可存储信息和指令的其他类型的动态存储设备、磁盘存储器、flash等等。此外,存储器102可存储上述多媒体信息内容。
输入设备104可包括接收用户输入的数据和信息的装置,例如键盘、鼠标、摄像头、扫描仪、光笔、语音输入装置、触摸屏、计步器或重力感应器等。
输出设备105可包括允许输出信息给用户的装置,例如显示屏、打印机、扬声器等。
通信接口103可包括使用任何收发器一类的装置,以便与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(WLAN)等。
本发明实施例中,如果以软件功能模块的形式实现上述的熄屏指纹解锁方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储 器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例提供的熄屏指纹解锁方法。
本发明实施例提供一种终端,包括:
存储介质,配置为存储可执行指令;
处理器,配置为执行存储的可执行指令,所述可执行指令用于执行本发明实施例提供的熄屏指纹解锁方法。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
专业人员还可以进一步意识到,结合本实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
结合本实施例中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本实施例中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本实施例所示的这些实施例,而是要符合与本实施例所公开的原理和新颖特点相一致的最宽的范围。
工业实用性
本发明实施例中,检测终端指纹传感器的触摸操作;同步执行屏幕点亮处理和指纹识别处理;若指纹识别成功且屏幕点亮成功,进行解锁操作。+在本发明实施例中,屏幕点亮处理和指纹识别处理是并行处理的;与现有的在指纹辨识成功后才开始做点亮屏幕的方式相比,可节省时间,提高处理速度;从使用者的角度看,在按下指纹后可更快得看到锁屏前的界面。

Claims (15)

  1. 一种熄屏指纹解锁方法,应用于终端,所述熄屏指纹解锁方法包括:
    检测终端指纹传感器的触摸操作;
    在所述终端的指纹传感器检测到被触碰时,同步执行指纹识别处理和屏幕点亮处理;
    若指纹识别成功且屏幕点亮成功,进行解锁操作。
  2. 如权利要求1所述的方法,其中,还包括:
    在所述终端的指纹传感器检测到被触碰时,提升所述终端的处理器的工作频率。
  3. 如权利要求1所述的方法,其中,还包括:
    在同步执行指纹识别处理和屏幕点亮处理之前,对锁屏界面进行透明化处理。
  4. 如权利要求1所述的方法,其中,还包括:
    在指纹识别成功后,对锁屏界面进行透明化处理。
  5. 如权利要求3或4所述的方法,其中,所述透明化处理包括:
    调节所述锁屏界面的透明度。
  6. 如权利要求1-5任一项所述的方法,其中,所述屏幕点亮处理包括:
    进行窗口绘图;
    若窗口绘图完成且指纹识别成功,执行屏幕照明光源的点亮操作。
  7. 一种终端,包括:
    锁屏模块,配置为进行屏幕点亮处理;以及,若指纹识别成功且屏幕点亮成功,进行解锁操作;
    指纹识别模块,配置为检测终端指纹传感器的触摸操作,在所述终 端的指纹传感器检测到被触碰时,进行指纹识别处理;
    所述指纹识别处理与屏幕点亮处理同时并行执行。
  8. 如权利要求7所述的终端,其中,还包括:
    工作频率管理模块,配置为在所述终端的指纹传感器检测到被触碰时,提升所述终端的处理器的工作频率。
  9. 如权利要求7所述的终端,其中,所述锁屏模块还配置为:在进行点亮屏幕处理之前,对锁屏界面进行透明化处理。
  10. 如权利要求7所述的终端,其中,所述锁屏模块还配置为:在指纹识别成功后,对所述锁屏界面进行透明化处理。
  11. 如权利要求9或10所述的终端,其中,所述锁屏模块还配置为:
    接收指纹识别模块发送的触碰事件通知,所述触碰事件通知配置为表征所述指纹传感器检测到被触碰;
    所述透明化处理及屏幕点亮处理是在接收到所述触碰事件通知后被触发执行的。
  12. 如权利要求7所述的终端,其中,还包括:
    绘图模块,配置为进行窗口绘图;
    屏幕照明光源点亮模块,配置为执行屏幕照明光源的点亮操作。
  13. 如权利要求8所述的终端,其中,所述工作频率管理模块配置为:呼叫可调节处理器频率的接口,以提升所述处理器的工作频率。
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至6任一项所述的熄屏指纹解锁方法。
  15. 一种终端,包括:存储介质,配置为存储可执行指令;
    处理器,配置为执行存储的可执行指令,所述可执行指令用于执行权利要求1至6任一项所述的熄屏指纹解锁方法。
PCT/CN2017/087939 2016-06-15 2017-06-12 熄屏指纹解锁方法及终端、存储介质 WO2017215567A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610424536.5 2016-06-15
CN201610424536.5A CN106126998A (zh) 2016-06-15 2016-06-15 熄屏指纹解锁方法及终端

Publications (1)

Publication Number Publication Date
WO2017215567A1 true WO2017215567A1 (zh) 2017-12-21

Family

ID=57469535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087939 WO2017215567A1 (zh) 2016-06-15 2017-06-12 熄屏指纹解锁方法及终端、存储介质

Country Status (2)

Country Link
CN (1) CN106126998A (zh)
WO (1) WO2017215567A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502177A (zh) * 2018-05-17 2019-11-26 上海耕岩智能科技有限公司 一种同步验证指纹信息的屏幕解锁方法和装置
CN110705411A (zh) * 2019-09-23 2020-01-17 Oppo广东移动通信有限公司 指纹识别方法及装置、设备、存储介质
CN112799555A (zh) * 2021-01-15 2021-05-14 厦门攸信信息技术有限公司 一种屏幕清理控制方法、触控显示设备及电子设备
EP3785155A4 (en) * 2018-07-18 2021-06-02 Samsung Electronics Co., Ltd. METHOD AND DEVICE FOR MANAGING THE UNLOCKING OF AN ELECTRONIC DEVICE
CN112989292A (zh) * 2019-12-17 2021-06-18 中移(成都)信息通信科技有限公司 界面显示方法、设备及介质
CN113792280A (zh) * 2021-09-24 2021-12-14 北京鲸鲮信息***技术有限公司 指纹访问方法、装置、设备及存储介质

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126998A (zh) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 熄屏指纹解锁方法及终端
CN106886702B (zh) * 2017-03-08 2019-10-01 Oppo广东移动通信有限公司 一种指纹解锁方法及相关设备
CN107422962A (zh) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 一种亮屏控制方法及设备
CN106897164B (zh) * 2017-03-08 2020-08-14 Oppo广东移动通信有限公司 一种指纹录入控制方法及设备
CN106886703B (zh) * 2017-03-08 2020-01-14 Oppo广东移动通信有限公司 一种指纹解锁方法及移动终端
CN107066858A (zh) * 2017-03-08 2017-08-18 广东欧珀移动通信有限公司 一种指纹解锁方法及移动终端
CN107087053B (zh) * 2017-03-15 2019-09-17 Oppo广东移动通信有限公司 一种屏幕背光控制方法及移动终端
CN107071129B (zh) * 2017-03-15 2019-07-05 Oppo广东移动通信有限公司 一种亮屏控制方法及移动终端
CN107066264B (zh) * 2017-03-15 2020-01-14 Oppo广东移动通信有限公司 一种亮屏控制方法及移动终端
CN106951761A (zh) * 2017-03-15 2017-07-14 广东欧珀移动通信有限公司 一种指纹解锁方法及装置
CN107066859A (zh) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 一种指纹解锁方法及装置
CN107193473B (zh) * 2017-04-28 2020-08-14 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107025399B (zh) * 2017-04-28 2020-12-08 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107197086B (zh) * 2017-04-28 2020-04-21 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107153782A (zh) * 2017-04-28 2017-09-12 广东欧珀移动通信有限公司 解锁控制方法及相关产品
CN107103222B (zh) * 2017-04-28 2020-07-17 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107193474A (zh) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 解锁控制方法及相关产品
CN107103223A (zh) * 2017-04-28 2017-08-29 广东欧珀移动通信有限公司 解锁控制方法及相关产品
CN107194227A (zh) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 解锁控制方法及相关产品
CN107122649B (zh) * 2017-04-28 2020-07-03 Oppo广东移动通信有限公司 解锁控制方法、移动终端及计算机可读存储介质
CN107193472B (zh) * 2017-04-28 2020-03-24 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107194226B (zh) * 2017-04-28 2020-02-14 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN110300970B (zh) 2017-04-28 2022-11-22 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107194225B (zh) * 2017-04-28 2020-02-18 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107180180B (zh) * 2017-04-28 2020-08-18 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107015703B (zh) * 2017-04-28 2020-03-24 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107193475B (zh) * 2017-04-28 2020-07-10 Oppo广东移动通信有限公司 解锁控制方法及相关产品
CN107454955A (zh) * 2017-06-15 2017-12-08 深圳市汇顶科技股份有限公司 一种屏幕唤醒方法、装置及终端设备
CN107273730A (zh) * 2017-06-27 2017-10-20 努比亚技术有限公司 指纹解锁方法、移动终端及计算机可读存储介质
CN109426712A (zh) * 2017-08-28 2019-03-05 北京小米移动软件有限公司 指纹解锁方法、装置及电子设备
CN107590375A (zh) * 2017-09-12 2018-01-16 广东欧珀移动通信有限公司 解锁方法及相关产品
CN108810252A (zh) * 2018-05-18 2018-11-13 青岛海信移动通信技术股份有限公司 一种指纹解锁亮屏的方法和装置
CN109409333A (zh) * 2018-11-29 2019-03-01 北京小米移动软件有限公司 指纹解锁方法、装置、设备和存储介质
CN109753947B (zh) * 2019-01-24 2021-04-13 Oppo广东移动通信有限公司 指纹解锁方法及相关设备
CN117519499A (zh) * 2022-07-29 2024-02-06 荣耀终端有限公司 指纹解锁方法、电子设备、可读存储介质及芯片

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2782376A1 (en) * 2013-03-15 2014-09-24 LG Electronics, Inc. Mobile terminal and method of controlling the mobile terminal
CN104994222A (zh) * 2015-05-19 2015-10-21 努比亚技术有限公司 移动终端解锁方法和装置、以及移动终端
CN105353965A (zh) * 2015-09-25 2016-02-24 维沃移动通信有限公司 一种电子设备的屏幕解锁方法及电子设备
CN106126998A (zh) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 熄屏指纹解锁方法及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9027117B2 (en) * 2010-10-04 2015-05-05 Microsoft Technology Licensing, Llc Multiple-access-level lock screen
CN104917894A (zh) * 2015-06-05 2015-09-16 上海华豚科技有限公司 一种power键指纹解锁的手机

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2782376A1 (en) * 2013-03-15 2014-09-24 LG Electronics, Inc. Mobile terminal and method of controlling the mobile terminal
CN104994222A (zh) * 2015-05-19 2015-10-21 努比亚技术有限公司 移动终端解锁方法和装置、以及移动终端
CN105353965A (zh) * 2015-09-25 2016-02-24 维沃移动通信有限公司 一种电子设备的屏幕解锁方法及电子设备
CN106126998A (zh) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 熄屏指纹解锁方法及终端

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502177A (zh) * 2018-05-17 2019-11-26 上海耕岩智能科技有限公司 一种同步验证指纹信息的屏幕解锁方法和装置
CN110502177B (zh) * 2018-05-17 2021-06-11 上海耕岩智能科技有限公司 一种同步验证指纹信息的屏幕解锁方法和装置
EP3785155A4 (en) * 2018-07-18 2021-06-02 Samsung Electronics Co., Ltd. METHOD AND DEVICE FOR MANAGING THE UNLOCKING OF AN ELECTRONIC DEVICE
US11995162B2 (en) 2018-07-18 2024-05-28 Samsung Electronics Co., Ltd. Method and apparatus for managing unlocking of an electronic device
CN110705411A (zh) * 2019-09-23 2020-01-17 Oppo广东移动通信有限公司 指纹识别方法及装置、设备、存储介质
CN110705411B (zh) * 2019-09-23 2022-06-21 Oppo广东移动通信有限公司 指纹识别方法及装置、设备、存储介质
CN112989292A (zh) * 2019-12-17 2021-06-18 中移(成都)信息通信科技有限公司 界面显示方法、设备及介质
CN112799555A (zh) * 2021-01-15 2021-05-14 厦门攸信信息技术有限公司 一种屏幕清理控制方法、触控显示设备及电子设备
CN113792280A (zh) * 2021-09-24 2021-12-14 北京鲸鲮信息***技术有限公司 指纹访问方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN106126998A (zh) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2017215567A1 (zh) 熄屏指纹解锁方法及终端、存储介质
KR102135681B1 (ko) 서비스 처리 방법, 기기 및 시스템
WO2019096008A1 (zh) 身份识别方法、计算机设备及存储介质
EP2879095B1 (en) Method, apparatus and terminal device for image processing
KR102277155B1 (ko) 지문 인식을 통해 사용자를 인증하는 방법 및 이를 위한 전자 장치
US10579857B2 (en) Terminal control method and device based on fingerprint recognition key, and terminal
EP3160150A1 (en) Electronic device and method for executing function using speech recognition thereof
US10216915B2 (en) Authentication method and apparatus thereof
US20190149543A1 (en) Face verification method and device
WO2019218620A1 (zh) 一种移动设备和指纹解锁亮屏的方法
WO2015176358A1 (zh) 基于手势对应用程序进行操作的方法、终端及存储介质
TWI675329B (zh) 資訊圖像顯示方法及裝置
US20200160025A1 (en) Electronic Device
CN108958606B (zh) 分屏显示方法、装置、存储介质和电子设备
CN106548144B (zh) 一种虹膜信息的处理方法、装置及移动终端
US10409404B2 (en) Method of processing touch events and electronic device adapted thereto
WO2020042985A1 (zh) 一种显示方法、装置和计算机存储介质
CN110287666B (zh) 指纹解锁的方法及相关装置
JP2019504566A (ja) 情報画像表示方法及び装置
US10126940B2 (en) Touch zones on a soft keyboard
WO2022111394A1 (zh) 信息处理方法、装置和电子设备
WO2022022566A1 (zh) 图形码识别方法、装置和电子设备
US10810287B2 (en) Method and apparatus for unlocking terminal screen
WO2022268023A1 (zh) 指纹识别方法、装置、电子设备和可读存储介质
CN107563163A (zh) 一种屏幕指纹解锁方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17812678

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/05/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17812678

Country of ref document: EP

Kind code of ref document: A1