摘要 |
<p>An electronic device and a method for unlocking a screen of the electronic device. The electronic device includes a screen and a storage unit. The method for unlocking a screen of the electronic device includes: detecting, in a locked state, intent of a user to unlock the screen; if it is detected that the user intends to unlock the screen, extracting multiple pieces of contact information from the storage unit of the electronic device, where each piece of the extracted contact information includes a first attribute value and a second attribute value; displaying, on the screen, first attribute values and second attribute values that are of the extracted contact information; and detecting an action of matching the contact attribute values by the user; if it is detected that the user correctly matches a first attribute value and a second attribute value that are of the contact information, unlocking the screen; and otherwise, maintaining the locked state.</p> |