CN107038414B - Fingerprint template synchronization method and device - Google Patents

Fingerprint template synchronization method and device Download PDF

Info

Publication number
CN107038414B
CN107038414B CN201710134754.XA CN201710134754A CN107038414B CN 107038414 B CN107038414 B CN 107038414B CN 201710134754 A CN201710134754 A CN 201710134754A CN 107038414 B CN107038414 B CN 107038414B
Authority
CN
China
Prior art keywords
fingerprint
template
ids
templates
fingerprint template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710134754.XA
Other languages
Chinese (zh)
Other versions
CN107038414A (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 CN201710134754.XA priority Critical patent/CN107038414B/en
Publication of CN107038414A publication Critical patent/CN107038414A/en
Application granted granted Critical
Publication of CN107038414B publication Critical patent/CN107038414B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/50Maintenance of biometric data or enrolment thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a fingerprint template synchronization method and a device, wherein the method comprises the following steps: acquiring fingerprint synchronous data, wherein the fingerprint synchronous data comprises N fingerprint identification IDs (N is a positive integer) corresponding to N fingerprint templates in a fingerprint safety system; comparing M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with N fingerprint IDs, wherein M is a positive integer; and synchronizing the fingerprint templates in the fingerprint template database according to the comparison result of the M fingerprint IDs and the N fingerprint IDs. The embodiment of the invention can realize the synchronization of the fingerprint security system of the mobile terminal and the fingerprint template in the fingerprint template database, and improve the accuracy of the application of the fingerprint template.

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 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.
The native Google software architecture of the mobile terminal of the android system at present has defects, a synchronization mechanism of fingerprint templates is not realized, so that the fingerprint templates in the fingerprint security system of the mobile terminal and the fingerprint templates in the fingerprint template database of the android system are possibly not matched, and further serious problems that new fingerprints cannot be input or the deleted fingerprints are still effective and the like are caused.
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:
acquiring fingerprint synchronous data, wherein the fingerprint synchronous data comprises N fingerprint identification IDs (N is a positive integer) corresponding to N fingerprint templates in a fingerprint safety system;
comparing M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with the N fingerprint IDs, wherein M is a positive integer;
and synchronizing the fingerprint templates in the fingerprint template database according to the comparison results of the M fingerprint IDs and the N fingerprint IDs.
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 synchronizing data, the fingerprint synchronizing data comprises N fingerprint identification IDs corresponding to N fingerprint templates in a fingerprint security system, and N is a positive integer; the fingerprint identification system is used for comparing M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with the N fingerprint IDs, wherein M is a positive integer; and the fingerprint template database is used for synchronizing the fingerprint templates in the fingerprint template database according to the comparison results of the M fingerprint IDs and the N fingerprint IDs.
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, the mobile terminal first acquires fingerprint synchronization data, where the fingerprint template synchronization data includes N fingerprint identification IDs corresponding to N fingerprint templates in the fingerprint security system, then compares M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with the N fingerprint IDs, and finally synchronizes the fingerprint templates in the fingerprint template database according to the comparison result of the M fingerprint IDs and the N fingerprint IDs. Therefore, the fingerprint security system of the mobile terminal and the fingerprint template in the fingerprint template database are synchronized, and the accuracy of the 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 includes a fingerprint security system and a fingerprint template database, and as shown in the figure, the fingerprint template synchronization method includes:
s101, the mobile terminal calls a fingerprint service of an android system to acquire fingerprint synchronization data, wherein the fingerprint synchronization data comprise N fingerprint Identifications (ID) corresponding to N fingerprint templates in a fingerprint security system (Trust Zone, TZ), and N is a positive integer.
In one possible example, the acquiring fingerprint synchronization data includes: fingerprint synchronous data sent by a fingerprint Trusted Application (TA) is acquired.
When the fingerprint is applied in a trusted manner, the fingerprint is applied in a trusted manner in applications supported by a secure operating system corresponding to a Trusted Execution Environment (TEE) of the mobile terminal. The TEE provides a secure execution environment for the trusted application TA while also protecting the TA's resources and data confidentiality, integrity and access rights. To guarantee the root of trust of the TEE itself, the TEE is authenticated and isolated from the android operating system during secure boot. In TEE, each TA is independent of each other and cannot access each other without authorization.
S102, the mobile terminal calls the fingerprint service to compare M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with the N fingerprint IDs, wherein M is a positive integer.
In one possible implementation, the N fingerprint templates are associated with a current user identifier, and the M fingerprint templates are 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.
In one possible example, the comparing M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with the N fingerprint IDs includes:
and comparing M fingerprint IDs corresponding to the M fingerprint templates with the N fingerprint IDs when detecting that the number N of the N fingerprint templates is different from the number M of the M fingerprint templates in the fingerprint template database.
S103, the mobile terminal calls the fingerprint template in the fingerprint template database according to the comparison result of the M fingerprint IDs and the N fingerprint IDs.
In one possible example, a specific implementation manner of synchronizing the fingerprint template in the fingerprint template database according to the comparison result between the M fingerprint IDs and the N fingerprint IDs by the FingerprintService of the mobile terminal is as follows:
when the M fingerprint IDs do not comprise a first fingerprint ID in the N fingerprint IDs, the first fingerprint ID is created in the fingerprint template database, and a first fingerprint template corresponding to the first fingerprint ID is stored; and/or
And when a second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs, deleting the second fingerprint ID in the fingerprint template database and a second fingerprint template corresponding to the second fingerprint ID.
It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires fingerprint synchronization data, where the fingerprint template synchronization data includes N fingerprint identification IDs corresponding to N fingerprint templates in the fingerprint security system, then compares M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with the N fingerprint IDs, and finally synchronizes the fingerprint templates in the fingerprint template database according to the comparison result of the M fingerprint IDs and the N fingerprint IDs. Therefore, the fingerprint security system of the mobile terminal and the fingerprint template in the fingerprint template database are synchronized, and the accuracy of the application of the fingerprint template is improved.
In one possible example, before the acquiring the fingerprint synchronization data, the method further comprises:
receiving a fingerprint template adding request sent by a fingerprint TA, wherein the fingerprint template adding request carries a third fingerprint ID, and the fingerprint security system comprises a third fingerprint template corresponding to the third fingerprint ID;
and creating the third fingerprint ID in the fingerprint template database, and storing a third fingerprint template corresponding to the third fingerprint ID.
In this possible example, a specific implementation manner of the mobile terminal entering the third fingerprint template in the fingerprint security system may be:
when a fingerprint is input, the application of the mobile terminal firstly sends an instruction to the fingerprint TA to acquire a challenge factor, the fingerprint TA transmits the generated challenge factor back to the FingerprintService, and the FingerprintService further transmits the challenge factor back to the application; the application uses the challenge factor to send an instruction to the fingerprint TA to obtain a first check identifier token, the fingerprint TA checks the challenge factor transmitted by the application, and if the check result is correct, a second check identifier token is generated and transmitted back to the application; after the application acquires the first check identifier token, the first check identifier token is used as a parameter to send an entry instruction to the fingerprint TA, and the fingerprint TA starts an entry process after detecting that the first check identifier token and the second check identifier token are successfully matched; when the L-th entry (assuming that L entries are required for the fingerprint), the fingerprint TA saves a third fingerprint template in the fingerprint security system and generates a third fingerprint ID.
In one possible example, before the acquiring the fingerprint synchronization data, the method further comprises:
receiving a fingerprint template deleting request sent by a fingerprint TA, wherein the fingerprint template adding request carries a fourth fingerprint ID, and the fingerprint security system does not comprise a fourth fingerprint template corresponding to the fourth fingerprint ID;
and deleting the fourth fingerprint ID and a fourth fingerprint template corresponding to the fourth fingerprint template in the fingerprint template database.
In this possible example, the specific implementation manner of the mobile terminal deleting the fourth fingerprint template in the fingerprint security system may be: and the application of the mobile terminal sends an instruction for deleting the fourth fingerprint ID to the fingerprint TA, and the fingerprint TA deletes the fourth fingerprint template corresponding to the fourth fingerprint ID in the fingerprint security system after receiving the instruction.
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 equipped with an android system, where the mobile terminal includes a fingerprint security system and a fingerprint template database, and as shown in the figure, the fingerprint template synchronization method includes:
s201, the mobile terminal calls fingerprint service to acquire fingerprint synchronization data, wherein the fingerprint synchronization data comprise N fingerprint identification IDs corresponding to N fingerprint templates in a fingerprint security system, and N is a positive integer;
s202, the mobile terminal calls a fingerprint service to compare M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with the N fingerprint IDs, wherein M is a positive integer;
s203, the mobile terminal calls the fingerprint service to create the first fingerprint ID in the fingerprint template database when the first fingerprint ID in the N fingerprint IDs is not included in the M fingerprint IDs, and stores the first fingerprint template corresponding to the first fingerprint ID.
It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the fingerprint synchronization data, where the fingerprint template synchronization data includes N fingerprint identifiers ID corresponding to N fingerprint templates in the fingerprint security system, secondly, comparing M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with N fingerprint IDs, and finally, when the first fingerprint ID in the N fingerprint IDs is not included in the M fingerprint IDs, a first fingerprint ID is created in the fingerprint template database, and a first fingerprint template corresponding to the first fingerprint ID is stored, thereby saving the third fingerprint template stored in the missing fingerprint security system in the fingerprint template database to the fingerprint template database, the fingerprint security system of the mobile terminal and the fingerprint template in the fingerprint template database are synchronized, and the application accuracy of the fingerprint template 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 equipped with an android system, where the mobile terminal includes a fingerprint security system and a fingerprint template database, and as shown in the figure, the fingerprint template synchronization method includes:
s301, the mobile terminal calls fingerprint service to acquire fingerprint synchronization data, wherein the fingerprint synchronization data comprise N fingerprint identification IDs corresponding to N fingerprint templates in a fingerprint security system, and N is a positive integer;
s302, the mobile terminal calls the fingerprint service to compare M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with the N fingerprint IDs, wherein M is a positive integer;
s303, the mobile terminal calls a fingerprint service, and when the second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs, the mobile terminal deletes the second fingerprint ID in the fingerprint template database and a second fingerprint template corresponding to the second fingerprint ID.
It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires fingerprint synchronization data, where the fingerprint synchronization data includes N fingerprint identification IDs corresponding to N fingerprint templates in the fingerprint security system, then compares M fingerprint IDs corresponding to M fingerprint templates in the fingerprint template database with the N fingerprint IDs, and finally deletes the second fingerprint ID in the fingerprint template database and the second fingerprint template corresponding to the second fingerprint ID when it is determined that the second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs, so as to delete the fourth fingerprint template which is redundant in the fingerprint template database and not stored in the fingerprint security system, thereby implementing synchronization between the fingerprint security system of the mobile terminal and the fingerprint template in the fingerprint template database, and facilitating improvement of accuracy of application of the fingerprint template.
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 S102 in fig. 1, steps S201 to 202 in fig. 2 and steps S301 to S303 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 acquire fingerprint synchronization data, where the fingerprint synchronization data includes N fingerprint identifiers ID corresponding to N fingerprint templates in a fingerprint security system, where N is a positive integer; the fingerprint identification system is used for comparing M fingerprint IDs corresponding to M fingerprint templates in a fingerprint template database with the N fingerprint IDs, wherein M is a positive integer; and the fingerprint template database is used for synchronizing the fingerprint templates in the fingerprint template database according to the comparison results of the M fingerprint IDs and the N fingerprint IDs.
In one possible example, the processing unit is specifically configured to: when the M fingerprint IDs do not comprise a first fingerprint ID in the N fingerprint IDs, the first fingerprint ID is created in the fingerprint template database, and a first fingerprint template corresponding to the first fingerprint ID is stored; and/or deleting the second fingerprint ID in the fingerprint template database and a second fingerprint template corresponding to the second fingerprint ID when a second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs.
In one possible example, the N fingerprint templates are associated with a current user identification and the M fingerprint templates are associated with the current user identification.
In a possible example, before acquiring the fingerprint synchronization data, the processing unit is further configured to receive a fingerprint template adding request sent by a fingerprint TA, where the fingerprint template adding request carries a third fingerprint ID, and the fingerprint security system includes a third fingerprint template corresponding to the third fingerprint ID; and creating the third fingerprint ID in the fingerprint template database, and storing a third fingerprint template corresponding to the third fingerprint ID.
In a possible example, before acquiring the fingerprint synchronization data, the processing unit is further configured to receive a fingerprint template deletion request sent by a fingerprint TA, where the fingerprint template addition request carries a fourth fingerprint ID, and the fingerprint security system does not include a fourth fingerprint template corresponding to the fourth fingerprint ID; and deleting the fourth fingerprint ID and a fourth fingerprint template corresponding to the fourth fingerprint template in the fingerprint template database.
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: radio Frequency (RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuit 960, wireless fidelity (WiFi) module 970, processor 980, and 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 mobile phone (such as use parameters of an application, 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 (13)

1. A fingerprint template synchronization method, comprising:
acquiring fingerprint synchronous data, wherein the fingerprint synchronous data comprises N fingerprint IDs corresponding to N fingerprint templates in a fingerprint safety system of the mobile terminal, and N is a positive integer;
when detecting that the number N of the N fingerprint templates in the fingerprint security system is different from the number M of the M fingerprint templates in the fingerprint template database in the android system, comparing M fingerprint IDs corresponding to the M fingerprint templates in the fingerprint template database with the N fingerprint IDs, wherein M is a positive integer;
and synchronizing the fingerprint templates in the fingerprint template database according to the comparison results of the M fingerprint IDs and the N fingerprint IDs so as to synchronize the fingerprint templates in the security system and the fingerprint template database.
2. The method of claim 1, wherein synchronizing the fingerprint templates in the fingerprint template database according to the comparison of the M fingerprint IDs and the N fingerprint IDs comprises:
when the M fingerprint IDs do not comprise a first fingerprint ID in the N fingerprint IDs, the first fingerprint ID is created in the fingerprint template database, and a first fingerprint template corresponding to the first fingerprint ID is stored; and/or
And when a second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs, deleting the second fingerprint ID in the fingerprint template database and a second fingerprint template corresponding to the second fingerprint ID.
3. The method of claim 1, wherein the N fingerprint templates are associated with a current user identification, and wherein the M fingerprint templates are associated with the current user identification.
4. The method of claim 2, wherein the N fingerprint templates are associated with a current user identification, and wherein the M fingerprint templates are associated with the current user identification.
5. The method of any of claims 1-4, wherein prior to the obtaining fingerprint synchronization data, the method further comprises:
receiving a fingerprint template adding request sent by a trusted fingerprint application TA, wherein the fingerprint template adding request carries a third fingerprint ID, and the fingerprint security system comprises a third fingerprint template corresponding to the third fingerprint ID;
and creating the third fingerprint ID in the fingerprint template database, and storing a third fingerprint template corresponding to the third fingerprint ID.
6. The method of any of claims 1-4, wherein prior to the obtaining fingerprint synchronization data, the method further comprises:
receiving a fingerprint template deleting request sent by a fingerprint trusted application TA, wherein the fingerprint template deleting request carries a fourth fingerprint ID, and the fingerprint security system does not comprise a fourth fingerprint template corresponding to the fourth fingerprint ID;
and deleting the fourth fingerprint ID and a fourth fingerprint template corresponding to the fourth fingerprint ID in the fingerprint template database.
7. 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 synchronous data, the fingerprint synchronous data comprises N fingerprint IDs corresponding to N fingerprint templates in a fingerprint safety system of the mobile terminal, and N is a positive integer; the fingerprint identification system is used for comparing M fingerprint IDs corresponding to the M fingerprint templates in the fingerprint template database with the N fingerprint IDs when the condition that the number N of the N fingerprint templates in the fingerprint security system is different from the number M of the M fingerprint templates in the fingerprint template database in the android system is detected, wherein M is a positive integer; and the fingerprint template synchronization module is used for synchronizing the fingerprint templates in the fingerprint template database according to the comparison results of the M fingerprint IDs and the N fingerprint IDs so as to synchronize the fingerprint templates in the security system and the fingerprint template database.
8. The fingerprint template synchronization device of claim 7, wherein the processing unit is specifically configured to: when the M fingerprint IDs do not comprise a first fingerprint ID in the N fingerprint IDs, the first fingerprint ID is created in the fingerprint template database, and a first fingerprint template corresponding to the first fingerprint ID is stored; and/or deleting the second fingerprint ID in the fingerprint template database and the second fingerprint template corresponding to the second fingerprint ID when the second fingerprint ID in the M fingerprint IDs does not belong to the N fingerprint IDs.
9. The fingerprint template synchronization apparatus of claim 7, wherein the N fingerprint templates are associated with a current user identifier, and wherein the M fingerprint templates are associated with the current user identifier.
10. The fingerprint template synchronization apparatus of claim 8, wherein the N fingerprint templates are associated with a current user identification, and wherein the M fingerprint templates are associated with the current user identification.
11. The fingerprint template synchronization device according to any one of claims 7 to 10, wherein the processing unit is further configured to receive a fingerprint template addition request sent by the fingerprint trusted application TA before acquiring the fingerprint synchronization data, the fingerprint template addition request carrying a third fingerprint ID, and the fingerprint security system includes a third fingerprint template corresponding to the third fingerprint ID; and creating the third fingerprint ID in the fingerprint template database, and storing a third fingerprint template corresponding to the third fingerprint ID.
12. The fingerprint template synchronization device according to any one of claims 7 to 10, wherein the processing unit is further configured to receive a fingerprint template deletion request sent by the trusted fingerprint application TA before acquiring the fingerprint synchronization data, where the fingerprint template deletion request carries a fourth fingerprint ID, and the fingerprint security system does not include a fourth fingerprint template corresponding to the fourth fingerprint ID; and deleting the fourth fingerprint ID and a fourth fingerprint template corresponding to the fourth fingerprint ID in the fingerprint template database.
13. 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.
CN201710134754.XA 2017-03-08 2017-03-08 Fingerprint template synchronization method and device Expired - Fee Related CN107038414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134754.XA CN107038414B (en) 2017-03-08 2017-03-08 Fingerprint template synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134754.XA CN107038414B (en) 2017-03-08 2017-03-08 Fingerprint template synchronization method and device

Publications (2)

Publication Number Publication Date
CN107038414A CN107038414A (en) 2017-08-11
CN107038414B true CN107038414B (en) 2020-08-14

Family

ID=59534072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134754.XA Expired - Fee Related CN107038414B (en) 2017-03-08 2017-03-08 Fingerprint template synchronization method and device

Country Status (1)

Country Link
CN (1) CN107038414B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818252B (en) * 2017-10-10 2020-01-14 Oppo广东移动通信有限公司 Face recognition information synchronization method and related product
CN108763895B (en) * 2018-04-28 2021-03-30 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231691A (en) * 2007-12-24 2008-07-30 浙江金指码科技有限公司 Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252481B (en) * 2013-06-27 2018-10-19 阿里巴巴集团控股有限公司 The dynamic check method and apparatus of master-slave database consistency
CN105868679B (en) * 2015-01-23 2017-11-28 深圳市汇顶科技股份有限公司 The dynamic updating method and fingerprint identification device of finger print information
CN106201288B (en) * 2016-07-04 2019-08-30 Oppo广东移动通信有限公司 A kind of storage method of finger print information, device and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231691A (en) * 2007-12-24 2008-07-30 浙江金指码科技有限公司 Learning type intellectual fingerprint identification comparison method adjusted based on fingerprint data quantity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TrustZone的指纹识别安全技术研究与实现;杨霞 等;《计算机科学》;20160731;第43卷(第7期);第148-152页 *

Also Published As

Publication number Publication date
CN107038414A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107708168B (en) SIM card switching method, mobile terminal and computer readable storage medium
CN106778175B (en) Interface locking method and device and terminal equipment
CN106658489B (en) Terminal application processing method and device and mobile terminal
CN107302628B (en) Application function control method and related product
CN107071147B (en) Parameter adjusting method and device
CN107480489B (en) unlocking control method and related product
EP3454240A1 (en) Unlocking methods and related products
CN106469028B (en) A kind of data migration method and mobile terminal
CN106528638B (en) Method for deleting backup data and mobile terminal
CN106569910B (en) Data backup and transmission 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
CN103546887A (en) Application software transmitting method, device and terminal and server
CN107272985B (en) Notification message processing method and related product
CN106779648B (en) Network data sending method and mobile terminal
CN107092819B (en) Fingerprint input inspection method and device
CN106413032B (en) Hotspot establishing method and terminal equipment
CN109413256B (en) Contact person information processing method and device, storage medium and electronic equipment
CN104573437A (en) Information authentication method, device and terminal
CN106897164B (en) Fingerprint input control method and device
CN107038414B (en) Fingerprint template synchronization method and device
CN106792434B (en) Hotspot establishing method and terminal equipment
CN110855807A (en) Method and equipment for adding contact person
CN106572463B (en) Access control method and mobile terminal

Legal Events

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

Address after: 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200814

CF01 Termination of patent right due to non-payment of annual fee