CN108710549B - Method and device for ensuring stability of fingerprint data - Google Patents

Method and device for ensuring stability of fingerprint data Download PDF

Info

Publication number
CN108710549B
CN108710549B CN201810530569.7A CN201810530569A CN108710549B CN 108710549 B CN108710549 B CN 108710549B CN 201810530569 A CN201810530569 A CN 201810530569A CN 108710549 B CN108710549 B CN 108710549B
Authority
CN
China
Prior art keywords
fingerprint data
main
hash value
fingerprint
backup
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
CN201810530569.7A
Other languages
Chinese (zh)
Other versions
CN108710549A (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 CN201810530569.7A priority Critical patent/CN108710549B/en
Publication of CN108710549A publication Critical patent/CN108710549A/en
Application granted granted Critical
Publication of CN108710549B publication Critical patent/CN108710549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Abstract

The application is a divisional application of 201510680013.2, and discloses a method and a device for ensuring fingerprint data stability. The method comprises the following steps: prestoring two groups of fingerprint data for executing the same function, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data; receiving a fingerprint data execution instruction, and loading the main fingerprint data; and if the loading of the main fingerprint data fails, loading the backup fingerprint data. By adopting the technical scheme, the embodiment of the invention can avoid the influence on the use of a user due to the failure of fingerprint data loading in the fingerprint data loading process, improve the fault tolerance of the fingerprint data and further improve the stability of the fingerprint use.

Description

Method and device for ensuring stability of fingerprint data
The invention relates to a method and a device for ensuring fingerprint data stability, which are filed by divisional application, wherein the application number of the original application is 201510680013.2, and the application date is 2015, 10 and 19.
Technical Field
The invention relates to the technical field of fingerprint input, in particular to a method and a device for ensuring stability of fingerprint data.
Background
Fingerprint technology has been widely applied to mobile terminals, and because the fingerprint data of a user is easy to enter and operate, and the fingerprint data has obvious human biological characteristics and is easy to identify, the fingerprint technology is often used for unlocking the mobile terminal, opening functions, encrypting and decrypting data and the like.
The input fingerprint data is processed in a secure environment and then stored in a file system of the mobile terminal through encryption, and the writing and reading processes of the file system of the mobile terminal are influenced by various factors, such as Embedded Multi Media Card (eMMC) performance, abnormal file reading and writing processes and the like, so that the storage process and the reading process of the fingerprint data are abnormal.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for ensuring stability of fingerprint data, so as to solve the technical problem of abnormal loading of fingerprint data in the prior art.
In a first aspect, an embodiment of the present invention provides a method for ensuring stability of fingerprint data, including:
prestoring two groups of fingerprint data for executing the same function, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data;
receiving a fingerprint data execution instruction, and loading the main fingerprint data;
if the loading of the main fingerprint data fails, loading the backup fingerprint data;
receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with a hash value stored in the main fingerprint data correspondingly, wherein the stored hash value is a hash value when the main fingerprint data is loaded and verified;
and if the real hash value is the same as the stored hash value, acquiring second fingerprint data, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data.
In a second aspect, an embodiment of the present invention further provides an apparatus for ensuring stability of fingerprint data, including:
the storage module is used for prestoring two groups of fingerprint data for executing the same function, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data;
the main fingerprint data loading module is used for receiving a fingerprint data execution instruction and loading the main fingerprint data;
the backup fingerprint data loading module is used for loading the backup fingerprint data if the main fingerprint data fails to be loaded;
the updating instruction receiving module is used for receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with a stored hash value correspondingly, wherein the stored hash value is a hash value of the main fingerprint data during loading verification;
and the second fingerprint acquisition module is used for acquiring second fingerprint data if the real hash value is the same as the stored hash value, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data.
According to the method and the device for ensuring the stability of the fingerprint data, provided by the embodiment of the invention, the main fingerprint data is backed up to be the backup fingerprint data, namely, two fingerprint data used for executing the same function are prestored, and when the main fingerprint data fails to be loaded, the backup fingerprint data is loaded. By adopting the method and the device for ensuring the stability of the fingerprint data, the influence on the use of a user due to the failure of fingerprint data loading in the fingerprint data loading process can be avoided, the fault tolerance of the fingerprint data is improved, and the use stability of the fingerprint is further improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for ensuring stability of fingerprint data according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for ensuring stability of fingerprint data according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus for ensuring fingerprint data stability according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a method for ensuring stability of fingerprint data according to an embodiment of the present invention. The method of the embodiment can be executed by a device for ensuring the stability of the fingerprint data of the terminal, and the device can be realized by software and/or hardware and is integrated in the terminal capable of loading the fingerprint data. As shown in fig. 1, the method includes:
step 101, two groups of fingerprint data for executing the same function are pre-stored, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data.
In this embodiment, the main fingerprint data is user fingerprint data collected by the terminal for executing a certain function, and the number of the fingerprint data is at least one. The backup fingerprint data is data obtained by backing up the main fingerprint data. A certain function may be to unlock a screen, pay, or open an application, and the like, and this embodiment is not limited. The terminal can be a mobile phone, a tablet computer, or a terminal with a fingerprint function such as MP 4.
Illustratively, two groups of fingerprint data for executing the same function are prestored, and the specific implementation process is as follows: first fingerprint data is collected, and it is confirmed that the first fingerprint data can be loaded and normally used. After a terminal collects first fingerprint data, feature extraction is carried out on the first fingerprint data and an encrypted file is generated through encryption, the encrypted file needs to be decrypted and loaded before the first fingerprint data is used for preventing the collected first fingerprint data from being used, whether the first fingerprint data can be normally used or not is judged through a loading result, and after the first fingerprint data can be loaded and normally used, the first fingerprint data can be stored as main fingerprint data and the main fingerprint data can be backed up as backup fingerprint data. The first fingerprint data may be stored as the main fingerprint data by replacing any fingerprint data in the main fingerprint data, replacing fingerprint data with low use frequency in the main fingerprint data, or storing the first fingerprint data into the main fingerprint data. And if the first fingerprint data fails to be loaded, deleting all fingerprint data, prompting the user to re-input the fingerprint, and loading and judging the re-input fingerprint. And after the updating of the main fingerprint data is finished, backing up the main fingerprint data into backup fingerprint data.
And 102, receiving a fingerprint data execution instruction, and loading the main fingerprint data.
Illustratively, the fingerprint data is loaded when a fingerprint data instruction is received. The loaded fingerprint data can be loaded with main fingerprint data, loaded with backup fingerprint data or randomly loaded with any one of the main fingerprint data and the backup fingerprint data, and is preferably loaded with the main fingerprint data.
And 103, if the loading of the main fingerprint data fails, loading the backup fingerprint data.
For example, when one set of fingerprint data fails to be loaded, another set of fingerprint data may be loaded to perform a corresponding function, preferably, the main fingerprint data is loaded, and if the main fingerprint data fails to be loaded, the backup fingerprint data is loaded.
According to the method for ensuring the stability of the fingerprint data provided by the embodiment of the invention, two groups of fingerprint data are prestored, wherein one group of fingerprint data is main fingerprint data, and the other group of fingerprint data is backup fingerprint data generated by backup main fingerprint data.
Example two
Fig. 2 is a flowchart of a method for ensuring stability of fingerprint data according to a second embodiment of the present invention. In this embodiment, on the basis of the above embodiment, a step of updating the main fingerprint data is added, specifically:
step 201, collecting first fingerprint data, and confirming that the first fingerprint data can be loaded and normally used.
Step 202, saving the first fingerprint data as main fingerprint data and backing up the main fingerprint data as backup fingerprint data.
And 203, calculating to obtain a hash value of the first fingerprint data, and storing the hash value of the first fingerprint data in an associated manner.
Illustratively, after the main fingerprint data is backed up as backup fingerprint data, a hash value of the first fingerprint data is calculated and stored, and when the hash value is stored, the hash value may be stored separately at the terminal, or the hash value may be stored in association, that is, the hash value and the first fingerprint data are stored in association. Preferably the association holds a hash value. In this way, each set of fingerprint data in the terminal has a corresponding hash value.
And 204, receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with the stored hash value.
Illustratively, receiving the fingerprint data updating instruction, any specified set of fingerprint data stored in the terminal may be updated, preferably the master fingerprint data. After receiving the fingerprint update instruction, calculating the true hash value of the designated updated fingerprint data and comparing the true hash value with the hash value in the previous verification loading, preferably calculating the true hash value of the main fingerprint data and comparing the true hash value with the stored hash value, if the comparison results are the same, executing step 205, and if the comparison results are different, executing step 206.
Step 205, if the true hash value is the same as the stored hash value, acquiring second fingerprint data, updating the second fingerprint data to the main fingerprint data, and backing up the updated main fingerprint data to backup fingerprint data.
For example, if the true hash value is the same as the stored hash value, indicating that the fingerprint data to be updated has not changed, at this time, second fingerprint data may be collected, where the second fingerprint data may be fingerprint data that is different from the fingerprint data to be updated, and the second fingerprint data is updated to the fingerprint data to be updated. The updating of the second fingerprint data to the fingerprint data to be updated may be replacing any fingerprint in the fingerprint data to be updated, or replacing the fingerprint data with low frequency of use in the fingerprint data to be updated, or storing the fingerprint data to be updated. And after the second fingerprint data is updated to the fingerprint data to be updated, backing up the fingerprint data to be updated to backup fingerprint data. When the second fingerprint data is collected, the second fingerprint data can be loaded, whether the second fingerprint data can be normally used or not is judged through a loading result, after the second fingerprint data can be loaded and normally used is confirmed, the second fingerprint data is updated to be the fingerprint data to be updated, the updated fingerprint data is backed up to be the backup fingerprint data, the hash value of the second fingerprint data is calculated, and the hash value of the second fingerprint is stored. Preferably, second fingerprint data is collected, it is confirmed that the second fingerprint data can be loaded and normally used, the second fingerprint data is updated to be main fingerprint data, the updated main fingerprint data is backed up to be backup fingerprint data, a hash value of the second fingerprint data is obtained through calculation, and the second fingerprint data is stored in a correlated manner. And if the collected fingerprint data cannot be loaded, deleting the fingerprint data and prompting the user to re-enter. The fingerprint data after each update can be backed up as backup fingerprint data, and can replace the original backup fingerprint data or form new backup fingerprint data. Preferably, new backup fingerprint data is formed, so that the new backup fingerprint data is backed up after each update, so that at least two groups of fingerprint data exist in the terminal.
And step 206, if the real hash value is different from the stored hash value, judging whether the main fingerprint data can be loaded.
For example, if the real hash value is different from the stored hash value, indicating that the fingerprint data to be updated has changed, it needs to determine whether the fingerprint data to be updated can be loaded, preferably, the data to be updated is the main fingerprint data, and determine whether the main fingerprint data can be loaded, if so, step 207 is executed, and if not, step 209 is executed.
And step 207, if the main fingerprint data can be loaded, replacing the corresponding stored hash value with the real hash value, and backing up the main fingerprint data into backup fingerprint data.
For example, if the fingerprint data to be updated can be loaded, indicating that the fingerprint data can be used, the true hash value of the fingerprint data to be updated calculated in step 204 is replaced with the corresponding stored hash value, and the fingerprint data to be updated is backed up as the backup fingerprint data. Preferably, the fingerprint data to be updated is main fingerprint data, if the main fingerprint data can be loaded, the real hash value is substituted for the corresponding stored hash value, and the main fingerprint data is backed up as backup fingerprint data. The backup fingerprint data can replace the original fingerprint data and can also form new backup fingerprint data.
And 208, collecting second fingerprint data, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data.
For example, when the second fingerprint data is collected, the second fingerprint data may be loaded, whether the second fingerprint data can be normally used is judged according to the loading result, after it is confirmed that the second fingerprint data can be loaded and normally used, the second fingerprint data is updated to be the fingerprint data to be updated, and the updated fingerprint data is backed up to be the backup fingerprint data. Preferably, second fingerprint data is collected, it is confirmed that the second fingerprint data can be loaded and normally used, the second fingerprint data is updated to be main fingerprint data, and the updated main fingerprint data is backed up to be backup fingerprint data. And if the collected fingerprint data cannot be loaded, deleting the fingerprint data and prompting the user to re-enter.
And 209, if the main fingerprint data cannot be loaded, deleting all fingerprint data and prompting the user to re-enter the fingerprint.
Illustratively, if the fingerprint data to be updated cannot be loaded, indicating that the fingerprint data cannot be used, the whole fingerprint data is deleted, and the user is prompted to re-enter the fingerprint. Preferably, if the main fingerprint data cannot be loaded, all fingerprint data are deleted and the user is prompted to re-enter the fingerprint. The user can be prompted by jumping out of a prompt box on a terminal screen to prompt the user to re-enter the fingerprint.
Step 210, receiving a fingerprint data execution instruction, and loading the main fingerprint data.
And step 211, if the loading of the main fingerprint data fails, loading the backup fingerprint data.
For example, there are at least two sets of fingerprint data in the terminal, and when one set fails to load, the second set of fingerprint data can be loaded, and if there are more than two sets of fingerprint data, the rest of fingerprint data can still be loaded when the second set of fingerprint data fails to load.
In the method for ensuring stability of fingerprint data provided in the second embodiment of the present invention, when the main fingerprint data is successfully loaded and used through verification, the hash value of the main fingerprint data is calculated and stored, when a fingerprint data update instruction is received, the hash value of the main fingerprint data is calculated and compared with the stored hash value, and if the hash value of the main fingerprint data is the same as the stored hash value, the main fingerprint data is updated, and the updated main fingerprint data is backed up. The main fingerprint data can be backed up after being updated every time, if the main fingerprint data fails to be loaded, one group of backup fingerprint data can be loaded, and if one group of backup fingerprint data fails to be loaded, the other group of backup fingerprint data can be loaded. Therefore, the user can be ensured to normally use only the fingerprint data, and the stability of the fingerprint data is provided.
EXAMPLE III
Fig. 3 is a schematic diagram of an apparatus for ensuring fingerprint data stability according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a storage module 310, a main fingerprint data loading module 320, and a backup fingerprint data loading module 330.
The storage module 310 is configured to prestore two sets of fingerprint data for executing the same function, where one set of fingerprint data is used as main fingerprint data, and the other set of fingerprint data is used as backup fingerprint data; a main fingerprint data loading module 320, configured to receive a fingerprint data execution instruction and load the main fingerprint data; a backup fingerprint data loading module 330, configured to load the backup fingerprint data if the loading of the main fingerprint data fails.
Further, the storage module 310 includes: the fingerprint backup device comprises a first fingerprint acquisition unit and a first fingerprint backup unit. The first fingerprint acquisition unit is used for acquiring first fingerprint data and confirming that the first fingerprint data can be loaded and normally used; the first fingerprint backup unit is used for saving the first fingerprint data as main fingerprint data and backing up the main fingerprint data as backup fingerprint data.
Preferably, the apparatus for ensuring fingerprint data to be stable may further include: and the first fingerprint hash value module is used for calculating the hash value of the first fingerprint data and storing the hash value of the first fingerprint data in an associated manner.
On the basis of the above embodiment, the apparatus for ensuring fingerprint data to be stable may further include: the system comprises an update instruction receiving module, a second fingerprint acquisition module, a main fingerprint data loading module, a main fingerprint backup module, a second fingerprint backup module and a deleting module.
The updating instruction receiving module is used for receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with a stored hash value correspondingly; the second fingerprint acquisition module is used for acquiring second fingerprint data if the real hash value is the same as the stored hash value, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data; the main fingerprint data loading module is used for judging whether the main fingerprint data can be loaded or not if the real hash value is different from the stored hash value; the main fingerprint backup module is used for replacing the corresponding stored hash value with the real hash value and backing up the main fingerprint data into backup fingerprint data if the main fingerprint data can be loaded; the second fingerprint backup module is used for acquiring second fingerprint data, updating the second fingerprint data into the main fingerprint data and backing up the updated main fingerprint data into backup fingerprint data; and the deleting module is used for deleting all the fingerprint data and prompting the user to re-enter the fingerprint if the main fingerprint data cannot be loaded.
Preferably, the second fingerprint acquisition module may be specifically configured to: and acquiring second fingerprint data, and storing the second fingerprint data as the main fingerprint data, or replacing the second fingerprint data with any corresponding fingerprint data in the main fingerprint data.
Further, the second fingerprint acquisition module comprises: and the second fingerprint loading unit, the updating unit and the second fingerprint hash value calculating unit. The second fingerprint loading unit is used for acquiring second fingerprint data and confirming that the second fingerprint data can be loaded and normally used; the updating unit is used for updating the second fingerprint data into main fingerprint data and backing up the updated main fingerprint data into backup fingerprint data; and the second fingerprint hash value calculation unit is used for calculating the hash value of the second fingerprint data and storing the hash value of the second fingerprint data in an associated manner.
The device for ensuring the stability of the fingerprint data provided by the third embodiment of the invention backs up the main fingerprint data as the backup fingerprint data, namely, prestores two fingerprint data for executing the same function, and when the loading of the main fingerprint data fails, the backup fingerprint data can be loaded. By adopting the device, the influence on the use of a user due to loading failure in the fingerprint data loading process can be avoided, the fault tolerance of the fingerprint data is improved, and the use stability of the fingerprint is further improved.
The device for ensuring the stability of the fingerprint data provided by the embodiment of the invention is used for executing the method for ensuring the stability of the fingerprint data provided by the embodiment of the invention, and has corresponding functions and beneficial effects.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A method for ensuring fingerprint data is stable, comprising:
prestoring two groups of fingerprint data for executing the same function, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data;
receiving a fingerprint data execution instruction, and loading the main fingerprint data;
if the loading of the main fingerprint data fails, loading the backup fingerprint data;
receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with a hash value stored in the main fingerprint data correspondingly, wherein the stored hash value is a hash value when the main fingerprint data is loaded and verified;
and if the real hash value is the same as the stored hash value, acquiring second fingerprint data, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data.
2. The method of claim 1, wherein pre-storing two sets of fingerprint data for performing the same function comprises:
collecting first fingerprint data, and confirming that the first fingerprint data can be loaded and normally used;
and storing the first fingerprint data as main fingerprint data and backing up the main fingerprint data as backup fingerprint data.
3. The method of claim 2, wherein after saving the first fingerprint data as primary fingerprint data and backing up the primary fingerprint data as backup fingerprint data, further comprising:
and calculating to obtain the hash value of the main fingerprint data, and storing the hash value of the main fingerprint data in an associated manner.
4. The method of claim 3, further comprising:
if the real hash value is different from the stored hash value, judging whether the main fingerprint data can be loaded;
if the main fingerprint data can be loaded, replacing the corresponding stored hash value with the real hash value, and backing up the main fingerprint data as backup fingerprint data;
acquiring second fingerprint data, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data;
and if the main fingerprint data cannot be loaded, deleting all fingerprint data and prompting the user to re-enter the fingerprint.
5. The method according to claim 4, wherein the acquiring the second fingerprint data and updating the second fingerprint data to the master fingerprint data specifically comprises:
and acquiring second fingerprint data, and storing the second fingerprint data as the main fingerprint data, or replacing the second fingerprint data with any corresponding fingerprint data in the main fingerprint data.
6. The method of claim 4, wherein the acquiring second fingerprint data and updating the second fingerprint data to be main fingerprint data, and the backing up the updated main fingerprint data to be backup fingerprint data comprises:
acquiring second fingerprint data, and confirming that the second fingerprint data can be loaded and normally used;
updating the second fingerprint data into main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data;
and calculating to obtain the hash value of the second fingerprint data, and storing the hash value of the second fingerprint data in a correlated manner.
7. An apparatus for ensuring fingerprint data is stable, comprising:
the storage module is used for prestoring two groups of fingerprint data for executing the same function, wherein one group of fingerprint data is used as main fingerprint data, and the other group of fingerprint data is used as backup fingerprint data;
the main fingerprint data loading module is used for receiving a fingerprint data execution instruction and loading the main fingerprint data;
the backup fingerprint data loading module is used for loading the backup fingerprint data if the main fingerprint data fails to be loaded;
the updating instruction receiving module is used for receiving a fingerprint data updating instruction, calculating a real hash value of the main fingerprint data and comparing the real hash value with a stored hash value correspondingly, wherein the stored hash value is a hash value of the main fingerprint data during loading verification;
and the second fingerprint acquisition module is used for acquiring second fingerprint data if the real hash value is the same as the stored hash value, updating the second fingerprint data into the main fingerprint data, and backing up the updated main fingerprint data into backup fingerprint data.
8. The apparatus of claim 7, wherein the storage module comprises:
the first fingerprint acquisition unit is used for acquiring first fingerprint data and confirming that the first fingerprint data can be loaded and normally used;
the first fingerprint backup unit is used for saving the first fingerprint data as main fingerprint data and backing up the main fingerprint data as backup fingerprint data.
9. The apparatus of claim 8, further comprising:
and the first fingerprint hash value module is used for calculating the hash value of the main fingerprint data and storing the hash value of the main fingerprint data in an associated manner.
10. The apparatus of claim 9, further comprising:
the main fingerprint data loading module is used for judging whether the main fingerprint data can be loaded or not if the real hash value is different from the stored hash value;
the main fingerprint backup module is used for replacing the corresponding stored hash value with the real hash value and backing up the main fingerprint data into backup fingerprint data if the main fingerprint data can be loaded;
the second fingerprint backup module is used for acquiring second fingerprint data, updating the second fingerprint data into the main fingerprint data and backing up the updated main fingerprint data into backup fingerprint data;
and the deleting module is used for deleting all the fingerprint data and prompting the user to re-enter the fingerprint if the main fingerprint data cannot be loaded.
11. The apparatus of claim 10, wherein the second fingerprint acquisition module is specifically configured to:
and acquiring second fingerprint data, and storing the second fingerprint data as the main fingerprint data, or replacing the second fingerprint data with any corresponding fingerprint data in the main fingerprint data.
12. The apparatus of claim 10, wherein the second fingerprint acquisition module comprises:
the second fingerprint loading unit is used for acquiring second fingerprint data and confirming that the second fingerprint data can be loaded and normally used;
the updating unit is used for updating the second fingerprint data into main fingerprint data and backing up the updated main fingerprint data into backup fingerprint data;
and the second fingerprint hash value calculation unit is used for calculating the hash value of the second fingerprint data and storing the hash value of the second fingerprint data in an associated manner.
CN201810530569.7A 2015-10-19 2015-10-19 Method and device for ensuring stability of fingerprint data Active CN108710549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810530569.7A CN108710549B (en) 2015-10-19 2015-10-19 Method and device for ensuring stability of fingerprint data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510680013.2A CN105242989B (en) 2015-10-19 2015-10-19 A kind of method and device for ensureing finger print data and stablizing
CN201810530569.7A CN108710549B (en) 2015-10-19 2015-10-19 Method and device for ensuring stability of fingerprint data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510680013.2A Division CN105242989B (en) 2015-10-19 2015-10-19 A kind of method and device for ensureing finger print data and stablizing

Publications (2)

Publication Number Publication Date
CN108710549A CN108710549A (en) 2018-10-26
CN108710549B true CN108710549B (en) 2020-09-01

Family

ID=55040642

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510680013.2A Active CN105242989B (en) 2015-10-19 2015-10-19 A kind of method and device for ensureing finger print data and stablizing
CN201810530569.7A Active CN108710549B (en) 2015-10-19 2015-10-19 Method and device for ensuring stability of fingerprint data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510680013.2A Active CN105242989B (en) 2015-10-19 2015-10-19 A kind of method and device for ensureing finger print data and stablizing

Country Status (2)

Country Link
CN (2) CN105242989B (en)
WO (1) WO2017067292A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242989B (en) * 2015-10-19 2018-07-13 广东欧珀移动通信有限公司 A kind of method and device for ensureing finger print data and stablizing
CN105530101B (en) * 2016-02-29 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of fingerprint method for authenticating and device
CN107239771A (en) * 2017-06-21 2017-10-10 北京小米移动软件有限公司 Fingerprint calibration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236674A (en) * 2010-04-29 2011-11-09 腾讯科技(深圳)有限公司 Method and device for updating index page
CN103782268A (en) * 2011-05-02 2014-05-07 欧美尼公司 System and method for user access of dispensing unit
CN104645375A (en) * 2013-11-25 2015-05-27 北京白象新技术有限公司 Air disinfector with fingerprint identification function

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201072567Y (en) * 2006-12-20 2008-06-11 四川实力达巨元科技有限公司 Examinee fingerprint portrait and multi-discrimination system for identity card
CN101477523B (en) * 2008-11-24 2011-07-20 北京邮电大学 Index structure and retrieval method for ultra-large fingerprint base
CN103853965A (en) * 2014-03-11 2014-06-11 广州杰赛科技股份有限公司 Fingerprint certification-based entertainment system
CN105242989B (en) * 2015-10-19 2018-07-13 广东欧珀移动通信有限公司 A kind of method and device for ensureing finger print data and stablizing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236674A (en) * 2010-04-29 2011-11-09 腾讯科技(深圳)有限公司 Method and device for updating index page
CN103782268A (en) * 2011-05-02 2014-05-07 欧美尼公司 System and method for user access of dispensing unit
CN104645375A (en) * 2013-11-25 2015-05-27 北京白象新技术有限公司 Air disinfector with fingerprint identification function

Also Published As

Publication number Publication date
WO2017067292A1 (en) 2017-04-27
CN108710549A (en) 2018-10-26
CN105242989A (en) 2016-01-13
CN105242989B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
US8533492B2 (en) Electronic device, key generation program, recording medium, and key generation method
US8555060B2 (en) Managing method, device and terminal for application program
CN103729597A (en) System starting verifying method and device and terminal
CN104636171B (en) The method, device and mobile terminal of upgrading
US20160378458A1 (en) Method and device for system application installation package, and terminal
CN105138347A (en) Difference upgrade patch generating method, software upgrading method and corresponding apparatus
CN106293691A (en) Automatic discovery and installation of secure boot credentials
US11374766B2 (en) Devices and methods for key attestation with multiple device certificates
CN108710549B (en) Method and device for ensuring stability of fingerprint data
US10412079B2 (en) NFC device, software installation method, software uninstallation method, computer program and article of manufacture
CN111082926A (en) Key synchronization method and system
CN105550071B (en) System file upgrades and detection method, communication equipment
CN107704730B (en) Self-encryption method for embedded software of electronic equipment
KR101751098B1 (en) Method for programming a mobile terminal chip
JP2020024758A (en) Maintenance element capable of being restored to factory state
CN107341074B (en) A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal
CN109934016B (en) Application signature verification method and device and electronic equipment
CN114880011A (en) OTA (over the air) upgrading method and device, electronic equipment and readable storage medium
CN112306527A (en) Server upgrading method and device, computer equipment and storage medium
WO2016127587A1 (en) Software version updating method and apparatus
CN106294020B (en) Android system application partition file protection method and terminal
CN108133149B (en) Data protection method and device and electronic equipment
CN111291404A (en) Crypt12 backup decryption method, system, device and storage medium of WhatsApp of android device
CN109933994B (en) Data hierarchical storage method and device and computing equipment
CN106415565A (en) Protecting an item of software

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
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant