Patent ID: 9646442
Date: 2017-05-09
CPC Classifications: G07C

Claim:
1. An electronic lock comprising: at least one processor; and a non-transitory storage device that stores a preset password for unlocking the electronic lock, wherein the preset password is a movement of one or more electronic devices, the non-transitory storage device further stores one or more programs which, when executed by the at least one processor, cause the at least one processor to: receive a password transmitted from an electronic device; determine whether the received password matches the preset password; if the received password matches the preset password, determine whether the electronic lock is operating in a temporary pass state or in a non-temporary pass state, wherein, the temporary pass state defines the electronic lock as operating for a period of time; if the electronic lock is operating in the temporary pass state, unlock the electronic lock; if the electronic lock is operating in the non-temporary pass state, obtain identity information of the electronic device; determine whether the obtained identity information matches the privilege information of the electronic lock; and if the obtained identity information matches the privilege information of the electronic lock, unlock the electronic lock.