CN111343213B - Control method, device and system of electronic lock - Google Patents

Control method, device and system of electronic lock Download PDF

Info

Publication number
CN111343213B
CN111343213B CN201811453456.8A CN201811453456A CN111343213B CN 111343213 B CN111343213 B CN 111343213B CN 201811453456 A CN201811453456 A CN 201811453456A CN 111343213 B CN111343213 B CN 111343213B
Authority
CN
China
Prior art keywords
electronic lock
control
request
control instruction
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811453456.8A
Other languages
Chinese (zh)
Other versions
CN111343213A (en
Inventor
高灿锦
王雷
陈彬
张东胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunding Intelligent Technology Beijing Co ltd
Original Assignee
Yunding Intelligent Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunding Intelligent Technology Beijing Co ltd filed Critical Yunding Intelligent Technology Beijing Co ltd
Priority to CN201811453456.8A priority Critical patent/CN111343213B/en
Priority to PCT/CN2019/093933 priority patent/WO2020001652A1/en
Publication of CN111343213A publication Critical patent/CN111343213A/en
Priority to US17/137,281 priority patent/US20210119803A1/en
Application granted granted Critical
Publication of CN111343213B publication Critical patent/CN111343213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a control method, a device and a system of an electronic lock, wherein the method comprises the steps of firstly obtaining a control request for the electronic lock; then generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed; then sending each control instruction to the electronic lock; and finally, marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.

Description

Control method, device and system of electronic lock
Technical Field
The invention belongs to the field of safety precaution and intelligent home furnishing, relates to the technical field of intelligent electronic lock control, and particularly relates to a control method, a device and a system of an electronic lock.
Background
When the control instruction is issued to the electronic lock for corresponding operation, the conventional common electronic lock belongs to local operation of the electronic lock, and the problem of intermediate state caused by untimely operation of the control instruction does not exist; for commercial electronic locks, for example: the fingerprint electronic lock is used for remotely inputting fingerprints and remotely operating scenes, such as fingerprint electronic locks of hotels, long-renting/short-renting apartments, public renting rooms and the like, and remotely issuing control instructions to the fingerprint electronic lock by an administrator or a tenant, such as: the method comprises the steps that a fingerprint is input, corresponding operation is carried out on the fingerprint, and the like, because a control command needs to be immediately sent to a target electronic lock through Zigbee or Bluetooth, due to the limitations of the two communication modes, the control command generates an intermediate state, the intermediate state is not displayed at the front end, and therefore the problem of untimely operation possibly exists, and the control command comprises control commands for issuing, freezing, unfreezing, modifying the validity period or deleting the fingerprint input remotely.
Disclosure of Invention
The invention aims to provide a control method, a control device and a control system of an electronic lock, which aim to solve the problem of untimely operation caused by the fact that the middle state of a control instruction is not subjected to front-end display in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
a control method of an electronic lock is applied to a server side, wherein the server side is in communication connection with the electronic lock, and the method comprises the following steps:
obtaining a control request for the electronic lock;
generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and the processing state of each control instruction is marked to be processed;
sending each control instruction to the electronic lock;
and marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result.
Further, when the control request to the electronic lock is an issue request to the electronic lock, then:
acquiring data information to be issued and an issuing request of the electronic lock;
generating a distributed task according to the distribution request, and marking the processing state of the distributed task as to-be-distributed;
sending the data information to be issued and the issued task to the electronic lock;
and when the execution result of the electronic lock on the issuing request is received, the processing state of the issuing task is modified to be issued.
Further, when the control request to the electronic lock is a processing request to the electronic lock, the processing request is a freezing request, a thawing request, a validity period modification request or a deletion request, then:
obtaining a processing request for the electronic lock;
generating a processing task according to the processing request, and marking the processing state of the processing task as to-be-processed;
sending the processing task to the electronic lock;
and when the execution result of the electronic lock on the processing request is received, modifying the processing state of the processing task to be processed.
Further, the control request is control request information for password information and/or fingerprint information.
A control method of an electronic lock is applied to a server side, wherein the server side is in communication connection with a plurality of electronic locks, and the method comprises the following steps:
obtaining batch control requests for the electronic locks;
generating batch control tasks for controlling the electronic locks according to the batch control requests, wherein each control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed;
sending each control instruction to each electronic lock;
and marking the processing state of each control instruction as a corresponding preset mark according to the execution result of each electronic lock on each control instruction, wherein the preset mark corresponds to the execution result.
A control method of an electronic lock is applied to a client, the client is in communication connection with a server, and the method comprises the following steps:
sending a batch processing instruction to the server;
and acquiring the processing state of the processing instruction fed back by the server, and determining the execution result of the electronic lock by the client according to the processing state.
A control device for an electronic lock, comprising:
a first processing unit for obtaining a control request for the electronic lock;
the second processing unit is used for generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and the processing state of each control instruction is marked as to-be-processed;
the third processing unit is used for sending each control instruction to the electronic lock;
and the fourth processing unit is used for marking the processing state of each control instruction as completed according to the execution result of the electronic lock on each control instruction.
A control device for an electronic lock, comprising:
the fifth processing unit is used for obtaining batch control requests of all the electronic locks;
the sixth processing unit is used for generating batch control tasks for controlling the electronic locks according to the batch control requests, wherein each control task comprises at least one control instruction, and the processing state of each control instruction is marked to be processed;
the seventh processing unit is used for sending each control instruction to each electronic lock;
and the eighth processing unit is used for marking the processing state of each control instruction as a corresponding preset mark according to the execution result of each electronic lock on each control instruction, and the preset mark corresponds to the execution result.
A control device for an electronic lock, comprising:
the ninth processing unit is used for sending a batch processing instruction to the server;
and the tenth processing unit is used for acquiring the processing state of the processing instruction fed back by the server, and the client determines the execution result of the electronic lock according to the processing state.
A control system for an electronic lock, comprising: server side, client and electronic lock, wherein: the client is in communication connection with the server, and the server is in communication connection with the electronic lock;
the server executes the control method of the electronic lock applied to the server;
the client executes the control method of the electronic lock applied to the client.
According to the technical scheme, compared with the prior art, the invention discloses a control method, a device and a system of an electronic lock, wherein the method firstly obtains a control request for the electronic lock; then generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed; then sending each control instruction to the electronic lock; and finally, marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a control method of an electronic lock according to an embodiment of the present invention;
fig. 2 is a schematic control flow diagram of an electronic lock according to an embodiment of the present invention;
fig. 3 is a flowchart of a control method of the electronic lock according to an embodiment of the present invention when the control request of the electronic lock is an issue request of the electronic lock;
fig. 4 is a flowchart of a control method of the electronic lock according to an embodiment of the present invention when the control request to the electronic lock is a freeze request, a thaw request, a validity period modification request, or a delete request to the electronic lock;
FIG. 5 is a flowchart illustrating another method for controlling an electronic lock according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for controlling an electronic lock according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a control device of an electronic lock according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another control device of an electronic lock according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a control device of another electronic lock according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a control system of an electronic lock according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the problem of untimely operation does not exist in the local operation of the electronic door lock, the invention is a series of solutions for the problem of untimely operation under the condition of non-local operation of the electronic door lock, and mainly aims at scenes of fingerprint remote entry and remote operation, such as: in fingerprint electronic door locks of hotels, long/short renting apartments, public renting rooms and the like.
As shown in fig. 1, an embodiment of the present invention provides a method for controlling an electronic lock, which is applied to a server, where the server is in communication connection with the electronic lock, and the method includes:
and S101, obtaining a control request for the electronic lock.
The control request for the electronic lock is an issuing request, a freezing request, a thawing request, a validity period modifying request or a deleting request sent by a user or an administrator to the electronic lock, and specifically, the control request for the electronic lock may be a processing request for writing password information such as a fingerprint or a request for other control instructions.
And S102, generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed.
The control task is generated according to a received control request, and includes at least one control instruction, where the control instruction is an operation instruction for controlling a corresponding electronic lock, such as freezing, thawing, modifying an expiration date, or deleting password information stored in the electronic lock, such as fingerprint, iris, or face information identifying the password information, and the processing state of each control instruction is marked as to-be-processed.
S103, sending each control instruction to the electronic lock;
and S104, marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result.
And when the execution result of the electronic lock on each control instruction is finished, marking the processing state of each control instruction as a corresponding preset mark, wherein the preset mark corresponds to the execution result. Specifically, the data flow of the overall solution is as shown in fig. 2.
The control request in the embodiment of the present invention is control request information for password information and/or fingerprint information, taking a fingerprint password electronic door lock as an example, the specific steps are described as follows, as shown in fig. 2:
1. through the front end (App/Web), an operation request is issued, for example: issuing, freezing, unfreezing, modifying the validity period, deleting and the like;
2. the server generates a processing task, and because the fingerprint cannot be synchronized to the target lock immediately, the processing state of the corresponding fingerprint is marked as: intermediate states of sending waiting, freezing waiting, unfreezing waiting, modifying waiting and deleting waiting;
3. the server synchronizes the fingerprint to the target door lock through ZigBee or synchronizes the fingerprint to the target door lock through Bluetooth.
4. And polling the processing tasks in a polling mode until all the processing tasks are finished, marking the intermediate state to be processed as a finished state (such as issued, frozen, unfrozen, modified, deleted and the like), and informing the fingerprint state of the server.
Therefore, the problem of intermediate state caused by the fact that the ZigBee or the Bluetooth is not timely in communication with the door lock is solved.
Further, when the control request to the electronic lock is an issue request to the electronic lock, then: as shown in fig. 3, an embodiment of the present invention provides a specific implementation manner of a control method of an electronic lock, which may specifically include the following steps:
s301, obtaining data information to be issued and an issuing request of the electronic lock;
s302, generating a distributed task according to the distribution request, and marking the processing state of the distributed task as to-be-distributed;
s303, sending data information to be issued and an issuing task to the electronic lock;
and S304, when the execution result of the electronic lock on the issuing request is received, the processing state of the issuing task is modified to be issued.
When the fingerprints are issued, the app/Web initiates issuing requests (certain target fingerprints, certain target door locks and corresponding fingerprint operation instruction types (issuing)); the server receives the issuing request, generates an issuing task and marks the processing state of the target fingerprint as to be issued; analyzing the issued task, generating an issued command, (issuing a target fingerprint to a target door lock); the server sends a sending instruction to a target door lock through the ZigBee (the sending instruction is sent to the target door lock so that the target fingerprint is sent to the target door lock); the door lock processing instruction informs the server after the instruction is finished; the server marks the state to be issued as issued (when the issued task is determined to be completed, the processing state of the target fingerprint is marked as issued).
When the control request for the electronic lock is an issuing request for the electronic lock, data information to be issued and the issuing request for the electronic lock need to be obtained first, then an issuing task is generated according to the issuing request, and the processing state of the issuing task is marked as being issued; sending data information to be issued and an issued task to the electronic lock; and when an execution result of the electronic lock on the issuing request is received, the processing state of the issuing task is modified to be issued. The embodiment of the invention marks the intermediate state of the issuing request and feeds the intermediate state of the issuing request back to the user side, so that the user can conveniently check the issuing state of the electronic lock, and the user side can conveniently and quickly manage the electronic lock.
Further, when the control request to the electronic lock is a processing request to the electronic lock, and the processing request is a freezing request, a unfreezing request, a validity period modification request or a deletion request, then: as shown in fig. 4, an embodiment of the present invention provides a specific implementation manner of a control method of an electronic lock, which may specifically include the following steps:
s401, obtaining a processing request for the electronic lock;
s402, generating a processing task according to the processing request, and marking the processing state of the processing task as to-be-processed;
s403, sending a processing task to the electronic lock;
s404, when the execution result of the electronic lock on the processing request is received, the processing state of the processing task is modified to be processed.
When the control request for the electronic lock is a freezing request, a unfreezing request, a validity period modifying request or a deleting request for the electronic lock, a freezing task, a unfreezing task, a validity period modifying task or a deleting task are generated according to the freezing request, the unfreezing request, the validity period modifying request or the deleting request, and the processing state of the task is marked to be processed; sending the task to be processed to the electronic lock; and when the execution result of the electronic lock on the freezing request, the unfreezing request, the validity period modification request or the deletion request is received, modifying the processing state of the freezing task, the unfreezing task, the validity period modification task or the deletion task into processed state. The embodiment of the invention marks the intermediate states of the freezing request, the unfreezing request, the validity period modification request or the deleting request, and feeds back the intermediate states of the freezing request, the unfreezing request, the validity period modification request or the deleting request to the user side, so that a user can conveniently check the processing state of the electronic lock, and the user side can conveniently and quickly manage the electronic lock.
Preferably, when the control request to the electronic lock is a freeze request to a target fingerprint in the electronic lock, then:
generating a freezing task according to the freezing request, and marking the processing state of the target fingerprint as to-be-frozen;
sending a freezing task to the electronic lock;
and when an execution result of the electronic lock on the freezing request is received, modifying the processing state of the target fingerprint to be frozen.
When the fingerprints are frozen, the App/Web initiates a freezing request (certain target fingerprints, certain target door locks and corresponding fingerprint operation instruction types (freezing)); the server receives the freezing request, generates a freezing task and marks the processing state of the target fingerprint as to-be-frozen; analyzing the freezing task to generate a freezing instruction, (freezing the target fingerprint in the target door lock); the server sends a freezing instruction to the door lock through the ZigBee (the freezing instruction is sent to the target door lock so as to freeze a target fingerprint in the target door lock); the door lock processing instruction informs the server after the instruction is finished; the server marks the state to be frozen as frozen (when it is determined that the freezing task is completed, the processing state of the target instruction is marked as frozen).
Preferably, when the control request to the electronic lock is a defrosting request to a target fingerprint in the electronic lock, then:
generating a unfreezing task according to the unfreezing request, and marking the processing state of the target fingerprint as to-be-unfrozen;
sending a thawing task to the electronic lock;
and when an execution result of the electronic lock on the unfreezing request is received, modifying the processing state of the target fingerprint into unfrozen.
When the fingerprints are unfrozen, the app/Web initiates unfreezing requests (certain target fingerprints, certain target door locks and corresponding fingerprint operation instruction types (unfreezing)); the server receives the unfreezing request, generates an unfreezing task and marks the processing state of the target fingerprint as to-be-unfrozen; analyzing the unfreezing task to generate an unfreezing instruction, (unfreezing the target fingerprint in the target door lock); the server sends a unfreezing instruction to the door lock through the ZigBee (the unfreezing instruction is sent to the target door lock so that the target fingerprint can be unfrozen in the target door lock); the door lock processing instruction informs the server after the instruction is finished; the server marks the to-be-frozen state as unfrozen (when it is determined that the unfreezing task is completed, the processing state of the target instruction is marked as unfrozen).
Preferably, when the control request to the electronic lock is a request for modifying the validity period of a target fingerprint in the electronic lock, then:
generating a modification validity task according to the modification validity request, and marking the processing state of the target fingerprint as to-be-modified;
sending a task of modifying the validity period to the electronic lock;
and when the execution result of the electronic lock on the request for modifying the validity period is received, modifying the processing state of the target fingerprint into modified.
When the fingerprint of the validity period is modified, the app/Web initiates a request for modifying the validity period (some target fingerprints, some target door locks and corresponding fingerprint operation instruction types (modification validity period)); the server receives the modification validity period request, generates a modification task, and marks the processing state of the target fingerprint as to-be-modified; analyzing the modification task to generate a modification instruction, (modifying the validity period of the target fingerprint in the target door lock); the server sends a modification instruction to the door lock through the ZigBee (the modification instruction is sent to the target door lock so as to modify the validity period of the target fingerprint in the target door lock); the door lock processing instruction informs the server after the instruction is finished; the server marks the state to be modified as modified (when it is determined that the modification task is completed, the processing state of the target instruction is marked as modified).
Preferably, when the control request to the electronic lock is a request for deleting a target fingerprint in the electronic lock, then:
generating a deletion task according to the deletion request, and marking the processing state of the target fingerprint as to-be-deleted;
sending a deletion task to the electronic lock;
and when the execution result of the electronic lock on the deletion request is received, modifying the processing state of the target fingerprint into deleted.
When the fingerprints are deleted, the app/Web initiates a deletion request (certain target fingerprints, certain target door locks and corresponding fingerprint operation instruction types (deletion)); the server receives the deletion request, generates a deletion task, and marks the processing state of the target fingerprint as to-be-deleted; analyzing the deletion task to generate a deletion instruction, (deleting the target fingerprint in the target door lock); the server sends a deletion instruction to the door lock through the ZigBee (the deletion instruction is sent to the target door lock so as to delete the target fingerprint in the target door lock); the door lock processes the deleting instruction and informs the server after the deleting instruction is completed; the server marks the to-be-deleted state as deleted (when it is determined that the delete task is completed, the processing state of the target instruction is marked as deleted).
The embodiment of the invention can be used for products such as commercial fingerprint coded locks and the like, and has the following functions: when a tenant lives in, the remotely-entered fingerprint can be marked as to be issued, and after the fingerprint is issued, the fingerprint is marked as issued; when a tenant or co-tenant has checked in, the state of the remote operation fingerprint may be marked, for example: the validity periods of freezing, unfreezing and modifying are respectively marked as to-be-frozen, unfrozen and modified, and when the fingerprint operation is completed, the validity periods of freezing, unfreezing and modifying are marked as frozen, unfrozen and modified; when the tenant quits the lease, the fingerprint can be marked to be deleted, and the fingerprint is marked to be deleted after being deleted.
On the basis of the above embodiment, as shown in fig. 5, an embodiment of the present invention further discloses a method for controlling an electronic lock, which is applied to a server, where the server is in communication connection with a plurality of electronic locks, and the method specifically includes the following steps:
s501, obtaining batch control requests of the electronic locks.
The control request for each electronic lock is an issuing request, a freezing request, a thawing request, a validity period modifying request or a deleting request sent by a user or an administrator to the electronic lock, and specifically, the control request for the electronic lock may be a processing request for writing password information such as a fingerprint or a request for other control instructions.
S502, generating batch control tasks for controlling the electronic locks according to the batch control requests, wherein each control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed.
The method comprises the steps of generating batch control tasks for controlling a plurality of corresponding electronic locks according to received batch control requests, wherein each control task comprises at least one control instruction, the control instruction is specifically an operation instruction for controlling the corresponding electronic lock, for example, freezing, unfreezing, modifying the validity period or deleting password information stored in the electronic lock, such as fingerprint, iris or face information for identifying the password information, and the like, and the processing state of each control instruction is marked as to-be-processed.
And S503, sending each control command to each electronic lock.
S504, according to the execution result of each electronic lock on each control instruction, marking the processing state of each control instruction as a corresponding preset mark, wherein the preset mark corresponds to the execution result.
And when the execution result of each control instruction according to each electronic lock is finished, marking the processing state of each control instruction as a corresponding preset mark, wherein the preset mark corresponds to the execution result.
The embodiment of the invention discloses a control method of electronic locks, which comprises the steps of firstly obtaining batch control requests of all electronic locks; then generating batch control tasks for controlling each electronic lock according to the batch control requests, wherein each control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed; then sending each control instruction to each electronic lock; and finally, marking the processing state of each control instruction as a corresponding preset mark according to the execution result of each electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the batch control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.
On the basis of the above disclosure, as shown in fig. 6, an embodiment of the present invention further discloses a method for controlling an electronic lock, which is applied to a client, where the client is in communication connection with a server, and the method includes:
s601, sending a batch processing instruction to a server side.
The client sends a batch processing instruction to the server, and the batch processing instruction can correspond to at least one electronic lock, that is, the batch processing instruction can correspond to one electronic lock and also can correspond to a plurality of electronic locks.
S602, acquiring the processing state of the processing instruction fed back by the server side, and determining the execution result of the electronic lock by the client side according to the processing state.
The client receives the processing state of the electronic lock fed back by the server in real time, determines the execution result of the electronic lock according to the received processing state, and queries the state of the electronic lock in real time.
The embodiment of the invention discloses a control method of an electronic lock, which is applied to a server side, wherein the server side is in communication connection with the electronic lock; then generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and marking the processing state of each control instruction as to-be-processed; then sending each control instruction to the electronic lock; and finally, marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The method is described in detail in the embodiments disclosed above, and the method of the present invention can be implemented by various types of apparatuses, so that the present invention also discloses an apparatus, and the following detailed description will be given of specific embodiments.
As shown in fig. 7, an embodiment of the present invention provides a control device for an electronic lock, where the control device specifically includes: a first processing unit 701, a second processing unit 702, a third processing unit 703 and a fourth processing unit 704, wherein:
a first processing unit 701, configured to obtain a control request for an electronic lock;
a second processing unit 702, configured to generate a control task for controlling the electronic lock according to the control request, where the control task includes at least one control instruction, and marks a processing state of each control instruction as to-be-processed;
the third processing unit 703 is configured to send each control instruction to the electronic lock;
and a fourth processing unit 704, configured to mark the processing status of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, where the preset mark corresponds to the execution result.
Further, when the control request for the electronic lock is an issuing request for the electronic lock, the apparatus includes:
the first processing unit 701 is configured to obtain data information to be issued and an issue request for an electronic lock;
the second processing unit 702 is configured to generate an issued task according to the issue request, and mark a processing state of the issued task as to-be-issued;
the third processing unit 703 is configured to send data information to be issued and an issue task to the electronic lock;
and the fourth processing unit 704 is configured to modify the processing state of the issued task to be issued when the execution result of the electronic lock on the issued request is received.
Further, when the control request to the electronic lock is a processing request to the electronic lock, the processing request is a freeze request, a thaw request, a modification validity period request, or a delete request, the apparatus includes:
a first processing unit 701 configured to obtain a processing request for an electronic lock;
a second processing unit 702, configured to generate a processing task according to the processing request, and mark a processing state of the processing task as to-be-processed;
a third processing unit 703, configured to send a processing task to the electronic lock;
a fourth processing unit 704, configured to modify the processing state of the processing task to be processed when the execution result of the processing request by the electronic lock is received.
The embodiment of the invention discloses a control device of an electronic lock, which comprises the following steps of firstly obtaining a control request of the electronic lock through a first processing unit; then the second processing unit generates a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, and the processing state of each control instruction is marked to be processed; the third processing unit sends each control instruction to the electronic lock; and finally, the fourth processing unit marks the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.
Further, as shown in fig. 8, an embodiment of the present invention further discloses a control device of an electronic lock, which specifically includes:
a fifth processing unit 801, configured to obtain a batch control request for each electronic lock;
a sixth processing unit 802, configured to generate batch control tasks for controlling each electronic lock according to the batch control request, where each control task includes at least one control instruction, and mark a processing state of each control instruction as to-be-processed;
a seventh processing unit 803, configured to send each control instruction to each electronic lock;
the eighth processing unit 804 is configured to mark the processing status of each control instruction as a corresponding preset mark according to the execution result of each control instruction by each electronic lock, where the preset mark corresponds to the execution result.
The embodiment of the invention discloses a control device of electronic locks, which comprises a fifth processing unit, a second processing unit and a third processing unit, wherein the fifth processing unit is used for acquiring batch control requests of all electronic locks; then the sixth processing unit generates batch control tasks for controlling each electronic lock according to the batch control requests, wherein each control task comprises at least one control instruction, and the processing state of each control instruction is marked to be processed; the seventh processing unit sends each control instruction to each electronic lock; and finally, the eighth processing unit marks the processing state of each control instruction as a corresponding preset mark according to the execution result of each electronic lock on each control instruction, wherein the preset mark corresponds to the execution result. According to the invention, the intermediate state of the control instruction is marked and fed back to the user side, so that the user can conveniently check the control state of the electronic lock, and the user side can conveniently and rapidly manage the electronic lock.
Further, as shown in fig. 9, an embodiment of the present invention further discloses a control device of an electronic lock, which specifically includes: a ninth processing unit 901 and a tenth processing unit 902, wherein:
a ninth processing unit 901, configured to send a batch processing instruction to the server;
the tenth processing unit 902 is configured to obtain a processing state of the processing instruction fed back by the server, and the client determines an execution result of the electronic lock according to the processing state.
As shown in fig. 10, an embodiment of the present invention further discloses a control system of an electronic lock, where the control system specifically includes: server 1001, client 1002 and electronic lock 1003, wherein: the client 1002 is in communication connection with the server 1001, and the server 1001 is in communication connection with the electronic lock 1003.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in an article or device that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A control method of an electronic lock is applied to a server side, wherein the server side is in communication connection with the electronic lock, and the method comprises the following steps:
obtaining a control request for the electronic lock, wherein the control request is an issuing request, a freezing request, a unfreezing request, a validity period modifying request or a deleting request sent to the electronic lock by a user or an administrator;
generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, the control instruction is an operation instruction for controlling the corresponding electronic lock, the processing state of each control instruction is marked as to-be-processed, and the to-be-processed processing state is fed back to the user or the administrator;
sending each control instruction to the electronic lock, so that the electronic lock executes each control instruction to obtain a corresponding execution result;
and marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result, and the processing state of the preset mark is fed back to the user or the administrator.
2. The method of claim 1, wherein when the control request for the electronic lock is an issue request for the electronic lock, then:
acquiring data information to be issued and an issuing request of the electronic lock;
generating a distributed task according to the distribution request, and marking the processing state of the distributed task as to-be-distributed;
sending the data information to be issued and the issued task to the electronic lock;
and when the execution result of the electronic lock on the issuing request is received, the processing state of the issuing task is modified to be issued.
3. The method of claim 1, wherein when the control request to the electronic lock is a processing request to the electronic lock, the processing request being a freeze request, a thaw request, a modify validity period request, or a delete request, then:
obtaining a processing request for the electronic lock;
generating a processing task according to the processing request, and marking the processing state of the processing task as to-be-processed;
sending the processing task to the electronic lock;
and when the execution result of the electronic lock on the processing request is received, modifying the processing state of the processing task to be processed.
4. A control method of an electronic lock is applied to a server side, wherein the server side is in communication connection with a plurality of electronic locks, and the method comprises the following steps:
obtaining batch control requests for the electronic locks;
generating batch control tasks for controlling the electronic locks according to the batch control requests, wherein each control task comprises at least one control instruction, marking the processing state of each control instruction as to-be-processed, and feeding back the to-be-processed processing state to a user or an administrator;
sending each control instruction to each electronic lock;
and marking the processing state of each control instruction as a corresponding preset mark according to the execution result of each electronic lock on each control instruction, wherein the preset mark corresponds to the execution result, and the processing state of the preset mark is fed back to the user or the administrator.
5. A control device for an electronic lock, comprising:
the first processing unit is used for obtaining a control request for the electronic lock, wherein the control request is an issuing request, a freezing request, a unfreezing request, a validity period modifying request or a deleting request which is sent to the electronic lock by a user or an administrator;
the second processing unit is used for generating a control task for controlling the electronic lock according to the control request, wherein the control task comprises at least one control instruction, the control instruction is an operation instruction for controlling the corresponding electronic lock, the processing state of each control instruction is marked as to be processed, and the to-be-processed processing state is fed back to the user or the administrator;
the third processing unit is used for sending each control instruction to the electronic lock, so that the electronic lock executes each control instruction to obtain a corresponding execution result;
and the fourth processing unit is used for marking the processing state of each control instruction as a corresponding preset mark according to the execution result of the electronic lock on each control instruction, wherein the preset mark corresponds to the execution result, and the processing state of the preset mark is fed back to the user or the administrator.
6. A control device for an electronic lock, comprising:
the fifth processing unit is used for obtaining batch control requests of all the electronic locks;
the sixth processing unit is configured to generate batch control tasks for controlling the electronic locks according to the batch control requests, where each control task includes at least one control instruction, mark a processing state of each control instruction as to-be-processed, and feed back the to-be-processed processing state to a user or an administrator;
the seventh processing unit is used for sending each control instruction to each electronic lock;
and the eighth processing unit is configured to mark the processing state of each control instruction as a corresponding preset mark according to an execution result of each control instruction by each electronic lock, where the preset mark corresponds to the execution result, and feed back the processing state of the preset mark to the user or the administrator.
7. A control system for an electronic lock, comprising: server side, client and electronic lock, wherein: the client is in communication connection with the server, and the server is in communication connection with the electronic lock;
the server executes the control method of the electronic lock according to any one of claims 1 to 3 or claim 4.
CN201811453456.8A 2018-06-29 2018-11-30 Control method, device and system of electronic lock Active CN111343213B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811453456.8A CN111343213B (en) 2018-11-30 2018-11-30 Control method, device and system of electronic lock
PCT/CN2019/093933 WO2020001652A1 (en) 2018-06-29 2019-06-29 Systems and methods for informarion management
US17/137,281 US20210119803A1 (en) 2018-06-29 2020-12-29 Systems and methods for information management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811453456.8A CN111343213B (en) 2018-11-30 2018-11-30 Control method, device and system of electronic lock

Publications (2)

Publication Number Publication Date
CN111343213A CN111343213A (en) 2020-06-26
CN111343213B true CN111343213B (en) 2021-12-24

Family

ID=71185075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811453456.8A Active CN111343213B (en) 2018-06-29 2018-11-30 Control method, device and system of electronic lock

Country Status (1)

Country Link
CN (1) CN111343213B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113787926B (en) * 2021-08-10 2023-08-01 华人运通(江苏)技术有限公司 Vehicle electronic lock control method, device and equipment and vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341885A (en) * 2017-07-03 2017-11-10 杭州复恒科技有限公司 A kind of intelligent door lock management system
CN107800872A (en) * 2017-09-30 2018-03-13 浙江福山电子科技有限责任公司 A kind of mobile terminal opens method, mobile terminal and the intelligent lock system of smart lock

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9670696B2 (en) * 2013-03-11 2017-06-06 Spectrum Brands, Inc. Electronic deadbolt
CN107749096B (en) * 2016-05-04 2024-03-05 睿芯联科(北京)电子科技有限公司 Safety electronic lock based on ultrahigh frequency RFID and control method thereof
CN106295316A (en) * 2016-07-27 2017-01-04 维沃移动通信有限公司 A kind of generation method of unlocking pin and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341885A (en) * 2017-07-03 2017-11-10 杭州复恒科技有限公司 A kind of intelligent door lock management system
CN107800872A (en) * 2017-09-30 2018-03-13 浙江福山电子科技有限责任公司 A kind of mobile terminal opens method, mobile terminal and the intelligent lock system of smart lock

Also Published As

Publication number Publication date
CN111343213A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US8604903B2 (en) Electronic locking system with wireless update and cascade lock control
US20150142140A1 (en) In-home-presence probability calculation method, server apparatus, and in-home-presence probability calculation system
WO2016131243A1 (en) System, method and device for processing permissions of door lock
TW201737162A (en) Network control method and device for a door lock, and storage media
US20150081785A1 (en) Distributed events in an access control system
CN104574598A (en) Centralized control method and system for intelligent door lock
DE112013007104B4 (en) Monitoring system, building management device, monitoring method and program
US11893844B2 (en) Face authentication machine and face authentication method
US10191909B2 (en) File system creating and deleting apparatus and driving method thereof
KR102142233B1 (en) Methods, systems and devices for managing primary and secondary databases
CN111343213B (en) Control method, device and system of electronic lock
US8930532B2 (en) Session management in a thin client system for effective use of the client environment
CN105139186A (en) Community management table generating method and community management table generating system
US10043328B2 (en) Electronic door lock management method and system
JP2005524917A5 (en)
US20230260062A1 (en) Building monitoring system
CN110796273A (en) Conference management method, intelligent lock and conference management system
JP5205695B2 (en) Display control program, display control method, client device, and system
US9977726B2 (en) System and method for smart framework for network backup software debugging
US9621644B2 (en) Joining a distributed database
JP3945402B2 (en) Gateway device, remote monitoring system, program and recording medium
CN115731684A (en) Control method and device of wireless key switch equipment
JP2015148512A (en) time correction system
CN113470223A (en) Intelligent lock user management method, device, storage medium and system
AU2021468029A1 (en) Management system for hourly rental facility

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant