CROSS REFERENCE TO RELATED APPLICATION
BACKGROUND
1. Field of the Disclosure
[0002] The present disclosure relates to an electronic device, and more particularly, to
a control method, a control device, and an electronic device.
2. Description of the Related Art
[0003] For a dry human finger, a higher gain is required for a fingerprint unlocking device
of related art to obtain a fingerprint image with a high signal-to-noise (S/N) ratio.
For a sweaty human finger, a lower gain is required for a finger unlocking device
of related art to obtain a fingerprint image with the high S/N ratio. Taken human
fingers with different dry to wet levels into consideration, the fingerprint unlocking
device needs to adopt different gains to obtain diverse fingerprint images and then
to get fingerprint images with a high S/N ratio. However, it takes a lot of time for
the fingerprint unlocking device to finish the job, which worsens the user experience.
SUMMARY
[0004] An object of the present disclosure is to propose a control method, a control device,
and an electronic device to solve the problems occurring in related art.
[0005] In an embodiment of a first aspect, there is provided a control method of controlling
an electronic device is provided. The control method includes the following blocks.
[0006] The number of times of gains used by a fingerprint sensor of the electronic device
are sequenced when fingerprint unlocking of the electronic device is successful.
[0007] The fingerprint sensor is controlled to directly use a gain with the maximum number
of times to obtain a fingerprint image to conduct fingerprint unlocking.
[0008] According to the control method proposed by the present disclosure, the electronic
device can be quickly unlocked by using the fingerprint image which is obtained by
directly using the gain with the maximum number of times, based on the number of times
of gains of the fingerprint images used for unlocking. It is not only user-friendly
but also makes fingerprint unlocking personalized.
[0009] In an embodiment of a second aspect, there is provided a control device of controlling
an electronic device is provided. The control device includes a processing module
and an unlocking module.
[0010] The processing module is connected to a fingerprint sensor of the electronic device
and is configured to sequence the number of times of gains used by a fingerprint sensor
of the electronic device when fingerprint unlocking of the electronic device is successful.
[0011] The unlocking module is connected to the processing module and is configured to control
the fingerprint sensor to directly use a gain with the maximum number of times to
obtain a fingerprint image to conduct fingerprint unlocking.
[0012] With the control device proposed by the present disclosure, the electronic device
can be quickly unlocked by using the fingerprint image which is obtained by directly
using the gain with the maximum number of times, based on the number of times of gains
of the fingerprint images used for unlocking. It is not only user-friendly but also
makes fingerprint unlocking personalized.
[0013] In an embodiment of a third aspect, there is provided an electronic device includes
the control device as provided above.
[0014] Additional advantages of the present disclosure are clearly shown either from the
detailed description or from realization of the present disclosure.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
Fig. 1 illustrates a schematic flowchart of a control method according to an embodiment
of the present disclosure.
Fig. 2 illustrates a schematic flowchart of a control method according to another
embodiment of the present disclosure.
Fig. 3 illustrates a schematic flowchart of a control method according to still another
embodiment of the present disclosure.
Fig. 4 illustrates a schematic flowchart of a control method according to still another
embodiment of the present disclosure.
Fig. 5 illustrates a schematic flowchart of a control method according to yet another
embodiment of the present disclosure.
Fig. 6 illustrates a schematic block diagram of a control device according to one
embodiment of the present disclosure.
Fig. 7 illustrates a schematic block diagram of a control device according to another
embodiment of the present disclosure.
Fig. 8 illustrates a schematic block diagram of an electronic device according to
one embodiment of the present disclosure.
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0016] Embodiments of the present application are illustrated in detail in the accompanying
drawings, in which like or similar reference numerals refer to like or similar elements
or elements having the same or similar functions throughout the specification. The
embodiments described below with reference to the accompanying drawings are exemplary
and are intended to be illustrative of the present application, and are not to be
construed as limiting the scope of the present application.
[0017] Please refer to Fig. 1, a control method of controlling an electronic device according
to an embodiment of the present disclosure can begin at block S1.
[0018] At block S1, the number of times of gains used by a fingerprint sensor of the electronic
device are sequenced when fingerprint unlocking of the electronic device is successful.
[0019] When the electronic device with the function of fingerprint unlocking is unlocked,
a fingerprint image for unlocking the electronic device is arranged in advance. During
arranging the fingerprint image, the fingerprint sensor collects user's fingerprint
for multiple times to obtain more comprehensive fingerprint information to improve
accuracy of fingerprint unlocking and to store the obtained fingerprint information
in a storage module of the electronic device. When conducting fingerprint unlocking
on the electronic device, the fingerprint sensor collects the fingerprint image of
the user and compares the collected fingerprint with the feature points of the fingerprint
information of a predetermined fingerprint image. If the collected fingerprint matches
the feature points of the fingerprint information, fingerprint unlocking of the electronic
device can be completed.
[0020] When a user's finger touches (presses or slides) the fingerprint sensor, the fingerprint
sensor divides the gains into several levels, such as levels 1 to 10, according to
the humidity property or humidity of the user's finger. A dry finger is a special
case of humidity. When obtaining a fingerprint image, the fingerprint sensor collects
fingerprint images corresponding to all of the gains. Further, the clearest fingerprint
image is chosen from all fingerprint images, that is, a fingerprint image with the
most obvious feature points of the fingerprint information is chosen. The clearest
fingerprint image is used to match the predetermined fingerprint image.
[0021] The electronic device records the gains of the fingerprint images that are adopted
by the fingerprint sensor to compare with the predetermined fingerprint image each
time fingerprint unlocking succeeds. Besides, the gains are sequenced by the electronic
device. For example, the gains are divided into 10 levels, from level 1 to level 10.
On 100 times of successful fingerprint unlocking, Gain levels 1-3 are adopted zero
time; Gain level 4 is adopted 20 times; Gain level 5 is adopted 45 times; Gain level
6 is adopted 25 times; Gain level 7 is adopted 10 times; Gain levels 8-10 are adopted
zero time. The number of times of the adopted gains in descending order is Gain level
5, Gain level 6, Gain level 4, Gain level 7, Gain levels 1-3 and Gain levels 8-10.
[0022] By counting the gains of the fingerprint images, one can learn user's habits or finger's
characteristics so that the electronic device can be associated with the user more
closely.
[0023] At block S2, the fingerprint sensor is controlled to unlock the electronic device
through a fingerprint image corresponding to the gain with the maximum number of times.
[0024] Upon the 101th fingerprint unlocking, the fingerprint sensor adopts the gain with
the maximum number of times directly (gain level 7) to obtain the fingerprint image.
[0025] Based on block S1, it is not necessary to obtain a plurality of fingerprint images
during fingerprint unlocking of the device. It saves a lot of time on fingerprint
unlocking.
[0026] Absolutely, the number of times recorded is not limited to the specific number, i.e.
100, introduced in the present embodiment. It is understood that the recorded number
includes the number of successful unlocking before this unlocking.
[0027] The number of adopted gains are re-sequenced after each successful unlocking. In
other words, the sequence of the number of adopted gains is updated.
[0028] For example, upon the first time of fingerprint unlocking, a fingerprint image can
be obtained according to a gain of a predetermined fingerprint image at the time of
setting. Or upon the first time of unlocking the device, a plurality of fingerprint
images corresponding to all gains can be obtained, and the gain corresponding to a
fingerprint image used in a successful fingerprint unlocking is recorded. In the subsequent
process of fingerprint unlocking, based on the current sequence for the finished fingerprint
unlocking, the gain with the maximum number of times is selected to capture a fingerprint
image. That is, the record increases with the number of fingerprint unlocking. Correspondingly,
the sequence of the number of gains varies as the times of fingerprint unlocking.
[0029] In addition, different users are associated with different sequences of number of
times of gains. In this way, a link between user's fingerprint property and the fingerprint
unlocking becomes closer.
[0030] In addition, in some embodiments, generally, a user's finger or environment does
not change greatly in a short time so user's fingerprint does not change, either.
At this time, a fingerprint sensor can be controlled to obtain a fingerprint image
based on a gain used for the last successful fingerprint unlocking to perform fingerprint
unlocking.. In this way, the device is unlocked with the fingerprint quickly; otherwise,
the device is unlocked repeatedly by performing block S2.
[0031] According to the control method proposed by the present disclosure, fingerprint unlocking
can be quickly done by using a fingerprint image which is obtained by directly using
the gain with the maximum number of times, based on the number of gains of the fingerprint
images used for unlocking. It is not only user-friendly but also makes fingerprint
unlocking personalized.
[0032] As Fig. 2 illustrates, block S1 further includes block 11, block 12, block 13, and
block 14 in some embodiments.
[0033] At block S11, the machine learning mode starts.
[0034] The electronic device enables the learning mode after the user operates on a menu.
The user can unlock the device with his fingers for multiple times in the learning
mode. It helps to provide the sequence of number of times of gains with a statistical
base in normal use.
[0035] At block S12, the fingerprint sensor is controlled to obtain a plurality of fingerprint
images based on different gains each time of fingerprint unlocking under the machine
learning mode .
[0036] The fingerprint sensor obtains a plurality of fingerprint images corresponding to
different gains each time fingerprint unlocking is done. Generally, the fingerprint
sensor obtains fingerprint images corresponding to all gains. Or the fingerprint sensor
obtains fingerprint images corresponding to gains with higher chances of successful
fingerprint unlocking.
[0037] At block S13, the plurality of fingerprint images are processed to obtain a fingerprint
image with the highest signal-to-noise ratio and a corresponding gain.
[0038] The plurality of obtained fingerprint images are processed such as the signal-to-noise
ratio of each of the plurality of obtained fingerprint images is calculated. In this
way, a fingerprint image with the highest signal-to-noise ratio is obtained, that
is, a fingerprint image with the most obvious fingerprint information. The gain corresponding
to the fingerprint image with the most obvious fingerprint information is recorded
as well.
[0039] At block S14, the number of times of the corresponding gain is increased by one.
[0040] Therefore, a primary statistics is conducted before the user unlocks the device with
his/her fingerprint to facilitate subsequent use. In the subsequent use, the statistics
for gains are updated constantly to increase success rate of fingerprint unlocking.
[0041] A plurality of gains included in such an embodiment. The gains can be divided into
several levels according to humidity of a human's finger, levels of cleanness of a
human's finger, environmental temperatures, and levels of wet on a human's finger.
Each of the plurality of gains corresponds to a fingerprint image.
[0042] As Fig. 3 illustrates, block S12 further includes block S120.
[0043] At block S120, the fingerprint sensor is controlled to obtain fingerprint images
corresponding to all the gains each time of fingerprint unlocking.
[0044] It is likely that unlocking in some extreme conditions may be ineffective with the
identical gains. As a result, it is impossible to calculate gains with successful
unlocking in corresponding conditions. On the contrary, with fingerprint images corresponding
to all gains obtained each time the device is unlocked, such failure may be avoided
and external qualifications of fingerprint unlocking can be broader, which increases
the success rate of fingerprint unlocking.
[0045] As Fig. 4 illustrates, the control method further includes block S3 and block S4
in some embodiments.
[0046] At block S3, the fingerprint sensor is controlled to obtain fingerprint images that
in a one-to-one correspondence with of the gains, according to the sequence and in
descending order of the number of times of the gains if fingerprint unlocking fails
in block S2.
[0047] Unlocking often fails due to variation of scenes although at block S2, the gain with
the maximum number of times is adopted to obtain a fingerprint image to unlock the
device. For example, a dry finger becomes moist because of a change in weather.
[0048] In such a condition, the electronic device controls the fingerprint sensor to obtain
fingerprint images which the other gains correspond to sequentially in a descending
order according to the order of the gains except for the gain with the maximum number
of times.
[0049] By controlling the fingerprint sensor to obtain fingerprint images that in a one-to-one
correspondence with of the gains according to the sequence and in descending order
of the number of times of the gains, the number of times of comparison in subsequent
unlocking can be decreased.
[0050] At block S4, the fingerprint sensor is controlled to conduct fingerprint unlocking
by sequentially using one fingerprint images that in the one-to-one correspondence
with of the gains .
[0051] Therefore, it is possible to consecutively try fingerprint images corresponding to
other gains to unlock the device until success once the fingerprint image corresponding
to the gain with the maximum number of times fails to unlock the device.
[0052] As Fig. 5 illustrates, block S3 further includes block S31 and S32 in some embodiments.
[0053] At block S31, the fingerprint sensor is controlled to obtain one fingerprint image
corresponding to one gain in descending order of the number of times of the gains.
[0054] At block S32, the fingerprint sensor is controlled to conduct fingerprint unlocking
by using the fingerprint image corresponding to the gain to conduct fingerprint unlocking.
[0055] That is, one fingerprint image is obtained each time in descending order of the number
of times of the gains. The obtained fingerprint image is used for fingerprint unlocking.
The device is unlocked with the obtained fingerprint image. If the unlocking of the
device fails, continue to obtain the fingerprint image; otherwise, stop obtaining
fingerprint images corresponding to other gains.
[0056] Therefore, the number of obtaining fingerprint images can be reduced effectively,
thereby shortening unlock time.
[0057] As Fig. 6 illustrates, a control device 10 is configured to control an electronic
device 20 in the present embodiment.
[0058] The control device 10 includes a processing module 100 and an unlocking module 110.
[0059] The electronic device 20 includes a fingerprint sensor 200.
[0060] The processing module 100 and the fingerprint sensor 200 are connected. The processing
module 100 is configured to sequence the number of times of gains used by the fingerprint
sensor 200 of the electronic device 20 when fingerprint unlocking of the electronic
device 20 is successful.
[0061] The unlocking module 110 and the processing module 100 are connected. The unlocking
module 110 is configured to control the fingerprint sensor 200 to directly use a gain
with the maximum number of times to obtain a fingerprint image to conduct fingerprint
unlocking. The unlocking module 110 is further configured to control the fingerprint
sensor 200 to obtain a fingerprint image based on a gain used for the last successful
fingerprint unlocking to conduct fingerprint unlocking.
[0062] The processing module 100 is further configured to update the sequence of the number
of times of the gains, after the fingerprint unlocking is successful.
[0063] The control device 10 adopts a fingerprint image corresponding to a gain with the
maximum number of times to quickly unlock the device. It is not only user-friendly
but also makes fingerprint unlocking personalized.
[0064] The description of the control method is the same as the description of the control
device 10 introduced in the above-mentioned embodiment. The present disclosure will
not go further on this topic.
[0065] As Fig. 7 illustrates, the control device 10 further includes a learning module 120
in some embodiments.
[0066] The learning module 120 and the processing module 100 are connected. The learning
module 120 is configured to control the control device 10 to enable the machine learning
mode.
[0067] The processing module 100 is further configured to control the fingerprint sensor
200 to obtain a plurality of fingerprint images based on different gains each time
of fingerprint unlocking under the machine learning mode.
[0068] The processing module 100 is further configured to process the plurality of fingerprint
images to obtain a fingerprint image with the highest signal-to-noise ratio and a
corresponding gain.
[0069] The processing module 100 is further configured to increase the number of times of
the corresponding gain by one.
[0070] Therefore, a primary statistics is conducted before the user unlocks the device with
his/her fingerprint to facilitate subsequent use. In the subsequent use, the statistics
for gains are updated constantly to increase success rate of fingerprint unlocking.
[0071] In some embodiments, the gains include a plurality of gains and each gain corresponds
to one fingerprint image. The processing module 100 is further configured to control
the fingerprint sensor 200 to obtain fingerprint images corresponding to all the gains
each time of fingerprint unlocking.
[0072] Conditions may be effectively avoided, for example, unlocking in some extreme conditions
failing with the same gain or the same gains or the statistics for gains for successful
unlocking in corresponding conditions failing. Therefore, external qualifications
of fingerprint unlocking are broader, which increases the success rate of fingerprint
unlocking.
[0073] In some embodiments, the processing module 100 is further configured to control the
fingerprint sensor 200 to obtain fingerprint images that in a one-to-one correspondence
with of the gains, according to the sequence and in descending order of the number
of times of the gains, when fingerprint unlocking conducted through the fingerprint
image corresponding to the gain with the maximum number of times fails.
[0074] The unlocking module 110 is configured to control the fingerprint sensor 200 to conduct
fingerprint unlocking by sequentially using one fingerprint images that in the one-to-one
correspondence with of the gains.
[0075] Therefore, it is possible to consecutively try fingerprint images corresponding to
the other gains to unlock the device until success when fingerprint unlocking conducted
through the fingerprint image corresponding to the gain with the maximum number of
times fails.
[0076] The processing module 100 is configured to control the fingerprint sensor 200 to
obtain one fingerprint image corresponding to one gain in descending order of the
number of times of the gains.
[0077] The unlocking module 110 is configured to control the fingerprint sensor 200 to conduct
fingerprint unlocking by using the fingerprint image corresponding to the gain to
conduct fingerprint unlocking.
[0078] Therefore, it is effective to reduce the frequency and the success of fingerprint
images. In other words, time of unlocking the device shortens.
[0079] It is notified that the description of the control method introduced in the aforementioned
embodiment is the same as the description of the control device 10 introduced in the
present embodiment. The present disclosure will not go further on this topic.
[0080] As Fig. 8 illustrates, the electronic device 20 includes the control device 10 introduced
by the above-mentioned embodiment.
[0081] The electronic device 20 including the control device 10 may adopt a fingerprint
image corresponding to the gain with the maximum number of times to unlock the device
quickly. It is not only user-friendly but also makes fingerprint unlocking personalized.
[0082] In other embodiments, the electronic device 20 may be a cell phone or a tablet computer.
[0083] The electronic device 20 may be used in, but is not limited to, the present embodiment.
[0084] The electronic device 20 with the above-mentioned control method and control device
10 may be applied. Any detail which is not disclosed here may be refer to the same
or similar introductions to the above-mentioned control method and control device
10. The present disclosure will not go further on this topic.
[0085] It is understood that terminologies, such as "center," "longitudinal," "horizontal,"
"length," "width," "thickness," "upper," "lower," "before," "after," "left," "right,"
"vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise,"
are locations and positions regarding the figures. These terms merely facilitate and
simplify descriptions of the embodiments instead of indicating or implying the device
or components to be arranged on specified locations, to have specific positional structures
and operations. These terms shall not be construed in an ideal or excessively formal
meaning unless it is clearly defined in the present specification.
[0086] In addition, the term "first", "second" are for illustrative purposes only and are
not to be construed as indicating or imposing a relative importance or implicitly
indicating the number of technical features indicated. Thus, a feature that limited
by "first", "second" may expressly or implicitly include at least one of the features.
In the description of the present disclosure, the meaning of "plural" is two or more,
unless otherwise specifically defined.
[0087] All of the terminologies containing one or more technical or scientific terminologies
have the same meanings that persons skilled in the art understand ordinarily unless
they are not defined otherwise. For example," arrange," "couple," and "connect," should
be understood generally in the embodiments of the present disclosure. For example,
"firmly connect," "detachablely connect," and "integrally connect" are all possible.
It is also possible that "mechanically connect," "electrically connect," and "mutually
communicate" are used. It is also possible that "directly couple," "indirectly couple
via a medium," and "two components mutually interact" are used.
[0088] All of the terminologies containing one or more technical or scientific terminologies
have the same meanings that persons skilled in the art understand ordinarily unless
they are not defined otherwise. For example, "upper" or "lower" of a first characteristic
and a second characteristic may include a direct touch between the first and second
characteristics. The first and second characteristics are not directly touched; instead,
the first and second characteristics are touched via other characteristics between
the first and second characteristics. Besides, the first characteristic arranged on/above/over
the second characteristic implies that the first characteristic arranged right above/obliquely
above or merely means that the level of the first characteristic is higher than the
level of the second characteristic. The first characteristic arranged under/below/beneath
the second characteristic implies that the first characteristic arranged right under/obliquely
under or merely means that the level of the first characteristic is lower than the
level of the second characteristic.
[0089] Different methods or examples are introduced to elaborate different structures in
the embodiments of the present disclosure. To simplify the method, only specific components
and devices are elaborated by the present disclosure. These embodiments are truly
exemplary instead of limiting the present disclosure. Identical numbers and/or letters
for reference are used repeatedly in different examples for simplification and clearance.
It does not imply that the relations between the methods and/or arrangement. The methods
proposed by the present disclosure provide a variety of examples with a variety of
processes and materials. However, persons skilled in the art understand ordinarily
that the application of other processes and/or the use of other kinds of materials
are possible.
[0090] In the description of this specification, the description of the terms "one embodiment",
"some embodiments", "examples", "specific examples", or "some examples", and the like,
means to refer to the specific feature, structure, material or characteristic described
in connection with the embodiments or examples being included in at least one embodiment
or example of the present disclosure. In the present specification, the term of the
above schematic representation is not necessary for the same embodiment or example.
Furthermore, the specific feature, structure, material, or characteristic described
may be in combination in a suitable manner in any one or more of the embodiments or
examples. In addition, it will be apparent to those skilled in the art that different
embodiments or examples described in this specification, as well as features of different
embodiments or examples, may be combined without contradictory circumstances.
[0091] Any process or method described in the flowchart or otherwise described herein may
be understood to include one or more modules, fragments, or portions of code of an
executable instruction to implement a particular logical function or process. In addition,
the scope of at least one embodiment of the present disclosure includes additional
implementations in which the functions may be performed in a sequence that is not
shown or discussed, including in a substantially simultaneous manner or in the reverse
order depending on the function involved, which is understood by those skilled in
the art to which this present disclosure pertains.
[0092] The logic and/or blocks described in the flowchart or otherwise described herein,
for example, a sequence list of an executable instruction for implementing a logic
function, may be implemented in any computer-readable medium for use by an instruction
execution system, device or equipment (such as a computer-based system, a system including
a processor, or other system that can access instructions from an instruction execution
system, device or equipment and execute instructions), or may be used in conjunction
with the instruction execution system, device or equipment. As used herein, "computer-readable
medium" may be any device that may include a store, communication, broadcast, or transmission
program for use by an instruction execution system, device or equipment, or in conjunction
with such instruction execution systems, device, or equipment. A more specific example
(non-exhaustive list) of the computer-readable medium includes the following: an electrical
connection portion (an electronic device) with one or more routing, a portable computer
disk cartridge (a magnetic device), a random access memory (RAM), a read only memory
(ROM), an erasable programmable read only memory (EPROM or a flash memory), a fiber
optic device, and a portable compact disc read only memory (CDROM). In addition, the
computer-readable medium may even be a paper or other suitable medium on which the
program may be printed. For example, through performing an optical scan on the paper
or other media, followed by editing, interpretation, or, if necessary, other suitable
methods to process, the program is obtained in an electronic manner, and then the
program is stored in a computer memory.
[0093] It should be understood that the various parts of the present disclosure may be implemented
by using hardware, software, firmware, or combinations thereof. In the above embodiment,
the plurality of blocks or methods may be implemented by using software or firmware
stored in the memory and executed by a suitable instruction execution system. For
example, if the present disclosure is implemented by hardware, as in another embodiment,
it may be implemented by any of the following techniques known in the art or a combination
thereof: a discrete logic circuit of logic gates having a logic function for a data
signal, an application specific integrated circuit with suitable combinational logic
gates, a programmable gate array (PGA), a field programmable gate array (FPGA), and
the like.
[0094] It will be understood by those of ordinary skill in the art that all or part of the
blocks for implementing the method of the embodiments described above may be accomplished
by a program that commands the relevant hardware. The program may be stored in a computer
readable storage medium. When the program is executed, one of the blocks of the method
embodiment or a combination thereof may be included.
[0095] In addition, the functional units in the various embodiments of the present disclosure
may be integrated into a processing module, or each unit may be physically present
individually, or two or more units may be integrated into one module. The above integrated
module may be implemented by using hardware, or may be implemented by using a software
function module. The integrated module may be stored in a computer readable storage
medium if it is implemented by a software function module and is sold or used as a
standalone product.
[0096] The above-mentioned storage medium may be a read-only memory, a magnetic disk, or
an optical disk.
[0097] While the embodiments of the present disclosure have been shown and described above,
it is to be understood that the above embodiments are exemplary and are not to be
construed as limiting the present disclosure. One of ordinary skill in the art may
make variations, modifications, substitutions and alterations to the above embodiments
within the scope of the present disclosure.
1. A control method of controlling an electronic device,
characterized in that the control method comprises:
sequencing the number of times of gains used by a fingerprint sensor of the electronic
device when fingerprint unlocking of the electronic device is successful; and
controlling the fingerprint sensor to directly use a gain with the maximum number
of times to obtain a fingerprint image to conduct fingerprint unlocking.
2. The control method of claim 1,
characterized in that the process of sequencing comprises:
enabling a machine learning mode;
controlling, under the machine learning mode, the fingerprint sensor to obtain a plurality
of fingerprint images based on different gains each time of fingerprint unlocking;
processing the plurality of fingerprint images to obtain a fingerprint image with
the highest signal-to-noise ratio and a corresponding gain; and
increasing the number of times of the corresponding gain by one.
3. The control method of claim 2,
characterized in that the gains comprise a plurality of gains and each gain corresponds to one fingerprint
image,
the process that obtain the plurality of fingerprint images based on different gains
comprises:
controlling the fingerprint sensor to obtain fingerprint images corresponding to all
the gains each time of fingerprint unlocking.
4. The control method of claim 1,
characterized in that the process of fingerprint unlocking comprises:
when fingerprint unlocking conducted through the fingerprint image corresponding to
the gain with the maximum number of times fails, controlling the fingerprint sensor
to obtain fingerprint images that in a one-to-one correspondence with of the gains,
according to the sequence and in descending order of the number of times of the gains;
and
controlling the fingerprint sensor to conduct fingerprint unlocking by sequentially
using one fingerprint images that in the one-to-one correspondence with of the gains.
5. The control method of claim 4,
characterized in that controlling the fingerprint sensor to obtain the fingerprint images that in the one-to-one
correspondence with of the gains, according to the sequence and in descending order
of the number of times of the gains comprise:
controlling the fingerprint sensor to obtain one fingerprint image corresponding to
one gain in descending order of the number of times of the gains; and
controlling the fingerprint sensor to conduct fingerprint unlocking by using said
one fingerprint image corresponding to said one gain to conduct fingerprint unlocking.
6. The control method of claim 1,
characterized in that the control method further comprises:
controlling the fingerprint sensor to obtain a fingerprint image based on a gain used
for the last successful fingerprint unlocking to conduct fingerprint unlocking.
7. The control method of claim 1,
characterized in that the control method further comprises:
updating the sequence of the number of times of the gains, after the fingerprint unlocking
is successful.
8. The control method of claim 1, characterized in that the gains comprises a plurality of gains and each gain corresponds to one finger
humidity.
9. The control method of claim 1, characterized in that the gains comprises a plurality of gains and each gain corresponds to one environmental
temperature degree.
10. A control device, configured to control an electronic device,
characterized in that the control device comprises:
a processing module, connected to a fingerprint sensor of the electronic device and
configured to sequence the number of times of gains used by a fingerprint sensor of
the electronic device when fingerprint unlocking of the electronic device is successful;
and
an unlocking module, connected to the processing module and configured to control
the fingerprint sensor to directly use a gain with the maximum number of times to
obtain a fingerprint image to conduct fingerprint unlocking.
11. The control device of claim 10,
characterized in that the control device further comprises:
a learning module, connected to the processing module and configured to control the
control device to enable a machine learning mode; and
the processing module, further configured to control the fingerprint sensor to obtain
a plurality of fingerprint images based on different gains each time of fingerprint
unlocking under the machine learning mode;
the processing module, further configured to process the plurality of fingerprint
images to obtain a fingerprint image with the highest signal-to-noise ratio and a
corresponding gain;
the processing module, further configured to increase the number of times of the corresponding
gain by one.
12. The control device of claim 11, characterized in that the gains comprise a plurality of gains and each gain corresponds to one fingerprint
image; the processing module is further configured to control the fingerprint sensor
to obtain fingerprint images corresponding to all the gains each time of fingerprint
unlocking.
13. The control device of claim 10, characterized in that the processing module is further configured to control the fingerprint sensor to
obtain fingerprint images that in a one-to-one correspondence with of the gains, according
to the sequence and in descending order of the number of times of the gains, when
fingerprint unlocking conducted through the fingerprint image corresponding to the
gain with the maximum number of times fails; the unlocking module is configured to
control the fingerprint sensor to conduct fingerprint unlocking by sequentially using
one fingerprint images that in the one-to-one correspondence with of the gains.
14. The control device of claim 13, characterized in that the processing module is configured to control the fingerprint sensor to obtain one
fingerprint image corresponding to one gain in descending order of the number of times
of the gains; the unlocking module is configured to control the fingerprint sensor
to conduct fingerprint unlocking by using said one fingerprint image corresponding
to said one gain to conduct fingerprint unlocking.
15. The control device of claim 10, characterized in that the unlocking module is further configured to control the fingerprint sensor to obtain
a fingerprint image based on a gain used for the last successful fingerprint unlocking
to conduct fingerprint unlocking.
16. The control device of claim 10, characterized in that the processing module is further configured to update the sequence of the number
of times of the gains, after the fingerprint unlocking is successful.
17. The control device of claim 10, characterized in that the gains comprises a plurality of gains and each gain corresponds to one finger
humidity.
18. The control device of claim 10, characterized in that the gains comprises a plurality of gains and each gain corresponds to one environmental
temperature degree.
19. An electronic device comprising the control device as claimed in any one of claims
10-18.
20. The electronic device as claimed in claim 19 being a cell phone or a tablet computer.