CN108829532B - Fingerprint detection method, device and readable storage medium - Google Patents

Fingerprint detection method, device and readable storage medium Download PDF

Info

Publication number
CN108829532B
CN108829532B CN201810861048.XA CN201810861048A CN108829532B CN 108829532 B CN108829532 B CN 108829532B CN 201810861048 A CN201810861048 A CN 201810861048A CN 108829532 B CN108829532 B CN 108829532B
Authority
CN
China
Prior art keywords
fingerprint detection
pressure sensor
fingerprint
pressure
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810861048.XA
Other languages
Chinese (zh)
Other versions
CN108829532A (en
Inventor
纪传舜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810861048.XA priority Critical patent/CN108829532B/en
Publication of CN108829532A publication Critical patent/CN108829532A/en
Application granted granted Critical
Publication of CN108829532B publication Critical patent/CN108829532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor

Abstract

The disclosure provides a fingerprint detection method, a fingerprint detection device and a readable storage medium, and belongs to the field of mobile terminals. This touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.

Description

Fingerprint detection method, device and readable storage medium
Technical Field
The present disclosure relates to the field of mobile terminals, and in particular, to a fingerprint detection method and apparatus, and a readable storage medium.
Background
Fingerprint detection technology has been widely applied to the display screen unlocking and application unlocking processes of mobile terminals, wherein the screen fingerprint detection (also called in-plane fingerprint detection) based on a touchable display screen is a trend. The fingerprint detection in the screen is realized by arranging a fingerprint detection chip on the lower layer of a touch display screen of the mobile terminal and touching the relevant area of the display screen by a user.
In the related art, whether to perform a fingerprint detection operation is determined by a pressure value obtained by a pressure sensor in a mobile terminal. If the pressure value cannot be obtained, the pressure sensor is indicated to be in fault, and at the moment, the fingerprint detection function can be used only by repairing related components of the pressure sensor in the mobile terminal. For some users, the time cost and economic cost of repair are burdensome.
Disclosure of Invention
The present disclosure provides a method, apparatus, and readable storage medium for fingerprint detection to overcome the problems of the related art.
In one aspect, the present disclosure provides a method of fingerprint detection, including: detecting a touch operation acting on a display screen of the mobile terminal; if touch operation acts on the fingerprint detection area of display screen, and can't acquire the pressure value through pressure sensor, control fingerprint chip carries out fingerprint detection operation, pressure sensor is used for detecting touch operation's touch pressure.
Optionally, if the touch operation acts on the fingerprint detection area of the display screen, and the pressure sensor cannot acquire a pressure value, the fingerprint chip is controlled to perform the fingerprint detection operation, and the pressure sensor is configured to detect a touch pressure of the touch operation, including: and if the touch operation acts on the fingerprint detection area of the display screen and the pressure sensor has a hardware fault, controlling a fingerprint chip to perform fingerprint detection operation.
Optionally, if touch operation acts on the fingerprint detection area of display screen, and can't acquire the pressure value through pressure sensor, control fingerprint chip carries out fingerprint detection operation, still includes: and if the pressure sensor has no hardware fault and fails to communicate with the pressure sensor, controlling a fingerprint chip to perform fingerprint detection operation.
In one possible embodiment, the method further comprises: if the touch operation acts on the fingerprint detection area of the display screen, the pressure sensor acquires a pressure value, and the pressure value is larger than a pressure threshold value, so that the fingerprint chip is controlled to perform fingerprint detection operation.
In a possible implementation manner, when the touch operation acts on the fingerprint detection area of the display screen and the pressure value cannot be obtained through the pressure sensor, the step of controlling the fingerprint chip to perform the fingerprint detection operation is realized through the touch driving module or the pressure sensor driving module or the self-defined fingerprint detection driving module.
In another aspect, the present disclosure provides an apparatus for fingerprint detection, the apparatus comprising: a touch detection module configured to detect a touch operation acting on a display screen of the mobile terminal; the fingerprint detection module is configured to control the fingerprint chip to perform fingerprint detection operation if the touch operation acts on a fingerprint detection area of the display screen and cannot acquire a pressure value through the pressure sensor, and the pressure sensor is used for detecting the touch pressure of the touch operation.
Optionally, the fingerprint detection module is configured to: and if the touch operation acts on the fingerprint detection area of the display screen and the pressure sensor has a hardware fault, controlling a fingerprint chip to perform fingerprint detection operation.
Optionally, the fingerprint detection module is configured to: if the pressure sensor has no hardware fault; and the communication with the pressure sensor fails, and the fingerprint chip is controlled to carry out fingerprint detection operation.
In one possible embodiment, the fingerprint detection module is configured to: if the touch operation acts on the fingerprint detection area of the display screen, the pressure sensor acquires a pressure value, and the pressure value is larger than a pressure threshold value, so that the fingerprint chip is controlled to perform fingerprint detection operation.
In another aspect, the present disclosure provides a fingerprint detection device, the device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of any one of the methods of the first aspect.
In another aspect, the present disclosure provides a computer-readable storage medium having stored thereon instructions which, when executed by a processor, implement the steps of any of the methods of the first aspect described above.
The technical scheme provided by the disclosure at least comprises the following beneficial effects:
this touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of a mobile terminal display screen and associated sensor assembly;
FIG. 2 is a flow diagram illustrating a fingerprint detection method in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a fingerprint detection method in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a fingerprint detection method in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a fingerprint detection device according to one exemplary embodiment;
fig. 6 is a block diagram illustrating a fingerprint detection device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario related to the embodiments of the present disclosure will be described.
Fingerprint detection technology has been widely applied to the display screen unlocking and application unlocking processes of mobile terminals, wherein the in-screen fingerprint detection based on a touch display screen is a trend. The fingerprint detection in the screen is to arrange a fingerprint detection chip at the lower layer of a touch display screen of the mobile terminal, and a user can realize the fingerprint detection through the related area of the touch display screen.
The following description will be given of an example in which the fingerprint detection scheme provided by the present disclosure is applied to a display screen supporting intra-screen fingerprint detection. Referring to fig. 1, which shows a schematic diagram of a display screen of a mobile terminal supporting intra-screen fingerprint detection, the display screen 100 of the mobile terminal at least includes a touch display assembly 102, a fingerprint chip 104, a pressure sensor 106, a connection portion 108, a fingerprint Flexible Circuit board (FPC) 110 and an adhesive portion 112. Among other things, the touch display assembly 102 may include: the display panel comprises a protective glass plate, a touch component and a display panel (the display panel can be an Active-matrix Organic Light Emitting Diode (AMOLED) display panel), wherein the protective glass plate is used for protecting the display screen, the touch component is used for detecting touch operation acting on the display screen, and the display panel is used for displaying on a screen; the fingerprint chip 104 is used for fingerprint detection; the pressure sensor 106 is used for detecting touch pressure generated by touch operation; the connection portion 108 is used to connect the pressure sensor 106 and the fingerprint FPC 110; the fingerprint FPC110 is used to electrically connect the fingerprint chip 104 with the control component.
Referring to fig. 2, a flowchart of a fingerprint detection method provided in an embodiment of the present disclosure is shown, and this embodiment takes the fingerprint detection method as an example for being used in the display screen 100 of the mobile terminal shown in fig. 1. The method comprises the following steps:
in step S201, a touch operation acting on the display screen of the mobile terminal is detected.
In an alternative implementation, the touch operation is detected by a touch sensor, such as the aforementioned touch component.
In step S202, when the touch operation is applied to the fingerprint detection area of the display screen, if the pressure sensor cannot acquire the pressure value, the fingerprint chip is controlled to perform the fingerprint detection operation.
The pressure sensor is used for detecting touch pressure of touch operation, and the magnitude of the touch pressure can be represented by a pressure value.
Alternatively, the pressure value may represent a numerical value of a touch pressure generated by a touch operation acquired by the pressure sensor, or may be a parameter representing a magnitude of the touch pressure, such as a pressure level parameter.
This touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.
Referring to fig. 3, which shows a flowchart of a fingerprint detection method provided in an embodiment of the present disclosure, the embodiment takes the fingerprint detection method as an example for being used in the display screen 100 of the mobile terminal shown in fig. 1, and includes the following steps:
in step S301, a touch operation acting on the display screen of the mobile terminal is detected.
The implementation process of step S301 is referred to step S201, and is not described herein again.
In step S302, it is determined whether the touch operation is applied to the fingerprint detection area of the display screen, and if the touch operation is applied to the fingerprint detection area of the display screen, step S303 is executed. And if the touch operation acts on the area outside the fingerprint detection area of the display screen, exiting the current process.
In an optional implementation manner, whether the touch operation acts on a fingerprint detection area of the display screen may be determined by a touch driving module of the touch control assembly; the touch driving module can also be used for acquiring the position information of the touch operation acting on the touch control assembly and sending the position information to the fingerprint detection driving module or the pressure sensor driving module, and the fingerprint detection driving module or the pressure sensor driving module is used for determining whether the touch operation acts on a fingerprint detection area of the display screen.
In step S303, it is determined whether a pressure value can be obtained by the pressure sensor; if the pressure value can not be obtained through the pressure sensor, executing step S305; if the pressure value can be obtained by the pressure sensor, step S304 is executed.
During the use of the mobile terminal by the user, the following situations may occur, so that the pressure value cannot be obtained through the pressure sensor:
the first condition is as follows: the pressure sensor is damaged and insensitive, and other hardware faults occur, so that the pressure value of the touch pressure generated by the touch operation cannot be acquired through the pressure sensor.
Alternatively, a hardware failure of a pressure sensor may be registered by a parameter, e.g. a failure parameter, which may be a global variable.
Illustratively, the global variable that records the hardware failure of the pressure sensor is bpasshardwareheady, and in the system initialization phase, if the pressure sensor fails to initialize, the value of bpasshardwareheady is given as False, that is, bpasshardwareheady is False; if the pressure sensor initialization is successful, the value of bPresssHardwearReady is assigned to True, i.e., bPresssHardwearReady is True.
Each component in a display screen of the mobile terminal can access or modify the fault parameters; the operating system of the mobile terminal applied in the embodiment of the present disclosure may also access or modify the fault parameter, for example, in an initialization stage of the operating system, perform hardware fault detection on the pressure sensor. When the pressure sensor can not be initialized normally, setting fault parameters as hardware faults; otherwise, the failure parameter is set to no hardware failure.
Case two: communication with the pressure sensor fails, so that the pressure value of the touch pressure generated by the touch operation cannot be acquired by the pressure sensor.
For example, if the pressure sensor is hardware-failure-free and detects that a touch operation is applied to a fingerprint detection area of the display screen, but the pressure value acquired by the pressure sensor is not read within a time threshold after the touch operation is detected, it is determined that the communication with the pressure sensor has failed. The time threshold may be a preset value.
For some users, if the fingerprint detection function of the mobile terminal is unavailable when the pressure sensor is subjected to hardware failure, the pressure sensor must be maintained, the economic cost and the time cost are unnecessary, and the users can accept a certain probability of unnecessary fingerprint detection caused by directly performing fingerprint detection operation without pressure value detection. If the communication failure with the pressure sensor occurs, the fingerprint detection operation can be directly carried out without pressure value detection, so that the fault-tolerant capability of the fingerprint detection process on the pressure sensor is improved. Thus, in one possible implementation, step S303 includes:
judging whether the pressure sensor has hardware faults or not;
if the pressure sensor has a hardware failure, the pressure sensor cannot acquire a pressure value, and step S305 is executed.
Optionally, in this implementation manner, step S303 further includes:
if the pressure sensor has no hardware failure, it is determined whether communication with the pressure sensor has failed, and if communication with the pressure sensor has failed, the pressure sensor cannot acquire a pressure value, and step S305 is executed.
Accordingly, if the pressure sensor has no hardware failure and the communication with the pressure sensor is successful, it indicates that the pressure value can be acquired by the pressure sensor, and step S304 is performed.
In step S304, it is determined whether the pressure value is greater than the pressure threshold, and if the pressure value is greater than the pressure threshold, step S305 is executed. And if the pressure value is not greater than the pressure threshold value, exiting the current process.
If the false touch operation acts on the fingerprint detection area of the display screen, the pressure applied to the fingerprint detection area on the display screen by the false touch is generally not greater than the pressure threshold value. Such false touches may be filtered out by setting a pressure threshold in step S304 to reduce unnecessary fingerprint detection operations.
Alternatively, the pressure threshold is preset, and the pressure threshold may be set based on the touch operation habits of most users; or the operating system of the mobile terminal adjusts according to the touch operation habit of the user using the mobile terminal; or set by application software of the mobile terminal.
In an alternative embodiment, steps S302-S304 may be implemented by the first driving module.
When the first driving module is a touch driving module, the touch driving module obtains information of touch operation (whether the touch operation acts on a fingerprint detection area of the display screen) and obtains pressure information (whether a pressure value and/or the size of the pressure value can be obtained), and the touch driving module executes steps S302-S304 according to the obtained information to obtain a fingerprint detection instruction.
The pressure information includes whether a pressure value and/or the magnitude of the pressure value can be obtained.
For example, if the fault parameter obtained by the touch driving module is a hardware fault, the pressure information obtained by the touch sensor includes a pressure value which cannot be obtained.
In another example, if the touch driving module fails to communicate with the pressure sensor driving module, that is, the pressure value of the touch pressure generated by the touch operation cannot be obtained through the pressure sensor, the pressure information obtained by the touch sensor includes the pressure value that cannot be obtained.
In another example, if the pressure sensor driving module obtains a pressure value, the touch driving module receives the pressure value sent by the pressure sensor driving module, and the pressure information obtained by the touch driving module includes the obtained pressure value and the size of the pressure value.
When the first driving module is a pressure sensor driving module, the pressure sensor driving module obtains pressure information, the pressure sensor driving module receives information of touch operation obtained by the touch driving module, and the pressure sensor driving module executes steps S302-S304 according to the obtained information to obtain a fingerprint detection instruction.
For example, if the fault parameter obtained by the pressure sensor driving module is a hardware fault, the pressure information obtained by the pressure sensor driving module includes a pressure value which cannot be obtained.
In another example, if the pressure sensor driving module does not read a pressure value within a time threshold after the touch operation is detected, the pressure information obtained by the pressure sensor driving module includes a pressure value that cannot be obtained.
In another example, if the pressure sensor driving module obtains the pressure value, the pressure information obtained by the pressure sensor driving module includes the available pressure value and the size of the pressure value.
When the first driver module is a customized fingerprint detection driver module, such as a fingerselect driver module, the customized fingerprint detection driver module receives the information of the touch operation obtained by the touch driver module and receives the pressure information, and the customized fingerprint detection driver module executes the steps S302-S304 according to the obtained information to obtain the instruction of fingerprint detection.
The obtaining manner of the pressure value information is similar to that when the first driving module is a touch driving module, and is not described herein again.
Optionally, the pressure information includes one or more of the following information:
in step S305, the fingerprint chip is controlled to perform a fingerprint detection operation.
In an optional implementation manner, the instruction for fingerprint detection is sent to the fingerprint chip, and the fingerprint chip performs a fingerprint detection operation according to the instruction for fingerprint detection. Illustratively, an instruction for fingerprint detection is sent to the fingerprint chip; the fingerprint chip obtains characteristic information of a fingerprint through a sensor (e.g., an optical sensor, a capacitive sensor, an inductive sensor, etc.).
In a possible implementation manner, whether fingerprint detection can be performed when the pressure value cannot be acquired can be controlled through an operating system or application software of the mobile terminal, so that greater flexibility of use is provided for a user. For this reason, step S303 may be preceded by:
detecting information about whether fingerprint detection is possible or not when a pressure value cannot be obtained by a pressure sensor;
if the pressure value can not be obtained by the pressure sensor, fingerprint detection can be performed, and steps S303-S305 are executed.
If fingerprint detection is not possible when the pressure value cannot be obtained by the pressure sensor, steps S304-S305 are executed.
Optionally, the method of this embodiment may further include: information is set as to whether fingerprint detection is possible or not when a pressure value cannot be acquired by the pressure sensor. For example, an option may be added to a setting menu of the mobile terminal, and when the option is selected or turned on, it indicates that fingerprint detection can be performed when a pressure value cannot be obtained through the pressure sensor. On the contrary, when the option is not selected or closed, the fingerprint detection cannot be performed when the pressure sensor cannot acquire the pressure value.
This touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.
Referring to fig. 4, which shows a flowchart of a fingerprint detection method provided in an embodiment of the present disclosure, the embodiment takes the fingerprint detection method as an example for being used in the display screen 100 of the mobile terminal shown in fig. 1, and includes the following steps:
in step S401, a touch operation acting on the display screen of the mobile terminal is detected.
The implementation process of step S401 is referred to step S301, and is not described herein again.
In step S402, it is determined whether the touch operation is applied to the fingerprint detection area of the display screen, and if the touch operation is applied to the fingerprint detection area of the display screen, step S403 is executed.
The implementation process of step S402 is referred to step S302, and is not described herein again.
In step S403, whether the pressure sensor has a hardware failure is determined, and if the pressure sensor has a hardware failure, step S405 is executed; if the pressure sensor has no hardware fault, step S404 is executed.
In step S404, it is determined whether communication with the pressure sensor has failed, and if communication with the pressure sensor has failed, step S405 is executed; no communication with the pressure sensor fails, a pressure value is acquired and step S406 is performed.
In step S405, the pressure value is set to a preset value, and step S406 is performed.
Optionally, the preset value is a value greater than the pressure threshold.
In step S406, it is determined whether the pressure value is greater than the pressure threshold, and if the pressure value is greater than the pressure threshold, step S407 is executed. And if the pressure value is not greater than the pressure threshold value, the fingerprint detection process is exited.
The implementation process of step S406 is referred to step S304, and will not be described herein.
In this embodiment, the steps S401 to S402 may be implemented by a touch driving module. The steps S403-S405 may be implemented by a pressure sensor driving module. The steps S406 to S407 may be implemented by the touch driving module or the customized fingerprint detection driving module based on the pressure value transmitted by the pressure sensor driving module.
In step S407, the fingerprint chip is controlled to perform a fingerprint detection operation.
The implementation process of step S407 is referred to step S305, and is not described herein again.
Illustratively, if a hardware fault of the pressure sensor is recorded by using a global variable bPressHardwareReady, a variable FD is used for indicating whether to control a fingerprint chip to perform fingerprint detection; when detecting the touch operation acting on a fingerprint detection area of a display screen, firstly judging the value of bPressHardwareReady; if the value of bPresssHardwareReady is True, continuously acquiring a pressure value; if the pressure value cannot be acquired through the pressure sensor (possibly because the communication with the pressure sensor fails), the fingerprint detection process is quitted; if the pressure value can be obtained through the pressure sensor, judging whether the pressure value is larger than a pressure threshold value; and if the pressure value is greater than the pressure threshold value, assigning the FD as True, and sending the FD value to the fingerprint detection driving module.
In a possible implementation manner, whether fingerprint detection can be performed when the pressure value cannot be acquired can be controlled through an operating system or application software of the mobile terminal, so that greater flexibility of use is provided for a user. For this reason, step S403 may be preceded by:
detecting information about whether fingerprint detection is possible or not when a pressure value cannot be obtained by a pressure sensor;
if the pressure value cannot be obtained by the pressure sensor, fingerprint detection is enabled, and steps S403 to S407 are performed.
If fingerprint detection is not possible when the pressure value cannot be acquired by the pressure sensor, steps S406 to S407 are performed.
Optionally, the method of this embodiment may further include: information is set as to whether fingerprint detection is possible or not when a pressure value cannot be acquired by the pressure sensor. For example, an option may be added to a setting menu of the mobile terminal, and when the option is selected or turned on, it indicates that fingerprint detection can be performed when a pressure value cannot be obtained through the pressure sensor. On the contrary, when the option is not selected or closed, the fingerprint detection cannot be performed when the pressure sensor cannot acquire the pressure value.
This touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.
In addition, when the pressure value can not be obtained through the pressure sensor, the operation of updating the pressure value into the preset value is carried out, the judgment process of fingerprint detection operation is further simplified, and the fault tolerance and the stability of the fingerprint detection process are improved.
Referring to fig. 5, a block diagram of a fingerprint detection apparatus 500 provided by an embodiment of the present disclosure is shown, where the apparatus 500 includes a touch detection module 510 and a fingerprint detection module 520.
The touch detection module 510 is configured to detect a touch operation acting on a display screen of the mobile terminal.
The fingerprint detection module 520 is configured to control the fingerprint chip to perform a fingerprint detection operation if a pressure value cannot be obtained through the pressure sensor when a touch operation is applied to a fingerprint detection area of the display screen.
The pressure sensor is used for detecting touch pressure of touch operation.
This touch operation that the detection acted on mobile terminal's display screen, when touch operation acted on the fingerprint detection region of display screen, if can't acquire the pressure value through pressure sensor, directly carry out the fingerprint detection operation for the fingerprint detection function still can be used when pressure sensor goes wrong, thereby has increased the fault-tolerant ability of fingerprint detection flow to pressure sensor.
In a possible implementation manner, the fingerprint detection module 520 is configured to control the fingerprint chip to perform a fingerprint detection operation if a hardware failure occurs in the pressure sensor when a touch operation is performed on a fingerprint detection area of the display screen.
Optionally, the fingerprint detection module 520 is further configured to, when the touch operation is applied to the fingerprint detection area of the display screen and the pressure sensor has no hardware fault, control the fingerprint chip to perform the fingerprint detection operation if the communication with the pressure sensor fails.
Optionally, the fingerprint detection module 520 is further configured to control the fingerprint chip to perform a fingerprint detection operation if the touch operation is applied to a fingerprint detection area of the display screen and the pressure sensor obtains a pressure value and the pressure value is greater than a pressure threshold.
In another alternative embodiment, the fingerprint detection module 520 is configured to, when a touch operation is performed on a fingerprint detection area of the display screen, set a pressure value to a preset value if the pressure value cannot be obtained by the pressure sensor; and if the pressure value is greater than the pressure threshold value, controlling the fingerprint chip to perform fingerprint detection operation.
When the pressure value can not be obtained through the pressure sensor, the operation of updating the pressure value into the preset value is carried out, the judgment process of fingerprint detection operation is further simplified, and the fault tolerance and the stability of the fingerprint detection process are improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Referring to fig. 6, a block diagram for a fingerprint detection device 600 according to an embodiment of the present disclosure is shown. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the fingerprint detection method provided by the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (7)

1. A method of fingerprint detection, the method comprising:
detecting a touch operation acting on a display screen of the mobile terminal;
if the touch operation acts on a fingerprint detection area of the display screen and a fault parameter reflects that a pressure sensor has a hardware fault, controlling a fingerprint chip to perform fingerprint detection operation; alternatively, the first and second electrodes may be,
if the touch operation acts on a fingerprint detection area of the display screen, the touch operation fails to communicate with the pressure sensor, and the fault parameters reflect that the pressure sensor has no hardware fault, a fingerprint chip is controlled to perform fingerprint detection operation, the pressure sensor is used for detecting the touch pressure of the touch operation, and the fault parameters are global variables and used for reflecting whether the pressure sensor can be initialized normally in a system initialization stage.
2. The method of claim 1, further comprising:
if the touch operation acts on the fingerprint detection area of the display screen, the pressure sensor acquires a pressure value, and the pressure value is larger than a pressure threshold value, so that the fingerprint chip is controlled to perform fingerprint detection operation.
3. The method according to claim 1 or 2, wherein if the touch operation acts on a fingerprint detection area of the display screen and a fault parameter reflects that the pressure sensor has a hardware fault, a fingerprint chip is controlled to perform a fingerprint detection operation; or if the touch operation acts on the fingerprint detection area of the display screen, and the communication failure and the fault parameter response of the pressure sensor are realized, the step of controlling the fingerprint chip to perform the fingerprint detection operation is realized through the touch driving module or the pressure sensor driving module or the self-defined fingerprint detection driving module.
4. A fingerprint detection apparatus, the apparatus comprising:
a touch detection module configured to detect a touch operation acting on a display screen of the mobile terminal;
the fingerprint detection module is configured to control a fingerprint chip to perform fingerprint detection operation if the touch operation acts on a fingerprint detection area of the display screen and a fault parameter reflects that the pressure sensor has a hardware fault; or if the touch operation acts on the fingerprint detection area of the display screen, the communication failure of the touch operation and the communication failure of the pressure sensor and the fault parameter response of the pressure sensor do not have hardware faults, a fingerprint chip is controlled to perform the fingerprint detection operation, the pressure sensor is used for detecting the touch pressure of the touch operation, and the fault parameter is a global variable and is used for responding whether the pressure sensor can be initialized normally in a system initialization stage.
5. The apparatus of claim 4, wherein the fingerprint detection module is configured to:
if the touch operation acts on the fingerprint detection area of the display screen, the pressure sensor acquires a pressure value, and the pressure value is larger than a pressure threshold value, so that the fingerprint chip is controlled to perform fingerprint detection operation.
6. A fingerprint detection apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the fingerprint detection method of any one of claims 1-3.
7. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the fingerprint detection method of any one of claims 1-3.
CN201810861048.XA 2018-08-01 2018-08-01 Fingerprint detection method, device and readable storage medium Active CN108829532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810861048.XA CN108829532B (en) 2018-08-01 2018-08-01 Fingerprint detection method, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810861048.XA CN108829532B (en) 2018-08-01 2018-08-01 Fingerprint detection method, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN108829532A CN108829532A (en) 2018-11-16
CN108829532B true CN108829532B (en) 2021-12-21

Family

ID=64153298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810861048.XA Active CN108829532B (en) 2018-08-01 2018-08-01 Fingerprint detection method, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN108829532B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829280A (en) * 2019-01-25 2019-05-31 努比亚技术有限公司 A kind of unlocking method and terminal, computer readable storage medium
CN109923555B (en) * 2019-01-29 2020-11-27 深圳市汇顶科技股份有限公司 Fingerprint detection method, fingerprint detection device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133180A (en) * 2017-12-11 2018-06-08 北京小米移动软件有限公司 Fingerprint identification method, device and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080166028A1 (en) * 2007-01-10 2008-07-10 Turek Joseph J Pressure actuated biometric sensor
CN103310521A (en) * 2013-07-08 2013-09-18 朱山川 Door control system
CN106815546B (en) * 2015-12-01 2020-03-17 小米科技有限责任公司 Fingerprint identification method and device
CN105809137A (en) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 Fingerprint identification device and mobile terminal
CN108268852A (en) * 2016-03-17 2018-07-10 广东欧珀移动通信有限公司 Screen assembly, fingerprint collecting and recognition methods, mobile terminal and electronic equipment
CN107609372A (en) * 2017-09-07 2018-01-19 广东欧珀移动通信有限公司 Fingerprint identification method, device, mobile terminal and storage medium
CN108280446A (en) * 2018-02-27 2018-07-13 北京小米移动软件有限公司 Fingerprint collecting method, device and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133180A (en) * 2017-12-11 2018-06-08 北京小米移动软件有限公司 Fingerprint identification method, device and terminal

Also Published As

Publication number Publication date
CN108829532A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
EP2991275B1 (en) Making router management application compatible with router firmware
EP3200116B1 (en) Method and apparatus for acquiring information via a virtual identity module from lost or stolen terminal
EP3151117B1 (en) Method and device for delaying information broadcasting
EP3073379A1 (en) Firmware recovery method, device and terminal
CN107102772B (en) Touch control method and device
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
CN108829532B (en) Fingerprint detection method, device and readable storage medium
CN108446226B (en) Application exception processing method
EP3255575B1 (en) Application triggering method and device
CN108319885B (en) Fingerprint identification method and device
CN106990984B (en) Method and device for updating system
CN107273173B (en) Fingerprint sensor control method and device and storage medium
US10671827B2 (en) Method and device for fingerprint verification
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN110417987B (en) Operation response method, device, equipment and readable storage medium
CN108334357B (en) Intelligent terminal and flashing method thereof
CN113727248A (en) Method, device and medium for playing audio by loudspeaker
CN114115768A (en) Control method and device
CN110377312B (en) Software upgrading method, device and medium
CN107766099B (en) Application double-opening method and device
CN108776753B (en) Biometric identification method and device
CN113590382A (en) NFC function processing method and device and storage medium
CN108427943B (en) Fingerprint identification method and device
CN108334328B (en) Intelligent terminal and flashing method thereof
CN108089800B (en) Anti-disturbance mode entering method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant