WO2017067293A1 - Method and device for fingerprint unlocking and terminal - Google Patents

Method and device for fingerprint unlocking and terminal Download PDF

Info

Publication number
WO2017067293A1
WO2017067293A1 PCT/CN2016/093752 CN2016093752W WO2017067293A1 WO 2017067293 A1 WO2017067293 A1 WO 2017067293A1 CN 2016093752 W CN2016093752 W CN 2016093752W WO 2017067293 A1 WO2017067293 A1 WO 2017067293A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
verification
sensor
setting
module
Prior art date
Application number
PCT/CN2016/093752
Other languages
French (fr)
Chinese (zh)
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 WO2017067293A1 publication Critical patent/WO2017067293A1/en

Links

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

Definitions

  • Embodiments of the present invention relate to a fingerprint identification technology, and in particular, to a method, an apparatus, and a terminal for unlocking a fingerprint.
  • the interface between the system and the user on each terminal is called the terminal interface. Every process that starts from this terminal will be attached to this terminal. This terminal is called the control terminal of these processes. When the control terminal is closed, the corresponding process Will automatically close.
  • the process of the corresponding fingerprint service is closed.
  • the fingerprint sensor is triggered.
  • the Linux kernel responds to the interrupt signal and obtains the interrupt signal through the power management service (powermanagerservice) and sends a broadcast. After the fingerprint service receives the broadcast, it starts to verify the fingerprint. If the verification succeeds, The system lights up the screen.
  • a method for unlocking a fingerprint includes:
  • the terminal When the terminal is in a black screen state, it is detected by the fingerprint sensor whether there is fingerprint input;
  • the fingerprint sensor When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect a fingerprint, and the collected fingerprint is verified;
  • the screen is lit and unlocked.
  • an embodiment of the present invention further provides a device for unlocking a fingerprint
  • a fingerprint detecting module configured to detect, by the fingerprint sensor, whether fingerprint input is performed when the terminal is in a black screen state
  • a fingerprint verification module configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint
  • the screen lighting module is used to light up the screen and unlock when the fingerprint verification is successful.
  • an embodiment of the present invention further provides a terminal, including a fingerprint sensor, and a device for unlocking a fingerprint connected to the fingerprint sensor;
  • the device for unlocking the fingerprint includes:
  • a fingerprint detecting module configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state
  • a fingerprint verification module configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint
  • the screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  • Embodiments of the present invention provide a method, a device, and a terminal for unlocking a fingerprint to save time for fingerprint unlocking.
  • Embodiment 1 is a flowchart of a method for unlocking a fingerprint according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for unlocking a fingerprint according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for unlocking a fingerprint according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for unlocking a fingerprint according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention.
  • the embodiment of the invention provides a method for unlocking a fingerprint, comprising:
  • the terminal When the terminal is in a black screen state, it is detected by the fingerprint sensor whether there is fingerprint input;
  • the fingerprint sensor When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect a fingerprint, and the collected fingerprint is verified;
  • the screen is lit and unlocked.
  • the fingerprint sensor detects whether there is fingerprint entry, including:
  • the fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  • the method before the fingerprint identification process detects whether the fingerprint is recorded by the fingerprint sensor, the method further includes: setting the fingerprint recognition process to a real-time monitoring state.
  • setting the fingerprint identification process to a real-time monitoring state includes:
  • the fingerprint recognition process is set to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  • the method for unlocking the fingerprint further includes:
  • the setting reminding manner includes: shaking and/or ringing.
  • the collected fingerprints are verified, including:
  • the comparison is successful, it is determined that the fingerprint verification is successful; if the comparison fails, it is determined that the fingerprint verification fails.
  • the embodiment of the invention further provides a device for unlocking a fingerprint, comprising:
  • a fingerprint detecting module configured to detect, by the fingerprint sensor, whether fingerprint input is performed when the terminal is in a black screen state
  • a fingerprint verification module configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint
  • the screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  • the fingerprint detection module is specifically configured to:
  • the fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  • the device for unlocking the fingerprint further includes:
  • the monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  • the monitoring status setting module includes:
  • a daemon setting unit configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process
  • the device for unlocking the fingerprint further includes:
  • the reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  • the setting reminding manner includes: shaking and/or ringing.
  • the fingerprint verification module includes:
  • a feature extraction unit configured to extract a fingerprint feature of the collected fingerprint
  • a fingerprint feature comparison unit configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library
  • the verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
  • An embodiment of the present invention further provides a terminal, including a fingerprint sensor, and a device for unlocking a fingerprint connected to the fingerprint sensor;
  • the device for unlocking the fingerprint includes:
  • a fingerprint detecting module configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state
  • a fingerprint verification module configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint
  • the screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  • the fingerprint detection module is specifically configured to:
  • the fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  • the device for unlocking the fingerprint further includes:
  • the monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  • the monitoring status setting module includes:
  • the daemon setting unit is configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  • the device for unlocking the fingerprint further includes:
  • the reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  • the setting reminding manner includes: shaking and/or ringing.
  • the fingerprint verification module includes:
  • a feature extraction unit configured to extract a fingerprint feature of the collected fingerprint
  • a fingerprint feature comparison unit configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library
  • the verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
  • FIG. 1 is a flowchart of a method for unlocking a fingerprint according to a first embodiment of the present invention.
  • the present embodiment is applicable to a method for unlocking a terminal by using a fingerprint.
  • the method may be implemented by hardware or software installed in the terminal, including The following steps:
  • Step 110 When the terminal is in a black screen state, detecting whether there is fingerprint input by using a fingerprint sensor;
  • fingerprint sensors for example, optical fingerprint sensors, ultrasonic sensors, semiconductor fingerprint sensors, and the like.
  • the fingerprint sensor may be a semiconductor fingerprint sensor.
  • the semiconductor fingerprint sensor can be a capacitive fingerprint sensor or an inductive fingerprint sensor.
  • the capacitive fingerprint sensor works on the other side of a "slab" integrated with thousands of semiconductor devices, on which the finger is attached to the other side of the capacitor, due to the unevenness of the finger plane, bumps and pits. The actual distance of the contact plate is not the same, and the capacitance value formed is different.
  • the capacitive fingerprint sensor can include a plurality of sensing units, for example, including 200 ⁇ 200 sensing units.
  • the specific working process is: charging the capacitive sensing unit at each pixel to a certain reference voltage, and when the finger touches the capacitive fingerprint
  • the sensing unit discharges, because the ⁇ is convex and the ⁇ is concave. Since the capacitance value is related to the distance, different capacitance values are formed at the ⁇ and ⁇ , so the discharge rates at the ⁇ and ⁇ are also different.
  • the sensing unit at the location has high capacitance and slow discharge; while the sensing unit at the crucible has low capacitance and fast discharge, according to the different discharge rate, the position of the crucible and the crucible can be detected, thereby forming fingerprint image data, which is convenient. Subsequent comparison and verification of the fingerprint features in the fingerprint library.
  • the fingerprint sensor can detect whether there is fingerprint input.
  • the fingerprint sensor detects fingerprint input.
  • Step 120 When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
  • the fingerprint sensor When the fingerprint sensor detects fingerprint input, the fingerprint sensor collects the fingerprint, and the terminal compares the fingerprint collected by the fingerprint sensor with the fingerprint in the fingerprint database to verify whether the collected fingerprint is a stored fingerprint for unlocking.
  • Step 130 If the fingerprint verification is successful, the screen is illuminated and unlocked.
  • the system can be notified to unlock, and then the rest service can wake up other services of the system for the user to use; after the screen is lit, the other services of the system can be awake first, and then unlocked.
  • the above system refers to the operating system of the terminal, such as an Android system.
  • the manner of notification described above refers to the mechanism of inter-process communication, which may be a pipe, a signal, and a trace.
  • the Binder mechanism is preferred, and the Binder mechanism is an interprocess communication mechanism.
  • other services of the system may include: listening to music, watching videos and other services unrelated to the fingerprint service.
  • the fingerprint sensor detects whether there is fingerprint input.
  • the fingerprint sensor detects fingerprint input
  • the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified, and if the fingerprint is verified, If successful, the screen will be illuminated and unlocked.
  • fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
  • the step 120 is optimized.
  • the verification of the collected fingerprint may include:
  • the fingerprint sensor first inputs the required fingerprint into the fingerprint sensor, and stores the fingerprint feature of the fingerprint in the terminal. After the fingerprint sensor processes the collected fingerprint, the fingerprint sensor can Compare with fingerprint features in inventory.
  • the fingerprint triggering the fingerprint sensor at this time is a fingerprint already stored in the inventory, and then the fingerprint sensor determines that the fingerprint recognition is successful.
  • the comparison is unsuccessful, it can be determined that there is no fingerprint in the inventory corresponding to the fingerprint that triggered the fingerprint sensor.
  • the fingerprint feature is extracted and compared with the fingerprint feature in the inventory, and the process of fingerprint verification can be completed.
  • the embodiment of the invention provides a method for unlocking a fingerprint.
  • the fingerprint sensor detects whether there is fingerprint input.
  • the fingerprint sensor detects fingerprint input
  • the fingerprint sensor is triggered to collect the fingerprint, and the fingerprint is collected.
  • the fingerprint is verified. If the verification is successful, the screen is illuminated and unlocked.
  • the solution realizes that when the terminal is in a black screen state, the fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
  • Embodiment 2 is a flowchart of a method for unlocking a fingerprint according to Embodiment 2 of the present invention.
  • the present embodiment is optimized based on the first embodiment, and includes:
  • Step 210 Set the fingerprint identification process to a real-time monitoring state
  • the fingerprint recognition process can be set to a real-time monitoring state, so that it is convenient to detect whether there is fingerprint input at any time.
  • setting the fingerprint recognition process to the real-time monitoring state may include: setting the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  • the fingerprint recognition process can be set to a real-time monitoring state by setting the fingerprint recognition process as a daemon.
  • a daemon is a background service process in Linux.
  • a daemon is a long-lived process, and a daemon can usually be independent of the controlling terminal and periodically perform certain tasks or wait for certain events to occur. The daemon can be unaffected by the terminal switch, and the daemon will not shut down when the terminal is shut down. Therefore, the fingerprint recognition process can be used as a daemon to monitor whether fingerprints are recorded in real time. When fingerprints are entered, fingerprints can be directly collected and the collected fingerprints can be verified, which saves time for fingerprint verification and improves user experience.
  • the fingerprint recognition process is in a low power standby state; when the fingerprint sensor detects fingerprint entry, it notifies the fingerprint recognition process to perform fingerprint verification.
  • Step 220 Using a fingerprint identification process to detect whether a fingerprint is entered by using a fingerprint sensor
  • the fingerprint identification process may be used to detect whether there is fingerprint input through the fingerprint sensor.
  • Step 230 When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
  • Step 240 If the fingerprint verification is successful, the screen is illuminated and unlocked.
  • the fingerprint recognition process is set to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  • the Linux kernel responds to the interrupt signal, and the fingerprint recognition process immediately starts verifying the fingerprint. If the fingerprint verification is successful, the screen is illuminated and unlocked. It has been tested to save about 100-200 ms compared to the prior art using fingerprints to illuminate the screen.
  • the technical solution of the embodiment sets the fingerprint identification process to the real-time monitoring state.
  • the fingerprint recognition process is awakened to perform fingerprint verification. If the verification succeeds, the screen may be illuminated.
  • the use of fingerprints to light the screen for a short period of time enhances the user experience.
  • FIG. 3 is a flowchart of a method for unlocking a fingerprint according to Embodiment 3 of the present invention.
  • the present embodiment is optimized based on the first embodiment, and includes:
  • Step 310 When the terminal is in a black screen state, detecting whether there is fingerprint input by using a fingerprint sensor;
  • Step 320 When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
  • Step 330 If the fingerprint verification is successful, the screen is illuminated and unlocked.
  • step 340 if the fingerprint verification fails, the user is reminded by setting a reminder manner.
  • the setting reminding mode may preferably be vibration and/or ringing.
  • This setting makes it easy for the user to get a reminder when the fingerprint verification fails.
  • the user can re-find the fingerprint with the correct fingerprint or directly abandon the fingerprint verification.
  • the technical solution of the embodiment is to detect whether there is fingerprint input when the terminal is in a black screen state.
  • the fingerprint sensor detects fingerprint input
  • the fingerprint may be directly collected and verified, and if the verification succeeds, the LED is lit. The screen is unlocked. If the verification fails, the user is notified in a set manner to let the user know. This saves time when the verification is successful, and sends a reminder after the verification fails to enhance the user experience.
  • FIG. 4 is a schematic structural diagram of a device for unlocking a fingerprint according to Embodiment 4 of the present invention.
  • the device is configured in a terminal, and the method may be implemented in the foregoing embodiment.
  • the device specifically includes:
  • the fingerprint detecting module 401 is configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
  • the fingerprint verification module 402 is configured to trigger the fingerprint sensor to collect the fingerprint when the fingerprint sensor detects the fingerprint input, and verify the collected fingerprint;
  • the screen lighting module 403 is configured to light up the screen and unlock if the fingerprint verification is successful.
  • the fingerprint detecting module 401 is specifically configured to: use a fingerprint sensor to detect whether there is fingerprint input by using a fingerprint identification process.
  • the device further includes:
  • the monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  • the monitoring status setting module includes:
  • the daemon setting unit is configured to set the fingerprint recognition process to the real-time monitoring state by setting the fingerprint recognition process as a daemon.
  • the device further comprises:
  • the reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  • the setting reminding manner includes: shaking and/or ringing.
  • the fingerprint verification module 402 includes:
  • a feature extraction unit configured to extract a fingerprint feature of the collected fingerprint
  • a fingerprint feature comparison unit configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library
  • the verification success determining unit is configured to determine that the fingerprint verification is successful when the comparison is successful;
  • the verification failure determining unit is configured to determine that the fingerprint verification fails when the comparison fails.
  • the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing modules refer to the foregoing method embodiments, and details are not described herein again.
  • the above device can perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention.
  • the terminal 50 includes a fingerprint sensor 51, and further includes: a fingerprint unlocking device 52 according to any embodiment of the present invention.
  • the terminal may be a device held by a user such as a mobile phone or a tablet computer, but is not limited to the above device.
  • the technical solution of this embodiment provides a terminal, where the terminal includes a fingerprint sensor 51, and a device 52 for unlocking a fingerprint connected to the fingerprint sensor;
  • the fingerprint unlocking device 52 can include:
  • a fingerprint detecting module configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state
  • a fingerprint verification module configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint
  • the screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  • the fingerprint detecting module 401 is specifically configured to: use a fingerprint sensor to detect whether there is fingerprint input by using a fingerprint identification process.
  • the device further comprises:
  • the monitoring status setting module is configured to set the fingerprint recognition process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  • the monitoring status setting module includes:
  • the daemon setting unit is configured to set the fingerprint recognition process to the real-time monitoring state by setting the fingerprint recognition process as a daemon.
  • the device further comprises:
  • the reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  • the setting reminding manner includes: shaking and/or ringing.
  • the fingerprint verification module 402 includes:
  • a feature extraction unit configured to extract a fingerprint feature of the collected fingerprint
  • a fingerprint feature comparison unit configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library
  • the verification success determining unit is configured to determine that the fingerprint verification is successful when the comparison is successful;
  • the verification failure determining unit is configured to determine that the fingerprint verification fails when the comparison fails.
  • the terminal provided in this embodiment may further include: radio frequency (RF, Radio) Frequency circuit, memory, input unit, display unit, sensor, audio circuit, wireless fidelity (WiFi, Wireless) including one or more computer readable storage media Fidelity modules, including processors with one or more processing cores, and power supplies.
  • RF radio frequency
  • WiFi Wireless
  • Wireless wireless fidelity
  • the fingerprint unlocking device 52 can be integrated in the processor.
  • the terminal having the fingerprint sensor and the fingerprint unlocking device first detects whether there is fingerprint input through the fingerprint sensor when the terminal is in a black screen state, and when the fingerprint sensor detects the fingerprint input, triggers the fingerprint sensor to collect the fingerprint, and collects the fingerprint.
  • the fingerprint that is sent is verified. If the verification is successful, the screen is illuminated and unlocked.
  • fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
  • ROM read only memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Input (AREA)
  • Lock And Its Accessories (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Collating Specific Patterns (AREA)

Abstract

Disclosed are a method and device for fingerprint unlocking and a terminal. The method comprises: when a terminal is in a black screen state, detecting whether or not there is a fingerprint entry via a fingerprint sensor; when the fingerprint entry is detected via the fingerprint sensor, triggering the fingerprint sensor to capture a fingerprint and authenticating the captured fingerprint; and if the fingerprint is successfully authenticated, then lighting up a screen and unlocking.

Description

一种指纹解锁的方法、装置和终端 Method, device and terminal for unlocking fingerprint
本申请要求于2015年10月19日提交中国专利局、申请号为201510681086.3、发明名称为“一种指纹解锁的方法、装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 The present application claims priority to Chinese Patent Application No. 201510681086.3, entitled "A Method, Apparatus and Terminal for Unlocking Fingerprints", which is filed on October 19, 2015, the entire contents of which are incorporated herein by reference. In this application.
技术领域Technical field
本发明实施例涉及指纹识别技术,尤其涉及一种指纹解锁的方法、装置和终端。Embodiments of the present invention relate to a fingerprint identification technology, and in particular, to a method, an apparatus, and a terminal for unlocking a fingerprint.
背景技术Background technique
每一个终端上***与用户进行交流的界面称为终端界面,从此终端开始运行的每一个进程都会依附于这个终端,这个终端称为这些进程的控制终端,当控制终端被关闭时,相应的进程都会自动关闭。The interface between the system and the user on each terminal is called the terminal interface. Every process that starts from this terminal will be attached to this terminal. This terminal is called the control terminal of these processes. When the control terminal is closed, the corresponding process Will automatically close.
目前,利用指纹服务进行解锁的过程中,当终端关闭时,相应的指纹服务的进程就会关闭。当需要用指纹服务解锁时,会触发指纹传感器,Linux内核响应到中断信号,并通过电源管理服务(powermanagerservice)获取该中断信号并发送广播,指纹服务接收到广播之后开始验证指纹,如果验证成功则***点亮屏幕。At present, in the process of unlocking by using the fingerprint service, when the terminal is closed, the process of the corresponding fingerprint service is closed. When the fingerprint service needs to be unlocked, the fingerprint sensor is triggered. The Linux kernel responds to the interrupt signal and obtains the interrupt signal through the power management service (powermanagerservice) and sends a broadcast. After the fingerprint service receives the broadcast, it starts to verify the fingerprint. If the verification succeeds, The system lights up the screen.
技术问题technical problem
由于每次利用指纹服务解锁时,都需要首先通过Linux内核响应到中断信号,并通过电源管理服务获取该中断信号并发送广播,指纹服务接收到广播之后开始验证指纹,所以整个过程会比较浪费时间。 Since each time you use the fingerprint service to unlock, you need to first respond to the interrupt signal through the Linux kernel, and obtain the interrupt signal and send the broadcast through the power management service. After the fingerprint service receives the broadcast, it starts to verify the fingerprint, so the whole process is a waste of time. .
技术解决方案Technical solution
第一方面,本发明实施例一种指纹解锁的方法,包括:In a first aspect, a method for unlocking a fingerprint according to an embodiment of the present invention includes:
在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;When the terminal is in a black screen state, it is detected by the fingerprint sensor whether there is fingerprint input;
当通过所述指纹传感器检测到有指纹录入时,触发所述指纹传感器采集指纹,并对采集到的指纹进行验证;When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect a fingerprint, and the collected fingerprint is verified;
若指纹验证成功,则点亮屏幕,并进行解锁。If the fingerprint verification is successful, the screen is lit and unlocked.
第二方面,本发明实施例还提供一种指纹解锁的装置In a second aspect, an embodiment of the present invention further provides a device for unlocking a fingerprint
,包括:,include:
指纹检测模块,用于在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether fingerprint input is performed when the terminal is in a black screen state;
指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
屏幕点亮模块,用于当指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock when the fingerprint verification is successful.
第三方面,本发明实施例还提供了一种终端,其中包括指纹传感器、以及与所述指纹传感器连接的指纹解锁的装置;In a third aspect, an embodiment of the present invention further provides a terminal, including a fingerprint sensor, and a device for unlocking a fingerprint connected to the fingerprint sensor;
所述指纹解锁的装置,包括:The device for unlocking the fingerprint includes:
指纹检测模块,用于在终端处于黑屏状态时,通过所述指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
有益效果 Beneficial effect
本发明实施例提供一种指纹解锁的方法、装置和终端,以节省指纹解锁的时间。Embodiments of the present invention provide a method, a device, and a terminal for unlocking a fingerprint to save time for fingerprint unlocking.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例一提供的指纹解锁的方法的流程图;1 is a flowchart of a method for unlocking a fingerprint according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的指纹解锁的方法的流程图;2 is a flowchart of a method for unlocking a fingerprint according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的指纹解锁的方法的流程图;3 is a flowchart of a method for unlocking a fingerprint according to Embodiment 3 of the present invention;
图4为本发明实施例四提供的指纹解锁的装置的结构示意图;4 is a schematic structural diagram of an apparatus for unlocking a fingerprint according to Embodiment 4 of the present invention;
图5为本发明实施例五提供的一种终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
本发明实施例提供了一种指纹解锁的方法,包括:The embodiment of the invention provides a method for unlocking a fingerprint, comprising:
在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;When the terminal is in a black screen state, it is detected by the fingerprint sensor whether there is fingerprint input;
当通过所述指纹传感器检测到有指纹录入时,触发所述指纹传感器采集指纹,并对采集到的指纹进行验证;When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect a fingerprint, and the collected fingerprint is verified;
若指纹验证成功,则点亮屏幕,并进行解锁。If the fingerprint verification is successful, the screen is lit and unlocked.
一实施例中,通过指纹传感器检测是否有指纹录入,包括:In an embodiment, the fingerprint sensor detects whether there is fingerprint entry, including:
采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
一实施例中,在所述指纹识别进程通过所述指纹传感器检测是否有指纹录入之前,还包括:将所述指纹识别进程设定为实时监控状态。In an embodiment, before the fingerprint identification process detects whether the fingerprint is recorded by the fingerprint sensor, the method further includes: setting the fingerprint recognition process to a real-time monitoring state.
一实施例中,将指纹识别进程设定为实时监控状态,包括:In an embodiment, setting the fingerprint identification process to a real-time monitoring state includes:
通过将所述指纹识别进程设定为守护进程,以将所述指纹识别进程设定为实时监控状态。The fingerprint recognition process is set to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
一实施例中,所述指纹解锁的方法还包括:In an embodiment, the method for unlocking the fingerprint further includes:
若指纹验证失败,则以设定提醒方式提醒用户。If the fingerprint verification fails, the user is reminded by setting a reminder.
一实施例中,所述设定提醒方式包括:震动和/或响铃。In an embodiment, the setting reminding manner includes: shaking and/or ringing.
一实施例中,对采集到的指纹进行验证,包括:In an embodiment, the collected fingerprints are verified, including:
提取所述采集到的指纹的指纹特征;Extracting fingerprint features of the collected fingerprints;
将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;Comparing the fingerprint feature of the collected fingerprint with the fingerprint feature in the fingerprint library;
若比对成功,则确定指纹验证成功;若比对失败,则确定指纹验证失败。If the comparison is successful, it is determined that the fingerprint verification is successful; if the comparison fails, it is determined that the fingerprint verification fails.
本发明实施例还提供了一种指纹解锁的装置,包括:The embodiment of the invention further provides a device for unlocking a fingerprint, comprising:
指纹检测模块,用于在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether fingerprint input is performed when the terminal is in a black screen state;
指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
一实施例中,所述指纹检测模块具体用于:In an embodiment, the fingerprint detection module is specifically configured to:
采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
一实施例中,所述指纹解锁的装置还包括:In an embodiment, the device for unlocking the fingerprint further includes:
监控状态设置模块,用于在所述指纹识别进程通过所述指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。The monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
一实施例中,所述监控状态设置模块包括:In an embodiment, the monitoring status setting module includes:
守护进程设置单元,用于通过将所述指纹识别进程设定为守护进程,以将所述指纹识别进程设定为实时监控状态a daemon setting unit configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process
一实施例中,所述指纹解锁的装置还包括:In an embodiment, the device for unlocking the fingerprint further includes:
提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
一实施例中,所述设定提醒方式包括:震动和/或响铃。In an embodiment, the setting reminding manner includes: shaking and/or ringing.
一实施例中,所述指纹验证模块包括:In an embodiment, the fingerprint verification module includes:
特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
验证成功确定单元,当比对成功,则确定指纹验证成功;Verifying the success determination unit, and when the comparison is successful, determining that the fingerprint verification is successful;
验证失败确定单元,当比对失败,则确定指纹验证失败。The verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
本发明实施例还提供了一种终端,包括指纹传感器、以及与所述指纹传感器连接的指纹解锁的装置;An embodiment of the present invention further provides a terminal, including a fingerprint sensor, and a device for unlocking a fingerprint connected to the fingerprint sensor;
所述指纹解锁的装置,包括:The device for unlocking the fingerprint includes:
指纹检测模块,用于在终端处于黑屏状态时,通过所述指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
一实施例中,所述指纹检测模块具体用于:In an embodiment, the fingerprint detection module is specifically configured to:
采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
一实施例中,所述指纹解锁的装置还包括:In an embodiment, the device for unlocking the fingerprint further includes:
监控状态设置模块,用于在所述指纹识别进程通过所述指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。The monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
一实施例中,所述监控状态设置模块包括:In an embodiment, the monitoring status setting module includes:
守护进程设置单元,用于通过将所述指纹识别进程设定为守护进程,将所述指纹识别进程设定为实时监控状态。The daemon setting unit is configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
一实施例中,所述指纹解锁的装置还包括:In an embodiment, the device for unlocking the fingerprint further includes:
提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
一实施例中,所述设定提醒方式包括:震动和/或响铃。In an embodiment, the setting reminding manner includes: shaking and/or ringing.
一实施例中,所述指纹验证模块包括:In an embodiment, the fingerprint verification module includes:
特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
验证成功确定单元,当比对成功,则确定指纹验证成功;Verifying the success determination unit, and when the comparison is successful, determining that the fingerprint verification is successful;
验证失败确定单元,当比对失败,则确定指纹验证失败。The verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
实施例一Embodiment 1
图1为本发明实施例一提供的指纹解锁的方法的流程图,本实施例可适用于使用指纹对终端进行解锁的情况,该方法可以由设置于终端中的硬件或软件来执行,具体包括如下步骤:1 is a flowchart of a method for unlocking a fingerprint according to a first embodiment of the present invention. The present embodiment is applicable to a method for unlocking a terminal by using a fingerprint. The method may be implemented by hardware or software installed in the terminal, including The following steps:
步骤110、在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;Step 110: When the terminal is in a black screen state, detecting whether there is fingerprint input by using a fingerprint sensor;
指纹传感器可以有很多种类,比如,可以包括:光学指纹传感器、超声波传感器、半导体指纹传感器等。There are many types of fingerprint sensors, for example, optical fingerprint sensors, ultrasonic sensors, semiconductor fingerprint sensors, and the like.
其中,所述指纹传感器可以为半导体指纹传感器。半导体指纹传感器可以为电容式指纹传感器、或电感式指纹传感器。该电容式指纹传感器工作原理为:在一块集成有成千上万半导体器件的“平板”上,手指贴在其上与其构成了电容的另一面,由于手指平面凸凹不平,凸点处和凹点处接触平板的实际距离大小就不一样,形成的电容数值也就不一样。The fingerprint sensor may be a semiconductor fingerprint sensor. The semiconductor fingerprint sensor can be a capacitive fingerprint sensor or an inductive fingerprint sensor. The capacitive fingerprint sensor works on the other side of a "slab" integrated with thousands of semiconductor devices, on which the finger is attached to the other side of the capacitor, due to the unevenness of the finger plane, bumps and pits. The actual distance of the contact plate is not the same, and the capacitance value formed is different.
电容式指纹传感器中可以包含很多个感应单元,例如包括200×200个感应单元,具体工作过程是:将每个像素点上的电容感应单元充电到某一参考电压,当手指接触到电容式指纹传感器时,感应单元进行放电,因为嵴是凸起的峪是凹下,由于电容值与距离有关,会在嵴和峪处形成不同的电容值,因此嵴和峪处的放电速率也不同,嵴处的感应单元电容量高、放电较慢;而处于峪处的感应单元,电容量低、放电较快,按照放电速率的不同,可以探测到嵴和峪的位置,从而形成指纹图像数据,便于后续与指纹库中的指纹特征进行比对并验证。 The capacitive fingerprint sensor can include a plurality of sensing units, for example, including 200×200 sensing units. The specific working process is: charging the capacitive sensing unit at each pixel to a certain reference voltage, and when the finger touches the capacitive fingerprint When the sensor is used, the sensing unit discharges, because the 嵴 is convex and the 峪 is concave. Since the capacitance value is related to the distance, different capacitance values are formed at the 嵴 and 峪, so the discharge rates at the 嵴 and 峪 are also different. The sensing unit at the location has high capacitance and slow discharge; while the sensing unit at the crucible has low capacitance and fast discharge, according to the different discharge rate, the position of the crucible and the crucible can be detected, thereby forming fingerprint image data, which is convenient. Subsequent comparison and verification of the fingerprint features in the fingerprint library.
当指纹触发或者没有触发指纹传感器,指纹传感器都可以检测到是否有指纹录入,当指纹正确触发指纹传感器时,指纹传感器就会检测到有指纹录入。When the fingerprint triggers or does not trigger the fingerprint sensor, the fingerprint sensor can detect whether there is fingerprint input. When the fingerprint triggers the fingerprint sensor correctly, the fingerprint sensor detects fingerprint input.
步骤120、当通过指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;Step 120: When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
当指纹传感器检测到有指纹录入时,指纹传感器便会采集指纹,终端对指纹传感器采集到的指纹与指纹库中的指纹进行比对,验证采集到的指纹是否是存储的用于解锁的指纹。When the fingerprint sensor detects fingerprint input, the fingerprint sensor collects the fingerprint, and the terminal compares the fingerprint collected by the fingerprint sensor with the fingerprint in the fingerprint database to verify whether the collected fingerprint is a stored fingerprint for unlocking.
步骤130、若指纹验证成功,则点亮屏幕,并进行解锁。Step 130: If the fingerprint verification is successful, the screen is illuminated and unlocked.
当指纹验证成功,且通知***点亮屏幕之后,可以通知***进行解锁,然后由解锁服务唤醒***其他服务,供用户使用;也可以在点亮屏幕之后,先唤醒***其它服务,然后再解锁。上述***是指终端的操作***,如可以为安卓(android)***等。After the fingerprint verification is successful and the notification system lights up the screen, the system can be notified to unlock, and then the rest service can wake up other services of the system for the user to use; after the screen is lit, the other services of the system can be awake first, and then unlocked. The above system refers to the operating system of the terminal, such as an Android system.
以上所述通知的方式指的是进程间通信的机制,可以是管道(Pipe)、信号(Signal)和跟踪(Trace)等。The manner of notification described above refers to the mechanism of inter-process communication, which may be a pipe, a signal, and a trace.
优选的是Binder机制,Binder机制是一种进程间通信机制。The Binder mechanism is preferred, and the Binder mechanism is an interprocess communication mechanism.
其中,***其它服务可以包括:听音乐、看视频等与指纹服务无关的服务。Among them, other services of the system may include: listening to music, watching videos and other services unrelated to the fingerprint service.
本实施例的技术方案,在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入,当指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证,若验证成功,则点亮屏幕,进行解锁。实现了在终端处于黑屏状态时,只要触发指纹传感器就可以进行指纹验证,若验证成功就可以点亮屏幕,加快了通过使用指纹来点亮屏幕并解锁的时间,提升用户体验。In the technical solution of the embodiment, when the terminal is in a black screen state, the fingerprint sensor detects whether there is fingerprint input. When the fingerprint sensor detects fingerprint input, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified, and if the fingerprint is verified, If successful, the screen will be illuminated and unlocked. When the terminal is in a black screen state, fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
在上述技术方案的基础上,对步骤120进行了优化,具体的,对采集到的指纹进行验证具体可以包括:On the basis of the foregoing technical solution, the step 120 is optimized. Specifically, the verification of the collected fingerprint may include:
提取所述采集到的指纹的指纹特征;Extracting fingerprint features of the collected fingerprints;
将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;Comparing the fingerprint feature of the collected fingerprint with the fingerprint feature in the fingerprint library;
具体的,在使用指纹识别之前,指纹传感器会首先将需要的指纹录入到指纹传感器中,并将所述指纹的指纹特征存储在终端中,当指纹传感器对采集到的指纹进行处理之后,便可以与库存中的指纹特征进行比对。Specifically, before the fingerprint recognition is used, the fingerprint sensor first inputs the required fingerprint into the fingerprint sensor, and stores the fingerprint feature of the fingerprint in the terminal. After the fingerprint sensor processes the collected fingerprint, the fingerprint sensor can Compare with fingerprint features in inventory.
若比对成功,则确定指纹验证成功;If the comparison is successful, it is determined that the fingerprint verification is successful;
若比对失败,则确定指纹验证失败。If the comparison fails, it is determined that the fingerprint verification failed.
如果比对成功,则可以确定此时触发指纹传感器的指纹是已经存储在库存中的指纹,那么指纹传感器就会确定指纹识别成功。If the comparison is successful, it can be determined that the fingerprint triggering the fingerprint sensor at this time is a fingerprint already stored in the inventory, and then the fingerprint sensor determines that the fingerprint recognition is successful.
如果比对不成功,则可以确定库存中没有与触发指纹传感器的指纹所对应的指纹。If the comparison is unsuccessful, it can be determined that there is no fingerprint in the inventory corresponding to the fingerprint that triggered the fingerprint sensor.
通过上述过程,提取指纹特征,与库存中的指纹特征进行比对,可完成指纹验证的过程。Through the above process, the fingerprint feature is extracted and compared with the fingerprint feature in the inventory, and the process of fingerprint verification can be completed.
本发明实施例提供了一种指纹解锁的方法,首先在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入,当指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证,若验证成功,则点亮屏幕,进行解锁。该方案实现了在终端处于黑屏状态时,只要触发指纹传感器就可以进行指纹验证,若验证成功就可以点亮屏幕,加快了通过使用指纹来点亮屏幕并解锁的时间,提升了用户体验。The embodiment of the invention provides a method for unlocking a fingerprint. First, when the terminal is in a black screen state, the fingerprint sensor detects whether there is fingerprint input. When the fingerprint sensor detects fingerprint input, the fingerprint sensor is triggered to collect the fingerprint, and the fingerprint is collected. The fingerprint is verified. If the verification is successful, the screen is illuminated and unlocked. The solution realizes that when the terminal is in a black screen state, the fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
实施例二Embodiment 2
图2为本发明实施例二提供的指纹解锁的方法的流程图,本实施例以实施例一为基础,进行优化,包括:2 is a flowchart of a method for unlocking a fingerprint according to Embodiment 2 of the present invention. The present embodiment is optimized based on the first embodiment, and includes:
步骤210、将指纹识别进程设定为实时监控状态;Step 210: Set the fingerprint identification process to a real-time monitoring state;
由于指纹录入是随时都会通过指纹传感器录入的,所以为了让指纹识别进程随时检测指纹传感器是否有指纹录入,可以将指纹识别进程设定为实时监控状态,便于随时检测是否有指纹录入。Since the fingerprint input is entered by the fingerprint sensor at any time, in order to allow the fingerprint recognition process to detect whether the fingerprint sensor has fingerprint input at any time, the fingerprint recognition process can be set to a real-time monitoring state, so that it is convenient to detect whether there is fingerprint input at any time.
进一步的,将指纹识别进程设定为实时监控状态,可以包括:通过将指纹识别进程设定为守护进程,以将指纹识别进程设定为实时监控状态。Further, setting the fingerprint recognition process to the real-time monitoring state may include: setting the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
通过将指纹识别进程设定为守护进程可以实现将指纹识别进程设定为实时监控状态。守护进程是Linux中的后台服务进程,守护进程是一个生存期较长的进程,并且守护进程通常可以独立于控制终端并且周期性地执行某种任务或等待处理某些发生的事件。守护进程可以不受终端开关的影响,当终端被关闭时,守护进程不会关闭。因此将指纹识别进程作为守护进程可以实时监控是否有指纹录入,当有指纹录入时,可以直接进行指纹采集和对采集的指纹进行验证,节省指纹验证的时间,提升用户的体验。The fingerprint recognition process can be set to a real-time monitoring state by setting the fingerprint recognition process as a daemon. A daemon is a background service process in Linux. A daemon is a long-lived process, and a daemon can usually be independent of the controlling terminal and periodically perform certain tasks or wait for certain events to occur. The daemon can be unaffected by the terminal switch, and the daemon will not shut down when the terminal is shut down. Therefore, the fingerprint recognition process can be used as a daemon to monitor whether fingerprints are recorded in real time. When fingerprints are entered, fingerprints can be directly collected and the collected fingerprints can be verified, which saves time for fingerprint verification and improves user experience.
具体的,当按下电源键(power key)待机时,指纹识别进程处于低功耗等待状态;当指纹传感器检测到有指纹录入时,通知指纹识别进程,进行指纹验证。Specifically, when the power button is pressed (power Key) During standby, the fingerprint recognition process is in a low power standby state; when the fingerprint sensor detects fingerprint entry, it notifies the fingerprint recognition process to perform fingerprint verification.
步骤220、采用指纹识别进程通过指纹传感器检测是否有指纹录入;Step 220: Using a fingerprint identification process to detect whether a fingerprint is entered by using a fingerprint sensor;
在终端处于黑屏状态时,指纹传感器检测是否有录入指纹时,可以是采用指纹识别进程通过指纹传感器检测是否有指纹录入。When the fingerprint sensor detects whether there is a fingerprint input when the terminal is in a black screen state, the fingerprint identification process may be used to detect whether there is fingerprint input through the fingerprint sensor.
步骤230、当通过指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;Step 230: When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
步骤240、若指纹验证成功,则点亮屏幕,并进行解锁。Step 240: If the fingerprint verification is successful, the screen is illuminated and unlocked.
具体的,通过将指纹识别进程设定为守护进程,以将指纹识别进程设定为实时监控状态。当手指触发指纹传感器时,Linux内核响应到中断信号,指纹识别进程立即开始验证指纹,如果指纹验证成功,则点亮屏幕,并进行解锁。经测试比现有技术中运用指纹点亮屏幕的时间节省了大约100-200ms。Specifically, the fingerprint recognition process is set to a real-time monitoring state by setting the fingerprint recognition process as a daemon process. When the finger triggers the fingerprint sensor, the Linux kernel responds to the interrupt signal, and the fingerprint recognition process immediately starts verifying the fingerprint. If the fingerprint verification is successful, the screen is illuminated and unlocked. It has been tested to save about 100-200 ms compared to the prior art using fingerprints to illuminate the screen.
本实施例的技术方案通过将指纹识别进程设定为实时监控状态,在终端处于黑屏状态时,当手指触发指纹传感器时,唤醒指纹识别进程进行指纹验证,若验证成功就可以点亮屏幕,比现有技术中运用指纹来点亮屏幕的时间短,提升用户体验。The technical solution of the embodiment sets the fingerprint identification process to the real-time monitoring state. When the terminal is in the black screen state, when the finger triggers the fingerprint sensor, the fingerprint recognition process is awakened to perform fingerprint verification. If the verification succeeds, the screen may be illuminated. In the prior art, the use of fingerprints to light the screen for a short period of time enhances the user experience.
实施例三Embodiment 3
图3为本发明实施例三提供的指纹解锁的方法的流程图,本实施例以实施例一为基础,进行优化,包括:FIG. 3 is a flowchart of a method for unlocking a fingerprint according to Embodiment 3 of the present invention. The present embodiment is optimized based on the first embodiment, and includes:
步骤310、在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;Step 310: When the terminal is in a black screen state, detecting whether there is fingerprint input by using a fingerprint sensor;
步骤320、当通过指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;Step 320: When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect the fingerprint, and the collected fingerprint is verified;
步骤330、若指纹验证成功,则点亮屏幕,并进行解锁。Step 330: If the fingerprint verification is successful, the screen is illuminated and unlocked.
进一步的,步骤340、若指纹验证失败,则以设定提醒方式提醒用户。Further, in step 340, if the fingerprint verification fails, the user is reminded by setting a reminder manner.
其中,所述设定提醒方式优选可以是震动和/或响铃。The setting reminding mode may preferably be vibration and/or ringing.
这样设置便于当指纹验证失败时,用户可以得到提醒,用户可以用正确的指纹重新进行指纹验证,或者直接放弃指纹验证。This setting makes it easy for the user to get a reminder when the fingerprint verification fails. The user can re-find the fingerprint with the correct fingerprint or directly abandon the fingerprint verification.
本实施例的技术方案在终端处于黑屏状态时,通过检测是否有指纹输入,当指纹传感器检测到有指纹录入时,可以直接进行指纹采集和对采集的指纹进行验证,如果验证成功,则点亮屏幕,并进行解锁,如果验证失败,则以设定的方式通知用户,让用户知晓,这样可以在验证成功时节省时间,在验证失败后发出提醒,提升用户的体验。The technical solution of the embodiment is to detect whether there is fingerprint input when the terminal is in a black screen state. When the fingerprint sensor detects fingerprint input, the fingerprint may be directly collected and verified, and if the verification succeeds, the LED is lit. The screen is unlocked. If the verification fails, the user is notified in a set manner to let the user know. This saves time when the verification is successful, and sends a reminder after the verification fails to enhance the user experience.
实施例四Embodiment 4
图4为本发明实施例四提供的指纹解锁的装置的结构示意图,该装置设置于终端中,本实施例可以执行上述实施例所述的方法,该装置具体包括:FIG. 4 is a schematic structural diagram of a device for unlocking a fingerprint according to Embodiment 4 of the present invention. The device is configured in a terminal, and the method may be implemented in the foregoing embodiment. The device specifically includes:
指纹检测模块401,用于在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;The fingerprint detecting module 401 is configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
指纹验证模块402,用于当通过指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;The fingerprint verification module 402 is configured to trigger the fingerprint sensor to collect the fingerprint when the fingerprint sensor detects the fingerprint input, and verify the collected fingerprint;
屏幕点亮模块403,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module 403 is configured to light up the screen and unlock if the fingerprint verification is successful.
进一步的,所述指纹检测模块401具体用于:采用指纹识别进程通过指纹传感器检测是否有指纹录入。Further, the fingerprint detecting module 401 is specifically configured to: use a fingerprint sensor to detect whether there is fingerprint input by using a fingerprint identification process.
进一步的,该装置还包括:Further, the device further includes:
监控状态设置模块,用于在指纹识别进程通过指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。The monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
进一步的,所述监控状态设置模块包括:Further, the monitoring status setting module includes:
守护进程设置单元,用于通过将指纹识别进程设定为守护进程,将指纹识别进程设定为实时监控状态。The daemon setting unit is configured to set the fingerprint recognition process to the real-time monitoring state by setting the fingerprint recognition process as a daemon.
优选的,该装置还包括:Preferably, the device further comprises:
提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
具体的,所述设定提醒方式包括:震动和/或响铃。Specifically, the setting reminding manner includes: shaking and/or ringing.
优选的,所述指纹验证模块402包括:Preferably, the fingerprint verification module 402 includes:
特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
验证成功确定单元,用于当比对成功,则确定指纹验证成功;The verification success determining unit is configured to determine that the fingerprint verification is successful when the comparison is successful;
验证失败确定单元,用于当比对失败,则确定指纹验证失败。The verification failure determining unit is configured to determine that the fingerprint verification fails when the comparison fails.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。For the specific implementation, the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities. For the specific implementation of the foregoing modules, refer to the foregoing method embodiments, and details are not described herein again.
上述装置可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above device can perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
实施例五Embodiment 5
图5为本发明实施例五提供的一种终端的结构示意图,该终端50包括指纹传感器51,还包括:本发明任一实施例所述的指纹解锁的装置52。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention. The terminal 50 includes a fingerprint sensor 51, and further includes: a fingerprint unlocking device 52 according to any embodiment of the present invention.
所述终端可以是手机、平板电脑等用户持有的设备,但是不限于上述设备。The terminal may be a device held by a user such as a mobile phone or a tablet computer, but is not limited to the above device.
本实施例的技术方案,提供了一种终端,该终端包括指纹传感器51、和与该指纹传感器连接的指纹解锁的装置52;The technical solution of this embodiment provides a terminal, where the terminal includes a fingerprint sensor 51, and a device 52 for unlocking a fingerprint connected to the fingerprint sensor;
该指纹解锁的装置52可以包括:The fingerprint unlocking device 52 can include:
指纹检测模块,用于在终端处于黑屏状态时,通过所述指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
优选的,所述指纹检测模块401具体用于:采用指纹识别进程通过指纹传感器检测是否有指纹录入。Preferably, the fingerprint detecting module 401 is specifically configured to: use a fingerprint sensor to detect whether there is fingerprint input by using a fingerprint identification process.
优选的,该装置还包括:Preferably, the device further comprises:
优选的,该监控状态设置模块,用于在指纹识别进程通过指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。Preferably, the monitoring status setting module is configured to set the fingerprint recognition process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
优选的,该监控状态设置模块包括:Preferably, the monitoring status setting module includes:
守护进程设置单元,用于通过将指纹识别进程设定为守护进程,将指纹识别进程设定为实时监控状态。The daemon setting unit is configured to set the fingerprint recognition process to the real-time monitoring state by setting the fingerprint recognition process as a daemon.
优选的,该装置还包括:Preferably, the device further comprises:
提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
具体的,所述设定提醒方式包括:震动和/或响铃。Specifically, the setting reminding manner includes: shaking and/or ringing.
优选的,所述指纹验证模块402包括:Preferably, the fingerprint verification module 402 includes:
特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
验证成功确定单元,用于当比对成功,则确定指纹验证成功;The verification success determining unit is configured to determine that the fingerprint verification is successful when the comparison is successful;
验证失败确定单元,用于当比对失败,则确定指纹验证失败。The verification failure determining unit is configured to determine that the fingerprint verification fails when the comparison fails.
此外,本实施例提供的终端还可以包括:射频(RF,Radio Frequency)电路、包括有一个或一个以上计算机可读存储介质的存储器、输入单元、显示单元、传感器、音频电路、无线保真(WiFi,Wireless Fidelity)模块、包括有一个或者一个以上处理核心的处理器、以及电源等部件。In addition, the terminal provided in this embodiment may further include: radio frequency (RF, Radio) Frequency circuit, memory, input unit, display unit, sensor, audio circuit, wireless fidelity (WiFi, Wireless) including one or more computer readable storage media Fidelity modules, including processors with one or more processing cores, and power supplies.
可选地,该指纹解锁的装置52可以集成在处理器中。Alternatively, the fingerprint unlocking device 52 can be integrated in the processor.
本实施中具有指纹传感器和指纹解锁的装置的终端,首先在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入,当指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证,若验证成功,则点亮屏幕,进行解锁。实现了在终端处于黑屏状态时,只要触发指纹传感器就可以进行指纹验证,若验证成功就可以点亮屏幕,加快了通过使用指纹来点亮屏幕并解锁的时间,提升用户体验。In the present embodiment, the terminal having the fingerprint sensor and the fingerprint unlocking device first detects whether there is fingerprint input through the fingerprint sensor when the terminal is in a black screen state, and when the fingerprint sensor detects the fingerprint input, triggers the fingerprint sensor to collect the fingerprint, and collects the fingerprint. The fingerprint that is sent is verified. If the verification is successful, the screen is illuminated and unlocked. When the terminal is in a black screen state, fingerprint verification can be performed only by triggering the fingerprint sensor. If the verification is successful, the screen can be illuminated, and the time for lighting the screen and unlocking by using the fingerprint is accelerated, thereby improving the user experience.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor within the terminal, and may include a flow of an embodiment of the information distribution method during execution. The storage medium may include: a read only memory (ROM, Read) Only Memory), Random Access Memory (RAM), disk or CD.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种指纹解锁的方法,其中包括:A method for unlocking a fingerprint, which includes:
    在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;When the terminal is in a black screen state, it is detected by the fingerprint sensor whether there is fingerprint input;
    当通过所述指纹传感器检测到有指纹录入时,触发所述指纹传感器采集指纹,并对采集到的指纹进行验证;When fingerprint input is detected by the fingerprint sensor, the fingerprint sensor is triggered to collect a fingerprint, and the collected fingerprint is verified;
    若指纹验证成功,则点亮屏幕,并进行解锁。If the fingerprint verification is successful, the screen is lit and unlocked.
  2. 根据权利要求1所述的方法,其中通过指纹传感器检测是否有指纹录入,包括:The method of claim 1, wherein detecting whether there is fingerprint entry by the fingerprint sensor comprises:
    采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  3. 根据权利要求2所述的方法,其中在所述指纹识别进程通过所述指纹传感器检测是否有指纹录入之前,还包括:The method of claim 2, wherein before the fingerprinting process detects whether there is fingerprint entry by the fingerprint sensor, the method further comprises:
    将所述指纹识别进程设定为实时监控状态。The fingerprint recognition process is set to a real-time monitoring state.
  4. 根据权利要求3所述的方法,其中将指纹识别进程设定为实时监控状态,包括:The method of claim 3, wherein setting the fingerprinting process to a real-time monitoring state comprises:
    通过将所述指纹识别进程设定为守护进程,以将所述指纹识别进程设定为实时监控状态。The fingerprint recognition process is set to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  5. 根据权利要求1-4任一项所述的方法,其中所述方法还包括:A method according to any one of claims 1 to 4, wherein the method further comprises:
    若指纹验证失败,则以设定提醒方式提醒用户。If the fingerprint verification fails, the user is reminded by setting a reminder.
  6. 根据权利要求5所述的方法,其中所述设定提醒方式包括:震动和/或响铃。The method of claim 5 wherein said setting a reminder comprises: vibrating and/or ringing.
  7. 根据权利要求1所述的方法,其中对采集到的指纹进行验证,包括:The method of claim 1 wherein verifying the collected fingerprints comprises:
    提取所述采集到的指纹的指纹特征;Extracting fingerprint features of the collected fingerprints;
    将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;Comparing the fingerprint feature of the collected fingerprint with the fingerprint feature in the fingerprint library;
    若比对成功,则确定指纹验证成功;若比对失败,则确定指纹验证失败。If the comparison is successful, it is determined that the fingerprint verification is successful; if the comparison fails, it is determined that the fingerprint verification fails.
  8. 一种指纹解锁的装置,其中包括:A device for unlocking a fingerprint, comprising:
    指纹检测模块,用于在终端处于黑屏状态时,通过指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether fingerprint input is performed when the terminal is in a black screen state;
    指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
    屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  9. 根据权利要求8所述的装置,其中所述指纹检测模块具体用于:The device according to claim 8, wherein the fingerprint detecting module is specifically configured to:
    采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  10. 根据权利要求9所述的装置,其中所述装置还包括:The device of claim 9 wherein said device further comprises:
    监控状态设置模块,用于在所述指纹识别进程通过所述指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。The monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  11. 根据权利要求10所述的装置,其中所述监控状态设置模块包括:The apparatus of claim 10, wherein the monitoring status setting module comprises:
    守护进程设置单元,用于通过将所述指纹识别进程设定为守护进程,以将所述指纹识别进程设定为实时监控状态。The daemon setting unit is configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  12. 根据权利要求8-11任一项所述的装置,其中还包括:The apparatus of any of claims 8-11, further comprising:
    提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  13. 根据权利要求12所述的装置,其中所述设定提醒方式包括:震动和/或响铃。The apparatus of claim 12 wherein said setting reminder mode comprises: shaking and/or ringing.
  14. 根据权利要求8所述的装置,其中所述指纹验证模块包括:The apparatus of claim 8 wherein said fingerprint verification module comprises:
    特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
    指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
    验证成功确定单元,当比对成功,则确定指纹验证成功;Verifying the success determination unit, and when the comparison is successful, determining that the fingerprint verification is successful;
    验证失败确定单元,当比对失败,则确定指纹验证失败。The verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
  15. 一种终端,其中包括指纹传感器、以及与所述指纹传感器连接的指纹解锁的装置;A terminal including a fingerprint sensor and a device for unlocking a fingerprint connected to the fingerprint sensor;
    所述指纹解锁的装置,包括:The device for unlocking the fingerprint includes:
    指纹检测模块,用于在终端处于黑屏状态时,通过所述指纹传感器检测是否有指纹录入;a fingerprint detecting module, configured to detect, by the fingerprint sensor, whether there is fingerprint input when the terminal is in a black screen state;
    指纹验证模块,用于当通过所述指纹传感器检测到有指纹录入时,触发指纹传感器采集指纹,并对采集到的指纹进行验证;a fingerprint verification module, configured to trigger a fingerprint sensor to collect a fingerprint when the fingerprint sensor detects that the fingerprint is entered by the fingerprint sensor, and verify the collected fingerprint;
    屏幕点亮模块,用于若指纹验证成功,则点亮屏幕,并进行解锁。The screen lighting module is used to light up the screen and unlock if the fingerprint verification is successful.
  16. 根据权利要求15所述的终端,其中所述指纹检测模块具体用于:The terminal according to claim 15, wherein the fingerprint detecting module is specifically configured to:
    采用指纹识别进程通过指纹传感器检测是否有指纹录入。The fingerprint identification process is used to detect whether there is fingerprint entry through the fingerprint sensor.
  17. 根据权利要求16所述的终端,其中所述指纹解锁的装置还包括:The terminal according to claim 16, wherein the means for unlocking the fingerprint further comprises:
    监控状态设置模块,用于在所述指纹识别进程通过所述指纹检测模块检测是否有指纹录入之前,将指纹识别进程设定为实时监控状态。The monitoring status setting module is configured to set the fingerprint identification process to a real-time monitoring state before the fingerprint identification process detects whether there is fingerprint input by the fingerprint detecting module.
  18. 根据权利要求17所述的终端,其中所述监控状态设置模块包括:The terminal of claim 17, wherein the monitoring status setting module comprises:
    守护进程设置单元,用于通过将所述指纹识别进程设定为守护进程,将所述指纹识别进程设定为实时监控状态。The daemon setting unit is configured to set the fingerprint recognition process to a real-time monitoring state by setting the fingerprint recognition process as a daemon process.
  19. 根据权利要求15-18任一项所述的终端,其中所述指纹解锁的装置还包括:The terminal according to any one of claims 15 to 18, wherein the device for unlocking the fingerprint further comprises:
    提醒模块,用于若指纹验证失败,则以设定提醒方式提醒用户。The reminder module is used to remind the user by setting a reminder method if the fingerprint verification fails.
  20. 据权利要求15所述的终端,其中所述指纹验证模块包括:The terminal of claim 15 wherein said fingerprint verification module comprises:
    特征提取单元,用于提取所述采集到的指纹的指纹特征;a feature extraction unit, configured to extract a fingerprint feature of the collected fingerprint;
    指纹特征比对单元,用于将所述采集到的指纹的指纹特征与指纹库中的指纹特征进行比对;a fingerprint feature comparison unit, configured to compare the fingerprint feature of the collected fingerprint with a fingerprint feature in the fingerprint library;
    验证成功确定单元,当比对成功,则确定指纹验证成功;Verifying the success determination unit, and when the comparison is successful, determining that the fingerprint verification is successful;
    验证失败确定单元,当比对失败,则确定指纹验证失败。The verification failure determination unit determines that the fingerprint verification has failed when the comparison fails.
PCT/CN2016/093752 2015-10-19 2016-08-05 Method and device for fingerprint unlocking and terminal WO2017067293A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510681086.3A CN105303090A (en) 2015-10-19 2015-10-19 Fingerprint unlocking method and apparatus and terminal
CN201510681086.3 2015-10-19

Publications (1)

Publication Number Publication Date
WO2017067293A1 true WO2017067293A1 (en) 2017-04-27

Family

ID=55200349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/093752 WO2017067293A1 (en) 2015-10-19 2016-08-05 Method and device for fingerprint unlocking and terminal

Country Status (2)

Country Link
CN (1) CN105303090A (en)
WO (1) WO2017067293A1 (en)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303090A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus and terminal
CN105809003B (en) 2016-03-10 2018-03-27 广东欧珀移动通信有限公司 The terminal screen unlocking method and terminal of a kind of fingerprint recognition
CN105787328B (en) * 2016-03-14 2018-03-02 广东欧珀移动通信有限公司 A kind of method and mobile terminal for improving unblock speed
CN107832596B (en) 2016-03-14 2020-12-15 Oppo广东移动通信有限公司 Unlocking control method, terminal equipment and related medium product
CN105740690B (en) * 2016-03-14 2018-01-19 广东欧珀移动通信有限公司 A kind of unlocking method and mobile terminal
CN105825098B (en) 2016-03-16 2018-03-27 广东欧珀移动通信有限公司 Unlocking screen method, image-pickup method and the device of a kind of electric terminal
CN105844130B (en) * 2016-03-17 2019-03-01 上海与德通讯技术有限公司 Unlocked by fingerprint method under standby mode
CN105844131A (en) * 2016-03-17 2016-08-10 上海与德通讯技术有限公司 Fingerprint acquisition module, electronic equipment and fingerprint unlocking method under standby state
CN105933506A (en) * 2016-03-31 2016-09-07 乐视控股(北京)有限公司 Mobile terminal unlocking method, device, mobile terminal and earphone
CN105894628B (en) * 2016-03-31 2019-01-22 宇龙计算机通信科技(深圳)有限公司 Information processing method, device and system, mobile terminal, smart lock
CN105912168A (en) * 2016-04-22 2016-08-31 上海与德通讯技术有限公司 Display module, electronic equipment and fingerprint unlock method
CN107340996A (en) * 2016-04-29 2017-11-10 北京小米移动软件有限公司 Screen lights method and device
CN106020418B (en) * 2016-05-16 2018-05-29 广东欧珀移动通信有限公司 Reduce the method, apparatus and mobile terminal of mobile terminal power consumption
CN106066955B (en) * 2016-05-27 2019-02-05 Oppo广东移动通信有限公司 A kind of solution lock control method and mobile terminal
CN106022060B (en) * 2016-05-27 2019-04-26 Oppo广东移动通信有限公司 A kind of unlocked by fingerprint control method and equipment
CN105956448B (en) 2016-05-27 2017-11-24 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method, apparatus and user terminal
CN106020782B (en) * 2016-05-27 2019-07-02 Oppo广东移动通信有限公司 A kind of unlocked by fingerprint control method and mobile terminal
CN106055951A (en) * 2016-05-27 2016-10-26 广东欧珀移动通信有限公司 Fingerprint unlocking control method and terminal equipment
CN105956449A (en) * 2016-05-27 2016-09-21 广东欧珀移动通信有限公司 User terminal screen unlocking method and apparatus, and user terminal
CN106022073A (en) * 2016-06-07 2016-10-12 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN106203030A (en) * 2016-06-29 2016-12-07 惠州Tcl移动通信有限公司 A kind of mobile terminal awakening method identified based on user and system
CN106355165B (en) * 2016-09-30 2020-11-10 北京小米移动软件有限公司 Fingerprint data acquisition method and device
CN106888326A (en) * 2017-02-28 2017-06-23 维沃移动通信有限公司 A kind of Dialing Method and mobile terminal
CN106897599A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 A kind of method and terminal by fingerprint control screen
CN107071129B (en) * 2017-03-15 2019-07-05 Oppo广东移动通信有限公司 A kind of bright screen control method and mobile terminal
CN107066264B (en) * 2017-03-15 2020-01-14 Oppo广东移动通信有限公司 Bright screen control method and mobile terminal
CN107087053B (en) 2017-03-15 2019-09-17 Oppo广东移动通信有限公司 A kind of screen backlight control method and mobile terminal
CN107391986A (en) * 2017-06-23 2017-11-24 广东欧珀移动通信有限公司 The unlocking method and terminal of terminal
US11734944B2 (en) * 2017-08-03 2023-08-22 Himax Technologies Limited Display device with embedded biometric detection function in active region
CN107832594A (en) * 2017-09-28 2018-03-23 芯海科技(深圳)股份有限公司 A kind of virgin lock implementation method of inexpensive fingerprint
CN107835078A (en) * 2017-10-12 2018-03-23 深圳市中易通安全芯科技有限公司 A kind of mobile intelligent terminal biometric security unlocking system and method
CN108776753B (en) * 2018-05-30 2020-09-29 北京小米移动软件有限公司 Biometric identification method and device
CN110287666B (en) * 2019-06-03 2021-05-18 Oppo广东移动通信有限公司 Fingerprint unlocking method and related device
CN110414410B (en) * 2019-07-24 2022-03-11 Oppo广东移动通信有限公司 Fingerprint acquisition method and related product
CN112287331A (en) * 2020-12-28 2021-01-29 飞天诚信科技股份有限公司 Terminal equipment unlocking method and device, electronic equipment and readable storage medium
CN113760092A (en) * 2021-09-06 2021-12-07 合肥松豪电子科技有限公司 Detection method applied to man-machine interaction in low power consumption mode

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090160609A1 (en) * 2007-12-25 2009-06-25 Jian-Liang Lin Method for unlocking a locked computing device and computing device thereof
CN102681777A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Method for lighting up screen and mobile terminal
CN103823632A (en) * 2014-03-18 2014-05-28 福州瑞芯微电子有限公司 Screen unlocking method and terminal thereof
CN104361272A (en) * 2014-10-11 2015-02-18 深圳市汇顶科技股份有限公司 Fingerprint input information processing method and system and mobile terminal
CN104391635A (en) * 2014-11-26 2015-03-04 小米科技有限责任公司 Device and method for unlocking screen
CN104899029A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Screen control method and apparatus
CN105303090A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765774B (en) * 2014-05-14 2020-03-20 深圳市汇顶科技股份有限公司 Terminal login method and system based on fingerprint identification in standby state
CN104733008A (en) * 2015-04-07 2015-06-24 俞晓东 Mobile storage equipment capable of realizing cloud storage based on fingerprint identification

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090160609A1 (en) * 2007-12-25 2009-06-25 Jian-Liang Lin Method for unlocking a locked computing device and computing device thereof
CN102681777A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Method for lighting up screen and mobile terminal
CN103823632A (en) * 2014-03-18 2014-05-28 福州瑞芯微电子有限公司 Screen unlocking method and terminal thereof
CN104361272A (en) * 2014-10-11 2015-02-18 深圳市汇顶科技股份有限公司 Fingerprint input information processing method and system and mobile terminal
CN104391635A (en) * 2014-11-26 2015-03-04 小米科技有限责任公司 Device and method for unlocking screen
CN104899029A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Screen control method and apparatus
CN105303090A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus and terminal

Also Published As

Publication number Publication date
CN105303090A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2017067293A1 (en) Method and device for fingerprint unlocking and terminal
WO2017067286A1 (en) Method and device for updating fingerprint template and terminal
WO2018230875A1 (en) Terminal and control method thereof
WO2012159290A1 (en) Method and system for updating reference data in capacitive multi-touch screen
WO2014189265A1 (en) Method and apparatus for using electronic device
WO2017067294A1 (en) Fingerprint collection method, apparatus, and terminal
WO2017206878A1 (en) Wakeup lock-based processing method and apparatus, storage medium, and electronic device
WO2017067280A1 (en) Fingerprint sensor-based display screen wake-up method, apparatus, and mobile terminal
WO2017206862A1 (en) Bright screen lock-based processing method and apparatus, storage medium, and electronic device
WO2018009029A1 (en) Electronic device and operating method thereof
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
WO2020036347A1 (en) Electronic device performing operations based on movement direction of external electronic device and method therefor
WO2015178600A1 (en) Speech recognition method and apparatus using device information
WO2017206879A1 (en) Mobile terminal application program processing method and apparatus, storage medium, and electronic device
WO2016080747A1 (en) User terminal and method for controlling display apparatus
WO2020159106A1 (en) Touch device
WO2017206886A1 (en) Wakeup lock releasing method and apparatus, storage medium, and electronic device
WO2018076890A1 (en) Data backup method, device, storage medium, server and system
WO2020103275A1 (en) Money deduction control method, apparatus, and device, and readable storage medium
WO2017206870A1 (en) Sensor shutdown method and apparatus, storage medium, and electronic device
WO2018076881A1 (en) Data synchronization method and device, storage medium and server
AU2019384601B2 (en) Electronic device and method for obtaining information associated with fingerprint
WO2014201915A1 (en) Software repair method and apparatus, and computer readable storage medium
WO2017067289A1 (en) Fingerprint recognition method, apparatus, and mobile terminal
WO2019039729A1 (en) Method for changing the size of the content displayed on display and electronic device thereof

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: 16856728

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856728

Country of ref document: EP

Kind code of ref document: A1