CN107423596A - A kind of fingerprint template synchronous method and device - Google Patents

A kind of fingerprint template synchronous method and device Download PDF

Info

Publication number
CN107423596A
CN107423596A CN201710163815.5A CN201710163815A CN107423596A CN 107423596 A CN107423596 A CN 107423596A CN 201710163815 A CN201710163815 A CN 201710163815A CN 107423596 A CN107423596 A CN 107423596A
Authority
CN
China
Prior art keywords
fingerprint template
fingerprint
message
template
information
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
Application number
CN201710163815.5A
Other languages
Chinese (zh)
Other versions
CN107423596B (en
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 CN201710163815.5A priority Critical patent/CN107423596B/en
Publication of CN107423596A publication Critical patent/CN107423596A/en
Application granted granted Critical
Publication of CN107423596B publication Critical patent/CN107423596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of fingerprint template synchronous method and device.Method includes:When at least one fingerprint template in finger trap safety system TZ changes, the finger print information after at least one fingerprint template change is obtained, the finger print information includes fingerprint ID corresponding at least one fingerprint template;According to the finger print information after at least one fingerprint template change, first message is sent by the TZ and gives Android android system;When receiving the first message by the android system, according to the fingerprint template in the first message synchronously android system.The embodiment of the present invention can realize the synchronous change of the fingerprint template in the TZ and android system of mobile terminal, improve the degree of accuracy of fingerprint template application.

Description

A kind of fingerprint template synchronous method and device
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of fingerprint template synchronous method and device.
Background technology
With a large amount of popularization and applications of smart mobile phone, the application that smart mobile phone can be supported is more and more, and function is increasingly Powerful, smart mobile phone develops towards variation, personalized direction, turns into indispensable appliance and electronic in user's life.More Show come more research, how software runs and how user uses smart mobile phone, is decision systems energy consumption and efficiency Key element.
The mobile terminal of Android system can be damaged due to fingerprint template at present, fingerprint database damage or other sequential are asked Topic so that the fingerprint template in the fingerprint template in fingerprint template and Android system in the finger trap safety system of mobile terminal is not Unanimously, so as to cause the fingerprint of typing not use, and the fingerprint of non-typing such as can unlock at the serious problems, at present the problem Solution typically can only brush machine.
The content of the invention
The embodiments of the invention provide a kind of fingerprint template synchronous method and equipment, it is possible to achieve the fingerprint peace of mobile terminal The synchronization of total system and the fingerprint template in fingerprint template database, improve the degree of accuracy of fingerprint template application.
In a first aspect, the embodiment of the present invention provides a kind of fingerprint template synchronous method, including:
When at least one fingerprint template in finger trap safety system TZ changes, at least one fingerprint mould is obtained Finger print information after plate change, the finger print information include fingerprint ID corresponding at least one fingerprint template;
According to the finger print information after at least one fingerprint template change, by the TZ send first message to Android android system;
When receiving the first message by the android system, according to the first message synchronization Fingerprint template in android system.
Second aspect, the embodiments of the invention provide a kind of fingerprint template sychronisation, the device, which has, realizes above-mentioned side The function of the behavior of mobile terminal in method design.The function can be realized by hardware, can also be performed by hardware corresponding Software realize.The hardware or software include one or more modules corresponding with above-mentioned function phase.
The fingerprint template sychronisation includes processing unit, and the processing unit is used to work as in finger trap safety system TZ extremely When a few fingerprint template changes, the finger print information after at least one fingerprint template change, the fingerprint letter are obtained Breath includes fingerprint ID corresponding at least one fingerprint template;And for being become according at least one fingerprint template The finger print information after more, first message is sent by the TZ and gives Android android system;And for when by described When android system receives the first message, according to the fingerprint mould in the first message synchronously android system Plate.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, the mobile terminal includes processor, storage Device, transceiver and bus;
The processor is in communication with each other by the bus and the memory, the transceiver;
The memory storage executable program code, the processor are used to call the executable program in the storage Code, perform such as the part or all of step described in first aspect either method of the embodiment of the present invention.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, it is described computer-readable Storage medium is stored with the program code performed for computer equipment, and the program code specifically includes instruction, and the instruction is used In performing such as the part or all of step described in first aspect either method of the embodiment of the present invention.
As can be seen that in the embodiment of the present invention, when at least one fingerprint template in finger trap safety system TZ changes When, mobile terminal obtains the finger print information after at least one fingerprint template change first, the finger print information include it is described extremely Fingerprint ID corresponding to a few fingerprint template, secondly, according to the fingerprint after at least one fingerprint template change Information, first message is sent by the TZ and gives Android android system, finally, is received when by the android system During the first message, according to the fingerprint template in the first message synchronously android system.It is mobile whole so as to realize The synchronous change of fingerprint template in the finger trap safety system TZ and android system at end, is advantageous to improve fingerprint template application The degree of accuracy.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of fingerprint template synchronous method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another fingerprint template synchronous method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another fingerprint template synchronous method disclosed in the embodiment of the present invention;
Fig. 4 A are a kind of structural representations of fingerprint template sychronisation disclosed in the embodiment of the present invention;
Fig. 4 B are a kind of structural representations of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.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.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function, Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.The embodiment of the present invention is carried out below detailed It is thin to introduce.
Referring to Fig. 1, Fig. 1 is the embodiments of the invention provide a kind of schematic flow sheet of fingerprint template synchronous method, should For being provided with the mobile terminal of Android android system, the mobile terminal also includes finger trap safety system, as illustrated, This fingerprint template synchronous method includes:
S101, it is mobile when at least one fingerprint template in finger trap safety system (Trust Zone, TZ) changes Terminal obtains the finger print information after at least one fingerprint template change, and the finger print information includes at least one fingerprint Fingerprint ID corresponding to template;
Wherein, what is preserved in the security fingerprint system TZ is the fingerprint image template of fingerprint typing, and the typing Fingerprint image template information, such as fingerprint ID, fingerprint title, what the Android android system preserved is the typing Fingerprint image template information.
In a possible example, at least one fingerprint template worked as in finger trap safety system TZ changes When, the finger print information after at least one fingerprint template change is obtained, including:
When the first fingerprint template of typing in the TZ, the finger print information of first fingerprint template is obtained;Or,
When deleting the second fingerprint template in the TZ, the finger print information of second fingerprint template is obtained;Or,
When detecting the damage of the 3rd fingerprint template in the TZ, the finger print information of the 3rd fingerprint template is obtained.
S102, the mobile terminal pass through institute according to the finger print information after at least one fingerprint template change State TZ transmissions first message and give Android android system;
Wherein, the first message is mark ID of fingerprint template after at least one fingerprint template changes etc. Information.
In a possible implementation, first message is sent by the TZ and gives Android android system, including: The first message is sent to the fingerprinting service FingerprintService by the TZ.
S103, the mobile terminal by the android system when receiving the first message, according to described Fingerprint template in android system described in one message synchronization.
In a possible example, the mobile terminal includes fingerprinting service FingerprintService and fingerprint leads to Believe Fingerprintd processes, it is described when receiving the first message by the android system, according to described first Fingerprint template in android system described in message synchronization, including:
When receiving the first message by the Fingerprintd processes, institute is controlled according to the first message State fingerprint templates of the FingerprintService synchronously in the Android system.
For example, when user sets the first fingerprint of typing in application by the fingerprint, mobile terminal passes through described Fingerprint sets application to send the first fingerprint template typing information to the FingerprintService, described When FingerprintService receives the first fingerprint template typing information, pass through the Fingerprintd Process flowcharts The TZ preserves first fingerprint template, and after the first fingerprint typing success, the TZ generates first fingerprint template Fingerprint ID, and the fingerprint ID is returned to the Fingerprintd processes, described in the Fingerprintd processes are sent Fingerprint ID gives the FingerprintService, completes the fingerprint ID of first fingerprint template in Android system The synchronization of first fingerprint template.
In a possible implementation, at least one fingerprint template changed is identified with active user and closed Join, the fingerprint template in the synchronization android system associates described for synchronously with active user mark Fingerprint template in android system.
Wherein, can prestore multiple users of mobile terminal identify multigroup fingerprint template of association, each user mark pair A user is answered, each group of fingerprint template comprises at least a fingerprint template.
As can be seen that in the embodiment of the present invention, when at least one fingerprint template in finger trap safety system TZ changes When, mobile terminal obtains the finger print information after at least one fingerprint template change first, the finger print information include it is described extremely Fingerprint ID corresponding to a few fingerprint template, secondly, according to the fingerprint after at least one fingerprint template change Information, first message is sent by the TZ and gives Android android system, finally, is received when by the android system During the first message, according to the fingerprint template in the first message synchronously android system.It is mobile whole so as to realize The synchronous change of fingerprint template in the finger trap safety system TZ and android system at end, is advantageous to improve fingerprint template application The degree of accuracy.
In a possible example, at least one fingerprint template worked as in finger trap safety system TZ changes When, before obtaining the finger print information after at least one fingerprint template change, methods described also includes:
When detecting system restarting, the second message is sent to the TZ by the Fingerprintd processes;
When receiving second message by the TZ, M fingerprint template information in the TZ is loaded, M is just Integer;
The M fingerprint template information is sent to the Fingerprintd processes;
When receiving the M fingerprint template information by the Fingerprintd processes, according to the M fingerprint Template Information controls the fingerprint template of the FingerprintService synchronously in the Android system.
In a possible example, at least one fingerprint template worked as in finger trap safety system TZ changes When, before obtaining the finger print information after at least one fingerprint template change, methods described also includes:
When receiving the fingerprint template synchronization request that fingerprint setting application is sent by the TZ, send in the TZ N number of fingerprint template information gives the Fingerprintd processes, and N is positive integer;
When receiving N number of fingerprint template information by the Fingerprintd processes, according to N number of fingerprint Template Information controls the fingerprint template of the FingerprintService synchronously in the Android system.
In this possible example, mobile terminal is when the fingerprint template that fingerprint setting application transmission is received by the TZ During synchronization request, specific implementation of N number of fingerprint template information to the Fingerprintd processes in the TZ is sent Can be:The fingerprint of mobile terminal sets application to send the fingerprint template synchronization request to described FingerprintService, the FingerprintService are received after the fingerprint template synchronization request by described Fingerprintd processes send the fingerprint template synchronization request to the TZ, when the TZ receives the fingerprint template synchronization After request, N number of fingerprint template information is sent to the Fingerprintd processes.
It can be seen that in above-mentioned possible example, mobile terminal is set when detecting system restarting, or receiving fingerprint Put using the fingerprint template synchronization request sent, the synchronous TZ and the fingerprint template in the Android system, ensure that Before at least one fingerprint template in the TZ changes, the TZ and the fingerprint template in the Android system are same Step, improve after at least one fingerprint template in the TZ changes, according to the change of at least one fingerprint template TZ described in synchronizing information and the fingerprint template in the Android system accuracy.
It is consistent with the embodiment shown in above-mentioned Fig. 1, refer to referring to Fig. 2, Fig. 2 is another kind provided in an embodiment of the present invention The schematic flow sheet of line template synchronous method, applied to the mobile terminal for being provided with Android android system, the mobile terminal Also include finger trap safety system, as illustrated, this fingerprint template synchronous method includes:
S201, when mobile terminal detects system restarting, send second by the Fingerprintd processes and disappear Cease and give finger trap safety system TZ;
S202, the mobile terminal load M finger in the TZ when receiving second message by the TZ Line Template Information, M are positive integer, and send the M fingerprint template information to the Fingerprintd processes;
S203, the mobile terminal is worked as receives the M fingerprint template information by the Fingerprintd processes When, according to the finger in the M fingerprint template information control FingerprintService synchronously Android system Line template;
S204, when at least one fingerprint template in the TZ changes, described in the acquisition for mobile terminal at least Finger print information after one fingerprint template change, the finger print information include fingerprint mark corresponding at least one fingerprint template Know ID;
S205, the mobile terminal pass through institute according to the finger print information after at least one fingerprint template change State TZ and send first message to android system;
S206, the mobile terminal by the android system when receiving the first message, according to described Fingerprint template in android system described in one message synchronization.
As can be seen that in the embodiment of the present invention, when at least one fingerprint template in finger trap safety system TZ changes When, mobile terminal obtains the finger print information after at least one fingerprint template change first, the finger print information include it is described extremely Fingerprint ID corresponding to a few fingerprint template, secondly, according to the fingerprint after at least one fingerprint template change Information, first message is sent by the TZ and gives Android android system, finally, is received when by the android system During the first message, according to the fingerprint template in the first message synchronously android system.It is mobile whole so as to realize The synchronous change of fingerprint template in the finger trap safety system TZ and android system at end, is advantageous to improve fingerprint template application The degree of accuracy.
In addition, mobile terminal is when detecting system restarting, the synchronous TZ and the finger in the Android system Line template, before ensure that at least one fingerprint template in the TZ changes, the TZ and the Android system In fingerprint template it is synchronous, improve after at least one fingerprint template in the TZ changes, according to described at least one The accuracy of the synchronous fingerprint template in the TZ and the Android system of the modification information of fingerprint template.
It is consistent with the embodiment shown in above-mentioned Fig. 1, refer to referring to Fig. 3, Fig. 3 is another kind provided in an embodiment of the present invention The schematic flow sheet of line template synchronous method, applied to the mobile terminal for being provided with Android android system, the mobile terminal Also include finger trap safety system, as illustrated, this fingerprint template synchronous method includes:
S301, mobile terminal are synchronous when the fingerprint template that fingerprint setting application transmission is received by finger trap safety system TZ During request, it is positive integer to send N number of fingerprint template information in the TZ to the Fingerprintd processes, N;
S302, the mobile terminal is worked as receives N number of fingerprint template information by the Fingerprintd processes When, according to the finger in N number of fingerprint template information control FingerprintService synchronously Android system Line template;
S303, when at least one fingerprint template in the TZ changes, described in the acquisition for mobile terminal at least Finger print information after one fingerprint template change, the finger print information include fingerprint mark corresponding at least one fingerprint template Know ID;
S304, the mobile terminal pass through institute according to the finger print information after at least one fingerprint template change State TZ and send first message to android system;
S305, the mobile terminal by the android system when receiving the first message, according to described Fingerprint template in android system described in one message synchronization.
As can be seen that in the embodiment of the present invention, when at least one fingerprint template in finger trap safety system TZ changes When, mobile terminal obtains the finger print information after at least one fingerprint template change first, the finger print information include it is described extremely Fingerprint ID corresponding to a few fingerprint template, secondly, according to the fingerprint after at least one fingerprint template change Information, first message is sent by the TZ and gives Android android system, finally, is received when by the android system During the first message, according to the fingerprint template in the first message synchronously android system.It is mobile whole so as to realize The synchronous change of fingerprint template in the finger trap safety system TZ and android system at end, is advantageous to improve fingerprint template application The degree of accuracy.
In addition, mobile terminal is in the fingerprint template synchronization request for receiving fingerprint and setting application to send, the synchronous TZ with Fingerprint template in the Android system, before ensure that at least one fingerprint template in the TZ changes, institute State that TZ is synchronous with the fingerprint template in the Android system, at least one fingerprint template improved in the TZ becomes After more, according to the fingerprint mould in the modification information of at least one fingerprint template synchronously TZ and the Android system The accuracy of plate.
It is above-mentioned that mainly the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure.It is appreciated that , for mobile terminal in order to realize above-mentioned function, it comprises perform the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with The mode of hardware or computer software driving hardware performs, application-specific and design constraint bar depending on technical scheme Part.Professional and technical personnel can specifically realize described function to each using distinct methods, but this reality Now it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional unit according to above method example to mobile terminal, for example, can Each functional unit is divided with corresponding each function, two or more functions can also be integrated in a processing unit In.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.Need It is noted that the division in the embodiment of the present invention to unit is schematical, only a kind of division of logic function is actual real There can be other dividing mode now.
In the case of using integrated unit, Fig. 4 A show a kind of fingerprint template sychronisation that the present embodiment provides Structural representation.Fingerprint template sychronisation 400 includes:Processing unit 402 and communication unit 403.Processing unit 402 is used for Action to fingerprint template sychronisation is controlled management, for example, processing unit 402 is used to support fingerprint template sychronisation Perform Fig. 1 in step S101 to S103, Fig. 2 in step S201 to 206 and Fig. 3 in step S301 to S305 and/or Other processes for techniques described herein.Fingerprint template sychronisation can also include memory cell 401, for storing The program code and data of fingerprint template sychronisation.
Wherein, processing unit 402 can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard Part part or its any combination.What it can realize or perform with reference to described by the disclosure of invention various exemplary patrols Collect square frame, module and circuit.The processor can also be the combination for realizing computing function, such as include one or more micro- places Manage device combination, combination of DSP and microprocessor etc..Communication unit 403 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and can include one or more interfaces.Memory cell 401 can be memory.
Wherein, at least one fingerprint template that the processing unit 402 is used to work as in finger trap safety system TZ changes When, the finger print information after at least one fingerprint template change is obtained, the finger print information includes at least one fingerprint Fingerprint ID corresponding to template;And for according to the finger print information after at least one fingerprint template change, leading to Cross the TZ transmissions first message and give Android android system;And for described when being received by the android system During first message, according to the fingerprint template in the first message synchronously android system.
In a possible example, changed at least one fingerprint template when in finger trap safety system TZ When, in terms of obtaining the finger print information after at least one fingerprint template change, the processing unit is specifically used for:As the TZ During middle the first fingerprint template of typing, the finger print information of first fingerprint template is obtained;Or and for being deleted when in the TZ During the second fingerprint template, the finger print information of second fingerprint template is obtained;Or and for when detecting the in the TZ When three fingerprint templates damage, the finger print information of the 3rd fingerprint template is obtained.
In a possible example, the mobile terminal includes fingerprinting service FingerprintService and fingerprint leads to Fingerprintd processes are believed, described when receiving the first message by the android system, according to described the In terms of fingerprint template in android system described in one message synchronization, the processing unit is specifically used for:When by described When Fingerprintd processes receive the first message, according to first message control The synchronous fingerprint templates in the Android system of FingerprintService.
In a possible example, the processing unit is at least one fingerprint when in finger trap safety system TZ When template changes, before obtaining the finger print information after at least one fingerprint template change, be additionally operable to be when detecting During system restarting, the second message is sent to the TZ by the Fingerprintd processes;And for when by described When TZ receives second message, M fingerprint template information in the TZ is loaded, M is positive integer;And for sending M fingerprint template information is stated to the Fingerprintd processes;And connect for working as by the Fingerprintd processes When receiving the M fingerprint template information, control the FingerprintService same according to the M fingerprint template information Walk the fingerprint template in the Android system.
In a possible example, the processing unit is at least one fingerprint when in finger trap safety system TZ When template changes, before obtaining the finger print information after at least one fingerprint template change, it is additionally operable to when by described When TZ receives fingerprint and sets the fingerprint template synchronization request that application is sent, send N number of fingerprint template information in the TZ to The Fingerprintd processes, N are positive integer;And the N is received by the Fingerprintd processes for working as During individual fingerprint template information, according to N number of fingerprint template information controls the FingerprintService synchronizations Fingerprint template in Android system.
When processing unit 402 is processor, communication unit 403 is communication interface, when memory cell 401 is memory, this Fingerprint template sychronisation involved by inventive embodiments can be the mobile terminal shown in Fig. 4 B.
Refering to shown in Fig. 4 B, the mobile terminal 410 includes:Processor 412, transceiver 413, memory 411.Optionally, Mobile terminal 410 can also include bus 414.Wherein, processor 412 passes through bus 414 and transceiver 413, the phase of memory 411 Connect;Bus 414 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or EISA (Extended Industry Standard Architecture, abbreviation EISA) Bus etc..The bus 414 can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only used in Fig. 4 B One thick line represents, it is not intended that an only bus or a type of bus.
The mobile terminal shown in fingerprint template sychronisation or Fig. 4 B shown in above-mentioned Fig. 4 A is it can be appreciated that a kind of use In the device of mobile terminal, the embodiment of the present invention does not limit.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details do not disclose, refer to present invention method part.The movement Terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not formed to mobile phone Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is more Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 920 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence etc.;Storage data field can store uses created data (such as fingerprint template ID etc.) etc. according to mobile phone.In addition, storage Device 920 can include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device or other volatile solid-state parts.
Input block 930 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 930 may include fingerprint sensor 931 and other inputs Equipment 932.Fingerprint sensor 931, user can be gathered in finger print data thereon.Except fingerprint sensor 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch screen, thing Manage one kind or more in button, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Display unit 940 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in Figure 5, fingerprint sensor 931 and display screen 941 are the parts independent as two to realize mobile phone Input and input function, but in some embodiments it is possible to fingerprint sensor 931 and display screen 941 are integrated and realize hand The input of machine and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axles) acceleration It is small, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 Voice data is changed to, then after voice data playback process device 980 is handled, through RF circuits 910 to be sent to such as another mobile phone, Or voice data is played to memory 920 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiment shown in 1~Fig. 3 of earlier figures, each step method flow can based on the mobile phone structure realize.
In embodiment shown in earlier figures 4A, each unit function can based on the mobile phone structure realize.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of of any fingerprint template synchronous method described in the above method embodiment when program performs Step.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical 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 unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (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 invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in summary, this specification content should not be construed as limiting the invention.

Claims (11)

  1. A kind of 1. fingerprint template synchronous method, it is characterised in that including:
    When at least one fingerprint template in finger trap safety system TZ changes, obtain at least one fingerprint template and become Finger print information after more, the finger print information include fingerprint ID corresponding at least one fingerprint template;
    According to the finger print information after at least one fingerprint template change, first message is sent to Android by the TZ Android system;
    When receiving the first message by the android system, according to the synchronous Android of the first message Fingerprint template in system.
  2. 2. according to the method for claim 1, it is characterised in that at least one fingerprint worked as in finger trap safety system TZ When template changes, the finger print information after at least one fingerprint template change is obtained, including:
    When the first fingerprint template of typing in the TZ, the finger print information of first fingerprint template is obtained;Or,
    When deleting the second fingerprint template in the TZ, the finger print information of second fingerprint template is obtained;Or,
    When detecting the damage of the 3rd fingerprint template in the TZ, the finger print information of the 3rd fingerprint template is obtained.
  3. 3. method according to claim 1 or 2, it is characterised in that the mobile terminal includes fingerprinting service FingerprintService and fingerprint communication Fingerprintd processes, it is described to be received by the android system During the first message, according to the fingerprint template in the first message synchronously android system, including:
    When receiving the first message by the Fingerprintd processes, according to first message control The synchronous fingerprint templates in the Android system of FingerprintService.
  4. 4. according to the method described in any one of claims 1 to 3, it is characterised in that described to work as in finger trap safety system TZ extremely When a few fingerprint template changes, before obtaining the finger print information after at least one fingerprint template change, the side Method also includes:
    When detecting system restarting, the second message is sent to the TZ by the Fingerprintd processes;
    When receiving second message by the TZ, M fingerprint template information in the TZ is loaded, M is positive integer;
    The M fingerprint template information is sent to the Fingerprintd processes;
    When receiving the M fingerprint template information by the Fingerprintd processes, according to the M fingerprint template Information controls the fingerprint template of the FingerprintService synchronously in the Android system.
  5. 5. according to the method described in any one of claims 1 to 3, it is characterised in that described to work as in finger trap safety system TZ extremely When a few fingerprint template changes, before obtaining the finger print information after at least one fingerprint template change, the side Method also includes:
    When receiving the fingerprint template synchronization request that fingerprint setting application is sent by the TZ, send N number of in the TZ Fingerprint template information gives the Fingerprintd processes, and N is positive integer;
    When receiving N number of fingerprint template information by the Fingerprintd processes, according to N number of fingerprint template Information controls the fingerprint template of the FingerprintService synchronously in the Android system.
  6. A kind of 6. fingerprint template sychronisation, it is characterised in that the fingerprint template sychronisation includes processing unit,
    The processing unit is used for when at least one fingerprint template in finger trap safety system TZ changes, described in acquisition extremely Finger print information after few fingerprint template change, the finger print information include fingerprint corresponding at least one fingerprint template Identify ID;And for according to the finger print information after at least one fingerprint template change, the is sent by the TZ One message gives Android android system;And for when receiving the first message by the android system, root According to the fingerprint template in the first message synchronously android system.
  7. 7. fingerprint template sychronisation according to claim 6, it is characterised in that described when in finger trap safety system TZ At least one fingerprint template when changing, in terms of obtaining the finger print information after at least one fingerprint template change, institute Processing unit is stated to be specifically used for:When the first fingerprint template of typing in the TZ, the fingerprint letter of first fingerprint template is obtained Breath;Or and for when deleting the second fingerprint template in the TZ, obtaining the finger print information of second fingerprint template;Or with And for when detecting the damage of the 3rd fingerprint template in the TZ, obtaining the finger print information of the 3rd fingerprint template.
  8. 8. the fingerprint template sychronisation according to claim 6 or 7, it is characterised in that the mobile terminal includes fingerprint FingerprintService and fingerprint communication Fingerprintd processes are serviced, ought pass through the android system described It is described in terms of the fingerprint template in the first message synchronously android system when receiving the first message Processing unit is specifically used for:When receiving the first message by the Fingerprintd processes, according to described first Message controls the fingerprint template of the FingerprintService synchronously in the Android system.
  9. 9. according to the fingerprint template sychronisation described in claim any one of 6-8, it is characterised in that the processing unit is in institute State when at least one fingerprint template in finger trap safety system TZ changes, obtain at least one fingerprint template change Before finger print information afterwards, it is additionally operable to, when detecting system restarting, the be sent by the Fingerprintd processes Two message give the TZ;And for when receiving second message by the TZ, loading M fingerprint in the TZ Template Information, M are positive integer;And for sending the M fingerprint template information to the Fingerprintd processes;And For when receiving the M fingerprint template information by the Fingerprintd processes, according to the M fingerprint template Information controls the fingerprint template of the FingerprintService synchronously in the Android system.
  10. 10. according to the fingerprint template sychronisation described in claim any one of 6-8, it is characterised in that the processing unit exists When at least one fingerprint template when in finger trap safety system TZ changes, obtain at least one fingerprint template and become Before finger print information after more, it is additionally operable to when the fingerprint template synchronization request that fingerprint setting application transmission is received by the TZ When, it is positive integer to send N number of fingerprint template information in the TZ to the Fingerprintd processes, N;And for when logical When crossing the Fingerprintd processes and receiving N number of fingerprint template information, controlled according to N number of fingerprint template information The synchronous fingerprint templates in the Android system of the FingerprintService.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory, transceiver and bus;
    The processor is in communication with each other by the bus and the memory, the transceiver;
    The memory storage executable program code, the processor are used to call the executable program generation in the storage Code, perform the method as described by any one of claim 1 to 5.
CN201710163815.5A 2017-03-17 2017-03-17 Fingerprint template synchronization method and device Active CN107423596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710163815.5A CN107423596B (en) 2017-03-17 2017-03-17 Fingerprint template synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710163815.5A CN107423596B (en) 2017-03-17 2017-03-17 Fingerprint template synchronization method and device

Publications (2)

Publication Number Publication Date
CN107423596A true CN107423596A (en) 2017-12-01
CN107423596B CN107423596B (en) 2020-03-03

Family

ID=60424084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710163815.5A Active CN107423596B (en) 2017-03-17 2017-03-17 Fingerprint template synchronization method and device

Country Status (1)

Country Link
CN (1) CN107423596B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09297845A (en) * 1996-05-08 1997-11-18 Mitsubishi Electric Corp Fingerprint recognition device
CN101231691A (en) * 2007-12-24 2008-07-30 浙江金指码科技有限公司 Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity
CN105303176A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Fingerprint template updating method and device
CN105991287A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Signature data generation and fingerprint authentication request method and device
CN106372609A (en) * 2016-09-05 2017-02-01 广东欧珀移动通信有限公司 Fingerprint template update method, fingerprint template update device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09297845A (en) * 1996-05-08 1997-11-18 Mitsubishi Electric Corp Fingerprint recognition device
CN101231691A (en) * 2007-12-24 2008-07-30 浙江金指码科技有限公司 Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity
CN105991287A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Signature data generation and fingerprint authentication request method and device
CN105303176A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Fingerprint template updating method and device
CN106372609A (en) * 2016-09-05 2017-02-01 广东欧珀移动通信有限公司 Fingerprint template update method, fingerprint template update device and terminal equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JASONGAOH: ""Android开发中Fingerprint模块浅析"", 《HTTPS://BLOG.CSDN.NET/H_GAO/ARTICLE/DETAILS/54564260》 *
杨霞 等: ""基于TrustZone的指纹识别安全技术研究与实现"", 《计算机科学》 *

Also Published As

Publication number Publication date
CN107423596B (en) 2020-03-03

Similar Documents

Publication Publication Date Title
CN107219976A (en) Application display method and related product
CN106484283A (en) A kind of display control method and mobile terminal
CN106331372B (en) Data transmission method and mobile terminal
CN107422962A (en) A kind of bright screen control method and equipment
CN107087053A (en) A kind of screen backlight control method and mobile terminal
CN106302808A (en) Data transmission method and mobile terminal
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106951761A (en) A kind of unlocked by fingerprint method and device
CN104239343A (en) User input information processing method and device
CN106502826A (en) Data backup and transmission method and mobile terminal
CN106502824A (en) Data back up method and Cloud Server
CN106569910A (en) Data backup and transmission method, and mobile terminal
CN106534288A (en) Data transmission method and mobile terminal
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN106445743A (en) Data backup transmission method and mobile terminal
CN106469028A (en) A kind of data migration method and mobile terminal
CN106528638A (en) Method for deleting backup data, and mobile terminal
CN107066324A (en) A kind of control method and equipment of finger prints processing resource
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN106249992A (en) A kind of webpage control method and mobile terminal
CN106980554A (en) A kind of process handling method and device
CN107592409A (en) Application control method and device
CN107066859A (en) A kind of unlocked by fingerprint method and device
CN107272985A (en) Notification message processing method and related product
CN107423150A (en) A kind of fingerprint module control method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant