Method and device for controlling code lock
Abstract:
Disclosed are a method and a device for controlling a code lock. The method comprises: receiving an unlock request for a target code lock sent by a client; parsing the unlock request to determine whether the unlock request satisfies a preset unlock condition; in response to determining that the unlock request satisfies the preset unlock condition, acquiring the current state of the target code lock; if the current state of the target code lock is a locked state, acquiring the unlock code of the current code pair for the target code lock, changing the current state of the target code lock to an unlocked state, and sending the acquired unlock code to the client; and in response to receiving the lock feedback code of the current code pair for the target code lock sent by the client, changing the current state of the target code lock to a locked state.
Public/Granted literature
Information query
Patent Agency Ranking
0/0