CN107330316B - Unlocking processing method and related product - Google Patents

Unlocking processing method and related product Download PDF

Info

Publication number
CN107330316B
CN107330316B CN201710644584.XA CN201710644584A CN107330316B CN 107330316 B CN107330316 B CN 107330316B CN 201710644584 A CN201710644584 A CN 201710644584A CN 107330316 B CN107330316 B CN 107330316B
Authority
CN
China
Prior art keywords
information
iris
face
distance
matching
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
CN201710644584.XA
Other languages
Chinese (zh)
Other versions
CN107330316A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710644584.XA priority Critical patent/CN107330316B/en
Publication of CN107330316A publication Critical patent/CN107330316A/en
Application granted granted Critical
Publication of CN107330316B publication Critical patent/CN107330316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/18Eye characteristics, e.g. of the iris
    • G06V40/197Matching; Classification

Abstract

The embodiment of the invention discloses an unlocking processing method and a related product, wherein the method comprises the following steps: the iris camera is used for collecting iris information of a user, and the general camera module is used for collecting facial information of the user; when biological information is collected, determining the distance between the biological information collecting device and the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully. By adopting the embodiment of the invention, the flexibility of biological unlocking can be improved.

Description

Unlocking processing method and related product
Technical Field
The invention relates to the technical field of electronics, in particular to an unlocking processing method and a related product.
Background
The biometric information recognition technology is a technology for recognizing a person based on physiological or behavioral characteristics inherent to the person. Physiological information (such as face information, iris information, fingerprint information, palm print information, voice print information, etc.) is inherent and most of them is innate. Currently, the biological unlocking process is typically: starting the biological information acquisition device to acquire biological information, then matching the acquired biological information, and executing unlocking operation after the matching is successful.
Disclosure of Invention
The embodiment of the invention provides an unlocking processing method and a related product, which can improve the flexibility of biological unlocking.
In a first aspect, an embodiment of the present invention provides a terminal device, including a biological information acquisition device and a processor, where the biological information acquisition device includes an infrared light source, an iris camera, and a universal camera module;
the infrared light source is used for emitting light for irradiating the iris of the user;
the iris camera is used for acquiring the iris information of the user irradiated by the light emitted by the infrared light source;
the universal camera module is used for collecting facial information of a user;
the processor is used for determining the distance between the biological information acquisition device and the biological information when the biological information is acquired; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In a second aspect, an embodiment of the present invention provides an unlocking processing method, which is applied to a terminal device including a biological information acquisition device, where the biological information acquisition device includes an iris camera and a general camera module, and includes:
the iris camera is used for collecting iris information of a user, and the general camera module is used for collecting facial information of the user;
when biological information is collected, determining the distance between the biological information collecting device and the biological information;
determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values;
and executing unlocking processing when the iris information and the face information are matched successfully.
In a third aspect, an embodiment of the present invention provides a terminal device, including a biological information acquisition unit and a processing unit, where the biological information acquisition unit includes an iris information acquisition unit and a face information acquisition unit, where:
the processing unit is used for acquiring the iris information of the user through the iris information acquisition unit and acquiring the face information of the user through the face information acquisition unit; when biological information is collected, determining the distance between the biological information collecting device and the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In a fourth aspect, an embodiment of the present invention provides an unlocking processing method, which is applied to a terminal device including a biological information acquisition device and a processor, where the biological information acquisition device includes an infrared light source, an iris camera, and a universal camera module, and includes:
the infrared light source emits light for illuminating an iris of a user;
the iris camera collects the iris information of the user irradiated by the light emitted by the infrared light source;
the universal camera module collects the facial information of a user;
the processor determines the distance between the biological information acquisition device and the biological information when acquiring the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In a fifth aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in the method described in the second aspect of the embodiment of the present invention.
In a sixth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the second aspect of the present invention, and the computer includes a terminal device.
In a seventh aspect, the present invention provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in the second aspect of the present invention. The computer program product may be a software installation package, the computer comprising the terminal device.
According to the scheme, the matching threshold corresponding to the biological information is determined according to the distance from the biological information acquisition device to the biological information when the biological information is acquired, and then matching processing is carried out according to the determined matching threshold. Compared with the prior art that the matching threshold of the biological information is not adjustable, the scheme can flexibly adjust the matching threshold of the biological information according to the distance, and further improves the flexibility of biological unlocking.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present invention, the drawings required to be used in the embodiments or the background art of the present invention will be described below.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an unlocking processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a scenario provided by an embodiment of the present invention;
fig. 4 is a schematic flow chart of another unlocking processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal device provided in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
A terminal device, also called a User Equipment (UE), is a device providing voice and/or data connectivity to a User, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on. Common terminals include, for example: the mobile phone includes a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), and a wearable device such as a smart watch, a smart bracelet, a pedometer, and the like.
The terminal equipment described in the embodiment of the invention is provided with a biological information acquisition device, wherein the biological information acquisition device specifically comprises an iris information acquisition device and a face information acquisition device, and the iris information acquisition device can comprise an infrared light source and an iris camera; the facial information acquisition device may be a general camera module, such as a front-facing camera.
The embodiments of the present invention will be described below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present invention, where the terminal device 100 includes: the mobile phone comprises a shell 10, a main board 20, a touch display screen 30, a battery 40 and an auxiliary board 50, wherein an infrared light source 21, an iris camera 22, a front camera 23, a processor 24, a memory 25, a SIM card slot 26 and the like are arranged on the main board 20, a vibrator 51, an integrated sound cavity 52, a VOOC flash charging interface 53 and a fingerprint module 54 are arranged on the auxiliary board, the infrared light source 21 and the iris camera 22 form an iris information acquisition device of the terminal equipment 100, the front camera 23 forms a facial information acquisition device of the terminal equipment 100, the fingerprint sensor module 24 forms a fingerprint information acquisition device of the terminal equipment 100, and the iris information acquisition device, the facial information acquisition device and the fingerprint information acquisition device are collectively called as a biological information acquisition device of the terminal equipment 100.
Wherein the infrared light source 21 is configured to emit light for illuminating an iris of a user;
the iris camera 22 is used for collecting the iris information of the user irradiated by the light emitted by the infrared light source;
the universal camera module (such as a front camera 23) is used for collecting facial information of a user;
the processor 24 is configured to determine a distance from the biological information acquisition device to the biological information when acquiring the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In the scheme, the matching threshold values corresponding to the at least one type of biological information are determined according to the distance between the biological information acquisition device and the biological information when the biological information is acquired, then matching processing is performed according to the determined matching threshold values, and compared with the prior art that the matching threshold values of the biological information are not adjustable, the scheme can flexibly adjust the matching threshold values of the biological information according to the distance, and further improves the flexibility of biological unlocking.
In one example, in determining the distance of the biological information collection device from the biological information,
the universal camera module (such as the front camera 23) is used for collecting a facial image of a user;
the processor 24 is configured to determine a face area and an eye area in the face image; and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
In one example, in matching the iris information and the face information according to the determined matching threshold,
and the processor 24 is configured to perform matching processing on the iris information according to the first matching threshold and perform matching processing on the face information according to the second matching threshold in parallel.
In one example, matching the iris information according to the first matching threshold and matching the face information according to the second matching threshold are performed in parallel,
the processor 24 is configured to determine a first matching threshold of the iris information corresponding to a distance according to a mapping relationship between the distance and an iris matching threshold, and determine a second matching threshold of the face information corresponding to the distance according to a mapping relationship between the distance and a face matching threshold;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
In one example, before the processor 24 performs the unlocking process,
the processor 24 is further configured to determine a first match value at which the iris information matches a set of iris templates, and determine a second match threshold at which the face information matches a set of face templates; the processor performs an unlocking process when a sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold.
It should be noted that details of the actions performed by the above components (such as the processor 24, the iris camera 22, etc.) can be referred to in the following method, and will not be described herein.
Based on fig. 1, an unlocking processing method provided in an embodiment of the present invention includes:
step 1: an infrared light source emitting light for illuminating an iris of a user;
step 2: the iris camera collects the iris information of the user irradiated by the light emitted by the infrared light source;
and step 3: the universal camera module collects the facial information of a user;
and 4, step 4: the processor determines the distance between the biological information acquisition device and the biological information when acquiring the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In the scheme, the matching threshold values corresponding to the at least one type of biological information are determined according to the distance between the biological information acquisition device and the biological information when the biological information is acquired, and then matching processing is performed according to the determined matching threshold values.
In one example, in terms of the processor determining the distance of the biological information collection device from the biological information,
the processor collects a face image of a user through the universal camera module; determining a face area and an eye area in the face image; and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
In one example, in terms of the processor performing the matching process on the iris information and the face information according to the determined matching threshold,
and the processor performs matching processing on the iris information according to the first matching threshold value and performs matching processing on the face information according to the second matching threshold value in parallel.
In an example, in terms of the processor determining a first matching threshold for the iris information and a second matching threshold for the face information as a function of the distance,
the processor determines a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determines a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
In one example, before the processor performs the unlocking process,
the processor determines a first matching value that the iris information matches a set of iris templates and determines a second matching threshold that the face information matches a set of face templates; the processor performs an unlocking process when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold.
It should be noted that details of actions performed by the above elements can be referred to in the following method, and are not described here.
Referring to fig. 2, fig. 2 is a schematic flowchart of an unlocking processing method according to an embodiment of the present invention, where the method is applied to the terminal device shown in fig. 1, and the method includes the following steps:
step 201: and the terminal equipment acquires the iris information of the user through the iris camera.
Step 202: and the terminal equipment acquires the facial information of the user through the universal camera module.
It should be noted that, when step 201 is executed, step 202 is executed, and step 201 and step 202 are executed on different threads, that is, step 201 and step 202 are executed in parallel, and step 201 and step 202 are executed with close time.
Step 203: when the biological information is collected, the terminal equipment determines the distance between the biological information collecting device and the biological information.
In an example, as shown in fig. 1, since the iris camera and the universal camera module (e.g., the front camera) are both disposed on the front side of the terminal device, and the iris camera and the universal camera module are located at similar positions, and in addition, in step 201, step 202 is performed, so that in acquiring iris information, the distance from the iris camera to the iris may be considered to be equal to the distance from the universal camera module to the face in acquiring face information. The specific implementation manner of the terminal device for determining the distance from the biological information acquisition device to the biological information is as follows: the terminal equipment collects a user face image through the universal camera module; the terminal equipment determines the area of the face and the area of the eyes in the face image; and the terminal equipment determines the distance from the biological information acquisition device to the biological information when acquiring the biological information according to the ratio of the human eye area to the human face area.
Specifically, the specific implementation manner of the terminal device determining the distance from the biological information acquisition device to the biological information when acquiring the biological information according to the ratio of the human eye area to the human face area includes: and the terminal equipment determines the distance from the biological information when the biological information acquisition device acquires the biological information according to the mapping relation between the ratio of the human eye area to the human face area and the distance. The mapping relation between the ratio of the human eye area to the human face area and the distance is stored in the terminal device in advance.
In addition, the terminal device can determine the distance from the biological information acquisition device to the biological information when acquiring the biological information through a distance sensor of the terminal device.
Step 204: and the terminal equipment determines a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance.
In an example, the specific implementation manner of determining the first matching threshold of the iris information and the second matching threshold of the face information according to the distance is as follows: the method comprises the steps that a terminal device determines a first matching threshold value of iris information corresponding to a distance according to the mapping relation between the distance and an iris matching threshold value, and determines a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value; wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
Specifically, the mapping relationship between the distance and the face matching threshold is shown in table 1, and the mapping relationship between the distance and the iris matching threshold is shown in table 2. It can be seen that, when the iris camera is far away from the iris information or the general camera module is far away from the face, for example, the distance is 50cm, because the iris camera is far away from the iris information, the iris information acquired by the iris camera may not be so much, the iris matching threshold value should be reduced moderately at the moment, but the general camera module is far away from the face, the face information acquired by the general camera module may be the whole face of the user, the face information is more, and the face matching threshold value should be increased moderately at the moment.
TABLE 1
TABLE 2
Step 205: and the terminal equipment performs matching processing on the iris information and the face information according to the determined matching threshold.
In an example, the specific implementation manner of the terminal device performing matching processing on the iris information and the face information according to the determined matching threshold is as follows: and the terminal equipment performs matching processing on the iris information according to the first matching threshold value and performs matching processing on the face information according to the second matching threshold value in parallel.
Specifically, the terminal device performs matching processing on the iris information according to a first matching threshold corresponding to the iris information on one thread, and performs matching processing on the face information according to a second matching threshold corresponding to the face information on the other thread. Therefore, matching processing is carried out on the iris information and the face information in parallel, the matching processing process can be accelerated, and unlocking speed is further accelerated.
Step 206: and when the iris information and the face information are matched successfully, the terminal equipment executes unlocking processing.
Specifically, if adopt iris camera to gather iris information, adopt general camera module to gather facial information, when iris camera and general camera module carried out information acquisition at the same time, to iris information, iris information that iris camera gathered when iris camera is far away from iris information just not so clear, to facial information, the facial information of the whole user's face that general camera module can gather when general camera module is far away from the people's face. If the matching threshold of the normal iris information is 80% and the matching threshold of the normal face matching is 75%, in the above case, since the acquired iris information is not so clear, if the matching threshold of the iris information is still 80%, the iris information matching process may fail, and thus the unlocking may fail. In the scheme, the matching threshold corresponding to each piece of biological information can be flexibly adjusted according to the distance between the biological information acquisition device and the biological information when the biological information is acquired, so that the problem that unlocking failure is caused because the acquired biological information is not completely acquired due to the distance between the biological information acquisition device and the biological information when the biological information is acquired is solved.
In an example, before the terminal device performs the unlocking process, the method further includes:
the terminal equipment determines a first matching value of the iris information matched with the iris template set and determines a second matching threshold value of the face information matched with the face template set; and when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold, the terminal equipment executes unlocking processing.
Wherein the second threshold > the first match threshold + the second match threshold. For example, if the first matching threshold is 20% and the second matching threshold is 80%, then the second threshold is > 100%.
The iris template set comprises at least one iris information template, the iris information template is an iris data template, and the iris data template is a set image of a corresponding relation between the positions of characteristic points of the iris of a registered user and characteristic values (the characteristic values can be capacitances, inductances, voltages, currents, relative values and the like) of specific points.
The face template set comprises at least one face information template, the face information template is a face data template, and the fingerprint data template is a set of corresponding relations between positions of feature points of the face of the registered user and feature values (the feature values may be capacitance, inductance, voltage, current, relative values, and the like) of the feature points.
Specifically, the first matching value of the iris information matched with the iris template set refers to a matching value of the iris information matched with one of the iris information templates obtained after matching processing is performed on the iris information and the iris information templates in the iris template set; the second matching value of the face information matched with the face template set refers to a matching value of the face information matched with one of the face information templates obtained after the face information is matched with the face information templates in the face template set. Assuming that the second threshold is 110%, if the first matching value is 28% and the second matching value is 83%, it can be seen that the first matching threshold + the second matching threshold is 111% > 110%, then the terminal device executes the unlocking process.
For example, please refer to fig. 3, fig. 3 is a schematic view of a scenario provided by the embodiment of the present invention. The iris information is collected through an iris camera, meanwhile, the face information is collected through a general camera module, the distance between the iris camera and the iris information is equal to the distance between the general camera module and the face information, the distance is 20cm, and a second threshold value is 110%; the terminal device determines from table 1 above that the second matching threshold of the corresponding face information at 20cm is 20%, and the terminal device determines from table 2 above that the first matching threshold of the corresponding iris information at 20cm is 80%; the terminal equipment performs matching processing on the face information and the face template set according to a second matching threshold (20%) and performs matching processing on the iris information and the iris template set according to a first matching threshold (80%) in parallel; after the matching processing, the second matching value of the face information matched with one of the face information templates is 28%, the first matching value of the iris information matched with one of the iris information templates is 83%, then the face information is matched with the face template set, and the iris information is matched with the iris template set; since the first match value (83%) + the second match value (28%) > 110%, the terminal device performs an unlocking operation.
An embodiment of the present invention further provides another more detailed method flow, where the method is applied to the terminal device shown in fig. 1, and as shown in fig. 4, the method includes:
step 401: and the terminal equipment acquires the iris information of the user through the iris camera.
Step 402: and the terminal equipment acquires the facial information of the user through the universal camera module.
Step 403: and when biological information is collected, the terminal equipment collects a face image of the user through the universal camera module.
Step 404: the terminal device determines the area of the face and the area of the eyes in the face image.
Step 405: and the terminal equipment determines the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
Step 406: the terminal equipment determines a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determines a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value; wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
Step 407: and the terminal equipment performs matching processing on the iris information according to the first matching threshold.
Step 408: and the terminal equipment performs matching processing on the face information according to the second matching threshold.
Step 409: when the iris information and the face information are matched successfully, the terminal equipment determines a first matching value of the iris information matched with the iris template set and determines a second matching threshold of the face information matched with the face template set.
Step 410: and when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold, the terminal equipment executes unlocking processing.
It should be noted that steps 401, 402 and 403 are executed in parallel, and steps 407 and 408 are executed in parallel. The specific implementation of the steps of the method shown in fig. 4 can refer to the specific implementation of the method described above, and will not be described here.
The method of embodiments of the present invention is set forth above in detail and the apparatus of embodiments of the present invention is provided below.
Referring to fig. 5, fig. 5 is a terminal device 500 according to an embodiment of the present invention, including: at least one processor, at least one memory, and at least one communication interface; and one or more programs;
the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of:
the iris camera is used for collecting iris information of a user, and the general camera module is used for collecting facial information of the user;
when biological information is collected, determining the distance between the biological information collecting device and the biological information;
determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values;
and executing unlocking processing when the iris information and the face information are matched successfully.
In an example, in determining the distance of the biological information acquisition device from the biological information, the program comprises instructions specifically for performing the steps of:
acquiring a face image of a user through the universal camera module;
determining a face area and an eye area in the face image;
and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
In an example, in matching the iris information and the face information according to the determined matching threshold, the program comprises instructions specifically for:
and matching the iris information according to the first matching threshold value and matching the face information according to the second matching threshold value in parallel.
In an example, in determining the first matching threshold for the iris information and the second matching threshold for the face information as a function of the distance, the program comprises instructions specifically for:
determining a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determining a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
In an example, before performing the unlocking process, the program includes instructions for further performing the steps of:
determining a first matching value that the iris information matches with a set of iris templates, and determining a second matching threshold that the face information matches with a set of face templates;
and when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold, executing unlocking processing.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the terminal device includes hardware structures and/or software modules for performing the respective functions in order to implement the functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of integrated units, fig. 6 shows a block diagram of a possible functional unit composition of the terminal device involved in the above embodiments. The terminal device 600 includes: a biological information acquisition unit 601, a processing unit 602, a storage unit 603, and a communication unit 604, wherein the biological information acquisition unit 601 includes an iris information acquisition unit 6011 and a face information acquisition unit 6012. The biological information acquisition unit 601 is used for acquiring biological information. The processing unit 602 is used for controlling and managing the actions of the terminal device, and the storage unit 603 is used for storing program codes and data of the mobile terminal. The communication unit 604 is used to support communication between the terminal device and other devices. It should be noted that the above units (the biological information acquisition unit 601, the processing unit 602, the storage unit 603, and the communication unit 604) are used for executing the relevant steps of the above method.
The processing unit 602 is configured to acquire iris information of a user through the iris information acquisition unit 6011, and acquire face information of the user through the face information acquisition unit 6012; when biological information is collected, determining the distance between the biological information collecting device and the biological information; determining a first matching threshold value of the iris information and a second matching threshold value of the face information according to the distance, and performing matching processing on the iris information and the face information according to the determined matching threshold values; and executing unlocking processing when the iris information and the face information are matched successfully.
In an example, in terms of determining a distance of the biological information collecting device from biological information, the processing unit 602 is specifically configured to:
acquiring a face image of a user through the universal camera module;
determining a face area and an eye area in the face image;
and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
In an example, in terms of performing matching processing on the iris information and the face information according to the determined matching threshold, the processing unit 602 is specifically configured to:
and matching the iris information according to the first matching threshold value and matching the face information according to the second matching threshold value in parallel.
In an example, in determining the first matching threshold of the iris information and the second matching threshold of the face information according to the distance, the processing unit 602 is specifically configured to:
determining a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determining a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
In one example, before the unlocking process is performed,
the processing unit 602 is further configured to determine a first matching value at which the iris information matches a set of iris templates, and determine a second matching threshold at which the face information matches a set of face templates; when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold, the processing unit 602 performs an unlocking process.
The processing Unit 602 may be a Processor or a controller (e.g., a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof). The biological information acquisition unit 601 may be a biological information acquisition device, the storage unit 603 may be a memory, and the communication unit 602 may be a transceiver, a transceiver circuit, a radio frequency chip, a communication interface, or the like.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a terminal device.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the above method embodiments. The computer program product may be a software installation package, said computer comprising terminal equipment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. A terminal device is characterized by comprising a biological information acquisition device and a processor, wherein the biological information acquisition device comprises an infrared light source, an iris camera and a universal camera module;
the infrared light source is used for emitting light for irradiating the iris of the user;
the iris camera is used for acquiring the iris information of the user irradiated by the light emitted by the infrared light source;
the universal camera module is used for collecting facial information of a user;
the processor is used for determining the distance between the biological information acquisition device and the biological information when the biological information is acquired; determining a first matching threshold of the iris information and a second matching threshold of the face information according to the distance, so that the matching threshold of the biological information is flexibly adjusted according to the distance, and matching the iris information and the face information according to the determined matching threshold; and executing unlocking processing when the iris information and the face information are matched successfully.
2. The terminal device according to claim 1, wherein in determining a distance of the biological information collection means from biological information,
the universal camera module is used for collecting a facial image of a user;
the processor is used for determining a face area and an eye area in the face image; and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
3. Terminal device according to claim 1 or 2, wherein, in matching processing of the iris information and the face information according to the determined matching threshold,
and the processor is used for carrying out matching processing on the iris information according to the first matching threshold value and carrying out matching processing on the face information according to the second matching threshold value in parallel.
4. The terminal device according to any one of claims 1-2, wherein, in determining a first matching threshold for the iris information and a second matching threshold for the face information based on the distance,
the processor is used for determining a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determining a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
5. The terminal device according to any of claims 1-2,
the processor is further configured to determine a first match value at which the iris information matches a set of iris templates, and determine a second match threshold at which the face information matches a set of face templates; the processor performs an unlocking process when a sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold.
6. The unlocking processing method is characterized by being applied to terminal equipment comprising a biological information acquisition device, wherein the biological information acquisition device comprises an iris camera and a general camera module, and the unlocking processing method comprises the following steps:
the iris camera is used for collecting iris information of a user, and the general camera module is used for collecting facial information of the user;
when biological information is collected, determining the distance between the biological information collecting device and the biological information;
determining a first matching threshold of the iris information and a second matching threshold of the face information according to the distance, so that the matching threshold of the biological information is flexibly adjusted according to the distance, and matching the iris information and the face information according to the determined matching threshold;
and executing unlocking processing when the iris information and the face information are matched successfully.
7. The method of claim 6, wherein determining the distance of the biological information acquisition device from the biological information comprises:
acquiring a face image of a user through the universal camera module;
determining a face area and an eye area in the face image;
and determining the distance between the biological information acquisition device and the biological information according to the ratio of the human eye area to the human face area.
8. The method according to claim 6 or 7, wherein the matching the iris information and the face information according to the determined matching threshold comprises:
and matching the iris information according to the first matching threshold value and matching the face information according to the second matching threshold value in parallel.
9. The method of any of claims 6-7, wherein determining the first matching threshold for the iris information and the second matching threshold for the face information based on the distance comprises:
determining a first matching threshold value of the iris information corresponding to the distance according to the mapping relation between the distance and the iris matching threshold value, and determining a second matching threshold value of the face information corresponding to the distance according to the mapping relation between the distance and the face matching threshold value;
wherein the second match threshold is greater than the first match threshold when the distance is greater than or equal to a first threshold; when the distance is less than the first threshold, the second match threshold is less than the first match threshold.
10. The method according to any one of claims 6-7, wherein prior to said performing an unlocking process, the method further comprises:
determining a first matching value that the iris information matches with a set of iris templates, and determining a second matching threshold that the face information matches with a set of face templates;
and when the sum of the first matching threshold and the second matching threshold is greater than or equal to a second threshold, executing unlocking processing.
11. The terminal equipment is characterized by comprising a biological information acquisition unit and a processing unit, wherein the biological information acquisition unit comprises an iris information acquisition unit and a face information acquisition unit, and the iris information acquisition unit comprises:
the processing unit is used for acquiring the iris information of the user through the iris information acquisition unit and acquiring the face information of the user through the face information acquisition unit; when biological information is collected, determining the distance between the biological information collecting device and the biological information; determining a first matching threshold of the iris information and a second matching threshold of the face information according to the distance, so that the matching threshold of the biological information is flexibly adjusted according to the distance, and matching the iris information and the face information according to the determined matching threshold; and executing unlocking processing when the iris information and the face information are matched successfully.
12. The unlocking processing method is characterized by being applied to terminal equipment comprising a biological information acquisition device and a processor, wherein the biological information acquisition device comprises an infrared light source, an iris camera and a universal camera module, and comprises the following steps:
the infrared light source emits light for illuminating an iris of a user;
the iris camera collects the iris information of the user irradiated by the light emitted by the infrared light source;
the universal camera module collects the facial information of a user;
the processor determines the distance between the biological information acquisition device and the biological information when acquiring the biological information; determining a first matching threshold of the iris information and a second matching threshold of the face information according to the distance, so that the matching threshold of the biological information is flexibly adjusted according to the distance, and matching the iris information and the face information according to the determined matching threshold; and executing unlocking processing when the iris information and the face information are matched successfully.
13. A terminal device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 6-10.
14. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 6-10, the computer comprising a terminal device.
CN201710644584.XA 2017-07-31 2017-07-31 Unlocking processing method and related product Active CN107330316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710644584.XA CN107330316B (en) 2017-07-31 2017-07-31 Unlocking processing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710644584.XA CN107330316B (en) 2017-07-31 2017-07-31 Unlocking processing method and related product

Publications (2)

Publication Number Publication Date
CN107330316A CN107330316A (en) 2017-11-07
CN107330316B true CN107330316B (en) 2020-01-14

Family

ID=60225067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710644584.XA Active CN107330316B (en) 2017-07-31 2017-07-31 Unlocking processing method and related product

Country Status (1)

Country Link
CN (1) CN107330316B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376252B (en) * 2018-02-27 2020-01-10 Oppo广东移动通信有限公司 Control method, control device, terminal, computer device, and storage medium
EP3564748A4 (en) 2018-02-27 2020-04-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Control method, control apparatus, terminal, computer device, and storage medium
CN108333860B (en) * 2018-03-12 2020-01-10 Oppo广东移动通信有限公司 Control method, control device, depth camera and electronic device
CN111474818B (en) * 2018-03-12 2022-05-20 Oppo广东移动通信有限公司 Control method, control device, depth camera and electronic device
CN108594451B (en) * 2018-03-12 2020-01-24 Oppo广东移动通信有限公司 Control method, control device, depth camera and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279297A (en) * 2013-05-17 2013-09-04 广东欧珀移动通信有限公司 Method for unlocking screen of mobile terminal
CN105095845A (en) * 2014-05-22 2015-11-25 宁波舜宇光电信息有限公司 Iris and face identification system as well as application and method thereof
CN105095847A (en) * 2014-05-16 2015-11-25 北京天诚盛业科技有限公司 Iris identification method and apparatus for mobile terminal
CN106250751A (en) * 2016-07-18 2016-12-21 青岛海信移动通信技术股份有限公司 A kind of mobile device and the method adjusting sign information detection threshold value
CN106485123A (en) * 2016-10-17 2017-03-08 信利光电股份有限公司 A kind of cold screen awakening method and intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10109126B2 (en) * 2016-01-12 2018-10-23 Chi-Wei Chiu Biological recognition lock system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279297A (en) * 2013-05-17 2013-09-04 广东欧珀移动通信有限公司 Method for unlocking screen of mobile terminal
CN105095847A (en) * 2014-05-16 2015-11-25 北京天诚盛业科技有限公司 Iris identification method and apparatus for mobile terminal
CN105095845A (en) * 2014-05-22 2015-11-25 宁波舜宇光电信息有限公司 Iris and face identification system as well as application and method thereof
CN106250751A (en) * 2016-07-18 2016-12-21 青岛海信移动通信技术股份有限公司 A kind of mobile device and the method adjusting sign information detection threshold value
CN106485123A (en) * 2016-10-17 2017-03-08 信利光电股份有限公司 A kind of cold screen awakening method and intelligent terminal

Also Published As

Publication number Publication date
CN107330316A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107330316B (en) Unlocking processing method and related product
CN107209855B (en) Authenticating a user by fingerprint identification
US10169639B2 (en) Method for fingerprint template update and terminal device
US9779527B2 (en) Method, terminal device and storage medium for processing image
EP2879095B1 (en) Method, apparatus and terminal device for image processing
US11074466B2 (en) Anti-counterfeiting processing method and related products
KR102077198B1 (en) Facial verification method and electronic device
US10102830B2 (en) Method for adjusting screen displaying direction and terminal
CN107527019B (en) Unlocking control method and related product
US20190332847A1 (en) Face model matrix training method and apparatus, and storage medium
WO2019011106A1 (en) State control method and related product
US10831873B2 (en) Method for enabling biometric recognition pattern and related products
CN107808081B (en) Reminding method and related equipment
CN204515794U (en) Electronic equipment
US11151398B2 (en) Anti-counterfeiting processing method, electronic device, and non-transitory computer-readable storage medium
CN107480998B (en) Information processing method and related product
EP2919091A1 (en) Electronic device using the ground of control signal line as an antenna
CN107909011A (en) Face identification method and Related product
WO2020211387A1 (en) Electronic contract displaying method and apparatus, electronic device, and computer readable storage medium
US10949573B2 (en) Unlocking control methods and related products
CN107295192B (en) Unlocking control method and related product
CN107463819B (en) Unlocking processing method and related product
CN107484168B (en) Biometric unlocking method and related product
CN108391049A (en) Filming control method and relevant device
CN110619302A (en) Vein identification method and related product

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant