US2019087381A1PendingUtilityA1

Method and apparatus for controlling serial peripheral interface of fingerprint sensor, and mobile terminal

56
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTDPriority: Oct 19, 2015Filed: Nov 16, 2018Published: Mar 21, 2019
Est. expiryOct 19, 2035(~9.3 yrs left)· nominal 20-yr term from priority
G06F 1/3231G06F 1/325G06F 1/32G06V 40/13G06F 13/4282G06K 9/0002G06K 9/00046G06V 40/1324G06V 40/1306Y02D10/00Y02D30/50
56
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present disclosure provides a method and an apparatus for controlling a serial peripheral interface of a fingerprint sensor, and a mobile terminal. The method includes: detecting a fingerprint signal via a fingerprint sensor; and when the fingerprint signal is detected, opening the serial peripheral interface of the fingerprint sensor.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A method for controlling a serial peripheral interface of a fingerprint sensor, comprising:
 detecting a fingerprint signal by the fingerprint sensor, wherein the fingerprint signal is an interrupt signal; and   sending an interrupt request by the fingerprint sensor to a processor when the fingerprint signal is detected;   after receiving the interrupt signal, suspending by the processor an execution of currently running program and enabling the serial peripheral interface of the fingerprint sensor;   continuing by the processor to execute the suspended program.   
     
     
         2 . The method according to  claim 1 , wherein after the enabling the serial peripheral interface of the fingerprint sensor, the method further comprises:
 disabling the serial peripheral interface of the fingerprint sensor when no fingerprint signal is detected in a preset time period.   
     
     
         3 . The method according to  claim 1 , wherein the fingerprint sensor comprises a capacitive fingerprint sensor. 
     
     
         4 . The method according to  claim 3 , wherein the detecting the fingerprint signal by the fingerprint sensor comprises:
 detecting change of an induced capacitance value via the capacitive fingerprint sensor, and determining a change event of the induced capacitance value as the fingerprint signal.   
     
     
         5 . The method according to  claim 4 , wherein the detecting change of an induced capacitance value via the capacitive fingerprint sensor and determining a change event of the induced capacitance value as the fingerprint signal comprises:
 detecting via the capacitive fingerprint sensor whether a change value of the induced capacitance value is greater than a preset threshold, and determining an event in which the change value is greater than the preset threshold as the fingerprint signal.   
     
     
         6 . The method according to  claim 5 , wherein the preset threshold is less than a capacitance change value when a user's finger normally presses the fingerprint sensor. 
     
     
         7 . The method according to  claim 1 , wherein the fingerprint sensor comprises an optical fingerprint sensor. 
     
     
         8 . The method according to  claim 7 , wherein the detecting the fingerprint signal by the fingerprint sensor comprises:
 detecting brightness change of reflected light via the optical fingerprint sensor, and determining a brightness change event of the reflected light as the fingerprint signal.   
     
     
         9 . The method according to  claim 1 , wherein the processor is a master end of the serial peripheral interface of the fingerprint sensor. 
     
     
         10 . An apparatus for controlling a serial peripheral interface of a fingerprint sensor, comprising:
 a non-transitory computer-readable medium comprising computer-executable instructions stored thereon; and   an instruction execution system configured by the instructions to implement at least one of:
 a fingerprint signal detecting module, configured to detect a fingerprint signal by the fingerprint sensor, wherein the fingerprint signal is an interrupt signal, and further configured to send an interrupt request by the fingerprint sensor to a processor when the fingerprint signal is detected; and 
 an interface enabling module, configured to, after receiving the interrupt signal by the processor and suspending by the processor an execution of currently running program, enable the serial peripheral interface of the fingerprint sensor; wherein the processor is configured to, after enabling the serial peripheral interface of the fingerprint sensor, continue to execute the suspended program. 
   
     
     
         11 . The apparatus according to  claim 10 , wherein the instruction execution system configured by the instructions further implements:
 an interface disabling module, configured to disable the serial peripheral interface of the fingerprint sensor when no fingerprint signal is detected in a preset time period.   
     
     
         12 . The apparatus according to  claim 10 , wherein the fingerprint sensor comprises a capacitive fingerprint sensor. 
     
     
         13 . The apparatus according to  claim 12 , wherein the fingerprint signal detecting module comprises:
 a capacitance value change detecting unit, configured to detect change of an induced capacitance value via the fingerprint sensor, and determine a change event of the induced capacitance value as the fingerprint signal.   
     
     
         14 . The apparatus according to  claim 13 , wherein the capacitance value change detecting unit is configured to:
 detect via the capacitive fingerprint sensor whether a change value of the induced capacitance value is greater than a preset threshold, and determine an event in which the change value is greater than the preset threshold as the fingerprint signal.   
     
     
         15 . The apparatus according to  claim 14 , wherein the preset threshold is less than a capacitance change value when a user's finger normally presses the fingerprint sensor. 
     
     
         16 . The apparatus according to  claim 10 , wherein the fingerprint sensor comprises an optical fingerprint sensor. 
     
     
         17 . The apparatus according to  claim 16 , wherein the fingerprint signal detecting module comprises:
 a brightness change detecting unit, configured to detect brightness change of reflected light via the optical fingerprint sensor, and determining a brightness change event of the reflected light as the fingerprint signal.   
     
     
         18 . The apparatus according to  claim 10 , wherein the processor is a master end of the serial peripheral interface of the fingerprint sensor. 
     
     
         19 . A mobile terminal, comprising a memory, a processor, a fingerprint sensor, and an apparatus for controlling a serial peripheral interface of the fingerprint sensor, the apparatus comprising:
 a non-transitory computer-readable medium comprising computer-executable instructions stored thereon; and   an instruction execution system configured by the instructions to implement at least one of:
 a fingerprint signal detecting module, configured to detect a fingerprint signal by the fingerprint sensor, wherein the fingerprint signal is an interrupt signal, and further configured to send an interrupt request by the fingerprint sensor to the processor when the fingerprint signal is detected; and 
 an interface enabling module, configured to, after receiving the interrupt signal by the processor and suspending by the processor an execution of currently running program, enable the serial peripheral interface of the fingerprint sensor; wherein the processor is configured to, after enabling the serial peripheral interface of the fingerprint sensor, continue to execute the suspended program. 
   
     
     
         20 . The mobile terminal according to  claim 19 , wherein the instruction execution system configured by the instructions further implements:
 an interface disabling module, configured to disable the serial peripheral interface of the fingerprint sensor when no fingerprint signal is detected in a preset time period.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.