CN108090438B - Fingerprint acquisition method and device - Google Patents

Fingerprint acquisition method and device Download PDF

Info

Publication number
CN108090438B
CN108090438B CN201711334505.1A CN201711334505A CN108090438B CN 108090438 B CN108090438 B CN 108090438B CN 201711334505 A CN201711334505 A CN 201711334505A CN 108090438 B CN108090438 B CN 108090438B
Authority
CN
China
Prior art keywords
fingerprint
contact area
sensing chip
fingerprint sensing
finger
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
CN201711334505.1A
Other languages
Chinese (zh)
Other versions
CN108090438A (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 CN201711334505.1A priority Critical patent/CN108090438B/en
Publication of CN108090438A publication Critical patent/CN108090438A/en
Application granted granted Critical
Publication of CN108090438B publication Critical patent/CN108090438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)

Abstract

The disclosed embodiment relates to a fingerprint acquisition method and a fingerprint acquisition device, and belongs to the technical field of fingerprint acquisition. The method comprises the following steps: receiving a finger pressing event reported by the fingerprint sensing chip; acquiring a contact area reported by the fingerprint sensing chip, wherein the contact area is the contact area of the contact surface of the finger and the fingerprint sensing chip; when the contact area does not reach the preset area, acquiring the contact area reported by the fingerprint sensing chip every preset time; and when the contact area reaches the preset area, controlling the fingerprint sensing chip to collect the fingerprint image of the finger. Because the control layer can receive the contact area once every preset time, the user can trigger the control layer to receive the contact area only by translating and correcting the finger position on the contact surface, and the fingerprint identification efficiency can be improved.

Description

Fingerprint acquisition method and device
Technical Field
The present disclosure relates to the field of fingerprint acquisition technologies, and in particular, to a fingerprint acquisition method and apparatus.
Background
Fingerprint identification is widely applied to terminals as a high-reliability identity authentication technology. The fingerprint identification process comprises a fingerprint acquisition stage and a fingerprint matching stage.
In the fingerprint collection stage, if the fingerprint sensing chip detects that a finger is pressed down, the finger pressing event is reported to the control layer, and at the moment, the control layer starts to receive the fingerprint related data reported by the fingerprint sensing chip. Then, the control layer detects whether the contact area reaches a preset area according to the contact area of the finger reported by the fingerprint sensing chip; if the fingerprint-related data does not reach the preset area, the control layer stops receiving the fingerprint-related data reported by the fingerprint sensing chip until the fingerprint-related data is received again when a finger pressing event is received again; if the preset area is reached, the control layer triggers the fingerprint sensing chip to acquire the fingerprint image.
If the user is carrying out fingerprint identification for the first time, the contact area between the finger and the fingerprint sensing chip is smaller than the preset area, the user needs to lift the finger and fall down again to correct the position of the finger, the control layer can be triggered to detect whether the contact area of the finger reaches the preset area again, at the moment, the user needs to carry out the process of lifting the finger and falling down at least once, and the fingerprint identification efficiency is low.
Disclosure of Invention
The embodiment of the disclosure provides a fingerprint acquisition method and a fingerprint acquisition device, and the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a fingerprint acquisition method for a terminal provided with a fingerprint sensing chip, the method including:
receiving a finger pressing event reported by the fingerprint sensing chip, wherein the finger pressing event is reported when the fingerprint sensing chip detects that a finger is pressed;
acquiring a contact area reported by the fingerprint sensing chip, wherein the contact area is the contact area of the contact surface of the finger and the fingerprint sensing chip;
when the contact area does not reach the preset area, acquiring the contact area reported by the fingerprint sensing chip every preset time;
and when the contact area reaches the preset area, controlling the fingerprint sensing chip to collect the fingerprint image of the finger.
Optionally, the method further comprises:
and if the times of acquiring the contact area reach preset times after the finger pressing event is received, stopping receiving the contact area reported by the fingerprint sensing chip.
Optionally, the value range of the preset duration is: 5 milliseconds or more and 10 milliseconds or less.
Optionally, the receiving, every preset time interval, the contact area reported by the fingerprint sensor chip includes:
controlling the fingerprint sensing chip to scan the contact surface every scanning time to obtain the contact area, wherein the scanning time is less than or equal to the preset time;
and controlling the fingerprint sensing chip to report the contact area acquired last time every preset time.
Optionally, the method further comprises:
and configuring the preset time according to the chip parameters of the fingerprint sensing chip.
Optionally, the method further comprises:
displaying a time length setting interface;
and determining the preset time length according to the setting signal received on the time length setting interface.
According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint acquisition apparatus for a terminal provided with a fingerprint sensing chip, the apparatus including:
the event receiving module is configured to receive a finger pressing event reported by the fingerprint sensing chip, wherein the finger pressing event is reported when the fingerprint sensing chip detects that a finger is pressed;
the area acquisition module is configured to acquire a contact area reported by the fingerprint sensing chip according to the finger pressing event reported by the event receiving module, wherein the contact area is the contact area of the contact surface of the finger and the fingerprint sensing chip;
the area receiving module is further configured to acquire the contact area reported by the fingerprint sensing chip every preset time when the contact area acquired by the area acquiring module does not reach the preset area;
the fingerprint acquisition module is configured to control the fingerprint sensing chip to acquire the fingerprint image of the finger when the contact area acquired by the area receiving module reaches the preset area.
Optionally, the apparatus further comprises:
and the frequency acquisition module is configured to stop receiving the contact area reported by the fingerprint sensing chip when the frequency of acquiring the contact area reaches a preset frequency after the finger pressing event is received.
Optionally, the value range of the preset duration is: 5 milliseconds or more and 10 milliseconds or less.
Optionally, the area receiving module includes:
the control unit is configured to control the fingerprint sensing chip to scan the contact surface every scanning time length to obtain the contact area, wherein the scanning time length is less than or equal to the preset time length;
and the receiving unit is configured to control the fingerprint sensing chip to report the latest acquired contact area every preset time.
Optionally, the apparatus further comprises:
and the time length configuration module is configured to configure the preset time length according to the chip parameters of the fingerprint sensing chip.
Optionally, the apparatus further comprises:
an interface display module configured to display a duration setting interface;
and the duration determining module is configured to determine the preset duration according to a setting signal received at the duration setting interface.
In a third aspect, a terminal is provided, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the fingerprint acquisition method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the fingerprint acquisition method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after a finger pressing event is received, if the contact area of the finger and the contact surface does not reach the preset area, the contact area reported by the fingerprint sensing chip is received every preset time, so that when the contact area of the finger does not reach the preset area for the first time, a user does not need to lift the finger and then press down to trigger the fingerprint sensing chip to generate the finger pressing event, and the control layer is triggered to acquire the contact area again; because the control layer can receive the contact area once every preset time, the user can trigger the control layer to receive the contact area only by translating and correcting the finger position on the contact surface, and the fingerprint identification efficiency can be improved.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a fingerprint acquisition system in a terminal according to an exemplary embodiment;
FIG. 2 is a method flow diagram illustrating a fingerprint acquisition method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a method flow diagram of a fingerprint acquisition method according to another exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a fingerprint image captured by a fingerprint sensing chip according to an exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating a fingerprint acquisition device according to an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram illustrating a structure of a terminal 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
"module" as referred to herein refers to a program or instructions stored in memory that is capable of performing certain functions; reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The fingerprint module includes fingerprint sensing chip. The fingerprint sensing chip is provided with a plurality of sensing units (pixels) which are arranged in a matrix, the sensing units are used for sensing fingerprint signals and outputting data, and the fingerprint signals are depth information of fingerprint textures.
Optionally, the fingerprint module further includes a protective cover, and the protective cover is located on the fingerprint sensing chip. The visor is arranged in protecting the fingerprint sensing chip in the fingerprint module.
Optionally, the one side that the visor was placed in the terminal outside is the contact surface of fingerprint sensing chip, and the user triggers fingerprint sensing chip through touching this contact surface and gathers the fingerprint.
In the related art, after the fingerprint sensing chip detects that a finger is pressed down and sends a finger pressing event to the control layer, the control layer receives fingerprint related data only once and determines whether the contact area of the finger and the contact surface is larger than or equal to a preset area according to the fingerprint related data. Under the condition, if the user performs fingerprint identification, the contact area between the finger and the contact surface of the fingerprint sensing chip for the first time does not reach the preset area, and the control layer stops receiving the fingerprint related data reported by the fingerprint sensing chip. The user needs to lift the finger and press the finger again to trigger the control layer to receive the fingerprint related data reported by the fingerprint sensing chip again. In the process of fingerprint identification once, a user needs to perform the process of lifting and pressing a finger at least twice, and the efficiency of fingerprint identification is low.
Based on the technical problem, in the embodiment of the present disclosure, after the control layer receives the finger pressing event, the control layer may receive the contact area reported by the fingerprint sensor chip for multiple times, so that the user does not need to lift the finger and then press the finger to trigger the control layer to receive the contact area, and the efficiency of fingerprint identification may be improved. The following description will be made by using exemplary embodiments.
The fingerprint acquisition method provided by each embodiment of the disclosure is suitable for a terminal configured with a fingerprint sensing chip, wherein the terminal is a smart phone, a tablet computer, an electronic book reader and the like.
As shown in fig. 1, the terminal includes a fingerprint module 100 and a control layer 120.
The fingerprint module 100 includes a fingerprint sensor chip 101 and a protective cover 102 disposed above the fingerprint sensor chip 110, and the fingerprint sensor chip 101 and the protective cover 102 are bonded together by an adhesive. The protective cover 102 is made of glass, sapphire or monocrystalline silicon. This fingerprint module can be push type fingerprint module, touch fingerprint module, and this fingerprint module can be the front fingerprint module that sets up in terminal screen side, also can be the back fingerprint module that sets up in terminal back of the body lid side, can also be the fingerprint module that sets up in terminal screen inside, and this disclosed embodiment does not prescribe a limit to this. The upper surface of the protective cover 102 is a contact surface.
Optionally, the fingerprint module 110 generates a finger-down event when detecting that there is a finger-down, and sends the finger-down event to the control layer 120.
Optionally, the fingerprint module 110 and the control layer 120 communicate through a process.
Alternatively, the control layer 120 may be an operating system in the terminal; or, the control layer is an application installed in the terminal; alternatively, the control layer is a driver for driving the fingerprint sensor chip 101, which is not limited in this embodiment.
After the control layer 120 receives the finger pressing event, it is determined whether the contact area between the finger and the contact surface is greater than or equal to a preset area; if the contact area is larger than or equal to the preset area, controlling the fingerprint sensing chip to collect a fingerprint image of the finger; if the contact area is smaller than or equal to the preset area, controlling the fingerprint sensing chip to continuously collect the contact area of the finger and the contact surface, and acquiring the contact area reported by the fingerprint sensing chip every preset time, controlling the fingerprint sensing chip to collect the fingerprint image of the finger until the contact area is larger than or equal to the preset area, or stopping receiving the contact area reported by the fingerprint sensing chip until the number of times of acquiring the contact area reaches the preset number of times, and ending the fingerprint identification process.
Optionally, the finger press event comprises a contact area of the finger with the contact surface.
Fig. 2 is a flowchart illustrating a fingerprint acquisition method according to an exemplary embodiment of the present disclosure. The present embodiment is described by taking the execution subject of each step as an example of the control layer in the terminal, and the method may include the following steps.
In step 201, a finger-down event reported by the fingerprint sensor chip is received, where the finger-down event is reported when the fingerprint sensor chip detects that there is a finger down.
Alternatively, the fingerprint sensing chip includes, but is not limited to: at least one of an optical fingerprint chip, a capacitive fingerprint chip and an ultrasonic fingerprint chip. The fingerprint sensing chip has a function of detecting whether there is an object contact and detecting whether the object is a finger.
Taking a fingerprint sensing chip as an example of an optical fingerprint chip, the optical fingerprint chip includes an array of light sensing units arranged in a two-dimensional manner. When a finger is in contact with the contact surface of the optical fingerprint chip, the energy value of the optical signal of the optical sensing unit corresponding to the contact part in the optical fingerprint chip is higher than a preset optical energy value, at the moment, the optical fingerprint chip detects that an object is in contact with the contact surface, then the optical fingerprint chip determines whether the object is the finger according to the energy value characteristics of the optical signal, and generates a finger pressing event when the object is determined to be the finger.
Taking the fingerprint sensing chip as a capacitive fingerprint chip as an example, the capacitive fingerprint chip includes a capacitive sensing unit array arranged in a two-dimensional manner. When there is the contact surface contact of finger and electric capacity fingerprint chip, the capacitance value of the electric capacity sensing unit that corresponds with the contact segment in the electric capacity fingerprint chip no longer is acquiescent capacitance value, and at this moment, electric capacity fingerprint chip detects out to have the finger to contact with the contact surface, and the generation finger pushes down the incident. Wherein the default capacitance value is: when there is no object in contact with the capacitive fingerprint chip, the capacitance value of each capacitive sensing unit in the capacitive fingerprint chip.
Taking a fingerprint sensing chip as an example of an ultrasonic fingerprint chip, the ultrasonic fingerprint chip comprises an acoustic sensing unit array which is arranged in a two-dimensional manner. When a finger is in contact with the contact surface of the ultrasonic fingerprint chip, the energy value of the acoustic signal of the acoustic sensing unit corresponding to the contact part in the ultrasonic fingerprint chip is higher than the preset acoustic energy value, at the moment, the ultrasonic fingerprint chip detects that an object is in contact with the contact surface, then the ultrasonic fingerprint chip determines whether the object is the finger according to the energy value characteristic of the acoustic signal, and generates a finger pressing event when the object is determined to be the finger.
Optionally, after the fingerprint sensing chip generates a finger pressing event, the fingerprint sensing chip sends the finger pressing event to the control layer.
Optionally, the finger press event comprises a contact area of the finger with the contact surface.
In step 202, a contact area reported by the fingerprint sensor chip is obtained, where the contact area is a contact area between the finger and a contact surface of the fingerprint sensor chip.
Optionally, when the finger-down event includes a contact area of the finger with the contact surface, the control layer obtains the contact area from the finger-down event; or when the finger pressing event does not include the contact area between the finger and the contact surface, the control layer controls the fingerprint sensing chip to report the contact area after receiving the finger pressing event, and correspondingly, the fingerprint sensing chip acquires the contact area according to the control of the control layer and reports the contact area to the control layer.
In step 203, when the contact area does not reach the preset area, the contact area reported by the fingerprint sensor chip is obtained every preset time.
Optionally, the preset duration is obtained by the control layer according to the chip parameter configuration of the fingerprint sensing chip. Therefore, when the fingerprint sensing chip in the terminal is replaced, the control layer can determine the appropriate preset time according to the chip parameters of the replaced fingerprint sensing chip.
Optionally, the chip parameters include, but are not limited to: at least one of a model, size, and type of the fingerprint sensor chip.
Optionally, the control layer configures a preset time length according to a chip parameter of the fingerprint sensing chip, including: acquiring chip parameters of a fingerprint sensing chip; and determining the preset time corresponding to the fingerprint sensing chip in the terminal according to the corresponding relation between the chip parameters and the preset time.
Optionally, the preset time duration may also be set by the user. At this time, the terminal can display a time length setting interface; the control layer determines the preset time length according to the setting signal received on the time length setting interface.
Optionally, the preset duration may also be set by default in the terminal; or, the time length is sent by the server, and the manner in which the control layer acquires the preset time length is not limited in this embodiment.
Optionally, the preset duration has a value range of: the time length is greater than or equal to 5 milliseconds and less than or equal to 10 milliseconds, and the present embodiment does not limit the value of the preset time length.
Optionally, the control layer controls the fingerprint sensing chip to scan the contact surface every scanning time length to obtain a contact area, wherein the scanning time length is less than or equal to a preset time length; and the control layer controls the fingerprint sensing chip to report the scanned contact area acquired last time every preset time.
Optionally, when the scanning duration is less than the preset duration, the control layer controls the fingerprint sensing chip to report the contact area obtained last time to the control layer; when the scanning duration is equal to the preset duration, the moment when the fingerprint sensing chip acquires the contact area is positioned before the moment when the control layer receives the contact area.
In step 204, when the contact area reaches the preset area, the fingerprint sensing chip is controlled to collect a fingerprint image of the finger.
Optionally, after the fingerprint image is collected by the fingerprint sensing chip, reporting the fingerprint image to the control layer, and analyzing the fingerprint image by the control layer to obtain a fingerprint characteristic; matching the fingerprint features with template features; when the fingerprint characteristics are matched with the template characteristics, the fingerprint identification is successful; when the fingerprint features do not match the template features, fingerprint identification fails.
Optionally, if the number of times that the control layer acquires the contact area reaches a preset number of times, the control layer stops receiving the contact area reported by the fingerprint sensing chip.
In summary, in the fingerprint acquisition method provided in this embodiment, after receiving the finger pressing event, if the contact area between the finger and the contact surface does not reach the preset area, the contact area reported by the fingerprint sensing chip is received every preset time, so that when the contact area of the finger does not reach the preset area for the first time, the user does not need to lift the finger and then press the finger to trigger the fingerprint sensing chip to generate the finger pressing event, thereby triggering the control layer to obtain the contact area again; because the control layer can receive the contact area once every preset time, the user can trigger the control layer to receive the contact area only by translating and correcting the finger position on the contact surface, and the fingerprint identification efficiency can be improved.
In addition, the scanning time of the fingerprint sensing chip scanning contact surface is set to be less than or equal to the preset time, so that the fingerprint sensing chip can acquire the data reported by the fingerprint sensing chip when the fingerprint sensing chip needs to receive the contact area every time, and the effectiveness of the fingerprint sensing chip in acquiring the contact area can be improved.
In addition, after the event that the finger is pressed is received, if the number of times of obtaining the contact area reaches the preset number of times, the contact area reported by the fingerprint sensing chip is stopped being received, the problem that the control layer continuously receives the contact area of the finger and the contact surface when the finger mistakenly touches the fingerprint module is avoided, and the resources of the terminal are saved.
In addition, the preset time is set according to the chip parameters of the fingerprint sensing chip, so that when the fingerprint sensing chip in the terminal is replaced, the control layer can determine the proper preset time according to the replaced chip parameters of the fingerprint sensing chip, and the dynamic configuration of the preset time is realized.
Fig. 3 is a method flow diagram illustrating a fingerprint acquisition method according to another exemplary embodiment of the present disclosure. In this embodiment, taking the method as an example for being used in the terminal shown in fig. 1, the method may include the following steps.
In step 301, the fingerprint sensing chip detects whether there is a finger pressed; when the fingerprint sensing chip detects that the finger is pressed down, executing step 302; and when the fingerprint sensing chip does not detect the approach of the finger, continuing to execute the step.
In step 302, the fingerprint sensor chip generates a finger press event.
Optionally, the finger press event comprises a contact area of the finger with a contact surface of the fingerprint sensor chip.
In step 303, the fingerprint sensor chip reports the finger press event to the control layer.
In step 304, the control layer receives the finger press event reported by the fingerprint sensor chip.
In step 305, the control layer obtains a contact area and compares the contact area with a preset area; when the contact area is smaller than the preset area, executing step 306; when the contact area of the finger is greater than or equal to the preset area, step 311 is executed.
Optionally, when the finger-down event includes a contact area of the finger with a contact surface of the fingerprint sensing chip, the control layer obtains the contact area from the finger-down event.
In step 306, the control layer detects whether the number of times of acquiring the contact area reaches a preset number of times; when reaching the preset times, ending the process; if the preset number of times is not reached, step 307 is executed.
Optionally, the preset times may be configured by the control layer according to chip parameters of the fingerprint sensing chip; or, the number is determined by receiving a number setting signal on a number setting interface; or default setting in the terminal; or, the number of times is sent by the server, and the embodiment does not limit the obtaining manner of the preset number of times.
In step 307, the control layer controls the fingerprint sensing chip to scan the contact surface every scanning duration, so as to obtain the contact area, where the scanning duration is less than or equal to the preset duration.
In step 308, the fingerprint sensor chip scans the contact surface every scanning time interval according to the control of the control layer to obtain the contact area.
In step 309, the control layer controls the fingerprint sensor chip to report the latest acquired contact area when the control layer determines that the time length after the contact area is smaller than the preset area reaches the preset time length.
In step 310, the fingerprint sensor chip reports the contact area according to the control of the control layer, and accordingly, the control layer performs step 305.
In step 311, the control layer controls the fingerprint sensing chip to capture a fingerprint image of the finger.
Optionally, after the fingerprint image is collected by the fingerprint sensing chip, reporting the fingerprint image to the control layer, and analyzing the fingerprint image by the control layer to obtain a fingerprint characteristic; and matching the fingerprint characteristics with the template characteristics to obtain a fingerprint identification result. Schematically, the fingerprint sensing chip acquires a fingerprint image as shown in fig. 4 at 41, and in fig. 4, both the intersection 411 and the termination 412 are fingerprint features. Of course, the fingerprint feature may be of other types, and this embodiment is not described herein again.
In summary, in the fingerprint acquisition method provided in this embodiment, after receiving the finger pressing event, if the contact area between the finger and the contact surface does not reach the preset area, the contact area reported by the fingerprint sensing chip is received every preset time, so that when the contact area of the finger does not reach the preset area for the first time, the user does not need to lift the finger and then press the finger to trigger the fingerprint sensing chip to generate the finger pressing event, thereby triggering the control layer to obtain the contact area again; because the control layer can receive the contact area once every preset time, the user can trigger the control layer to receive the contact area only by translating and correcting the finger position on the contact surface, and the fingerprint identification efficiency can be improved.
In addition, the scanning time of the fingerprint sensing chip scanning contact surface is set to be less than or equal to the preset time, so that the fingerprint sensing chip can acquire the data reported by the fingerprint sensing chip when the fingerprint sensing chip needs to receive the contact area every time, and the effectiveness of the fingerprint sensing chip in acquiring the contact area can be improved.
In addition, after the event that the finger is pressed is received, if the number of times of obtaining the contact area reaches the preset number of times, the contact area reported by the fingerprint sensing chip is stopped being received, the problem that the control layer continuously receives the contact area of the finger and the contact surface when the finger mistakenly touches the fingerprint module is avoided, and the resources of the terminal are saved.
In addition, the preset time is set according to the chip parameters of the fingerprint sensing chip, so that when the fingerprint sensing chip in the terminal is replaced, the control layer can determine the proper preset time according to the replaced chip parameters of the fingerprint sensing chip, and the dynamic configuration of the preset time is realized.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating a fingerprint acquisition device according to an exemplary embodiment of the present disclosure. The apparatus may be implemented as all or a portion of the terminal, in hardware or a combination of hardware and software. The device includes: an event receiving module 510, an area obtaining module 520, an area receiving module 530, and a fingerprint acquisition module 540.
An event receiving module 510, configured to receive a finger pressing event reported by the fingerprint sensor chip, where the finger pressing event is reported when the fingerprint sensor chip detects that there is a finger pressing;
an area obtaining module 520, configured to obtain a contact area reported by the fingerprint sensor chip according to the finger pressing event reported by the event receiving module 510, where the contact area is a contact area of a contact surface between the finger and the fingerprint sensor chip;
the area receiving module 530 is further configured to obtain the contact area reported by the fingerprint sensor chip every preset time when the contact area obtained by the area obtaining module 520 does not reach the preset area;
a fingerprint collecting module 540 configured to control the fingerprint sensing chip to collect a fingerprint image of the finger when the contact area acquired by the area receiving module 530 reaches the preset area.
Optionally, the apparatus further comprises: and a frequency acquisition module.
And the frequency acquisition module is configured to stop receiving the contact area reported by the fingerprint sensing chip when the frequency of acquiring the contact area reaches a preset frequency after the finger pressing event is received.
Optionally, the value range of the preset duration is: 5 milliseconds or more and 10 milliseconds or less.
Optionally, the area receiving module 530 includes: a control unit and a receiving unit.
The control unit is configured to control the fingerprint sensing chip to scan the contact surface every scanning time length to obtain the contact area, wherein the scanning time length is less than or equal to the preset time length;
and the receiving unit is configured to control the fingerprint sensing chip to report the latest acquired contact area every preset time.
Optionally, the apparatus further comprises:
and the time length configuration module is configured to configure the preset time length according to the chip parameters of the fingerprint sensing chip.
Optionally, the apparatus further comprises:
an interface display module configured to display a duration setting interface;
and the duration determining module is configured to determine the preset duration according to a setting signal received at the duration setting interface.
For relevant details reference is made to the above-described method embodiments.
In summary, in the fingerprint acquisition device provided in this embodiment, after receiving the finger pressing event, if the contact area between the finger and the contact surface does not reach the preset area, the contact area reported by the fingerprint sensing chip is received every preset time, so that when the contact area of the finger does not reach the preset area for the first time, the user does not need to lift the finger and then press down the finger to trigger the fingerprint sensing chip to generate the finger pressing event, and thus the control layer is triggered to acquire the contact area again; because the control layer can receive the contact area once every preset time, the user can trigger the control layer to receive the contact area only by translating and correcting the finger position on the contact surface, and the fingerprint identification efficiency can be improved.
In addition, the scanning time of the fingerprint sensing chip scanning contact surface is set to be less than or equal to the preset time, so that the fingerprint sensing chip can acquire the data reported by the fingerprint sensing chip when the fingerprint sensing chip needs to receive the contact area every time, and the effectiveness of the fingerprint sensing chip in acquiring the contact area can be improved.
In addition, after the event that the finger is pressed is received, if the number of times of obtaining the contact area reaches the preset number of times, the contact area reported by the fingerprint sensing chip is stopped being received, the problem that the control layer continuously receives the contact area of the finger and the contact surface when the finger mistakenly touches the fingerprint module is avoided, and the resources of the terminal are saved.
In addition, the preset time is set according to the chip parameters of the fingerprint sensing chip, so that when the fingerprint sensing chip in the terminal is replaced, the control layer can determine the proper preset time according to the replaced chip parameters of the fingerprint sensing chip, and the dynamic configuration of the preset time is realized.
Fig. 6 shows a block diagram of a terminal 600 according to an exemplary embodiment of the present invention. The terminal 600 may be a portable mobile terminal such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4). The terminal 600 may also be referred to by other names such as user equipment, portable terminal, etc.
In general, the terminal 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 602 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement the fingerprinting method provided in the present application.
In some embodiments, the terminal 600 may further optionally include: a peripheral interface 603 and at least one peripheral. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604, a touch screen display 605, a camera 606, an audio circuit 607, a positioning component 608, and a power supply 609.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 604 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 604 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display 605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 605 also has the ability to acquire touch signals on or over the surface of the touch display screen 605. The touch signal may be input to the processor 601 as a control signal for processing. The touch display 605 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display 605 may be one, providing the front panel of the terminal 600; in other embodiments, the touch display 605 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folded design; in still other embodiments, the touch display 605 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 600. Even more, the touch screen display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch screen 605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 606 is used to capture images or video. Optionally, camera assembly 606 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 606 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 607 is used to provide an audio interface between the user and the terminal 600. Audio circuitry 607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing or inputting the electric signals to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 607 may also include a headphone jack.
The positioning component 608 is used for positioning the current geographic Location of the terminal 600 to implement navigation or LBS (Location Based Service). The Positioning component 608 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 609 is used to provide power to the various components in terminal 600. The power supply 609 may be ac, dc, disposable or rechargeable. When the power supply 609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 600 also includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: acceleration sensor 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, optical sensor 615, and proximity sensor 616.
The acceleration sensor 611 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 600. For example, the acceleration sensor 611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 601 may control the touch screen display 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611. The acceleration sensor 611 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 612 may detect a body direction and a rotation angle of the terminal 600, and the gyro sensor 612 and the acceleration sensor 611 may cooperate to acquire a 3D motion of the user on the terminal 600. The processor 601 may implement the following functions according to the data collected by the gyro sensor 612: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 613 may be disposed on a side frame of the terminal 600 and/or on a lower layer of the touch display screen 605. When the pressure sensor 613 is disposed at the side frame of the terminal 600, a user's grip signal on the terminal 600 can be detected, and left-right hand recognition or shortcut operation can be performed based on the grip signal. When the pressure sensor 613 is disposed at the lower layer of the touch display screen 605, it is possible to control an operability control on the UI interface according to a pressure operation of the user on the touch display screen 605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 614 is used for collecting a fingerprint of the user to identify the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 614 may be disposed on the front, back, or side of the terminal 600. When a physical button or vendor Logo is provided on the terminal 600, the fingerprint sensor 614 may be integrated with the physical button or vendor Logo.
The optical sensor 615 is used to collect the ambient light intensity. In one embodiment, processor 601 may control the display brightness of touch display 605 based on the ambient light intensity collected by optical sensor 615. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is turned down. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.
A proximity sensor 616, also known as a distance sensor, is typically disposed on the front face of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front surface of the terminal 600. In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front surface of the terminal 600 gradually decreases, the processor 601 controls the touch display 605 to switch from the bright screen state to the dark screen state; when the proximity sensor 616 detects that the distance between the user and the front surface of the terminal 600 gradually becomes larger, the processor 601 controls the touch display 605 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
An exemplary embodiment of the present disclosure provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by a processor to implement a fingerprinting method as described above.
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 disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (14)

1. A fingerprint acquisition method is characterized by being used for a terminal provided with a fingerprint sensing chip, and the method comprises the following steps:
receiving a finger pressing event reported by the fingerprint sensing chip, wherein the finger pressing event is reported when the fingerprint sensing chip detects that a finger is pressed;
acquiring a contact area reported by the fingerprint sensing chip, wherein the contact area is the contact area of the contact surface of the finger and the fingerprint sensing chip;
when the contact area does not reach a preset area, controlling the fingerprint sensing chip to continuously acquire the contact area of the finger and the contact surface, and acquiring the contact area reported by the fingerprint sensing chip every preset time;
and when the contact area reaches the preset area, controlling the fingerprint sensing chip to collect the fingerprint image of the finger.
2. The method of claim 1, further comprising:
and if the times of acquiring the contact area reach preset times after the finger pressing event is received, stopping receiving the contact area reported by the fingerprint sensing chip.
3. The method according to claim 1, wherein the preset duration ranges from: 5 milliseconds or more and 10 milliseconds or less.
4. The method according to any one of claims 1 to 3, wherein the receiving the contact area reported by the fingerprint sensor chip every preset time interval comprises:
controlling the fingerprint sensing chip to scan the contact surface every scanning time to obtain the contact area, wherein the scanning time is less than or equal to the preset time;
and controlling the fingerprint sensing chip to report the contact area acquired last time every preset time.
5. The method of any of claims 1 to 3, further comprising:
and configuring the preset time according to the chip parameters of the fingerprint sensing chip.
6. The method of any of claims 1 to 3, further comprising:
displaying a time length setting interface;
and determining the preset time length according to the setting signal received on the time length setting interface.
7. The utility model provides a fingerprint collection device which characterized in that for be provided with the terminal of fingerprint sensing chip, the device includes:
the event receiving module is configured to receive a finger pressing event reported by the fingerprint sensing chip, wherein the finger pressing event is reported when the fingerprint sensing chip detects that a finger is pressed;
the area acquisition module is configured to acquire a contact area reported by the fingerprint sensing chip according to the finger pressing event reported by the event receiving module, wherein the contact area is the contact area of the contact surface of the finger and the fingerprint sensing chip;
the area receiving module is further configured to control the fingerprint sensing chip to continue to acquire the contact area of the finger and the contact surface when the contact area acquired by the area acquiring module does not reach a preset area, and acquire the contact area reported by the fingerprint sensing chip every preset time;
the fingerprint acquisition module is configured to control the fingerprint sensing chip to acquire the fingerprint image of the finger when the contact area acquired by the area receiving module reaches the preset area.
8. The apparatus of claim 7, further comprising:
and the frequency acquisition module is configured to stop receiving the contact area reported by the fingerprint sensing chip when the frequency of acquiring the contact area reaches a preset frequency after the finger pressing event is received.
9. The apparatus according to claim 7, wherein the preset duration has a value range of: 5 milliseconds or more and 10 milliseconds or less.
10. The apparatus of any one of claims 7 to 9, wherein the area receiving module comprises:
the control unit is configured to control the fingerprint sensing chip to scan the contact surface every scanning time length to obtain the contact area, wherein the scanning time length is less than or equal to the preset time length;
and the receiving unit is configured to control the fingerprint sensing chip to report the latest acquired contact area every preset time.
11. The apparatus of any of claims 7 to 9, further comprising:
and the time length configuration module is configured to configure the preset time length according to the chip parameters of the fingerprint sensing chip.
12. The apparatus of any of claims 7 to 9, further comprising:
an interface display module configured to display a duration setting interface;
and the duration determining module is configured to determine the preset duration according to a setting signal received at the duration setting interface.
13. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction is stored, which is loaded and executed by the processor to implement the fingerprint acquisition method according to any one of claims 1 to 6.
14. A computer-readable storage medium having stored thereon at least one instruction, which is loaded and executed by a processor to perform a fingerprint acquisition method according to any one of claims 1 to 6.
CN201711334505.1A 2017-12-13 2017-12-13 Fingerprint acquisition method and device Active CN108090438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711334505.1A CN108090438B (en) 2017-12-13 2017-12-13 Fingerprint acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711334505.1A CN108090438B (en) 2017-12-13 2017-12-13 Fingerprint acquisition method and device

Publications (2)

Publication Number Publication Date
CN108090438A CN108090438A (en) 2018-05-29
CN108090438B true CN108090438B (en) 2021-11-02

Family

ID=62175505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711334505.1A Active CN108090438B (en) 2017-12-13 2017-12-13 Fingerprint acquisition method and device

Country Status (1)

Country Link
CN (1) CN108090438B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263647A (en) * 2019-05-21 2019-09-20 张莉 A kind of fingerprint texture analysis system and its method based on pressure measurement

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326711A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Mobile terminal control method and device
CN106407952A (en) * 2016-09-30 2017-02-15 北京小米移动软件有限公司 Fingerprint entry method and device
CN106991387A (en) * 2017-03-23 2017-07-28 宇龙计算机通信科技(深圳)有限公司 A kind of full frame fingerprint collecting method and mobile terminal
CN107358173A (en) * 2017-06-23 2017-11-17 上海传英信息技术有限公司 The fingerprint identification method and identification device of a kind of intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592419B (en) * 2015-10-19 2019-05-14 Oppo广东移动通信有限公司 Display screen awakening method, device and mobile terminal based on fingerprint sensor
CN106022073A (en) * 2016-06-07 2016-10-12 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326711A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Mobile terminal control method and device
CN106407952A (en) * 2016-09-30 2017-02-15 北京小米移动软件有限公司 Fingerprint entry method and device
CN106991387A (en) * 2017-03-23 2017-07-28 宇龙计算机通信科技(深圳)有限公司 A kind of full frame fingerprint collecting method and mobile terminal
CN107358173A (en) * 2017-06-23 2017-11-17 上海传英信息技术有限公司 The fingerprint identification method and identification device of a kind of intelligent terminal

Also Published As

Publication number Publication date
CN108090438A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN110308956B (en) Application interface display method and device and mobile terminal
CN110740340B (en) Video live broadcast method and device and storage medium
CN111708479B (en) Touch operation response method and device, terminal and storage medium
CN111897465B (en) Popup display method, device, equipment and storage medium
CN112396076A (en) License plate image generation method and device and computer storage medium
CN110677713B (en) Video image processing method and device and storage medium
CN111857793B (en) Training method, device, equipment and storage medium of network model
CN109783176B (en) Page switching method and device
CN111586279B (en) Method, device and equipment for determining shooting state and storage medium
CN112381729A (en) Image processing method, device, terminal and storage medium
CN108090438B (en) Fingerprint acquisition method and device
CN111860064A (en) Target detection method, device and equipment based on video and storage medium
CN112015612A (en) Method and device for acquiring stuck information
CN113592874B (en) Image display method, device and computer equipment
CN112202966B (en) Communication information notification method and device and computer readable storage medium
CN114779920A (en) Whole vehicle window gesture control system based on biological recognition and control method thereof
CN113824902A (en) Method, device, system, equipment and medium for determining time delay of infrared camera system
CN110471613B (en) Data storage method, data reading method, device and system
CN110717365B (en) Method and device for obtaining picture
CN108881715B (en) Starting method and device of shooting mode, terminal and storage medium
CN107992230B (en) Image processing method, device and storage medium
CN110889391A (en) Method and device for processing face image, computing equipment and storage medium
CN112749583A (en) Face image grouping method and device, computer equipment and storage medium
CN112486371B (en) Application icon dragging method and device and storage medium
CN108304241B (en) Method and device for displaying dialog box

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