主权项 |
1. A method for realizing unlocking a terminal device, comprising:
after the terminal device is powered on, a user interface (UI) querying and recording a network locking state of the terminal device, the UI querying and recording an International Mobile Equipment Identity (IMEI) of the terminal device, and the UI detecting whether the terminal device is inserted with a Subscriber Identity Module (SIM) card; when the UI detects that the terminal device is not inserted with the SIM card and the network locking state of the terminal device is “network locked”, asking a user to unlock the terminal device via the UI; wherein the step of asking the user to unlock the terminal device via the UI comprises: enabling an unlocking window through the UI to ask the user of the terminal device to input an unlocking code; and verifying the unlocking code input by the user according to an unlocking code carried by the IMEI, when the verification is passed, prompting that the unlocking is successful, and changing the network locking state to “unlocked”; and when the verification is not passed, prompting that the unlocking is failed.
|