Patent ID: 9626859
Date: 2017-04-18
CPC Classifications: G07C,G08C

Claim:
1. A method comprising: receiving, by an electronic key generation device, a data payload from at least one of an administrative device and a server; receiving, by the electronic key generation device, a first request from a user of the electronic key generation device to generate an electronic key to a tangible locking device; generating using the data payload, responsive to the received first request, by a processor of the electronic key generation device, the electronic key, wherein the electronic key includes instructions to change a lock state of the tangible locking device, said instructions, when verified by the tangible locking device using the electronic key, enabling automatic locking of the tangible locking device if the tangible locking device is in an unlocked state, or automatic unlocking of the tangible locking device if the tangible locking device is in a locked state; transmitting, by the electronic key generation device, to the tangible locking device, a second request for an indication of a current state of the tangible locking device, wherein the current state is either the unlocked state or the locked state, and receiving, by the electronic key generation device and from the tangible locking device responsively to the second request, the indication of the current state of the tangible locking device; and transmitting, by the electronic key generation device, the electronic key to the tangible locking device.