Embodiment
Solve in order to solve in the prior art that SIM release mode fail safe in the prior art is low, the problem of poor availability, the embodiment of the invention provides a kind of method and terminal equipment of Subscriber Identity Module rights management.
As shown in Figure 1, the method for the Subscriber Identity Module rights management that the embodiment of the invention provides comprises:
Step 101 is gathered the finger print information of user's input;
Step 102 is compared the finger print information and the fingerprint template of input;
Step 103 is when finger print information and the described fingerprint template of input are complementary, by corresponding relation extraction with the described fingerprint template corresponding PIN code of fingerprint template with PIN code;
Step 104 utilizes the PIN code of described correspondence that SIM card is carried out release.
Described step 104 comprises: when the PIN code of preserving in the PIN code of described correspondence and the described Subscriber Identity Module is consistent, and SIM card release success.
The method of the Subscriber Identity Module rights management that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, solved in the prior art, enable PIN code, the user needs to import PIN code when each the unlatching makes that PIN code is easy to reveal, the terminal equipment start is loaded down with trivial details, the user forgets the problem that startup password causes SIM card to be locked.The technical scheme that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, reduce the probability that PIN code is revealed, improved the fail safe of SIM card release, and easy to use, the situation of having avoided the user to forget that PIN code causes SIM card to be locked takes place, and has improved the availability of SIM card release.
In order to make those skilled in the art can more be expressly understood the technical scheme that the embodiment of the invention provides, below by specific embodiment, the encrypting fingerprint method that the embodiment of the invention is provided is elaborated.
As shown in Figure 2, the method for the Subscriber Identity Module rights management that another embodiment of the present invention provides comprises:
Step 201 is set up the corresponding relation of described fingerprint template and PIN code in advance;
In the present embodiment, described step 201 as shown in Figure 3, can comprise that step 301 is to step 304:
Step 301 according to the finger print information of gathering first, generates fingerprint template;
In the present embodiment, comprise that also step 305 is imported original PIN code before the described step 301, described original PIN code comprises original PIN code, the original password that operator is provided with; Or the start PIN code, the last PIN code that is provided with of user.Under the situation of the unmodified PIN code of user, original PIN code is the original PIN code that operator is provided with, and is generally 1234 or 0000; Here, being four with PIN code is that example describes, and in actual use, it is one or multidigit that PIN code can be set as required, and PIN code also is not limited to numeral, also can be letter or other symbols or the like.At this moment, the user is the original PIN code of input in the interface of the prompting input PIN code that ejects, and enters step 301.Revised the user under the situation of PIN code, the user is input start PIN code in the interface of the prompting input PIN code that ejects, and promptly the last PIN code that is provided with of user enters step 301.
Step 302 according to user's input, is provided with new PIN code;
In step 302, the four figures of importing according to the user is provided with new PIN code, as, the user imports 5746, and then numeral " 5746 " is the new PIN code of setting.Wherein, need to prove that the figure place of original PIN code can be identical or different in the new PIN code of setting and the SIM card.
Step 303 is replaced original PIN code with described new PIN code and is stored in the SIM card;
In step 303, new PIN code with described step 302 setting, as " 5746 ", replace original PIN code, as " 1234 ", be stored in the SIM card, original PIN code that preserve in promptly described SIM card Central Plains is the acquiescence PIN code " 1234 " that operator is provided with, through described step 303, preserve the new PIN code " 5746 " that described step 302 is provided with in the described SIM card.
In addition, in step 303, when not giving tacit consent to PIN code originally among the SIM, also can be directly the new PIN code of described setting be stored in the Subscriber Identity Module PIN code as SIM, and the operation of not replacing.At this moment, owing to do not give tacit consent to PIN code in the SIM card, therefore, directly use PIN code that the user imports as the new PIN code that is provided with.
Step 304 is set up the corresponding relation of described fingerprint template and described new PIN code.
In the present embodiment, by setting up the corresponding relation of fingerprint template and new PIN code, make the user when enabling new PIN code start, only need import fingerprint and get final product.
Step 202 is gathered the finger print information of user's input;
In the present embodiment, also comprise before the described step 202, step 206, prompting input PIN code, at the interface of ejecting the input PIN code, during in order to prompting input PIN code, the user can directly import fingerprint, also can import the PIN code that is provided with in described step 302.When the input fingerprint, enter step 202, when importing the PIN code of described setting, Subscriber Identity Module release success.
Step 203 is compared the finger print information and the fingerprint template of input;
Step 204 is when finger print information and the described fingerprint template of input are complementary, by corresponding relation extraction with the described fingerprint template corresponding PIN code of fingerprint template with PIN code;
Step 205 utilizes the PIN code of described correspondence that SIM card is carried out release.
In step 205, when the PIN code of preserving in the PIN code of described correspondence and the described SIM card is consistent, SIM card release success.
The method of the Subscriber Identity Module rights management that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, solved in the prior art, enable PIN code, the user needs to import PIN code when each the unlatching makes that PIN code is easy to reveal, the terminal equipment start is loaded down with trivial details, the user forgets the problem that startup password causes SIM card to be locked.The technical scheme that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, reduce the probability that PIN code is revealed, improved the fail safe of SIM card release, and easy to use, the situation of having avoided the user to forget that PIN code causes SIM card to be locked takes place, and has improved the availability of SIM card release.
In order further to reduce the probability that PIN code is revealed, the method of the Subscriber Identity Module rights management that another embodiment of the present invention provides, as shown in Figure 4, described step 201, set up the corresponding relation of described fingerprint template and PIN code in advance, can comprise that step 401 is to step 405:
Step 401 according to the finger print information of gathering first, generates fingerprint template; Its concrete implementation method is identical with step 301 shown in Figure 3, repeats no more herein.
Step 402 is mapped as coding with described fingerprint template;
Step 403, input and described coding according to the user are provided with new PIN code;
In the present embodiment, describedly new PIN code is set carries out addition by the four figures of four random numbers in the described coding of random extraction and user's input, get back four and be PIN code.As, random extraction numeral from described coding obtains " 3521 ", and the four figures of user's input is " 9654 ", then addition draws " 13175 ", and then PIN code is " 3175 ".What deserves to be explained is that different operators can be provided with the setting that different algorithms is realized PIN code, be not limited in above-mentioned a kind ofly, do not give unnecessary details one by one herein.
Step 404 is replaced original PIN code with described new PIN code and is stored in the SIM card; Its concrete implementation method is identical with step 303 shown in Figure 3, repeats no more herein.
In addition, in step 404, when not giving tacit consent to PIN code originally among the SIM, also can be directly the described new PIN code that is provided be stored in the Subscriber Identity Module PIN code as SIM, and the operation of not replacing.At this moment, owing to do not give tacit consent to PIN code in the SIM card, therefore, directly use PIN code that PIN code that the user imports and described coding generate by certain algorithm new PIN code as setting.
Step 405 is set up the corresponding relation of described fingerprint template and described new PIN code.Its concrete implementation method is identical with step 304 shown in Figure 3, repeats no more herein.
In the present embodiment, described input and described coding according to the user are provided with new PIN code, and the new PIN code that sets up is that the user is ignorant, in above-mentioned steps 206, though prompting input PIN code is at the interface of ejecting the input PIN code, during in order to prompting input PIN code, the user because not knowing PIN code directly PIN code SIM card is carried out release, have only the mode by the input fingerprint, the input fingerprint enters above-mentioned steps 202.Therefore, reduce the number of times that the user imports PIN code, further reduced the probability that PIN code is revealed.
The method of the Subscriber Identity Module rights management that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, solved in the prior art, enable PIN code, the user needs to import PIN code when each the unlatching makes that PIN code is easy to reveal, the terminal equipment start is loaded down with trivial details, the user forgets the problem that startup password causes SIM card to be locked.The technical scheme that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, reduce the probability that PIN code is revealed, improved the fail safe of SIM card release, and easy to use, the situation of having avoided the user to forget that PIN code causes SIM card to be locked takes place, and has improved the availability of SIM card release.
In order in the probability that further reduces the PIN code leakage, to simplify the described step of setting up the corresponding relation of described fingerprint template and PIN code in advance, the method of the Subscriber Identity Module rights management that yet another embodiment of the invention provides, as shown in Figure 5, described step 201, set up the corresponding relation of described fingerprint template and PIN code in advance, can comprise that step 501 is to step 505:
Step 501 according to the finger print information of gathering first, generates fingerprint template; Its concrete implementation method is identical with step 301 shown in Figure 3, repeats no more herein.
Step 502 is mapped as coding with described fingerprint template; Its concrete implementation method is identical with step 402 shown in Figure 4, repeats no more herein.
Step 503 according to described coding, is provided with new PIN code;
In the present embodiment, describedly PIN is set, comprises according to described coding: described new PIN code be described coding partly or entirely.When fingerprint template described in the described step 502 mapping obtain be encoded to 4 digit codes the time, the new PIN code of whole conducts of getting described coding; When described coding figure place during, extract 4 figure places in the described coding as new PIN code at random or according to certain rule (for example, intercepting back four, preceding four, continuous four or the like) more than 4.Do not need user's input, simplified the step that PIN code is provided with.
Step 504 is replaced original PIN code with described new PIN code and is stored in the SIM card; Its concrete implementation method is identical with step 303 shown in Figure 3, repeats no more herein.In addition, in step 504, when not giving tacit consent to PIN code originally among the SIM, also can be directly the described new PIN code that is provided be stored in the Subscriber Identity Module PIN code as SIM, and the operation of not replacing.At this moment, owing to do not give tacit consent to PIN code in the SIM card, therefore, directly use PIN code that described coding generates by certain algorithm new PIN code as setting.
Step 505 is set up the corresponding relation of described fingerprint template and described PIN code.Its concrete implementation method is identical with step 304 shown in Figure 3, repeats no more herein.
In the present embodiment, described input and described coding according to the user are provided with PIN code, and the PIN code that sets up is that the user is ignorant, in above-mentioned steps 206, though prompting input PIN code is at the interface of ejecting the input PIN code, during in order to prompting input PIN code, the user because not knowing PIN code directly PIN code SIM card is carried out release, have only the mode by the input fingerprint, the input fingerprint enters above-mentioned steps 202.Therefore, reduce the number of times that the user imports PIN code, further reduced the probability that PIN code is revealed.
The method of the Subscriber Identity Module rights management that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, solved in the prior art, enable PIN code, the user needs to import PIN code when each the unlatching makes that PIN code is easy to reveal, the terminal equipment start is loaded down with trivial details, the user forgets the problem that startup password causes SIM card to be locked.The technical scheme that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, reduce the probability that PIN code is revealed, improved the fail safe of SIM card release, and easy to use, the situation of having avoided the user to forget that PIN code causes SIM card to be locked takes place, and has improved the availability of SIM card release.
As shown in Figure 6, the terminal equipment that the embodiment of the invention provides comprises:
Collecting unit 601 is used to gather the finger print information of user's input; Its concrete implementation method can be described referring to step 202 as shown in Figure 2, repeats no more herein.
Memory cell 602 is used to store the corresponding relation of fingerprint template and fingerprint template and PIN code;
Processor 603 is used for the finger print information of described collecting unit 601 collections and the fingerprint template of described memory cell 602 storages are compared; When described finger print information and described fingerprint template are complementary, by the fingerprint template of storage in the described memory cell 602 and the corresponding relation extraction PIN code corresponding of PIN code with described fingerprint template; Utilize the PIN code of described correspondence that SIM card is carried out release.
In the present embodiment, described processor 603 as shown in Figure 7, comprising:
Set up unit 6031, be used to set up the corresponding relation of fingerprint template described in the described memory cell 602 and PIN code.Its concrete implementation method can be described referring to step 201 as shown in Figure 2, repeats no more herein.
Contrast unit 6032 is used for the finger print information of described collecting unit 601 collections and the fingerprint template of described memory cell 602 storages are compared; Its concrete implementation method can be described referring to step 203 as shown in Figure 2, repeats no more herein.
Extraction unit 6033, be used for when the described finger print information of described contrast unit 6032 contrast is complementary with described fingerprint template, by the fingerprint template of storage in the described memory cell 602 and the corresponding relation extraction PIN code corresponding of PIN code with described fingerprint template; Its concrete implementation method can be described referring to step 204 as shown in Figure 2, repeats no more herein.
Separate lock unit 6034, be used for utilizing the PIN code of the correspondence that described extraction unit 6033 extracts that SIM card is carried out release.Its concrete implementation method can be described referring to step 205 as shown in Figure 2, repeats no more herein.
Optionally, terminal equipment can also comprise: SIM card 604 is used to store PIN code.After the PIN code of the PIN code of processor 603 input and SIM card self storage compared, both then carried out the SIM release when consistent.
Wherein, the described unit 6031 of setting up as shown in Figure 8, can comprise:
First generation module 701 is used for the finger print information gathered first according to described collecting unit 601, generates fingerprint template; Its concrete implementation method can be described referring to step 301 as shown in Figure 3, repeats no more herein.
First is provided with module 702, is used for the input according to the user, and PIN code is set; Its concrete implementation method can be described referring to step 302 as shown in Figure 3, repeats no more herein.
First replaces module 703, is used for described first PIN code that module 702 is provided with being set and replaces original PIN code and be stored in the SIM card, perhaps directly the PIN code that is provided with is stored in the Subscriber Identity Module PIN code as SIM; Its concrete implementation method can be described referring to step 303 as shown in Figure 3, repeats no more herein.
First sets up module 704, is used to set up the corresponding relation that fingerprint template and described first that described first generation module 701 generates is provided with the PIN code of module 702 settings.Its concrete implementation method can be described referring to step 304 as shown in Figure 3, repeats no more herein.
For the further probability that reduces the PIN code leakage, the terminal equipment that the embodiment of the invention provides, as shown in Figure 9, the described unit 6031 of setting up can comprise:
Second generation module 801 is used for the finger print information gathered first according to described collecting unit 601, generates fingerprint template; Its concrete implementation method can be described referring to step 401 as shown in Figure 4, repeats no more herein.
Second mapping block 802 is used for the fingerprint template that described second generation module 801 generates is mapped as coding; Its concrete implementation method can be described referring to step 402 as shown in Figure 4, repeats no more herein.
Second is provided with module 803, is used for shining upon the coding that obtains according to user's input and described second mapping block 802, and PIN code is set; Its concrete implementation method can be described referring to step 403 as shown in Figure 4, repeats no more herein.
Second replaces module 804, is used for described second PIN code that module 803 is provided with being set and replaces original PIN code and be stored in the SIM card, perhaps directly the PIN code that is provided with is stored in the Subscriber Identity Module PIN code as SIM; Its concrete implementation method can be described referring to step 404 as shown in Figure 4, repeats no more herein.
Second sets up module 805, is used to set up the corresponding relation that fingerprint template and described second that described second generation module 801 generates is provided with the PIN code of module 803 settings.Its concrete implementation method can be described referring to step 405 as shown in Figure 4, repeats no more herein.
In order to simplify described second structure that module 803 is set when further reducing the probability that PIN code reveals, described second is provided with module 803 can replace with the 3rd module is set; The described the 3rd is provided with module, is used for the coding that 802 mappings obtain according to described second mapping block, and PIN code is set; Its concrete implementation method can be described referring to step 503 as shown in Figure 5, repeats no more herein.
The terminal equipment that the embodiment of the invention provides, when the finger print information of the input that contrasts in contrasting the unit and described fingerprint template are complementary, extract the PIN code corresponding by extraction unit with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, solved in the prior art, enable PIN code, the user needs to import PIN code when each the unlatching makes that PIN code is easy to reveal, the terminal equipment start is loaded down with trivial details, the user forgets the problem that startup password causes SIM card to be locked.The technical scheme that the embodiment of the invention provides, when the finger print information of input and described fingerprint template when being complementary, extract the PIN code corresponding by fingerprint template with the corresponding relation of PIN code with described fingerprint template, making the user only need import fingerprint when enabling the PIN code start gets final product, reduce the probability that PIN code is revealed, improved the fail safe of SIM card release, and easy to use, the situation of having avoided the user to forget that PIN code causes SIM card to be locked takes place, and has improved the availability of SIM card release.
The method and the terminal equipment of the Subscriber Identity Module rights management that the embodiment of the invention provides can be applied in the various electronic products such as the mobile phone that contains SIM card, data card.In addition, what the method for the Subscriber Identity Module rights management that the embodiment of the invention provides and terminal equipment were exemplary is that representative is illustrated with the PIN code, it is evident that, the method of the Subscriber Identity Module rights management that the embodiment of the invention provides and terminal equipment can also be used for (the PIN 2 to PIN2, personal identification number 2) sign indicating number, PUK (PINUnBlock, the PIN PUK) sign indicating number and PUK2 (PIN2 UnBlock, the PIN2 PUK) sign indicating number waits other to manage, because PIN code and PIN2 sign indicating number, the way to manage of PUK code and PUK2 sign indicating number is similar, does not repeat them here.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.