This disclosure relates to the technical field of terminals, and more particularly to a method for fingerprint collection and related products.
With the increasing use of terminals such as smart phones, almost everybody has a smart phone. The existing smart phones generally adopt fingerprint recognition technology. The fingerprint recognition technology can be used in unlocking, mobile payment and other functions of the terminals.
Optical fingerprint recognition technology has good stability and high recognition sensitivity, and thus is widely used in fingerprint sensors of various terminals. The optical fingerprint sensor generally includes a light source and an optical fingerprint detection module. An imaging principle of optical fingerprint recognition is as follows. The light source emits lights, and the lights are reflected to the optical fingerprint sensor after passing through a surface of a display screen pressed by a finger. The optical fingerprint sensor receives the reflected lights and converts the reflected lights into fingerprint data for processing, so as to form a fingerprint image. A principle of fingerprint match is as follows. The optical fingerprint sensor matches the formed fingerprint image with a pre-stored fingerprint image to obtain a matching result.
However, the reflected lights received by the optical fingerprint sensor may be easily affected by ambient lights, which may cause errors in the collected fingerprint data, thereby affecting the result of fingerprint matching.
In implementations of the disclosure, a method for fingerprint collection and related products are provided.
In a first aspect of the disclosure, a method for fingerprint collection is provided. The method includes the following. In response to a receipt of a fingerprint collection instruction, an intensity of each of ambient lights having at least two different frequencies at a current time point is determined via an optical sensor of a terminal. A target frequency is determined, where the target frequency is a frequency of one ambient light having a lowest ambient light intensity among the ambient light having the at least two different frequencies. Control light emission of an internal light source of an optical fingerprint sensor of the terminal at least according to the target frequency so as to collect fingerprint data via the optical fingerprint sensor.
In a second aspect of the disclosure, a terminal is provided. The terminal includes an application processor (AP), an optical sensor, and an optical fingerprint sensor. The optical sensor is configured to detect, in response to a receipt of a fingerprint collection instruction, an intensity of each of ambient lights having at least two different frequencies at a current time point. The AP is configured to determine a target frequency, where the target frequency is a frequency of one ambient light having a lowest ambient light intensity among the ambient lights having the at least two different frequencies. The optical fingerprint sensor includes an internal light source and is configured to collect fingerprint data when the internal light source is controlled by the AP to emit lights at least according to the target frequency.
In a third aspect of the disclosure, a non-transitory computer readable storage medium is provided. The non-transitory computer readable storage medium is configured to store executable program codes which, when executed, are operable with a processor to: determine, in response to a receipt of a fingerprint collection instruction, an intensity of each of ambient lights having at least two different frequencies at a current time point via an optical sensor of the terminal; determine a target frequency, the target frequency being a frequency of one ambient light having a lowest ambient light intensity among the ambient lights having the at least two different frequencies; control light emission of an internal light source of an optical fingerprint sensor of the terminal at least according to the target frequency so as to collect fingerprint data via an optical fingerprint sensor.
In order to describe technical solutions of implementations of the disclosure or the related art more clearly, the following will give a brief description of accompanying drawings used for describing the implementations of the disclosure or the related art. Apparently, the accompanying drawings described below merely illustrate some implementations of the disclosure. Those of ordinary skill in the art can also obtain other accompanying drawings based on the accompanying drawings described below without creative efforts.
In order to enable those skilled in the art to better understand solutions of the disclosure, technical solutions embodied in implementations of the disclosure will be described in a clear and comprehensive manner in conjunction with the accompanying drawings. It is evident that the implementations described herein are merely some rather than all of the implementations of the disclosure. All other implementations obtained by those of ordinary skill in the art based on the implementations of the disclosure without creative efforts shall fall within the protection scope of the disclosure.
The terms “first”, “second”, and the like used in the specification, the claims, and the accompany drawings of the present disclosure are used to distinguish different objects rather than describe a particular order. The terms “include”, “comprise”, and “have” as well as variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus including a series of steps or units is not limited to the listed steps or units, on the contrary, it can optionally include other steps or units that are not listed; alternatively, other steps or units inherent to the process, method, product, or device can be included either.
The term “implementation” referred to herein means that a particular feature, structure, or feature described in conjunction with the implementations may be contained in at least one implementation of the present disclosure. The phrase appearing in various places in the specification does not necessarily refer to the same implementation, nor does it refer to an independent or alternative implementation that is mutually exclusive with other implementations. It is expressly and implicitly understood by those skilled in the art that an implementation described herein may be combined with other implementations.
The electronic device involved in the implementations of the present disclosure may include various handheld devices, in-vehicle devices, wearable devices, computing devices that have wireless communication functions or other processing devices connected to the wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, and the like. For the convenience of description, the devices mentioned above are collectively referred to as terminals.
The following will describe the technical solutions of the disclosure in detail.
To better understand implementations of the disclosure, a work principle of an optical fingerprint sensor provided in the implementations of the present disclosure is introduced first.
As illustrated in an enlarged area indicated by dotted lines in
The optical sensor 102 is configured to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point when the terminal 100 receives a fingerprint collection instruction, and send the intensity of each of the ambient lights having the at least two different frequencies to the AP.
In one example, the fingerprint collection instruction may be input in response to a user's input or may be generated in response to a user's touch on a touch display screen. The touch display screen sends a fingerprint collection instruction to the AP 101 of the terminal 100. When the terminal 100 receives the fingerprint collection instruction, the optical sensor 102 is controlled to detect the intensity of each of the ambient lights having the at least two different frequencies among the ambient lights at the current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP. The optical sensor 102 can detect the intensity of each of the ambient lights having the at least two different frequencies. For example, the optical sensor 102 can detect an ambient light intensity of red light having a wavelength of 630 nm and an ambient light intensity of green light having a wavelength of 520 nm among the ambient lights at the current time point. According to the implementations of the disclosure, the intensity of each of ambient lights having different frequencies can be detected by the optical sensor 102, which can reduce the influence of a light of a certain frequency among the ambient lights on fingerprint data collected by the optical fingerprint sensor 103, where the light of the certain frequency has a high intensity.
The AP 101 is configured to determine a target frequency, where the target frequency is a frequency of one ambient light having a lowest ambient light intensity among the ambient lights having the at least two different frequencies.
The optical fingerprint sensor 103 is configured to collect fingerprint data when the internal light source is controlled by the AP to emit lights at least according to the target frequency.
In the implementation of the disclosure, the optical fingerprint sensor 103 collects the fingerprint data in case that the internal light source is controlled by the AP to emit the lights at least according to the frequency of the one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies. In this way, it is possible to minimize the influence of the ambient lights on the fingerprint data collected by the optical fingerprint sensor 103, thereby improving an accuracy of the fingerprint data obtained by the optical fingerprint collection.
In one implementation, the AP 101 is further configured to determine the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies.
In one implementation, the AP 101 is further configured to obtain a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities.
In one implementation, the optical fingerprint sensor 103 configured to collect the fingerprint data when the internal light source is controlled by the AP to emit the lights at least according to the target frequency is configured to collect the fingerprint data when the internal light source is controlled to emit the lights according to the target frequency and the target light source intensity.
In one example, the optical sensor 102 detects that an intensity of an ambient light having a first frequency at a current time point is 100 candela (cd), an intensity of an ambient light having a second frequency is 150 cd, and an intensity of an ambient light having a third frequency is 200 cd, then the ambient light having the first frequency is an ambient light of the lowest intensity, and the ambient light of the lowest intensity has the intensity of 100 cd. After the AP 101 determines that the lowest ambient light intensity is 100 cd, the AP 101 can further obtains the target light source intensity corresponding to the lowest ambient light intensity according to the correspondence relationship between the ambient light intensities and the light source intensities.
In one example, the correspondence relationship between the ambient light intensities and the light source intensities may be pre-stored in a memory of the terminal, such as a non-transitory memory. Generally, the ambient light intensities have a positive correlation with the light source intensities, the higher an ambient light intensity, the higher a corresponding light source intensity, and a light source intensity is higher than a corresponding ambient light intensity. For example, the corresponding relationship between the ambient light intensities and the light source intensities can be set as a proportion relationship, for instance, a ratio of an ambient light intensity to a corresponding light source intensity is 1:4. As an example, if an ambient light intensity is 50 cd, a corresponding light source intensity is 200 cd. As another example, if an ambient light intensity is 100 cd, a corresponding light source intensity is 400 cd. It is to be noted that the above light intensities are obtained according to normalized processing having the same standard. The ambient light can be deemed as noise. In order to prevent noise from covering up real fingerprint data, it needs to ensure that an intensity of a light emitted by the internal light source 1031 is much higher than that of the ambient light, and in this way, the accuracy of the collected fingerprint data can be improved. In general, the greater a difference between the ambient light intensity and the intensity of the light emitted by the internal light source 1031, the higher the accuracy of the fingerprint data collected by the optical fingerprint sensor 103. Due to a limitation caused by a power of the internal light source 1031, the intensity of the light emitted by the internal light source 1031 is generally adjusted to be maximum when the ambient light is strong.
In one example, if the optical sensor 102 detects, among the ambient lights, that an intensity of a red light having a wavelength of 630 nm at the current time point is 100 cd, an intensity of a green light having a wavelength of 520 nm at the current time point is 200 cd, and an intensity of a blue light having a wavelength of 450 nm at the current time point is 150 cd, the AP 101 may determine that the lowest ambient light intensity among the intensities of the ambient lights having the above three frequencies is 100 cd, and then according to the correspondence relationship between the ambient light intensities and the light source intensities, the AP 101 determines that the target light source intensity corresponding to the lowest ambient light intensity 100 cd is 400 cd. Thereafter, the internal light source 1031 of the optical fingerprint sensor 103 is controlled to emit a light having a wavelength of 630 nm and an intensity of 400 cd so as to collect the fingerprint data. Since the intensity and frequency of the light emitted by the internal light source 1031 of the optical fingerprint sensor 103 can minimize the interference generated by the ambient lights, such that the accuracy of the fingerprint data collected by the optical fingerprint collection can be improved.
In one implementation, the AP 101 is further configured to determine whether a match between the fingerprint data and preset fingerprint template data exists, and determine that a fingerprint verification succeeds in response to the match between the fingerprint data and the preset fingerprint template data.
In one example, the preset fingerprint template data may be pre-stored in the non-transitory memory of the terminal and can be collected by the optical fingerprint sensor 103 in advance.
In one implementation, the AP 101 is further configured to determine whether a total intensity of the ambient lights at the current time point is lower than a preset intensity, and detect whether the current time point falls within a preset night-time interval based on a determination that the total intensity of the ambient lights at the current time point is lower than the preset intensity.
The optical fingerprint sensor 103 is further configured to collect the fingerprint data when the internal light source 1031 is controlled by the AP to emit the lights at least according to the target frequency, upon detecting that the current time point falls within the preset night-time interval.
The preset intensity may be set in advance and stored in the non-transitory memory of the terminal. The preset intensity can be set to be brightness at dusk. Generally, when the total intensity of the ambient lights at the current time point is lower than the preset intensity, it is considered that the ambient light intensity at the current time point is low, and the AP 101 further determines whether the current time point falls within the preset night-time interval. The preset night-time interval referred to herein may be an interval from 19:00 pm to 6:00 am. In one example, when the current time point falls within the preset night-time interval, it can indicate that at the current time point an actual ambient light intensity is low. When the ambient light intensity detected by the optical sensor 102 is low, it is considered that the ambient light intensity detected at the current time point by optical sensor 102 is accurate and the optical fingerprint sensor 103 collects fingerprint data when the internal light source is controlled by the AP to emit the lights at least according to the target frequency. According to the implementations of the disclosure, the ambient light intensity at the current time point and the current time point can be used to determine whether the ambient light intensity detected at the current time point is accurate, and therefore the accuracy of the fingerprint data obtained by the optical fingerprint collection can be further improved.
As illustrated in
When the current time point fails to fall within the preset night-time interval, it indicates that the ambient light intensity detected at the current time point does not match the actual ambient light intensity at the current time point, and thus whether the terminal is in motion is detected by measuring the angular velocity of the terminal with the angular velocity sensor 105. For example, if the current time point is daytime, the terminal is in motion, and the ambient light intensity at the current time point is low, it can be considered that the terminal is in a user's pocket or bag, and the fingerprint collection instruction received by the terminal are likely to be generated by unintended triggering, and then the AP 101 skips execution of the fingerprint collection instruction. According to the implementations of the disclosure, when the ambient light intensity detected at the current time point does not match the actual ambient light intensity at the current time point, determine whether the fingerprint collection instruction received by the terminal is triggered by mistake. When the fingerprint collection instruction is generated by unintended triggering, the fingerprint collection instruction is not executed. According to the implementations of the disclosure, the fingerprint collection triggered unintentionally can be avoided, and therefore the internal light source of the optical fingerprint sensor 103 does not need to be triggered to work, thereby reducing power consumption of the optical fingerprint sensor 103.
As illustrated in
In one example, a fingerprint recognition area of the optical fingerprint sensor is in a first area of the touch display screen 106. The fingerprint collection instruction is generated in response to a user's touch operation on the first area detected by the touch display screen 106.
In one example, when the first area of the touch display screen 106 is touched by the user, the fingerprint collection instruction is generated. The first area may be any preset area of the touch display screen 106. The preset area may be at any position of the touch display screen 106, such as the upper left side (as illustrated in
In one example, the touch display screen 106 may be a thin film transistor-liquid crystal display (TFT-LCD), a light emitting diode (LED) display screen, an organic light-emitting diode (OLED) display screen and the like.
In one example, the touch display screen 106 may include a touch screen and a display screen. The touch screen and the display screen are stacked together, and the display screen is disposed below the touch screen.
According to the implementations of the disclosure, during the fingerprint collection, the internal light source of the optical fingerprint sensor controlled by the AP does not to emit the lights of the same frequency. Instead, the work frequency of the internal light source can be adjusted according to the intensity of each of the ambient lights having different frequencies, such that the influence of the ambient lights on the optical fingerprint collection can be reduced, thereby improving the accuracy of fingerprint data collected via the optical fingerprint collection.
At block 201, when the terminal receives a fingerprint collection instruction, the terminal controls the optical sensor to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP.
At block 202, the terminal determines a target frequency via the AP, where the target frequency is a frequency of one ambient light having a lowest ambient light intensity among the ambient lights having the at least two different frequencies.
At block 203, the terminal control light emission of the internal light source of the optical fingerprint sensor at least according to the target frequency so as to collect fingerprint data via the optical fingerprint sensor.
According to the implementation of the disclosure, when the terminal performs fingerprint collection, the control is performed on the internal light source to emit the lights at least according to the frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies so as to collect fingerprint data via the optical fingerprint sensor, which can minimize the influence of the ambient lights on the fingerprint data collected by the optical fingerprint sensor 103, thereby improving the accuracy of the fingerprint data obtained via the optical fingerprint collection.
At block 301, when the terminal receives a fingerprint collection instruction, the terminal controls the optical sensor to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP.
At block 302, the terminal determines a target frequency via the AP, where the target frequency is a frequency of one ambient light having a lowest ambient light intensity among the ambient lights having the at least two different frequencies.
At block 303, the terminal determines, via the AP, the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies.
At block 304, the terminal obtains, via the AP, a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities.
At block 305, the terminal controls light emission of the internal light source of the optical fingerprint sensor according to the target frequency and the target light source intensity so as to collect the fingerprint data via the optical fingerprint sensor.
According to the implementation of the disclosure, when the terminal performs fingerprint collection, the control is performed on the internal light source to emit the lights according to the frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies, and the intensity corresponding to the lowest ambient light intensity among the intensities of the ambient lights having the at least two different frequencies so as to collect the fingerprint data via the optical fingerprint sensor, such that the influence of the ambient light on the fingerprint data collected by the optical fingerprint sensor can be reduced, thereby improving the accuracy of the fingerprint data obtained by the optical fingerprint collection.
At block 401, when the terminal receives a fingerprint collection instruction, the terminal controls the optical sensor to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP.
At block 402, the terminal determines a target frequency via the AP, where the target frequency is a frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies.
At block 403, the terminal determines the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies via the AP.
At block 404, the terminal obtains a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities via the AP.
At block 405, the terminal control light emission of the internal light source of the optical fingerprint sensor according to the target frequency and the target light source intensity.
At block 406, the terminal determines, via the AP, whether the fingerprint data matches preset fingerprint template data. If yes, proceed to operations at block 407, and otherwise, proceed to operations at block 408.
At block 407, the terminal determines that a fingerprint verification succeeds.
At block 408, the terminal determines that the fingerprint verification fails.
According to the implementation of the disclosure, when the terminal performs fingerprint collection, the control is performed on the internal light source to emit the lights according to the frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies, and the intensity corresponding to the lowest ambient light intensity among the intensities of the ambient lights having the at least two different frequencies so as to collect the fingerprint data via the optical fingerprint sensor, such that the influence of the ambient light on the fingerprint data collected by the optical fingerprint sensor can be reduced as much as possible, and the accuracy of the fingerprint data obtained by the optical fingerprint collection can be improved, thereby improving a success rate of fingerprint matching.
At block 501, when the terminal receives a fingerprint collection instruction, the terminal controls the optical sensor to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP.
At block 502, the terminal determines a target frequency via the AP, where the target frequency is a frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies.
At block 503, the terminal determines the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies via the AP.
At block 504, the terminal obtains a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities via the AP.
At block 505, the terminal determines, via the AP, whether a total intensity of the ambient lights at the current time point is lower than a preset intensity.
At block 506, the terminal detects, via the AP, whether the current time point falls within a preset night-time interval based on a determination that the total intensity of the ambient lights at the current time point is lower than the preset intensity. If yes, proceed to operations at block 509, and otherwise, proceed to operations at block 507.
At block 507, the terminal measures an angular velocity of the terminal via an angular velocity sensor.
At block 508, the terminal skips execution of operations at block 509 and the processes ends, upon detecting that the angular velocity of the terminal is higher than a preset angular velocity.
At block 509, the terminal controls light emission of the internal light source of the optical fingerprint sensor according to the target frequency and the target light source intensity so as to collect the fingerprint data via the optical fingerprint sensor.
At block 510, the terminal determines, via the AP, whether the fingerprint data matches preset fingerprint template data. If yes, proceed to operations at block 511, and otherwise, proceed to operations at block 512.
At block 511, the terminal determines that a fingerprint verification succeeds.
At block 512, the terminal determines that the fingerprint verification fails.
According to the implementation of the disclosure, when the terminal performs fingerprint collection, the control is performed on the internal light source to emit lights according to the frequency of one ambient light which has the lowest ambient light intensity among the ambient lights having the at least two different frequencies, and the intensity corresponding to the lowest ambient light intensity among the intensities of the ambient lights having the at least two different frequencies so as to collect the fingerprint data via the optical fingerprint sensor, such that the influence of the ambient light on the fingerprint data collected by the optical fingerprint sensor can be reduced as much as possible, and the accuracy of the fingerprint data obtained by the optical fingerprint collection can be improved, thereby improving a success rate of fingerprint matching. In this way, the fingerprint collection triggered unintentionally can be avoided, and therefore the internal light source of the optical fingerprint sensor does not need to be triggered to work, thereby reducing the power consumption of the optical fingerprint sensor.
In one implementation, the one or more programs are configured to be performed by the AP 601. The one or more programs include instructions configured to: control, in response to a receipt of a fingerprint collection instruction, the optical sensor 602 to detect an intensity of each of ambient lights having at least two different frequencies among ambient lights at a current time point and to send the intensity of each of the ambient lights having the at least two different frequencies to the AP 601; determine a target frequency via the AP 601, where the target frequency is a frequency of one of the ambient lights having the at least two different frequencies and the one of the ambient lights has the lowest ambient light intensity among ambient lights having the at least two different frequencies; control light emission of the internal light source of the optical fingerprint sensor 603 at least according to the target frequency so as to collect fingerprint data via the optical fingerprint sensor 603.
In one implementation, the one or more programs further include instructions configured to: determine, via the AP 601, the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies; obtain, via the AP 601, a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities. The one or more programs configured to control the light emission of the internal light source of the optical fingerprint sensor 603 at least according to the target frequency is configured to control the light emission of the internal light source of the optical fingerprint sensor 603 according to the target frequency and the target light source intensity.
In one implementation, the one or more programs further include instructions configured to: determine, via the AP 601, whether a match between the fingerprint data and preset fingerprint template data exists; determine that a fingerprint verification succeeds in response to the match between the fingerprint data and the preset fingerprint template data.
In one implementation, the one or more programs further include instructions configured to: determine, via the AP 601, whether a total intensity of the ambient lights at the current time point is lower than a preset intensity; detect, via the AP 601, whether the current time point falls within a preset night-time interval based on a determination that the total intensity of the ambient lights at the current time point is lower than the preset intensity; control the light emission of the internal light source of the optical fingerprint sensor 603 at least according to the target frequency, when the current time point falls within the preset night-time interval.
In one implementation, the terminal further includes an angular velocity sensor 606. The one or more programs further include instructions configured to: measure, via the angular velocity sensor 606, an angular velocity of the terminal when the current time point fails to fall within the preset night-time interval; skip execution of controlling the light emission of the internal light source of the optical fingerprint sensor 603 at least according to the target frequency, when the angular velocity of the terminal is higher than a preset angular velocity.
According to the implementation of the disclosure, the control is performed on the internal light source to emit lights at least according to the frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies, which can minimize the influence of the ambient light on the fingerprint data collected by the optical fingerprint sensor, so as to improve the accuracy of the fingerprint data obtained by the optical fingerprint collection.
In one example, the determining unit 702 is further configured to determine, via the AP, the lowest ambient light intensity among intensities of the ambient lights having the at least two different frequencies. The apparatus 700 further includes a obtaining unit 704. The obtaining unit 704 is configured to obtain, via the AP, a target light source intensity corresponding to the lowest ambient light intensity according to a correspondence relationship between ambient light intensities and light source intensities. The collecting unit 703 configured to control the optical fingerprint sensor to collect the fingerprint data when the internal light source is controlled to emit lights at least according to the target frequency is configured to control the optical fingerprint sensor to collect the fingerprint data when the internal light source is controlled to emit lights according to the target frequency and the target light source intensity.
In one example, the apparatus 705 further includes a judging unit 705. The judging unit 705 is configured to determine, via the AP, whether the fingerprint data matches preset fingerprint template data. The determining unit 702 is configured to determine that a fingerprint verification succeeds when the judging unit 705 determines that the fingerprint data matches the preset fingerprint template data.
In one implementation, the judging unit 705 is further configured to determine whether a total intensity of the ambient lights at the current time point is lower than a preset intensity. The detect unit 701 is configured to detect, via the AP, whether the current time point falls within a preset night-time interval based on a determination that the total intensity of the ambient lights at the current time point is lower than the preset intensity. The collecting unit 703 is configured to control the optical fingerprint sensor to collect the fingerprint data when the internal light source is controlled to emit lights at least according to the target frequency and the current time point falls within the preset night-time interval.
In one implementation, the terminal includes an angular velocity sensor. The apparatus 700 further includes a measuring unit 706 and a skipping unit 707. The measuring unit 706 is configured to measure, via the angular velocity sensor, an angular velocity of the terminal when the current time point fails to fall within the preset night-time interval. The skipping unit 707 is configured to skip execution of performing the control on the internal light source, when the angular velocity of the terminal is higher than a preset angular velocity.
According to the implementation of the disclosure, the control is performed on the internal light source to emit lights at least according to the frequency of one ambient light having the lowest ambient light intensity among the ambient lights having the at least two different frequencies so as to collect fingerprint data via the optical fingerprint sensor, which can minimize the influence of the ambient light on the fingerprint data collected by the optical fingerprint sensor, so as to improve the accuracy of the fingerprint data obtained by the optical fingerprint collection.
Implementations of the disclosure also provide another terminal. As illustrated in
In the following, various components of the mobile phone will be described in detail with reference to
The RF circuit 910 is configured to receive or transmit information. Generally, the RF circuit 910 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with the network or other devices via wireless communication. The wireless communication herein may use any communication standard or protocol, which includes but is not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), E-mail, short messaging service (SMS), and so on.
The memory 920 is configured to store software programs and modules. The processor 980 is configured to execute various function applications and data processing of the mobile phone by running the software programs and the modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, applications required for at least one function, and the like. The data storage area may store data created according to the use of the smart phone, and the like. In addition, the memory 920 may include a high-speed random access memory (RAM), and may further include a non-transitory memory such as at least one disk storage device, a flash device, or other non-transitory solid-state storage devices.
The input unit 930 is configured to receive input digital or character information and generate key signal input associated with user setting and function control of the mobile phone. In one implementation, the input unit 930 may include a fingerprint sensor 931 (e.g., an optical fingerprint sensor), a touch display screen 932, and other input devices 933. The fingerprint sensor 931 can collect fingerprint data of the user. In addition to the fingerprint sensor 931, the input unit 930 may further include other input devices 933. In one implementation, other input devices 933 may include, but not limit to, one or more of a touch screen, a physical key, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 is configured to display information input by the user or information provided for the user or various menus of the mobile phone. The display unit 940 may include a display screen 941. In at least one implementation, the display screen 941 may be in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), and so on. Although the fingerprint sensor 931 and the display screen 941 are illustrated as two separate components in
The mobile phone may further include at least one sensor 950, such as a optical sensor 951, a motion sensor 952, and other sensors. The optical sensor 951 may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust brightness of the display screen 641 according to ambient lights. The proximity sensor may turn off the display screen 641 and/or backlight when the mobile phone reaches near the ear. As a kind of the motion sensor 952, an accelerometer sensor can detect the magnitude of acceleration in all directions (typically three axes), and when the mobile phone is stationary, the accelerometer sensor can detect the magnitude and direction of gravity; the accelerometer sensor can also be applied to applications for identifying mobile-phone gestures (such as vertical and horizontal screen switching, related games, magnetometer attitude calibration), or the accelerometer sensor can be used for vibration-recognition related functions (such as a pedometer, or a percussion) and so on. The mobile phone can also be equipped with an angular velocity sensor, a barometer, a hygrometer, a thermometer, an infrared sensor, and other sensors, and it will not be repeated herein.
The audio circuit 960, a speaker 961, and a microphone 962 may provide an audio interface between the user and the mobile phone. The audio circuit 960 may convert the received audio data into electrical signals and transfer the electrical signals to the speaker 961; thereafter the speaker 961 converts the electrical signals into sound signals for output. On the other hand, the microphone 962 converts the received sound signals into electrical signals, which will be received and converted into audio data by the audio circuit 960 to be output to the processor 980. The audio data is then processed and transmitted by the general-purpose processor 980 via the RF circuit 910 to another mobile phone for example, or the audio data is output to the memory 920 for further processing.
Wi-Fi belongs to a short-range wireless transmission technology. With aid of the Wi-Fi module 970, the mobile phone may assist the user in E-mail receiving and sending, webpage browsing, access to streaming media, and the like. Wi-Fi provides users with wireless broadband Internet access. Although the Wi-Fi module 970 is illustrated in
The processor 980 is a control center of the mobile phone. The processor 980 is configured to connect various parts of the entire smart phone through various interfaces and lines, and to execute various functions of the smart phone and process data by running or executing software programs and/or modules stored in the memory 920 and invoking data stored in the memory 920, thereby monitoring the smart phone as a whole. In at least one example, the processor 980 may include at least one core processing unit. For example, the processor 980 can be integrated with an application processor and a modem processor, where the application processor is mainly configured to handle and maintain an operating system, a user interface, applications, and so on, and the modem processor is mainly configured to process wireless communication. It will be appreciated that the modem processor mentioned above may not be integrated into the processor 980.
The mobile phone also includes a power supply 990 (e.g., a battery) that supplies power to various components. For instance, the power supply 990 may be logically coupled to the processor 980 via a power management system to achieve management of charging, discharging, and power consumption through the power management system.
Although not illustrated, a camera, a Bluetooth module, etc. may further be included in the mobile phone, which will not be elaborated herein.
Implementations of the disclosure also provide a computer storage medium. The computer storage medium is configured to store computer programs for electronic data interchange. The computer programs are operable with a computer to perform all or part of the operations of any of the methods described in the above method implementations
Implementations of the disclosure also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing computer programs. The computer programs are operable with a computer to perform all or part of the operations of any of the methods described in the above method implementations.
It is to be noted that, for the sake of simplicity, the foregoing method implementations are described as a series of action combinations, however, it will be appreciated by those skilled in the art that the disclosure is not limited by the sequence of actions described. According to the present disclosure, certain steps or operations may be performed in other order or simultaneously. Besides, it will be appreciated by those skilled in the art that the implementations described in the specification are exemplary implementations and the actions and modules involved are not necessarily essential to the present disclosure.
In the foregoing implementations, the description of each implementation has its own emphasis. For the parts not described in detail in one implementation, reference may be made to related descriptions in other implementations.
In the implementations of the disclosure, it should be understood that, the apparatus disclosed in implementations provided herein may be implemented in other manners. For example, the device/apparatus implementations described above are merely illustrative; for instance, the division of the unit is only a logical function division and there can be other manners of division during actual implementations, for example, multiple units or components may be combined or may be integrated into another system, or some features may be ignored or not performed. In addition, coupling or communication connection between each illustrated or discussed component may be direct coupling or communication connection, or may be indirect coupling or communication connection among devices or units via some interfaces, and may be electrical connection, or other forms of connection.
The units described as separate components may or may not be physically separated, the components illustrated as units may or may not be physical units, that is, they may be in the same place or may be distributed to multiple network elements. All or part of the units may be selected according to actual needs to achieve the purpose of the technical solutions of the implementations.
In addition, the functional units in various implementations of the present disclosure may be integrated into one processing unit, or each unit may be physically present, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or a software function unit.
The integrated unit may be stored in a computer-readable memory when it is implemented in the form of a software functional unit and is sold or used as a separate product. Based on such understanding, the technical solutions of the disclosure essentially, or the part of the technical solutions that contributes to the related art, or all or part of the technical solutions, may be embodied in the form of a software product which is stored in a memory and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device and so on) to perform all or part of the steps described in the various implementations of the present disclosure. The memory includes various medium capable of storing program codes, such as a universal serial bus (USB) flash disk, a read-only memory (ROM), a random access memory (RAM), a removable hard disk, Disk, compact disc (CD), or the like.
It will be understood by those of ordinary skill in the art that all or a part of the various methods of the implementations described above may be accomplished by means of a program to instruct associated hardware, the program may be stored in a computer-readable memory, which may include a flash memory, a ROM, a RAM, a disk or a CD, and so on.
The foregoing illustrates the implementations of the present disclosure in detail. The principle and implementations of the present disclosure are illustrated by specific examples. The illustration of the above implementations are merely used to facilitate understanding of the methods and core concept of the present disclosure. For a person skilled in the art, according to the concept of the present disclosure, specific implementations and application ranges may be both changed. Based on the above, the present disclosure shall not be understood to be limited to the specification.
Number | Date | Country | Kind |
---|---|---|---|
201710305875.6 | May 2017 | CN | national |
This application is a continuation of International Application No. PCT/CN2018/082212, filed on Apr. 8, 2018, which claims priority to Chinese Patent Application No. 2017103058756, filed on May 3, 2017, the disclosures of which are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2018/082212 | Apr 2018 | US |
Child | 16584959 | US |