Method and device for controlling code lock

US10679439B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10679439-B2
Application numberUS-201916355583-A
CountryUS
Kind codeB2
Filing dateMar 15, 2019
Priority dateDec 2, 2016
Publication dateJun 9, 2020
Grant dateJun 9, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for controlling a code lock, the method comprising: 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; acquiring a current state of the target code lock, in response to determining that the unlock request satisfies the preset unlock condition; if the current state of the target code lock is a locked state, acquiring an unlock code of a 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, such that a user uses the unlock code received by the client to unlock the target code lock; and changing the current state of the target code lock to the locked state, in response to receiving a lock feedback code of the current code pair for the target code lock sent by the client, the lock feedback code being displayed on the target code lock after the target code lock is locked. 2. The method according to claim 1 , wherein the method further comprises: if the current state of the target code lock is the unlocked state, sending a prompt message to the client to prompt the client to send the lock feedback code displayed after the target code lock is locked. 3. The method according to claim 1 , wherein the acquiring an unlock code of a current code pair for the target code lock comprises: acquiring a pre-stored code pair sequence built in the target code lock and a parameter for indicating the current code pair in the code pair sequence, and searching the code pair sequence for the unlock code of the current code pair indicated by the parameter. 4. The method according to claim 3 , wherein the method further comprises: changing the code pair currently indicated by the parameter to a next code pair of the current code pair, after receiving the lock feedback code of the current code pair for the target code lock sent by the client. 5. The method according to claim 1 , wherein the unlock request comprises a user identifier; and the parsing the unlock request to determine whether the unlock request satisfies a preset unlock condition, comprises: acquiring information of a user indicated by the user identifier to determine whether the user has an unlocking permission. 6. The method according to claim 1 , wherein the unlock request comprises an identifier of the target code lock; and the parsing the unlock request to determine whether the unlock request satisfies a preset unlock condition, comprises: searching a pre-stored identifier of a code lock for the identifier of the target code lock to determine whether the identifier of the target code lock is pre-stored. 7. The method according to claim 1 , wherein the method further comprises: sending an abnormity prompt message to the client, in response to determining that the unlock request does not satisfy the preset unlock condition. 8. The method according to claim 1 , wherein the method further comprises: recording unlock time and lock time of the target code lock. 9. The method according to claim 8 , wherein the method further comprises: when a duration of the target code lock in the unlocked state exceeds a duration threshold, sending a timeout prompt message to the client. 10. A device for controlling a code lock, the device comprising: at least one processor; and a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: 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; acquiring a current state of the target code lock, in response to determining that the unlock request satisfies the preset unlock condition; if the current state of the target code lock is a locked state, acquiring an unlock code of a 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, such that a user uses the unlock code received by the client to unlock the target code lock; and changing the current state of the target code lock to the locked state, in response to receiving a lock feedback code of the current code pair for the target code lock sent by the client, the lock feedback code being displayed on the target code lock after the target code lock is locked. 11. The device according to claim 10 , wherein the operations further comprise: if the current state of the target code lock is the unlocked state, sending a prompt message to the client to prompt the client to send the lock feedback code displayed after the target code lock is locked. 12. The device according to claim 10 , wherein the acquiring an unlock code of a current code pair for the target code lock comprises: acquiring a pre-stored code pair sequence built in the target code lock and a parameter for indicating the current code pair in the code pair sequence, and searching the code pair sequence for the unlock code of the current code pair indicated by the parameter. 13. The device according to claim 12 , wherein the operations further comprise: changing the code pair currently indicated by the parameter to a next code pair of the current code pair, after receiving the lock feedback code of the current code pair for the target code lock sent by the client. 14. The device according to claim 10 , wherein the unlock request comprises a user identifier; and the parsing the unlock request to determine whether the unlock request satisfies a preset unlock condition, comprises: acquiring information of a user indicated by the user identifier to determine whether the user has an unlocking permission. 15. The device according to claim 10 , wherein the unlock request comprises an identifier of the target code lock; and the parsing the unlock request to determine whether the unlock request satisfies a preset unlock condition, comprises: searching a pre-stored identifier of a code lock for the identifier of the target code lock to determine whether the identifier of the target code lock is pre-stored. 16. The device according to claim 10 , wherein the operations further comprise: sending an abnormity prompt message to the client, in response to determining that the unlock request does not satisfy the preset unlock condition. 17. The device according to claim 10 , wherein the operations further comprise: recording unlock time and lock time of the target code lock. 18. The device according to claim 17 , wherein the operations further comprise: when a duration of the target code lock in the unlocked state exceeds a duration threshold, sending a timeout prompt message to the client. 19. A non-transitory computer storage medium, storing computer readable instructions executable by a processor, the computer readable instructions, when executed by the processor, cause the processor to perform operations, the operations comprising: 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; acquiring a current state of the target code lock, in response to determining that the unlock request satisfies the preset unlock condition; if the current state of the target code lock is a locked state, acquiring an unlock

Assignees

Inventors

Classifications

  • for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs (car rental G07B15/00) · CPC title

  • specially adapted for particular uses · CPC title

  • operated with unidirectional data transmission between data carrier and locks · CPC title

  • With time considerations, e.g. temporary activation, valid time window or time limitations · CPC title

  • Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys (mechanical locks with electric permutation E05B49/00; arrangements for sensing or reading record carriers G06K7/00; electronic switching H03K17/00) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10679439B2 cover?
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 …
Who is the assignee on this patent?
Baidu online network technology beijing co ltd
What technology area does this patent fall under?
Primary CPC classification G07C9/00182. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 09 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).