A kind of encrypting fingerprint processing method, device and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of encrypting fingerprint processing method, device and terminal.
Background technology
Along with the development of science and technology, fingerprint identification technology is widely applied, but, using this technology
During, need to be connected to the authentication functions of third-party server by utilizing fingerprint Identification sensor, now hold
Easily cause user fingerprints information to be collected by third party, cause the leakage of fingerprint privacy, say, that Yong Hu
When using fingerprint identification function very easily, the most easily give unknown third party by fingerprint privacy leakage,
Bring the hidden danger of the unknown.
For this situation, the most temporarily without solution, can only be the function not using fingerprint recognition, to keep away
Exempt from the leakage of user fingerprints privacy.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of encrypting fingerprint processing method, device and terminal, solves
Certainly in prior art, user easily reveals fingerprint privacy when using fingerprint identification function, and then brings unknown hidden danger
Problem.
In order to solve above-mentioned technical problem, the embodiment of the present invention provides a kind of encrypting fingerprint processing method, including:
Obtain original fingerprint information;
According to predetermined encryption mode, described original fingerprint information is encrypted, forms cryptographic fingerprint information;
Described cryptographic fingerprint information is sent to third-party application, so that described third-party application can direct root
User's assigned operation is carried out according to described cryptographic fingerprint information, and non-decrypting described cryptographic fingerprint information.
Alternatively, before described acquisition original fingerprint information, described encrypting fingerprint processing method also includes:
It is mutual that prompting user confirms to use which kind of authentication mode and described third-party application to carry out information;
Obtain user's selection carries out, with described third-party application, the authentication mode that information is mutual;
The step of described acquisition original fingerprint information particularly as follows:
When the described authentication mode that user selects is finger print identifying, obtain described original fingerprint information.
Alternatively, described original fingerprint information being encrypted according to predetermined encryption mode described, formation adds
Before close finger print information, described encrypting fingerprint processing method also includes:
Prompting user is confirmed whether to be encrypted described original fingerprint information;
Obtain user for the selection result whether described original fingerprint information being encrypted;
When described selection result is for being, just perform described to be believed by described original fingerprint according to predetermined encryption mode
Breath is encrypted, and forms the step of cryptographic fingerprint information.
Alternatively, described according to predetermined encryption mode, described original fingerprint information is encrypted, forms encryption
The step of finger print information includes:
Described original fingerprint information is cut into point information of default number;
The position of point information of described default number after cutting is rearranged according to default arrangement mode.
Alternatively, described default arrangement mode includes exchanging up and down, swapping left and right and odd number even order pair
At least one in tune.
Alternatively, described by described cryptographic fingerprint information send to third-party application so that described third party should
With directly carrying out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described cryptographic fingerprint
The step of information includes:
Described cryptographic fingerprint information is sent to third-party application, so that described third-party application can direct root
User's registration of correspondence is carried out according to described cryptographic fingerprint information.
Alternatively, described by described cryptographic fingerprint information send to third-party application so that described third party should
With directly carrying out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described cryptographic fingerprint
The step of information includes:
By described cryptographic fingerprint information send to third-party application so that described third-party application can directly by
Finger print information when described cryptographic fingerprint information and registration contrasts, and when comparing result is consistent, then passes through
Authentication, otherwise, otherwise.
Present invention also offers a kind of encrypting fingerprint processing means, including:
First acquisition module, is used for obtaining original fingerprint information;
Encrypting module, for described original fingerprint information being encrypted according to predetermined encryption mode, formation adds
Close finger print information;
Sending module, for described cryptographic fingerprint information is sent to third-party application, so that described third party
Application directly can carry out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described encryption refers to
Stricture of vagina information.
Alternatively, described encrypting fingerprint processing means also includes:
First reminding module, before described first acquisition module performs associative operation, prompting user confirms
Which kind of authentication mode and described third-party application is used to carry out information mutual;
Second acquisition module, for obtain user select carry out mutual the recognizing of information with described third-party application
Card mode;
Described first acquisition module specifically for:
When the described authentication mode that user selects is finger print identifying, obtain described original fingerprint information.
Alternatively, described finger print information processing means also includes:
Second reminding module, before described encrypting module performs associative operation, prompting user is confirmed whether
Described original fingerprint information is encrypted;
3rd acquisition module, for obtaining user for the choosing whether being encrypted described original fingerprint information
Select result;
Described encrypting module, when described selection result is for being, just performs associative operation.
Alternatively, described encrypting module includes:
Cutting submodule, for being cut into point information of default number by described original fingerprint information;
Arrangement submodule, after cutting, the position of point information of described default number is according to default arrangement side
Formula rearranges.
Alternatively, described default arrangement mode includes exchanging up and down, swapping left and right and odd number even order pair
At least one in tune.
Alternatively, described sending module includes:
First sends submodule, for described cryptographic fingerprint information is sent to third-party application, so that described
Third-party application directly can carry out user's registration of correspondence according to described cryptographic fingerprint information.
Alternatively, described sending module includes:
Second sends submodule, for described cryptographic fingerprint information is sent to third-party application, so that described
Described cryptographic fingerprint information can directly be contrasted, right by third-party application with finger print information during registration
Time more consistent than result, then pass through to authenticate, otherwise, otherwise.
Present invention also offers a kind of terminal, including: above-mentioned encrypting fingerprint processing means.
Having the beneficial effect that of the technique scheme of the present invention:
In such scheme, described encrypting fingerprint processing method is by encrypting the fingerprint privacy of user, and sends
To third party so that third party can carry out assigned operation according to the fingerprint privacy after encryption, and non-decrypting,
Improve the safety of user fingerprints privacy, it is to avoid the leakage of fingerprint privacy.
Accompanying drawing explanation
Fig. 1 is fingerprint cipher processing method schematic flow sheet in the embodiment of the present invention one;
Fig. 2 is fingerprint cipher processing apparatus structural representation in the embodiment of the present invention two.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached
Figure and specific embodiment are described in detail.
The present invention is directed to easily reveal fingerprint privacy when user in existing technology uses fingerprint identification function, enter
And the problem bringing unknown hidden danger, it is provided that multiple solution, specific as follows:
Embodiment one
Seeing Fig. 1, the encrypting fingerprint processing method in the embodiment of the present invention one includes:
Step 11: obtain original fingerprint information;
Step 12: described original fingerprint information be encrypted according to predetermined encryption mode, forms cryptographic fingerprint
Information;
Step 13: described cryptographic fingerprint information is sent to third-party application, so that described third-party application energy
Enough directly carry out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described cryptographic fingerprint information.
Wherein, finger print information is fingerprint image or information in fingerprint (binary information).
In embodiments of the invention one, described encrypting fingerprint processing method is by adding the fingerprint privacy of user
Close, and send to third party so that third party can carry out assigned operation according to the fingerprint privacy after encryption,
And non-decrypting, improve the safety of user fingerprints privacy, it is to avoid the leakage of fingerprint privacy.
Further, before described acquisition original fingerprint information, described encrypting fingerprint processing method also includes:
It is mutual that prompting user confirms to use which kind of authentication mode and described third-party application to carry out information;Obtain user's choosing
That selects carries out, with described third-party application, the authentication mode that information is mutual;The step of described acquisition original fingerprint information
Rapid particularly as follows: when the described authentication mode that user selects is finger print identifying, obtain described original fingerprint information.
Wherein, authentication mode includes cipher authentication and finger print identifying.
In order to improve Consumer's Experience, described original fingerprint information is added according to predetermined encryption mode described
Close, before forming cryptographic fingerprint information, described encrypting fingerprint processing method also includes: prompting user's confirmation is
No described original fingerprint information is encrypted;Obtain user for whether described original fingerprint information being carried out
The selection result of encryption;When described selection result is for being, just perform described according to predetermined encryption mode by institute
State original fingerprint information to be encrypted, form the step of cryptographic fingerprint information.It is to say, when user needs
When using the intelligent terminal with fingerprint identification function, user can be reminded the need of protection fingerprint privacy;As
Really user have selected the fingerprint privacy needing to protect oneself, then, when user carries out fingerprint recognition operation, will obtain
The real user fingerprints information got is encrypted, and (can be preset by the encipherment scheme that user is selected
Cipher mode) it is encrypted.
Concrete, described according to predetermined encryption mode, described original fingerprint information is encrypted, forms encryption
The step of finger print information includes: described original fingerprint information is cut into point information of default number;Will cutting
The position of point information of rear described default number rearranges according to default arrangement mode.
Alternatively, described default arrangement mode includes exchanging up and down, swapping left and right and odd number even order pair
At least one in tune.
Wherein, user's assigned operation is exemplary power/certification, it is also possible to operate for registration etc., so, this
Described cryptographic fingerprint information is sent to third-party application, so that the described 3rd by described in bright embodiment one
Fang Yingyong directly can carry out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described encryption
The step of finger print information may include that and sends described cryptographic fingerprint information to third-party application, so that described
Third-party application directly can carry out user's registration of correspondence according to described cryptographic fingerprint information;
Can also include: described cryptographic fingerprint information is sent to third-party application, so that described third party should
With can directly described cryptographic fingerprint information be contrasted, at comparing result one with finger print information during registration
During cause, then pass through to authenticate, otherwise, otherwise.
In summary, the user fingerprints information after the scheme of the embodiment of the present invention one offer will be encrypted is as needs
The finger print information of output, the user fingerprints information after third party will obtain encryption is used for associative operations such as authenticating,
And the original fingerprint information of non-user, improve user and use the safety of fingerprint identification module, it is to avoid use
Family fingerprint privacy leakage is to third party.
Embodiment two
Seeing Fig. 2, the encrypting fingerprint processing means in the embodiment of the present invention two includes:
First acquisition module 21, is used for obtaining original fingerprint information;
Encrypting module 22, for described original fingerprint information being encrypted according to predetermined encryption mode, is formed
Cryptographic fingerprint information;
Sending module 23, for described cryptographic fingerprint information is sent to third-party application, so that the described 3rd
Fang Yingyong directly can carry out user's assigned operation according to described cryptographic fingerprint information, and non-decrypting described encryption
Finger print information.
Wherein, finger print information is fingerprint image or information in fingerprint (binary information).
In embodiments of the invention two, described encrypting fingerprint processing means is by adding the fingerprint privacy of user
Close, and send to third party so that third party can carry out assigned operation according to the fingerprint privacy after encryption,
And non-decrypting, improve the safety of user fingerprints privacy, it is to avoid the leakage of fingerprint privacy.
Further, described encrypting fingerprint processing means also includes: the first reminding module, for described first
Before acquisition module performs associative operation, prompting user confirms to use which kind of authentication mode to answer with described third party
Mutual by the information of carrying out;Second acquisition module, for obtaining carrying out with described third-party application of user's selection
The authentication mode that information is mutual;Described first acquisition module specifically for: user select described authenticating party
When formula is finger print identifying, obtain described original fingerprint information.Wherein, authentication mode includes cipher authentication and refers to
Stricture of vagina certification.
In order to improve Consumer's Experience, described finger print information processing means also includes: the second reminding module, is used for
Before described encrypting module performs associative operation, prompting user is confirmed whether to carry out described original fingerprint information
Encryption;3rd acquisition module, for obtaining user for whether being encrypted described original fingerprint information
Select result;Described encrypting module, when described selection result is for being, just performs associative operation.It is to say,
When user needs to use the intelligent terminal with fingerprint identification function, user can be reminded to refer to the need of protection
Stricture of vagina privacy;If user have selected the fingerprint privacy needing to protect oneself, then carry out fingerprint recognition behaviour user
When making, the real user fingerprints information got is encrypted, the encryption can selected by user
Scheme (predetermined encryption mode) is encrypted.
Concrete, described encrypting module includes: cutting submodule, for described original fingerprint information being cut
Point information for default number;Arrangement submodule, for by the position of point information of described default number after cutting
Put and rearrange according to default arrangement mode.
Alternatively, described default arrangement mode includes exchanging up and down, swapping left and right and odd number even order pair
At least one in tune.
Wherein, user's assigned operation is exemplary power/certification, it is also possible to operate for registration etc., so, this
The bright described sending module in embodiment two may include that the first transmission submodule, for by described encryption
Finger print information sends to third-party application, so that described third-party application can be directly according to described cryptographic fingerprint
Information carries out user's registration of correspondence;
Can also include: second sends submodule, for the transmission of described cryptographic fingerprint information is answered to third party
With, so that described cryptographic fingerprint information can directly be entered by described third-party application with finger print information during registration
Row contrast, when comparing result is consistent, then by authentication, otherwise, otherwise.
In summary, the user fingerprints information after the scheme of the embodiment of the present invention two offer will be encrypted is as needs
The finger print information of output, the user fingerprints information after third party will obtain encryption is used for associative operations such as authenticating,
And the original fingerprint information of non-user, improve user and use the safety of fingerprint identification module, it is to avoid use
Family fingerprint privacy leakage is to third party.
In embodiments of the invention two, this encrypting fingerprint processing means can be by changing existing terminal
Enter to realize encrypting fingerprint processing means function in embodiment two.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art
For Yuan, without departing under principle premise of the present invention, it is also possible to make some improvements and modifications, these
Improvements and modifications also should be regarded as protection scope of the present invention.