CN107423596B - Fingerprint template synchronization method and device - Google Patents

Fingerprint template synchronization method and device Download PDF

Info

Publication number
CN107423596B
CN107423596B CN201710163815.5A CN201710163815A CN107423596B CN 107423596 B CN107423596 B CN 107423596B CN 201710163815 A CN201710163815 A CN 201710163815A CN 107423596 B CN107423596 B CN 107423596B
Authority
CN
China
Prior art keywords
fingerprint
template
information
fingerprint template
message
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.)
Active
Application number
CN201710163815.5A
Other languages
Chinese (zh)
Other versions
CN107423596A (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

Images

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

Abstract

The embodiment of the invention discloses a fingerprint template synchronization method and a fingerprint template synchronization device. The method comprises the following steps: when at least one fingerprint template in a fingerprint security system TZ is changed, acquiring fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template; according to the fingerprint information after the at least one fingerprint template is changed, sending a first message to an Android system through the TZ; and when the first message is received through the Android system, synchronizing a fingerprint template in the Android system according to the first message. According to the embodiment of the invention, the TZ of the mobile terminal and the fingerprint template in the Android system can be synchronously changed, and the accuracy of the application of the fingerprint template is improved.

Description

Fingerprint template synchronization method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a fingerprint template synchronization method and a fingerprint template synchronization device.
Background
With the popularization and application of smart phones in a large number, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and individuation and become indispensable electronic products in user life. More and more research shows how software runs and how users use smartphones are key elements in determining system energy consumption and efficiency.
At present, a mobile terminal of an android system can cause the inconsistency between a fingerprint template in a fingerprint safety system of the mobile terminal and a fingerprint template in the android system due to the damage of the fingerprint template, the damage of a fingerprint database or other time sequence problems, so that an input fingerprint cannot be used, an unadulterated fingerprint can be unlocked and the like, and the existing solution to the problem can only be used for swiping.
Disclosure of Invention
The embodiment of the invention provides a fingerprint template synchronization method and device, which can realize the synchronization of a fingerprint security system of a mobile terminal and a fingerprint template in a fingerprint template database and improve the accuracy of fingerprint template application.
In a first aspect, an embodiment of the present invention provides a fingerprint template synchronization method, including:
when at least one fingerprint template in a fingerprint security system TZ is changed, acquiring fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template;
according to the fingerprint information after the at least one fingerprint template is changed, sending a first message to an Android system through the TZ;
and when the first message is received through the Android system, synchronizing a fingerprint template in the Android system according to the first message.
In a second aspect, an embodiment of the present invention provides a fingerprint template synchronization apparatus, where the apparatus has a function of implementing a behavior of a mobile terminal in the above method design. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
The fingerprint template synchronizing device comprises a processing unit, wherein the processing unit is used for acquiring fingerprint information after at least one fingerprint template in a fingerprint security system TZ is changed, and the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template; the fingerprint template is used for changing the fingerprint information of the at least one fingerprint template, and sending a first message to an Android system through the TZ; and the fingerprint template in the Android system is synchronized according to the first message when the first message is received through the Android system.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a processor, a memory, a transceiver, and a bus;
the processor is communicated with the memory and the transceiver through the bus;
the memory stores executable program code and the processor is configured to call the executable program code in the memory to perform some or all of the steps described in any of the methods according to the first aspect of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores program code for execution by a computer device, where the program code specifically includes instructions for performing some or all of the steps described in any one of the methods according to the first aspect of the embodiments of the present invention.
It can be seen that, in the embodiment of the present invention, when at least one fingerprint template in a fingerprint security system TZ is changed, a mobile terminal first obtains fingerprint information after the at least one fingerprint template is changed, where the fingerprint information includes a fingerprint identifier ID corresponding to the at least one fingerprint template, then sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed, and finally synchronizes the fingerprint templates in the Android system according to the first message when the first message is received through the Android system. Therefore, synchronous change of the fingerprint template in the fingerprint security system TZ and the Android system of the mobile terminal is realized, and the accuracy of application of the fingerprint template is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a fingerprint template synchronization method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another fingerprint template synchronization method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another fingerprint template synchronization method according to an embodiment of the present invention;
FIG. 4A is a schematic structural diagram of a fingerprint template synchronization apparatus according to an embodiment of the present invention;
fig. 4B is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The following describes embodiments of the present invention in detail.
Referring to fig. 1, fig. 1 is a schematic flowchart of a fingerprint template synchronization method provided in an embodiment of the present invention, and is applied to a mobile terminal equipped with an Android system, where the mobile terminal further includes a fingerprint security system, and as shown in the figure, the fingerprint template synchronization method includes:
s101, when at least one fingerprint template in a fingerprint security system (Trust Zone, TZ) is changed, a mobile terminal acquires fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template;
the fingerprint image template recorded by the fingerprint and the information of the recorded fingerprint image template, such as the fingerprint ID and the fingerprint name, are stored in the security fingerprint system TZ, and the information of the recorded fingerprint image template is stored in the Android system.
In one possible example, when at least one fingerprint template in the fingerprint security system TZ is changed, acquiring fingerprint information after the change of the at least one fingerprint template includes:
when a first fingerprint template is input into the TZ, acquiring fingerprint information of the first fingerprint template; or the like, or, alternatively,
when a second fingerprint template is deleted in the TZ, fingerprint information of the second fingerprint template is obtained; or the like, or, alternatively,
and when detecting that a third fingerprint template in the TZ is damaged, acquiring fingerprint information of the third fingerprint template.
S102, the mobile terminal sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed;
the first message is information such as an identification ID of the fingerprint template after the at least one fingerprint template is changed.
In one possible implementation manner, sending a first message to an Android system through the TZ includes: and sending the first message to the fingerprint service FingerprintService through the TZ.
S103, when the mobile terminal receives the first message through the Android system, the fingerprint template in the Android system is synchronized according to the first message.
In one possible example, the mobile terminal includes a fingerprint service FingerprintService process and a fingerprint communication Fingerprintd process, and when the first message is received through the Android system, synchronizing a fingerprint template in the Android system according to the first message includes:
and when the first message is received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint template in the android system according to the first message.
For example, when a user enters a first fingerprint through the fingerprint setting application, the mobile terminal sends the first fingerprint template entry information to the FingerprintService through the fingerprint setting application, when the FingerprintService receives the first fingerprint template entry information, the TZ controls the TZ to store the first fingerprint template through the Fingerprintd process, after the first fingerprint entry is successful, the TZ generates a fingerprint ID of the first fingerprint template and returns the fingerprint ID to the Fingerprintd process, and the Fingerprintd process sends the fingerprint ID to the FingerprintService to complete synchronization of the fingerprint ID of the first fingerprint template in the android system.
In a possible implementation manner, the at least one changed fingerprint template is associated with a current user identifier, and the synchronizing the fingerprint template in the Android system is the synchronizing of the fingerprint template in the Android system associated with the current user identifier.
The mobile terminal can prestore a plurality of groups of fingerprint templates associated with a plurality of user identifications, each user identification corresponds to one user, and each group of fingerprint templates at least comprises one fingerprint template.
It can be seen that, in the embodiment of the present invention, when at least one fingerprint template in a fingerprint security system TZ is changed, a mobile terminal first obtains fingerprint information after the at least one fingerprint template is changed, where the fingerprint information includes a fingerprint identifier ID corresponding to the at least one fingerprint template, then sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed, and finally synchronizes the fingerprint templates in the Android system according to the first message when the first message is received through the Android system. Therefore, synchronous change of the fingerprint template in the fingerprint security system TZ and the Android system of the mobile terminal is realized, and the accuracy of application of the fingerprint template is improved.
In one possible example, before acquiring the fingerprint information after the change of at least one fingerprint template in the fingerprint security system TZ when the at least one fingerprint template is changed, the method further includes:
when detecting that the system is restarted, sending a second message to the TZ through the fingerprintds process;
when the second message is received through the TZ, loading M pieces of fingerprint template information in the TZ, wherein M is a positive integer;
sending the M pieces of fingerprint template information to the finger process;
and when the M pieces of fingerprint template information are received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint templates in the android system according to the M pieces of fingerprint template information.
In one possible example, before acquiring the fingerprint information after the change of at least one fingerprint template in the fingerprint security system TZ when the at least one fingerprint template is changed, the method further includes:
when a fingerprint template synchronization request sent by a fingerprint setting application is received through the TZ, sending N pieces of fingerprint template information in the TZ to the Fingerprintd process, wherein N is a positive integer;
and when the N pieces of fingerprint template information are received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint templates in the android system according to the N pieces of fingerprint template information.
In this possible example, when the mobile terminal receives a fingerprint template synchronization request sent by a fingerprint setting application through the TZ, a specific implementation manner of sending N pieces of fingerprint template information in the TZ to the fingerprintds process may be: the fingerprint setting application of the mobile terminal sends the fingerprint template synchronization request to the FingerprintService, the FingerprintService sends the fingerprint template synchronization request to the TZ through the fingerprintprocess after receiving the fingerprint template synchronization request, and the TZ sends the N pieces of fingerprint template information to the fingerprintprocess after receiving the fingerprint template synchronization request.
It can be seen that in the above possible example, when the mobile terminal detects that the system is restarted, or receives a fingerprint template synchronization request sent by a fingerprint setting application, the TZ and the fingerprint template in the android system are synchronized, so that before at least one fingerprint template in the TZ is changed, the TZ and the fingerprint template in the android system are synchronized, and after at least one fingerprint template in the TZ is changed, the accuracy of synchronizing the TZ and the fingerprint template in the android system according to the change information of the at least one fingerprint template is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of another fingerprint template synchronization method provided by the embodiment of the present invention, and is applied to a mobile terminal with an Android system, where the mobile terminal further includes a fingerprint security system, where as shown in the figure, the fingerprint template synchronization method includes:
s201, when detecting that the system is restarted, the mobile terminal sends a second message to the fingerprint security system TZ through the fingerprint process;
s202, when the mobile terminal receives the second message through the TZ, loading M pieces of fingerprint template information in the TZ, wherein M is a positive integer, and sending the M pieces of fingerprint template information to the finger process;
s203, when the mobile terminal receives the M pieces of fingerprint template information through the fingerprint process, controlling the fingerprint template in the fingerprint service to be synchronous in the android system according to the M pieces of fingerprint template information;
s204, when at least one fingerprint template in the TZ is changed, the mobile terminal acquires fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template;
s205, the mobile terminal sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed;
s206, when the mobile terminal receives the first message through the Android system, synchronizing a fingerprint template in the Android system according to the first message.
It can be seen that, in the embodiment of the present invention, when at least one fingerprint template in a fingerprint security system TZ is changed, a mobile terminal first obtains fingerprint information after the at least one fingerprint template is changed, where the fingerprint information includes a fingerprint identifier ID corresponding to the at least one fingerprint template, then sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed, and finally synchronizes the fingerprint templates in the Android system according to the first message when the first message is received through the Android system. Therefore, synchronous change of the fingerprint template in the fingerprint security system TZ and the Android system of the mobile terminal is realized, and the accuracy of application of the fingerprint template is improved.
In addition, when the mobile terminal detects that the system is restarted, the TZ and the fingerprint template in the android system are synchronized, so that the TZ and the fingerprint template in the android system are synchronized before at least one fingerprint template in the TZ is changed, and the accuracy of synchronizing the TZ and the fingerprint template in the android system according to the change information of the at least one fingerprint template after the at least one fingerprint template in the TZ is changed is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another fingerprint template synchronization method provided by the embodiment of the present invention, and is applied to a mobile terminal with an Android system, where the mobile terminal further includes a fingerprint security system, where as shown in the figure, the fingerprint template synchronization method includes:
s301, when a mobile terminal receives a fingerprint template synchronization request sent by a fingerprint setting application through a fingerprint security system TZ, sending N pieces of fingerprint template information in the TZ to a finger process, wherein N is a positive integer;
s302, when the mobile terminal receives the N pieces of fingerprint template information through the fingerprint process, controlling the fingerprint template in the fingerprint service to be synchronous in the android system according to the N pieces of fingerprint template information;
s303, when at least one fingerprint template in the TZ is changed, the mobile terminal acquires fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template;
s304, the mobile terminal sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed;
s305, when the mobile terminal receives the first message through the Android system, synchronizing a fingerprint template in the Android system according to the first message.
It can be seen that, in the embodiment of the present invention, when at least one fingerprint template in a fingerprint security system TZ is changed, a mobile terminal first obtains fingerprint information after the at least one fingerprint template is changed, where the fingerprint information includes a fingerprint identifier ID corresponding to the at least one fingerprint template, then sends a first message to an Android system through the TZ according to the fingerprint information after the at least one fingerprint template is changed, and finally synchronizes the fingerprint templates in the Android system according to the first message when the first message is received through the Android system. Therefore, synchronous change of the fingerprint template in the fingerprint security system TZ and the Android system of the mobile terminal is realized, and the accuracy of application of the fingerprint template is improved.
In addition, the mobile terminal synchronizes the TZ and the fingerprint template in the android system after receiving a fingerprint template synchronization request sent by a fingerprint setting application, so that the TZ and the fingerprint template in the android system are synchronized before at least one fingerprint template in the TZ is changed, and the accuracy of synchronizing the TZ and the fingerprint template in the android system according to the change information of the at least one fingerprint template after the at least one fingerprint template in the TZ is changed is improved.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of using an integrated unit, fig. 4A shows a schematic structural diagram of a fingerprint template synchronization apparatus provided in this embodiment. The fingerprint template synchronizing device 400 includes: a processing unit 402 and a communication unit 403. The processing unit 402 is used for controlling and managing the actions of the fingerprint template synchronization device, e.g. the processing unit 402 is used for supporting the fingerprint template synchronization device to perform steps S101 to S103 in fig. 1, steps S201 to 206 in fig. 2 and steps S301 to S305 in fig. 3 and/or other processes for the techniques described herein. The fingerprint template synchronizing device may further comprise a storage unit 401 for storing program codes and data of the fingerprint template synchronizing device.
The processing Unit 402 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 403 may be a communication interface, a transceiver, a transceiving circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces. The storage unit 401 may be a memory.
The processing unit 402 is configured to, when at least one fingerprint template in the fingerprint security system TZ is changed, acquire fingerprint information after the at least one fingerprint template is changed, where the fingerprint information includes a fingerprint identifier ID corresponding to the at least one fingerprint template; the fingerprint template is used for changing the fingerprint information of the at least one fingerprint template, and sending a first message to an Android system through the TZ; and the fingerprint template in the Android system is synchronized according to the first message when the first message is received through the Android system.
In one possible example, in the aspect of acquiring the fingerprint information after the change of at least one fingerprint template in the fingerprint security system TZ when the at least one fingerprint template is changed, the processing unit is specifically configured to: when a first fingerprint template is input into the TZ, acquiring fingerprint information of the first fingerprint template; or when a second fingerprint template is deleted in the TZ, acquiring fingerprint information of the second fingerprint template; or when detecting that a third fingerprint template in the TZ is damaged, acquiring fingerprint information of the third fingerprint template.
In a possible example, the mobile terminal includes a fingerprint service FingerprintService and a fingerprint communication Fingerprintd process, and in the aspect of synchronizing the fingerprint template in the Android system according to the first message when the first message is received through the Android system, the processing unit is specifically configured to: and when the first message is received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint template in the android system according to the first message.
In a possible example, before the processing unit obtains the fingerprint information after the change of at least one fingerprint template in the fingerprint security system TZ when the change of at least one fingerprint template occurs, the processing unit is further configured to send a second message to the TZ through the fingerprintds process when a system restart is detected; and loading M pieces of fingerprint template information in the TZ when the second message is received through the TZ, wherein M is a positive integer; and the fingerprint template information sending module is used for sending the M pieces of fingerprint template information to the finger process; and the fingerprint synchronization module is used for controlling the fingerprint templates in the fingerprint synchronization system according to the M pieces of fingerprint template information when the M pieces of fingerprint template information are received through the fingerprint process.
In a possible example, before the processing unit obtains the fingerprint information after the change of at least one fingerprint template in the fingerprint security system TZ when the at least one fingerprint template in the fingerprint security system TZ is changed, the processing unit is further configured to send N pieces of fingerprint template information in the TZ to the fingerprintds process when a fingerprint template synchronization request sent by a fingerprint setting application is received through the TZ, where N is a positive integer; and the fingerprint synchronization module is used for controlling the fingerprint templates in the fingerprint synchronization system according to the N pieces of fingerprint template information when the N pieces of fingerprint template information are received through the fingerprint process.
When the processing unit 402 is a processor, the communication unit 403 is a communication interface, and the storage unit 401 is a memory, the fingerprint template synchronization apparatus according to the embodiment of the present invention may be a mobile terminal as shown in fig. 4B.
Referring to fig. 4B, the mobile terminal 410 includes: processor 412, transceiver 413, memory 411. Optionally, the mobile terminal 410 may also include a bus 414. The processor 412 is connected to the transceiver 413 and the memory 411 through the bus 414; the bus 414 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 414 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4B, but this does not indicate only one bus or one type of bus.
The fingerprint template synchronization apparatus shown in fig. 4A or the mobile terminal shown in fig. 4B may also be understood as an apparatus for a mobile terminal, and the embodiment of the present invention is not limited thereto.
As shown in fig. 5, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone (such as a fingerprint template ID, etc.), and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. In particular, the input unit 930 may include a fingerprint sensor 931 and other input devices 932. And a fingerprint sensor 931 which may collect fingerprint data of the user thereon. The input unit 930 may include other input devices 932 in addition to the fingerprint sensor 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941, and optionally, the display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 5, the fingerprint sensor 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint sensor 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 5 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiments shown in fig. 1 to fig. 3, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 4A, the functions of the units can be implemented based on the structure of the mobile phone.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program includes, when executed, some or all of the steps of any one of the fingerprint template synchronization methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A fingerprint template synchronization method, comprising:
when at least one fingerprint template in a fingerprint security system TZ is changed, acquiring fingerprint information after the at least one fingerprint template is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template; the fingerprint image template recorded by fingerprints and the information of the recorded fingerprint image template are stored in the TZ;
according to the fingerprint information after the at least one fingerprint template is changed, sending a first message to an Android system through the TZ; the Android system stores the information of the input fingerprint image template, and the information does not contain the fingerprint image template input by the fingerprint;
and when the first message is received through the Android system, synchronizing the fingerprint information of the fingerprint template in the Android system according to the first message.
2. The method according to claim 1, wherein when at least one fingerprint template in the fingerprint security system TZ is changed, acquiring fingerprint information after the change of the at least one fingerprint template comprises:
when a first fingerprint template is input into the TZ, acquiring fingerprint information of the first fingerprint template; or the like, or, alternatively,
when a second fingerprint template is deleted in the TZ, fingerprint information of the second fingerprint template is obtained; or the like, or, alternatively,
and when detecting that a third fingerprint template in the TZ is damaged, acquiring fingerprint information of the third fingerprint template.
3. The method according to claim 1, wherein the synchronizing fingerprint information of the fingerprint template in the Android system according to the first message when the first message is received through the Android system comprises:
and when the first message is received through a fingerprint communication fingerprint process, controlling fingerprint service to synchronize the fingerprint information of the fingerprint template in the Android system according to the first message.
4. The method according to claim 3, wherein before acquiring the fingerprint information after the change of the at least one fingerprint template when the at least one fingerprint template in the fingerprint security system TZ is changed, the method further comprises:
when detecting that the system is restarted, sending a second message to the TZ through the fingerprintds process;
when the second message is received through the TZ, loading M pieces of fingerprint template information in the TZ, wherein M is a positive integer;
sending the M pieces of fingerprint template information to the finger process;
and when the M pieces of fingerprint template information are received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint information of the fingerprint template in the Android system according to the M pieces of fingerprint template information.
5. The method according to claim 3, wherein before acquiring the fingerprint information after the change of the at least one fingerprint template when the at least one fingerprint template in the fingerprint security system TZ is changed, the method further comprises:
when a fingerprint template synchronization request sent by a fingerprint setting application is received through the TZ, sending N pieces of fingerprint template information in the TZ to the Fingerprintd process, wherein N is a positive integer;
and when the N pieces of fingerprint template information are received through the fingerprint process, controlling the fingerprint service to synchronize the fingerprint information of the fingerprint template in the Android system according to the N pieces of fingerprint template information.
6. A fingerprint template synchronization device is characterized in that the fingerprint template synchronization device comprises a processing unit,
the processing unit is used for acquiring fingerprint information after at least one fingerprint template in a fingerprint security system TZ is changed, wherein the fingerprint information comprises a fingerprint identification ID corresponding to the at least one fingerprint template; the fingerprint image template recorded by fingerprints and the information of the recorded fingerprint image template are stored in the TZ; the fingerprint template is used for changing the fingerprint information of the at least one fingerprint template, and sending a first message to an Android system through the TZ; the Android system stores the information of the input fingerprint image template, and the information does not contain the fingerprint image template input by the fingerprint; and when the first message is received through the Android system, synchronizing fingerprint information of a fingerprint template in the Android system according to the first message.
7. The fingerprint template synchronization device according to claim 6, wherein in the aspect of acquiring the changed fingerprint information of at least one fingerprint template in the fingerprint security system TZ when the at least one fingerprint template is changed, the processing unit is specifically configured to: when a first fingerprint template is input into the TZ, acquiring fingerprint information of the first fingerprint template; or when a second fingerprint template is deleted in the TZ, acquiring fingerprint information of the second fingerprint template; or when detecting that a third fingerprint template in the TZ is damaged, acquiring fingerprint information of the third fingerprint template.
8. The fingerprint template synchronization device according to claim 6 or 7, wherein, in the aspect of synchronizing the fingerprint information of the fingerprint template in the Android system according to the first message when the first message is received by the Android system, the processing unit is specifically configured to: and when the first message is received through a fingerprint communication fingerprint process, controlling fingerprint service to synchronize the fingerprint information of the fingerprint template in the Android system according to the first message.
9. The fingerprint template synchronization device according to claim 8, wherein said processing unit is further configured to send a second message to said TZ through said fingerprintds process when a system restart is detected, before said processing unit obtains fingerprint information after at least one fingerprint template in said fingerprint security system TZ is changed; and loading M pieces of fingerprint template information in the TZ when the second message is received through the TZ, wherein M is a positive integer; and the fingerprint template information sending module is used for sending the M pieces of fingerprint template information to the finger process; and the fingerprint synchronization module is used for controlling the fingerprint information of the fingerprint template in the Android system to be synchronized by the fingerprint service according to the M pieces of fingerprint template information when the M pieces of fingerprint template information are received through the fingerprint process.
10. The fingerprint template synchronization device according to claim 8, wherein the processing unit is further configured to send N pieces of fingerprint template information in the TZ to the Fingerprintd process when a fingerprint template synchronization request sent by a fingerprint setting application is received through the TZ before acquiring fingerprint information after at least one fingerprint template in the fingerprint security system TZ is changed, where N is a positive integer, and the fingerprint template information after the at least one fingerprint template is changed is received; and the fingerprint synchronization module is used for controlling the fingerprint information of the fingerprint template in the Android system to be synchronized by the fingerprint service according to the N pieces of fingerprint template information when the N pieces of fingerprint template information are received through the fingerprint process.
11. A mobile terminal comprising a processor, a memory, a transceiver, and a bus;
the processor is communicated with the memory and the transceiver through the bus;
the memory stores executable program code, and the processor is configured to call the executable program code in the memory to perform the method as claimed in any one of claims 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 CN107423596A (en) 2017-12-01
CN107423596B true 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
"Android开发中Fingerprint模块浅析";JasonGaoH;《https://blog.csdn.net/H_Gao/article/details/54564260》;20170115;第3-4页 *
"基于TrustZone的指纹识别安全技术研究与实现";杨霞 等;《计算机科学》;20160731;第43卷(第7期);第148页 *

Also Published As

Publication number Publication date
CN107423596A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107708168B (en) SIM card switching method, mobile terminal and computer readable storage medium
CN107071147B (en) Parameter adjusting method and device
CN107302628B (en) Application function control method and related product
CN106302653B (en) Control authority sharing method of access control terminal and related equipment
CN107480489B (en) unlocking control method and related product
EP3454240A1 (en) Unlocking methods and related products
CN106528638B (en) Method for deleting backup data and mobile terminal
CN106446111B (en) Data migration method and terminal
CN110430592B (en) Network control method and related product
CN106569910B (en) Data backup and transmission method and mobile terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106469028B (en) A kind of data migration method and mobile terminal
CN107066264B (en) Bright screen control method and mobile terminal
CN106793010B (en) Network access method and equipment
CN106980554B (en) Process processing method and device
CN107272985B (en) Notification message processing method and related product
CN106484563B (en) Data migration method and terminal equipment
CN106413032B (en) Hotspot establishing method and terminal equipment
CN107092819B (en) Fingerprint input inspection method and device
CN106815078B (en) Memory control method and equipment
CN106897164B (en) Fingerprint input control method and device
CN106792434B (en) Hotspot establishing method and terminal equipment
CN107038414B (en) Fingerprint template synchronization method and device
CN110855807A (en) Method and equipment for adding contact person

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant