WO2011063664A1 - Rights management method and terminal device for subscriber identity module - Google Patents

Rights management method and terminal device for subscriber identity module Download PDF

Info

Publication number
WO2011063664A1
WO2011063664A1 PCT/CN2010/076140 CN2010076140W WO2011063664A1 WO 2011063664 A1 WO2011063664 A1 WO 2011063664A1 CN 2010076140 W CN2010076140 W CN 2010076140W WO 2011063664 A1 WO2011063664 A1 WO 2011063664A1
Authority
WO
WIPO (PCT)
Prior art keywords
personal identification
fingerprint template
identification code
user
fingerprint
Prior art date
Application number
PCT/CN2010/076140
Other languages
French (fr)
Chinese (zh)
Inventor
宋彦斐
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2011063664A1 publication Critical patent/WO2011063664A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories

Definitions

  • SIM Subscriber Identity Module
  • the SIM card is encrypted by a PIN code, which is a personal identification code of the SIM card.
  • PIN code is a personal identification code of the SIM card.
  • its original PIN code is 1234 or 0000, which is set by the operator.
  • the user can enable the PIN code and reset the PIN code by inputting the original PIN code.
  • the terminal device with the SIM card needs to input the power-on password, that is, the PIN code, each time the device is turned on. Only when the password is input correctly, the terminal device can enter the normal use state. Otherwise, the wrong power-on password is entered three times in succession.
  • the SIM card will be locked, which reduces the probability of the SIM being stolen by others.
  • the inventor has found that if the PIN code is turned on, the user needs to input a PIN code to unlock each time the terminal device with the SIM card is turned on, which easily causes the PIN code to be easily leaked. Therefore, the SIM card unlocking method in the prior art has low security and poor usability. Summary of the invention
  • the embodiment of the invention provides a method for managing the rights of the user identification card and the terminal device, so as to solve the problem that the SIM unlocking method has low security and poor usability in the prior art.
  • the embodiment of the present invention adopts the following technical solutions.
  • a method for managing user rights of a card comprising: collecting fingerprint information input by a user: comparing the input fingerprint information with a fingerprint template; and when the input fingerprint information matches the fingerprint template, adopting a fingerprint template
  • the personal identification code corresponding to the fingerprint template is extracted from the correspondence relationship with the personal identification code; and the wide identification card is unlocked by using the corresponding personal identification code.
  • a terminal device comprising:
  • the collecting unit is configured to collect fingerprint information input by the user
  • a storage unit configured to store a fingerprint template and a correspondence between the fingerprint template and the personal identification code
  • a processor configured to compare fingerprint information collected by the collection unit with a fingerprint template stored by the storage unit; and when the fingerprint information matches the fingerprint template, pass the fingerprint stored in the storage unit
  • the correspondence between the template and the personal identification code extracts a personal identification code corresponding to the fingerprint template; and unlocks the user identification card by using the corresponding personal identification code.
  • the method for managing the rights of the user identification card and the terminal device provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, extracting the PIN code corresponding to the fingerprint template by the correspondence between the fingerprint template and the PIN code Therefore, the user only needs to input a fingerprint when the PIN code is enabled.
  • the PIN code is enabled, and the user needs to input the PIN code every time the PIN code is opened, so that the PIN code is easy to leak, and the terminal device is cumbersome to boot. Forgetting the power-on password causes the STM card to be locked.
  • the technical solution provided by the embodiment of the present invention enables the user to input the fingerprint only when the PIN code is enabled, the probability of the PIN code leakage is reduced, the security of the SIM card unlocking is improved, and the user is avoided.
  • the PIN code causes the SIM card to be locked, which improves the usability of the SIM card unlocking and is convenient to use.
  • FIG. 1 is a flowchart of a method for managing rights of a user identification card according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for managing rights of a user identification card according to an embodiment of the present invention
  • step 201 is a flow chart 1 of step 201 in the flowchart of the method for managing the rights of the user identification card provided by the embodiment of the invention shown in FIG. 2;
  • FIG. 4 is a second flowchart of step 201 in the method for managing user identity card rights provided by the embodiment of the present invention shown in FIG. 2;
  • FIG. 5 is a flowchart 3 of step 201 in the flowchart of the method for managing user identity card rights provided by the embodiment of the present invention;
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention:
  • FIG. 7 is a schematic structural diagram of the processor in the terminal device according to the embodiment of the present invention shown in FIG. 6.
  • FIG. 8 is a schematic diagram of the establishing unit in the processor in the terminal device provided by the embodiment of the invention shown in FIG. Schematic diagram of structure one;
  • FIG. 9 is a second schematic structural diagram of the establishing unit in the processor in the terminal device provided by the embodiment of the invention shown in FIG. 7.
  • the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the invention, but not all of them. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the embodiment of the invention provides a method for managing the rights of the user identification card and the terminal device.
  • a method for managing rights of a user identification card includes: Step 101: Collect fingerprint information input by a user;
  • Step 102 Compare the input fingerprint information with the fingerprint template:
  • Step 103 When the input fingerprint information matches the fingerprint template, extract a PIN code corresponding to the fingerprint template by using a correspondence between the fingerprint template and the PIN code;
  • Step 104 Unlock the SIM card by using the corresponding PIN code.
  • the step 104 includes: when the corresponding PIN code is consistent with the PIN code saved in the SIM card, the SB1 card is successfully unlocked.
  • the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user
  • the PIN code is enabled, only the fingerprint is required to be input.
  • the PIN code is enabled, and the user needs to input the PIN code every time to open, so that the PIN code is easy to leak, the terminal device is turned on, and the user forgets the power-on password. The problem that caused the SIM card to be locked.
  • the technical solution provided by the embodiment of the present invention when inputting fingerprint information
  • the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that only the fingerprint can be input when the PIN code is enabled, and the PIN code leakage is reduced.
  • the probability of the SIM card is improved, and the use is convenient, and the situation that the user forgets the PIN code to cause the SIM card to be locked is avoided, and the availability of the SIM card unlocking is improved.
  • the fingerprint encryption method provided by the embodiments of the present invention will be described in detail below through specific embodiments.
  • the method for managing user identity card rights includes: Step 201: Pre-establish a correspondence between a fingerprint template and a PIN code;
  • Step 202 Collect fingerprint information input by the user.
  • Step 203 Compare the input fingerprint information with the fingerprint template.
  • Step 204 When the input fingerprint information matches the fingerprint template, extract a PIN code corresponding to the fingerprint template by using a correspondence between the fingerprint template and the PIN code;
  • Step 205 Unlock the STM card by using the corresponding PTN code.
  • step 205 when the corresponding PIN code is consistent with the PIN code stored in the SIM card, the SIM card is successfully unlocked.
  • the step 202 may further include: Step 206, prompting to input a PIN code.
  • Step 206 prompting to input a PIN code.
  • the user can directly input the fingerprint, or input the PIN code set by the user.
  • the process proceeds to step 202.
  • the user inputs the set PIN code in step 206, the user identification card is successfully unlocked, and the SIM card is unlocked.
  • the step 201 may specifically include steps 301 to 305:
  • Step 301 Generate a fingerprint template according to the fingerprint information collected for the first time.
  • the step 301 may further include: Step 305: input an original PIN code, where the original PIN code includes an original PIN code, an original password set by an operator; or a boot PIN code, and a PIN set by the user last time. code.
  • the original PIN code is the original PIN code set by the operator, which is generally 1234 or 0000.
  • the PIN code is taken as an example for example. In actual use, it can be used as needed. Set the PIN code to one or more digits, and the PIN code is not limited to numbers, but also letters or other symbols.
  • Step 301 the user inputs the original PIN code in the pop-up interface for prompting to input the PIN code, and proceeds to step 301.
  • the user inputs the power-on PIN code, that is, the PIN code set by the user last time, in the pop-up prompting to input the PIN code, and proceeds to step 301.
  • Step 302 Set a new PIN code according to a user input;
  • a new PIN code is set according to the four digits input by the wide input. For example, if the wide input 5746 is used, the number "5746" is the set new PIN code. It should be noted that the set new PIN code and the original PIN code in the SIM card may have the same or different digits.
  • Step 303 The new PIN code is replaced with the original PIN code and saved in the SIM card.
  • step 303 the new PIN code set in step 302, such as "5746", is replaced with the original PIN code, such as "1234", and stored in the SIM card, that is, the original PIN originally saved in the SIM card.
  • the code is the default PIN code "1234" set by the operator.
  • the new PIN code "5746" set in the step 302 is saved in the SIM card.
  • step 303 when there is no default PIN code in the SIM, the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code input by the user is directly used as the set new PIN code.
  • Step 304 Establish a correspondence between the fingerprint template and the new PIN code.
  • the correspondence between the fingerprint template and the new PTN code is established through steps 301 to 305, so that the user only needs to input the fingerprint when the new PIN code is enabled.
  • the method for managing the rights of the user identification card provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user When the PIN code is enabled, only the fingerprint is required to be input, which reduces the probability of PIN code leakage, improves the security of the SIM card unlocking, and is convenient to use, thereby avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, thereby improving The availability of SIM card unlocking.
  • another embodiment of the present invention provides a method for managing user rights of a user identification card.
  • the method of this embodiment differs from the previous embodiment in that: 201, that is, the correspondence between the fingerprint template and the PIN code is established in advance, and specifically includes steps 401 to 405.
  • Step 401 Generate a fingerprint template according to the fingerprint information collected for the first time.
  • the specific implementation method of the step 401 is the same as the step 301 shown in FIG. 3, and details are not described herein again.
  • Step 402 Map the fingerprint template to an encoding.
  • Step 403 setting a new PIN code according to the user input and the encoding
  • the setting of the new PIN code may be performed by randomly extracting four random numbers in the code and adding four digits input by the user, and taking the last four digits as a PIN code. For example, randomly extracting numbers from the code, Go to "3521" and the four digits entered by the user are "9654", then add "13175” and the PIN code is "3175". It is worth noting that different operators can set different algorithms to implement the setting of the PIN code, and are not limited to the above ones, and are not described here.
  • Step 404 The new PIN code is replaced with the original PIN code and saved in the SIM card.
  • the specific implementation of the step 404 is the same as the step 303 shown in FIG. 3, and details are not described herein again.
  • step 404 when there is no default PIN code in the SIM, the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM, without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code input by the user and the PIN code generated by the encoding by the certain algorithm are directly used as the set new PIN code.
  • Step 405 Establish a correspondence between the fingerprint template and the new PIN code.
  • the specific implementation of the step 405 is the same as the step 304 shown in FIG. 3, and details are not described herein again.
  • a new PIN code is set, and the set new PIN code is not known by the user.
  • the pop-up is popped up.
  • the PIN code is input to prompt the input of the PTN code
  • the user cannot unlock the STM card by directly using the PTN code because the PTN code is unknown. Only by inputting the fingerprint, the fingerprint is input, and the above step 202 is entered. Therefore, the number of times the user inputs the PIN code is reduced, and the probability of PIN code leakage is further reduced.
  • the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user
  • the PIN code is enabled, only the fingerprint is required to be input, which reduces the probability of PIN code leakage, improves the security of the SIM card unlocking, and is convenient to use, thereby avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, thereby improving The availability of SIM card unlocking.
  • the step of pre-establishing the correspondence between the fingerprint template and the PIN code is further provided.
  • the embodiment of the present invention provides a method for managing the rights of the user identification card.
  • the method is different from the previous embodiment in that, as shown in FIG. 5, the step 201, that is, the correspondence between the fingerprint template and the PIN code is established in advance, and may specifically include steps 501 to 505.
  • Step 501 Generate a fingerprint template according to the fingerprint information collected for the first time.
  • the specific implementation method of the step 501 is the same as the step 301 shown in FIG. 3, and details are not described herein again.
  • Step 502 the fingerprint template is mapped to the code.
  • the specific implementation method of the step 502 is the same as the step 402 shown in FIG. 4, and details are not described herein again.
  • Step 503 Set a new PIN code according to the encoding.
  • the setting the personal identification code according to the encoding includes: the new PIN code is part or all of the encoding.
  • the code obtained by the fingerprint template mapping in the step 502 is a 4-digit code
  • all the codes are taken as a new PIN code; when the number of coded bits is more than 4 bits, random or according to a certain Rules (eg, truncating the last four digits, the first four digits, four consecutive digits, etc.) extract the four digits in the encoding as the new PIN code.
  • the user's input is not required, which simplifies the steps of setting the PIN code.
  • Step 504 The new PIN code is replaced with the original PIN code and stored in the SIM card.
  • the specific implementation of the step 504 is the same as the step 303 shown in FIG. 3, and details are not described herein again.
  • the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code generated by the algorithm by the encoding is directly used as the set new PIN code.
  • Step 505 Establish a correspondence between the fingerprint template and the new PIN code.
  • the specific implementation of the step 505 is the same as the step 304 shown in FIG. 3, and details are not described herein again.
  • the PTN code is set according to the input of the user and the encoding, and the set PTN code is not known by the user.
  • the interface for inputting the PIN code is popped up to prompt for the PIN code, the user cannot unlock the S top card by directly PIN code because the PIN code is unknown, and only by inputting the fingerprint, inputting the fingerprint and entering Step 202 above. Therefore, the number of times the user inputs the PIN code is reduced, and the probability of PIN code leakage is further reduced.
  • the terminal device provided by the embodiment of the present invention includes:
  • the collecting unit 601 is configured to collect fingerprint information input by the user
  • the storage unit 602 is configured to store a fingerprint template and a correspondence between the fingerprint template and the PIN code.
  • the processor 603 is configured to compare the fingerprint information collected by the collection unit 601 with the fingerprint template stored by the storage unit 602. When the fingerprint information is matched with the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code stored in the storage unit 602; The PIN code should be used to unlock the SIM card.
  • the processor 603, as shown in FIG. 7, includes:
  • the establishing unit 6031 is configured to establish a correspondence between the fingerprint template and the PIN code in the storage unit 602. For the specific implementation, refer to step 201 shown in Figure 2, and details are not described herein.
  • the comparison unit 6032 is configured to compare the fingerprint information collected by the collection unit 601 with the fingerprint template stored by the storage unit 602. For the specific implementation method, refer to step 203 shown in FIG. 2, where No longer.
  • the extracting unit 6033 is configured to: when the fingerprint information that is compared in the comparing unit 6032 matches the fingerprint template, extract the fingerprint with the corresponding relationship between the fingerprint template and the PIN code stored in the storage unit 602
  • the PIN code For the specific implementation of the PIN code, refer to step 204 shown in Figure 2, and details are not described herein.
  • the unlocking unit 6034 is configured to unlock the SIM card by using the corresponding PIN code extracted by the extracting unit 6033.
  • the unlocking unit 6034 is configured to unlock the SIM card by using the corresponding PIN code extracted by the extracting unit 6033.
  • the terminal device may further include: an STM card 604, configured to store the PTN code.
  • an STM card 604 configured to store the PTN code.
  • the establishing unit 6031 may include:
  • the first generating module 701 is configured to generate a fingerprint template according to the fingerprint information that is first collected by the collecting unit 601. For the specific implementation method, refer to step 301 shown in FIG. 3, and details are not described herein again.
  • the first setting module 702 is configured to set a PIN code according to the input of the user. For the specific implementation, refer to step 302 shown in FIG. 3, and details are not described herein again.
  • the first replacement module 703 is configured to save the PIN code set in the first setting module 702 with the original PIN code in the SIM card, or directly save the set PIN code in the user identification card as the SIM PIN code. For the specific implementation method, refer to step 303 shown in FIG. 3, and details are not described herein again.
  • the first establishing module 704 is configured to establish a correspondence between the fingerprint template generated by the first generating module 701 and the PIN code set by the first setting module 702. For the specific implementation, refer to step 304 shown in Figure 3, and details are not described herein.
  • the establishing unit 6031 may include:
  • the second generating module 801 is configured to generate a fingerprint template according to the fingerprint information collected by the collecting unit 601 for the first time. For the specific implementation method, refer to step 401 shown in FIG. 4, and details are not described herein again.
  • the second mapping module 802 is configured to map the fingerprint template generated by the second generation module 801 into a code. For the specific implementation method, refer to step 402 shown in FIG. 4, and details are not described herein again.
  • the second setting module 803 is configured to set a PIN code according to the input of the user and the code mapped by the second mapping module 802. For the specific implementation method, refer to step 403 shown in FIG. 4, where not Let me repeat.
  • the second replacement module 804 is configured to save the PIN code set in the second setting module 803 with the original PIN code in the SIM card, or directly save the set PIN code in the user identification card as the SIM PIN code.
  • step 404 shown in FIG. 4 refers to step 404 shown in FIG. 4, and details are not described herein again.
  • the second establishing module 805 is configured to establish a correspondence between the fingerprint template generated by the second generating module 801 and the PIN code set by the second setting module 803. For the specific implementation, refer to step 405 shown in Figure 4, and details are not described herein.
  • the second setting module 803 may be replaced with a third setting module;
  • a third setting module For the specific mapping, refer to the step 503 shown in FIG. 5, and the details are not described here.
  • the PIN code corresponding to the fingerprint template is extracted by the extracting unit, so that the user enables the PIN code to be enabled. Only need to input the fingerprint, which solves the problem in the prior art, the PIN code is enabled, the user needs to input the PIN code every time the user opens, the PIN code is easy to leak, the terminal device is turned on, the user forgets the power-on password, and the SIM card is locked. problem.
  • the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user activates the PIN code. Only need to input fingerprints, which reduces the probability of PIN code leakage, improves the security of SIM card unlocking, and is convenient to use, avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, and improves the SIM card unlocking. Availability.
  • the method and terminal device for managing user identity card rights provided by the embodiments of the present invention can be applied to various electronic products such as mobile phones and data cards including SIM cards.
  • the method for managing the rights of the user identification card provided by the embodiment of the present invention and the terminal device are exemplified by the PIN code.
  • the method and the terminal device for managing the rights of the user identification card provided by the embodiments of the present invention are obvious. It can also be used for PIN2 (personal identification number 2) code, PUK (PIN UnBlock, PIN unlock code) code and PUK2 (PIN2 UnBlock, PIN2 unlock code) Codes and other management. Since the PIN code is similar to the PIN2 code, PUK code and PUK2 code management, it will not be described here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Collating Specific Patterns (AREA)

Abstract

A rights management method and terminal device for a Subscriber Identity Module (SIM) are provided, which resolve the problem that methods for unlocking SIM in the prior art have low security and poor usability. The technical solution of the invention includes: collecting fingerprint information inputted by a user (101), comparing the inputted fingerprint information with a fingerprint template (102), when the inputted fingerprint information matches the fingerprint template, extracting the Personal Identification Number (PIN) corresponding to the fingerprint template according to the correspondence between the fingerprint template and the Personal Identification Number (103), and unlocking the SIM with the corresponding Personal Identification Number (104). The technical solution of the embodiment of the invention can be used in various electronic products with a SIM, such as a mobile phone, a data card, etc.

Description

用户识别卡权限管理的方法及终端设备 本申请要求于 2009年 11月 27日提交中国专利局、 申请号为 CN 200910226269. 0、 发明名称为 "用户识别卡权限管理的方法及终端设备"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及 巾用户识别卡权限管理的方法及终端设备。 背景技术 用户识别卡 (Subscriber Identity Module , SIM卡) 是一张内含大规模集成电路 的智能卡, 用来登记用户身份识别数据和信息。 SIM卡中存储有四类数据, 其中包括个 人识另 1J码 (Personal Identification Number, PIN码)。  User identification card authority management method and terminal device The application is submitted to the Chinese Patent Office on November 27, 2009, and the application number is CN 200910226269. 0, the invention name is "user identification card authority management method and terminal device" in China Priority of the patent application, the entire contents of which is incorporated herein by reference. TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method and a terminal device for managing user rights of a towel user identification card. BACKGROUND A Subscriber Identity Module (SIM) is a smart card containing a large-scale integrated circuit for registering user identification data and information. There are four types of data stored in the SIM card, including personal identification number (Personal Identification Number, PIN code).
现有技术中, SIM卡通过 PIN码加密, 所述 PIN码是 SIM卡的个人识别密码。 每张 SIM卡在未经用户修改前, 其原始 PIN码为 1234或 0000, 由运营商设置。 为了防止由 十终端设备丢失导致终端设备中的 SBi卡被盗用的情况发生, 用户可以启用 PIN码, 并 通过输入原始 PIN码重新设定 PIN码。启用 PIN码后, 具有 SIM卡的终端设备在每次开 机时需要用户输入开机密码, 即 PIN码, 只有密码输入正确, 所述终端设备才能进入正 常使用状态, 否则, 连续三次输入错误的开机密码, SIM卡将会被锁住, 从而降低了 SIM 被他人盗用的概率。  In the prior art, the SIM card is encrypted by a PIN code, which is a personal identification code of the SIM card. Before the SIM card is modified by the user, its original PIN code is 1234 or 0000, which is set by the operator. In order to prevent the SBi card in the terminal device from being stolen due to the loss of ten terminal devices, the user can enable the PIN code and reset the PIN code by inputting the original PIN code. After the PIN code is enabled, the terminal device with the SIM card needs to input the power-on password, that is, the PIN code, each time the device is turned on. Only when the password is input correctly, the terminal device can enter the normal use state. Otherwise, the wrong power-on password is entered three times in succession. The SIM card will be locked, which reduces the probability of the SIM being stolen by others.
在实现本发明的过程中, 发明人发现, 若开启 PIN码, 用户在每次开启使用带 SIM 卡的终端设备时都需要输入 PIN码来进行解锁, 容易导致 PIN码易于泄露。 所以, 现有 技术中的 SIM卡解锁方式安全性低, 可用性差。 发明内容  In the process of implementing the present invention, the inventor has found that if the PIN code is turned on, the user needs to input a PIN code to unlock each time the terminal device with the SIM card is turned on, which easily causes the PIN code to be easily leaked. Therefore, the SIM card unlocking method in the prior art has low security and poor usability. Summary of the invention
本发明实施例提供一种用户识别卡权限管理的方法及终端设备, 以解决现有技术中 SIM解锁方式安全性低、 可用性差的问题。  The embodiment of the invention provides a method for managing the rights of the user identification card and the terminal device, so as to solve the problem that the SIM unlocking method has low security and poor usability in the prior art.
为达到上述目的, 本发明实施例采用如下技术方案。  To achieve the above objective, the embodiment of the present invention adopts the following technical solutions.
一种用户识别卡权限管理的方法, 包括: 采集用户输入的指纹信息: 将输入的指纹 信息与指纹模板进行比对; 当输入的指纹信息与所述指纹模板相匹配时, 通过指纹模板 与个人识别码的对应关系提取与所述指纹模板对应的个人识别码;利用所述对应的个人 识别码对用广识别卡进行解锁。 A method for managing user rights of a card, comprising: collecting fingerprint information input by a user: comparing the input fingerprint information with a fingerprint template; and when the input fingerprint information matches the fingerprint template, adopting a fingerprint template The personal identification code corresponding to the fingerprint template is extracted from the correspondence relationship with the personal identification code; and the wide identification card is unlocked by using the corresponding personal identification code.
一种终端设备, 包括:  A terminal device, comprising:
采集单元, 用于采集用户输入的指紋信息;  The collecting unit is configured to collect fingerprint information input by the user;
存储单元, 用于存储指纹模板以及指纹模板与个人识别码的对应关系;  a storage unit, configured to store a fingerprint template and a correspondence between the fingerprint template and the personal identification code;
处理器,用于将所述采集单元采集的指纹信息与所述存储单元存储的指纹模板进行 比对; 当所述指纹信息与所述指纹模板相匹配时, 通过所述存储单元中存储的指纹模板 与个人识别码的对应关系提取与所述指纹模板对应的个人识别码;利用所述对应的个人 识别码对用户识别卡进行解锁。  a processor, configured to compare fingerprint information collected by the collection unit with a fingerprint template stored by the storage unit; and when the fingerprint information matches the fingerprint template, pass the fingerprint stored in the storage unit The correspondence between the template and the personal identification code extracts a personal identification code corresponding to the fingerprint template; and unlocks the user identification card by using the corresponding personal identification code.
本发明实施例提供的用户识别卡权限管理的方法及终端设备, 当输入的指紋信息与 所述指紋模板相匹配时, 通过指紋模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码,使得用户在启用 PIN码开机时只需要输入指紋即可,解决了现有技术中,启用 PIN 码, 用户在每次开启时都需要输入 PIN码使得 PIN码易于泄露、 终端设备开机繁琐、 用户 忘记开机密码导致 STM卡被锁的问题。  The method for managing the rights of the user identification card and the terminal device provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, extracting the PIN code corresponding to the fingerprint template by the correspondence between the fingerprint template and the PIN code Therefore, the user only needs to input a fingerprint when the PIN code is enabled. In the prior art, the PIN code is enabled, and the user needs to input the PIN code every time the PIN code is opened, so that the PIN code is easy to leak, and the terminal device is cumbersome to boot. Forgetting the power-on password causes the STM card to be locked.
因为本发明实施例提供的技术方案, 使得用户在启用 PIN码开机时只需要输入指纹 即可, 所以, 降低了 PIN码泄露的概率, 提高了 SIM卡解锁的安全性, 并且, 避免了用户 忘记 PIN码导致 SIM卡被锁的情况发生, 提高了 SIM卡解锁的可用性, 使用方便。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有 技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  Because the technical solution provided by the embodiment of the present invention enables the user to input the fingerprint only when the PIN code is enabled, the probability of the PIN code leakage is reduced, the security of the SIM card unlocking is improved, and the user is avoided. The PIN code causes the SIM card to be locked, which improves the usability of the SIM card unlocking and is convenient to use. BRIEF DESCRIPTION OF THE 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 embodiments or the description of the prior art will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1为本发明实施例提供的用户识别卡权限管理的方法的流程图;  1 is a flowchart of a method for managing rights of a user identification card according to an embodiment of the present invention;
图 2为本发明实施例提供的用户识别卡权限管理的方法的流程图;  2 is a flowchart of a method for managing rights of a user identification card according to an embodiment of the present invention;
图 3为图 2所示的发明实施例提供的用户识别卡权限管理的方法流程图中步骤 201的 流程图一;  3 is a flow chart 1 of step 201 in the flowchart of the method for managing the rights of the user identification card provided by the embodiment of the invention shown in FIG. 2;
图 4为图 2所示的发明实施例提供的用户识别卡权限管理的方法流程图中步骤 201的 流程图二; 图 5图 2所示的发明实施例提供的用户识别卡权限管理的方法流程图中步骤 201的流 程图三; 4 is a second flowchart of step 201 in the method for managing user identity card rights provided by the embodiment of the present invention shown in FIG. 2; FIG. 5 is a flowchart 3 of step 201 in the flowchart of the method for managing user identity card rights provided by the embodiment of the present invention;
图 6为本发明实施例提供的终端设备的结构示意图:  FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention:
图 7为图 6所示的发明实施例提供的终端设备中所述处理器的结构示意图; 图 8为图 7所示的发明实施例提供的终端设备中所述处理器中所述建立单元的结构 示意图一;  FIG. 7 is a schematic structural diagram of the processor in the terminal device according to the embodiment of the present invention shown in FIG. 6. FIG. 8 is a schematic diagram of the establishing unit in the processor in the terminal device provided by the embodiment of the invention shown in FIG. Schematic diagram of structure one;
图 9为图 7所示的发明实施例提供的终端设备中所述处理器中所述建立单元的结构 示意图二。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述, 显然, 所描述的实施例仅仅是木发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所 有其他实施例, 都属于本发明保护的范围。 为了解决现有技术中解决现有技术中 SIM解锁方式安全性低、 可用性差的问题, 本发明实施例提供一种用户识别卡权限管理的方法及终端设备。  FIG. 9 is a second schematic structural diagram of the establishing unit in the processor in the terminal device provided by the embodiment of the invention shown in FIG. 7. The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the invention, but not all of them. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. In order to solve the problem in the prior art that the security of the SIM unlocking method is low and the availability is poor, the embodiment of the invention provides a method for managing the rights of the user identification card and the terminal device.
如图 1所示, 本发明实施例提供的用户识别卡权限管理的方法, 包括: 步骤 101, 采集用户输入的指纹信息;  As shown in FIG. 1 , a method for managing rights of a user identification card according to an embodiment of the present invention includes: Step 101: Collect fingerprint information input by a user;
步骤 102, 将输入的指纹信息与指纹模板进行比对:  Step 102: Compare the input fingerprint information with the fingerprint template:
步骤 103, 当输入的指纹信息与所述指纹模板相匹配时,通过指纹模板与 PIN码的 对应关系提取与所述指纹模板对应的 PIN码;  Step 103: When the input fingerprint information matches the fingerprint template, extract a PIN code corresponding to the fingerprint template by using a correspondence between the fingerprint template and the PIN code;
步骤 104, 利用所述对应的 PIN码对 SIM卡进行解锁。  Step 104: Unlock the SIM card by using the corresponding PIN code.
所述步骤 104包括: 当所述对应的 PIN码与所述 SIM卡中保存的 PIN码一致时, SB1卡解锁成功。  The step 104 includes: when the corresponding PIN code is consistent with the PIN code saved in the SIM card, the SB1 card is successfully unlocked.
本发明实施例提供的用户识别卡权限管理的方法, 当输入的指紋信息与所述指纹 模板相匹配时, 通过指纹模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码, 使得用户在启用 PIN码开机时只需要输入指紋即可, 解决了现有技术中, 启用 PIN码, 用户在每次开启时都需要输入 PIN码使得 PIN码易于泄露、 终端设备开机繁琐、用户忘 记开机密码导致 SIM卡被锁的问题。本发明实施例提供的技术方案, 当输入的指纹信息 与所述指纹模板相匹配时,通过指纹模板与 PIN码的对应关系提取与所述指纹模板对应 的 PIN码, 使得用广在启用 PIN码开机时只需要输入指纹即可, 降低了 PIN码泄露的概 率, 提高了 SIM卡解锁的安全性, 且使用方便, 避免了用户忘记 PIN码导致 SIM卡被锁 的情况发生, 提高了 SIM卡解锁的可用性。 为了使本领域技术人员能够更清楚地理解本发明实施例提供的技术方案, 下面通 过具体的实施例, 对本发明实施例提供的指纹加密方法进行详细说明。 The method for managing the rights of the user identification card provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user When the PIN code is enabled, only the fingerprint is required to be input. In the prior art, the PIN code is enabled, and the user needs to input the PIN code every time to open, so that the PIN code is easy to leak, the terminal device is turned on, and the user forgets the power-on password. The problem that caused the SIM card to be locked. The technical solution provided by the embodiment of the present invention, when inputting fingerprint information When the fingerprint template is matched, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that only the fingerprint can be input when the PIN code is enabled, and the PIN code leakage is reduced. The probability of the SIM card is improved, and the use is convenient, and the situation that the user forgets the PIN code to cause the SIM card to be locked is avoided, and the availability of the SIM card unlocking is improved. In order to enable a person skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present invention, the fingerprint encryption method provided by the embodiments of the present invention will be described in detail below through specific embodiments.
如图 2所示, 本发明又一个实施例提供的用户识别卡权限管理的方法, 包括: 步骤 201, 预先建立指纹模板与 PIN码的对应关系;  As shown in FIG. 2, the method for managing user identity card rights according to another embodiment of the present invention includes: Step 201: Pre-establish a correspondence between a fingerprint template and a PIN code;
步骤 202, 采集用户输入的指纹信息;  Step 202: Collect fingerprint information input by the user.
步骤 203, 将输入的指紋信息与指紋模板进行比对;  Step 203: Compare the input fingerprint information with the fingerprint template.
步骤 204, 当输入的指纹信息与所述指紋模板相匹配时,通过指紋模板与 PIN码的 对应关系提取与所述指纹模板对应的 PIN码;  Step 204: When the input fingerprint information matches the fingerprint template, extract a PIN code corresponding to the fingerprint template by using a correspondence between the fingerprint template and the PIN code;
步骤 205, 利用所述对应的 PTN码对 STM卡进行解锁。  Step 205: Unlock the STM card by using the corresponding PTN code.
在步骤 205中, 当所述对应的 PIN码与所述 SIM卡中保存的 PIN码一致时, SIM 卡解锁成功。  In step 205, when the corresponding PIN code is consistent with the PIN code stored in the SIM card, the SIM card is successfully unlocked.
另外, 所述步骤 202之前还可以包括: 步骤 206, 提示输入 PIN码。其中, 在弹出 输入 PIN码的界面, 用以提示输入 PIN码吋, 用户可以直接输入指纹, 也可以输入用户 设置的 PIN码。 当在步骤 206中用户输入指紋时, 进入步骤 202; 当在步骤 206中用户 输入所述设置的 PIN码时, 用户识别卡解锁成功, 完成对 SIM卡进行解锁。  In addition, the step 202 may further include: Step 206, prompting to input a PIN code. In the pop-up PIN code input interface, to prompt for the PIN code, the user can directly input the fingerprint, or input the PIN code set by the user. When the user inputs the fingerprint in step 206, the process proceeds to step 202. When the user inputs the set PIN code in step 206, the user identification card is successfully unlocked, and the SIM card is unlocked.
其中, 如图 3所示, 所述步骤 201可以具体包括步骤 301至步骤 305:  As shown in FIG. 3, the step 201 may specifically include steps 301 to 305:
步骤 301, 根据首次采集的指纹信息, 生成指纹模板;  Step 301: Generate a fingerprint template according to the fingerprint information collected for the first time.
所述步骤 301之前还可以包括: 步骤 305, 输入原有 PIN码; 其中, 所述原有 PIN 码, 包括原始 PIN码, 运营商设置的原始密码; 或开机 PIN码, 用户上一次设置的 PIN 码。在用户未修改 PIN码的情况下,原有 PIN码为运营商设置的原始 PIN码,一般为 1234 或 0000; 这里, 以 PIN码为四位为例进行说明, 在实际使用中, 可以根据需要设置 PIN 码为一位或者多位, 而且 PIN码也不限于数字, 也可以是字母或其他符号等等。 此时, 用户在弹出的提示输入 PIN码的界面中输入原始 PIN码, 进入步骤 301。 在用户已修改 PIN码的情况下, 用户在弹出的提示输入 PIN码的界面中输入开机 PIN码, 即用户上一 次设置的 PIN码, 进入步骤 301。 步骤 302, 根据用户的输入, 设置新的 PIN码; The step 301 may further include: Step 305: input an original PIN code, where the original PIN code includes an original PIN code, an original password set by an operator; or a boot PIN code, and a PIN set by the user last time. code. In the case that the user does not modify the PIN code, the original PIN code is the original PIN code set by the operator, which is generally 1234 or 0000. Here, the PIN code is taken as an example for example. In actual use, it can be used as needed. Set the PIN code to one or more digits, and the PIN code is not limited to numbers, but also letters or other symbols. At this time, the user inputs the original PIN code in the pop-up interface for prompting to input the PIN code, and proceeds to step 301. In the case that the user has modified the PIN code, the user inputs the power-on PIN code, that is, the PIN code set by the user last time, in the pop-up prompting to input the PIN code, and proceeds to step 301. Step 302: Set a new PIN code according to a user input;
在步骤 302中, 根据用广输入的四位数设置新的 PIN码, 如, 用广输入 5746, 则 数字 " 5746 "即为设置的新的 PIN码。 其中, 需要说明的是, 设置的新的 PIN码和 SIM 卡中原有的 PIN码的位数可以相同或者不同。  In step 302, a new PIN code is set according to the four digits input by the wide input. For example, if the wide input 5746 is used, the number "5746" is the set new PIN code. It should be noted that the set new PIN code and the original PIN code in the SIM card may have the same or different digits.
步骤 303, 将所述新的 PIN码替换原有 PIN码保存于 SIM卡中;  Step 303: The new PIN code is replaced with the original PIN code and saved in the SIM card.
在步骤 303中, 将所述步骤 302设置的新的 PIN码, 如 " 5746 " , 替换原有 PIN 码, 如 " 1234" , 保存于 SIM卡中, 即所述 SIM卡中原保存的原有 PIN码为运营商设置 的默认 PIN码 " 1234" , 经过所述步骤 303, 所述 SIM卡中保存所述步骤 302设置的新 的 PIN码 "5746 " 。  In step 303, the new PIN code set in step 302, such as "5746", is replaced with the original PIN code, such as "1234", and stored in the SIM card, that is, the original PIN originally saved in the SIM card. The code is the default PIN code "1234" set by the operator. After the step 303, the new PIN code "5746" set in the step 302 is saved in the SIM card.
另外, 在步骤 303中, 当 SIM中原来没有默认 PIN码时, 也可以直接将所述设置 的新的 PIN码保存于用户识别卡中作为 SIM的 PIN码, 而不进行替换的操作。此时, 由 于 SIM卡中没有默认 PIN码,因此,直接使用用户输入的 PIN码作为设置的新的 PIN码。  In addition, in step 303, when there is no default PIN code in the SIM, the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code input by the user is directly used as the set new PIN code.
步骤 304, 建立所述指纹模板与所述新的 PIN码的对应关系。  Step 304: Establish a correspondence between the fingerprint template and the new PIN code.
在本实施例中,通过步骤 301至步骤 305,建立了指纹模板与新的 PTN码的对应关 系, 使得用户在启用新的 PIN码开机时只需要输入指纹即可。  In this embodiment, the correspondence between the fingerprint template and the new PTN code is established through steps 301 to 305, so that the user only needs to input the fingerprint when the new PIN code is enabled.
本发明实施例提供的用户识别卡权限管理的方法, 当输入的指纹信息与所述指纹 模板相匹配时, 通过指纹模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码, 使得用户在启用 PIN码开机时只需要输入指紋即可, 降低了 PIN码泄露的概率, 提高了 SIM卡解锁的安全性,且使用方便,避免了用户忘记 PIN码导致 SIM卡被锁的情况发生, 提高了 SIM卡解锁的可用性。 为了进一步降低 PIN码泄露的概率, 本发明另一实施例提供了一种用户识别卡权 限管理的方法,本实施例的方法与前一实施例的不同在于: 如图 4所示, 所述步骤 201, 即预先建立所述指纹模板与 PIN码的对应关系, 可以具体包括步骤 401至步骤 405。  The method for managing the rights of the user identification card provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user When the PIN code is enabled, only the fingerprint is required to be input, which reduces the probability of PIN code leakage, improves the security of the SIM card unlocking, and is convenient to use, thereby avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, thereby improving The availability of SIM card unlocking. In order to further reduce the probability of PIN code leakage, another embodiment of the present invention provides a method for managing user rights of a user identification card. The method of this embodiment differs from the previous embodiment in that: 201, that is, the correspondence between the fingerprint template and the PIN code is established in advance, and specifically includes steps 401 to 405.
步骤 401,根据首次采集的指纹信息, 生成指纹模板; 步骤 401具体的实现方法与 图 3所示的步骤 301相同, 此处不再赘述。  Step 401: Generate a fingerprint template according to the fingerprint information collected for the first time. The specific implementation method of the step 401 is the same as the step 301 shown in FIG. 3, and details are not described herein again.
步骤 402, 将所述指纹模板映射为编码;  Step 402: Map the fingerprint template to an encoding.
步骤 403, 根据用户的输入和所述编码, 设置新的 PIN码;  Step 403, setting a new PIN code according to the user input and the encoding;
在本实施例中, 所述设置新的 PIN码可通过随机提取所述编码中的四个随机数与 用户输入的四位数进行相加, 取后四位为 PIN码。 如, 从所述编码中随机提取数字, 得 到 "3521 ",而用户输入的四位数为" 9654",则相加得出" 13175 ",则 PIN码为" 3175 "。 值得说明的是, 不同的运营商可以设置不同的算法来实现 PIN码的设置, 并不仅限于上 述一种, 此处不一一赘述。 In this embodiment, the setting of the new PIN code may be performed by randomly extracting four random numbers in the code and adding four digits input by the user, and taking the last four digits as a PIN code. For example, randomly extracting numbers from the code, Go to "3521" and the four digits entered by the user are "9654", then add "13175" and the PIN code is "3175". It is worth noting that different operators can set different algorithms to implement the setting of the PIN code, and are not limited to the above ones, and are not described here.
步骤 404,将所述新的 PIN码替换原有 PIN码保存于 SIM卡中;步骤 404具体的实 现方法与图 3所示的步骤 303相同, 此处不再赘述。  Step 404: The new PIN code is replaced with the original PIN code and saved in the SIM card. The specific implementation of the step 404 is the same as the step 303 shown in FIG. 3, and details are not described herein again.
另外, 在步骤 404中, 当 SIM中原来没有默认 PIN码时, 也可以直接将设置的所 述新的 PIN码保存于用户识别卡中作为 SIM的 PIN码, 而不进行替换的操作。此时, 由 于 SIM卡中没有默认 PIN码, 因此, 直接使用用户输入的 PIN码和所述编码通过一定算 法生成的 PIN码作为设置的新的 PIN码。  In addition, in step 404, when there is no default PIN code in the SIM, the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM, without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code input by the user and the PIN code generated by the encoding by the certain algorithm are directly used as the set new PIN code.
步骤 405,建立所述指纹模板与所述新的 PIN码的对应关系。步骤 405具体的实现 方法与图 3所示的步骤 304相同, 此处不再赘述。  Step 405: Establish a correspondence between the fingerprint template and the new PIN code. The specific implementation of the step 405 is the same as the step 304 shown in FIG. 3, and details are not described herein again.
在本实施例中, 所述根据用户的输入和所述编码, 设置新的 PIN码, 设置完的新 的 PIN码是用户不知道的, 在上述步骤 206中, 虽然提示输入 PIN码, 在弹出输入 PIN 码的界面, 用以提示输入 PTN码时, 用户因为不知 PTN码而无法直接 PTN码对 STM卡进 行解锁, 只有通过输入指纹的方式, 输入指纹, 进入上述步骤 202。 因此, 减少了用户 输入 PIN码的次数, 进一步降低 PIN码泄露的概率。  In this embodiment, according to the input of the user and the encoding, a new PIN code is set, and the set new PIN code is not known by the user. In the above step 206, although the PIN code is prompted, the pop-up is popped up. When the PIN code is input to prompt the input of the PTN code, the user cannot unlock the STM card by directly using the PTN code because the PTN code is unknown. Only by inputting the fingerprint, the fingerprint is input, and the above step 202 is entered. Therefore, the number of times the user inputs the PIN code is reduced, and the probability of PIN code leakage is further reduced.
本发明实施例提供的用户识别卡权限管理的方法, 当输入的指纹信息与所述指纹 模板相匹配吋, 通过指纹模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码, 使得用户在启用 PIN码开机时只需要输入指紋即可, 降低了 PIN码泄露的概率, 提高了 SIM卡解锁的安全性,且使用方便,避免了用户忘记 PIN码导致 SIM卡被锁的情况发生, 提高了 SIM卡解锁的可用性。 为了在进一步降低 PIN码泄露的概率的同时简化所述预先建立所述指紋模板与 PIN码的对应关系的步骤, 本发明再一实施例提供了一种用户识别卡权限管理的方法, 本实施例的方法与之前实施例的不同在于: 如图 5所示, 所述步骤 201 , 即预先建立所 述指纹模板与 PIN码的对应关系, 可以具体包括步骤 501至步骤 505。  The method for managing the rights of the user identification card provided by the embodiment of the present invention, when the input fingerprint information is matched with the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user When the PIN code is enabled, only the fingerprint is required to be input, which reduces the probability of PIN code leakage, improves the security of the SIM card unlocking, and is convenient to use, thereby avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, thereby improving The availability of SIM card unlocking. In order to further reduce the probability of the PIN code leakage, the step of pre-establishing the correspondence between the fingerprint template and the PIN code is further provided. The embodiment of the present invention provides a method for managing the rights of the user identification card. The method is different from the previous embodiment in that, as shown in FIG. 5, the step 201, that is, the correspondence between the fingerprint template and the PIN code is established in advance, and may specifically include steps 501 to 505.
步骤 501,根据首次采集的指纹信息, 生成指纹模板; 步骤 501具体的实现方法与 图 3所示的步骤 301相同, 此处不再赘述。  Step 501: Generate a fingerprint template according to the fingerprint information collected for the first time. The specific implementation method of the step 501 is the same as the step 301 shown in FIG. 3, and details are not described herein again.
步骤 502,将所述指紋模板映射为编码;步骤 502具体的实现方法与图 4所示的步 骤 402相同, 此处不再赘述。 步骤 503, 根据所述编码, 设置新的 PIN码; In the step 502, the fingerprint template is mapped to the code. The specific implementation method of the step 502 is the same as the step 402 shown in FIG. 4, and details are not described herein again. Step 503: Set a new PIN code according to the encoding.
在本实施例中, 所述根据所述编码, 设置个人识别码, 包括: 所述新的 PIN码是 所述编码的部分或全部。当所述步骤 502中所述指紋模板映射得到的编码为 4位数编码 时, 取所述编码的全部作为新的 PIN码; 当所述编码位数多于 4位时, 随机或者按照一 定的规则(例如, 截取后四位、 前四位、 连续四位等等)提取所述编码中的 4位数作为 新的 PIN码。 不需要用户的输入, 简化了 PIN码设置的步骤。  In this embodiment, the setting the personal identification code according to the encoding includes: the new PIN code is part or all of the encoding. When the code obtained by the fingerprint template mapping in the step 502 is a 4-digit code, all the codes are taken as a new PIN code; when the number of coded bits is more than 4 bits, random or according to a certain Rules (eg, truncating the last four digits, the first four digits, four consecutive digits, etc.) extract the four digits in the encoding as the new PIN code. The user's input is not required, which simplifies the steps of setting the PIN code.
步骤 504,将所述新的 PIN码替换原有 PIN码保存于 SIM卡中;步骤 504具体的实 现方法与图 3所示的步骤 303相同, 此处不再赘述。 另外, 在步骤 504中, 当 SIM中原 来没有默认 PIN码时,也可以直接将设置的所述新的 PIN码保存于用户识别卡中作为 SIM 的 PIN码, 而不进行替换的操作。 此时, 由于 SIM卡中没有默认 PIN码, 因此, 直接使 用所述编码通过一定算法生成的 PIN码作为设置的新的 PIN码。  Step 504: The new PIN code is replaced with the original PIN code and stored in the SIM card. The specific implementation of the step 504 is the same as the step 303 shown in FIG. 3, and details are not described herein again. In addition, in step 504, when there is no default PIN code in the SIM, the set new PIN code may be directly saved in the user identification card as the PIN code of the SIM without performing the replacement operation. At this time, since there is no default PIN code in the SIM card, the PIN code generated by the algorithm by the encoding is directly used as the set new PIN code.
步骤 505,建立所述指纹模板与所述新的 PIN码的对应关系。步骤 505具体的实现 方法与图 3所示的步骤 304相同, 此处不再赘述。  Step 505: Establish a correspondence between the fingerprint template and the new PIN code. The specific implementation of the step 505 is the same as the step 304 shown in FIG. 3, and details are not described herein again.
在本实施例中, 所述根据用户的输入和所述编码, 设置 PTN码, 设置完的 PTN码 是用户不知道的。 在上述步骤 206中, 在弹出输入 PIN码的界面, 用以提示输入 PIN码 时, 用户因为不知 PIN码而无法直接 PIN码对 S頂卡进行解锁, 只有通过输入指纹的方 式, 输入指纹, 进入上述步骤 202。 因此, 减少了用户输入 PIN码的次数, 进一步降低 PIN码泄露的概率。  In this embodiment, the PTN code is set according to the input of the user and the encoding, and the set PTN code is not known by the user. In the above step 206, when the interface for inputting the PIN code is popped up to prompt for the PIN code, the user cannot unlock the S top card by directly PIN code because the PIN code is unknown, and only by inputting the fingerprint, inputting the fingerprint and entering Step 202 above. Therefore, the number of times the user inputs the PIN code is reduced, and the probability of PIN code leakage is further reduced.
本发明实施例提供的用户识别卡权限管理的方法, 当输入的指纹信息与所述指紋 模板相匹配时, 通过指纹模板与 PIN码的对应关系提取与所述指紋模板对应的 PIN码, 使得用户在启用 PIN码开机时只需要输入指紋即可, 降低了 PIN码泄露的概率, 提高了 SIM卡解锁的安全性,且使用方便,避免了用户忘记 PIN码导致 SIM卡被锁的情况发生, 提高了 SIM卡解锁的可用性。 如图 6所示, 本发明实施例提供的终端设备, 包括:  The method for managing the rights of the user identification card provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user When the PIN code is enabled, only the fingerprint is required to be input, which reduces the probability of PIN code leakage, improves the security of the SIM card unlocking, and is convenient to use, thereby avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, thereby improving The availability of SIM card unlocking. As shown in FIG. 6, the terminal device provided by the embodiment of the present invention includes:
采集单元 601, 用于采集用户输入的指纹信息;  The collecting unit 601 is configured to collect fingerprint information input by the user;
存储单元 602, 用于存储指纹模板以及指纹模板与 PIN码的对应关系; 处理器 603,用于将所述采集单元 601采集的指纹信息与所述存储单元 602存储的 指紋模板进行比对; 当所述指紋信息与所述指纹模板相匹配时, 通过所述存储单元 602 中存储的指纹模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码;利用所述对 应的 PIN码对 SIM卡进行解锁。 The storage unit 602 is configured to store a fingerprint template and a correspondence between the fingerprint template and the PIN code. The processor 603 is configured to compare the fingerprint information collected by the collection unit 601 with the fingerprint template stored by the storage unit 602. When the fingerprint information is matched with the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code stored in the storage unit 602; The PIN code should be used to unlock the SIM card.
在本实施例中, 所述处理器 603, 如图 7所示, 包括:  In this embodiment, the processor 603, as shown in FIG. 7, includes:
建立单元 6031,用于建立所述存储单元 602中所述指紋模板与 PIN码的对应关系。 其具体的实现方法可以参见如图 2所示的步骤 201所述, 此处不再赘述。  The establishing unit 6031 is configured to establish a correspondence between the fingerprint template and the PIN code in the storage unit 602. For the specific implementation, refer to step 201 shown in Figure 2, and details are not described herein.
对比单元 6032, 用于将所述采集单元 601采集的指纹信息与所述存储单元 602存 储的指纹模板进行比对; 其具体的实现方法可以参见如图 2所示的步骤 203所述, 此处 不再赘述。  The comparison unit 6032 is configured to compare the fingerprint information collected by the collection unit 601 with the fingerprint template stored by the storage unit 602. For the specific implementation method, refer to step 203 shown in FIG. 2, where No longer.
提取单元 6033,用于当所述对比单元 6032中对比的所述指纹信息与所述指纹模板 相匹配时,通过所述存储单元 602中存储的指纹模板与 PIN码的对应关系提取与所述指 纹模板对应的 PIN码; 其具体的实现方法可以参见如图 2所示的步骤 204所述, 此处不 再赘述。  The extracting unit 6033 is configured to: when the fingerprint information that is compared in the comparing unit 6032 matches the fingerprint template, extract the fingerprint with the corresponding relationship between the fingerprint template and the PIN code stored in the storage unit 602 For the specific implementation of the PIN code, refer to step 204 shown in Figure 2, and details are not described herein.
解锁单元 6034,用于利用所述提取单元 6033中提取的对应的 PIN码对 SIM卡进行 解锁。 其具体的实现方法可以参见如图 2所示的步骤 205所述, 此处不再赘述。  The unlocking unit 6034 is configured to unlock the SIM card by using the corresponding PIN code extracted by the extracting unit 6033. For the specific implementation, refer to step 205 shown in Figure 2, and details are not described herein.
可选的, 终端设备还可以包括: STM卡 604, 用于存储 PTN码。 当处理器 603输入 的 PIN码和 SIM卡自身存储的 PIN码进行对比后, 两者一致时则进行 SIM解锁。  Optionally, the terminal device may further include: an STM card 604, configured to store the PTN code. When the PIN code input by the processor 603 is compared with the PIN code stored by the SIM card itself, the SIM is unlocked when the two are consistent.
其中, 所述建立单元 6031 , 如图 8所示, 可以包括:  The establishing unit 6031, as shown in FIG. 8, may include:
第一生成模块 701,用于根据所述采集单元 601首次采集的指纹信息,生成指纹模 板; 其具体的实现方法可以参见如图 3所示的步骤 301所述, 此处不再赘述。  The first generating module 701 is configured to generate a fingerprint template according to the fingerprint information that is first collected by the collecting unit 601. For the specific implementation method, refer to step 301 shown in FIG. 3, and details are not described herein again.
第一设置模块 702, 用于根据用户的输入, 设置 PIN码; 其具体的实现方法可以参 见如图 3所示的步骤 302所述, 此处不再赘述。  The first setting module 702 is configured to set a PIN code according to the input of the user. For the specific implementation, refer to step 302 shown in FIG. 3, and details are not described herein again.
第一替换模块 703, 用于将所述第一设置模块 702中设置的 PIN码替换原有 PIN 码保存于 SIM卡中, 或者直接将设置的 PIN码保存于用户识别卡中作为 SIM的 PIN码; 其具体的实现方法可以参见如图 3所示的步骤 303所述, 此处不再赘述。  The first replacement module 703 is configured to save the PIN code set in the first setting module 702 with the original PIN code in the SIM card, or directly save the set PIN code in the user identification card as the SIM PIN code. For the specific implementation method, refer to step 303 shown in FIG. 3, and details are not described herein again.
第一建立模块 704,用于建立所述第一生成模块 701生成的指纹模板与所述第一设 置模块 702设置的 PIN码的对应关系。其具体的实现方法可以参见如图 3所示的步骤 304 所述, 此处不再赘述。  The first establishing module 704 is configured to establish a correspondence between the fingerprint template generated by the first generating module 701 and the PIN code set by the first setting module 702. For the specific implementation, refer to step 304 shown in Figure 3, and details are not described herein.
为了进一步降低 PIN码泄露的概率, 本发明实施例提供的终端设备, 如图 9所示, 所述建立单元 6031, 可以包括:  In order to further reduce the probability of PIN code leakage, the terminal device provided by the embodiment of the present invention, as shown in FIG. 9, the establishing unit 6031 may include:
第二生成模块 801,用于根据所述采集单元 601首次采集的指紋信息,生成指紋模 板; 其具体的实现方法可以参见如图 4所示的步骤 401所述, 此处不再赘述。 第二映射模块 802,用于将所述第二生成模块 801生成的指纹模板映射为编码;其 具体的实现方法可以参见如图 4所示的步骤 402所述, 此处不再赘述。 The second generating module 801 is configured to generate a fingerprint template according to the fingerprint information collected by the collecting unit 601 for the first time. For the specific implementation method, refer to step 401 shown in FIG. 4, and details are not described herein again. The second mapping module 802 is configured to map the fingerprint template generated by the second generation module 801 into a code. For the specific implementation method, refer to step 402 shown in FIG. 4, and details are not described herein again.
第二设置模块 803, 用于根据用户的输入和所述第二映射模块 802映射得到的编 码, 设置 PIN码; 其具体的实现方法可以参见如图 4所示的步骤 403所述, 此处不再赘 述。  The second setting module 803 is configured to set a PIN code according to the input of the user and the code mapped by the second mapping module 802. For the specific implementation method, refer to step 403 shown in FIG. 4, where not Let me repeat.
第二替换模块 804, 用于将所述第二设置模块 803中设置的 PIN码替换原有 PIN 码保存于 SIM卡中, 或者直接将设置的 PIN码保存于用户识别卡中作为 SIM的 PIN码; 其具体的实现方法可以参见如图 4所示的步骤 404所述, 此处不再赘述。  The second replacement module 804 is configured to save the PIN code set in the second setting module 803 with the original PIN code in the SIM card, or directly save the set PIN code in the user identification card as the SIM PIN code. For the specific implementation method, refer to step 404 shown in FIG. 4, and details are not described herein again.
第二建立模块 805,用于建立所述第二生成模块 801生成的指纹模板与所述第二设 置模块 803设置的 PIN码的对应关系。其具体的实现方法可以参见如图 4所示的步骤 405 所述, 此处不再赘述。  The second establishing module 805 is configured to establish a correspondence between the fingerprint template generated by the second generating module 801 and the PIN code set by the second setting module 803. For the specific implementation, refer to step 405 shown in Figure 4, and details are not described herein.
为了在进一步降低 PIN码泄露的概率的同时简化所述第二设置模块 803的结构, 所述第二设置模块 803可以替换为第三设置模块; 所述第三设置模块, 用于根据所述第 二映射模块 802映射得到的编码, 设置 PTN码; 其具体的实现方法可以参见如图 5所示 的步骤 503所述, 此处不再赘述。  In order to simplify the structure of the second setting module 803 while further reducing the probability of PIN code leakage, the second setting module 803 may be replaced with a third setting module; For the specific mapping, refer to the step 503 shown in FIG. 5, and the details are not described here.
本发明实施例提供的终端设备, 当对比单元中对比的输入的指纹信息与所述指纹 模板相匹配时, 通过提取单元提取与所述指纹模板对应的 PIN码, 使得用户在启用 PIN 码开机吋只需要输入指纹即可, 解决了现有技术中, 启用 PIN码, 用户在每次开启吋都 需要输入 PIN码使得 PIN码易于泄露、 终端设备开机繁琐、 用户忘记开机密码导致 SIM 卡被锁的问题。本发明实施例提供的技术方案, 当输入的指紋信息与所述指紋模板相匹 配时, 通过指纹模板与 PIN码的对应关系提取与所述指纹模板对应的 PIN码, 使得用户 在启用 PIN码开机时只需要输入指纹即可, 降低了 PIN码泄露的概率, 提高了 SIM卡解 锁的安全性, 且使用方便, 避免了用户忘记 PIN码导致 SIM卡被锁的情况发生, 提高了 SIM卡解锁的可用性。 本发明实施例提供的用户识别卡权限管理的方法及终端设备,能够应用在含有 SIM 卡的手机、数据卡等各种电子产品中。 另外, 本发明实施例提供的用户识别卡权限管理 的方法及终端设备示例性的以 PIN码为代表进行了说明, 显而易见的是, 本发明实施例 提供的用户识别卡权限管理的方法及终端设备还可以用于对 PIN2 (个人身份号码 2, personal identification number 2 ) 码、 PUK (PIN UnBlock, PIN解锁码)码和 PUK2 (PIN2 UnBlock, PIN2解锁码) 码等其他进行管理, 由于 PIN码与 PIN2码、 PUK码和 PUK2码的管理方式类似, 在此不再赘述。 In the terminal device provided by the embodiment of the present invention, when the fingerprint information of the comparison input in the comparison unit matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the extracting unit, so that the user enables the PIN code to be enabled. Only need to input the fingerprint, which solves the problem in the prior art, the PIN code is enabled, the user needs to input the PIN code every time the user opens, the PIN code is easy to leak, the terminal device is turned on, the user forgets the power-on password, and the SIM card is locked. problem. According to the technical solution provided by the embodiment of the present invention, when the input fingerprint information matches the fingerprint template, the PIN code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the PIN code, so that the user activates the PIN code. Only need to input fingerprints, which reduces the probability of PIN code leakage, improves the security of SIM card unlocking, and is convenient to use, avoiding the situation that the user forgets the PIN code and causes the SIM card to be locked, and improves the SIM card unlocking. Availability. The method and terminal device for managing user identity card rights provided by the embodiments of the present invention can be applied to various electronic products such as mobile phones and data cards including SIM cards. In addition, the method for managing the rights of the user identification card provided by the embodiment of the present invention and the terminal device are exemplified by the PIN code. The method and the terminal device for managing the rights of the user identification card provided by the embodiments of the present invention are obvious. It can also be used for PIN2 (personal identification number 2) code, PUK (PIN UnBlock, PIN unlock code) code and PUK2 (PIN2 UnBlock, PIN2 unlock code) Codes and other management. Since the PIN code is similar to the PIN2 code, PUK code and PUK2 code management, it will not be described here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通 过程序来指令相关的硬件完成, 所述的程序可以存储于一计算机可读存储介质中, 如 ROM/RAM. 磁碟或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as ROM/RAM. Disc or CD.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任 何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都 应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保护范 围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权利要求 Rights request
1、 一种用户识别卡权限管理的方法, 其特征在于, 包括: A method for managing rights of a user identification card, comprising:
采集用户输入的指纹信息;  Collecting fingerprint information input by the user;
将输入的指紋信息与指紋模板进行比对;  Comparing the input fingerprint information with the fingerprint template;
当输入的指纹信息与所述指纹模板相匹配时,通过指纹模板与个人识别码的对应关 系提取与所述指纹模板对应的个人识别码;  When the input fingerprint information matches the fingerprint template, the personal identification code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the personal identification code;
利用所述对应的个人识别码对用户识别卡进行解锁。  The user identification card is unlocked using the corresponding personal identification number.
2、 根据权利要求 1所述的方法, 其特征在于, 所述利用所述对应的个人识别码对 用户识别卡进行解锁, 包括:  2. The method according to claim 1, wherein the unlocking the user identification card by using the corresponding personal identification code comprises:
当所述对应的个人识别码与所述用户识别卡中保存的个人识别码一致时,成功解锁 所述用户识别卡。  When the corresponding personal identification code coincides with the personal identification code stored in the user identification card, the user identification card is successfully unlocked.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法, 还包括: 预先建立所述指紋模板与个人识别码的对应关系。  The method according to claim 1 or 2, wherein the method further comprises: pre-establishing a correspondence between the fingerprint template and a personal identification code.
4、 根据权利要求 3所述的方法, 其特征在于, 所述预先建立所述指纹模板与个人 识别码的对应关系, 包括:  The method according to claim 3, wherein the pre-establishing the correspondence between the fingerprint template and the personal identification code comprises:
根据采集的指纹信息, 生成指紋模板;  Generating a fingerprint template according to the collected fingerprint information;
根据用户的输入, 设置个人识别码;  Set a personal identification number based on the user's input;
将所述个人识别码替换原有个人识别码保存于用户识别卡中,或者直接将所述个人 识别码保存于用户识别卡中;  Replacing the personal identification code with the original personal identification code in the user identification card, or directly storing the personal identification code in the user identification card;
建立所述指纹模板与所述个人识别码的对应关系。  Establishing a correspondence between the fingerprint template and the personal identification code.
5、 根据权利要求 3所述的方法, 其特征在于, 所述预先建立所述指紋模板与个人 识别码的对应关系, 包括:  The method according to claim 3, wherein the pre-establishing the correspondence between the fingerprint template and the personal identification code comprises:
根据采集的指纹信息, 生成指纹模板;  Generating a fingerprint template according to the collected fingerprint information;
将所述指纹模板映射为编码;  Mapping the fingerprint template to an encoding;
根据用户的输入和所述编码, 设置个人识别码;  Setting a personal identification code according to the user's input and the encoding;
将所述个人识别码替换原有个人识别码保存于用户识别卡中,或者直接将所述个人 识别码保存于用户识别卡中;  Replacing the personal identification code with the original personal identification code in the user identification card, or directly storing the personal identification code in the user identification card;
建立所述指紋模板与所述个人识别码的对应关系。  Establishing a correspondence between the fingerprint template and the personal identification code.
6、 根据权利要求 3所述的方法, 其特征在丁 ·, 所述方法还包括:  6. The method of claim 3, wherein the method further comprises:
根据采集的指纹信息, 生成指紋模板;  Generating a fingerprint template according to the collected fingerprint information;
将所述指纹模板映射为编码; 根据所述编码, 设置个人识别码; Mapping the fingerprint template to an encoding; Setting a personal identification code according to the encoding;
将所述个人识别码替换原有个人识别码保存于用户识别卡中,或者直接将所述个人 识别码保存于用户识别卡中;  Replacing the personal identification code with the original personal identification code in the user identification card, or directly storing the personal identification code in the user identification card;
建立所述指纹模板与所述个人识别码的对应关系。  Establishing a correspondence between the fingerprint template and the personal identification code.
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述编码, 设置个人识别 码, 包括:  The method according to claim 6, wherein the setting the personal identification code according to the encoding comprises:
将所述编码的部分或全部作为所述个人识别码。  Part or all of the code is used as the personal identification number.
8、 一种终端设备, 其特征在于, 包括:  8. A terminal device, comprising:
采集单元, 用于采集用户输入的指紋信息;  The collecting unit is configured to collect fingerprint information input by the user;
存储单元, 用于存储指纹模板以及指纹模板与个人识别码的对应关系; 处理器,用于将所述采集单元采集的指纹信息与所述存储单元存储的指纹模板进行 比对; 当所述指纹信息与所述指纹模板相匹配时, 通过所述存储单元中存储的指紋模板 ¾个人识别码的对应关系提取 所述指纹模板对应的个人识别码;利用所述对应的个人 识别码对用户识别卡进行解锁。  a storage unit, configured to store a fingerprint template and a correspondence between the fingerprint template and the personal identification code; the processor is configured to compare the fingerprint information collected by the collection unit with the fingerprint template stored by the storage unit; When the information is matched with the fingerprint template, the personal identification code corresponding to the fingerprint template is extracted by the correspondence between the fingerprint template and the personal identification code stored in the storage unit; and the corresponding personal identification code is used to identify the user identification card. Unlock it.
9、 根据权利要求 8所述的终端设备, 其特征在于, 所述处理器, 包括: 对比单元,用于将所述采集单元采集的指纹信息与所述存储模块存储的指纹模板进 行比对;  The terminal device according to claim 8, wherein the processor comprises: a comparing unit, configured to compare fingerprint information collected by the collecting unit with a fingerprint template stored by the storage module;
提取单元, 用于当所述对比单元中对比的所述指紋信息与所述指紋模板相匹配时, 通过所述存储模块中存储的指纹模板与个人识别码的对应关系提取与所述指纹模板对 应的个人识别码;  And an extracting unit, configured to: when the fingerprint information that is compared in the comparing unit matches the fingerprint template, extract corresponding to the fingerprint template by using a correspondence between a fingerprint template and a personal identification code stored in the storage module Personal identification number;
解锁单元,用于利用所述提取单元中提取的对应的个人识别码对用户识别卡进行解 锁。  And an unlocking unit, configured to unlock the user identification card by using a corresponding personal identification code extracted in the extracting unit.
10、 根据权利要求 9所述的终端设备, 其特征在于, 所述处理器, 还包括: 建立单元, 用于建立所述存储单元中所述指紋模板与个人识别码的对应关系。  The terminal device according to claim 9, wherein the processor further comprises: an establishing unit, configured to establish a correspondence between the fingerprint template and the personal identification code in the storage unit.
11、 根据权利要求 10所述的终端设备, 其特征在于, 所述建立单元, 包括: 第一生成模块, 用于根据所述采集单元采集的指纹信息, 生成指纹模板; 第一设置模块, 用于根据用户的输入, 设置个人识别码; The terminal device according to claim 10, wherein the establishing unit comprises: a first generating module, configured to generate a fingerprint template according to the fingerprint information collected by the collecting unit; Setting a personal identification number according to the user's input;
第一替换模块,用于将所述第一设置模块设置的个人识别码替换原有个人识别码保 存于用户识别卡中,或者直接将所述第一设置模块设置的个人识别码保存于用户识别卡 中;  a first replacement module, configured to save the personal identification code set by the first setting module in the user identification card, or directly save the personal identification code set by the first setting module in the user identification Card
第一建立模块,用于建立所述第一生成模块生成的指纹模板与所述第一设置模块设 置的个人识别码的对应关系。 a first establishing module, configured to establish a fingerprint template generated by the first generating module and the first setting module The correspondence of the personal identification numbers.
12、 根据权利要求 10所述的终端设备, 其特征在于, 所述建立单元, 包括: 第二生成模块, 用于根据所述采集单元采集的指紋信息, 生成指紋模板; 第二映射模块, 用于将所述第二生成模块生成的指纹模板映射为编码; 第一设置模块, 用于根据用户的输入和所述第一映射模块映射得到的编码, 设置个 人识别码;  The terminal device according to claim 10, wherein the establishing unit comprises: a second generating module, configured to generate a fingerprint template according to the fingerprint information collected by the collecting unit; Mapping the fingerprint template generated by the second generation module into an encoding; a first setting module, configured to set a personal identification code according to the input of the user and the code obtained by mapping the first mapping module;
第二替换模块,用于将所述第二设置模块中置的个人识别码替换原有个人识别码保 存于用户识别卡中,或者直接将所述第二设置模块设置的个人识别码保存于用户识别卡 中;  a second replacement module, configured to save the personal identification code set in the second setting module in the user identification card, or directly save the personal identification code set by the second setting module to the user Identification card;
第二建立模块,用于建立所述第二生成模块生成的指纹模板与所述第二设置模块设 置的个人识别码的对应关系。  And a second establishing module, configured to establish a correspondence between the fingerprint template generated by the second generating module and the personal identification code set by the second setting module.
13、 根据权利要求 10所述的终端设备, 其特征在于, 所述建立单元, 包括: 第三生成模块, 用于根据所述采集单元采集的指纹信息, 生成指纹模板; 第二映射模块, 用于将所述第二生成模块生成的指纹模板映射为编码; 第三设置模块, 用于根据所述第三映射模块映射得到的编码, 设置个人识别码; 第三替换模块,用于将所述第三设置模块设置的个人识别码替换原有个人识别码保 存于用户识别卡中,或者直接将所述第三设置模块设置的个人识别码保存于用户识别卡 中;  The terminal device according to claim 10, wherein the establishing unit comprises: a third generating module, configured to generate a fingerprint template according to the fingerprint information collected by the collecting unit; Mapping the fingerprint template generated by the second generation module to an encoding; a third setting module, configured to set a personal identification code according to the code obtained by mapping the third mapping module; and a third replacement module, configured to: The personal identification code set by the third setting module is saved in the user identification card, or the personal identification code set by the third setting module is directly saved in the user identification card;
第三建立模块,用于建立所述第三生成模块生成的指纹模板与所述第三设置模块设 置的个人识别码的对应关系。  And a third establishing module, configured to establish a correspondence between the fingerprint template generated by the third generating module and the personal identification code set by the third setting module.
PCT/CN2010/076140 2009-11-27 2010-08-19 Rights management method and terminal device for subscriber identity module WO2011063664A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910226269.0 2009-11-27
CN200910226269A CN101753682B (en) 2009-11-27 2009-11-27 Right management method for user identification card and terminal unit

Publications (1)

Publication Number Publication Date
WO2011063664A1 true WO2011063664A1 (en) 2011-06-03

Family

ID=42480053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/076140 WO2011063664A1 (en) 2009-11-27 2010-08-19 Rights management method and terminal device for subscriber identity module

Country Status (2)

Country Link
CN (1) CN101753682B (en)
WO (1) WO2011063664A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101178A (en) * 2015-06-25 2015-11-25 集怡嘉数码科技(深圳)有限公司 Business process method, device and system

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753682B (en) * 2009-11-27 2012-09-05 华为终端有限公司 Right management method for user identification card and terminal unit
CN102930195B (en) * 2012-09-26 2016-12-21 北京百度网讯科技有限公司 Method and the electronic equipment of electronic equipment is shared by fingerprint
CN102916970B (en) * 2012-10-30 2015-04-15 飞天诚信科技股份有限公司 Network-based PIN cache method
CN103198246B (en) * 2013-03-19 2015-09-02 苏州佳世达电通有限公司 Start the system of electronic installation
CN104182706B (en) * 2013-05-24 2019-01-04 中兴通讯股份有限公司 A kind of time slot scrambling, device and the mobile terminal of mobile terminal storage card
CN104156651B (en) * 2014-08-11 2018-03-02 广州三星通信技术研究有限公司 Access control method and device for terminal
CN105611030A (en) * 2014-11-20 2016-05-25 中兴通讯股份有限公司 Method, device and terminal for card locking
CN105049562B (en) * 2015-07-14 2017-09-19 广东欧珀移动通信有限公司 The unlocking method and communicating terminal of a kind of Subscriber Identity Module
CN105208546A (en) * 2015-09-06 2015-12-30 集怡嘉数码科技(深圳)有限公司 A communication method based on a mobile terminal smart card and associated devices
CN105335634A (en) * 2015-10-14 2016-02-17 上海斐讯数据通信技术有限公司 User ID card safety management method and system
CN105354469B (en) * 2015-10-28 2018-01-26 广东欧珀移动通信有限公司 A kind of unlocking method and device
CN106921494B (en) * 2015-12-24 2021-01-26 中兴通讯股份有限公司 RCS-based (U) SIM card protection method and mobile terminal
CN106211135B (en) * 2016-07-19 2021-04-09 北京集创北方科技股份有限公司 Unlocking method of subscriber identity module card, subscriber identity module card and communication terminal
CN106507334A (en) * 2016-12-30 2017-03-15 维沃移动通信有限公司 A kind of identity identifying method and mobile terminal
CN108400794A (en) * 2017-02-07 2018-08-14 南昌黑鲨科技有限公司 SIM card separation method, device and electronic equipment
CN106911970A (en) * 2017-02-15 2017-06-30 深圳创维数字技术有限公司 A kind of method and system by fingerprint recognition control adult level program viewing
CN107609362B (en) * 2017-10-19 2020-02-11 飞天诚信科技股份有限公司 Method for logging in Windows system by smart card and private credential providing device
CN108769981A (en) * 2018-06-09 2018-11-06 深圳市宝尔爱迪科技有限公司 A kind of a kind of personal information protecting method for after the encryption SIM card of terminal device and SIM card loss based on encryption

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299496A (en) * 1998-04-21 2001-06-13 西门子公司 Electronic device and method for the authentication of a user of said device
WO2002093330A2 (en) * 2001-05-14 2002-11-21 Telefonaktiebolaget L M Ericsson (Publ) System and method for controlling access to personal information
DE102004042625A1 (en) * 2004-07-02 2006-02-16 Dieter Effmert Security circuit for mobile telephone may be programmed by authorized user with PIN number and fingerprint and has circuit with locking and operating control and alarm and reset circuits
CN101753682A (en) * 2009-11-27 2010-06-23 华为终端有限公司 Right management method for user identification card and terminal unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2456405Y (en) * 2001-01-09 2001-10-24 李振华 Finger-print mobile telephone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299496A (en) * 1998-04-21 2001-06-13 西门子公司 Electronic device and method for the authentication of a user of said device
WO2002093330A2 (en) * 2001-05-14 2002-11-21 Telefonaktiebolaget L M Ericsson (Publ) System and method for controlling access to personal information
DE102004042625A1 (en) * 2004-07-02 2006-02-16 Dieter Effmert Security circuit for mobile telephone may be programmed by authorized user with PIN number and fingerprint and has circuit with locking and operating control and alarm and reset circuits
CN101753682A (en) * 2009-11-27 2010-06-23 华为终端有限公司 Right management method for user identification card and terminal unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101178A (en) * 2015-06-25 2015-11-25 集怡嘉数码科技(深圳)有限公司 Business process method, device and system

Also Published As

Publication number Publication date
CN101753682B (en) 2012-09-05
CN101753682A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
WO2011063664A1 (en) Rights management method and terminal device for subscriber identity module
US9740849B2 (en) Registration and authentication of computing devices using a digital skeleton key
CN105184179B (en) Embedded encrypted mobile storage device and operation method thereof
CN101034988B (en) Network login authentication protection device and its using method
US20100138667A1 (en) Authentication using stored biometric data
US20180247313A1 (en) Fingerprint security element (se) module and payment verification method
EP3876495A1 (en) Method and system for operating internet of things device
WO2008149366A2 (en) Device method & system for facilitating mobile transactions
CN110322599B (en) Door lock management method and device, electronic equipment and storage medium
CN103034417A (en) Unlocking method for touch screen and terminal equipment
EP2192513B1 (en) Authentication using stored biometric data
CN102456102A (en) Method for carrying out identity recertification on particular operation of information system by using Usb key technology
TWI416922B (en) Authentication system utilizing image authentication code and method thereof
WO2018137309A1 (en) Wireless communication processing method and device
WO2017071498A1 (en) Identity authentication method and device
CN105138887B (en) A kind of input method of log-on message, device and terminal device
CN101645124A (en) Method for unlocking PIN code and intelligent secret key device
CN202058159U (en) USB key
WO2021082327A1 (en) Electronic device unlocking method, electronic device and computer-readable storage medium
WO2016155465A1 (en) Data processing method and apparatus, and terminal
CN101639883B (en) Method for checking PIN code and intelligent key equipment
CN110717175A (en) Security authentication method based on security computer
CN107315938A (en) A kind of emergent unlocked by fingerprint method and system of smart machine based on third party device
TWI826077B (en) Method of locking and unlocking a storage device and related system thereof
US20230086015A1 (en) Ic card asymmetric labelling system and ic card built-in password input system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10832571

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10832571

Country of ref document: EP

Kind code of ref document: A1