CN107392154A - Finger prints processing method, apparatus and terminal device - Google Patents
Finger prints processing method, apparatus and terminal device Download PDFInfo
- Publication number
- CN107392154A CN107392154A CN201710610578.2A CN201710610578A CN107392154A CN 107392154 A CN107392154 A CN 107392154A CN 201710610578 A CN201710610578 A CN 201710610578A CN 107392154 A CN107392154 A CN 107392154A
- Authority
- CN
- China
- Prior art keywords
- template
- fingerprint
- finger print
- current finger
- print template
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
- G06V40/1365—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
Abstract
The present invention is applied to field of information security technology, there is provided finger prints processing method, apparatus and terminal device, including:The first fingerprint is obtained, the first fingerprint of acquisition is stored in the current finger print template of internal memory;The current finger print template is stored in file system, obtains system fingerprint template, and backs up the system fingerprint template, obtains the first backup fingerprint template;Detect whether to receive designated order, the designated order includes:Unlock instruction, fingerprint typing instruction after start;After designated order is received, whether detection current finger print template is abnormal, and the current finger print template is the system fingerprint template being stored in from the file system in internal memory;In current finger print template exception, the first backup fingerprint template is stored in internal memory from the file system, and replace the current finger print template.The number that user re-types fingerprint can effectively be reduced by the above method.
Description
Technical field
The invention belongs to field of information security technology, more particularly to finger prints processing method, apparatus and terminal device.
Background technology
At present, terminal device is generally combined with the fingerprint of user, so as to quickly and safely realize corresponding work(
Can, for example, it is assumed that the fingerprint of user is combined with unlocking function, then can quickly be realized to the terminal by the fingerprint of user
The unblock of equipment;Assuming that the fingerprint of user is combined with payment function, then can quickly be realized accordingly by the fingerprint of user
Payment function.
, it is necessary to by the fingerprint typing terminal device of corresponding user before the fingerprint using user.Existing fingerprint
In input method, after fingerprint is obtained, the fingerprint is stored in fingerprint template, so, input can be judged according to the fingerprint template
Fingerprint whether with the fingerprint template storage fingerprint matching, if matching, judge input fingerprint corresponding to user be legal use
Family.But in this method, once exception occurs for fingerprint template, then fingerprint matching function can not be realized, and then cause and fingerprint phase
The function of pass can not be realized.
Therefore, it is desirable to provide a kind of new method is to solve above-mentioned technical problem.
The content of the invention
In view of this, the embodiments of the invention provide finger prints processing method, apparatus and terminal device, to solve prior art
Once fingerprint template occurs abnormal in, will cause the irrealizable problem of the function related to fingerprint.
The first aspect of the embodiment of the present invention provides a kind of finger prints processing method, including:
The first fingerprint is obtained, the first fingerprint of acquisition is stored in the current finger print template of internal memory;
The current finger print template is stored in file system, obtains system fingerprint template, and back up the system fingerprint
Template, obtain the first backup fingerprint template;
Detect whether to receive designated order, the designated order includes:Unlock instruction, fingerprint typing after start refer to
Order;
After designated order is received, whether detection current finger print template is abnormal, and the current finger print template is from described
The system fingerprint template in file system deposit internal memory;
In current finger print template exception, the first backup fingerprint template is stored in internal memory from the file system,
And replace the current finger print template.
The second aspect of the embodiment of the present invention provides a kind of finger prints processing device, including:
First fingerprint acquiring unit, for obtaining the first fingerprint, the first fingerprint of acquisition is stored in the current finger print of internal memory
Template;
First backup fingerprint template generation unit, for the current finger print template to be stored in file system, it is
System fingerprint template, and the system fingerprint template is backed up, obtain the first backup fingerprint template;
Designated order detection unit, for detecting whether receiving designated order, the designated order includes:After start
Unlock instruction, fingerprint typing instruction;
First current finger print template abnormal deciding means, for after designated order is received, detecting current finger print template
Whether abnormal, the current finger print template is the system fingerprint template being stored in from the file system in internal memory;
First current finger print template replacement unit, in current finger print template exception, by the first backup fingerprint
Template is stored in internal memory from the file system, and replaces the current finger print template.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, described in the computing device during computer program
Realize such as the step of any one of finger prints processing method methods described.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has computer program, is realized when the computer program is executed by processor as described in finger prints processing any one of method
The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
Because after designated order is received, whether detection current finger print template is abnormal, if abnormal, the first backup is referred to
Line template is extracted in internal memory from file system, and replaces abnormal current finger print template, and the first backup fingerprint template is deposited
It with the information that abnormal preceding current finger print template storage occurs is identical that the information of storage, which is, therefore, first can be backed up by this
Fingerprint template realizes follow-up fingerprint matching, so as to avoid just needing user to re-type when current finger print template occurs abnormal
Fingerprint, reduce user's operation, improve Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of flow chart for finger prints processing method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural representation for mobile terminal that the embodiment of the present invention one provides;
Fig. 3 is a kind of structural representation for finger prints processing device that the embodiment of the present invention two provides;
Fig. 4 is the schematic diagram for the terminal device that the embodiment of the present invention three provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows that the present invention first implements a kind of flow chart of finger prints processing method of offer, it is noted that this
In embodiment in " the first fingerprint ", " the first backup fingerprint template ", " the second fingerprint ", " the second backup fingerprint template " "
One ", " second " does not have physical meaning, is only used for distinguishing different fingerprints, backup fingerprint template.Details are as follows:
Step S11, the first fingerprint is obtained, the first fingerprint of acquisition is stored in the current finger print template of internal memory.
Specifically, after user sends fingerprint typing instruction in terminal device, user presses the specific bit of the terminal device
Put, now, the terminal device will obtain the first fingerprint, specially obtain image information corresponding to first fingerprint, then will obtain
Image information deposit internal memory current finger print template.
Specifically, when terminal device is mobile terminal, the schematic diagram of the mobile terminal is as shown in Fig. 2 in fig. 2, be somebody's turn to do
Mobile terminal includes memory 201, processor 202, input equipment 203, output equipment 204, bus 205.
Step S12, the current finger print template is stored in file system, obtains system fingerprint template, and described in backup
System fingerprint template, obtain the first backup fingerprint template.
Because the internal memory of terminal device can not preserve corresponding information for a long time, therefore, first is stored in current finger print template
After fingerprint success, the current fingerprint template is stored in the file system of the terminal device, so as to preserve the current finger for a long time
Line template, in order to distinguish, the current finger print template for being stored in file system is named as system fingerprint template.Back up the system fingerprint mould
Plate, the first backup fingerprint template is obtained, i.e., in file system, system fingerprint template and the first backup fingerprint template be present, this
The content of two fingerprint template storages is identical.
Alternatively, after the step S12, including:
A1, the second fingerprint is obtained, the second fingerprint of acquisition is stored in the current template.Specifically, if terminal device one
Secondary property can the multiple fingerprints of typing, then after the fingerprint of typing first, continue obtain the second fingerprint, and by second fingerprint be stored in internal memory
In current template, i.e., after the fingerprint of typing first and the second fingerprint, current template stores the first fingerprint and the second fingerprint two
Individual fingerprint, certainly, if the fingerprint number of terminal device typing is more than 2, the fingerprint number of current template storage is also greater than 2.
It is pointed out that the first fingerprint and the second fingerprint here can correspond to identical user, different users can also be corresponded to,
For example, it is assumed that user corresponding to the first fingerprint is user A, then user corresponding to the second fingerprint can be user A, or use
Family B.
A2, the current finger print template backup is the second backup fingerprint template and is stored in the file system.
A3, the current finger print template is stored in the file system, and replaces original system fingerprint template.Specifically
Ground, after terminal device has stored the current finger print template comprising fingerprint, if obtaining the second fingerprint again, first will
Current finger print template backup is the second backup fingerprint template and is stored in file system, then current finger print template is stored in into file system
System, in such manner, it is possible to which the second backup fingerprint template is stored in into file system with most fast speed, realize the standby of current finger print template
Part.
System fingerprint template after A4, backup replacement, obtains the first new backup fingerprint template, to replace original first
Backup template.Specifically, it will rename that (system refers to for system fingerprint template after current finger print template is stored in file system
The fingerprint number of line template storage is identical with the fingerprint number that current finger print template is stored in), to replace original system fingerprint mould
Plate.
If it is pointed out that after the second fingerprint is obtained, terminal device can also continue to obtain the 3rd fingerprint, the 4th finger
The fingerprint of the predetermined numbers such as line ..., then its specific implementation procedure is similar with A1~A4's, and difference is the 3rd fingerprint, the
The fingerprints such as four fingerprint ... replace the second fingerprint, and here is omitted.
Alternatively, because the speed that current finger print template is called from internal memory is faster than from file system call current finger print template
Speed, therefore, after step s 12, including:
By in the system fingerprint template deposit internal memory of the file system, current finger print template is obtained.Due to inside
Middle deposit current finger print template is deposited, then can directly extract the current fingerprint template and the finger of collection during subsequent match from internal memory
Line matches, so as to improve matching speed.It is pointed out that current finger print mould in internal memory is not deleted after matching terminates
Plate, still retain the current fingerprint template.
Step S13, detect whether to receive designated order, the designated order includes:Unlock instruction, fingerprint after start
Typing instructs.
Due to being turned back in terminal device and releasing process needs to import information into internal memory again and (such as led current template
Enter internal memory), or, preserving the unexpected power down of process of fingerprint template or more preparative layers encapsulation chip (also referred to as MCP memories)
(Multi-Chip-Package, MCP) may all cause fingerprint template to be damaged extremely, therefore, in order to find in advance
Whether user is subsequently capable of the fingerprint matching function of using terminal equipment, then can detect whether to receive designated order in advance.
Step S14, after designated order is received, whether detection current finger print template is abnormal, the current finger print template
To be stored in the system fingerprint template in internal memory from the file system.
After any one instruction in designated order is detected, whether detection current finger print template is abnormal, different so as to realize
Normal detection in advance, and then improve the efficiency solved the problems, such as.
Alternatively, the step S14 includes:
B1, after designated order is received, detection current finger print template whether deleted, or, detect current finger print mould
Whether the designated character of plate is lost.
B2, deleted in current finger print template, or, when the designated character of current finger print template is lost, described in judgement
There is exception in current finger print template, otherwise, it is determined that exception is not present in the current finger print template.
In above-mentioned B1 and B2, detect in internal memory whether still suffer from current finger print template, if (such as being deleted) is not present, sentence
Settled preceding fingerprint template exists abnormal;Or because the beginning field and/or trailer field of current finger print template include designated word
Symbol, therefore, can by detect the beginning field of the current fingerprint template and/or the designated character of trailer field whether lose or
It is no destroyed, if so, it is abnormal then to judge that current finger print template is present.
Step S15, in current finger print template exception, the first backup fingerprint template is deposited from the file system
Enter internal memory, and replace the current finger print template.
In the step, if it is determined that the current finger print template gone out in internal memory has exception, then first is extracted from file system
Backup fingerprint template, and the first backup fingerprint template of extraction is replaced into the current finger print template in internal memory.Certainly, if file system
System also has current finger print template, then equally will currently refer in the information alternate file system of the first backup fingerprint template storage
The information of line template storage.
Alternatively, after the step S15, including:
C1, judge whether the current finger print template is abnormal.
C2, in current finger print template exception, the second backup fingerprint template is stored in from the file system in
Deposit, and replace the current finger print template.
In above-mentioned C1 and C2, judge whether current finger print template (i.e. the first backup fingerprint template) is abnormal, if still abnormal,
The second backup fingerprint template then is extracted into internal memory from file system, and replaces the current finger print template in internal memory.Due to first
All there is abnormal probability very little in backup fingerprint template and the second backup fingerprint template, therefore, can be avoided by the above method
Once current finger print damaged template results in the non-serviceable problem of function related to fingerprint in terminal device, also, passes through
The above method, even if loading the failure of current finger print template during start, it can also be backed up by the first backup fingerprint template and second
Fingerprint template realizes the automatic recovery of current finger print template, and reducing user needs the probability of typing fingerprint again.
Alternatively, after step C2, in addition to:
Judge whether the current finger print template is abnormal, if abnormal, prompt user's typing new fingerprint.Specifically, may be used
Prompted by ejecting prompting frame, or, pass through voice message.
In first embodiment of the invention, the first fingerprint is obtained, the first fingerprint of acquisition is stored in the current finger print mould of internal memory
Plate, the current finger print template is stored in file system, obtains system fingerprint template, and back up the system fingerprint template,
The first backup fingerprint template is obtained, detects whether to receive designated order, the designated order includes:Unblock after start refers to
Make, fingerprint typing instruction, after designated order is received, whether detection current finger print template is abnormal, the current finger print template
To be stored in the system fingerprint template in internal memory from the file system, in current finger print template exception, by described first
Backup fingerprint template is stored in internal memory from the file system, and replaces the current finger print template.Due to receive it is specified
After instruction, whether detection current finger print template abnormal, if abnormal, the first backup fingerprint template is extracted from file system in
In depositing, and abnormal current finger print template is replaced, and the information of the first backup fingerprint template storage is abnormal preceding with generation
The information of current finger print template storage is identical, therefore, can realize follow-up fingerprint by the first backup fingerprint template
Match somebody with somebody, so as to avoid just needing user to re-type fingerprint when current finger print template occurs abnormal, reduce user's operation, improve
Consumer's Experience.
Embodiment two:
Corresponding with a kind of finger prints processing method of embodiment one, Fig. 3 shows one kind that second embodiment of the invention provides
The structure chart of finger prints processing device, the finger prints processing device can be applied in terminal device, for convenience of description, illustrate only with
The related part of the embodiment of the present invention:
The finger prints processing device includes:First fingerprint acquiring unit 31, the first backup fingerprint template generation unit 32, specify
Instruction detection unit 33, the first current finger print template abnormal deciding means 34, the first current finger print template replacement unit 35.Its
In:
First fingerprint acquiring unit 31, for obtaining the first fingerprint, the first fingerprint of acquisition is stored in the current finger of internal memory
Line template.
The first fingerprint is obtained, specially obtains image information corresponding to first fingerprint, then the image information of acquisition is deposited
Enter the current finger print template of internal memory.
First backup fingerprint template generation unit 32, for the current finger print template to be stored in file system, obtain
System fingerprint template, and the system fingerprint template is backed up, obtain the first backup fingerprint template.
Alternatively, the finger prints processing device includes:
Second fingerprint acquiring unit, for obtaining the second fingerprint, the second fingerprint of acquisition is stored in the current template.
After the fingerprint of typing first and the second fingerprint, current template stores two fingerprints of the first fingerprint and the second fingerprint, certainly, if typing
Fingerprint number be more than 2, then the current template storage fingerprint number also greater than 2.It is pointed out that the first fingerprint here
Identical user can be corresponded to the second fingerprint, different users can also be corresponded to.
Second backup fingerprint template generation unit, for being the second backup fingerprint template by the current finger print template backup
And it is stored in the file system.
System fingerprint template replacement unit, for the current finger print template to be stored in the file system, and replace
Original system fingerprint template.
First backup fingerprint template replacement unit, for backing up the system fingerprint template after replacing, it is standby to obtain new first
Part fingerprint template, to replace original first backup template.
If it is pointed out that after the second fingerprint is obtained, it is pre- to also continue to the 3rd fingerprint of acquisition, the 4th fingerprint ... etc.
If the fingerprint of number, its specific implementation procedure is similar with A1~A4's, and difference is the 3rd fingerprint, the 4th fingerprint ... etc.
Fingerprint replaces the second fingerprint, i.e., described finger prints processing device is except the second fingerprint acquiring unit, the second backup fingerprint template
Outside generation unit, system fingerprint template replacement unit, the first backup fingerprint template replacement unit, in addition to:3rd fingerprint obtains
Unit, the 4th fingerprint acquiring unit ... are taken, here is omitted.
Alternatively, because the speed that current finger print template is called from internal memory is faster than from file system call current finger print template
Speed, therefore, the finger prints processing device also includes:
The current finger print template of internal memory re-generates unit, for the system fingerprint template of the file system to be stored in
In internal memory, current finger print template is obtained.It is pointed out that current finger print mould in internal memory is not deleted after matching terminates
Plate, still retain the current fingerprint template.
Designated order detection unit 33, for detecting whether receiving designated order, the designated order includes:After start
Unlock instruction, fingerprint typing instruction.
First current finger print template abnormal deciding means 34, for after designated order is received, detecting current finger print mould
Whether plate is abnormal, and the current finger print template is the system fingerprint template being stored in from the file system in internal memory.
The first current finger print template abnormal deciding means 34 includes:
The information detecting module of current finger print template, it is for after designated order is received, detecting current finger print template
It is no to be deleted, or, whether the designated character of detection current finger print template is lost.
Whether unusual determination module, for being deleted in current finger print template, or, in the designated word of current finger print template
When symbol is lost, it is abnormal to judge that the current finger print template is present, otherwise, it is determined that the current finger print template is in the absence of abnormal.
Specifically, detect in internal memory whether still suffer from current finger print template, if (such as being deleted) is not present, judge current
Fingerprint template exists abnormal;Or because the beginning field and/or trailer field of current finger print template include designated character, because
This, can by detect the beginning field of the current fingerprint template and/or the designated character of trailer field whether lose or whether by
Destroy, if so, it is abnormal then to judge that current finger print template is present.
First current finger print template replacement unit 35, in current finger print template exception, the described first backup to be referred to
Line template is stored in internal memory from the file system, and replaces the current finger print template.
Alternatively, the finger prints processing device includes:
Second current finger print template abnormal deciding means, for judging whether the current finger print template is abnormal.
Second current finger print template replacement unit, in current finger print template exception, by the second backup fingerprint
Template is stored in internal memory from the file system, and replaces the current finger print template.
Alternatively, the finger prints processing device includes:
New fingerprint typing Tip element, for judging whether the current finger print template is abnormal, if abnormal, prompts user
The new fingerprint of typing.Specifically, can be prompted by ejecting prompting frame, or, pass through voice message.
In second embodiment of the invention, because after designated order is received, whether detection current finger print template is abnormal, if
It is abnormal, then the first backup fingerprint template is extracted in internal memory from file system, and abnormal current finger print template is replaced, and be somebody's turn to do
The information of first backup fingerprint template storage is that the information stored with abnormal preceding current finger print template occurs is identical, because
This, can realize follow-up fingerprint matching by the first backup fingerprint template, abnormal so as to avoid occurring in current finger print template
When just need user to re-type fingerprint, reduce user operation, improve Consumer's Experience.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment three:
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment is set
Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40
Calculation machine program 42.The processor 40 is realized when performing the computer program 42 in above-mentioned each finger prints processing embodiment of the method
The step of, such as the step S11 to S15 shown in Fig. 1.Or the processor 40 is realized when performing the computer program 42
The function of each module/unit in above-mentioned each device embodiment, such as the function of module 31 to 35 shown in Fig. 3.
Exemplary, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are performed by the processor 40, to complete the present invention.Described one
Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for
Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided
It is cut into the first fingerprint acquiring unit, the first backup fingerprint template generation unit, designated order detection unit, the first current finger print mould
Plate abnormal deciding means, the first current finger print template replacement unit, each unit concrete function are as follows:
First fingerprint acquiring unit, for obtaining the first fingerprint, the first fingerprint of acquisition is stored in the current finger print of internal memory
Template;
First backup fingerprint template generation unit, for the current finger print template to be stored in file system, it is
System fingerprint template, and the system fingerprint template is backed up, obtain the first backup fingerprint template;
Designated order detection unit, for detecting whether receiving designated order, the designated order includes:After start
Unlock instruction, fingerprint typing instruction;
First current finger print template abnormal deciding means, for after designated order is received, detecting current finger print template
Whether abnormal, the current finger print template is the system fingerprint template being stored in from the file system in internal memory;
First current finger print template replacement unit, in current finger print template exception, by the first backup fingerprint
Template is stored in internal memory from the file system, and replaces the current finger print template.
The terminal device 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4
The only example of terminal device 4, the restriction to terminal device 4 is not formed, can included than illustrating more or less portions
Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 40 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior
Deposit.The memory 41 can also be the External memory equipment of the terminal device 4, such as be equipped with the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
- A kind of 1. finger prints processing method, it is characterised in that including:The first fingerprint is obtained, the first fingerprint of acquisition is stored in the current finger print template of internal memory;The current finger print template is stored in file system, obtains system fingerprint template, and backs up the system fingerprint template, Obtain the first backup fingerprint template;Detect whether to receive designated order, the designated order includes:Unlock instruction, fingerprint typing instruction after start;After designated order is received, whether detection current finger print template is abnormal, and the current finger print template is from the file The system fingerprint template in system deposit internal memory;In current finger print template exception, the first backup fingerprint template is stored in internal memory from the file system, and replace Change the current finger print template.
- 2. finger prints processing method as claimed in claim 1, it is characterised in that it is described obtain the first backup fingerprint template after, Including:The second fingerprint is obtained, the second fingerprint of acquisition is stored in the current template;The current finger print template backup is the second backup fingerprint template and is stored in the file system;The current finger print template is stored in the file system, and replaces original system fingerprint template;System fingerprint template after backup replacement, obtains the first new backup fingerprint template, to replace original first backup mould Plate.
- 3. finger prints processing method as claimed in claim 2, it is characterised in that it is described by the first backup fingerprint template from Internal memory is stored in the file system, and after replacing the current finger print template, including:Judge whether the current finger print template is abnormal;In current finger print template exception, the second backup fingerprint template is stored in internal memory from the file system, and replace Change the current finger print template.
- 4. the finger prints processing method as described in any one of claims 1 to 3, it is characterised in that described to receive designated order Afterwards, whether abnormal current finger print template is detected, including:After designated order is received, whether detection current finger print template is deleted, or, detection current finger print template is specified Whether character is lost;Deleted in current finger print template, or, when the designated character of current finger print template is lost, judge the current finger print There is exception in template, otherwise, it is determined that exception is not present in the current finger print template.
- A kind of 5. finger prints processing device, it is characterised in that including:First fingerprint acquiring unit, for obtaining the first fingerprint, the first fingerprint of acquisition is stored in the current finger print template of internal memory;First backup fingerprint template generation unit, for the current finger print template to be stored in file system, the system of obtaining refers to Line template, and the system fingerprint template is backed up, obtain the first backup fingerprint template;Designated order detection unit, for detecting whether receiving designated order, the designated order includes:Unblock after start Instruction, fingerprint typing instruction;First current finger print template abnormal deciding means, for after designated order is received, whether detection current finger print template Abnormal, the current finger print template is the system fingerprint template being stored in from the file system in internal memory;First current finger print template replacement unit, in current finger print template exception, by the first backup fingerprint template Internal memory is stored in from the file system, and replaces the current finger print template.
- 6. finger prints processing device as claimed in claim 5, it is characterised in that the finger prints processing device includes:Second fingerprint acquiring unit, for obtaining the second fingerprint, the second fingerprint of acquisition is stored in the current template;Second backup fingerprint template generation unit, for being the second backup fingerprint template by the current finger print template backup and depositing Enter the file system;System fingerprint template replacement unit, for the current finger print template to be stored in the file system, and replace original System fingerprint template;First backup fingerprint template replacement unit, for backing up the system fingerprint template after replacing, obtain the first new backup and refer to Line template, to replace original first backup template.
- 7. finger prints processing device as claimed in claim 6, it is characterised in that the finger prints processing device includes:Second current finger print template abnormal deciding means, for judging whether the current finger print template is abnormal;Second current finger print template replacement unit, in current finger print template exception, by the second backup fingerprint template Internal memory is stored in from the file system, and replaces the current finger print template.
- 8. the finger prints processing device as described in any one of claim 5 to 7, it is characterised in that the first current finger print template Abnormal deciding means includes:The information detecting module of current finger print template, for after designated order is received, detection current finger print template whether by Delete, or, whether the designated character of detection current finger print template is lost;Whether unusual determination module, for being deleted in current finger print template, or, lost in the designated character of current finger print template During mistake, it is abnormal to judge that the current finger print template is present, otherwise, it is determined that exception is not present in the current finger print template.
- 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as Claims 1-4 described in the computing device during computer program The step of any one methods described.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of Claims 1-4 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610578.2A CN107392154B (en) | 2017-07-25 | 2017-07-25 | Finger prints processing method, apparatus and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610578.2A CN107392154B (en) | 2017-07-25 | 2017-07-25 | Finger prints processing method, apparatus and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107392154A true CN107392154A (en) | 2017-11-24 |
CN107392154B CN107392154B (en) | 2019-01-15 |
Family
ID=60337532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710610578.2A Active CN107392154B (en) | 2017-07-25 | 2017-07-25 | Finger prints processing method, apparatus and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107392154B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231691A (en) * | 2007-12-24 | 2008-07-30 | 浙江金指码科技有限公司 | Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity |
CN103345616A (en) * | 2013-06-19 | 2013-10-09 | 武汉世纪金桥安全技术有限公司 | Fingerprint storage comparison system based on behavioral analysis |
CN104463141A (en) * | 2014-12-24 | 2015-03-25 | 北京大唐智能卡技术有限公司 | Fingerprint template input method and device based on intelligent card |
CN105335731A (en) * | 2015-11-13 | 2016-02-17 | 广东欧珀移动通信有限公司 | Fingerprint identification method and device as well as terminal equipment |
CN105469033A (en) * | 2015-11-13 | 2016-04-06 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint identification device and terminal equipment |
CN106372609A (en) * | 2016-09-05 | 2017-02-01 | 广东欧珀移动通信有限公司 | Fingerprint template update method, fingerprint template update device and terminal equipment |
CN106650706A (en) * | 2017-01-16 | 2017-05-10 | 珠海格力电器股份有限公司 | Fingerprint collecting method and device, as well as mobile terminal |
-
2017
- 2017-07-25 CN CN201710610578.2A patent/CN107392154B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231691A (en) * | 2007-12-24 | 2008-07-30 | 浙江金指码科技有限公司 | Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity |
CN103345616A (en) * | 2013-06-19 | 2013-10-09 | 武汉世纪金桥安全技术有限公司 | Fingerprint storage comparison system based on behavioral analysis |
CN104463141A (en) * | 2014-12-24 | 2015-03-25 | 北京大唐智能卡技术有限公司 | Fingerprint template input method and device based on intelligent card |
CN105335731A (en) * | 2015-11-13 | 2016-02-17 | 广东欧珀移动通信有限公司 | Fingerprint identification method and device as well as terminal equipment |
CN105469033A (en) * | 2015-11-13 | 2016-04-06 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint identification device and terminal equipment |
CN106372609A (en) * | 2016-09-05 | 2017-02-01 | 广东欧珀移动通信有限公司 | Fingerprint template update method, fingerprint template update device and terminal equipment |
CN106650706A (en) * | 2017-01-16 | 2017-05-10 | 珠海格力电器股份有限公司 | Fingerprint collecting method and device, as well as mobile terminal |
Non-Patent Citations (2)
Title |
---|
楼京京: "智能手机指纹识别系统的设计", 《信息系统工程》 * |
相成: "内存数据库在民用自动指纹识别系统中的应用", 《工程技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107392154B (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107784063B (en) | Algorithm generation method and terminal equipment | |
CN107730775A (en) | Self-service dealing method, apparatus, system and electronic equipment | |
CN108279947A (en) | The method and device of financial self-service equipment SP installation kits adaptation | |
CN110413569A (en) | Archives of paper quality electronization archiving method, device and terminal device | |
CN107404740A (en) | Method for switching network, device and the terminal device of safety | |
CN107564204A (en) | A kind of wholesale withdrawal method and atm device | |
CN110949173A (en) | Charging method and device | |
CN105844129B (en) | The method and terminal of a kind of unlocked by fingerprint | |
CN108446968A (en) | A kind of method, apparatus and terminal device of accounting entry | |
CN107832208A (en) | The automatic test approach and terminal device of software | |
CN107783953A (en) | Information input method and terminal device | |
CN107368255A (en) | Unlocking method, mobile terminal and computer-readable recording medium | |
CN107153784A (en) | The unlocking method and terminal of a kind of terminal | |
CN107464334A (en) | Recognition methods, identification device and the terminal device of bank note | |
CN107454251A (en) | Solve lock control method and Related product | |
CN108335434A (en) | A kind of finance device wholesale note output abnormality eliminating method, device and finance device | |
CN107633625A (en) | Self-service dealing based reminding method, device and terminal device | |
CN107392154A (en) | Finger prints processing method, apparatus and terminal device | |
CN105139544A (en) | Method and device achieving self-service fetching of swallowed cards | |
CN108133540A (en) | Detection method, detection device and the electronic equipment of bank note quantity exception in cash box | |
CN107229853A (en) | Law enforcement information method for uploading, terminal and computer-readable recording medium | |
CN106610849A (en) | Upgrading processing method for complex programmable logic device | |
CN107274545B (en) | Money-checking control method, money-checking control device and withdrawal equipment | |
CN106610847A (en) | Upgrading processing method | |
CN103295053A (en) | Multi-code early-warning type memory lock bank card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |