CN109886181A - Fingerprint algorithm determines method and relevant device - Google Patents

Fingerprint algorithm determines method and relevant device Download PDF

Info

Publication number
CN109886181A
CN109886181A CN201910120379.2A CN201910120379A CN109886181A CN 109886181 A CN109886181 A CN 109886181A CN 201910120379 A CN201910120379 A CN 201910120379A CN 109886181 A CN109886181 A CN 109886181A
Authority
CN
China
Prior art keywords
fingerprint
algorithm
electronic equipment
mould group
fingerprint algorithm
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
Application number
CN201910120379.2A
Other languages
Chinese (zh)
Inventor
郭子青
陈然
欧锦荣
李虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910120379.2A priority Critical patent/CN109886181A/en
Publication of CN109886181A publication Critical patent/CN109886181A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

This application discloses a kind of fingerprint algorithms to determine method and relevant device, applied to the electronic equipment including fingerprint mould group, the described method includes: obtaining the associated first OTP value of fingerprint mould group by the SPI after the completion of fingerprint mould group associated SPI initialization;Associated first fingerprint algorithm of the first OTP value is determined according to the mapping relations of OTP value and fingerprint algorithm;The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.The compatibility of algorithm can be realized using the embodiment of the present application.

Description

Fingerprint algorithm determines method and relevant device
Technical field
This application involves electronic technology fields more particularly to a kind of fingerprint algorithm to determine method and relevant device.
Background technique
With advances in technology, biological characteristic is gradually used in electronic field, to be used to identify identity.Currently, almost All electronic equipments (such as smart phone, tablet computer) are provided with fingerprint identification function, have the electricity of fingerprint identification function Sub- equipment is equipped with fingerprint mould group.The manufacturer of fingerprint mould group is more than one (such as Ou Feiguang, Qiu Tai) on the market, can thus deposit In a variety of fingerprint algorithms, therefore it is the technical issues that need to address that how electronic equipment, which reaches algorithm compatibility,.
Summary of the invention
The embodiment of the present application provides a kind of fingerprint algorithm and determines method and relevant device, for realizing the compatibility of algorithm.
In a first aspect, the embodiment of the present application, which provides a kind of fingerprint algorithm, determines method, applied to the electricity including fingerprint mould group Sub- equipment, which comprises
After the completion of the fingerprint mould group associated SPI initialization, it is associated that the fingerprint mould group is obtained by the SPI First OTP value;
Associated first fingerprint algorithm of the first OTP value is determined according to the mapping relations of OTP value and fingerprint algorithm;
The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
Second aspect, the embodiment of the present application provide a kind of fingerprint algorithm determining device, applied to the electricity including fingerprint mould group Sub- equipment, which comprises
Information acquisition unit, for being obtained by the SPI after the completion of fingerprint mould group associated SPI initialization The associated first OTP value of fingerprint mould group;
Fingerprint algorithm determination unit, for determining that the first OTP value is closed according to the mapping relations of OTP value and fingerprint algorithm First fingerprint algorithm of connection;The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in method described in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in method described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces Product can be a software installation packet.
As can be seen that in the embodiment of the present application, according to the associated OTP value of fingerprint mould group and OTP value and fingerprint algorithm Mapping relations determine the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, and the fingerprint mould group without different vendor matches different Software program can select the fingerprint algorithm to match according to the Different Dynamic of OTP value, realize the compatible purpose of algorithm.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Figure 1B is the position of fingerprint sensor and fingerprint collecting region under the screen in electronic equipment provided by the embodiments of the present application Set the schematic diagram of relationship;
Fig. 2 is a kind of flow diagram of unlocked by fingerprint method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another unlocked by fingerprint method provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of unlocked by fingerprint device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
A referring to Figure 1, Figure 1A are the structural schematic diagrams of a kind of electronic equipment provided by the embodiments of the present application, which sets It is standby include processor 10, memory 20, signal processor 30, communication interface 40, touch screen 50, loudspeaker 60, microphone 70, with Machine accesses memory (Random Access Memory, RAM) 80, camera 90 and sensor 100 etc..
Wherein, electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable set It is standby, calculate equipment or be connected to radio modem other processing equipments and various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..
Wherein, processor 10 is also possible to AP processor, is also possible to other processors.
Wherein, memory 20, signal processor 30, touch screen 50, loudspeaker 60, microphone 70, RAM80, camera 90 It is connect with sensor 100 with processor 10, communication interface 40 is connect with signal processor 30.
Wherein, sensor 100 includes fingerprint mould group, infrared sensor, gyroscope etc..Wherein, touch screen 50 includes display Screen and touch panel (Touch Panel, TP).Fingerprint mould is mounted on the lower section (as shown in Figure 1B) in fingerprint collecting region, this refers to Line mould group can acquire the signal in fingerprint collecting region, which can be optical finger print mould group, be also possible to capacitor Formula fingerprint mould group, is also possible to ultrasonic fingerprint mould group, is not limited thereto.When fingerprint mould group is optical finger print mould group, refer to The collected signal of line mould group is optical signal.
Wherein, fingerprint collecting region can be a region in touch screen 50, may not be one on touch screen Region is not limited thereto.In the case where fingerprint collecting region is a region in touch screen 50, the fingerprint collecting region It can be the panel region in touch screen 50, i.e. size can be also possible to be only capable of for the big region of multiple fingers pressing simultaneously Enough for the zonule of single finger pressing, it is not limited thereto, the position where the fingerprint collecting region can be touch screen Intermediate region, the upper partial region of touch screen, lower partial region of touch screen etc., are not limited thereto.
It describes in detail below to the embodiment of the present application.
Fig. 2 is referred to, Fig. 2 is the flow diagram that a kind of fingerprint algorithm provided by the embodiments of the present application determines method, is answered For the electronic equipment including fingerprint mould group, method includes:
Step 201: the associated Serial Peripheral Interface (SPI) of fingerprint mould group (Serial Peripheral Interface, SPI after the completion of) initializing, the electronic equipment obtains the fingerprint mould group associated first by the SPI and can disposably compile Journey (One Time Programmable, OTP) value.
Wherein, OTP refers to One Time Programmable, means One Time Programmable, the burned integrated electricity of data Behind road (Integrated Circuit, IC), it can not change and remove again, chip ROM is broadly divided by storage class The types such as MASK (mask) ROM, OTP ROM, FLASH ROM.The MCU of MASK ROM is cheap, but program is when leaving the factory It is cured, it is suitble to the changeless application of program.The MCU program of FALSH ROM can be repeatedly erasable, and flexibility is very strong, But price is higher, is suitble to the application insensitive to price or does exploitation purposes.The MCU price of OTP ROM is between the above two Between, while possessing One Time Programmable ability again, it is suitble to not only require natural active, but also require the application of low cost, The especially function electronic product that constantly updates, need rapid volume production.
Wherein, after the completion of the associated SPI initialization of the fingerprint mould group, the associated SPI of fingerprint mould group can be normal It uses.
Wherein, the associated SPI initialization of the fingerprint module is to complete to be to carry out in electronic equipment booting.
Step 202: electronic equipment determines that the first OTP value is associated according to the mapping relations of OTP value and fingerprint algorithm First fingerprint algorithm.
Wherein, OTP value and the mapping relations of fingerprint algorithm are as shown in table 1, as shown in table 1, in OTP value and fingerprint algorithm There are multiple OTP values in mapping relations, the corresponding fingerprint algorithm of each OTP value, the corresponding fingerprint algorithm of different OTP values is difference 's.
Table 1
OTP value Fingerprint algorithm
OTP value 1 Fingerprint algorithm 1
OTP value 2 Fingerprint algorithm 2
OTP value 3 Fingerprint algorithm 3
Step 203: the finger that electronic equipment uses first fingerprint algorithm as the fingerprint recognition of the electronic equipment Line algorithm.
Specifically, same fingerprint chip (such as silead fingerprint chip) has used different fingerprint Mo Zu factories (such as mound Calm and peaceful Ou Fei light etc.) in addition same fingerprint Mo Zu factory different other devices (such as screen finger down used according to the difference of batch The camera lens etc. of line), it is likely to need using different fingerprint algorithms in this case.
In the embodiment of the present application, true according to the associated OTP value of fingerprint mould group and OTP value and the mapping relations of fingerprint algorithm Determine the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, the fingerprint mould group without different vendor matches different software programs, The fingerprint algorithm to match can be selected according to the Different Dynamic of OTP value, realize the compatible purpose of algorithm.
In the implementation of the application, the electronic equipment is associated by the SPI acquisition fingerprint mould group First OTP value, comprising: the electronic equipment reads the fingerprint mould group pass for being stored in the first specific region by the SPI First OTP value of connection.
Wherein, first specific region is a specific region in the fingerprint chip in the electronic equipment, described Fingerprint mould group is mounted on the fingerprint chip.
Further, the associated first OTP value of the fingerprint mould group is manufacturer's burning of the fingerprint mould group.
Wherein, the manufacturer of the electronic equipment can discuss in advance with its fingerprint Mo Zu supplier and need in burning OTP value, the associated OTP value of fingerprint mould group to avoid manufacturer's production of different fingerprint mould groups is different, and then avoids institute Electronic equipment is stated to obscure.
In the realization side of the application, the electronic equipment obtains the fingerprint mould group associated the by the SPI One OTP value, comprising: the electronic equipment reads the phase for being stored in the fingerprint mould group of the second specific region by the SPI Close information;The electronic equipment determines the associated first OTP value of the fingerprint mould group according to the relevant information of the fingerprint mould group.
Wherein, second specific region is a specific region in the fingerprint chip in the electronic equipment, described Second specific region is different from first specific region.
Wherein, the relevant information of the fingerprint mould group comprises at least one of the following: the model of the fingerprint mould group, production institute State the manufacturer of fingerprint mould group, the batch of the fingerprint mould group, the composition fingerprint mould group device title.
The electronic equipment determines associated first OTP of the fingerprint mould group according to the relevant information of the fingerprint mould group Value, comprising: the electronic equipment is according to the relevant information and the relevant information of fingerprint mould group of the fingerprint mould group and reflecting for OTP value The relationship of penetrating determines the associated first OTP value of the fingerprint mould group.
As an example it is assumed that the relevant information of the fingerprint mould group is the model of the fingerprint mould group, the phase of fingerprint mould group The mapping relations for closing information and OTP value are the model of fingerprint mould group and the mapping relations of OTP value, then the first OTP value is described The corresponding OTP value of the model of fingerprint mould group.
And as an example it is assumed that manufacturer and composition institute of the relevant information of the fingerprint mould group for the production fingerprint mould group State the title of the device of fingerprint mould group, the relevant information of fingerprint mould group and the mapping relations of OTP value be fingerprint mould group manufacturer and Form fingerprint mould group device title and OTP value mapping relations, then the first OTP value be the fingerprint mould group manufacturer and Form the corresponding OTP value of title of the device of fingerprint mould group.
In the realization side of the application, the electronic equipment is using first fingerprint algorithm as the electronic equipment After the fingerprint algorithm that fingerprint recognition uses, the method also includes: when detecting the processing event for needing fingerprint recognition, institute Electronic equipment is stated to load and run first fingerprint algorithm.
Wherein, the processing event of fingerprint recognition is needed for example to have unlocking screen event, fingerprint payment events, file/application Encrypted event, file/apply program event, file hiding event, using starting event, fingerprint typing event etc..
As can be seen that in the embodiment of the present application, only when detecting the processing event for needing fingerprint recognition, just loading And run fingerprint algorithm, avoid woth no need to when fingerprint algorithm be in operating status the case where, thereby reduce power consumption.
In the realization side of the application, the electronic equipment is using first fingerprint algorithm as the electronic equipment After the fingerprint algorithm that fingerprint recognition uses, the method also includes:
When detecting fingerprint algorithm replacement instruction, the electronic equipment shows the first prompting frame, first prompting frame The middle icon for showing at least one the second fingerprint algorithm and each second fingerprint algorithm are compared to first fingerprint algorithm Advantage and disadvantage, first prompting frame is used to prompt the fingerprint algorithm that selects the fingerprint recognition of the electronic equipment to use, described Second fingerprint algorithm be the electronic equipment allow using fingerprint algorithm;
Refer in the selection for detecting one of them the second fingerprint algorithm at least one second fingerprint algorithm for described in When enabling, finger that the electronic equipment uses one of them described second fingerprint algorithm as the fingerprint recognition of the electronic equipment Line algorithm.
Further, it is described detect fingerprint algorithm replacement instruction before, the method also includes:
The electronic equipment shows set interface, shows fingerprint algorithm setting options in the set interface;
When detecting the clicking operation for the fingerprint algorithm setting options, or detecting for fingerprint collecting area When the first specific touch control operation in domain, the electronic equipment shows fingerprint algorithm set interface, the fingerprint algorithm set interface In show replacement fingerprint algorithm item;
When detecting the clicking operation for the replacement fingerprint algorithm item, the electronic equipment confirmly detects fingerprint Algorithm replacement instruction.
Wherein, the first specific touch control operation is the combination of at least two touch control operations, such as has click+long press operation, cunning Dynamic+long press operation, click+sliding+long press operation etc..
Further, it is described detect fingerprint algorithm replacement instruction before, the method also includes:
It is directed to when the false recognition rate (FAR) for detecting fingerprint recognition is greater than or equal to preset threshold, and/or detecting When the second specific touch control operation in fingerprint collecting region, the electronic equipment shows that the second prompting frame, second prompting frame are used The fingerprint algorithm that the fingerprint recognition of the electronic equipment uses whether is replaced in prompt, second prompting frame includes confirmation option With deny option;
When detecting the clicking operation for the confirmation option, the electronic equipment confirmly detects fingerprint algorithm more Change instruction.
Wherein, the second specific touch control operation is the combination of at least two touch control operations, such as has click+long press operation, cunning Dynamic+long press operation, click+sliding+long press operation etc..Second specific touch control operation can be identical as the first specific touch control operation, It can also be different from the first specific touch control operation.
Wherein, the second fingerprint algorithm is the back-up algorithm of the fingerprint mould group.
Further, the electronic equipment is using one of them described second fingerprint algorithm as the fingerprint of the electronic equipment After identifying the fingerprint algorithm used, the method also includes:
When detecting the processing event for needing fingerprint recognition, the electronic equipment load and run it is described one of them Two fingerprint algorithms.
As can be seen that in the embodiment of the present application, under certain conditions, replaceable fingerprint algorithm improves fingerprint algorithm The flexibility of utilization.
In the implementation of the application, the electronic equipment is using one of them described second fingerprint algorithm as described in After the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, the method also includes:
After the completion of the electronic equipment is restarted, and/or detecting the specific touch-control of third for fingerprint collecting region When operation, fingerprint algorithm that the electronic equipment uses the fingerprint recognition of the electronic equipment from it is described one of them second refer to Line algorithm changeover is to first fingerprint algorithm.
Wherein, the specific touch control operation of third is the combination of at least two touch control operations, such as has click+long press operation, cunning Dynamic+long press operation, click+sliding+long press operation etc..The specific touch control operation of third is different from the first specific touch control operation and second Specific touch control operation.
As can be seen that in embodiments herein, since the first fingerprint algorithm is the fingerprint mould group in experimental stage The most suitable fingerprint algorithm measured, therefore the superperformance in order to keep electronic equipment will be electric after electronic equipment is restarted The fingerprint algorithm of sub- equipment switches back.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of fingerprint provided by the embodiments of the present application Algorithm determines the flow diagram of method, and applied to the electronic equipment including fingerprint mould group, this fingerprint algorithm determines that method includes:
Step 301: after the completion of the fingerprint mould group associated SPI initialization, the electronic equipment is obtained by the SPI Take the associated first OTP value of the fingerprint mould group.
Step 302: the electronic equipment determines that the first OTP value is closed according to the mapping relations of OTP value and fingerprint algorithm First fingerprint algorithm of connection.
Step 303: the electronic equipment is used using first fingerprint algorithm as the fingerprint recognition of the electronic equipment Fingerprint algorithm.
Step 304: when detecting the processing event for needing fingerprint recognition, the electronic equipment loads and runs described One fingerprint algorithm.
Step 305: when detecting fingerprint algorithm replacement instruction, the electronic equipment shows the first prompting frame, described the The icon and each second fingerprint algorithm that at least one the second fingerprint algorithm is shown in one prompting frame are compared to described first The advantage and disadvantage of fingerprint algorithm, first prompting frame is for prompting the fingerprint for selecting the fingerprint recognition of the electronic equipment to use to calculate Method, second fingerprint algorithm be the electronic equipment allow using fingerprint algorithm.
Step 306: detecting for one of them second fingerprint algorithm at least one described second fingerprint algorithm Selection instruction when, the electronic equipment is using one of them described second fingerprint algorithm as the fingerprint recognition of the electronic equipment The fingerprint algorithm used.
Step 307: after the completion of the electronic equipment is restarted, the electronic equipment is by the fingerprint recognition of the electronic equipment The fingerprint algorithm used switches to first fingerprint algorithm from one of them described second fingerprint algorithm.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process, this will not be detailed here.
It is consistent with above-mentioned Fig. 2 and embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is that the embodiment of the present application provides separately The structural schematic diagram of a kind of electronic equipment, the electronic equipment include fingerprint mould group, and as described in Figure, the electronic equipment further includes Processor, memory, communication interface, and one or more programs, one or more of programs are stored in the storage In device, and it is configured to be executed by the processor, above procedure includes the instruction for executing following steps:
After the completion of the fingerprint mould group associated SPI initialization, it is associated that the fingerprint mould group is obtained by the SPI First OTP value;
Associated first fingerprint algorithm of the first OTP value is determined according to the mapping relations of OTP value and fingerprint algorithm;
The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
As can be seen that in the embodiment of the present application, according to the associated OTP value of fingerprint mould group and OTP value and fingerprint algorithm Mapping relations determine the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, and the fingerprint mould group without different vendor matches different Software program can select the fingerprint algorithm to match according to the Different Dynamic of OTP value, realize the compatible purpose of algorithm.
In the implementation of the application, the associated first value side OTP of fingerprint mould group is being obtained by the SPI Face, above procedure include the instruction specifically for executing following steps:
The associated first OTP value of the fingerprint mould group for being stored in the first specific region is read by the SPI.
In the implementation of the application, the associated first OTP value of fingerprint mould group is the factory of the fingerprint mould group Quotient's burning.
In the implementation of the application, the associated first value side OTP of fingerprint mould group is being obtained by the SPI Face, above procedure include the instruction specifically for executing following steps:
The relevant information for being stored in the fingerprint mould group of the second specific region is read by the SPI;According to the finger The relevant information of line mould group determines the associated first OTP value of the fingerprint mould group.
In the implementation of the application, using first fingerprint algorithm as the fingerprint recognition of the electronic equipment After the fingerprint algorithm used, above procedure includes the instruction for being also used to execute following steps:
When detecting the processing event for needing fingerprint recognition, loads and run first fingerprint algorithm.
In the implementation of the application, using first fingerprint algorithm as the fingerprint recognition of the electronic equipment After the fingerprint algorithm used, above procedure includes the instruction for being also used to execute following steps:
When detecting fingerprint algorithm replacement instruction, shows the first prompting frame, show at least one in first prompting frame The icon of a second fingerprint algorithm and each second fingerprint algorithm compared to first fingerprint algorithm advantage and disadvantage, it is described First prompting frame is used to prompt the fingerprint algorithm for selecting the fingerprint recognition of the electronic equipment to use, and second fingerprint algorithm is The electronic equipment allow using fingerprint algorithm;
Refer in the selection for detecting one of them the second fingerprint algorithm at least one second fingerprint algorithm for described in When enabling, fingerprint algorithm that one of them described second fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
In the implementation of the application, using one of them described second fingerprint algorithm as the electronic equipment After the fingerprint algorithm that fingerprint recognition uses, above procedure includes the instruction for being also used to execute following steps:
After the completion of the electronic equipment is restarted, fingerprint algorithm that the fingerprint recognition of the electronic equipment is used is from described One of them second fingerprint algorithm switches to first fingerprint algorithm.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process, this will not be detailed here.
The embodiment of the present application can carry out the division of functional unit according to the method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.The integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
It is below the application Installation practice, the application Installation practice is realized for executing the application embodiment of the method Method.Referring to Fig. 5, Fig. 5 is a kind of fingerprint algorithm determining device provided by the embodiments of the present application, it is applied to include fingerprint mould The electronic equipment of group, the fingerprint algorithm determining device include:
Information acquisition unit 501 is used for after the completion of the fingerprint mould group associated serial peripheral equipment interface SPI initialization, The associated first One Time Programmable OTP value of fingerprint mould group is obtained by the SPI;
Fingerprint algorithm determination unit 502, for determining the first OTP according to the mapping relations of OTP value and fingerprint algorithm It is worth associated first fingerprint algorithm;The fingerprint that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment is calculated Method.
As can be seen that in the embodiment of the present application, according to the associated OTP value of fingerprint mould group and OTP value and fingerprint algorithm Mapping relations determine the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, and the fingerprint mould group without different vendor matches different Software program can select the fingerprint algorithm to match according to the Different Dynamic of OTP value, realize the compatible purpose of algorithm.
In the implementation of the application, the associated first value side OTP of fingerprint mould group is being obtained by the SPI Face, the information acquisition unit 501 are specifically used for:
The associated first OTP value of the fingerprint mould group for being stored in the first specific region is read by the SPI.
In the implementation of the application, the associated first OTP value of fingerprint mould group is the factory of the fingerprint mould group Quotient's burning.
In the implementation of the application, the associated first value side OTP of fingerprint mould group is being obtained by the SPI Face, the information acquisition unit 501 are specifically used for:
The relevant information for being stored in the fingerprint mould group of the second specific region is read by the SPI;According to the finger The relevant information of line mould group determines the associated first OTP value of the fingerprint mould group.
In the implementation of the application, described device further includes algorithm running unit 503:
It is described after the fingerprint algorithm for using first fingerprint algorithm as the fingerprint recognition of the electronic equipment Algorithm running unit 503 is calculated for when detecting the processing event for needing fingerprint recognition, loading and running first fingerprint Method.
In the implementation of the application, described device further includes display unit 504:
It is described after the fingerprint algorithm for using first fingerprint algorithm as the fingerprint recognition of the electronic equipment Display unit 504, for showing the first prompting frame, being shown in first prompting frame when detecting fingerprint algorithm replacement instruction Show that icon and each second fingerprint algorithm of at least one the second fingerprint algorithm are excellent compared to first fingerprint algorithm Disadvantage, first prompting frame are used to prompting the fingerprint algorithm that selects the fingerprint recognition of the electronic equipment to use, and described second Fingerprint algorithm be the electronic equipment allow using fingerprint algorithm;
The fingerprint algorithm determination unit 502 is also used to detecting at least one described second fingerprint algorithm One of them the second fingerprint algorithm selection instruction when, using one of them described second fingerprint algorithm as the electronic equipment The fingerprint algorithm that uses of fingerprint recognition.
In the implementation of the application, using one of them described second fingerprint algorithm as the electronic equipment After the fingerprint algorithm that fingerprint recognition uses, the fingerprint algorithm determination unit 502 is also used to restart in the electronic equipment The fingerprint algorithm that the fingerprint recognition of the electronic equipment uses is switched to institute from one of them described second fingerprint algorithm by Cheng Hou State the first fingerprint algorithm.
It should be noted that information acquisition unit 501, fingerprint algorithm determination unit 502, algorithm running unit 503 and aobvious Show that unit 504 can be realized through the processing unit.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of fingerprint algorithm determines method, which is characterized in that applied to the electronic equipment including fingerprint mould group, the method packet It includes:
After the completion of the fingerprint mould group associated serial peripheral equipment interface SPI initialization, the fingerprint mould is obtained by the SPI The associated first One Time Programmable OTP value of group;
Associated first fingerprint algorithm of the first OTP value is determined according to the mapping relations of OTP value and fingerprint algorithm;
The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
2. the method according to claim 1, wherein described obtain the fingerprint mould group association by the SPI The first OTP value, comprising: read by the SPI and be stored in associated first OTP of the fingerprint mould group of the first specific region Value.
3. according to the method described in claim 2, it is characterized in that, the associated first OTP value of the fingerprint mould group is the finger Manufacturer's burning of line mould group.
4. the method according to claim 1, wherein described obtain the fingerprint mould group association by the SPI The first OTP value, comprising: by the SPI read be stored in the second specific region the fingerprint mould group relevant information;Root The associated first OTP value of the fingerprint mould group is determined according to the relevant information of the fingerprint mould group.
5. method according to claim 1-4, which is characterized in that described using first fingerprint algorithm as institute After stating the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, the method also includes: fingerprint recognition is needed detecting When processing event, loads and run first fingerprint algorithm.
6. method according to claim 1-5, which is characterized in that described using first fingerprint algorithm as institute After stating the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, the method also includes:
When detecting fingerprint algorithm replacement instruction, show the first prompting frame, show in first prompting frame at least one the The icon of two fingerprint algorithms and each second fingerprint algorithm compared to first fingerprint algorithm advantage and disadvantage, described first Prompting frame is used to prompt the fingerprint algorithm for selecting the fingerprint recognition of the electronic equipment to use, and second fingerprint algorithm is described Electronic equipment allow using fingerprint algorithm;
When detecting the selection instruction for one of them the second fingerprint algorithm at least one described second fingerprint algorithm, The fingerprint algorithm that one of them described second fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
7. according to the method described in claim 6, it is characterized in that, described using one of them described second fingerprint algorithm as institute After stating the fingerprint algorithm that the fingerprint recognition of electronic equipment uses, the method also includes:
After the completion of the electronic equipment is restarted, fingerprint algorithm that the fingerprint recognition of the electronic equipment is used from it is described wherein One the second fingerprint algorithm switches to first fingerprint algorithm.
8. a kind of fingerprint algorithm determining device, which is characterized in that applied to the electronic equipment including fingerprint mould group, the method packet It includes:
Information acquisition unit is used for after the completion of the fingerprint mould group associated serial peripheral equipment interface SPI initialization, by described SPI obtains the associated first One Time Programmable OTP value of fingerprint mould group;
Fingerprint algorithm determination unit, for determining that the first OTP value is associated according to the mapping relations of OTP value and fingerprint algorithm First fingerprint algorithm;The fingerprint algorithm that first fingerprint algorithm is used as the fingerprint recognition of the electronic equipment.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing computer Program, the computer program are executed by processor, to realize the method according to claim 1 to 7.
CN201910120379.2A 2019-02-18 2019-02-18 Fingerprint algorithm determines method and relevant device Pending CN109886181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910120379.2A CN109886181A (en) 2019-02-18 2019-02-18 Fingerprint algorithm determines method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910120379.2A CN109886181A (en) 2019-02-18 2019-02-18 Fingerprint algorithm determines method and relevant device

Publications (1)

Publication Number Publication Date
CN109886181A true CN109886181A (en) 2019-06-14

Family

ID=66928349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910120379.2A Pending CN109886181A (en) 2019-02-18 2019-02-18 Fingerprint algorithm determines method and relevant device

Country Status (1)

Country Link
CN (1) CN109886181A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040252869A1 (en) * 2003-06-13 2004-12-16 Satoru Kondo Image verification system and image verification method
CN101789864A (en) * 2010-02-05 2010-07-28 中国工商银行股份有限公司 On-line bank background identity identification method, device and system
WO2011017844A1 (en) * 2009-08-14 2011-02-17 东南大学 A method for realizing safely updating of application programs in chip layer
CN102737223A (en) * 2011-04-08 2012-10-17 刘石 Cross-device matching fingerprint feature coding method
CN103810249A (en) * 2014-01-20 2014-05-21 中国建设银行股份有限公司 Method and system compatible with algorithms of multiple signature verification manufacturers
CN103823970A (en) * 2014-02-18 2014-05-28 国网安徽省电力公司 Abnormity alarming identification method for doubling relay protecting device on basis of algorithm model
CN104750706A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Drive program information providing method, device and system
CN104778135A (en) * 2015-04-15 2015-07-15 上海与德通讯技术有限公司 Device compatible method and system
CN105867938A (en) * 2016-04-18 2016-08-17 广东欧珀移动通信有限公司 Method and device for identifying fingerprint modules
CN106227437A (en) * 2016-07-22 2016-12-14 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and terminal
CN106295472A (en) * 2015-05-26 2017-01-04 深圳指芯智能科技有限公司 A kind of fingerprint pattern application process and device
CN107450907A (en) * 2017-06-19 2017-12-08 深圳天珑无线科技有限公司 Compatibility method, mobile terminal and the device with store function of fingerprint module
CN107577502A (en) * 2017-07-28 2018-01-12 捷开通讯(深圳)有限公司 The compatibility method of terminal and its fingerprint module, storage device
CN107729083A (en) * 2014-04-30 2018-02-23 华为技术有限公司 The method and embedded device of a kind of load driver program
CN207993030U (en) * 2018-02-08 2018-10-19 广东越众光电科技有限公司 A kind of fingerprint module and electronic equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040252869A1 (en) * 2003-06-13 2004-12-16 Satoru Kondo Image verification system and image verification method
WO2011017844A1 (en) * 2009-08-14 2011-02-17 东南大学 A method for realizing safely updating of application programs in chip layer
CN101789864A (en) * 2010-02-05 2010-07-28 中国工商银行股份有限公司 On-line bank background identity identification method, device and system
CN102737223A (en) * 2011-04-08 2012-10-17 刘石 Cross-device matching fingerprint feature coding method
CN104750706A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Drive program information providing method, device and system
CN103810249A (en) * 2014-01-20 2014-05-21 中国建设银行股份有限公司 Method and system compatible with algorithms of multiple signature verification manufacturers
CN103823970A (en) * 2014-02-18 2014-05-28 国网安徽省电力公司 Abnormity alarming identification method for doubling relay protecting device on basis of algorithm model
CN107729083A (en) * 2014-04-30 2018-02-23 华为技术有限公司 The method and embedded device of a kind of load driver program
CN104778135A (en) * 2015-04-15 2015-07-15 上海与德通讯技术有限公司 Device compatible method and system
CN106295472A (en) * 2015-05-26 2017-01-04 深圳指芯智能科技有限公司 A kind of fingerprint pattern application process and device
CN105867938A (en) * 2016-04-18 2016-08-17 广东欧珀移动通信有限公司 Method and device for identifying fingerprint modules
CN106227437A (en) * 2016-07-22 2016-12-14 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and terminal
CN107450907A (en) * 2017-06-19 2017-12-08 深圳天珑无线科技有限公司 Compatibility method, mobile terminal and the device with store function of fingerprint module
CN107577502A (en) * 2017-07-28 2018-01-12 捷开通讯(深圳)有限公司 The compatibility method of terminal and its fingerprint module, storage device
CN207993030U (en) * 2018-02-08 2018-10-19 广东越众光电科技有限公司 A kind of fingerprint module and electronic equipment

Similar Documents

Publication Publication Date Title
CN109583356A (en) Fingerprint identification method and Related product
CN107566650A (en) Solve lock control method and Related product
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN105388992A (en) Fingerprint recognition method and apparatus and terminal
CN109614865A (en) Fingerprint identification method and Related product
CN107831996A (en) Recognition of face starts method and Related product
CN109543570A (en) Fingerprint identification method and Related product
CN109283996A (en) Display control method and Related product
CN110427741A (en) Fingerprint identification method and Related product
CN105205377A (en) Device, method and mobile terminal for preventing mistakenly starting of camera
CN110287925A (en) Read flipping-over control method and Related product
CN109145800A (en) Fingerprint template update method and Related product
WO2019047715A1 (en) Unlocking control method and related product
CN109376702A (en) Fingerprint identification method and Related product
CN110475020A (en) Apparatus control method and Related product
CN104580731B (en) Display methods, device and the mobile terminal of call interface
CN109284060A (en) Display control method and relevant apparatus
CN105242823A (en) Weather information prompting method and apparatus
CN108363915A (en) unlocking method, mobile terminal and computer readable storage medium
CN108156310A (en) A kind of method and system of finger prints processing, terminal device and computer-readable medium
CN110266942A (en) The synthetic method and Related product of picture
CN109886181A (en) Fingerprint algorithm determines method and relevant device
CN112836533A (en) Virtual card switching method and electronic terminal
CN110263757A (en) Fingerprint identification method and Related product
CN110263752A (en) Fingerprint identification method and Related product

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

Application publication date: 20190614

RJ01 Rejection of invention patent application after publication