WO2019095097A1 - 电子终端的身份验证方法与电子终端 - Google Patents

电子终端的身份验证方法与电子终端 Download PDF

Info

Publication number
WO2019095097A1
WO2019095097A1 PCT/CN2017/110819 CN2017110819W WO2019095097A1 WO 2019095097 A1 WO2019095097 A1 WO 2019095097A1 CN 2017110819 W CN2017110819 W CN 2017110819W WO 2019095097 A1 WO2019095097 A1 WO 2019095097A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
focal length
image
rear camera
electronic terminal
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.)
Ceased
Application number
PCT/CN2017/110819
Other languages
English (en)
French (fr)
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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to PCT/CN2017/110819 priority Critical patent/WO2019095097A1/zh
Publication of WO2019095097A1 publication Critical patent/WO2019095097A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • H04N21/4415Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present invention relates to electronic terminal technologies, and in particular, to an identity verification method and an electronic terminal of an electronic terminal.
  • An electronic terminal can be understood as a terminal having a processor and a memory.
  • the processor reads the code in the memory to run the operating system and software.
  • the electronic terminal needs to be used before use. The identity of the user is verified.
  • the return key of the electronic terminal can be configured with a fingerprint identification module, and the user can extract the fingerprint information by pressing the fingerprint identification module, and then verify the identity of the user by means of fingerprint recognition.
  • the thumb is located on the front of the electronic terminal, and the remaining fingers are located on the back of the electronic terminal, and the fingerprint recognition module is disposed on the front of the electronic terminal. If the verified finger is not a thumb, the fingerprint verification is performed. The operation is too complicated and the user experience is not good.
  • the invention provides an identity verification method and an electronic terminal of an electronic terminal, so as to solve the problem that the operation of fingerprint verification is too complicated and the user experience is not good.
  • an authentication method for an electronic terminal including:
  • controlling the rear camera to collect the verification screen according to the triggering instruction including:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the comparing the fingerprint data with the reference fingerprint includes:
  • the identity verification is confirmed to pass.
  • the determining a focal length range according to the target focal length includes:
  • the upper and lower limits of the focal length range are calculated separately using the following formula:
  • L max is an upper limit value of the focal length range
  • L min is the lower limit of the focal length range
  • L 0 is the target focal length
  • K 1 is a preset upper limit floating ratio
  • K 2 is the preset lower limit floating ratio.
  • controlling the rear camera to collect the verification screen according to the triggering instruction including:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the rear camera is controlled to take a verification picture at the target focal length.
  • the reference fingerprint is extracted from the pre-recorded image collected by the rear camera, and before the fingerprint data is extracted in the fingerprint image, the method further includes:
  • the image parameters including at least one of: brightness, contrast, color temperature;
  • the adjusting the fingerprint image according to the image parameter and the reference parameter includes:
  • the method further includes:
  • the method further includes:
  • an electronic terminal includes: a terminal housing, a processor, a memory, a rear camera, and a touch member, wherein the processor and the memory are disposed in the terminal housing, The rear camera and the touch member are both disposed on a back surface of the terminal housing;
  • the memory is configured to store a program
  • the processor is configured to execute the program and perform the method provided by the first aspect.
  • an electronic terminal comprising:
  • a shooting module configured to control a rear camera shooting verification screen of the electronic terminal according to the triggering instruction;
  • the triggering instruction is generated by the touch component being touched, and the touch component is disposed on a back side of the electronic terminal;
  • An identification module configured to identify a fingerprint image in the verification screen
  • An extraction module configured to extract fingerprint data in the fingerprint image
  • a verification module configured to compare the fingerprint data with the reference fingerprint, and if the similarity between the fingerprint data and the reference fingerprint exceeds a similarity threshold, confirm that the identity verification is passed.
  • the shooting module is specifically configured to:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the verification module is specifically configured to:
  • the identity verification is confirmed to pass.
  • the shooting module is specifically configured to:
  • the upper and lower limits of the focal length range are calculated separately using the following formula:
  • L max is an upper limit value of the focal length range
  • L min is the lower limit of the focal length range
  • L 0 is the target focal length
  • K 1 is a preset upper limit floating ratio
  • K 2 is the preset lower limit floating ratio.
  • the shooting module is specifically configured to:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the rear camera is controlled to take a verification picture at the target focal length.
  • the reference fingerprint is extracted from the pre-recorded image collected by the rear camera, and the electronic terminal further includes:
  • a first detecting module configured to detect an image parameter of the fingerprint image, where the image parameter includes at least one of the following: brightness, contrast, and color temperature;
  • an adjustment module configured to adjust the fingerprint image according to the image parameter and the reference parameter, where the reference parameter is an image parameter of the pre-recorded image.
  • the adjusting module is configured to adjust various types of the image parameters, so that, for each type of parameter, a difference between the image parameter and the reference parameter is smaller than a minimum change preset by the parameter. the amount.
  • the electronic terminal further includes:
  • a second detecting module configured to detect brightness data by using a brightness sensor of the electronic terminal
  • a flash module configured to compare the brightness data with a preset brightness threshold, and if the brightness data is less than the brightness threshold, turn on the flash of the electronic terminal;
  • the module is turned off to turn off the flash.
  • the method for authenticating an electronic terminal provided by the present invention and the electronic terminal control the rear camera of the electronic terminal to capture a verification screen according to the triggering instruction; the triggering instruction is generated by the touch being touched, and the touch component is set in The back side of the electronic terminal; the verification picture is captured, and the acquisition process does not require complicated operations
  • the present invention also identifies a fingerprint image in the verification screen, and extracts fingerprint data in the fingerprint image; compares the fingerprint data with a reference fingerprint, if the similarity between the fingerprint data and the reference fingerprint exceeds The similarity threshold is used to confirm the identity verification; it can be seen that the invention obtains the verification screen capable of implementing fingerprint recognition without complicated operation of the user, and implements fingerprint verification, and the user operation is simple, and the user experience is improved.
  • FIG. 2 is a schematic rear view of an electronic terminal of the present invention
  • FIG. 3 is a rear view 2 of an electronic terminal of the present invention.
  • FIG. 4 is a schematic flowchart 1 of an identity verification method of an electronic terminal according to the present invention.
  • FIG. 5 is a second schematic flowchart of an identity verification method of an electronic terminal according to the present invention.
  • FIG. 6 is a schematic flow chart 1 of step S21 of Figure 5;
  • FIG. 7 is a second schematic diagram of the process of step S21 in Figure 5;
  • FIG. 8 is a schematic structural view 1 of an electronic terminal of the present invention.
  • FIG. 9 is a schematic structural view 2 of an electronic terminal according to the present invention.
  • FIG. 10 is a third schematic structural diagram of an electronic terminal according to the present invention.
  • FIG. 1 is a schematic diagram of the principle of identity verification in the related art.
  • the front side of the electronic terminal 1 is provided with a return key 2, and the return key 2 is provided with a fingerprint identification module.
  • the user can extract the fingerprint information by pressing the fingerprint identification module, and then verify the identity of the user by fingerprint identification. .
  • the method for authenticating an electronic terminal according to the present invention does not exclude the implementation of the above authentication scheme.
  • FIG. 2 is a rear view of an electronic terminal of the present invention
  • FIG. 3 is a second schematic view of an electronic terminal of the present invention.
  • the method for verifying the identity of the electronic terminal according to the present invention can be applied to an electronic terminal as an example.
  • the rear surface of the electronic terminal 101 is provided with a rear camera 102 and a touch component 103 .
  • the rear camera 102 may be any camera in the field that is disposed on the back of the electronic terminal 101.
  • the position of the rear camera 102 may not be limited to the upper left corner shown in FIG. 2 and FIG. 3, and may be disposed at the top middle position, the upper right corner, or The middle position of the back side, etc.
  • the touch component 103 can be any responsive component, which can be resistive or capacitive.
  • the specific structure and position can be specifically designed according to the structure of the back of the electronic terminal 101 and the hardware distribution. .
  • the touch device 103 can be disposed at an intermediate position on the back of the electronic terminal 101 to facilitate the user's finger to touch.
  • the position of the touch member 103 can also be movable.
  • the electronic terminal The back surface of the 101 can be provided with a slot structure, the touch member 103 can be moved along the slot structure, the touch member 103 can be connected to the conductive portion, and the conductive portion is connected to the processor to realize the transmission of the signal generated by the touch, and the connection between the conductive portion and the touch member 103
  • the method may be a movable wire or a plug-in type.
  • the conductive portion may be distributed at different positions of the groove structure, and after the touch member 103 is moved to a specific position, the conductive portion of the position may be inserted to be connected to the conductive connection.
  • the conduction part realizes the transmission of signals.
  • the flash terminal 104 may be disposed on the back of the electronic terminal 101, which may be any flash 104 used by the electronic terminal 101 in the related art.
  • the position of the flash 104 can be set Use any of the prior art solutions.
  • the flash 103 can be disposed in the vicinity of the rear camera 102.
  • the position of the rear camera 102 is matched with the flash 104, so that the light emitting direction of the flash 104 and the rear camera are enabled.
  • the shooting direction of 102 matches.
  • the flash 103 may be disposed at a position matching the touch member 103, wherein the touch member 103 may be annular and distributed on the outer side of the flash 103.
  • the light emitting direction of the flash 103 can be matched with the finger of the touch sensor 103 to better capture the image of the finger.
  • an electronic terminal that can be used to implement the method enumerated in the following alternatives may include: a terminal housing, a processor, a memory, a rear camera 102 and a touch member 103, the processor and the The memory is disposed in the terminal housing, and the rear camera and the touch member are both disposed on a back surface of the terminal housing.
  • the memory is used to store a program.
  • the processor is configured to run the program to perform an identity verification method of the electronic terminal provided by the following alternative.
  • FIG. 4 is a schematic flow chart 1 of an identity verification method of an electronic terminal according to the present invention.
  • the method includes:
  • S11 Control a rear camera shooting verification screen of the electronic terminal according to the triggering instruction.
  • the triggering command which is generated by the touch being touched, the manner of the touch, and the signal form of the triggering command, may adopt various different embodiments depending on the touch member used.
  • the verification screen can be understood as any picture that is triggered by the trigger command.
  • the fingerprint image can be understood as the image portion of the verification image that contains the fingerprint data. If the fingerprint image cannot be recognized, that is, the fingerprint image is not included in the captured verification screen, the verification process may be ended after step S11, and the information of the verification failure or the information of the fingerprint image may not be fed back.
  • step S14 Comparing the fingerprint data with the reference fingerprint. If the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, step S15 is performed: confirming that the identity verification is passed.
  • the fingerprint data can be understood as the texture of the fingerprint.
  • the process of extracting the fingerprint data may include the process of removing the information irrelevant to the texture, thereby obtaining a specific texture.
  • the method for verifying the identity of the electronic terminal provided by the embodiment, by controlling the rear camera of the electronic terminal to take a verification screen according to the triggering instruction; the triggering instruction is generated by the touch being touched, and the touch component is disposed in the The back side of the electronic terminal; the shooting of the verification picture is realized, and the acquisition process does not require complicated operations; the invention also identifies the fingerprint image in the verification picture, and extracts the fingerprint data in the fingerprint image; comparing the fingerprint data And the reference fingerprint, if the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, confirming that the authentication is passed; it can be seen that the present invention obtains the verification image that can implement fingerprint recognition without complicated operation of the user. And the fingerprint verification is realized, the user operation is simple, and the user experience is improved.
  • FIG. 5 is a second schematic flowchart of an identity verification method of an electronic terminal according to the present invention.
  • the method includes:
  • the triggering command which is generated by the touch being touched, the manner of the touch, and the signal form of the triggering command, may adopt various different embodiments depending on the touch member used.
  • the generation of the triggering instruction may be a touch-generated instruction, that is, detecting that the touched object is touched, that is, generating a touch instruction.
  • This embodiment can trigger the implementation of step S21 relatively quickly to increase the speed of identification.
  • the triggering command may also be an instruction generated by a specific triggering action. Taking the embodiment shown in FIG. 2 as an example, if the touch component is annular, the triggering command may be generated by a ring sliding. produce. This embodiment may provide a variety of personalized ways for the trigger implementation of step S21, wherein the triggering action may be manually set according to personal habits and preferences.
  • the generation of the triggering instruction may also be generated according to the touch time. For example, when the touch time reaches the preset time threshold, a triggering instruction is generated. This embodiment simplifies the user's operation by simply touching.
  • the verification screen can be understood as any picture that is triggered by the trigger command.
  • the verification screen may or may not contain a fingerprint image. If it is not included, it may be terminated in the subsequent process because the fingerprint image cannot be extracted, or may not be terminated, thereby confirming that the verification fails.
  • FIG. 6 is a first schematic diagram of the flow of step S21 in FIG. 5.
  • step S21 may include:
  • the generation of the trigger instruction does not deviate from the foregoing description and enumeration.
  • S212 Determine a target focal length according to a picture currently collected by the rear camera.
  • the target focal length is determined by taking the center of the captured picture as the focus sampling point.
  • the center is the focus sampling point.
  • One example can be: in autofocus, first control the rear camera to change the focal length to determine the focal length when the focus sampling point is clear. , where you can select the focal length at which the focus sample point has the highest contrast.
  • the finger Since the position of the camera and the finger is relatively close, the finger can occupy a large part of the captured picture. Therefore, with the center as the focus sampling point, the determined target focal length can be more favorable for capturing a clear fingerprint.
  • S214 Control a focal length of the rear camera to change within the focal length range, and control the rear camera to take N verification images at different focal lengths when changing; wherein N is an integer greater than or equal to 2.
  • the focal length range determined based on the target focal length may be clearly displayed.
  • the focal lengths of all the fingerprints are included.
  • the probability of getting a clear fingerprint in the obtained N pictures is much higher than that of taking only one picture. It can be seen that, through steps S213 and S214, the possibility of obtaining a clear fingerprint can be effectively improved, thereby improving the accuracy and efficiency of verification.
  • the comparing the fingerprint data with the reference fingerprint includes:
  • the identity verification is confirmed to pass.
  • the fingerprint data whose similarity exceeds the similarity threshold is greater than or equal to two, the authentication can be confirmed to pass.
  • the determining a focal length range according to the target focal length includes:
  • the upper and lower limits of the focal length range are calculated separately using the following formula:
  • L max is an upper limit value of the focal length range
  • L min is the lower limit of the focal length range
  • L 0 is the target focal length
  • K 1 is a preset upper limit floating ratio, for example, ten percent.
  • K 2 is a preset lower limit floating ratio, for example, ten percent.
  • FIG. 7 is a second schematic diagram of the process of step S21 in FIG. 5.
  • step S21 may include:
  • S212 Determine a target focal length according to a picture currently acquired by the rear camera; the target focal length is determined by using a center of the collected image as a focus sampling point.
  • S215 Control the rear camera to take a verification picture with the target focal length.
  • controlling the front camera of the electronic terminal to capture the verification screen may further include:
  • the method further includes: turning off the flash.
  • the fingerprint image can be understood as the image portion of the verification image that contains the fingerprint data. If the fingerprint image cannot be recognized, that is, the fingerprint image is not included in the captured verification screen, the verification process may be ended after step S11, and the information of the verification failure or the information of the fingerprint image may not be fed back.
  • the fingerprint image in order to recognize the fingerprint image in the verification screen, since the fingerprint is carried on the finger, and the data of the finger relative to the background color, the depth of field and the like are different, it can be understood that the finger is in the foreground and the other content is in the background.
  • the fingerprint image can be identified by extracting the image of the foreground.
  • the electronic terminal may specifically view the outer boundary of the fingerprint of the image, and then define the boundary of the fingerprint image by using the outer boundary of each texture as a clue to identify the boundary.
  • Fingerprint image which can be applied to pictures with foreground and background, and can also be applied to pictures without foreground and background. Since the finger is close to the camera during shooting, it may not be able to take pictures with foreground and background. Therefore, this method The universality is higher, because the method is based on the texture, and the image it recognizes is more accurate.
  • the identification process of the fingerprint image is not limited to the above description, and any existing technical means in the field can be applied to the present invention.
  • the image parameter may be any parameter that characterizes the image display.
  • at least one of the following may be included: brightness, contrast, color temperature.
  • the parameter can refer to the parameter itself or the statistical value of the parameter. For example, for brightness, it can be the average of the brightness of all pixels.
  • the reference parameter is an image parameter of the pre-recorded image
  • the pre-recorded image can be understood as the reference fingerprint is extracted from the pre-recorded image collected by the rear camera.
  • the hardware of the shooting is the same, and after the parameters are adjusted, the shooting effects can be made similar, so that: for the pre-recorded image and the fingerprint image, The effect of the image display on the fingerprint data that needs to be extracted can be consistent, thereby improving the accuracy of fingerprint comparison.
  • the process of adjusting the image parameters may be: adjusting the image parameters of each type, so that, for each type of parameter, the difference between the image parameter and the reference parameter is smaller than the parameter The minimum amount of change.
  • the fingerprint data can be understood as the texture of the fingerprint itself.
  • the process of extracting the fingerprint data may include the process of removing the information irrelevant to the texture, thereby obtaining a specific texture. For example, pixels other than fingerprints in an image can be processed as white. In addition, it may include deepening the texture or treating it to black to more clearly express the texture.
  • the process of obtaining a reference fingerprint in a pre-recorded image can also be implemented by referring to the above process.
  • step S26 Comparing the fingerprint data with the reference fingerprint. If the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, step S27 is performed to confirm that the identity verification is passed.
  • the information of the authentication failure may be fed back, and the user may be guided to perform other authentication, such as password verification, iris verification, or fingerprint utilization.
  • the identification module performs fingerprint verification.
  • the method for verifying the identity of the electronic terminal provided by the embodiment, by controlling the rear camera of the electronic terminal to take a verification screen according to the triggering instruction; the triggering instruction is generated by the touch being touched, and the touch component is disposed in the The back side of the electronic terminal; the shooting of the verification picture is realized, and the acquisition process does not require complicated operations; the invention also identifies the fingerprint image in the verification picture, and extracts the fingerprint data in the fingerprint image; comparing the fingerprint data And the reference fingerprint, if the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, confirming that the authentication is passed; it can be seen that the present invention obtains the verification image that can implement fingerprint recognition without complicated operation of the user. And the fingerprint verification is realized, the user operation is simple, and the user experience is improved.
  • FIG. 8 is a first schematic structural diagram of an electronic terminal according to the present invention.
  • the electronic terminal includes:
  • the photographing module 201 is configured to control a rear camera photographing verification screen of the electronic terminal according to the triggering instruction; the triggering instruction is generated by the touch component being touched, and the touching component is disposed on a back surface of the electronic terminal.
  • the identification module 202 is configured to identify a fingerprint image in the verification screen.
  • the extracting module 203 is configured to extract fingerprint data in the fingerprint image.
  • the verification module 204 is configured to compare the fingerprint data with the reference fingerprint. If the similarity between the fingerprint data and the reference fingerprint exceeds a similarity threshold, the identity verification is confirmed to pass.
  • the electronic terminal controls the rear camera of the electronic terminal to capture a verification screen according to the triggering instruction; the triggering instruction is generated by the touch component being touched, and the touch component is disposed on the back of the electronic terminal
  • the verification picture is captured, and the acquisition process does not require complicated operations; the invention also identifies the fingerprint image in the verification picture, and extracts the fingerprint data in the fingerprint image; comparing the fingerprint data with the reference fingerprint, If the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, confirm that the identity verification is passed; it can be seen that the present invention acquires a verification image that can implement fingerprint recognition without complicated operation of the user, and implements the fingerprint. Verification, user operation is simple, and the user experience is improved.
  • FIG. 9 is a second schematic structural diagram of an electronic terminal according to the present invention.
  • the electronic terminal includes:
  • the photographing module 301 is configured to control a rear camera photographing verification screen of the electronic terminal according to the triggering instruction; the triggering instruction is generated by the touch component being touched, and the touching component is disposed on a back surface of the electronic terminal.
  • the identification module 302 is configured to identify a fingerprint image in the verification screen.
  • the extracting module 305 is configured to extract fingerprint data in the fingerprint image.
  • the verification module 306 is configured to compare the fingerprint data with the reference fingerprint. If the similarity between the fingerprint data and the reference fingerprint exceeds a similarity threshold, the identity verification is confirmed to pass.
  • the shooting module 301 is specifically configured to:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the verification module 306 is specifically configured to:
  • the identity verification is confirmed to pass.
  • the shooting module 301 is specifically configured to:
  • the upper and lower limits of the focal length range are calculated separately using the following formula:
  • L max is an upper limit value of the focal length range
  • L min is the lower limit of the focal length range
  • L 0 is the target focal length
  • K 1 is a preset upper limit floating ratio
  • K 2 is the preset lower limit floating ratio.
  • the shooting module 301 is specifically configured to:
  • the target focal length is determined by using a center of the collected image as a focus sampling point;
  • the rear camera is controlled to take a verification picture at the target focal length.
  • the reference fingerprint is extracted from the pre-recorded image collected by the rear camera, and the electronic terminal further includes:
  • the first detecting module 303 is configured to detect an image parameter of the fingerprint image, where the image parameter includes at least one of the following: brightness, contrast, and color temperature;
  • the adjusting module 304 is configured to adjust the fingerprint image according to the image parameter and the reference parameter, where the reference parameter is an image parameter of the pre-recorded image.
  • the adjusting module 304 is configured to adjust various types of the image parameters, so that, for each type of parameter, a difference between the image parameter and the reference parameter is smaller than a preset minimum of the parameter. The amount of change.
  • the electronic terminal further includes:
  • a second detecting module configured to detect brightness data by using a brightness sensor of the electronic terminal
  • a flash module configured to compare the brightness data with a preset brightness threshold, and if the brightness data is less than the brightness threshold, turn on the flash of the electronic terminal;
  • the module is turned off to turn off the flash.
  • the electronic terminal controls the rear camera of the electronic terminal to capture a verification screen according to the triggering instruction; the triggering instruction is generated by the touch component being touched, and the touch component is disposed on the back of the electronic terminal
  • the verification picture is captured, and the acquisition process does not require complicated operations; the invention also identifies the fingerprint image in the verification picture, and extracts the fingerprint data in the fingerprint image; comparing the fingerprint data with the reference fingerprint, If the similarity between the fingerprint data and the reference fingerprint exceeds the similarity threshold, confirm that the identity verification is passed; it can be seen that the present invention acquires a verification image that can implement fingerprint recognition without complicated operation of the user, and implements the fingerprint. Verification, user operation is simple, and the user experience is improved.
  • FIG. 10 is a third schematic structural diagram of an electronic terminal according to the present invention.
  • the electronic terminal 50 includes: a processor 51 and a memory 52;
  • the memory 52 is configured to store a computer program, and the memory may also be a flash memory.
  • the processor 51 is configured to execute an execution instruction of the memory storage to implement each step in the above method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 52 can be either stand-alone or integrated with the processor 51.
  • the electronic terminal 50 may further include:
  • a bus 53 is provided for connecting the memory 52 and the processor 51.
  • the embodiment provides a readable storage medium.
  • the readable storage medium stores execution instructions.
  • the electronic terminal executes the methods provided by the various embodiments described above.
  • the embodiment provides a program product including an execution instruction stored in a readable storage medium.
  • At least one processor of the electronic terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the electronic terminal implements the methods provided by the various embodiments described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Biomedical Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

本发明提供了一种电子终端的身份验证方法与电子终端,所述身份验证方法,包括:根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。本发明的用户操作简单,提高了用户体验。

Description

电子终端的身份验证方法与电子终端 技术领域
本发明涉及电子终端技术,尤其涉及一种电子终端的身份验证方法与电子终端。
背景技术
电子终端,可以理解为具有处理器和存储器的终端,处理器读取存储器中的代码,以运行操作系统及软件,对于操作系统、软件,以及其中特定功能,在使用前,电子终端需要先对使用者的身份进行验证。
现有的相关技术中,电子终端的返回键可配置指纹识别模块,使用者通过按压指纹识别模块,可以提取指纹信息,进而以指纹识别的方式验证使用者的身份。
然而,使用者手持电子终端进行使用时,大拇指位于电子终端正面,其余手指位于电子终端背面,而指纹识别模块设于电子终端的正面,若所验证的手指非大拇指,则会使得指纹验证的操作过于复杂,用户体验不佳。
发明内容
本发明提供了一种电子终端的身份验证方法与电子终端,以解决指纹验证的操作过于复杂,用户体验不佳的问题。
根据本发明的第一方面,提供了一种电子终端的身份验证方法,包括:
根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;
在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;
比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
可选的,所述根据触发指令,控制所述电子终端的后置摄像头采集验证画面,包括:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
根据所述目标焦距确定一焦距范围;
控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数;
所述比较所述指纹数据与参考指纹,包括:
若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。
可选的,所述根据所述目标焦距确定一焦距范围,包括:
利用以下公式分别计算所述焦距范围的上限值与下限值:
Lmax=L0×K1
Lmin=L0×K2
其中:
Lmax为所述焦距范围的上限值;
Lmin为所述焦距范围的下限值;
L0为所述目标焦距;
K1为预设的上限浮动比例;
K2为预设的下限浮动比例。
可选的,所述根据触发指令,控制所述电子终端的后置摄像头采集验证画面,包括:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
控制所述后置摄像头以所述目标焦距拍摄验证画面。
可选的,所述参考指纹为所述后置摄像头采集的预录图像中提取得到的,所述在所述指纹图像中提取指纹数据之前,还包括:
检测所述指纹图像的图像参数,所述图像参数包括以下至少之一:亮度、对比度、色温;
根据所述图像参数与参考参数,对所述指纹图像进行调整,所述参考参数为所述预录图像的图像参数。
可选的,所述根据所述图像参数与参考参数,对所述指纹图像进行调整,包括:
调整各类所述图像参数,以使得:针对每一类参数,所述图像参数与所述参考参 数的差值均小于该类参数预设的最小变化量。
可选的,所述控制所述电子终端的后置摄像头拍摄验证画面之前,还包括:
利用所述电子终端的亮度传感器检测亮度数据;
比较所述亮度数据与预设的亮度阈值,若所述亮度数据小于所述亮度阈值,则打开所述电子终端的闪光灯;
所述控制所述电子终端的后置摄像头拍摄验证画面之后,还包括:
关闭所述闪光灯。
根据本发明的第二方面,提供了一种电子终端,包括:终端壳体、处理器、存储器、后置摄像头与触摸件,所述处理器和所述存储器设于所述终端壳体内,所述后置摄像头与所述触摸件均设于所述终端壳体的背面;
所述存储器,用于存储程序;
所述处理器,用于运行所述程序,执行第一方面提供的方法。
根据本发明的第三方面,提供了一种电子终端,包括:
拍摄模块,用于根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;
识别模块,用于在所述验证画面中识别出指纹图像;
提取模块,用于在所述指纹图像中提取指纹数据;
验证模块,用于比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
可选的,所述拍摄模块,具体用于:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
根据所述目标焦距确定一焦距范围;
控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数;
所述验证模块,具体用于:
若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。
可选的,所述拍摄模块,具体用于:
利用以下公式分别计算所述焦距范围的上限值与下限值:
Lmax=L0×K1
Lmin=L0×K2
其中:
Lmax为所述焦距范围的上限值;
Lmin为所述焦距范围的下限值;
L0为所述目标焦距;
K1为预设的上限浮动比例;
K2为预设的下限浮动比例。
可选的,所述拍摄模块,具体用于:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
控制所述后置摄像头以所述目标焦距拍摄验证画面。
可选的,所述参考指纹为所述后置摄像头采集的预录图像中提取得到的,所述电子终端,还包括:
第一检测模块,用于检测所述指纹图像的图像参数,所述图像参数包括以下至少之一:亮度、对比度、色温;
调整模块,用于根据所述图像参数与参考参数,对所述指纹图像进行调整,所述参考参数为所述预录图像的图像参数。
可选的,所述调整模块,用于调整各类所述图像参数,以使得:针对每一类参数,所述图像参数与所述参考参数的差值均小于该类参数预设的最小变化量。
可选的,所述电子终端,还包括:
第二检测模块,用于利用所述电子终端的亮度传感器检测亮度数据;
闪光灯模块,用于比较所述亮度数据与预设的亮度阈值,若所述亮度数据小于所述亮度阈值,则打开所述电子终端的闪光灯;
关闭模块,用于关闭所述闪光灯。
本发明提供的电子终端的身份验证方法与电子终端,通过根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;实现了验证画面的拍摄,且采集过程无需复杂的操 作;本发明还在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过;可见,本发明在无需用户复杂操作的情况下获取了可实施指纹识别的验证画面,并实现了指纹验证,用户操作简单,提高了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是现有相关技术中身份验证的原理示意图;
图2是本发明一电子终端的背面示意图一;
图3是本发明一电子终端的背面示意图二;
图4是本发明一电子终端的身份验证方法的流程示意图一;
图5是本发明一电子终端的身份验证方法的流程示意图二;
图6是图5中步骤S21的流程示意图一;
图7是图5中步骤S21的流程示意图二;
图8是本发明一电子终端的结构示意图一;
图9是本发明一电子终端的结构示意图二;
图10是本发明一电子终端的结构示意图三。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括” 和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图1是现有相关技术中身份验证的原理示意图。
现有相关技术中,电子终端1的正面设有返回键2,返回键2设置有指纹识别模块,使用者通过按压指纹识别模块,可以提取指纹信息,进而以指纹识别的方式验证使用者的身份。
本发明以下所涉及的电子终端的身份验证方法并不排除以上身份验证方案的实现。
图2是本发明一电子终端的背面示意图一;图3是本发明一电子终端的背面示意图二。
请参考图2和图3,本发明所涉及的电子终端的身份验证方法,可应用于以此为例的电子终端,其中,电子终端101的背面设有后置摄像头102,以及触摸件103。
后置摄像头102,可以为领域内任意设置于电子终端101背面的摄像头,其设置的位置也可以不仅限于图2和图3所示的左上角,其也可设置于顶部中间位置、右上角或者背面的中间位置等。
触摸件103,可以为任意可响应触摸的部件,其可以为电阻式的,也可以为电容式的,其具体的结构和位置,可以根据电子终端101背面的结构形式,以及硬件分布情况具体设计。
其中一种实施方式中,触摸件103可设于电子终端101背面的中间位置,以便于使用者的手指进行触摸,同时,触摸件103的设置位置还可以是可移动的,具体的,电子终端101背面可设有槽结构,触摸件103可沿槽结构移动,触摸件103可连接传导部,传导部与处理器连接,以实现触摸产生的信号的传输,而传导部与触摸件103的连接方式可以为活动导线,也可以为插接式的,例如:传导部可分布于槽结构的不同位置,触摸件103移动至特定位置后,可与该位置的传导部插接,以导通连接传导部,进而实现信号的传输。
其中一种实施方式中,电子终端101的背面还可设有闪光灯104,其可以为现有相关技术中电子终端101所采用的任意闪光灯104。闪光灯104所设置的位置可以使 用现有技术的任意方案。
其中一种举例中,请参考图3,闪光灯103可以设置于后置摄像头102的附近,该实施方式下,后置摄像头102的位置与闪光灯104匹配,从而使得闪光灯104的发光方向与后置摄像头102的拍摄方向相匹配。
在另一种举例中,请参考图2,闪光灯103可以设置于与触摸件103匹配的位置,其中,触摸件103可以为环状,分布于闪光灯103的外侧。该实施方式下,在进行指纹识别时,闪光灯103的发光方向可以与触摸触摸件103的手指相匹配,以更好地采集到手指的图像。
其中一种实施方式中,可用于实现以下可选方案所列举的方法的电子终端,可以包括:终端壳体、处理器、存储器、后置摄像头102与触摸件103,所述处理器和所述存储器设于所述终端壳体内,所述后置摄像头与所述触摸件均设于所述终端壳体的背面。
所述存储器,用于存储程序。
所述处理器,用于运行所述程序,执行以下可选方案提供的电子终端的身份验证方法。
图4是本发明一电子终端的身份验证方法的流程示意图一。
请参考图4,所述的方法,包括:
S11:根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面。
触发指令,为触摸件被触摸产生的,触摸的方式以及触发指令的信号形式,可以根据所采用的触摸件的不同而采用各种不同的实施方式。
验证画面,可以理解为由触发指令触发拍摄的任意画面。
S12:在所述验证画面中识别出指纹图像。
指纹图像,可以理解为验证画面中包含了指纹数据的图像部分。若无法识别出指纹图像,即所拍摄的验证画面中不包含指纹图像,则可以在步骤S11后结束验证过程,反馈验证失败的信息或未采集到指纹图像的信息。
S13:在所述指纹图像中提取指纹数据;
S14:比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则实施步骤S15:确认身份验证通过。
指纹数据,可以理解为指纹的纹路,提取指纹数据的过程可以包括将与纹路无关的信息均剔除,进而得到具体纹路的过程。
本实施例提供的电子终端的身份验证方法,通过根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;实现了验证画面的拍摄,且采集过程无需复杂的操作;本发明还在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过;可见,本发明在无需用户复杂操作的情况下获取了可实施指纹识别的验证画面,并实现了指纹验证,用户操作简单,提高了用户体验。
图5是本发明一电子终端的身份验证方法的流程示意图二。
请参考图5,所述的方法,包括:
S21:根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面。
触发指令,为触摸件被触摸产生的,触摸的方式以及触发指令的信号形式,可以根据所采用的触摸件的不同而采用各种不同的实施方式。
其中一种实施方式中,触发指令的产生可以为触摸即产生的指令,即检测到触摸件被触摸,即产生触摸指令。该实施方式可以相对较快地触发步骤S21的实施,以提高身份识别的速度。
在另一实施方式中,触发指令也可以为特定的触发动作产生的指令,以图2所示的实施方式为例,若触摸件为环状,则触发指令的产生可以为环状的滑动而产生。该实施方式可以为步骤S21的触发实施提供多样的、个性化的方式,其中的触发动作可以为人为根据个人的习惯和偏好进行设置。
在又一实施方式中,触发指令的产生也可以根据触摸时间产生,例如:触摸时间到达预设时间阈值,则产生触发指令。该实施方式简化了用户的操作,只需触摸即可。
验证画面,可以理解为由触发指令触发拍摄的任意画面。具体实施过程中,验证画面可能包含指纹图像,也可能不包含指纹图像。若不包含,则在后续过程中可因无法提取指纹图像而终止,也可不终止,进而确认验证失败。
图6是图5中步骤S21的流程示意图一。
请参考图6,步骤S21可以包括:
S211:响应于所述触发指令,打开所述后置摄像头。
其中,触发指令的产生不脱离前文的描述与列举。
S212:根据所述后置摄像头当前所采集的画面,确定目标焦距。
目标焦距,为以所采集的画面的中心为对焦取样点确定的。其中一种实施方式中, 中心为对焦取样点,对于对焦取样点的作用,可以参照自动对焦的原理理解,其中一种举例可以为:在自动对焦中,先控制后置摄像头变化焦距,以确定对焦取样点清晰时的焦距,其中,可选择对焦取样点对比度最高时的焦距。
由于摄像头与手指的位置较近,所采集的画面中,手指可占据很大一部分,所以,以中心为对焦取样点,所确定的目标焦距可以更有利于拍摄到清晰的指纹。
S213:根据所述目标焦距确定一焦距范围。
S214:控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数。
由于摄像头与手指的位置较近,焦距的一点变化,都可能导致所拍摄的指纹不够清晰,而目标焦距可能无法清楚显示所有指纹,故而,基于目标焦距所确定的焦距范围,可以将可能清楚显示所有指纹的焦距均囊括在内,对应的,所得到的N张画面中得到清晰指纹的概率远高于仅拍摄一张画面。可见,通过步骤S213与步骤S214,可以有效提高获取清晰指纹的可能性,从而提高验证的准确率和效率。
所述比较所述指纹数据与参考指纹,包括:
若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。其中,若相似度超出相似度阈值的指纹数据大于或等于两个,也可确认身份验证通过。
具体实施方式中,所述根据所述目标焦距确定一焦距范围,包括:
利用以下公式分别计算所述焦距范围的上限值与下限值:
Lmax=L0×K1
Lmin=L0×K2
其中:
Lmax为所述焦距范围的上限值;
Lmin为所述焦距范围的下限值;
L0为所述目标焦距;
K1为预设的上限浮动比例,例如百分之十。
K2为预设的下限浮动比例,例如百分之十。
图7是图5中步骤S21的流程示意图二。
请参考图7,步骤S21可以包括:
S211:响应于所述触发指令,打开所述后置摄像头。
S212:根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的。
以上步骤可参照前文理解。
S215:控制所述后置摄像头以所述目标焦距拍摄验证画面。
其中一种实施方式中,所述控制所述电子终端的后置摄像头拍摄验证画面之前,还可包括:
利用所述电子终端的亮度传感器检测亮度数据;
比较所述亮度数据与预设的亮度阈值,若所述亮度数据小于所述亮度阈值,则打开所述电子终端的闪光灯。
对应的,所述控制所述电子终端的后置摄像头拍摄验证画面之后,还可包括:关闭所述闪光灯。
该实施方式通过亮度数据的检测以及闪光灯的控制,可以根据当下的亮度环境控制是否打开闪光灯,以为验证画面的采集提供足够的亮度。
S22:在所述验证画面中识别出指纹图像。
指纹图像,可以理解为验证画面中包含了指纹数据的图像部分。若无法识别出指纹图像,即所拍摄的验证画面中不包含指纹图像,则可以在步骤S11后结束验证过程,反馈验证失败的信息或未采集到指纹图像的信息。
其中一种实施方式中,为了在验证画面中识别出指纹图像,由于指纹载于手指,而手指相对于背景的颜色、景深等数据均不相同,也可理解为手指处于前景,其他内容处于背景,则可通过提取前景的图像识别出指纹图像。
另一种实施方式中,为了在验证画面中识别出指纹图像,电子终端可以具体查看图像中指纹的纹路的外边界,进而以各纹路的外边界为线索划定指纹图像的边界,从而识别出指纹图像,其可应用于具有前景与背景的画面,也可应用于不具有前景与背景的画面,由于拍摄时手指距离摄像头较近,可能无法拍摄具有前景与背景的画面,所以,该方式的普适性更高,由于该方式以纹路为依据,其所识别出的图像更准确。
对于如何判断是否为类似指纹的纹路,可以利用大量的指纹图片学习后进行识别,也可以预设纹路的宽度范围、间隔范围等数据,以及纹路在二维平面下的形状特征、颜色特征等,通过与预设数据、特征的比对,可以确定其是否为指纹的纹路。
此外,指纹图像的识别过程不限于以上所描述,领域内任意已有的技术手段均可应用于本发明。
S23:检测所述指纹图像的图像参数。
图像参数,可以为表征图像显示的任意参数,其中一种实施方式中,可以包括以下至少之一:亮度、对比度、色温。其中的参数,可以指参数本身,也可以是参数的统计值,例如,对于亮度,可以为所有像素亮度的平均值。
S24:根据所述图像参数与参考参数,对所述指纹图像进行调整。
所述参考参数为预录图像的图像参数,预录图像,可以理解为所述参考指纹为所述后置摄像头采集的预录图像中提取得到的。该实施方式下,由于指纹图像与预录图像均是由后置摄像头拍摄的,其拍摄的硬件相同,在将参数调整后,可以使得拍摄的效果相近,使得:对于预录图像和指纹图像,图像的显示效果对所需提取的指纹数据的影响可保持一致,从而提高指纹比较的准确性。
其中一种实施方式中,调整图像参数的过程可以为:调整各类所述图像参数,以使得:针对每一类参数,所述图像参数与所述参考参数的差值均小于该类参数预设的最小变化量。
S25:在所述指纹图像中提取指纹数据。
指纹数据,可以理解为指纹的纹路本身,提取指纹数据的过程可以包括将与纹路无关的信息均剔除,进而得到具体纹路的过程。例如,可以将图像中除指纹外的像素都处理为白色。此外,还可包括将纹路加深,或处理为黑色,以更清楚地表现纹路。
与之类似的,预录图像中得到参考指纹的过程也可参考以上过程实现。
S26:比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则实施步骤S27:确认身份验证通过。
具体实施过程中,若指纹数据与参考数据的相似度未超出相似度阈值,则可以反馈身份验证失败的信息,也可引导用户以其他方式进行身份验证,例如密码验证、虹膜验证,或利用指纹识别模块进行指纹验证。
本实施例提供的电子终端的身份验证方法,通过根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;实现了验证画面的拍摄,且采集过程无需复杂的操作;本发明还在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过;可见,本发明在无需用户复杂操作的情况下获取了可实施指纹识别的验证画面,并实现了指纹验证,用户操作简单,提高了用户体验。
图8是本发明一电子终端的结构示意图一。
请参考图8,所述的电子终端,包括:
拍摄模块201,用于根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面。
识别模块202,用于在所述验证画面中识别出指纹图像。
提取模块203,用于在所述指纹图像中提取指纹数据。
验证模块204,用于比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
本实施例提供的电子终端,通过根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;实现了验证画面的拍摄,且采集过程无需复杂的操作;本发明还在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过;可见,本发明在无需用户复杂操作的情况下获取了可实施指纹识别的验证画面,并实现了指纹验证,用户操作简单,提高了用户体验。
图9是本发明一电子终端的结构示意图二。
请参考图9,所述的电子终端,包括:
拍摄模块301,用于根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面。
识别模块302,用于在所述验证画面中识别出指纹图像。
提取模块305,用于在所述指纹图像中提取指纹数据。
验证模块306,用于比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
可选的,所述拍摄模块301,具体用于:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
根据所述目标焦距确定一焦距范围;
控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数;
所述验证模块306,具体用于:
若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。
可选的,所述拍摄模块301,具体用于:
利用以下公式分别计算所述焦距范围的上限值与下限值:
Lmax=L0×K1
Lmin=L0×K2
其中:
Lmax为所述焦距范围的上限值;
Lmin为所述焦距范围的下限值;
L0为所述目标焦距;
K1为预设的上限浮动比例;
K2为预设的下限浮动比例。
可选的,所述拍摄模块301,具体用于:
响应于所述触发指令,打开所述后置摄像头;
根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
控制所述后置摄像头以所述目标焦距拍摄验证画面。
可选的,所述参考指纹为所述后置摄像头采集的预录图像中提取得到的,所述电子终端,还包括:
第一检测模块303,用于检测所述指纹图像的图像参数,所述图像参数包括以下至少之一:亮度、对比度、色温;
调整模块304,用于根据所述图像参数与参考参数,对所述指纹图像进行调整,所述参考参数为所述预录图像的图像参数。
可选的,所述调整模块304,用于调整各类所述图像参数,以使得:针对每一类参数,所述图像参数与所述参考参数的差值均小于该类参数预设的最小变化量。
可选的,所述电子终端,还包括:
第二检测模块,用于利用所述电子终端的亮度传感器检测亮度数据;
闪光灯模块,用于比较所述亮度数据与预设的亮度阈值,若所述亮度数据小于所述亮度阈值,则打开所述电子终端的闪光灯;
关闭模块,用于关闭所述闪光灯。
本实施例提供的电子终端,通过根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;实现了验证画面的拍摄,且采集过程无需复杂的操作;本发明还在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过;可见,本发明在无需用户复杂操作的情况下获取了可实施指纹识别的验证画面,并实现了指纹验证,用户操作简单,提高了用户体验。
图10是本发明一电子终端的结构示意图三。
请参考图10,电子终端50包括:处理器51以及存储器52;其中
存储器52,用于存储计算机程序,该存储器还可以是flash(闪存)。
处理器51,用于执行存储器存储的执行指令,以实现上述方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。
可选地,存储器52既可以是独立的,也可以跟处理器51集成在一起。
当所述存储器52是独立于处理器51之外的器件时,所述电子终端50还可以包括:
总线53,用于连接所述存储器52和处理器51。
本实施例提供一种可读存储介质,可读存储介质中存储有执行指令,当电子终端的至少一个处理器执行该执行指令时,电子终端执行上述的各种实施方式提供的方法。
本实施例提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。电子终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得电子终端实施上述的各种实施方式提供的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种电子终端的身份验证方法,其特征在于,包括:
    根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面;所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;
    在所述验证画面中识别出指纹图像,并在所述指纹图像中提取指纹数据;
    比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
  2. 根据权利要求1所述的方法,其特征在于,所述根据触发指令,控制所述电子终端的后置摄像头采集验证画面,包括:
    响应于所述触发指令,打开所述后置摄像头;
    根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
    根据所述目标焦距确定一焦距范围;
    控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数;
    所述比较所述指纹数据与参考指纹,包括:
    若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述目标焦距确定一焦距范围,包括:
    利用以下公式分别计算所述焦距范围的上限值与下限值:
    Lmax=L0×K1
    Lmin=L0×K2
    其中:
    Lmax为所述焦距范围的上限值;
    Lmin为所述焦距范围的下限值;
    L0为所述目标焦距;
    K1为预设的上限浮动比例;
    K2为预设的下限浮动比例。
  4. 根据权利要求1所述的方法,其特征在于,所述根据触发指令,控制所述电子 终端的后置摄像头采集验证画面,包括:
    响应于所述触发指令,打开所述后置摄像头;
    根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
    控制所述后置摄像头以所述目标焦距拍摄验证画面。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述参考指纹为所述后置摄像头采集的预录图像中提取得到的,所述在所述指纹图像中提取指纹数据之前,还包括:
    检测所述指纹图像的图像参数,所述图像参数包括以下至少之一:亮度、对比度、色温;
    根据所述图像参数与参考参数,对所述指纹图像进行调整,所述参考参数为所述预录图像的图像参数。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述图像参数与参考参数,对所述指纹图像进行调整,包括:
    调整各类所述图像参数,以使得:针对每一类参数,所述图像参数与所述参考参数的差值均小于该类参数预设的最小变化量。
  7. 根据权利要求1至4任一项所述的方法,其特征在于,所述控制所述电子终端的后置摄像头拍摄验证画面之前,还包括:
    利用所述电子终端的亮度传感器检测亮度数据;
    比较所述亮度数据与预设的亮度阈值,若所述亮度数据小于所述亮度阈值,则打开所述电子终端的闪光灯;
    所述控制所述电子终端的后置摄像头拍摄验证画面之后,还包括:
    关闭所述闪光灯。
  8. 一种电子终端,其特征在于,包括:终端壳体、处理器、存储器、后置摄像头与触摸件,所述处理器和所述存储器设于所述终端壳体内,所述后置摄像头与所述触摸件均设于所述终端壳体的背面;
    所述存储器,用于存储程序;
    所述处理器,用于运行所述程序,执行权利要求1至7任一项所述的方法。
  9. 一种电子终端,其特征在于,包括:
    拍摄模块,用于根据触发指令,控制所述电子终端的后置摄像头拍摄验证画面; 所述触发指令为触摸件被触摸产生的,所述触摸件设于所述电子终端的背面;
    识别模块,用于在所述验证画面中识别出指纹图像;
    提取模块,用于在所述指纹图像中提取指纹数据;
    验证模块,用于比较所述指纹数据与参考指纹,若所述指纹数据与所述参考指纹的相似度超出相似度阈值,则确认身份验证通过。
  10. 根据权利要求9所述的电子终端,其特征在于,所述拍摄模块,具体用于:
    响应于所述触发指令,打开所述后置摄像头;
    根据所述后置摄像头当前所采集的画面,确定目标焦距;所述目标焦距为以所采集的画面的中心为对焦取样点确定的;
    根据所述目标焦距确定一焦距范围;
    控制所述后置摄像头的焦距在所述焦距范围内变化,并在变化时控制所述后置摄像头以不同的焦距拍摄N张验证画面;其中,N为大于或等于2的整数;
    所述验证模块,具体用于:
    若所述N张验证画面对应的N个指纹数据中的一个指纹数据与所述参考指纹的相似度超出所述相似度阈值,则确认身份验证通过。
PCT/CN2017/110819 2017-11-14 2017-11-14 电子终端的身份验证方法与电子终端 Ceased WO2019095097A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110819 WO2019095097A1 (zh) 2017-11-14 2017-11-14 电子终端的身份验证方法与电子终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110819 WO2019095097A1 (zh) 2017-11-14 2017-11-14 电子终端的身份验证方法与电子终端

Publications (1)

Publication Number Publication Date
WO2019095097A1 true WO2019095097A1 (zh) 2019-05-23

Family

ID=66538383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/110819 Ceased WO2019095097A1 (zh) 2017-11-14 2017-11-14 电子终端的身份验证方法与电子终端

Country Status (1)

Country Link
WO (1) WO2019095097A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114511052A (zh) * 2022-01-21 2022-05-17 重庆市规划和自然资源信息中心 一种实现不动产登记窗口无纸化办理的系统
CN114648783A (zh) * 2022-02-16 2022-06-21 广东紫文星电子科技有限公司 一种指纹识别模组验证系统
CN115209051A (zh) * 2022-07-08 2022-10-18 杭州海康威视数字技术股份有限公司 变焦摄像机的聚焦方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639892A (zh) * 2008-08-01 2010-02-03 深圳市同洲电子股份有限公司 一种身份认证的方法、系统及移动终端
CN102572095A (zh) * 2011-11-11 2012-07-11 深圳光启高等理工研究院 一种基于指纹的标识信息发送方法及移动终端
CN203117990U (zh) * 2013-03-21 2013-08-07 广东欧珀移动通信有限公司 具有指纹解锁功能的移动终端
CN103324947A (zh) * 2012-03-19 2013-09-25 联想(北京)有限公司 一种认证方法及一种鉴权方法
CN206209760U (zh) * 2016-08-09 2017-05-31 北京文安智能技术股份有限公司 一种人脸识别系统及移动终端和人脸识别辅助装置
CN106778580A (zh) * 2016-12-07 2017-05-31 深圳市百通信息技术有限公司 通过手机摄像头放大,聚焦功能提取指纹图像的系统及其方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639892A (zh) * 2008-08-01 2010-02-03 深圳市同洲电子股份有限公司 一种身份认证的方法、系统及移动终端
CN102572095A (zh) * 2011-11-11 2012-07-11 深圳光启高等理工研究院 一种基于指纹的标识信息发送方法及移动终端
CN103324947A (zh) * 2012-03-19 2013-09-25 联想(北京)有限公司 一种认证方法及一种鉴权方法
CN203117990U (zh) * 2013-03-21 2013-08-07 广东欧珀移动通信有限公司 具有指纹解锁功能的移动终端
CN206209760U (zh) * 2016-08-09 2017-05-31 北京文安智能技术股份有限公司 一种人脸识别系统及移动终端和人脸识别辅助装置
CN106778580A (zh) * 2016-12-07 2017-05-31 深圳市百通信息技术有限公司 通过手机摄像头放大,聚焦功能提取指纹图像的系统及其方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114511052A (zh) * 2022-01-21 2022-05-17 重庆市规划和自然资源信息中心 一种实现不动产登记窗口无纸化办理的系统
CN114511052B (zh) * 2022-01-21 2023-06-16 重庆市规划和自然资源信息中心 一种实现不动产登记窗口无纸化办理的系统
CN114648783A (zh) * 2022-02-16 2022-06-21 广东紫文星电子科技有限公司 一种指纹识别模组验证系统
CN115209051A (zh) * 2022-07-08 2022-10-18 杭州海康威视数字技术股份有限公司 变焦摄像机的聚焦方法及装置
CN115209051B (zh) * 2022-07-08 2024-02-13 杭州海康威视数字技术股份有限公司 变焦摄像机的聚焦方法及装置

Similar Documents

Publication Publication Date Title
US8649575B2 (en) Method and apparatus of a gesture based biometric system
CN110326001B (zh) 使用利用移动设备捕捉的图像执行基于指纹的用户认证的系统和方法
JP6650946B2 (ja) モバイル・デバイスを用いてキャプチャしたイメージを使用する指紋ベースのユーザ認証を実行するためのシステムおよび方法
KR102766550B1 (ko) 라이브니스 검사 방법 및 장치, 생체 인증 방법 및 장치
US10372973B2 (en) Biometric identification
KR101241625B1 (ko) 얼굴 인식 환경 통지 방법, 장치, 및 이 방법을 실행하기 위한 컴퓨터 판독 가능한 기록 매체
CN108280418A (zh) 脸部图像的欺骗识别方法及装置
CN110188658A (zh) 身份识别方法、装置、电子设备及存储介质
CN107710221B (zh) 一种用于检测活体对象的方法、装置和移动终端
CN109711255A (zh) 指纹采集方法及相关装置
US9251396B2 (en) Touchless fingerprinting acquisition and processing application for mobile devices
CN105933607A (zh) 一种移动终端的拍照效果调整方法及移动终端
KR20120139100A (ko) 얼굴 인증을 이용한 보안 장치 및 방법
CN114374791B (zh) 一种基于手势识别的摄像头调节方法和系统
JP2019502198A (ja) 指節及び指静脈基盤の融合型生体認証方法及びその装置
EP3200126B1 (en) Biometric information process device, biometric information process method and biometric information process program
CN108594995A (zh) 一种基于手势识别的电子设备操作方法及电子设备
JP5254897B2 (ja) 手画像認識装置
US10289896B2 (en) Biometric identification
WO2015198013A1 (en) Biometric identification
CN106529243A (zh) 一种身份鉴别的方法、装置及终端
KR102151474B1 (ko) 스마트 단말기를 이용한 비접촉 지문인증 방법
CN109858320B (zh) 指纹录入方法及相关设备
US20160188856A1 (en) Authentication device, authentication method, and non-transitory computer readable medium
CN107408208A (zh) 用于对用户的生物测量进行分析的方法和指纹感测系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17932072

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17932072

Country of ref document: EP

Kind code of ref document: A1