The terms "first," "second," and the like in the description and claims of the present invention and in the above-described 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.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
The mobile terminal described in the embodiment of the invention is provided with a biological information acquisition device, and the biological information acquisition device specifically comprises a fingerprint information acquisition device, an iris information acquisition device and a face information acquisition device, wherein the fingerprint information acquisition device can be a fingerprint sensor module, the iris information acquisition device can comprise an infrared light supplement lamp and an iris camera, and the face information acquisition device can be a general camera module, such as a front camera. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal 100 according to an embodiment of the present invention, where the mobile terminal 100 includes: the mobile terminal comprises a shell, a touch display screen, a main board, a battery and an auxiliary board, wherein an infrared light supplement lamp 21, an iris camera 22, a front camera 23, a processor 110, a memory 120, a SIM card slot and the like are arranged on the main board, a vibrator, an integrated sound cavity, a VOOC flash charging interface and a fingerprint module 24 are arranged on the auxiliary board, the infrared light supplement lamp 21 and the iris camera 22 form an iris information acquisition device of the mobile terminal 100, the front camera 23 forms a facial information acquisition device of the mobile terminal 100, the fingerprint sensor module 24 forms a fingerprint information acquisition device of the mobile terminal 100, 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 mobile terminal 100, wherein,
when the biological information acquisition device is an iris information acquisition device, the infrared light supplement lamp 21 is used for emitting infrared light to irradiate the iris of a user to form reflected light, the iris camera 22 is used for collecting the reflected light to form an iris image, the processor 110 acquires the iris image and then executes processing procedures of iris image quality evaluation, iris region positioning (including coarse positioning and fine positioning), iris preprocessing, iris feature point extraction, iris template generation and the like aiming at the iris image, and the generated iris template is the biological information.
A specific implementation of acquiring the biological information may be that the biological information acquisition device acquires a biological image of the user.
The infrared acquisition device is used for acquiring the iris image of the current user.
The memory is used for storing the iris image template.
The processor 110 is configured to obtain a current environment brightness value of the mobile terminal; determining a target working mode of the infrared acquisition device according to the current environment brightness value; and controlling the infrared acquisition device to acquire the iris image of the current user in the target working mode.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the current environment brightness value of the mobile terminal, then determines the target working mode of the infrared acquisition device according to the current environment brightness value, and finally controls the infrared acquisition device to acquire the iris image of the current user in the target working mode. Therefore, the mobile terminal determines the current environment brightness value before iris recognition, determines the target working mode of the infrared acquisition device according to the environment brightness value, is beneficial to position reminding of the infrared acquisition device for a user when the environment brightness is low, and accordingly improves reliability and accuracy of iris recognition of the mobile terminal.
In one possible example, the infrared collection device includes an infrared camera and an infrared light supplement device, and the infrared light supplement device includes an infrared light supplement lamp and a controllable optical filter; the working modes of the infrared acquisition device comprise a first working mode and a second working mode; the first working mode is to filter infrared light emitted by the infrared light supplement lamp through the controllable optical filter; the second working mode is to filter the infrared light emitted by the infrared fill light head without passing through the controllable optical filter,
in this possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the processor 110 is specifically configured to: when the target working mode is detected to be the first working mode, the controllable optical filter is rotated to the light emitting direction of the infrared light supplement lamp, so that the contact area between the controllable optical filter and the infrared light supplement lamp is 1; or, when it is detected that the target operating mode is the second operating mode, the controllable optical filter is rotated to a non-light emitting direction of the infrared light supplement lamp, so that a contact area between the controllable optical filter and the infrared light supplement lamp is 0.
In one possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the processor 110 is specifically configured to: and determining a target working mode of the infrared acquisition device corresponding to the current environment brightness value according to a mapping relation between a prestored environment brightness value and a working mode of the infrared acquisition device.
In this possible example, in terms of determining the target operating mode of the infrared acquisition device corresponding to the current environmental brightness value according to the mapping relationship between the pre-stored environmental brightness value and the operating mode of the infrared camera, the processor 110 is specifically configured to: when the current environment brightness value is detected to be larger than or equal to a preset brightness threshold value, the target working mode is a first working mode; when the current environment brightness value is detected to be smaller than a preset brightness threshold value, the target working mode is a second working mode;
referring to fig. 2A, fig. 2A is a schematic flowchart of a method for acquiring an iris image according to an embodiment of the present invention, and the method is applied to a mobile terminal, and as shown in the figure, the method for acquiring an iris image includes:
s201, the mobile terminal acquires the current environment brightness value of the mobile terminal.
The mobile terminal may obtain a current environment brightness value through a sensor, such as a light sensor.
When the mobile terminal is in different environments or places, different environment brightness values can be detected, the environment brightness in the embodiment of the invention can be environment illumination, and generally different places have appropriate common illumination. For example, the illuminance of bedroom is generally 150-300Lux optimal, the illuminance of study room is generally about 100Lux optimal, the illuminance of corridor and stairs is generally 40-80Lux, and the illuminance of garage warehouse is generally about 30-70 Lux. The Lux is a unit of illumination, the illumination generated on the ground in full months is 0.2Lux, the illumination is dark at the moment, and the ambient brightness is low.
And S202, the mobile terminal determines a target working mode of the infrared acquisition device according to the current environment brightness value.
The working mode of the infrared acquisition device is more than one, and the working mode of the infrared acquisition device can be determined according to the detected current environment brightness value.
And S203, the mobile terminal controls the infrared acquisition device to acquire the iris image of the current user in the target working mode.
After the target working mode of the infrared acquisition device is determined, the infrared acquisition device can be switched to the target working mode to acquire the iris image of the user.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the current environment brightness value of the mobile terminal, then determines the target working mode of the infrared acquisition device according to the current environment brightness value, and finally controls the infrared acquisition device to acquire the iris image of the current user in the target working mode. Therefore, the mobile terminal determines the current environment brightness value before iris recognition, determines the target working mode of the infrared acquisition device according to the environment brightness value, is beneficial to position reminding of the infrared acquisition device for a user when the environment brightness is low, and accordingly improves reliability and accuracy of iris recognition of the mobile terminal.
In one possible example, the infrared collection device includes an infrared camera and an infrared light supplement device, and the infrared light supplement device includes an infrared light supplement lamp and a controllable optical filter; the working modes of the infrared acquisition device comprise a first working mode and a second working mode; the first working mode is to filter infrared light emitted by the infrared light supplement lamp through the controllable optical filter; the second working mode is to filter the infrared light emitted by the infrared light supplement lamp cap without passing through the controllable optical filter.
Wherein, infrared collection system includes infrared camera and infrared light filling device, and infrared camera is used for gathering the infrared light that reflects back behind user's iris in order to form the iris image, and infrared light can be gone out to infrared light filling device.
The infrared light supplement device includes an infrared light supplement lamp and a controllable optical filter, as shown in fig. 2B, which is a schematic diagram of a possible optical filter provided in an embodiment of the present invention, where 24 is an optical filter. The infrared light supplement lamp is used for emitting infrared light, and the optical filter is used for filtering out the light of specific part, lets the light of other parts pass through.
When the wavelength of the infrared lamp is 810nm, as the spectrum of the infrared lamp is difficult to narrow, the infrared lamp can automatically drive the nearby 780nm visible light to work together, so that a user can see part of red light, the appearance vision of the user is influenced, the visible light is filtered through the optical filter, only the infrared light is reserved, and at the moment, the user cannot see the red light.
Wherein, the transmittance of the controllable optical filter is more than 80% for infrared light with the wavelength of more than or equal to 810 nm; the transmittance of visible light with the wavelength less than 810nm is less than 5 percent.
The controllable optical filter can adjust the position, so that the infrared acquisition device has two working modes, the first working mode is to filter infrared light emitted by the infrared light supplement lamp through the controllable optical filter, the second working mode is to filter infrared light emitted by the infrared light supplement lamp without the controllable optical filter, and the first working mode and the second working mode can be switched by changing the position relation between the controllable optical filter and the infrared flash lamp.
Therefore, in this example, a controllable optical filter is added to the infrared light supplement device, so that the infrared light supplement device has two corresponding working modes, i.e., the optical filter is used and the optical filter is not used, and different beneficial effects are achieved respectively, and the improvement of the richness of the functions of the infrared light supplement device is facilitated.
In this possible example, the determining the target operating mode of the infrared acquisition device according to the current ambient brightness value includes: when the target working mode is detected to be the first working mode, the controllable optical filter is rotated to the light emitting direction of the infrared light supplement lamp, so that the contact area between the controllable optical filter and the infrared light supplement lamp is 1; or, when it is detected that the target operating mode is the second operating mode, the controllable optical filter is rotated to a non-light emitting direction of the infrared light supplement lamp, so that a contact area between the controllable optical filter and the infrared light supplement lamp is 0.
Wherein, first mode is that the infrared light that sends infrared light filling lamp filters through controllable light filter, for the first mode who realizes infrared collection system, can set up a rotating base for controllable light filter, when controllable light filter rotates the luminous direction to infrared light filling lamp to controllable light filter and infrared light filling lamp's area of contact is 1, and all light that infrared light filling lamp sent this moment all can pass through the light filter, and the light filter can filter visible light. The second working mode is that the infrared light emitted by the infrared light supplement lamp is not filtered through the controllable optical filter, the controllable optical filter can be rotated to the non-light emitting direction of the infrared light supplement lamp for realizing the second working mode of the infrared acquisition device, the contact area of the controllable optical filter and the infrared light supplement lamp is 0, and all light emitted by the infrared light supplement lamp cannot pass through the optical filter. Fig. 2C is a schematic reference diagram of the infrared collection device operating in the first operating mode and the second operating mode.
The switching between the first working mode and the second working mode can be realized by changing the position relationship between the controllable optical filter and the infrared flash lamp, the controllable optical filter can be controlled to rotate, the controllable optical filter can also be slid, and the position relationship between the controllable optical filter and the infrared flash lamp is changed by the driving device, so that the switching between the first working mode and the second working mode is realized.
Therefore, in this example, the first working mode and the second working mode of the infrared light supplement device are switched by changing the position of the controllable optical filter, which is beneficial to improving the function richness of the infrared light supplement device.
In a possible example, the determining the target operation mode of the infrared acquisition device according to the current ambient brightness value includes: and determining a target working mode of the infrared acquisition device corresponding to the current environment brightness value according to a mapping relation between a prestored environment brightness value and a working mode of the infrared acquisition device.
The target working mode of the infrared acquisition device is determined according to the current environment brightness, the mobile terminal can establish a mapping relation between the environment brightness and the working mode of the infrared acquisition device, and the mapping relation can be inquired after the current environment brightness value is determined, so that the target working mode of the infrared acquisition device is determined.
Therefore, in this example, a user can establish a mapping relationship between the current environment brightness value and the working mode of the infrared acquisition device in a user-defined manner, so that the mobile terminal can automatically switch the infrared acquisition device to the corresponding target working mode after determining the current environment brightness value, and the user experience can be improved.
In this possible example, the determining, according to a mapping relationship between a pre-stored environment brightness value and a working mode of the infrared camera, a target working mode of the infrared acquisition device corresponding to the current environment brightness value includes: when the current environment brightness value is detected to be larger than or equal to a preset brightness threshold value, the target working mode is a first working mode; and when the current environment brightness value is detected to be smaller than a preset brightness threshold value, the target working mode is a second working mode.
The mapping relationship between the pre-stored environment brightness value and the infrared camera may be that when the environment brightness value is greater than or equal to a preset brightness threshold, the corresponding target working mode is the first working mode, and when the environment brightness value is less than the preset brightness threshold, the corresponding target working mode is the second working mode. For example, the preset brightness threshold is 1Lux, when the user is in a dark environment, the ambient brightness is lower than 1Lux, and when the user performs iris recognition, the accuracy of iris image acquisition can be affected due to the fact that the position of the infrared camera cannot be seen clearly.
It is thus clear that, in this example, through switching infrared light filling device to second operating mode under the low irradiant circumstances for the user can see the visible light ruddiness that infrared light filling lamp sent, thereby realizes infrared collection system's position and reminds, is favorable to improving the accuracy that iris image gathered.
In accordance with the embodiment shown in fig. 2A, please refer to fig. 3, fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown, the mobile terminal includes 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, and the programs include instructions for performing the following steps;
acquiring a current environment brightness value of the mobile terminal;
determining a target working mode of the infrared acquisition device according to the current environment brightness value;
and controlling the infrared acquisition device to acquire the iris image of the current user in the target working mode.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the current environment brightness value of the mobile terminal, then determines the target working mode of the infrared acquisition device according to the current environment brightness value, and finally controls the infrared acquisition device to acquire the iris image of the current user in the target working mode. Therefore, the mobile terminal determines the current environment brightness value before iris recognition, determines the target working mode of the infrared acquisition device according to the environment brightness value, is favorable for providing the position of the infrared acquisition device by emitting visible light through the infrared flash lamp when the environment brightness is low, and is favorable for acquiring iris images.
In one possible example, the infrared collection device includes an infrared camera and an infrared light supplement device, and the infrared light supplement device includes an infrared light supplement lamp and a controllable optical filter; the working modes of the infrared acquisition device comprise a first working mode and a second working mode;
the first working mode is to filter infrared light emitted by the infrared light supplement lamp through the controllable optical filter;
the second working mode is to filter the infrared light emitted by the infrared light supplement lamp cap without passing through the controllable optical filter.
In one possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the instructions in the program are specifically configured to perform the following steps:
when the target working mode is detected to be the first working mode, the controllable optical filter is rotated to the light emitting direction of the infrared light supplement lamp, so that the contact area between the controllable optical filter and the infrared light supplement lamp is 1; or,
and when the target working mode is detected to be the second working mode, rotating the controllable optical filter to the non-light-emitting direction of the infrared light supplement lamp, so that the contact area between the controllable optical filter and the infrared light supplement lamp is 0.
In one possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the instructions in the program are specifically configured to perform the following steps:
and determining a target working mode of the infrared acquisition device corresponding to the current environment brightness value according to a mapping relation between a prestored environment brightness value and a working mode of the infrared acquisition device.
In one possible example, in terms of determining the target operating mode of the infrared acquisition device corresponding to the current environmental brightness value according to the mapping relationship between the pre-stored environmental brightness value and the operating mode of the infrared camera, the instructions in the program are specifically configured to execute the following steps:
when the current environment brightness value is detected to be larger than or equal to a preset brightness threshold value, the target working mode is a first working mode;
and when the current environment brightness value is detected to be smaller than a preset brightness threshold value, the target working mode is a second working mode.
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 mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described 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. 4 shows a block diagram of a possible functional unit composition of the mobile terminal involved in the above embodiments. The mobile terminal 400 includes: a processing unit 402 and an acquisition unit 403. Processing unit 402 is configured to control and manage the actions of the mobile terminal, e.g., processing unit 402 is configured to enable the mobile terminal to perform steps S201-S203 in fig. 2A and/or other processes for the techniques described herein. The acquisition unit 403 is used for supporting communication between the mobile terminal and other devices. The mobile terminal may further include a storage unit 401 for storing program codes and data of the mobile terminal.
The processing unit 402 is configured to obtain a current environment brightness value of the mobile terminal; the target working mode of the infrared acquisition device is determined according to the current environment brightness value; and the infrared acquisition device is used for controlling the acquisition unit to acquire the iris image of the current user in the target working mode.
In one possible example, the infrared collection device includes an infrared camera and an infrared light supplement device, and the infrared light supplement device includes an infrared light supplement lamp and a controllable optical filter; the working modes of the infrared acquisition device comprise a first working mode and a second working mode; the first working mode is to filter infrared light emitted by the infrared light supplement lamp through the controllable optical filter; the second working mode is to filter the infrared light emitted by the infrared light supplement lamp cap without passing through the controllable optical filter.
In one possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the processing unit 402 is specifically configured to: when the target working mode is detected to be the first working mode, the controllable optical filter is rotated to the light emitting direction of the infrared light supplement lamp, so that the contact area between the controllable optical filter and the infrared light supplement lamp is 1; or, when it is detected that the target operating mode is the second operating mode, the controllable optical filter is rotated to a non-light emitting direction of the infrared light supplement lamp, so that a contact area between the controllable optical filter and the infrared light supplement lamp is 0.
In one possible example, in the aspect of determining the target operation mode of the infrared acquisition device according to the current ambient brightness value, the processing unit 402 is specifically configured to: and determining a target working mode of the infrared acquisition device corresponding to the current environment brightness value according to a mapping relation between a prestored environment brightness value and a working mode of the infrared acquisition device.
In one possible example, in terms of determining the target operating mode of the infrared acquisition device corresponding to the current environmental brightness value according to the mapping relationship between the pre-stored environmental brightness value and the operating mode of the infrared camera, the processing unit 402 is specifically configured to: when the current environment brightness value is detected to be larger than or equal to a preset brightness threshold value, the target working mode is a first working mode; and the target working mode is a second working mode when the current environment brightness value is detected to be smaller than a preset brightness threshold value.
The processing unit 402 may be a processor or a controller, the collecting unit 403 may be a biological information collecting device, such as an iris information collecting device, a face information collecting device, a fingerprint information collecting device, and the like, and the storage unit 401 may be a memory.
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 mobile terminal.
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 described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
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 above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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 may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. 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, or a network device) to execute all or part of the steps of the above methods 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.