Patent ID: 9667412
Date: 2017-05-30
CPC Classifications: G06F,H04L

Claim:
1. An electronic device comprises: at least one processor; and a storage device that stores one or more programs which, when executed by the at least one processor, cause the at least one processor to: activate a display screen of the electronic device which is locked when receiving a communication signal from a key, and generate an unlocked icon on the display screen; send a request to the key for generating an unlock code after the unlocked icon being pressed; receive first audio information of the unlock code from the key; determine whether the first audio information is the same as second audio information generated by the electronic device; and unlock the display screen of the electronic device when the first audio information is the same as the second audio information; wherein the first audio information is generated by: presetting a matrix of the decryption algorithm, each element of the matrix comprising a random number, and presetting a relationship between musical notes and numbers; generating an unlock code by randomly selecting one or more elements in the matrix; and converting the unlock code to the first audio information according to the relationship between musical notes and numbers in the unlock code.