| CPC G07C 9/00817 (2013.01) [G07C 9/00309 (2013.01); G07C 2009/00642 (2013.01)] | 10 Claims |

|
1. A system of an electronic lock and an electronic key, comprising:
an electronic key, comprising: a first processing module, a first storage module, a power source module, and a first terminal, wherein the first processing module is electrically connected to the first storage module, the power source module, and the first terminal, the first storage module stores an erasing secret key; and
an electronic lock, comprising: a second processing module, a second storage module, a lock core module, and a second terminal, wherein the second processing module is electrically connected to the second storage module, the lock core module, and the second terminal,
wherein during pairing setting of the electronic key and the electronic lock, the first terminal is electrically connected to the second terminal, the first processing module or the second processing module automatically generates at least one electronic secret key stored in the first storage module and the second storage module, the erasing secret key is copied and stored in the second storage module, so as to complete a pairing setting operation; and during locking or unlocking, the first terminal is electrically connected to the second terminal, and when the first processing module or the second processing module identifies that the at least one electronic secret key stored in the electronic key and the electronic lock are matched with each other, the power source module supplies a power source to the electronic lock being connected to trigger a locking operation or an unlocking operation.
|