CN108388865A - Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium - Google Patents
Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108388865A CN108388865A CN201810161286.XA CN201810161286A CN108388865A CN 108388865 A CN108388865 A CN 108388865A CN 201810161286 A CN201810161286 A CN 201810161286A CN 108388865 A CN108388865 A CN 108388865A
- Authority
- CN
- China
- Prior art keywords
- algorithm
- fingerprint sensor
- counter
- fingerprint
- timer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Image Input (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Obtaining processing method, mobile terminal and storage medium, method the invention discloses mobile terminal fingerprint image includes:It is stored with the corresponding frequency values that fingerprint image is obtained from fingerprint sensor of each algorithm in the terminal in advance;If fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, the time-out time of timer is reset;If fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, the time-out time of timer is reset;After starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding each algorithm.The present invention is directed to work as mobile terminal to use fingerprint sensor, and in fingerprint sensor comprising many algorithms when being handled based on collected fingerprint image, fingerprint image can be acquired as little as possible, to ensure that fingerprint sensor is worked with greater efficiency, brought convenience for user.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal fingerprint image obtain processing method,
Mobile terminal and storage medium.
Background technology
Be configured with fingerprint sensor currently, being especially in high-end mobile terminal in some mobile terminals, configured with
The legal fingerprint of user elder generation typing, is then closed under mobile terminal screen screen lock state with this in the mobile terminal of fingerprint sensor
Method fingerprint is unlocked mobile terminal, to replace under traditional mobile terminal screen screen lock state with password, picture case
Mode is unlocked screen.
In addition, unlocked by fingerprint also has not with the mode with the unlocks such as password, picture case, unlocked by fingerprint due to be not necessarily to
Mobile terminal carries out human-computer interaction, and need to only place a finger on fingerprint sensor and be solved under mobile terminal black state
Lock;And when carrying out mobile terminal unlock by password, picture case etc., it needs to carry out human-computer interaction with mobile terminal, it is close to complete
The input of code or pattern.
It is as follows come process when being unlocked to mobile terminal with fingerprint under mobile terminal screen screen lock state:It receives in advance
Legal fingerprint is recorded, under screen OFF state, detects fingerprint, judges whether the fingerprint is legal fingerprint, if YES then unlock
Mobile terminal simultaneously controls screen display.Conventionally, as fingerprint detection needs different algorithms to handle, fingerprint passes
Include many algorithms, such as image detection algorithm, fingerprint authentication algorithm, encrypting fingerprint decipherment algorithm etc., these fingerprints inside sensor
It needs to be handled based on collected fingerprint image comprising many algorithms in sensor, due to the sampling frequency between algorithms of different
Rate differs, and may will produce the repeated sampling of fingerprint image, is unfavorable for improving the working efficiency of fingerprint sensor in this way.
Therefore, the existing technology needs to be improved and developed.
Invention content
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of mobile terminal fingerprint images to obtain
Processing method, mobile terminal and storage medium, the present invention is taken to provide a kind of mobile terminal fingerprint image acquisition processing method, it is intended to
When mobile terminal uses fingerprint sensor, carried out based on collected fingerprint image comprising many algorithms in fingerprint sensor
When processing, fingerprint image can be acquired as little as possible, to ensure that fingerprint sensor is worked with greater efficiency, be user with
To facilitate.
In order to achieve the above object, this invention takes following technical schemes:
A kind of mobile terminal fingerprint image acquisition processing method, wherein include the following steps:
A, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored with each algorithm in the terminal in advance
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor;
If B, fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, timer is reset
Time-out time;
If C, fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, resets timing
The time-out time of device;
D, after starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding
Each algorithm.
The mobile terminal fingerprint image obtains processing method, wherein the step B is specifically included:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
The mobile terminal fingerprint image obtains processing method, wherein the step C is specifically included:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, when timer expiry is arranged
Between be t;Counter is closed, and restarts timer;Wherein t=1/fn, fn are the remaining calculation for needing to use fingerprint sensor
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of method;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms pair are obtained
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain the greatest common divisor t of these frequency values inverse;Setting
The timer expiry time is t;Counter is reset, and starts timer.
The mobile terminal fingerprint image obtains processing method, wherein the step D includes:
If D1, current only one algorithm for needing to use fingerprint sensor of unlatching, the algorithm is directly passed to by image;
If D2, currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added one, image is straight
It connects and passes to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter or alternatively
Counter can be by 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is the algorithm from fingerprint sensing
The frequency values of fingerprint image are obtained at device, counter is the value of counter.
A kind of mobile terminal, wherein including:Processor, memory and communication bus;
The computer-readable program that can be executed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The processor realizes following steps when executing the computer-readable program:
A, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored with each algorithm in the terminal in advance
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor;
If B, fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, timer is reset
Time-out time;
If C, fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, resets timing
The time-out time of device;
D, after starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding
Each algorithm.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, when timer expiry is arranged
Between be t;Counter is closed, and restarts timer;Wherein t=1/fn, fn are the remaining calculation for needing to use fingerprint sensor
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of method;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms pair are obtained
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain the greatest common divisor t of these frequency values inverse;Setting
The timer expiry time is t;Counter is reset, and starts timer.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
If D1, current only one algorithm for needing to use fingerprint sensor of unlatching, the algorithm is directly passed to by image;
If D2, currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added one, image is straight
It connects and passes to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter or alternatively
Counter can be by 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is the algorithm from fingerprint sensing
The frequency values of fingerprint image are obtained at device, counter is the value of counter.
A kind of computer readable storage medium, wherein there are one the computer-readable recording medium storages or multiple
Program, one or more of programs can be executed by one or more processor, to realize the movement described in any one
Step in Terminal fingerprints image acquisition process method.
Compared to the prior art, mobile terminal fingerprint image provided by the invention obtains processing method, mobile terminal and deposits
Storage media, the method by configuring fingerprint sensor, counter, timer on mobile terminals;It stores in the terminal
There are the corresponding frequency values that fingerprint image is obtained from fingerprint sensor of each algorithm;If fingerprint sensor needs to use fingerprint
One algorithm of sensor resets counter, resets the time-out time of timer;If fingerprint sensor closing needs to use
To an algorithm of fingerprint sensor, counter is reset, the time-out time of timer is reset;After starting timer, such as
Fruit timer expiry then obtains fingerprint image from fingerprint sensor and is distributed to each algorithm.Make to refer to when mobile terminal use
It, can be as possible in fingerprint sensor comprising many algorithms when being handled based on collected fingerprint image when line sensor
Fingerprint image is acquired less, to ensure that fingerprint sensor is worked with greater efficiency, is promoted user experience, is brought for user
It is convenient.
Description of the drawings
Fig. 1 is the flow chart that mobile terminal fingerprint image provided by the invention obtains processing method.
Fig. 2 is the functional block diagram of mobile terminal preferred embodiment of the present invention.
Specific implementation mode
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to
Limit the present invention.
It is handled in mobile terminal since fingerprint detection needs different algorithms, includes a variety of calculations inside fingerprint sensor
Method, such as image detection algorithm, fingerprint authentication algorithm, encrypting fingerprint decipherment algorithm etc. include a variety of calculations in these fingerprint sensors
Method needs to be handled based on collected fingerprint image, since the sample frequency between algorithms of different differs, may will produce
The repeated sampling of fingerprint image.In order to solve the problems, such as this, the present invention uses following technical scheme.
Include the following steps referring to Fig. 1, mobile terminal fingerprint image provided by the invention obtains processing method:
S100, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored in the terminal in advance each
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of algorithm;
In present invention, it is desirable to being stored in the terminal in advance, each algorithm is corresponding to obtain fingerprint image from fingerprint sensor
The frequency values of picture.For example, image detection algorithm, fingerprint authentication algorithm, encrypting fingerprint decipherment algorithm obtain from fingerprint sensor
The periodic quantity of fingerprint image(The inverse of frequency, here for illustrating to facilitate direct service life)Respectively 40 milliseconds, 20 millis
Second, 50 milliseconds.
If S200 fingerprint sensors need to use an algorithm of fingerprint sensor, counter is reset, it is fixed to reset
When device time-out time.
The step S200 is specifically included:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
Preferably, connecing described in step S100, for example, image detection algorithm obtains the week of fingerprint image from fingerprint sensor
Time value(The inverse of frequency, here for illustrating to facilitate direct service life)It is 40 milliseconds;For example, fingerprint authentication algorithm is from finger
20 milliseconds of the periodic quantity of fingerprint image is obtained at line sensor.For example, encrypting fingerprint decipherment algorithm obtains from fingerprint sensor
50 milliseconds of the periodic quantity of fingerprint image.
If fingerprint sensor needs to use an algorithm of fingerprint sensor in the present invention, counter is reset, is set again
Set the time-out time of timer;For example, due to 40 milliseconds, 20 milliseconds, 50 milliseconds of greatest common divisor is 10 so setting timing
The time-out time of device is 10 milliseconds.
If S300, fingerprint sensor close an algorithm for needing to use fingerprint sensor, counter is reset, is set again
Set the time-out time of timer.
The step S300 is specifically included:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, when timer expiry is arranged
Between be t;Counter is closed, and restarts timer;Wherein t=1/fn, fn are the remaining calculation for needing to use fingerprint sensor
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of method;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms pair are obtained
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain the greatest common divisor t of these frequency values inverse;Setting
The timer expiry time is t;Counter is reset, and starts timer.
In the embodiment of the present invention, if fingerprint sensor closes an algorithm for needing to use fingerprint sensor, meter is reset
Number device, resets the time-out time of timer;It is calculated for example, closing encrypting fingerprint decipherment algorithm and then closing encrypting fingerprint decryption
Method is then only left image detection algorithm, and fingerprint authentication algorithm, they obtain the periodic quantity of fingerprint image from fingerprint sensor
(The inverse of frequency, here for illustrating to facilitate direct service life)Respectively 40 milliseconds, 20 milliseconds, most due to 40,20
Big common divisor is 20 so the time-out time of setting timer is 20 milliseconds.
S400, after starting timer, if timer expiry, obtain and fingerprint image and distribute from fingerprint sensor
To corresponding each algorithm.
After starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to phase
The each algorithm answered.I.e. timer expiry will obtain fingerprint image from fingerprint sensor and be distributed to corresponding each each time
Algorithm.
Specially:
SS44―1:If current only open an algorithm for needing to use fingerprint sensor, image is directly passed to the calculation
Method;For example, current only, there are one algorithm fingerprint authentication algorithms to start, and the periodic quantity of fingerprint image is obtained from fingerprint sensor
(The inverse of frequency, here for illustrating to facilitate direct service life)It it is 20 milliseconds, since 20 greatest common divisor is 20 institutes
Time-out time timer is arranged is 20 milliseconds, when the timer times out after fingerprint image will be directly obtained from fingerprint sensor
It is distributed to the algorithm (referring to fingerprint authentication algorithm).
SS44―2:If currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added
One, image is directly passed to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter
Or alternatively counter can be by 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is the algorithm
The frequency values of fingerprint image are obtained from fingerprint sensor, counter is the value of counter.
For example, only opening image detection algorithm at present, fingerprint authentication algorithm, they obtain fingerprint from fingerprint sensor
The periodic quantity of image(The inverse of frequency, here for illustrating to facilitate direct service life)Respectively 40 milliseconds, 20 milliseconds, by
In 40,20 greatest common divisor be 20 thus setting timer time-out time be 20 milliseconds.When each timer expiry,
Counter counter is added 1, when this timer expiry, fingerprint image will be obtained from fingerprint sensor and be distributed to " phase
The algorithm answered " is somebody's turn to do " corresponding algorithm " and refers to:" the corresponding algorithm " refers to:1/(t*f’)It can be divided exactly by counter
Algorithm, t is the time-out time set by timer, and f ' is that the algorithm obtains the frequency of fingerprint image from fingerprint sensor
Value, counter are the value of counter.
It is assumed herein that counter=1, for fingerprint authentication algorithm, its frequency is 1/20 khz, and counter=1 can quilt
1/(t*f’)=1/ (20*1/20)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/20)=1 aliquot
Counter=1, therefore give the data distribution to fingerprint authentication algorithm;For image detection algorithm, its frequency is 1/40 khz,
Counter=1 cannot be by 1/(t*f’)=1/ (20*1/40)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/
40)=2 aliquant counter=1, therefore do not give the data distribution to fingerprint authentication algorithm;
It is assumed herein that counter=2, for fingerprint authentication algorithm, its frequency is 1/20 khz, and counter=2 can be by 1/(t*
f’)=1/ (20*1/20)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/20)=1 aliquot counter=
2, therefore give the data distribution to fingerprint authentication algorithm;For image detection algorithm, its frequency is 1/40 khz, counter=2
It can be by 1/(t*f’)=1/ (20*1/40)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/40)=2 aliquot
Counter=2, therefore give the data distribution to fingerprint authentication algorithm;
It is assumed herein that counter=3, for fingerprint authentication algorithm, its frequency is 1/20 khz, and counter=3 can be by 1/(t*
f’)=1/ (20*1/20)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/20)=1 aliquot counter=
3, therefore give the data distribution to fingerprint authentication algorithm;For image detection algorithm, its frequency is 1/40 khz, counter=3
It cannot be by 1/(t*f’)=1/ (20*1/40)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/40)=2 cannot
Divide exactly counter=3, therefore does not give the data distribution to fingerprint authentication algorithm.
Compared with prior art, for the still above example, image detection algorithm, both fingerprint authentication algorithms are required for from fingerprint
Data are obtained at sensor, must be obtained twice, and the method for this case then need to only obtain once.This case be equivalent to each algorithm with
An intermediate station is established between fingerprint sensor, and finger print data is uniformly obtained by intermediate station and is distributed to each fingerprint correlation calculation again
Method.The prior art then without this intermediate station, is directly connected with fingerprint sensor respectively by each fingerprint related algorithm, each
Fingerprint related algorithm is mutual indepedent between each other, and data are obtained directly from fingerprint sensor, keep the number of acquisition data more.
Such as in this case, when assuming that when counter=2, for fingerprint authentication algorithm, its frequency is 1/20 khz, counter=2 energy
By 1/(t*f’)=1/ (20*1/20)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/20)=1 aliquot
Counter=2, therefore give the data distribution to fingerprint authentication algorithm;For image detection algorithm, its frequency is 1/40 khz,
Counter=2 can be by 1/(t*f’)=1/ (20*1/40)=2 is divided exactly or alternatively 1/(t*f’)=1/ (20*1/40)
=2 aliquot counter=2, therefore give the data distribution to fingerprint authentication algorithm;The method of this case herein only needs to pass from fingerprint
A data are obtained at sensor, and the prior art obtains two algorithms and obtains data from fingerprint sensor respectively, it altogether will be twice.
Therefore the present invention provides a kind of mobile terminal fingerprint image acquisition processing method, the method is by moving
Configuration fingerprint sensor, counter, timer in dynamic terminal;It is corresponding from fingerprint biography that it is stored with each algorithm in the terminal
The frequency values of fingerprint image are obtained at sensor;If fingerprint sensor needs to use an algorithm of fingerprint sensor, meter is reset
Number device, resets the time-out time of timer;If fingerprint sensor closes an algorithm for needing to use fingerprint sensor,
Counter is reset, the time-out time of timer is reset;After starting timer, if timer expiry, passed from fingerprint
Fingerprint image is obtained at sensor and is distributed to each algorithm.Make when mobile terminal uses fingerprint sensor, in fingerprint sensor
Including many algorithms when being handled based on collected fingerprint image, can acquire fingerprint image as little as possible, to protect
Card fingerprint sensor is worked with greater efficiency, is brought convenience for user.
As shown in Fig. 2, obtaining processing method based on above-mentioned mobile terminal fingerprint image, the present invention further correspondingly provides one kind
Mobile terminal, the mobile terminal can be that the calculating such as mobile phone, desktop PC, notebook, palm PC and server are set
It is standby.The mobile terminal includes processor 10, memory 20 and display screen 30.Fig. 2 illustrates only the members of mobile terminal, but
Be it should be understood that, it is not required that implement all components shown, the implementation that can be substituted is more or less component.
The memory 20 can be the internal storage unit of the mobile terminal in some embodiments, such as mobile whole
The memory at end.The memory 20 can also be the External memory equipment of the mobile terminal in further embodiments, such as
The plug-in type USB flash disk being equipped on the mobile terminal, intelligent memory card(Smart Media Card, SMC), secure digital
(Secure Digital, SD)Card, flash card(Flash Card)Deng.Further, the memory 20 can also both include
The internal storage unit of institute's mobile terminal also includes External memory equipment.The memory 20 is installed on the movement for storing
The application software and Various types of data of terminal, such as the program code etc. for installing mobile terminal.The memory 20 can be with
For temporarily storing the data that has exported or will export.In one embodiment, it is stored on memory 20 mobile whole
Hold fingerprint image obtain processing routine 40, the mobile terminal fingerprint image obtain processing routine 40 can performed by processor 10,
To realize, mobile terminal fingerprint image obtains processing method in the application.
The processor 10 can be a central processing unit in some embodiments(Central Processing Unit,
CPU), microprocessor, mobile phone baseband processor or other data processing chips, for running the journey stored in the memory 20
Sequence code or processing data, such as execute the mobile terminal fingerprint image and obtain processing method etc..
The display screen 30 can be LED display, liquid crystal display, touch liquid crystal display in some embodiments
And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Touch device etc..The display screen 30 is used
In the information for being shown in the mobile terminal and for showing visual user interface.The component 10- of the mobile terminal
30 are in communication with each other by system bus.
In one embodiment, processing routine is obtained when processor 10 executes mobile terminal fingerprint image in the memory 20
Following steps are realized when 40:
A, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored with each algorithm in the terminal in advance
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor;
If B, fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, timer is reset
Time-out time;
If C, fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, resets timing
The time-out time of device;
D, after starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding
Each algorithm.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, when timer expiry is arranged
Between be t;Counter is closed, and restarts timer;Wherein t=1/fn, fn are the remaining calculation for needing to use fingerprint sensor
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of method;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms pair are obtained
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain the greatest common divisor t of these frequency values inverse;Setting
The timer expiry time is t;Counter is reset, and starts timer.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
If D1, current only one algorithm for needing to use fingerprint sensor of unlatching, the algorithm is directly passed to by image;
If D2, currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added one, image is straight
It connects and passes to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter or alternatively
Counter can be by 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is the algorithm from fingerprint sensing
The frequency values of fingerprint image are obtained at device, counter is the value of counter, as detailed above.
It is described computer-readable to deposit the present invention also provides a kind of computer readable storage medium based on above-described embodiment
Storage media is stored with one or more program, and one or more of programs can be executed by one or more processor,
To realize that the mobile terminal fingerprint image as described in above-mentioned any one obtains the step in processing method, as detailed above.
In conclusion mobile terminal fingerprint image provided by the invention obtains processing method, mobile terminal and storage medium
In, the method is by when touch screen is detected and touched, obtaining effective touch coordinate, by effective touch coordinate plus several
Invalid touch coordinate group content in blocks;True head are generated according to the position of effective touch coordinate in piece content;According to true head table
Obtain the corresponding false head of the true head;To by false head, the touch screen data piece that piece content composition exports to mobile terminal
Master controller;When mobile terminal master controller receives above-mentioned data slice, the false head in data slice are obtained, according to true head
Table obtains the corresponding true head of the true head;Effective touch coordinate position in piece content is further obtained by true head;It obtains
Take effective touch coordinate;When user uses touch screen, the coordinate of touch screen output is pre-processed, avoids touching user
Absolute coordinate on the touchscreen, which directly inputs, gives mobile terminal master controller, to ensure the safety of mobile terminal, avoid to
User causes damages, and promotes user experience, provides to the user conveniently.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method,
It is that can instruct related hardware by computer program(Such as processor, controller etc.)It completes, the program can store
In a computer-readable storage medium, which may include the flow such as above-mentioned each method embodiment when being executed.Its
Described in storage medium can be memory, magnetic disc, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect range.
Claims (9)
1. a kind of mobile terminal fingerprint image obtains processing method, which is characterized in that include the following steps:
A, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored with each algorithm in the terminal in advance
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor;
If B, fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, timer is reset
Time-out time;
If C, fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, resets timing
The time-out time of device;
D, after starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding
Each algorithm.
2. mobile terminal fingerprint image according to claim 1 obtains processing method, which is characterized in that the step B tools
Body includes:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
3. mobile terminal fingerprint image according to claim 1 obtains processing method, which is characterized in that the step C tools
Body includes:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, timer expiry is set
Time is t;Counter is closed, and restarts timer;Wherein t=1/fn, fn need to use fingerprint sensor to be remaining
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of algorithm;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms are obtained
The corresponding frequency values f that fingerprint image is obtained from fingerprint sensor;Obtain the greatest common divisor t of these frequency values inverse;If
It is t to set the timer expiry time;Counter is reset, and starts timer.
4. mobile terminal fingerprint image according to claim 1 obtains processing method, which is characterized in that the step D packets
It includes:
If D1, current only one algorithm for needing to use fingerprint sensor of unlatching, the algorithm is directly passed to by image;
If D2, currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added one, image is straight
It connects and passes to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter or counter energy
By 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is that the algorithm obtains from fingerprint sensor
The frequency values of fingerprint image, counter are the value of counter.
5. a kind of mobile terminal, which is characterized in that including:Processor, memory and communication bus;
The computer-readable program that can be executed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The processor realizes following steps when executing the computer-readable program:
A, fingerprint sensor, counter, timer are configured on mobile terminals;It is stored with each algorithm in the terminal in advance
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor;
If B, fingerprint sensor needs to use an algorithm of fingerprint sensor, counter is reset, timer is reset
Time-out time;
If C, fingerprint sensor closes an algorithm for needing to use fingerprint sensor, counter is reset, resets timing
The time-out time of device;
D, after starting timer, if timer expiry, fingerprint image is obtained from fingerprint sensor and is distributed to corresponding
Each algorithm.
6. mobile terminal according to claim 5, which is characterized in that when the processor executes the computer-readable program
Also realize following steps:
B1, the frequency values f that fingerprint sensor newly opens the corresponding acquisition fingerprint image from fingerprint sensor of algorithm is obtained;
If B2, the current algorithm that do not open any need and use fingerprint sensor, it is t that the timer expiry time, which is arranged,;And
Start timer;Wherein, t=1/f;
If B3, the algorithm for currently having turned on one or more fingerprint sensors for needing to use, obtain the algorithm pair having turned on
The frequency values f of fingerprint image is obtained at the slave fingerprint sensor answered;Obtain these frequency values inverse(Including 1/f)Highest common divisor
Number t;The setting timer expiry time is t;Counter is reset if counter is not actuated and starts counter, if counter is
Startup then resets counter, and restarts timer.
7. mobile terminal according to claim 5, which is characterized in that when the processor executes the computer-readable program
Also realize following steps:
If C1, after closing algorithm, not needing the algorithm for using fingerprint sensor, then Off Timer;
If C2, closing after the algorithm that only surplus the next item down needs to use the algorithm of fingerprint sensor, timer expiry is set
Time is t;Counter is closed, and restarts timer;Wherein t=1/fn, fn need to use fingerprint sensor to be remaining
The corresponding frequency values that fingerprint image is obtained from fingerprint sensor of algorithm;
If C3, being left the multinomial algorithm for needing to use fingerprint sensor after closing the algorithm, these remaining algorithms are obtained
The corresponding frequency values f that fingerprint image is obtained from fingerprint sensor;Obtain the greatest common divisor t of these frequency values inverse;If
It is t to set the timer expiry time;Counter is reset, and starts timer.
8. mobile terminal according to claim 5, which is characterized in that when the processor executes the computer-readable program
Also realize following steps:
If D1, current only one algorithm for needing to use fingerprint sensor of unlatching, the algorithm is directly passed to by image;
If D2, currently having turned on the multinomial algorithm for needing to use fingerprint sensor, the value of counter is added one, image is straight
It connects and passes to " corresponding algorithm ";" the corresponding algorithm " refers to:1/(t*f’)Aliquot counter or counter energy
By 1/(t*f’)The algorithm divided exactly, t are the time-out time set by timer, and f ' is that the algorithm obtains from fingerprint sensor
The frequency values of fingerprint image, counter are the value of counter.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize as in claim 1-4
Mobile terminal fingerprint image described in any one obtains the step in processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810161286.XA CN108388865A (en) | 2018-02-27 | 2018-02-27 | Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810161286.XA CN108388865A (en) | 2018-02-27 | 2018-02-27 | Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108388865A true CN108388865A (en) | 2018-08-10 |
Family
ID=63069876
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810161286.XA Pending CN108388865A (en) | 2018-02-27 | 2018-02-27 | Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108388865A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109416739A (en) * | 2018-09-25 | 2019-03-01 | 深圳市汇顶科技股份有限公司 | Under-screen fingerprint collection method, system and electronic device based on multi-sensor |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103605474A (en) * | 2013-11-22 | 2014-02-26 | 深圳市亚略特生物识别科技有限公司 | Control method and control system of electronic equipment with touch screen and fingerprint sensor |
| CN105893127A (en) * | 2016-03-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Method for starting application and terminal device |
| CN106056090A (en) * | 2016-06-07 | 2016-10-26 | 广东欧珀移动通信有限公司 | Fingerprint image processing method and device |
| CN107368252A (en) * | 2017-07-04 | 2017-11-21 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its apply touch screen data processing method and storage medium more |
-
2018
- 2018-02-27 CN CN201810161286.XA patent/CN108388865A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103605474A (en) * | 2013-11-22 | 2014-02-26 | 深圳市亚略特生物识别科技有限公司 | Control method and control system of electronic equipment with touch screen and fingerprint sensor |
| CN105893127A (en) * | 2016-03-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Method for starting application and terminal device |
| CN106056090A (en) * | 2016-06-07 | 2016-10-26 | 广东欧珀移动通信有限公司 | Fingerprint image processing method and device |
| CN107368252A (en) * | 2017-07-04 | 2017-11-21 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its apply touch screen data processing method and storage medium more |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109416739A (en) * | 2018-09-25 | 2019-03-01 | 深圳市汇顶科技股份有限公司 | Under-screen fingerprint collection method, system and electronic device based on multi-sensor |
| CN109416739B (en) * | 2018-09-25 | 2022-11-01 | 深圳市汇顶科技股份有限公司 | Multi-sensor-based method and system for acquiring fingerprint under screen and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101872366B1 (en) | Fingerprint enrollment using touch sensor data | |
| CN102270097B (en) | A kind of method and portable terminal for releasing terminal screen lock | |
| EP3065074A1 (en) | Fingerprint authentication method and device, intelligent terminal, and computer storage medium | |
| CN107113349B (en) | The method of terminal device and identification fingerprint | |
| JP6793732B2 (en) | Information image display method and equipment | |
| CN106326713B (en) | A mobile terminal screen unlocking method and mobile terminal | |
| WO1998048371A1 (en) | A fingerprint recognition system | |
| WO2015060957A1 (en) | Techniques for determining a change in users | |
| KR102091459B1 (en) | Terminal device and operation method applied to terminal device | |
| CN1374596A (en) | Data processing system using with discrete operating equipment | |
| CN104299136A (en) | Information processing method and electronic equipment | |
| CN104252305A (en) | Electronic device unlocking system and method | |
| CN107368255B (en) | Unlocking method, mobile terminal and computer readable storage medium | |
| CN106502489A (en) | A kind of quick release simultaneously enters the method and device of application | |
| CN107229856A (en) | Operation method of handheld device | |
| CN108388865A (en) | Mobile terminal fingerprint image obtains processing method, mobile terminal and storage medium | |
| JP3135932U (en) | Portable storage device with fingerprint identification function | |
| CN102929461A (en) | Touch screen display device | |
| TWI585609B (en) | Electronic apparatus and operation method | |
| CN108710477A (en) | Display methods, mobile terminal and storage medium | |
| CN107820598A (en) | Fingerprint event processing device and method | |
| CN110544331A (en) | System and method for unlocking electronic combination lock with electricity | |
| CN109375964A (en) | Mobile terminal fingerprint starts processing method, mobile terminal and storage medium | |
| CN104571889B (en) | image switching method and device | |
| JP6217124B2 (en) | Image transfer system, imaging apparatus, information processing apparatus, transfer method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180810 |