CN111832339A - Fingerprint identification method and device - Google Patents

Fingerprint identification method and device Download PDF

Info

Publication number
CN111832339A
CN111832339A CN201910304652.7A CN201910304652A CN111832339A CN 111832339 A CN111832339 A CN 111832339A CN 201910304652 A CN201910304652 A CN 201910304652A CN 111832339 A CN111832339 A CN 111832339A
Authority
CN
China
Prior art keywords
fingerprint
application
acquisition area
screen
position information
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.)
Pending
Application number
CN201910304652.7A
Other languages
Chinese (zh)
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 CN201910304652.7A priority Critical patent/CN111832339A/en
Publication of CN111832339A publication Critical patent/CN111832339A/en
Pending legal-status Critical Current

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
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • 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/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The disclosure relates to a fingerprint identification method and a fingerprint identification device. The method comprises the following steps: when a fingerprint acquisition request from a first application is received, acquiring position information of a fingerprint acquisition area in a screen; displaying a preset fingerprint pattern in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area; and when an input fingerprint image is acquired, matching the fingerprint image with a fingerprint template to obtain a matching result, and returning the matching result to the first application. The method and the device can flexibly determine the position of the preset fingerprint pattern in the applied fingerprint input interface according to the position of the fingerprint acquisition area in the screen of the terminal equipment, so that the position of the preset fingerprint pattern in the applied fingerprint input interface is matched with the position of the fingerprint acquisition area in the screen, and the success rate of fingerprint identification can be improved.

Description

Fingerprint identification method and device
Technical Field
The present disclosure relates to the field of fingerprint technologies, and in particular, to a fingerprint identification method and apparatus.
Background
The total reflection is a phenomenon that when light is emitted from an optically dense medium to an interface of an optically sparse medium, the light is totally reflected back into the original medium. Among them, a medium having a smaller light velocity in the medium is called an optically denser medium, and a medium having a larger light velocity in the medium is called an optically thinner medium. Two conditions must be satisfied for the total reflection phenomenon to occur, namely, the incident angle is larger than the critical angle, and light is emitted from the optically dense medium into the optically sparse medium.
Diffuse reflection refers to the phenomenon in which light incident on a rough surface is reflected in various directions. When a parallel incident ray strikes a rough surface, the surface reflects the ray in all directions. Although the incident light beams are parallel to each other, the reflected light beams are randomly reflected in different directions due to the non-uniform normal directions of the respective points.
Optical fingerprints exploit the principles of total emission and diffuse reflection. Under the condition that no finger is pressed, light rays are emitted from the light source, the surface of the fingerprint sensor is totally reflected, the totally reflected light rays are emitted into the convex lens, the convex lens is imaged on a Complementary Metal Oxide Semiconductor (CMOS), and the collected image is a blank. When a finger presses the surface of the fingerprint sensor, the fingerprint protrusion part can be contacted with the surface of the fingerprint sensor, so that the diffuse reflection phenomenon is generated. The light entering the convex lens is diffused and reflected with a much lower intensity than the total reflection, so that a fingerprint image with a high contrast ratio and a clear black and white fingerprint image is finally formed. FIG. 1 is a schematic representation of a fingerprint image.
The screen can be self-luminous by means of an OLED (Organic Light-Emitting Diode) and the fingerprint sensor can be placed under the screen. The light source of the OLED is used for irradiating the surface of the screen, and the principles of total reflection and diffuse reflection are utilized to perform fingerprint identification.
At present, in terminal devices such as mobile phones and tablet computers, not only the screen locking application of the system itself needs to use the fingerprint function, but also some third-party applications (for example, third-party payment applications) need to use the fingerprint function. When an application needs a user to input a fingerprint, a fingerprint pattern is usually displayed in a fingerprint input interface, and the fingerprint pattern can prompt the user to input the fingerprint and also prompt the user to place a finger on a screen. In the related art, the position of a fingerprint pattern displayed in a fingerprint input interface of some applications does not match a fingerprint collection area in a screen of a terminal device, thereby easily causing a failure in fingerprint identification.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a fingerprint identification method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a fingerprint identification method, including:
when a fingerprint acquisition request from a first application is received, acquiring position information of a fingerprint acquisition area in a screen;
displaying a preset fingerprint pattern in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area;
and when an input fingerprint image is acquired, matching the fingerprint image with a fingerprint template to obtain a matching result, and returning the matching result to the first application.
In one possible implementation, before acquiring the location information of the fingerprint acquisition area in the screen, the method further includes:
and storing the position information of the fingerprint acquisition area through a global variable.
In one possible implementation, acquiring location information of a fingerprint acquisition area in a screen includes:
and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
In one possible implementation, when a fingerprint acquisition request is received from a first application, acquiring location information of a fingerprint acquisition area in a screen includes:
when a fingerprint acquisition request from a first application is received, determining a fingerprint identification type supported by the terminal equipment;
and if the fingerprint identification type supported by the terminal equipment comprises under-screen fingerprint identification, acquiring the position information of a fingerprint acquisition area in the screen.
In a possible implementation manner, displaying a preset fingerprint pattern in a fingerprint input interface of the first application according to the location information of the fingerprint acquisition area includes:
determining the geometric center of the fingerprint acquisition area according to the position information of the fingerprint acquisition area;
and taking the geometric center of the fingerprint acquisition area as the geometric center of a fingerprint pattern preset in the fingerprint input interface of the first application.
According to a second aspect of the present disclosure, there is provided a fingerprint identification device comprising:
the acquisition module is used for acquiring the position information of a fingerprint acquisition area in a screen when receiving a fingerprint acquisition request from a first application;
the display module is used for displaying a preset fingerprint pattern in the fingerprint input interface of the first application according to the position information of the fingerprint acquisition area;
and the return module is used for matching the fingerprint image with the fingerprint template to obtain a matching result when the input fingerprint image is acquired, and returning the matching result to the first application.
In one possible implementation, the apparatus further includes:
and the storage module is used for storing the position information of the fingerprint acquisition area through a global variable.
In one possible implementation manner, the obtaining module is configured to:
and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
In one possible implementation manner, the obtaining module includes:
the first determining submodule is used for determining the fingerprint identification type supported by the terminal equipment when a fingerprint acquisition request from a first application is received;
and the acquisition submodule is used for acquiring the position information of the fingerprint acquisition area in the screen if the fingerprint identification type supported by the terminal equipment comprises the fingerprint identification under the screen.
In one possible implementation, the display module includes:
the second determining submodule is used for determining the geometric center of the fingerprint acquisition area according to the position information of the fingerprint acquisition area;
and the third determining submodule is used for taking the geometric center of the fingerprint acquisition area as the geometric center of a preset fingerprint pattern in the fingerprint input interface of the first application.
According to a third aspect of the embodiments of the present disclosure, there is provided a fingerprint identification device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions which, when executed by a processor, enable the processor to perform the above-described method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of acquiring position information of a fingerprint acquisition area in a screen when a fingerprint acquisition request from a first application is received, displaying a preset fingerprint pattern in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area, matching the fingerprint image with a fingerprint template when the input fingerprint image is acquired, obtaining a matching result, and returning the matching result to the first application, so that the position of the preset fingerprint pattern in the fingerprint input interface of the application can be flexibly determined according to the position of the fingerprint acquisition area in the screen of the terminal equipment, the position of the preset fingerprint pattern in the fingerprint input interface of the application is matched with the position of the fingerprint acquisition area in the screen, and the success rate of fingerprint identification 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 representation of a fingerprint image.
FIG. 2 is a flow chart illustrating a method of fingerprinting in accordance with an exemplary embodiment.
Fig. 3 is a diagram illustrating a fingerprint input interface of a first application in a method of fingerprinting according to an exemplary embodiment.
FIG. 4 is an exemplary flow chart illustrating a method of fingerprinting in accordance with an exemplary embodiment.
Fig. 5 is an exemplary flowchart illustrating a fingerprint identification method step S21 according to an exemplary embodiment.
Fig. 6 is an exemplary flowchart illustrating a fingerprint identification method step S22 according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating a fingerprint recognition device according to an example embodiment.
FIG. 8 is an exemplary block diagram illustrating a fingerprint recognition device according to one exemplary embodiment.
Fig. 9 is a block diagram illustrating an apparatus 800 for fingerprint recognition according to an example 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.
FIG. 2 is a flow chart illustrating a method of fingerprinting in accordance with an exemplary embodiment. The method can be applied to terminal equipment such as a mobile phone, a tablet personal computer or a smart watch, and is not limited herein. The fingerprint identification of the method can be under-screen fingerprint identification. As shown in fig. 2, the method includes steps S21 through S23.
In step S21, when a fingerprint acquisition request from a first application is received, position information of a fingerprint acquisition area in a screen is acquired.
In this embodiment, the first application may be any application that requires the use of a fingerprint function. The first application may be a third party application or may be a system application. For example, the first application may be a third party payment application, a system payment application, or a system authentication application, among others.
It should be noted that the term "first" in the first application is used herein for convenience of description and reference, and does not mean that there must be a corresponding first application in a particular implementation of the present disclosure.
In this embodiment, the positions of the fingerprint collection areas in the screens of different terminal devices may be different, and the positions of the fingerprint collection areas in the screens of the same terminal device are generally fixed.
In one possible implementation, the screen may be an OLED screen.
In one possible implementation, the fingerprint collection area may be a rectangle, and the position information of the fingerprint collection area may include coordinates of four vertices of the fingerprint collection area.
In another possible implementation, the location information of the fingerprint acquisition area may comprise coordinates of a geometric center of the fingerprint acquisition area.
In step S22, a preset fingerprint pattern is displayed in the fingerprint input interface of the first application according to the location information of the fingerprint collection area.
In this embodiment, the position of the fingerprint pattern in the fingerprint input interface of the first application is determined according to the position information of the fingerprint collection area, thereby enabling the position of the fingerprint pattern displayed in the fingerprint input interface of the first application to be matched with the position of the fingerprint collection area in the screen of the terminal device.
Fig. 3 is a diagram illustrating a fingerprint input interface of a first application in a method of fingerprinting according to an exemplary embodiment. As shown in fig. 3, the fingerprint pattern in the fingerprint input interface may be used to prompt the user to perform a fingerprint input, and may also prompt the user to place a finger on the screen, that is, the fingerprint pattern in the fingerprint input interface may be used to prompt the user to place a finger on the fingerprint pattern.
In step S23, when the input fingerprint image is captured, the fingerprint image is matched with the fingerprint template to obtain a matching result, and the matching result is returned to the first application.
In this embodiment, the fingerprint feature of the fingerprint image may be extracted, and the fingerprint feature of the fingerprint image and the fingerprint template may be subjected to matching processing, and whether the fingerprint feature of the fingerprint image is consistent with the fingerprint feature of the fingerprint template or not is determined, so as to obtain a matching result.
In one possible implementation, after receiving the fingerprint acquisition request from the first application, before acquiring the fingerprint image, the method further includes: acquiring screen brightness; and if the screen brightness does not meet the brightness condition, adjusting the screen brightness to meet the brightness condition. In the implementation mode, after the screen brightness is adjusted to meet the brightness condition, the fingerprint image is acquired through the fingerprint sensor, so that the contrast of the acquired fingerprint image can be improved, and the success rate of fingerprint identification can be improved.
As one example of this implementation, the brightness condition may be that the screen brightness is greater than a brightness threshold.
As another example of this implementation, the brightness condition may be that the screen brightness is a maximum brightness value.
As an example of this implementation, when a fingerprint collection request is received from a first application, the screen locking module may generate a brightness adjustment instruction and may send the brightness adjustment instruction to the display module. After receiving the brightness adjusting instruction, the display module can judge whether the screen brightness meets the brightness condition corresponding to the brightness adjusting instruction. If the screen brightness does not satisfy the brightness condition, the screen brightness can be adjusted to satisfy the brightness condition. After the screen brightness is adjusted to meet the brightness condition, the brightness adjustment completion information can be sent to the fingerprint module through the screen locking module, so that the fingerprint module is informed that the brightness adjustment is completed. After receiving the brightness adjustment completion information, the fingerprint module can acquire a fingerprint image through the fingerprint sensor.
In the embodiment, when a fingerprint acquisition request from a first application is received, the position information of a fingerprint acquisition area in a screen is acquired, a preset fingerprint pattern is displayed in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area, when the input fingerprint image is acquired, the fingerprint image and a fingerprint template are matched to obtain a matching result, and the matching result is returned to the first application.
FIG. 4 is an exemplary flow chart illustrating a method of fingerprinting in accordance with an exemplary embodiment. As shown in fig. 4, the method may include steps S41 through S44.
In step S41, the location information of the fingerprint collection area is stored by a global variable.
In this embodiment, the global variable may be queried by all applications in the terminal device.
In one possible implementation, the location information of the fingerprint acquisition area may be stored by a global prop method.
In step S42, when a fingerprint acquisition request from a first application is received, position information of a fingerprint acquisition area in a screen is acquired.
As an example of the present embodiment, when receiving a fingerprint acquisition request from a first application, the first application may query location information of a fingerprint acquisition area in a screen through a global variable. For example, when a fingerprint acquisition request is received from a first application, the first application may query location information of a fingerprint acquisition area in a screen through a global prop method.
In step S43, a preset fingerprint pattern is displayed in the fingerprint input interface of the first application according to the location information of the fingerprint collection area.
Wherein, for step S43, refer to the description above for step S22.
In step S44, when the input fingerprint image is captured, the fingerprint image is matched with the fingerprint template to obtain a matching result, and the matching result is returned to the first application.
Wherein, for step S44, refer to the description above for step S23.
In one possible implementation, acquiring location information of a fingerprint acquisition area in a screen includes: and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module. In this implementation manner, the fingerprint module may store the location information of the fingerprint collection area, and the fingerprint module may provide an Application Programming Interface (API) for each Application to query the location information of the fingerprint collection area. The first application can inquire the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
Fig. 5 is an exemplary flowchart illustrating a fingerprint identification method step S21 according to an exemplary embodiment. As shown in fig. 5, step S21 may include step S211 and step S212.
In step S211, when a fingerprint acquisition request from the first application is received, the fingerprint identification type supported by the terminal device is determined.
In this embodiment, the fingerprint identification type supported by the terminal device may or may not include the off-screen fingerprint identification.
In step S212, if the fingerprint identification type supported by the terminal device includes off-screen fingerprint identification, the location information of the fingerprint collection area in the screen is acquired.
As an example of this embodiment, if the fingerprint identification type supported by the terminal device includes off-screen fingerprint identification, when receiving a fingerprint acquisition request from the first application, the location information of the fingerprint acquisition area in the screen needs to be acquired, so that the location of the fingerprint pattern preset in the fingerprint input interface of the first application matches the location of the fingerprint acquisition area in the screen. If the fingerprint identification type supported by the terminal device does not include the off-screen fingerprint identification, the location information of the fingerprint acquisition area in the screen may not be acquired when the fingerprint acquisition request from the first application is received.
Fig. 6 is an exemplary flowchart illustrating a fingerprint identification method step S22 according to an exemplary embodiment. As shown in fig. 6, step S22 may include step S221 and step S222.
In step S221, the geometric center of the fingerprint collection area is determined according to the position information of the fingerprint collection area.
In step S222, the geometric center of the fingerprint collection area is used as the geometric center of the fingerprint pattern preset in the fingerprint input interface of the first application.
In this example, by using the geometric center of the fingerprint acquisition area as the geometric center of the fingerprint pattern preset in the fingerprint input interface of the first application, the position of the fingerprint pattern preset in the fingerprint input interface of the first application can be matched with the position of the fingerprint acquisition area in the screen, so that the success rate of fingerprint identification can be improved.
FIG. 7 is a block diagram illustrating a fingerprint recognition device according to an example embodiment. As shown in fig. 7, the apparatus includes an acquisition module 71, a display module 72, and a return module 73.
The acquisition module 71 is configured to acquire location information of a fingerprint acquisition area in the screen when a fingerprint acquisition request from the first application is received.
The display module 72 is configured to display a preset fingerprint pattern in the fingerprint input interface of the first application according to the location information of the fingerprint acquisition area.
The returning module 73 is configured to, when an input fingerprint image is acquired, match the fingerprint image with the fingerprint template to obtain a matching result, and return the matching result to the first application.
FIG. 8 is an exemplary block diagram illustrating a fingerprint recognition device according to one exemplary embodiment. As shown in fig. 8:
in one possible implementation, the apparatus further includes a storage module 74.
The storage module 74 is configured to store location information of the fingerprint acquisition area by a global variable.
In one possible implementation, the obtaining module 71 is configured to: and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
In one possible implementation, the obtaining module 71 includes a first determining submodule 711 and an obtaining submodule 712.
The first determining sub-module 711 is configured to determine the fingerprint identification types supported by the terminal device when receiving a fingerprint acquisition request from the first application.
The obtaining sub-module 712 is configured to obtain location information of a fingerprint collection area in the screen if the fingerprint recognition type supported by the terminal device includes an off-screen fingerprint recognition.
In one possible implementation, the display module 72 includes a second determination submodule 721 and a third determination submodule 722.
The second determining submodule 721 is configured to determine the geometric center of the fingerprint acquisition area according to the position information of the fingerprint acquisition area.
The third determining submodule 722 is configured to use the geometric center of the fingerprint acquisition area as the geometric center of the fingerprint pattern preset in the fingerprint input interface of the first application.
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.
In the embodiment, when a fingerprint acquisition request from a first application is received, the position information of a fingerprint acquisition area in a screen is acquired, a preset fingerprint pattern is displayed in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area, when the input fingerprint image is acquired, the fingerprint image and a fingerprint template are matched to obtain a matching result, and the matching result is returned to the first application.
Fig. 9 is a block diagram illustrating an apparatus 800 for fingerprint recognition according to an example embodiment. For example, the apparatus 800 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. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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 components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 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 808 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 800 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 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 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 800 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 804 comprising instructions, executable by the processor 820 of the device 800 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.
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 (12)

1. A method of fingerprint identification, the method comprising:
when a fingerprint acquisition request from a first application is received, acquiring position information of a fingerprint acquisition area in a screen;
displaying a preset fingerprint pattern in a fingerprint input interface of the first application according to the position information of the fingerprint acquisition area;
and when an input fingerprint image is acquired, matching the fingerprint image with a fingerprint template to obtain a matching result, and returning the matching result to the first application.
2. The method of claim 1, wherein prior to acquiring location information of the fingerprint acquisition area in the screen, the method further comprises:
and storing the position information of the fingerprint acquisition area through a global variable.
3. The method of claim 1, wherein obtaining location information of a fingerprint acquisition area in a screen comprises:
and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
4. The method of claim 1, wherein obtaining location information of a fingerprint collection area in a screen when a fingerprint collection request is received from a first application comprises:
when a fingerprint acquisition request from a first application is received, determining a fingerprint identification type supported by the terminal equipment;
and if the fingerprint identification type supported by the terminal equipment comprises under-screen fingerprint identification, acquiring the position information of a fingerprint acquisition area in the screen.
5. The method according to claim 1, wherein displaying a preset fingerprint pattern in the fingerprint input interface of the first application according to the location information of the fingerprint acquisition area comprises:
determining the geometric center of the fingerprint acquisition area according to the position information of the fingerprint acquisition area;
and taking the geometric center of the fingerprint acquisition area as the geometric center of a fingerprint pattern preset in the fingerprint input interface of the first application.
6. A fingerprint recognition device, comprising:
the acquisition module is used for acquiring the position information of a fingerprint acquisition area in a screen when receiving a fingerprint acquisition request from a first application;
the display module is used for displaying a preset fingerprint pattern in the fingerprint input interface of the first application according to the position information of the fingerprint acquisition area;
and the return module is used for matching the fingerprint image with the fingerprint template to obtain a matching result when the input fingerprint image is acquired, and returning the matching result to the first application.
7. The apparatus of claim 6, further comprising:
and the storage module is used for storing the position information of the fingerprint acquisition area through a global variable.
8. The apparatus of claim 6, wherein the obtaining module is configured to:
and inquiring the position information of the fingerprint acquisition area through an application programming interface provided by the fingerprint module.
9. The apparatus of claim 6, wherein the obtaining module comprises:
the first determining submodule is used for determining the fingerprint identification type supported by the terminal equipment when a fingerprint acquisition request from a first application is received;
and the acquisition submodule is used for acquiring the position information of the fingerprint acquisition area in the screen if the fingerprint identification type supported by the terminal equipment comprises the fingerprint identification under the screen.
10. The apparatus of claim 6, wherein the display module comprises:
the second determining submodule is used for determining the geometric center of the fingerprint acquisition area according to the position information of the fingerprint acquisition area;
and the third determining submodule is used for taking the geometric center of the fingerprint acquisition area as the geometric center of a preset fingerprint pattern in the fingerprint input interface of the first application.
11. A fingerprint recognition device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor, enable the processor to perform the method of any one of claims 1 to 5.
CN201910304652.7A 2019-04-16 2019-04-16 Fingerprint identification method and device Pending CN111832339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910304652.7A CN111832339A (en) 2019-04-16 2019-04-16 Fingerprint identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910304652.7A CN111832339A (en) 2019-04-16 2019-04-16 Fingerprint identification method and device

Publications (1)

Publication Number Publication Date
CN111832339A true CN111832339A (en) 2020-10-27

Family

ID=72915599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910304652.7A Pending CN111832339A (en) 2019-04-16 2019-04-16 Fingerprint identification method and device

Country Status (1)

Country Link
CN (1) CN111832339A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319836A (en) * 2018-01-31 2018-07-24 北京小米移动软件有限公司 The method and apparatus for executing processing based on fingerprint recognition
CN108334799A (en) * 2017-01-18 2018-07-27 北京小米移动软件有限公司 Fingerprint identification method and device
CN109324863A (en) * 2018-10-23 2019-02-12 北京小米移动软件有限公司 The method, apparatus and computer readable storage medium of fingerprint recognition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334799A (en) * 2017-01-18 2018-07-27 北京小米移动软件有限公司 Fingerprint identification method and device
CN108319836A (en) * 2018-01-31 2018-07-24 北京小米移动软件有限公司 The method and apparatus for executing processing based on fingerprint recognition
CN109324863A (en) * 2018-10-23 2019-02-12 北京小米移动软件有限公司 The method, apparatus and computer readable storage medium of fingerprint recognition

Similar Documents

Publication Publication Date Title
US10797117B2 (en) Organic light emitting diode display module and control method thereof
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
US10452890B2 (en) Fingerprint template input method, device and medium
EP3410346B1 (en) Oled panel
CN106774803B (en) Fingerprint identification method and device
CN111241890B (en) Fingerprint identification method, device, equipment and storage medium
CN106126082B (en) Terminal control method and device and terminal
CN107038428B (en) Living body identification method and apparatus
CN108509944B (en) Fingerprint identification method and device
CN108898126B (en) Fingerprint identification method and device
US10885298B2 (en) Method and device for optical fingerprint recognition, and computer-readable storage medium
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
CN109215615B (en) Display unit working parameter compensation method and device
CN112764659B (en) Information processing method and device, electronic device and storage medium
US10671827B2 (en) Method and device for fingerprint verification
CN110765813B (en) Fingerprint identification method and device
CN111460869B (en) Fingerprint acquisition method and device
CN108491834B (en) Fingerprint identification method and device
CN108319899B (en) Fingerprint identification method and device
CN108847199B (en) Brightness determination method and device
CN108830194B (en) Biological feature recognition method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN111832339A (en) Fingerprint identification method and device
CN111506207B (en) Method and device for determining lighting area during on-screen fingerprint identification
CN111382406B (en) Fingerprint unlocking 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