Method and apparatus for verifying personal identification number pin code

US12501268B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12501268-B2
Application numberUS-202118259533-A
CountryUS
Kind codeB2
Filing dateDec 14, 2021
Priority dateDec 28, 2020
Publication dateDec 16, 2025
Grant dateDec 16, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides a method and an apparatus for verifying a personal identification number PIN code. When a first SIM card is inserted into a powered-on terminal device or the terminal device into which the first SIM card is inserted is powered on, whether a mapping relationship includes a PIN code to which a first ICCID of the first SIM card is mapped is queried; the PIN code is sent to the first SIM card if the mapping relationship includes the PIN code to which the first ICCID is mapped; and a verification result of the PIN code from the first SIM card is received.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method, applied to a terminal device, the method comprising: receiving a first operation of a user, wherein the first operation instructs the terminal device to enable a function of automatically verifying a personal identification number (PIN) code of a first subscriber identity module (SIM) card; after the receiving the first operation and based on that no lock screen password is set for the terminal device: displaying a first prompt for the user to enter a lock screen password, receiving the lock screen password entered by the user, displaying a second prompt for the user to enter a first PIN code, the second prompt being different from the first prompt, and receiving the first PIN code entered by the user; storing the first PIN code to complete enabling the function of automatically verifying the PIN code of the first SIM card, wherein when the function of automatically verifying the PIN code of the first SIM card is enabled and the first PIN code is stored, the terminal device uses the first PIN code to automatically verify the first SIM card; and after the storing, verifying the PIN code of the first SIM card using the first PIN code without the user inputting the PIN code when the first SIM card is inserted into the terminal device and the terminal device is in a powered-on state, or when the terminal device into which the first SIM card is inserted is powered on. 2 . The method according to claim 1 , wherein the terminal device further stores a second PIN code of a second SIM card, a second function of automatically verifying the second PIN code of the second SIM card is enabled, and the method further comprises: verifying the second PIN code of the second SIM card without the user inputting the second PIN code in response to detecting the second SIM card is inserted in the terminal device. 3 . The method according to claim 1 , wherein automatically the verifying the PIN code of the first SIM card comprises: verifying the PIN code of the first SIM card when the function of automatically verifying the PIN code of the first SIM card is enabled. 4 . The method according to claim 1 , wherein the receiving the first PIN code entered by the user, and storing the first PIN code comprises: receiving a second PIN code entered by the user; displaying a third interface when the second PIN code entered by the user is an initial PIN code of the first SIM card, wherein the third interface prompts the user to enter a new PIN code; and receiving the new PIN code entered by the user as the first PIN code, and storing the first PIN code. 5 . The method according to claim 1 , wherein the receiving the first PIN code entered by the user, and storing the first PIN code comprises: receiving a second PIN code entered by the user; and when the second PIN code entered by the user is different from an initial PIN code of the first SIM card, using the second PIN code entered by the user as the first PIN code, and storing the first PIN code. 6 . The method according to claim 1 , wherein after the verifying the PIN code of the first SIM card, the method further comprises: displaying a fourth interface, wherein the fourth interface prompts that PIN code verification of the first SIM card succeeds. 7 . The method according to claim 6 , wherein before the verifying the PIN code of the first SIM card, the method further comprises: displaying a fifth interface, wherein the fifth interface prompts to enter the lock screen password; and switching to an unlocked state when receiving a correct lock screen password. 8 . The method according to claim 1 further comprising: receiving a second operation of the user, wherein the second operation instructs the terminal device to display the PIN code of the first SIM card; displaying a sixth interface, wherein the sixth interface prompts to enter verification information; and receiving the verification information, and outputting a fourth PIN code, wherein the fourth PIN code is the PIN code of the first SIM card. 9 . The method according to claim 1 , further comprising: storing an integrated circuit card identifier (ICCID) of the first SIM card. 10 . The method according to claim 9 , wherein the ICCID corresponds to the first PIN code. 11 . The method according to claim 1 , wherein the terminal device does not store a PIN code of a second SIM card, and the method further comprises: displaying a seventh interface in response to detecting the second SIM card is inserted, wherein the seventh interface prompts to enter the PIN code of the second SIM card. 12 . The method according to claim 11 , further comprising: displaying an eighth interface when the terminal device has set the lock screen password in response to the first operation, wherein the eighth interface prompts to enter the lock screen password. 13 . The method according to claim 11 , wherein the verifying the PIN code of the first SIM card comprises: querying whether the terminal device comprises a PIN code corresponding to an integrated circuit card identifier (ICCID) of the first SIM card; sending the PIN code corresponding to the ICCID of the first SIM card to the first SIM card when the terminal device comprises the PIN code corresponding to the ICCID of the first SIM card; and receiving a verification result obtained from the first SIM card for the PIN code corresponding to the ICCID of the first SIM card. 14 . The method according to claim 11 , further comprising: outputting first prompt information when the function of automatically verifying the PIN code of the first SIM is not enabled, wherein the first prompt information prompts to enable the function of automatically verifying the PIN code of the first SIM card. 15 . A terminal device, comprising: one or more processors; and a non-transitory memory configured to store processor-executable instructions, wherein when executing the processor-executable instructions, the one or more processors are configured to perform operations comprising: receiving a first operation of a user, wherein the first operation instructs the terminal device to enable a function of automatically verifying a personal identification number (PIN) code of a first subscriber identity module (SIM) card; after the receiving the first operation and based on that no lock screen password is set for the terminal device: displaying a first prompt for the user to enter a lock screen password, receiving the lock screen password entered by the user, displaying a second prompt for the user to enter a first PIN code, the second prompt being different from the first prompt, and receiving the first PIN code entered by the user; storing the first PIN code to complete enabling the function of automatically verifying the PIN code of the first SIM card, wherein when the function of automatically verifying the PIN code of the first SIM card is enabled and the first PIN code is stored, the terminal device uses the first PIN code to automatically verify the first SIM card; and after the storing, verifying the PIN code of the first SIM card using the first PIN code without the user inputting the PIN code when the first SIM card is inserted into the terminal device and the terminal device is in a powered-on state, or when the terminal device into which the first SIM card is inserted is powered on. 16 . The terminal device according to claim 15 , wherein the terminal device further stores a second PIN code of a second SIM card, a second function of automatically verifying the second PIN code of the

Assignees

Inventors

Classifications

  • using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234) · CPC title

  • using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226) · CPC title

  • Pre-authentication · CPC title

  • Security arrangements using identity modules · CPC title

  • operating in dual or compartmented mode, i.e. at least one secure mode · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12501268B2 cover?
This application provides a method and an apparatus for verifying a personal identification number PIN code. When a first SIM card is inserted into a powered-on terminal device or the terminal device into which the first SIM card is inserted is powered on, whether a mapping relationship includes a PIN code to which a first ICCID of the first SIM card is mapped is queried; the PIN code is sent t…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04W12/43. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 16 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).