CN108763906B - Biological feature recognition method and device - Google Patents

Biological feature recognition method and device Download PDF

Info

Publication number
CN108763906B
CN108763906B CN201810547262.8A CN201810547262A CN108763906B CN 108763906 B CN108763906 B CN 108763906B CN 201810547262 A CN201810547262 A CN 201810547262A CN 108763906 B CN108763906 B CN 108763906B
Authority
CN
China
Prior art keywords
terminal
light component
biometric
biological characteristic
color gamut
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
CN201810547262.8A
Other languages
Chinese (zh)
Other versions
CN108763906A (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 CN201810547262.8A priority Critical patent/CN108763906B/en
Publication of CN108763906A publication Critical patent/CN108763906A/en
Application granted granted Critical
Publication of CN108763906B publication Critical patent/CN108763906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/143Sensing or illuminating at different wavelengths
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a biological feature identification method and device, and belongs to the technical field of information processing. The method comprises the following steps: when the biological feature identification instruction is obtained, the terminal detects whether the gray value of the specified color light component in the light emitted by the biological feature verification area is a preset threshold value, and when the gray value of the specified color light component is not the preset threshold value, the gray value of the specified color light component is adjusted to the preset threshold value, and then biological feature collection and identification operations are carried out. By the method provided by the disclosure, when the gray value of the specified color light component in the biological characteristic verification area changes compared with the gray value under the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value. Therefore, the method can avoid influencing the acquisition time of the biological characteristic information, ensure the efficiency of biological characteristic identification and improve the user experience.

Description

Biological feature recognition method and device
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a biometric feature recognition method and apparatus.
Background
With the rapid development of information processing technology, in order to improve the security and convenience of a user when using a terminal, a biometric identification module is generally provided in the terminal. And in order to reduce the thickness of the terminal while improving security and convenience, the biometric characteristic recognition module may be an in-screen biometric characteristic recognition module disposed in a display area of the terminal.
In the related art, when biometric recognition is performed by the optical biometric recognition module, the acquisition time required for acquiring biometric information is related to the brightness of the display screen of the terminal. When the brightness of the display screen of the terminal changes, the acquisition time required for acquiring the biometric features may increase, affecting the efficiency of biometric identification.
Disclosure of Invention
The embodiment of the disclosure provides a biological feature recognition method and device, which can solve the problem that in the related art, after the brightness of a terminal display screen changes, the biological feature recognition efficiency is low. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a biometric identification method, the method including:
after receiving a biological characteristic identification instruction, detecting whether a gray value of a specified color light component in light rays emitted by a biological characteristic verification area of a terminal display screen is a preset threshold value, wherein the preset threshold value is the gray value of the specified color light component in a picture currently displayed in the biological characteristic verification area under a standard color gamut preset by the terminal;
when the gray value of the designated color light component is not the preset threshold, adjusting the gray value of the designated color light component to be the preset threshold;
and acquiring biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identifying the acquired biological characteristic information.
Optionally, the adjusting the gray-scale value of the designated color light component to the preset threshold includes:
and adjusting the current color gamut of the terminal to the standard color gamut.
Optionally, the adjusting the gray-scale value of the designated color light component to the preset threshold includes:
and adjusting the gray value of the specified color light component in the color of the currently displayed picture in the biological characteristic verification area to be the preset threshold value.
Optionally, after receiving the biometric instruction, the method further includes:
detecting whether the current color gamut of the terminal is the standard color gamut;
when the current color gamut of the terminal is the standard color gamut, adjusting the color of the picture currently displayed in the biological characteristic verification area to be a target color, wherein the target color is the color of the picture displayed in the biological characteristic verification area when the biological characteristics are input in the standard color gamut;
the detecting whether the gray value of the specified color light component in the light emitted by the biological characteristic verification area of the terminal display screen is a preset threshold value or not comprises the following steps:
and when the current color gamut of the terminal is not the standard color gamut, detecting whether the gray value of the specified color light component in the light emitted by the biological characteristic verification area of the terminal display screen is a preset threshold value.
Optionally, before receiving the biometric instruction, the method further includes:
when touch operation aiming at the biological characteristic verification area is detected, detecting whether a current application scene of the terminal is a biological characteristic identification scene, wherein the biological characteristic identification scene comprises a biological characteristic input scene or a biological characteristic verification scene;
and when the current application scene of the terminal is the biological feature recognition scene, generating the biological feature recognition instruction.
Optionally, before the optical biometric identification module disposed in the terminal and corresponding to the location of the biometric verification area collects biometric information, the method further includes:
and adjusting the display mode of the terminal to be a highlight mode.
Optionally, the specified color light component line includes at least one of a blue light component and a green light component.
According to a second aspect of embodiments of the present disclosure, there is provided a biometric apparatus, the apparatus including:
the first detection module is configured to detect whether a gray value of a specified color light component in light rays emitted by a biological feature verification area of a terminal display screen is a preset threshold value after a biological feature identification instruction is received, wherein the preset threshold value is the gray value of the specified color light component in a picture currently displayed in the biological feature verification area under a standard color gamut preset by the terminal;
a first adjusting module configured to adjust the gradation value of the specified color light component to the preset threshold when the gradation value of the specified color light component is not the preset threshold;
and the identification module is configured to collect the biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identify the collected biological characteristic information.
Optionally, the first adjusting module is configured to:
and adjusting the current color gamut of the terminal to the standard color gamut.
Optionally, the first adjusting module is configured to:
and adjusting the gray value of the specified color light component in the color of the currently displayed picture in the biological characteristic verification area to be the preset threshold value.
Optionally, the apparatus further comprises:
the second detection module is configured to detect whether the current color gamut of the terminal is the standard color gamut or not after receiving a biological feature recognition instruction;
a second adjusting module, configured to adjust, when the current color gamut of the terminal is the standard color gamut, a color of a picture currently displayed in the biometric verification area to a target color, where the target color is a color of a picture displayed in the biometric verification area when a biometric is entered in the standard color gamut;
the first detection module is configured to:
and when the current color gamut of the terminal is not the standard color gamut, detecting whether the gray value of the specified color light component in the light emitted by the biological characteristic verification area of the terminal display screen is a preset threshold value.
Optionally, the apparatus further comprises:
a third detection module, configured to detect whether a current application scene of the terminal is a biometric recognition scene when a touch operation for the biometric verification area is detected before the receiving of the biometric identification instruction, where the biometric recognition scene includes a biometric entry scene or a biometric verification scene;
the generating module is configured to generate the biological feature recognition instruction when the current application scene of the terminal is the biological feature recognition scene.
Optionally, the apparatus further comprises:
a third adjusting module configured to adjust a display mode of the terminal to a highlight mode before the biometric information is collected by an optical biometric identification module disposed within the terminal and corresponding to a location of the biometric authentication area.
Optionally, the specific color light component includes at least one of a blue light component and a green light component.
According to a third aspect of the embodiments of the present disclosure, there is provided a biometric identification apparatus including:
a processor;
a memory configured to store executable instructions of the processor;
wherein the processor is configured to:
a biometric method as described in the first aspect is performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored therein instructions that, when run on a processing component, cause the processing component to perform the biometric identification method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
to sum up, the embodiments of the present disclosure provide a method and an apparatus for biometric feature recognition, where a terminal may adjust a gray value of a designated color light component in a currently displayed picture in a biometric feature verification area when detecting that the gray value of the designated color light component in light emitted by the biometric feature verification area is not a preset threshold. Therefore, when the gray value of the specified color light component in the biometric verification area of the terminal display screen changes compared with the gray value in the standard color gamut and further the brightness and the color of the biometric verification area change compared with the brightness and the color in the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture in the biometric verification area to be the preset threshold value. Therefore, the adjusted color gamut can be prevented from influencing the acquisition time of the biological characteristic information, the biological characteristic identification efficiency is ensured, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram of an implementation environment related to a biometric identification method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart of a biometric identification method provided by an embodiment of the present disclosure;
fig. 3 is a flowchart of another biometric identification method provided by the embodiments of the present disclosure;
fig. 4 is a block diagram of a biometric apparatus provided in an embodiment of the present disclosure;
FIG. 5 is a block diagram of another biometric device provided by embodiments of the present disclosure;
FIG. 6 is a block diagram of another biometric device provided by embodiments of the present disclosure;
fig. 7 is a block diagram of another biometric device provided by an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a biometric apparatus provided in an embodiment of the present disclosure.
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.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of them. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Referring to fig. 1, a schematic diagram of an implementation environment related to a biometric identification method provided in some embodiments of the present disclosure is shown. The implementation environment may include: a terminal 110. The terminal 110 may be a smart phone, a computer, or a multimedia player, etc., and fig. 1 illustrates the terminal 110 as a smart phone.
As shown in fig. 1, an on-screen biometric module Z may be installed in a display area AA of a display screen of the terminal 110. The functions of biological characteristic unlocking, biological characteristic payment and the like can be completed through the biological characteristic recognition module Z in the screen. Through setting up this interior biological feature identification module Z of screen not only can improve security and the convenience of terminal when using, can reduce the structural thickness of terminal moreover. The on-screen biometric identification module may preferably be an optical biometric identification module.
Alternatively, the biometric features of the user may generally include: fingerprints, palm prints, irises, facial features, hand shapes or veins, etc. When the biological feature is a fingerprint, the on-screen biological feature recognition module may be an on-screen fingerprint recognition module, and the on-screen fingerprint recognition module may preferably be an optical fingerprint recognition module.
Fig. 2 is a flowchart of a biometric method provided in an embodiment of the present disclosure, which may be applied to the terminal 110 shown in fig. 1, and as shown in fig. 2, the method may include:
step 201, after receiving the biological characteristic identification instruction, detecting whether the gray value of the specified color light component in the light emitted from the biological characteristic verification area of the terminal display screen is a preset threshold value.
In the embodiment of the disclosure, when the terminal detects that an object touches the biometric verification area and detects that the current application scene is a biometric identification scene, the terminal may acquire the biometric identification instruction. Because the biological characteristic identification module arranged in the terminal display screen is the optical biological characteristic identification module, the gray value of the specified color light component in the currently displayed picture in the biological characteristic verification area can influence the acquisition time of the optical biological characteristic identification module for acquiring the biological characteristic information. Therefore, after the biological characteristic identification instruction is obtained, the terminal can firstly detect whether the gray value of the specified color light component in the light ray in the picture currently displayed in the biological characteristic verification area is the preset threshold value. The preset threshold may be a gray value of a specified color component in a currently displayed picture in the biometric verification area in a standard color gamut preset by the terminal. Under the standard color gamut, the acquisition time required by the optical biometric identification module to acquire biometric information is short.
When the terminal detects that the gray value of the appointed color light component in the picture currently displayed in the biological feature verification area is a preset threshold value, the current color gamut can be kept unchanged, and biological feature collection and identification operations are directly executed. When the terminal detects that the gray-level value of the designated color light component in the currently displayed picture of the biometric authentication area is not the preset threshold, the following step 202 may be continuously performed.
Step 202, when the gray-level value of the designated color light component is not the preset threshold, adjusting the gray-level value of the designated color light component to the preset threshold.
In this disclosure, when the gray scale value of the designated color light component in the currently displayed picture in the biometric verification area is not the preset threshold, in order to avoid affecting the acquisition time required by the optical biometric identification module to acquire the biometric information, the gray scale value of the designated color light component emitted by the biometric verification area may be adjusted to the preset threshold.
And 203, acquiring biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identifying the acquired biological characteristic information.
Because the acquisition time required for acquiring the biological characteristic information is shorter under the standard color gamut, the acquisition time of the biological characteristic information can be reduced by adjusting the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value, and the time for identifying the biological characteristic can be further reduced.
To sum up, the embodiment of the present disclosure provides a biometric feature recognition method, in which when detecting that a gray level value of a designated color light component in light emitted by a biometric feature verification area is not a preset threshold value, a terminal adjusts a gray level value of the designated color light component in a currently displayed picture in the biometric feature verification area. Therefore, when the gray value of the specified color light component in the biological characteristic verification area of the terminal display screen is changed compared with the gray value under the standard color gamut, and further the brightness and the color of the biological characteristic verification area are changed compared with the brightness and the color under the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value, so that the adjusted color gamut can be prevented from influencing the acquisition time of biological characteristic information, the biological characteristic identification efficiency is ensured, and the user experience is improved.
Fig. 3 is a flowchart of another biometric method provided in the embodiment of the present disclosure, which may be applied to the terminal 110 shown in fig. 1, and as shown in fig. 3, the method may include:
step 301, when a touch operation for the biometric verification area is detected, detecting whether a current application scene of the terminal is a biometric identification scene.
In the embodiment of the disclosure, when the terminal detects a touch operation for a biometric verification area (e.g., a fingerprint verification area), the terminal may further detect whether a current application scenario of the terminal is a biometric identification scenario. The biometric identification scene can be a biometric entry scene or a biometric verification scene. The biometric verification scenario may include an unlock scenario and a payment scenario, the unlock scenario may include at least a scenario of unlocking the display screen and a scenario of unlocking the application.
When the terminal detects that the current application scene is not a biological feature recognition scene, the biological feature recognition operation can be ended; when the terminal detects that the current application scene is a biometric scene, the terminal may continue to perform step 302 described below.
For example, assuming that the biometric collected by the terminal is a fingerprint, a payment application a is installed on a certain terminal, and the payment application a needs to be subjected to fingerprint verification when being started. When the user clicks the icon of the payment a through a click operation to start the payment a, the terminal may display fingerprint verification prompt information. If the user touches the fingerprint authentication area in the terminal 110 shown in fig. 1 with a finger, the terminal may detect a touch operation on the fingerprint authentication area, and may detect that the current application scenario is a scenario of the fingerprint unlock application program, so step 302 may be executed.
Step 302, generating a biometric identification command.
In the embodiment of the present disclosure, when the terminal detects that the current application scenario is a biometric scenario, a biometric instruction may be automatically generated, and step 303 is executed. For example, assuming that the biometric feature acquired by the terminal is a fingerprint, and the terminal detects that the current application scene is a scene for unlocking payment a by the fingerprint, the terminal may generate a fingerprint identification instruction for unlocking payment a.
And step 303, detecting whether the current color gamut of the terminal is a standard color gamut.
In the embodiment of the present disclosure, a plurality of different color gamuts may be configured in advance in the terminal, and a user may select different color gamuts according to his own needs. Because the biological characteristic identification module arranged in the terminal display screen is an optical biological characteristic identification module, the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area (which can also be called as an unlocking light spot) can influence the acquisition time of the optical biological characteristic identification module for acquiring biological characteristic information; and when the pictures displayed in the biometric verification area are different or the color gamut changes, the gray values of the designated color light components in the pictures currently displayed in the biometric verification area may be different, so to ensure the reliability of adjusting the gray values of the designated color light components, after the terminal receives the biometric identification instruction, it may be detected whether the current color gamut of the terminal is the standard color gamut or not.
The color gamut refers to a color range that can be displayed by a display screen of the terminal, and the Standard color gamut may refer to a color gamut pre-configured when the terminal leaves a factory, for example, the Standard color gamut may be a Standard Red Green Blue (SRGB) color gamut. Under the standard color gamut, the acquisition time required when the terminal acquires the biological characteristics is short.
Further, when the terminal detects that the current color gamut is the standard color gamut, the following step 304 may be continuously performed; when the terminal detects that the current color gamut is not the standard color gamut, the following step 305 may be continuously performed.
And step 304, adjusting the color of the currently displayed picture in the biometric verification area to be the target color.
In the embodiment of the present disclosure, the target color may refer to a color of a picture displayed by the biometric verification area when the biometric is entered in the standard color gamut. In order to further ensure the efficiency in biometric identification, when the terminal detects that the current color gamut is the standard color gamut and the color of the picture currently displayed by the biometric verification area is different from the target color, the color of the picture currently displayed by the biometric verification area may be adjusted to the target color.
Optionally, the terminal may adjust the gray value of each color light component in the color of the currently displayed picture in the biometric verification area to the gray value of the corresponding color light component in the target color.
For example, assuming that the acquired biometric characteristic is a fingerprint, the standard color gamut pre-configured in the terminal is color gamut 1, and when the terminal enters the fingerprint in the color gamut 1, the color of the picture displayed in the biometric verification area is white. The terminal detects that the color of the currently displayed picture in the biometric authentication area is blue in the color gamut 1, and then the color of the currently displayed picture in the biometric authentication area can be adjusted from blue to white.
And 305, detecting whether the gray value of the specified color light component in the light emitted by the biological characteristic verification area of the terminal display screen is a preset threshold value.
In the embodiment of the present disclosure, when the terminal detects that the current color gamut is not the standard color gamut, the terminal may first detect whether a gray value of a specified color light component in a picture currently displayed in a biometric verification area of the terminal is a preset threshold.
Since the red light component of the three colors of red, green, and blue has less influence on the acquisition time of the biometric information, in the embodiment of the present disclosure, the specified color light component may include at least one of the blue light component and the green light component. The gradation value of the designated color light component may be used to indicate the magnitude of the luminance of the designated color light component, and the maximum value and the minimum value of the gradation value of the designated color light component may be 255 and 0, respectively.
In the embodiment of the present disclosure, when the terminal detects that the current color gamut is not the standard color gamut, but the gray value of the specified color light component in the picture currently displayed in the biometric verification area is the same as the preset threshold, the terminal may keep the current color gamut unchanged and may directly perform the biometric identification operations shown in steps 307 and 308; when the terminal detects that the current color gamut is not the standard color gamut but the grayscale value of the specified color light component in the picture currently displayed by the biometric authentication area is not the preset threshold, the terminal may continue to perform step 306 described below.
For example, assuming that the biometric feature captured is a fingerprint, the specified color light component includes a blue light component and a green light component. The standard color gamut pre-configured in the terminal is color gamut 1, the gray value of the blue light component in the currently displayed picture in the fingerprint verification area under the color gamut 1 is 255, and the gray value of the green light component is 255. If the terminal detects that the currently configured color gamut is color gamut 2, it may be determined that the current color gamut of the terminal is not the standard color gamut. In the color gamut 2, the gray scale value of the blue light component in the currently displayed picture in the fingerprint verification area is 246, and the gray scale value of the green light component is 233. The terminal may determine that the gray value of the designated color light component in the currently displayed picture in the biometric authentication area of the display screen of the terminal is not the preset threshold.
Step 306, adjusting the gray value of the designated color light component to a preset threshold value.
In the embodiment of the present disclosure, the grayscale value of the specified color light component in the image currently displayed in the biometric verification area may be related to the current color gamut of the terminal and the color of the image displayed in the biometric verification area. Therefore, the terminal can adjust the gray value of the specified color light component of the biometric authentication area by adjusting the current color gamut of the terminal or adjusting the color of the picture displayed by the biometric authentication area.
As an alternative implementation, the terminal may adjust the current color gamut to the standard color gamut.
In the embodiment of the disclosure, the terminal may directly adjust the currently configured color gamut to the standard color gamut, so that the gray value of the specified color light component in the currently displayed picture in the biometric verification area of the terminal display screen becomes the preset threshold value, and it may be avoided that the gray value of the specified color light component in the biometric verification area affects the acquisition time of the biometric information under the current color gamut, thereby ensuring the biometric identification efficiency and improving the user experience.
Optionally, after the biometric identification is completed, the terminal may adjust the color gamut of the terminal from the standard color gamut to the previous color gamut, so as to avoid affecting the user experience.
For example, assuming that the standard color gamut is color gamut 1, when the terminal receives a fingerprint identification instruction, it detects that the current color gamut is color gamut 2, and when the terminal performs fingerprint identification, the terminal may adjust the color gamut of the terminal to color gamut 1. When the terminal completes fingerprint identification, the color gamut of the terminal can be adjusted to the color gamut 2.
As another optional implementation manner, the terminal may adjust the gray value of the designated color light component in the color of the currently displayed picture in the biometric verification area to a preset threshold.
In the embodiment of the present disclosure, the terminal may further adjust the color of the picture displayed in the biometric verification area, so that the grayscale value of the specified color light component in the biometric verification area is equal to the grayscale value of the specified color light component in the standard color gamut. For example, the terminal may adjust the gray value of the designated color light component among the colors of the currently displayed picture in the biometric authentication area to the preset threshold.
For example, assuming that the biometric feature collected is a fingerprint, the specified color light component includes a blue light component and a green light component. Under the standard color gamut, the grayscale value of the blue light component of the color of the picture displayed in the biometric verification area is 255, and the grayscale value of the green light component is 255. If the image is in the current color gamut, the grayscale value of the blue light component of the color of the image in the biometric verification area is 246, and the grayscale value of the green light component is 233. The terminal may adjust the gray value of the blue light component among the colors of the currently displayed picture from 246 to 255; and the gray value of the green light component in the color of the currently displayed picture is adjusted from 233 to 255. While the gradation value of the blue light component and the gradation value of the green light component in the colors of the picture displayed in the other areas than the fingerprint authentication area can be kept unchanged.
And 307, adjusting the display mode of the terminal to be a highlight mode.
In the embodiment of the present disclosure, the display mode of the terminal may include: a normal display Mode and a highlight display Mode (HBM). The adjustment of the terminal display mode does not affect the color gamut configured in the terminal, that is, the color gamut of the terminal in the normal display mode and the highlight display mode is the same, but the brightness of the terminal display screen is higher in the highlight display mode. The terminal can adjust the display mode of the terminal to be the highlight mode after adjusting the gray value of the appointed color light component to be the preset threshold value, so that the brightness of the display screen is improved, the optical biological characteristic identification module can acquire biological characteristic information more accurately, and the biological characteristic identification accuracy is improved.
For example, the terminal may adjust the display mode of the terminal to the highlight mode after adjusting the grayscale value of the specific color light component of the biometric authentication area to the preset threshold.
And 308, acquiring biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identifying the acquired biological characteristic information.
In the embodiment of the disclosure, after the terminal adjusts the gray value of the designated color light component of the biometric verification area to the preset threshold, the biometric information can be collected by the optical biometric identification module arranged in the terminal, and the collected biometric information is identified, so that the reliability and efficiency of biometric identification are higher.
For example, when the current application scenario of the terminal is a biometric recognition scenario, the terminal may match the acquired biometric information with a biometric template entered in advance to realize recognition of the acquired biometric information. If the fact that the biological characteristic information is matched with a biological characteristic template which is input in advance is detected, the terminal can execute operations corresponding to a biological characteristic identification scene, such as unlocking a screen, unlocking an application program or executing payment operations; if the biometric information is detected not to be matched with the pre-entered biometric template, the terminal can prohibit the execution of the operation corresponding to the biometric identification scene.
In the embodiment of the disclosure, when the application scene is a biometric unlocking scene, the biometric unlocking time can be reduced by adjusting the gray value of the designated color light component in the currently displayed picture in the biometric verification area to be the preset threshold value, that is, the biometric unlocking efficiency can be improved; when the application scene is a biological feature payment scene, the gray value of the designated color light component in the currently displayed picture in the biological feature verification area is adjusted to be a preset threshold value, so that the biological feature payment time can be shortened, and the biological feature solution payment efficiency can be improved.
It should be noted that the order of the steps of the biometric identification method provided in the embodiment of the present disclosure may be appropriately adjusted, and the steps may also be increased or decreased according to the situation, for example, the step 307 may be deleted according to the situation, that is, after the terminal adjusts the gray level of the specified color light component in the biometric verification area to the preset threshold, the biometric information may be directly collected by the optical biometric identification module arranged in the display screen, and the collected biometric information is identified without adjusting the display mode thereof. Any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is covered by the protection scope of the present disclosure, and thus, the detailed description thereof is omitted.
To sum up, the embodiment of the present disclosure provides a biometric feature recognition method, in which when detecting that a gray level value of a designated color light component in light emitted by a biometric feature verification area is not a preset threshold value, a terminal adjusts a gray level value of the designated color light component in a currently displayed picture in the biometric feature verification area. Therefore, when the gray value of the specified color light component in the biological characteristic verification area of the terminal display screen is changed compared with the gray value under the standard color gamut, and further the brightness and the color of the biological characteristic verification area are changed compared with the brightness and the color under the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value, so that the adjusted color gamut can be prevented from influencing the acquisition time of biological characteristic information, the biological characteristic identification efficiency is ensured, and the user experience is improved.
Fig. 4 is a block diagram of a biometric apparatus provided in an embodiment of the present disclosure, and as shown in fig. 4, the apparatus 40 may include:
the first detection module 401 is configured to detect whether a gray value of a specified color light component in light emitted by a biometric verification area of a terminal display screen is a preset threshold after receiving a biometric identification instruction, where the preset threshold is a gray value of the specified color light component in a currently displayed picture in the biometric verification area in a standard color gamut preset by the terminal.
A first adjusting module 402 configured to adjust the gray-scale value of the designated color light component to a preset threshold value when the gray-scale value of the designated color light component is not the preset threshold value.
And an identification module 403 configured to collect biometric information through an optical biometric identification module provided in the terminal and corresponding to a position of the biometric authentication area, and identify the collected biometric information.
In summary, the embodiments of the present disclosure provide a biometric apparatus, in which a first adjusting module in the biometric apparatus may adjust a gray value of a specified color light component in a currently displayed picture in a biometric verification area when the first detecting module detects that the gray value of the specified color light component in light emitted by the biometric verification area is not a preset threshold. Therefore, when the gray value of the specified color light component in the biological characteristic verification area of the terminal display screen is changed compared with the gray value under the standard color gamut, and further the brightness and the color of the biological characteristic verification area are changed compared with the brightness and the color under the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value, so that the adjusted color gamut can be prevented from influencing the acquisition time of biological characteristic information, the biological characteristic identification efficiency is ensured, and the user experience is improved.
As an alternative implementation, the first adjusting module 402 may be configured to: and adjusting the current color gamut of the terminal to the standard color gamut.
As another alternative implementation, the first adjusting module 402 may be configured to: and adjusting the gray value of the appointed color light component in the colors of the currently displayed picture in the biological characteristic verification area to be a preset threshold value.
Fig. 5 is a block diagram of another biometric apparatus provided in the embodiment of the present disclosure, and as shown in fig. 5, the apparatus 40 may further include:
and the second detection module 404 is configured to detect whether the current color gamut of the terminal is the standard color gamut after receiving the biometric identification instruction.
And a second adjusting module 405 configured to, when the current color gamut of the terminal is the standard color gamut, adjust the color of the picture currently displayed in the biometric verification area to a target color, where the target color is the color of the picture displayed in the biometric verification area when the biometric is entered in the standard color gamut.
Accordingly, the first detection module 401 may be configured to:
when the current color gamut of the terminal is not the standard color gamut, detecting whether the gray value of the specified color light component in the light emitted by the biological characteristic verification area of the terminal display screen is a preset threshold value.
Fig. 6 is a block diagram of another biometric apparatus provided in the embodiment of the present disclosure, and as shown in fig. 6, the apparatus 40 may further include:
a third detecting module 406, configured to, before receiving the biometric identification instruction, detect whether the current application scenario of the terminal is a biometric identification scenario when a touch operation for the biometric verification area is detected, where the biometric identification scenario includes a biometric entry scenario or a biometric verification scenario.
The generating module 407 is configured to generate a biometric instruction when the current application scene of the terminal is a biometric scene.
Fig. 7 is a block diagram of another biometric apparatus provided in the embodiment of the present disclosure, and as shown in fig. 7, the apparatus 40 may further include:
a third adjusting module 408 configured to adjust the display mode of the terminal to a highlight mode before the biometric information is collected by the optical biometric identification module disposed within the terminal and corresponding to the location of the biometric authentication area.
Wherein the specified color light component may include at least one of a blue light component and a green light component.
In summary, the embodiments of the present disclosure provide a biometric apparatus, in which a first adjusting module in the biometric apparatus may adjust a gray value of a specified color light component in a currently displayed picture in a biometric verification area when the first detecting module detects that the gray value of the specified color light component in light emitted by the biometric verification area is not a preset threshold. Therefore, when the user adjusts the color gamut of the terminal, the gray value of the specified color light component in the biological characteristic verification area of the terminal display screen is changed compared with the gray value under the standard color gamut, and further the brightness and the color of the biological characteristic verification area are changed compared with the brightness and the color under the standard color gamut, the terminal can timely adjust the gray value of the specified color light component in the currently displayed picture of the biological characteristic verification area to be the preset threshold value, so that the adjusted color gamut can be prevented from influencing the acquisition time of biological characteristic information, the efficiency of biological characteristic identification is ensured, and the user experience is improved.
With regard to the biometric apparatus in the above-described embodiment, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 8 is a schematic structural diagram illustrating a biometric device 500 according to an exemplary embodiment. For example, the apparatus 500 may be a smart phone, a computer, a multimedia player, or a smart tv.
Referring to fig. 8, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 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.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the 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 508 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 500 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 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating 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 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 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 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 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 516 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 516 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 500 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 biometric identification method provided by the embodiments shown in fig. 2 or fig. 3 and described above.
In an exemplary embodiment, a non-transitory computer storage medium including instructions, such as the memory 504 including instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer storage medium may be ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
A non-transitory computer storage medium having instructions therein that, when executed by a processor of apparatus 500, enable apparatus 500 to perform the above-described biometric identification method.
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 biometric identification method, the method comprising:
when touch operation aiming at a biological characteristic verification area is detected, detecting whether a current application scene of a terminal is a biological characteristic identification scene, wherein the biological characteristic identification scene comprises a biological characteristic input scene or a biological characteristic verification scene;
when the current application scene of the terminal is the biological feature recognition scene, generating the biological feature recognition instruction;
after receiving the biological characteristic identification instruction, detecting whether the current color gamut of the terminal is a standard color gamut;
when the current color gamut of the terminal is the standard color gamut, adjusting the gray value of each color light component in the colors of the picture currently displayed in the biological characteristic verification area to the gray value of the corresponding color light component in the target color, wherein the target color is the color of the picture displayed in the biological characteristic verification area when the biological characteristics are input in the standard color gamut;
when the current color gamut of the terminal is not the standard color gamut, detecting whether a gray value of a specified color light component in light rays emitted by a biological characteristic verification area of a terminal display screen is a preset threshold, wherein the preset threshold is the gray value of the specified color light component in a picture currently displayed in the biological characteristic verification area under the standard color gamut preset by the terminal, and the gray value of the specified color light component is used for indicating the brightness of the specified color light component;
when the gray value of the designated color light component is not the preset threshold, adjusting the gray value of the designated color light component to be the preset threshold;
and acquiring biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identifying the acquired biological characteristic information.
2. The method of claim 1, wherein the adjusting the grayscale value of the specified color light component to the preset threshold comprises:
and adjusting the current color gamut of the terminal to the standard color gamut.
3. The method of claim 1, wherein the adjusting the grayscale value of the specified color light component to the preset threshold comprises:
and adjusting the gray value of the specified color light component in the color of the currently displayed picture in the biological characteristic verification area to be the preset threshold value.
4. The method according to any one of claims 1 to 3, wherein prior to said collecting biometric information by an optical biometric identification module disposed within said terminal and corresponding to the location of said biometric verification area, the method further comprises:
and adjusting the display mode of the terminal to be a highlight mode.
5. A method according to any one of claims 1 to 3, wherein the specified colour light component comprises at least one of a blue light component and a green light component.
6. A biometric identification device, the device comprising:
the third detection module is configured to detect whether a current application scene of the terminal is a biological feature recognition scene or not when a touch operation aiming at a biological feature verification area is detected before a biological feature recognition instruction is received, wherein the biological feature recognition scene comprises a biological feature entry scene or a biological feature verification scene;
the generating module is configured to generate the biological feature recognition instruction when the current application scene of the terminal is the biological feature recognition scene;
the first detection module is configured to detect whether the current color gamut of the terminal is a standard color gamut or not after receiving the biological feature identification instruction;
a second adjusting module, configured to, when the current color gamut of the terminal is the standard color gamut, adjust a grayscale value of each color light component in colors of a picture currently displayed in the biometric verification area to a grayscale value of a corresponding color light component in a target color, where the target color is a color of the picture displayed in the biometric verification area when a biometric is entered in the standard color gamut;
the first detection module is configured to detect whether a gray value of a specified color light component in light emitted by a biometric verification area of a terminal display screen is a preset threshold value when a current color gamut of the terminal is the standard color gamut, where the preset threshold value is a gray value of the specified color light component in a picture currently displayed in the biometric verification area under the standard color gamut preset by the terminal, and the gray value of the specified color light component is used for indicating the brightness of the specified color light component;
a first adjusting module configured to adjust the gradation value of the specified color light component to the preset threshold when the gradation value of the specified color light component is not the preset threshold;
and the identification module is configured to collect the biological characteristic information through an optical biological characteristic identification module which is arranged in the terminal and corresponds to the position of the biological characteristic verification area, and identify the collected biological characteristic information.
7. The apparatus of claim 6, wherein the first adjustment module is configured to:
and adjusting the current color gamut of the terminal to the standard color gamut.
8. The apparatus of claim 6, wherein the first adjustment module is configured to:
and adjusting the gray value of the specified color light component in the color of the currently displayed picture in the biological characteristic verification area to be the preset threshold value.
9. The apparatus of any of claims 6 to 8, further comprising:
a third adjusting module configured to adjust a display mode of the terminal to a highlight mode before the biometric information is collected by an optical biometric identification module disposed within the terminal and corresponding to a location of the biometric authentication area.
10. The apparatus of any of claims 6 to 8, wherein the specified color light component comprises at least one of a blue light component and a green light component.
11. A biometric identification device, comprising:
a processor;
a memory configured to store executable instructions of the processor;
wherein the processor is configured to:
performing the biometric method of any one of claims 1 to 5.
12. A storage medium having stored therein instructions which, when run on a processing component, cause the processing component to perform the biometric method of any one of claims 1 to 5.
CN201810547262.8A 2018-05-31 2018-05-31 Biological feature recognition method and device Active CN108763906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547262.8A CN108763906B (en) 2018-05-31 2018-05-31 Biological feature recognition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547262.8A CN108763906B (en) 2018-05-31 2018-05-31 Biological feature recognition method and device

Publications (2)

Publication Number Publication Date
CN108763906A CN108763906A (en) 2018-11-06
CN108763906B true CN108763906B (en) 2022-04-29

Family

ID=64000843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547262.8A Active CN108763906B (en) 2018-05-31 2018-05-31 Biological feature recognition method and device

Country Status (1)

Country Link
CN (1) CN108763906B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110826438B (en) * 2019-10-24 2023-08-29 维沃移动通信有限公司 Display method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006107366A (en) * 2004-10-08 2006-04-20 Fujitsu Ltd Living body information input device, living body authentication device, living body information processing method, living body information processing program and computer readable recording medium with the program recorded thereon
CN105787322B (en) * 2016-02-01 2019-11-29 北京京东尚科信息技术有限公司 The method and device of fingerprint recognition, mobile terminal
CN107133577B (en) * 2017-04-18 2020-02-07 北京小米移动软件有限公司 Fingerprint identification method and device
CN107066991A (en) * 2017-05-10 2017-08-18 上海为然环保科技有限公司 A kind of fingerprint verifying apparatus
CN107657238B (en) * 2017-09-29 2020-11-20 联想(北京)有限公司 Fingerprint acquisition method and electronic equipment

Also Published As

Publication number Publication date
CN108763906A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US20220004742A1 (en) Method for face recognition, electronic equipment, and storage medium
EP3133528B1 (en) Method and apparatus for fingerprint identification
US10452890B2 (en) Fingerprint template input method, device and medium
US10284773B2 (en) Method and apparatus for preventing photograph from being shielded
EP3163884A1 (en) Image acquiring method and apparatus, computer program and recording medium
US10216976B2 (en) Method, device and medium for fingerprint identification
US9924090B2 (en) Method and device for acquiring iris image
CN108509944B (en) Fingerprint identification method and device
US20180144176A1 (en) Fingerprint template acquisition method and device
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
US11011124B2 (en) Method and device for adjusting current of backlight, and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
US20200067920A1 (en) Method for outputting networking authentication information, networking method, apparatus and storage medium
CN108830194B (en) Biological feature recognition method and device
CN108763906B (en) Biological feature recognition method and device
CN108319899B (en) Fingerprint identification method and device
CN107153448B (en) Display module, control method thereof, electronic device and computer-readable storage medium
CN112702514B (en) Image acquisition method, device, equipment and storage medium
EP3575996B1 (en) Terminal device, sensing method and apparatus
CN107506630B (en) Equipment with iris recognition function and iris recognition method
CN108182658B (en) Image beautifying method and device
CN107707819B (en) Image shooting method, device and storage medium
CN114697515A (en) Method and device for collecting image and readable storage medium
CN108334762B (en) Terminal unlocking method and device
CN111382406A (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
GR01 Patent grant
GR01 Patent grant