WO2016155242A1 - Main control board for electronic lock, and control circuit, system and method for electronic lock - Google Patents
Main control board for electronic lock, and control circuit, system and method for electronic lock Download PDFInfo
- Publication number
- WO2016155242A1 WO2016155242A1 PCT/CN2015/089196 CN2015089196W WO2016155242A1 WO 2016155242 A1 WO2016155242 A1 WO 2016155242A1 CN 2015089196 W CN2015089196 W CN 2015089196W WO 2016155242 A1 WO2016155242 A1 WO 2016155242A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic lock
- circuit
- control circuit
- processor
- control
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
Definitions
- the present invention relates to the field of control, and in particular to a control circuit, system and method for a main control board and an electronic lock of an electronic lock.
- the existing electronic lock (such as: hotel lock) generally uses an electronic lock body, and uses a card to open the door. When the customer checks in, the card is opened at the front desk of the hotel, and the card is opened to open the door.
- the general structure and function of this kind of hotel lock are relatively simple, and can only realize the function of swiping the card to open the door. Because it can't be connected, it can't realize the status monitoring, burglar alarm, remote control and other functions of the hotel lock, for the management and maintenance of the hotel lock. It is inconvenient.
- the hotel uses a lot of hotel locks, and if all the above hotel locks are replaced, the cost is high.
- Embodiments of the present invention provide a control circuit, system, and method for a main control board and an electronic lock of an electronic lock, so as to solve the problem that the electronic lock cannot be remotely controlled in the prior art.
- a control circuit for an electronic lock is provided.
- a control circuit for an electronic lock includes: a communication circuit; a processor coupled to the communication circuit for communicating with a server through the communication circuit; and a drive circuit coupled to the processor and
- An electronic lock body connection disposed in the electronic lock is configured to receive, by the processor, a control command sent by the server to drive the electronic lock body to operate.
- the communication circuit comprises: a wireless communication circuit connected to the processor; and an antenna connected to the wireless communication circuit.
- the driving circuit is further configured to read status data of the electronic lock body and send the status data to the processor.
- control circuit further includes: a memory connected to the processor, configured to store the door card information of the electronic lock and/or the password information of the electronic lock.
- control circuit further includes: a card reader interface circuit, connected to the card reader disposed in the electronic lock, for reading the card information received by the card reader, and reading The door card information sent to the station Said processor.
- control circuit further includes: a cryptographic keyboard circuit, configured to receive the input unlock password, and send the unlock password to the processor.
- a cryptographic keyboard circuit configured to receive the input unlock password, and send the unlock password to the processor.
- control circuit further includes: an anti-lock detection circuit, configured to detect an anti-lock state of the electronic lock, and send the detection result to the processor, where the detection result is the detected electronic The lock lock status.
- an anti-lock detection circuit configured to detect an anti-lock state of the electronic lock, and send the detection result to the processor, where the detection result is the detected electronic The lock lock status.
- control circuit further includes: an anti-theft alarm detecting circuit, configured to detect an abnormally-on state of the electronic lock.
- control circuit further includes: a power circuit connected to the power supply for supplying power to the control circuit.
- a main control board for an electronic lock is provided.
- a main control board for an electronic lock according to the present invention includes the control circuit of any of the electronic locks provided by the above.
- a control system for an electronic lock is provided.
- a control system for an electronic lock according to the present invention includes a server; a control circuit disposed in the electronic lock for receiving a control command sent by the server, and controlling an electronic lock body action in the electronic lock according to the control command, wherein
- the control circuit is any one of the control circuits of the electronic lock provided by the above.
- a method of controlling an electronic lock is provided.
- a control method for an electronic lock includes: a processor receiving, by a communication circuit, a control command sent by a server, wherein the processor is a processor in a control circuit of any one of the electronic locks provided by the above content
- the communication circuit is a communication circuit in the control circuit; and the processor sends the control command to a drive circuit in the control circuit to cause the drive circuit to drive an electronic lock in the electronic lock Body movements.
- a control circuit having a structure: a communication circuit; a processor connected to the communication circuit for communicating with a server through the communication circuit; and a drive circuit connected to the processor, And being connected to the electronic lock body disposed in the electronic lock, and configured to receive the control command sent by the server by the processor to drive the electronic lock body to operate.
- the driving circuit can remotely control the state of the electronic lock switch, and solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the state of the electronic lock switch. Moreover, such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
- FIG. 1 is a schematic structural diagram of a control circuit of an electronic lock according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a control circuit of an electronic lock according to a preferred embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a control system of an electronic lock according to an embodiment of the present invention.
- FIG. 4 is a flow chart of a method of controlling an electronic lock in accordance with an embodiment of the present invention.
- a control circuit for an electronic lock is provided.
- 1 is a schematic diagram of a control circuit of an electronic lock according to an embodiment of the present invention.
- the control circuit mainly includes a processor 10, a communication circuit 20, and a drive circuit 30, wherein the processor 10 and the communication circuit 20 are Connected, the processor 10 is configured to communicate with the server through a communication circuit, the drive circuit 30 is connected to the processor, and is connected to the electronic lock body disposed in the electronic lock
- the driving circuit 30 is configured to receive a control command sent by the server by the processor to drive the electronic lock body to operate.
- the processor when the processor communicates with the server, an embedded program for communication is preset, and information is transmitted through the communication circuit.
- the processor can be a single chip microcomputer, an ARM processor, or the like.
- the control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on) or an anti-lock command (ie, an instruction to control the electronic lock lock).
- the specific process of the embodiment of the present invention is: the server sends a unlocking instruction (anti-locking instruction) to the processor in the control circuit through the communication circuit, and the processor receives the unlocking instruction (anti-locking instruction) through the communication circuit, and then connects with the electronic lock body.
- the driving circuit drives the electronic lock body to perform an action corresponding to the above-described unlocking command (anti-locking command), thereby realizing the door opening (closing) operation.
- the electronic lock body disposed in the electronic lock generally has a control interface, and the drive circuit provides a control signal to the electronic lock body through the above control interface, thereby driving the electronic lock body.
- the server can remotely send an unlock command or an anti-lock command to the processor.
- a driving circuit used in conjunction with the processor in the control circuit after receiving the unlocking command or the anti-locking command, the processor can control the switching state of the electronic lock through the driving circuit connected thereto, so that the server passes the processor and the driving circuit.
- the electronic lock switch state can be remotely controlled, which solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the electronic lock switch state.
- such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
- the communication circuit 20 includes an antenna 21 and a wireless communication circuit 22, wherein the antenna 21 is connected to the wireless communication circuit 22, and the wireless communication circuit 22 is connected to the processor 10.
- the antenna 21 may be a PCB antenna, a ceramic antenna, or a high frequency wire or the like.
- the wireless communication circuit 22 can be a 433 Mhz wireless communication circuit, a 900 Mhz wireless communication circuit, Bluetooth, Zigbee, WIFI, and the like.
- wireless communication can be realized between the server and the processor by providing an antenna and a wireless communication circuit in the communication circuit.
- the driving circuit 30 is further configured to read status data of the electronic lock body and send the status data to the processor 10.
- the electronic lock body generally has a state interface, and the drive circuit can read the state data of the electronic lock body through the state interface.
- the electronic lock has two status data, one status data is on, and the other status data is anti-lock.
- the specific process is: the driving circuit 30 reads the state data of the electronic lock body through the state interface of the electronic lock body, and sends the read state data to the processor 10, and the processor 10 sends the received state data.
- the server stores the received status data.
- the management personnel of the electronic lock do not need to personally check the switch state of the room door, and the server can query the status data of the electronic lock through the server to learn the switch state of the room door corresponding to the electronic lock, and achieve the management personnel who improve the electronic lock.
- the efficiency and convenience of the effect are not need to personally check the switch state of the room door, and the server can query the status data of the electronic lock through the server to learn the switch state of the room door corresponding to the electronic lock, and achieve the management personnel who improve the electronic lock.
- the control circuit of the electronic lock provided by the embodiment of the present invention further includes a memory 40.
- the memory 40 is connected to the processor 10, and the memory 40 is configured to store the door card information of the electronic lock and/or the password information of the electronic lock, wherein the door card information and the password information of the electronic lock are used to open the electronic lock, and the specific information is
- the content can be remotely set by the server, and the server can also set the above-mentioned card information and password information, the above-mentioned door card information or the validity period of the above-mentioned password information.
- the door card information and password information For the door card information and password information, the door card information or the password information with the expiration date set, if the door card information and the password information, the door card information or the password information are used within the validity period, the electronic lock unlocking action can be realized, but if the validity period is exceeded, The processor will automatically delete the above-mentioned door card information and password information, door card information or password information, so that the corresponding door card or password is invalidated, and the unlocking action of the electronic lock cannot be realized.
- the specific process of the embodiment of the present invention is: the server sends the door card information, the password information or the door card information and the password information to the processor in the control circuit through the communication circuit, and the processor stores the above information after receiving the above information through the communication circuit.
- the processor communicates with the server, the preset embedded program for communication can also be stored in the memory.
- the control circuit of the electronic lock provided by the embodiment of the present invention further includes a card reader interface circuit 50.
- the card reader interface circuit 50 is not only connected to the card reader provided in the electronic lock, but also connected to the processor 10, the card reader interface circuit 50 is used to read the card information received by the card reader, and will read The arrived door card information is sent to the processor 10. It should be noted that the above card reader is present in the electronic lock itself.
- the specific process of the embodiment of the present invention is: when the first customer wants to open the door by means of the way of swiping the electronic lock, the card reader interface circuit reads the card information received by the card reader, and reads the information.
- the door card information is sent to the processor, and the processor verifies the card information read by the card reader interface circuit through the door card information stored in the memory, if the card information read by the card reader interface circuit is stored in the memory
- the card information is consistent (that is, the card information read by the card reader interface circuit is consistent with the card information previously set by the server), indicating that the card information read by the card reader interface circuit is verified, and the processor is driven.
- the circuit drives the electronic lock body to perform an action corresponding to the unlocking command, thereby realizing the door opening operation, wherein the first customer in this embodiment is a customer who swipes the card against the electronic lock.
- the processor can also upload the card information received through the card reader interface circuit to the server, so that the card opening situation (ie, electronic) can be realized.
- the record of the lock opening condition achieves the effect of increasing safety.
- the control circuit of the electronic lock provided by the embodiment of the present invention further includes a PIN pad. Circuit 60.
- the PIN pad circuit 60 is coupled to the processor 10 for receiving the entered unlock code and transmitting the unlock code to the processor 10. It should be noted that when the control circuit includes the PIN pad circuit 60, the outer lock case panel of the electronic lock is a PIN pad panel, and the PIN pad circuit 60 receives the unlock code input by the second client through the PIN pad panel.
- the specific process of the embodiment of the present invention is: when the second client inputs the unlock password by using the password keyboard panel, the password keyboard circuit receives the unlock password input by the second client through the password keyboard panel, and receives the password.
- the unlock password is sent to the processor, and the processor verifies the unlock password received through the password keyboard circuit through the password information stored in the memory, if the unlock password received through the password keyboard circuit and the password information stored in the memory
- the password is consistent (that is, the unlock password received through the PIN pad circuit is consistent with the password in the password information previously set by the server), indicating that the unlock password received through the PIN pad circuit is verified, and then the processor controls the drive circuit.
- the second customer in the embodiment is a customer who inputs an unlock password in the password keyboard panel, and the second customer and the first customer may be the same customer, Can be different customers.
- the processor may also upload the unlock password received through the PIN pad circuit to the server, so that the opening of the input password (ie, the electronic lock is turned on) can be implemented.
- the record in turn, achieves the effect of increasing security.
- control circuit of the electronic lock provided by the embodiment of the present invention further includes an anti-lock detection circuit.
- the anti-lock detection circuit is not only connected to the processor 10, but also connected to a square lock tongue or an anti-lock knob provided in the electronic lock.
- the anti-lock detection circuit is configured to detect an anti-lock state of the electronic lock, and send the detection result to the processor, wherein the detection result is an anti-lock state of detecting the electronic lock.
- the anti-lock state is divided into two types, namely, anti-lock and non-lock.
- the position of the square locking bolt or the anti-locking knob is divided into an open position and a locked position, wherein when the square locking tongue or the anti-locking knob is in the open position, the electronic lock is not unlocked; when the square locking bolt or the anti-locking knob is in the locked position, the electronic lock is indicated Being locked.
- the anti-lock detecting circuit determines whether the electronic lock is unlocked by detecting the position of the square locking tongue or the anti-locking knob connected thereto, and if the square locking tongue or the anti-locking knob is located at the locking position, the anti-lock detecting circuit detects The anti-lock state of the electronic lock is anti-lock, then the anti-lock detection circuit feeds back "anti-lock” to the processor; if the square lock or the anti-lock knob is in the open position, the anti-lock detection circuit detects that the anti-lock state of the electronic lock is "unlocked", then The anti-lock detection circuit feedback is not locked to the processor.
- the processor sends the received detection result to the server, and the server stores the received detection result, so that the electronic lock manager can quickly pass the server.
- the inquiry knows the state of use of the electronic lock, and provides convenience and timeliness for the management personnel of the above electronic lock to understand the use state of the electronic lock.
- the control circuit of the electronic lock provided by the embodiment of the present invention further includes an anti-theft alarm detecting circuit, and the anti-theft alarm detecting circuit is connected to the processor 10, and the anti-theft alarm detecting circuit is configured to detect an abnormal open state of the electronic lock.
- the burglar alarm circuit is provided with a micro switch, and the default state of the micro switch is the off state when the electronic lock is normally opened or not opened.
- the open state of the electronic lock is divided into two situations, namely normal open and abnormal open (also called abnormal open).
- detecting the abnormal open state of the electronic lock refers to whether the electronic lock is abnormally opened (abnormally turned on), such as: violently opening, when the door card information is not received or the password is unlocked.
- the specific process of the embodiment of the present invention is: when the electronic lock receives a certain external force, the micro switch changes from the default off state to the closed state under the action of the external force, and the burglar alarm detection circuit detects the open state of the electronic lock. If it is abnormally turned on (that is, abnormally turned on), an alarm message is sent to the processor, and the processor sends the received alarm information to the server to remind the administrator of the electronic lock that the electronic lock is abnormally opened, and there is a security risk.
- the control circuit of the electronic lock provided by the embodiment of the present invention further includes a power supply circuit 70.
- the power supply circuit 70 is connected to a power supply circuit 70 for supplying power to the control circuit.
- the power supply source may be a battery or a battery case or the like.
- control circuit can be normally operated by setting a power supply circuit in the control circuit.
- the embodiment of the invention also provides a main control board for an electronic lock.
- the main control board for the electronic lock includes any one of the control circuits of the electronic lock provided by the above content of the embodiment of the present invention.
- the main control board may be a PCB board, and the main control board is sized and shaped to be installed in the lock case of the existing electronic lock, wherein the main control board can be installed into the existing electronic lock by an additional installation. .
- control circuit is conveniently installed in the electronic lock by integrating the control circuit in the main control board suitable for being installed in the electronic lock case, and the existing electronic lock networking and monitoring and remote control are realized.
- the control circuit of the electronic lock provided by the embodiment of the invention has the advantages of simple structure and easy realization.
- the embodiment of the invention also provides a control system for an electronic lock.
- 3 is a schematic structural diagram of a control system of an electronic lock according to an embodiment of the present invention.
- the control system mainly includes a server 100 and a control circuit 200, wherein the control circuit 200 is disposed in an electronic lock, and the control circuit 200
- the control module sends a control command sent by the server 100, and controls the electronic lock body action in the electronic lock according to the control command.
- the control circuit is any control circuit of the electronic lock provided by the foregoing content of the embodiment of the present invention.
- the control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on), or an anti-lock command (ie, an instruction to control the electronic lock lock).
- the server first sends a control command to the control circuit, and the control circuit controls the electronic lock body in the electronic lock to perform an action consistent with the control command according to the received control command, thereby realizing the state of the electronic lock switch.
- Remote monitoring enables electronic lock managers to centrally manage electronic locks, which has the effect of improving the convenience of electronic lock managers in managing electronic locks.
- the embodiment of the invention also provides a method for controlling an electronic lock.
- 4 is a flow chart of a method for controlling an electronic lock according to an embodiment of the present invention. As shown in FIG. 4, the method mainly includes steps S402 to S404, wherein:
- the processor receives the control command sent by the server through the communication circuit, where the processor is a processor in the control circuit of the electronic lock provided by any of the foregoing contents of the embodiments of the present invention, and the communication circuit is the foregoing embodiment of the present invention.
- the control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on), or an anti-lock command (ie, an instruction to control the electronic lock lock).
- the processor sends a control command to the driving circuit in the control circuit, so that the driving circuit drives the electronic lock body in the electronic lock to operate.
- the control command is an unlock command
- the processor sends the unlock command to the drive circuit in the control circuit, and the drive circuit drives the electronic lock body to perform an action corresponding to the instruction to control the electronic lock to open, thereby implementing a door opening operation
- the processor sends the control command to the drive circuit in the control circuit, and the drive circuit drives the electronic lock body to perform an action corresponding to the instruction to control the electronic lock lock, thereby implementing the door closing operation.
- the processor controls the electronic lock body in the electronic lock to perform the action consistent with the control command according to the control circuit receiving the control command, thereby realizing the remote monitoring of the electronic lock switch state, thereby achieving the remote Controls the effect of the electronic lock switch state.
- the control circuit receiving the control command, thereby realizing the remote monitoring of the electronic lock switch state, thereby achieving the remote Controls the effect of the electronic lock switch state.
- such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
- the present invention solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the state of the electronic lock switch.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, mobile terminal, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
Description
本发明涉及控制领域,具体而言,涉及一种用于电子锁的主控板及电子锁的控制电路、系统和方法。The present invention relates to the field of control, and in particular to a control circuit, system and method for a main control board and an electronic lock of an electronic lock.
现有的电子锁(比如:酒店锁)一般使用电子锁体,使用刷卡开门的方式,客户入住时到酒店前台开卡,刷卡开门入住。这种酒店锁一般结构和功能都比较简单,只能实现刷卡开门的功能,因无法联网,导致无法实现对酒店锁的状态监控、防盗报警、远程控制等功能,为酒店锁的管理和维护带来了不便。现在酒店大量使用这种酒店锁,如果将上述酒店锁全部替换的话,成本较高。The existing electronic lock (such as: hotel lock) generally uses an electronic lock body, and uses a card to open the door. When the customer checks in, the card is opened at the front desk of the hotel, and the card is opened to open the door. The general structure and function of this kind of hotel lock are relatively simple, and can only realize the function of swiping the card to open the door. Because it can't be connected, it can't realize the status monitoring, burglar alarm, remote control and other functions of the hotel lock, for the management and maintenance of the hotel lock. It is inconvenient. Nowadays, the hotel uses a lot of hotel locks, and if all the above hotel locks are replaced, the cost is high.
针对现有技术中无法远程控制电子锁的问题,目前尚未提出有效的解决方案。In view of the problem that the electronic lock cannot be remotely controlled in the prior art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种用于电子锁的主控板及电子锁的控制电路、系统和方法,以解决现有技术中无法远程控制电子锁的问题。Embodiments of the present invention provide a control circuit, system, and method for a main control board and an electronic lock of an electronic lock, so as to solve the problem that the electronic lock cannot be remotely controlled in the prior art.
根据本发明实施例的一个方面,提供了一种电子锁的控制电路。According to an aspect of an embodiment of the present invention, a control circuit for an electronic lock is provided.
根据本发明的电子锁的控制电路包括:通信电路;处理器,与所述通信电路相连接,用于通过所述通信电路与服务器通信;以及驱动电路,与所述处理器连接,并与所述电子锁内设置的电子锁体连接,用于通过所述处理器接收所述服务器发送的控制指令,驱动所述电子锁体动作。A control circuit for an electronic lock according to the present invention includes: a communication circuit; a processor coupled to the communication circuit for communicating with a server through the communication circuit; and a drive circuit coupled to the processor and An electronic lock body connection disposed in the electronic lock is configured to receive, by the processor, a control command sent by the server to drive the electronic lock body to operate.
可选地,所述通信电路包括:无线通信电路,与所述处理器连接;以及天线,与所述无线通信电路连接。Optionally, the communication circuit comprises: a wireless communication circuit connected to the processor; and an antenna connected to the wireless communication circuit.
可选地,所述驱动电路还用于读取电子锁体的状态数据,并将所述状态数据发送至所述处理器。Optionally, the driving circuit is further configured to read status data of the electronic lock body and send the status data to the processor.
可选地,所述控制电路还包括:存储器,与所述处理器连接,用于存储所述电子锁的门卡信息和/或所述电子锁的密码信息。Optionally, the control circuit further includes: a memory connected to the processor, configured to store the door card information of the electronic lock and/or the password information of the electronic lock.
可选地,所述控制电路还包括:读卡器接口电路,与所述电子锁内设置的读卡器连接,用于读取所述读卡器接收到的门卡信息,并将读取到的所述门卡信息发送至所 述处理器。Optionally, the control circuit further includes: a card reader interface circuit, connected to the card reader disposed in the electronic lock, for reading the card information received by the card reader, and reading The door card information sent to the station Said processor.
可选地,所述控制电路还包括:密码键盘电路,用于接收输入的开锁密码,并将所述开锁密码发送至所述处理器。Optionally, the control circuit further includes: a cryptographic keyboard circuit, configured to receive the input unlock password, and send the unlock password to the processor.
可选地,所述控制电路还包括:反锁检测电路,用于检测所述电子锁的反锁状态,并将检测结果发送至所述处理器,其中,所述检测结果为检测到的所述电子锁的反锁状态。Optionally, the control circuit further includes: an anti-lock detection circuit, configured to detect an anti-lock state of the electronic lock, and send the detection result to the processor, where the detection result is the detected electronic The lock lock status.
可选地,所述控制电路还包括:防盗报警检测电路,用于检测所述电子锁的异常开启状态。Optionally, the control circuit further includes: an anti-theft alarm detecting circuit, configured to detect an abnormally-on state of the electronic lock.
可选地,所述控制电路还包括:电源电路,与供电电源连接,用于向所述控制电路供电。Optionally, the control circuit further includes: a power circuit connected to the power supply for supplying power to the control circuit.
根据本发明实施例的另一方面,提供了一种用于电子锁的主控板。According to another aspect of an embodiment of the present invention, a main control board for an electronic lock is provided.
根据本发明的用于电子锁的主控板包括上述内容所提供的任一种所述电子锁的控制电路。A main control board for an electronic lock according to the present invention includes the control circuit of any of the electronic locks provided by the above.
根据本发明实施例的另一方面,提供了一种电子锁的控制系统。According to another aspect of an embodiment of the present invention, a control system for an electronic lock is provided.
根据本发明的电子锁的控制系统包括服务器;控制电路,设置在电子锁内,用于接收所述服务器发送的控制指令,根据所述控制指令控制所述电子锁内的电子锁体动作,其中,控制电路为上述内容所提供的任一种所述电子锁的控制电路。A control system for an electronic lock according to the present invention includes a server; a control circuit disposed in the electronic lock for receiving a control command sent by the server, and controlling an electronic lock body action in the electronic lock according to the control command, wherein The control circuit is any one of the control circuits of the electronic lock provided by the above.
根据本发明实施例的另一方面,提供了一种电子锁的控制方法。According to another aspect of an embodiment of the present invention, a method of controlling an electronic lock is provided.
根据本发明的电子锁的控制方法包括:处理器通过通信电路接收服务器发送的控制指令,其中,所述处理器为上述内容所提供的任一种所述的电子锁的控制电路中的处理器,所述通信电路为所述控制电路中的通信电路;以及所述处理器发送所述控制指令至所述控制电路中的驱动电路,以使所述驱动电路驱动所述电子锁中的电子锁体动作。A control method for an electronic lock according to the present invention includes: a processor receiving, by a communication circuit, a control command sent by a server, wherein the processor is a processor in a control circuit of any one of the electronic locks provided by the above content The communication circuit is a communication circuit in the control circuit; and the processor sends the control command to a drive circuit in the control circuit to cause the drive circuit to drive an electronic lock in the electronic lock Body movements.
根据本发明实施例,采用具有以下结构的控制电路:通信电路;处理器,与所述通信电路相连接,用于通过所述通信电路与服务器通信;以及驱动电路,与所述处理器连接,并与所述电子锁内设置的电子锁体连接,用于通过所述处理器接收所述服务器发送的控制指令,驱动所述电子锁体动作。通过设置通信电路,使得处理器和服务器之间可以进行通信,进而服务器可以远程向处理器发送开锁指令或者反锁指令。通过在控制电路中设置与处理器配合使用的驱动电路,处理器在接收到开锁或者反锁指令后,通过与其连接的驱动电路即可控制电子锁的开关状态,使得服务器通过处理器 和驱动电路就可以对电子锁开关状态进行远程控制,解决了现有技术中无法远程控制电子锁的问题,进而达到了远程控制电子锁开关状态的效果。并且,此种通过控制电路远程控制电子锁开关状态的方式,使得电子锁的管理人员可以对电子锁进行集中管理,达到了提高电子锁的管理人员管理电子锁的便利性的效果。According to an embodiment of the present invention, a control circuit having a structure: a communication circuit; a processor connected to the communication circuit for communicating with a server through the communication circuit; and a drive circuit connected to the processor, And being connected to the electronic lock body disposed in the electronic lock, and configured to receive the control command sent by the server by the processor to drive the electronic lock body to operate. By setting up the communication circuit, communication between the processor and the server is possible, and the server can remotely send an unlock command or an anti-lock command to the processor. By setting a driving circuit used in conjunction with the processor in the control circuit, after receiving the unlocking or unlocking command, the processor can control the switching state of the electronic lock through the driving circuit connected thereto, so that the server passes the processor. The driving circuit can remotely control the state of the electronic lock switch, and solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the state of the electronic lock switch. Moreover, such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which are incorporated in the claims In the drawing:
图1是根据本发明实施例的电子锁的控制电路的结构示意图;1 is a schematic structural diagram of a control circuit of an electronic lock according to an embodiment of the present invention;
图2是根据本发明优选实施例的电子锁的控制电路的结构示意图;2 is a schematic structural diagram of a control circuit of an electronic lock according to a preferred embodiment of the present invention;
图3是根据本发明实施例的电子锁的控制系统的结构示意图;以及3 is a schematic structural diagram of a control system of an electronic lock according to an embodiment of the present invention;
图4是根据本发明实施例的电子锁的控制方法的流程图。4 is a flow chart of a method of controlling an electronic lock in accordance with an embodiment of the present invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本发明实施例,提供了一种电子锁的控制电路。图1是根据本发明实施例的电子锁的控制电路的示意图,如图1所示,该控制电路主要包括处理器10、通信电路20和驱动电路30,其中,处理器10与通信电路20相连接,处理器10用于通过通信电路与服务器通信,驱动电路30与处理器连接,并与电子锁内设置的电子锁体连 接,驱动电路30用于通过处理器接收服务器发送的控制指令,驱动电子锁体动作。According to an embodiment of the invention, a control circuit for an electronic lock is provided. 1 is a schematic diagram of a control circuit of an electronic lock according to an embodiment of the present invention. As shown in FIG. 1, the control circuit mainly includes a processor 10, a communication circuit 20, and a drive circuit 30, wherein the processor 10 and the communication circuit 20 are Connected, the processor 10 is configured to communicate with the server through a communication circuit, the drive circuit 30 is connected to the processor, and is connected to the electronic lock body disposed in the electronic lock The driving circuit 30 is configured to receive a control command sent by the server by the processor to drive the electronic lock body to operate.
具体地,当处理器与服务器之间进行通信时,会调用预先设置好的用于通信的嵌入式程序,进而通过通信电路实现信息的传递。处理器可以是单片机、ARM处理器等。控制指令可以是开锁指令(即,控制电子锁开启的指令),还可以是反锁指令(即,控制电子锁反锁的指令)。Specifically, when the processor communicates with the server, an embedded program for communication is preset, and information is transmitted through the communication circuit. The processor can be a single chip microcomputer, an ARM processor, or the like. The control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on) or an anti-lock command (ie, an instruction to control the electronic lock lock).
本发明实施例具体过程为:服务器通过通信电路向控制电路中的处理器下发开锁指令(反锁指令),处理器通过通信电路接收到上述开锁指令(反锁指令)后,通过与电子锁体连接的驱动电路驱动电子锁体执行与上述开锁指令(反锁指令)相对应的动作,从而实现开门(关门)操作。需要说明的是,电子锁内设置的电子锁体一般都留有控制接口,驱动电路通过上述控制接口向电子锁体提供控制信号,从而可以实现驱动电子锁体动作。The specific process of the embodiment of the present invention is: the server sends a unlocking instruction (anti-locking instruction) to the processor in the control circuit through the communication circuit, and the processor receives the unlocking instruction (anti-locking instruction) through the communication circuit, and then connects with the electronic lock body. The driving circuit drives the electronic lock body to perform an action corresponding to the above-described unlocking command (anti-locking command), thereby realizing the door opening (closing) operation. It should be noted that the electronic lock body disposed in the electronic lock generally has a control interface, and the drive circuit provides a control signal to the electronic lock body through the above control interface, thereby driving the electronic lock body.
在本发明实施例中,通过设置通信电路,使得处理器和服务器之间可以进行通信,进而服务器可以远程向处理器发送开锁指令或者反锁指令。通过在控制电路中设置与处理器配合使用的驱动电路,处理器在接收到开锁指令或者反锁指令后,通过与其连接的驱动电路即可控制电子锁的开关状态,使得服务器通过处理器和驱动电路就可以对电子锁开关状态进行远程控制,解决了现有技术中无法远程控制电子锁的问题,进而达到了远程控制电子锁开关状态的效果。并且,此种通过控制电路远程控制电子锁开关状态的方式,使得电子锁的管理人员可以对电子锁进行集中管理,达到了提高电子锁的管理人员管理电子锁的便利性的效果。In the embodiment of the present invention, by setting the communication circuit, communication between the processor and the server is possible, and the server can remotely send an unlock command or an anti-lock command to the processor. By setting a driving circuit used in conjunction with the processor in the control circuit, after receiving the unlocking command or the anti-locking command, the processor can control the switching state of the electronic lock through the driving circuit connected thereto, so that the server passes the processor and the driving circuit. The electronic lock switch state can be remotely controlled, which solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the electronic lock switch state. Moreover, such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
图2是根据本发明优选实施例的电子锁的控制电路的结构示意图。如图2所示,通信电路20包括天线21和无线通信电路22,其中,天线21与无线通信电路22连接,无线通信电路22和处理器10连接。天线21可以是PCB天线、陶瓷天线或者高频导线等。无线通信电路22可以是433Mhz无线通信电路、900Mhz无线通信电路、蓝牙、Zigbee、WIFI等。在本发明实施例中,通过在通信电路中设置天线和无线通信电路,使得服务器和处理器之间可以实现无线通信。2 is a schematic block diagram of a control circuit of an electronic lock in accordance with a preferred embodiment of the present invention. As shown in FIG. 2, the communication circuit 20 includes an antenna 21 and a wireless communication circuit 22, wherein the antenna 21 is connected to the wireless communication circuit 22, and the wireless communication circuit 22 is connected to the processor 10. The antenna 21 may be a PCB antenna, a ceramic antenna, or a high frequency wire or the like. The wireless communication circuit 22 can be a 433 Mhz wireless communication circuit, a 900 Mhz wireless communication circuit, Bluetooth, Zigbee, WIFI, and the like. In the embodiment of the present invention, wireless communication can be realized between the server and the processor by providing an antenna and a wireless communication circuit in the communication circuit.
可选地,驱动电路30还用于读取电子锁体的状态数据,并将状态数据发送至处理器10。具体地,除了控制接口外,电子锁体一般都还留有状态接口,驱动电路可以通过状态接口读取电子锁体的状态数据。电子锁体有两种状态数据,一种状态数据是开启,另一种状态数据是反锁。具体过程为:驱动电路30通过电子锁体的状态接口读取到电子锁体的状态数据,并将其读取到的状态数据发送至处理器10,处理器10会将收到的状态数据发送至服务器,服务器对接收到的状态数据进行存储。通过本发明 实施例,使得电子锁的管理人员无需亲自去查看房间门的开关状态,可以通过服务器查询电子锁的状态数据,了解到上述电子锁对应的房间门的开关状态,达到了提高电子锁的管理人员的工作效率和便利性的效果。Optionally, the driving circuit 30 is further configured to read status data of the electronic lock body and send the status data to the processor 10. Specifically, in addition to the control interface, the electronic lock body generally has a state interface, and the drive circuit can read the state data of the electronic lock body through the state interface. The electronic lock has two status data, one status data is on, and the other status data is anti-lock. The specific process is: the driving circuit 30 reads the state data of the electronic lock body through the state interface of the electronic lock body, and sends the read state data to the processor 10, and the processor 10 sends the received state data. To the server, the server stores the received status data. By the invention In an embodiment, the management personnel of the electronic lock do not need to personally check the switch state of the room door, and the server can query the status data of the electronic lock through the server to learn the switch state of the room door corresponding to the electronic lock, and achieve the management personnel who improve the electronic lock. The efficiency and convenience of the effect.
可选地,如图2所示,本发明实施例所提供的电子锁的控制电路还包括存储器40。存储器40与处理器10连接,存储器40用于存储电子锁的门卡信息和/或电子锁的密码信息,其中,门卡信息和电子锁的密码信息均用于开启电子锁,上述信息的具体内容可以通过服务器远程设置,并且服务器还可以设置上述门卡信息和密码信息、上述门卡信息或者上述密码信息的有效期。对于设置了有效期的门卡信息和密码信息、门卡信息或者密码信息,若在有效期内,可以通过上述门卡信息和密码信息、门卡信息或者密码信息实现电子锁开锁动作,但若超过有效期,处理器会自动删除上述门卡信息和密码信息、门卡信息或者密码信息,使相应的门卡或者密码失效,也就无法实现电子锁的开锁动作。Optionally, as shown in FIG. 2, the control circuit of the electronic lock provided by the embodiment of the present invention further includes a memory 40. The memory 40 is connected to the processor 10, and the memory 40 is configured to store the door card information of the electronic lock and/or the password information of the electronic lock, wherein the door card information and the password information of the electronic lock are used to open the electronic lock, and the specific information is The content can be remotely set by the server, and the server can also set the above-mentioned card information and password information, the above-mentioned door card information or the validity period of the above-mentioned password information. For the door card information and password information, the door card information or the password information with the expiration date set, if the door card information and the password information, the door card information or the password information are used within the validity period, the electronic lock unlocking action can be realized, but if the validity period is exceeded, The processor will automatically delete the above-mentioned door card information and password information, door card information or password information, so that the corresponding door card or password is invalidated, and the unlocking action of the electronic lock cannot be realized.
本发明实施例具体过程为:服务器通过通信电路向控制电路中的处理器下发门卡信息、密码信息或者门卡信息和密码信息,处理器通过通信电路接收到上述信息后,将上述信息存储在存储器中。需要说明的是,处理器与服务器之间进行通信时,所调用的预先设置好的用于通信的嵌入式程序也可以存储在存储器中。The specific process of the embodiment of the present invention is: the server sends the door card information, the password information or the door card information and the password information to the processor in the control circuit through the communication circuit, and the processor stores the above information after receiving the above information through the communication circuit. In memory. It should be noted that when the processor communicates with the server, the preset embedded program for communication can also be stored in the memory.
可选地,如图2所示,本发明实施例所提供的电子锁的控制电路还包括读卡器接口电路50。读卡器接口电路50不仅与电子锁内设置的读卡器连接,而且还与处理器10连接,读卡器接口电路50用于读取读卡器接收到的门卡信息,并将读取到的门卡信息发送至处理器10。需要说明的是,上述读卡器是电子锁内本身就存在的。本发明实施例具体过程为:当第一客户通过对着电子锁刷卡的方式,欲实现开门操作时,读卡器接口电路读取读卡器接收到的门卡信息,并将读取到的门卡信息发送给处理器,处理器通过存储器中存储的门卡信息对读卡器接口电路读取的门卡信息进行验证,如果读卡器接口电路读取的门卡信息与存储器中存储的门卡信息一致(也即,读卡器接口电路读取的门卡信息与之前通过服务器设置的门卡信息一致),说明读卡器接口电路读取的门卡信息通过验证,处理器通过驱动电路驱动电子锁体执行开锁指令对应的动作,从而实现了开门操作,其中,本实施例中的第一客户为对着电子锁刷卡的客户。并且,不论读卡器接口电路读取到的门卡信息是否通过验证,处理器还可以将通过读卡器接口电路接收到的门卡信息上传至服务器,这样可以实现对刷卡开门情况(即电子锁开启情况)的记录,进而达到了增加安全性的效果。Optionally, as shown in FIG. 2, the control circuit of the electronic lock provided by the embodiment of the present invention further includes a card reader interface circuit 50. The card reader interface circuit 50 is not only connected to the card reader provided in the electronic lock, but also connected to the processor 10, the card reader interface circuit 50 is used to read the card information received by the card reader, and will read The arrived door card information is sent to the processor 10. It should be noted that the above card reader is present in the electronic lock itself. The specific process of the embodiment of the present invention is: when the first customer wants to open the door by means of the way of swiping the electronic lock, the card reader interface circuit reads the card information received by the card reader, and reads the information. The door card information is sent to the processor, and the processor verifies the card information read by the card reader interface circuit through the door card information stored in the memory, if the card information read by the card reader interface circuit is stored in the memory The card information is consistent (that is, the card information read by the card reader interface circuit is consistent with the card information previously set by the server), indicating that the card information read by the card reader interface circuit is verified, and the processor is driven. The circuit drives the electronic lock body to perform an action corresponding to the unlocking command, thereby realizing the door opening operation, wherein the first customer in this embodiment is a customer who swipes the card against the electronic lock. Moreover, regardless of whether the card information read by the card reader interface circuit passes the verification, the processor can also upload the card information received through the card reader interface circuit to the server, so that the card opening situation (ie, electronic) can be realized. The record of the lock opening condition) achieves the effect of increasing safety.
可选地,如图2所示,本发明实施例所提供的电子锁的控制电路还包括密码键盘 电路60。密码键盘电路60与处理器10连接,密码键盘电路60用于接收输入的开锁密码,并将开锁密码发送至处理器10。需要说明的是,当控制电路包括密码键盘电路60时,电子锁的外锁壳面板为密码键盘面板,密码键盘电路60通过密码键盘面板接收第二客户输入的开锁密码。Optionally, as shown in FIG. 2, the control circuit of the electronic lock provided by the embodiment of the present invention further includes a PIN pad. Circuit 60. The PIN pad circuit 60 is coupled to the processor 10 for receiving the entered unlock code and transmitting the unlock code to the processor 10. It should be noted that when the control circuit includes the PIN pad circuit 60, the outer lock case panel of the electronic lock is a PIN pad panel, and the PIN pad circuit 60 receives the unlock code input by the second client through the PIN pad panel.
本发明实施例的具体过程为:当第二客户通过在密码键盘面板输入开锁密码的方式,欲实现开门操作时,密码键盘电路通过密码键盘面板接收到第二客户输入的开锁密码,并将接收到的开锁密码发送至处理器,处理器通过存储器中存储的密码信息对通过密码键盘电路接收到的开锁密码进行验证,如果通过密码键盘电路接收到的开锁密码与存储器中存储的密码信息中的密码一致(也即,通过密码键盘电路接收到的开锁密码与之前通过服务器设置的密码信息中的密码一致),说明通过密码键盘电路接收到的开锁密码通过验证,那么处理器通过控制驱动电路来驱动电子锁体执行开锁指令对应的动作,从而实现开门操作,其中,本实施例中的第二客户为在密码键盘面板输入开锁密码的客户,第二客户与第一客户可以是同一客户,也可以是不同的客户。并且,不论通过密码键盘电路接收到的开锁密码是否通过验证,处理器还可以将通过密码键盘电路接收到的上述开锁密码上传至服务器,这样可以实现对输入密码开门情况(即电子锁开启情况)的记录,进而达到了增加安全性的效果。The specific process of the embodiment of the present invention is: when the second client inputs the unlock password by using the password keyboard panel, the password keyboard circuit receives the unlock password input by the second client through the password keyboard panel, and receives the password. The unlock password is sent to the processor, and the processor verifies the unlock password received through the password keyboard circuit through the password information stored in the memory, if the unlock password received through the password keyboard circuit and the password information stored in the memory The password is consistent (that is, the unlock password received through the PIN pad circuit is consistent with the password in the password information previously set by the server), indicating that the unlock password received through the PIN pad circuit is verified, and then the processor controls the drive circuit. Driving the electronic lock body to perform an action corresponding to the unlocking instruction, thereby implementing a door opening operation, wherein the second customer in the embodiment is a customer who inputs an unlock password in the password keyboard panel, and the second customer and the first customer may be the same customer, Can be different customers. Moreover, regardless of whether the unlock password received through the PIN pad circuit is verified, the processor may also upload the unlock password received through the PIN pad circuit to the server, so that the opening of the input password (ie, the electronic lock is turned on) can be implemented. The record, in turn, achieves the effect of increasing security.
可选地,本发明实施例所提供的电子锁的控制电路还包括反锁检测电路。反锁检测电路不仅与处理器10连接,还可以与电子锁内设置的方锁舌或者反锁旋钮连接。反锁检测电路用于检测电子锁的反锁状态,并将检测结果发送至处理器,其中,检测结果为检测到电子锁的反锁状态。具体地,反锁状态分为两种,分别是反锁和未反锁。方锁舌或者反锁旋钮的位置分为开启位置和锁定位置,其中,当方锁舌或者反锁旋钮处于开启位置时,表示电子锁未被反锁;当方锁舌或者反锁旋钮处于锁定位置时,表示电子锁被反锁。Optionally, the control circuit of the electronic lock provided by the embodiment of the present invention further includes an anti-lock detection circuit. The anti-lock detection circuit is not only connected to the processor 10, but also connected to a square lock tongue or an anti-lock knob provided in the electronic lock. The anti-lock detection circuit is configured to detect an anti-lock state of the electronic lock, and send the detection result to the processor, wherein the detection result is an anti-lock state of detecting the electronic lock. Specifically, the anti-lock state is divided into two types, namely, anti-lock and non-lock. The position of the square locking bolt or the anti-locking knob is divided into an open position and a locked position, wherein when the square locking tongue or the anti-locking knob is in the open position, the electronic lock is not unlocked; when the square locking bolt or the anti-locking knob is in the locked position, the electronic lock is indicated Being locked.
本发明实施例具体过程为:反锁检测电路通过检测与其连接的方锁舌或者反锁旋钮的位置确定出电子锁是否被反锁,如果方锁舌或者反锁旋钮位于锁定位置时,则反锁检测电路检测出电子锁的反锁状态为反锁,那么反锁检测电路反馈“反锁”至处理器;如果方锁舌或者反锁旋钮位于开启位置时,则反锁检测电路检测出电子锁的反锁状态为“未反锁”,那么反锁检测电路反馈未反锁至处理器,不论电子锁是否被反锁,处理器都将接收到的检测结果发送至服务器,服务器对接收到的检测结果进行存储,进而电子锁的管理人员可以通过服务器快速查询得知电子锁的使用状态,为上述电子锁的管理人员了解电子锁的使用状态提供了便利性和及时性。 The specific process of the embodiment of the present invention is: the anti-lock detecting circuit determines whether the electronic lock is unlocked by detecting the position of the square locking tongue or the anti-locking knob connected thereto, and if the square locking tongue or the anti-locking knob is located at the locking position, the anti-lock detecting circuit detects The anti-lock state of the electronic lock is anti-lock, then the anti-lock detection circuit feeds back "anti-lock" to the processor; if the square lock or the anti-lock knob is in the open position, the anti-lock detection circuit detects that the anti-lock state of the electronic lock is "unlocked", then The anti-lock detection circuit feedback is not locked to the processor. Regardless of whether the electronic lock is unlocked, the processor sends the received detection result to the server, and the server stores the received detection result, so that the electronic lock manager can quickly pass the server. The inquiry knows the state of use of the electronic lock, and provides convenience and timeliness for the management personnel of the above electronic lock to understand the use state of the electronic lock.
可选地,本发明实施例所提供的电子锁的控制电路还包括防盗报警检测电路,防盗报警检测电路与处理器10连接,防盗报警检测电路用于检测电子锁的异常开启状态。具体地,防盗报警电路中设置有微动开关,在电子锁被正常打开或者未被打开的情况下,微动开关的默认状态为断开状态。电子锁的开启状态分为两种情况,分别是正常开启和非正常开启(也可以称为异常开启)。本发明实施例中检测电子锁的异常开启状态是指在检测到未接收到门卡信息或者开锁密码的情况下,电子锁是否被非正常开启(异常开启),如:暴力开启等。本发明实施例具体过程为:当电子锁受到一定的外力时,微动开关在上述外力的作用下由默认的断开状态变为闭合状态,此时防盗报警检测电路检测到电子锁的开启状态为非正常开启(即异常开启),会向处理器发送报警信息,处理器将接收到的报警信息发送至服务器,以提醒电子锁的管理人员该电子锁被非正常开启,存在安全隐患。Optionally, the control circuit of the electronic lock provided by the embodiment of the present invention further includes an anti-theft alarm detecting circuit, and the anti-theft alarm detecting circuit is connected to the processor 10, and the anti-theft alarm detecting circuit is configured to detect an abnormal open state of the electronic lock. Specifically, the burglar alarm circuit is provided with a micro switch, and the default state of the micro switch is the off state when the electronic lock is normally opened or not opened. The open state of the electronic lock is divided into two situations, namely normal open and abnormal open (also called abnormal open). In the embodiment of the present invention, detecting the abnormal open state of the electronic lock refers to whether the electronic lock is abnormally opened (abnormally turned on), such as: violently opening, when the door card information is not received or the password is unlocked. The specific process of the embodiment of the present invention is: when the electronic lock receives a certain external force, the micro switch changes from the default off state to the closed state under the action of the external force, and the burglar alarm detection circuit detects the open state of the electronic lock. If it is abnormally turned on (that is, abnormally turned on), an alarm message is sent to the processor, and the processor sends the received alarm information to the server to remind the administrator of the electronic lock that the electronic lock is abnormally opened, and there is a security risk.
可选地,如图2所示,本发明实施例所提供的电子锁的控制电路还包括电源电路70。电源电路70与供电电源连接,电源电路70用于向控制电路供电。具体地,供电电源可以是蓄电池或者电池盒等。Optionally, as shown in FIG. 2, the control circuit of the electronic lock provided by the embodiment of the present invention further includes a power supply circuit 70. The power supply circuit 70 is connected to a power supply circuit 70 for supplying power to the control circuit. Specifically, the power supply source may be a battery or a battery case or the like.
在本发明实施例中,通过在控制电路中设置电源电路,使得控制电路中其他电路可以正常工作。In the embodiment of the present invention, other circuits in the control circuit can be normally operated by setting a power supply circuit in the control circuit.
本发明实施例还提供了一种用于电子锁的主控板。该用于电子锁的主控板包括本发明实施例上述内容所提供的任一种电子锁的控制电路。具体地,主控板可以是PCB板,并且主控板的大小和形状适于安装到现有电子锁的锁壳中,其中,主控板可以通过附加安装的方式安装到现有电子锁内部。The embodiment of the invention also provides a main control board for an electronic lock. The main control board for the electronic lock includes any one of the control circuits of the electronic lock provided by the above content of the embodiment of the present invention. Specifically, the main control board may be a PCB board, and the main control board is sized and shaped to be installed in the lock case of the existing electronic lock, wherein the main control board can be installed into the existing electronic lock by an additional installation. .
在本发明实施例中,通过将控制电路集成在适于安装在电子锁锁壳内的主控板上,使得控制电路便于安装在电子锁内,在实现现有电子锁联网和监控以及远程控制该电子锁开关状态时,不必增加额外的占用空间。并且,本发明实施例所提供的电子锁的控制电路具有结构简单、容易实现的效果。In the embodiment of the present invention, the control circuit is conveniently installed in the electronic lock by integrating the control circuit in the main control board suitable for being installed in the electronic lock case, and the existing electronic lock networking and monitoring and remote control are realized. When the electronic lock is in the state of the switch, it is not necessary to add extra space. Moreover, the control circuit of the electronic lock provided by the embodiment of the invention has the advantages of simple structure and easy realization.
本发明实施例还提供了一种电子锁的控制系统。图3是根据本发明实施例的电子锁的控制系统的结构示意图,如图3所示,该控制系统主要包括服务器100和控制电路200,其中,控制电路200设置在电子锁内,控制电路200用于接收服务器100发送的控制指令,根据控制指令控制电子锁内的电子锁体动作,其中,控制电路为本发明实施例上述内容所提供的任一种电子锁的控制电路。同样的,控制指令可以是开锁指令(即,控制电子锁开启的指令),还可以是反锁指令(即,控制电子锁反锁的指令)。 The embodiment of the invention also provides a control system for an electronic lock. 3 is a schematic structural diagram of a control system of an electronic lock according to an embodiment of the present invention. As shown in FIG. 3, the control system mainly includes a server 100 and a control circuit 200, wherein the control circuit 200 is disposed in an electronic lock, and the control circuit 200 The control module sends a control command sent by the server 100, and controls the electronic lock body action in the electronic lock according to the control command. The control circuit is any control circuit of the electronic lock provided by the foregoing content of the embodiment of the present invention. Similarly, the control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on), or an anti-lock command (ie, an instruction to control the electronic lock lock).
在本发明实施例中,服务器先向控制电路发送控制指令,控制电路按照接收到控制指令,控制电子锁内的电子锁体执行与控制指令相一致的动作,从而实现了对电子锁开关状态的远程监控,使得电子锁管理人员可以对电子锁进行集中管理,达到了提高电子锁管理人员管理电子锁的便利性的效果。In the embodiment of the present invention, the server first sends a control command to the control circuit, and the control circuit controls the electronic lock body in the electronic lock to perform an action consistent with the control command according to the received control command, thereby realizing the state of the electronic lock switch. Remote monitoring enables electronic lock managers to centrally manage electronic locks, which has the effect of improving the convenience of electronic lock managers in managing electronic locks.
本发明实施例还提供了一种电子锁的控制方法。图4是根据本发明实施例的电子锁的控制方法的流程图,如图4所示,该方法主要包括步骤S402至S404,其中:The embodiment of the invention also provides a method for controlling an electronic lock. 4 is a flow chart of a method for controlling an electronic lock according to an embodiment of the present invention. As shown in FIG. 4, the method mainly includes steps S402 to S404, wherein:
S402:处理器通过通信电路接收服务器发送的控制指令,其中,处理器为本发明实施例上述内容所提供的任一种的电子锁的控制电路中的处理器,通信电路为本发明实施例上述内容所提供的任一种的电子锁的控制电路中的通信电路。同样的,控制指令可以是开锁指令(即,控制电子锁开启的指令),还可以是反锁指令(即,控制电子锁反锁的指令)。S402: The processor receives the control command sent by the server through the communication circuit, where the processor is a processor in the control circuit of the electronic lock provided by any of the foregoing contents of the embodiments of the present invention, and the communication circuit is the foregoing embodiment of the present invention. A communication circuit in a control circuit of any of the electronic locks provided by the content. Similarly, the control command may be an unlock command (ie, an instruction to control the electronic lock to be turned on), or an anti-lock command (ie, an instruction to control the electronic lock lock).
S404:处理器发送控制指令至控制电路中的驱动电路,以使驱动电路驱动电子锁中的电子锁体动作。当控制指令为开锁指令时,处理器将上述开锁指令发送至控制电路中的驱动电路,驱动电路驱动电子锁体执行与上述控制电子锁开启的指令相对应的动作,从而实现开门操作;当控制指令为控制电子锁反锁的指令时,处理器将上述控制指令发送至控制电路中的驱动电路,驱动电路驱动电子锁体执行与上述控制电子锁反锁的指令相对应的动作,从而实现关门操作。S404: The processor sends a control command to the driving circuit in the control circuit, so that the driving circuit drives the electronic lock body in the electronic lock to operate. When the control command is an unlock command, the processor sends the unlock command to the drive circuit in the control circuit, and the drive circuit drives the electronic lock body to perform an action corresponding to the instruction to control the electronic lock to open, thereby implementing a door opening operation; When the command is an instruction to control the electronic lock lock, the processor sends the control command to the drive circuit in the control circuit, and the drive circuit drives the electronic lock body to perform an action corresponding to the instruction to control the electronic lock lock, thereby implementing the door closing operation.
在本发明实施例中,处理器根据接收到控制指令,通过驱动电路控制电子锁内的电子锁体执行与控制指令相一致的动作,实现了对电子锁开关状态的远程监控,进而达到了远程控制电子锁开关状态的效果。并且,此种通过控制电路远程控制电子锁开关状态的方式,使得电子锁的管理人员可以对电子锁进行集中管理,达到了提高电子锁的管理人员管理电子锁的便利性的效果。In the embodiment of the present invention, the processor controls the electronic lock body in the electronic lock to perform the action consistent with the control command according to the control circuit receiving the control command, thereby realizing the remote monitoring of the electronic lock switch state, thereby achieving the remote Controls the effect of the electronic lock switch state. Moreover, such a manner of remotely controlling the state of the electronic lock switch by the control circuit enables the electronic lock manager to centrally manage the electronic lock, thereby achieving the effect of improving the convenience of the electronic lock management personnel in managing the electronic lock.
从以上的描述中,可以看出,本发明解决了现有技术中无法远程控制电子锁的问题,进而达到了远程控制电子锁开关状态的效果。From the above description, it can be seen that the present invention solves the problem that the electronic lock cannot be remotely controlled in the prior art, thereby achieving the effect of remotely controlling the state of the electronic lock switch.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部 分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the respective embodiments have different emphasis, and the details are not detailed in a certain embodiment. For the points, refer to the related description of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、移动终端、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, mobile terminal, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510149006.XA CN104751551A (en) | 2015-03-31 | 2015-03-31 | Main control panel for electronic clock, control circuit of electronic lock, system and method |
| CN201510149006.X | 2015-03-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016155242A1 true WO2016155242A1 (en) | 2016-10-06 |
Family
ID=53591166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/089196 Ceased WO2016155242A1 (en) | 2015-03-31 | 2015-09-08 | Main control board for electronic lock, and control circuit, system and method for electronic lock |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN104751551A (en) |
| HK (1) | HK1209886A1 (en) |
| WO (1) | WO2016155242A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104751551A (en) * | 2015-03-31 | 2015-07-01 | 张泽 | Main control panel for electronic clock, control circuit of electronic lock, system and method |
| CN104933782A (en) * | 2015-05-05 | 2015-09-23 | 罗贤 | Control device of electronic lock |
| TWI726204B (en) * | 2017-04-05 | 2021-05-01 | 英屬開曼群島商睿能創意公司 | Vehicle, systems for unlocking a vehicle and operating method thereof |
| CN107808437A (en) * | 2017-11-27 | 2018-03-16 | 上海正之智能科技有限公司 | Smart lock and the house lease management system including the smart lock |
| CN111047737A (en) * | 2018-10-11 | 2020-04-21 | 盐城市惠众新能源科技有限公司 | Electronic lock control system and control method |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201311670Y (en) * | 2008-11-14 | 2009-09-16 | 姜亚学 | Telecommunication control electronic lock |
| CN102425342A (en) * | 2011-11-05 | 2012-04-25 | 惠州市俊武实业有限公司 | Remote control lock |
| CN103247096A (en) * | 2013-05-20 | 2013-08-14 | 郑州天迈科技有限公司 | Electronic lock of slot machine and method for unlocking electronic lock |
| US20130237193A1 (en) * | 2011-03-17 | 2013-09-12 | Unikey Technologies, Inc. | Wireless access control system and related methods |
| CN104751551A (en) * | 2015-03-31 | 2015-07-01 | 张泽 | Main control panel for electronic clock, control circuit of electronic lock, system and method |
| CN204576638U (en) * | 2015-03-31 | 2015-08-19 | 张泽 | For the master control borad of electronic lock and the control circuit of electronic lock and system |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6359547B1 (en) * | 1994-11-15 | 2002-03-19 | William D. Denison | Electronic access control device |
| CN202904698U (en) * | 2012-05-25 | 2013-04-24 | 北京时代凌宇科技有限公司 | Entrance guard management system |
| CN102722921A (en) * | 2012-05-25 | 2012-10-10 | 北京时代凌宇科技有限公司 | Access control system |
| CN103871127A (en) * | 2012-12-17 | 2014-06-18 | 北汽福田汽车股份有限公司 | Gating management system and method |
| CN203084804U (en) * | 2013-02-04 | 2013-07-24 | 黄健华 | Electronic lock based on wireless networking technology |
| CN103248484B (en) * | 2013-04-03 | 2015-09-09 | 张泽 | Access control system and method |
| CN103208147B (en) * | 2013-04-07 | 2016-04-13 | 四川长虹电器股份有限公司 | A kind of intelligent alarm gate inhibition's method for supervising and system |
| CN103606214A (en) * | 2013-11-27 | 2014-02-26 | 南京邮电大学 | Cloud platform-based intelligent security access control system |
-
2015
- 2015-03-31 CN CN201510149006.XA patent/CN104751551A/en active Pending
- 2015-09-08 WO PCT/CN2015/089196 patent/WO2016155242A1/en not_active Ceased
- 2015-10-19 HK HK15110219.7A patent/HK1209886A1/en unknown
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201311670Y (en) * | 2008-11-14 | 2009-09-16 | 姜亚学 | Telecommunication control electronic lock |
| US20130237193A1 (en) * | 2011-03-17 | 2013-09-12 | Unikey Technologies, Inc. | Wireless access control system and related methods |
| CN102425342A (en) * | 2011-11-05 | 2012-04-25 | 惠州市俊武实业有限公司 | Remote control lock |
| CN103247096A (en) * | 2013-05-20 | 2013-08-14 | 郑州天迈科技有限公司 | Electronic lock of slot machine and method for unlocking electronic lock |
| CN104751551A (en) * | 2015-03-31 | 2015-07-01 | 张泽 | Main control panel for electronic clock, control circuit of electronic lock, system and method |
| CN204576638U (en) * | 2015-03-31 | 2015-08-19 | 张泽 | For the master control borad of electronic lock and the control circuit of electronic lock and system |
Also Published As
| Publication number | Publication date |
|---|---|
| HK1209886A1 (en) | 2016-04-08 |
| CN104751551A (en) | 2015-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11605275B2 (en) | Gateway-based anti-theft security system and method | |
| US12288434B2 (en) | Systems and methods for controlling access to physical space | |
| US11551499B2 (en) | Secure container for package delivery | |
| US10529160B2 (en) | Method for controlling door lock of home network system | |
| WO2016155242A1 (en) | Main control board for electronic lock, and control circuit, system and method for electronic lock | |
| WO2006032201A1 (en) | Instant clearing electronic lock system after key-following cipher use and realizing method therefor | |
| CN107845167A (en) | Daily record of work storage method, system and the intelligent electronic lock of a kind of intelligent electronic lock | |
| JP2018010449A (en) | Smart lock authentication system and method in smart lock | |
| CN104831998B (en) | A kind of security device of intelligent antitheft mechanical lock | |
| CN103942863A (en) | Allocation method of key chain of intelligent lock | |
| CN104392525A (en) | Intelligent lock system | |
| CN204576638U (en) | For the master control borad of electronic lock and the control circuit of electronic lock and system | |
| US20150325069A1 (en) | Security asset management system, method, and receptacle therefor | |
| CN104835227B (en) | A kind of intelligent security protection equipment | |
| CN204609502U (en) | A kind of security device of intelligent antitheft mechanical lock | |
| TWI737755B (en) | Passive rfid door lock, electronic door lock system and operation method thereof | |
| TW201800652A (en) | Door access control system with automatic unlocking function and unlocking method thereof that comprises a door lock controller and an electronic device carried by a user such that when the electronic device is approaching the door lock controller, the door lock controller, upon identifying the user, automatically unlock the door lock | |
| CN108661451A (en) | A kind of intelligent door lock system based on NB-IOT communications | |
| CN204883891U (en) | Mobile intelligent equipment's bluetooth key security door lock device | |
| CN103985168B (en) | A kind of control method of intelligent door lock | |
| KR20090007265A (en) | Access control system using fingerprint recognition |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15887198 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15887198 Country of ref document: EP Kind code of ref document: A1 |