Access control device, door lock driving control method, smart door lock and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-15
- Publication Date
- 2026-08-11
AI Technical Summary
然而如此,门禁控制设备门控接口的适配性单一,无法同时兼容不同供电配置的门禁系统使用场景,需通过增设门控接口实现场景拓展,然而如此,增加了门禁控制系统接线的复杂度和出错概率,影响用户使用体验
Smart Images

Figure CN122551453A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart door lock technology, and in particular to an access control device, a door lock drive control method, a smart door lock, and an electronic device. Background Technology
[0002] In related technologies, access control systems typically have two power supply configurations: external power supply and direct power supply without an external power supply. In the external power supply configuration, an external power source provides the drive power to the door lock, and the access control device outputs lock / unlock control signals through a door control interface to control the door lock's on / off state. In the direct power supply configuration, the access control device internally outputs power to drive the door lock through the door control interface, without requiring an external power source. However, this configuration results in limited adaptability of the door control interface, making it incompatible with different power supply configurations for various access control system applications. Expanding the application scenarios requires adding additional door control interfaces, which increases the complexity of wiring and the probability of errors, negatively impacting the user experience. Summary of the Invention
[0003] This application provides an access control device, a door lock drive control method, a smart door lock, and an electronic device.
[0004] This application provides an access control device, which includes a voltage detection module, a switching module, a processor module, an interface module, and a relay module. The interface module includes a first interface, a second interface, and a third interface. The voltage detection module is configured to detect a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface, and transmit the detected first voltage signal and second voltage signal to the processor module; The processor module is configured to determine the operating mode of the switching module based on the first voltage signal and the second voltage signal, and to control the relay module to drive the door lock according to the operating mode. The operating mode includes a first control mode and a second control mode.
[0005] Thus, in this embodiment, by integrating modules such as a voltage detection module, a switching module, and a processor module into the access control device, the voltage detection module detects two voltage signals between different interfaces in the interface module and transmits them to the processor module. The processor module then determines the operating mode of the switching module based on the voltage signal characteristics and controls the relay module accordingly to complete the door lock drive control. This achieves intelligent door lock drive control based on interface voltage detection, allowing the access control device to adapt to different power supply configurations through the same interface module without the need for additional interfaces. This simplifies the wiring process of the access control device to a certain extent, reduces the probability of wiring errors, and improves the objectivity and accuracy of the access control device's drive control to a certain extent by determining and executing the door lock drive control mode based on the actual detected voltage signal data, thus ensuring the standardized operation of the access control device.
[0006] In some embodiments, the processor module is configured to determine the operating mode as the second control mode when the first voltage signal is within a preset normal load voltage range and the second voltage signal is within a preset no-load voltage range, or when the second voltage signal is within the preset normal load voltage range and the first voltage signal is within the preset no-load voltage range.
[0007] Thus, in this embodiment, the first voltage signal and the second voltage signal are used as the basis for judgment, with one of them being within a preset normal load voltage range and the other within a preset no-load voltage range, to identify the power supply status of the external power supply of the access control system and determine it as the second control mode. This achieves standardized mode determination for the access control device in the scenario of external power supply, effectively reducing reliance on manual operation and improving the installation and debugging efficiency of the access control system to a certain extent. Furthermore, the working mode is determined based on the combined state of the first voltage signal and the second voltage signal, which avoids the randomness of single voltage signal determination to a certain extent, improves the accuracy and reliability of working mode determination, and effectively reduces door lock drive failures caused by mode switching errors.
[0008] In some implementations, the processor module is configured to determine the operating mode as the first control mode when both the first voltage signal and the second voltage signal are within a preset no-load voltage range.
[0009] Thus, in this embodiment, the fact that both the first and second voltage signals are within a preset no-load voltage range is used as the criterion for judgment. This identifies the access control system's power supply status without external power and determines it as the first control mode. This achieves standardized mode judgment for the access control device in scenarios without external power supply, which to some extent improves the accuracy and objectivity of identifying scenarios without external power supply, and ensures the standardization of the access control device's operation. Furthermore, the standardized mode judgment rules for scenarios without external power supply provide a clear and unified criterion for the execution of door lock drive control actions in scenarios without external power supply. This allows the access control device to connect the corresponding hardware execution logic according to the judgment result, which to some extent ensures the continuity and smoothness of the door lock drive control process when there is no external power supply, and avoids problems such as delayed or incorrect drive action execution caused by ambiguous judgment criteria.
[0010] In some embodiments, the operating mode further includes a third control mode, wherein the processor module is configured to determine the operating mode as the third control mode when both the first voltage signal and the second voltage signal are within a preset normal load voltage range, or when the first voltage signal is not within a preset no-load voltage range and is not within the preset normal load voltage range, or when the second voltage signal is not within the preset no-load voltage range and is not within the preset normal load voltage range.
[0011] Thus, in this embodiment, a third control mode is added on the basis of the first and second control modes, and the judgment conditions of the third control mode are set based on the numerical characteristics of the interface voltage signal. This enables the access control device to identify the status and classify the working mode of normal power supply scenario and abnormal operation scenario, so that the access control device has the ability to identify abnormal scenario, reduces the reliance on manual troubleshooting, improves the fault identification efficiency of the access control system to a certain extent, and the automatic judgment of the third control mode can detect faults in a timely manner, which reduces the time cost of fault troubleshooting to a certain extent and improves the maintainability of the access control device.
[0012] In some embodiments, the access control device further includes a power module. The switching module includes a first control switch, a second control switch, and a third control switch. A first terminal of the first control switch is connected to the common terminal of the relay module, and a second terminal of the first control switch is connected to the positive terminal of the power module. A first terminal of the second control switch is connected to the first interface, and a second terminal of the second control switch is connected to the negative terminal of the power module. A first terminal of the third control switch is connected to the first interface, and a second terminal of the third control switch is connected to the common terminal of the relay module.
[0013] Thus, in this embodiment, the switching module is configured as a three-switch structure consisting of a first control switch, a second control switch, and a third control switch. Electrical connections are made between each control switch and the common terminal of the relay module, the positive and negative terminals of the power module, and the first interface according to fixed rules. This establishes a hardware circuit for the access control device that adapts to multiple power supply modes, enabling the access control device to have internal self-powering capabilities and to switch and isolate different power supply circuits. This improves the hardware adaptability of the access control device to different power supply configuration scenarios to a certain extent and simplifies the port design and circuit layout of the access control device.
[0014] In some implementations, the processor module is configured to send a first control signal to the switching module when the operating mode is the first control mode; The switching module is configured to control the first control switch and the second control switch to close and the third control switch to open according to the first control signal, so as to control the power module inside the access control device to supply power to the door lock.
[0015] Thus, in this embodiment, when the processor module determines that the working mode is the first control mode, it sends a first control signal to the switching module. The switching module controls the first and second control switches to close and the third control switch to open according to the first control signal, thereby establishing a power supply circuit for the internal power module. This solves, to some extent, the problem of limited adaptability of the access control interface and the need to add interfaces, which leads to complex wiring. It effectively realizes stable driving of the door lock in the absence of an external access control power supply and can adapt to the configuration scenario without external power supply without adding interfaces. This simplifies the hardware configuration and wiring process of the access control system to a certain extent, reduces the system installation cost and the probability of wiring errors, and thus improves the stability and scenario adaptability of the access control equipment to a certain extent, and optimizes the user's installation and usage experience.
[0016] In some implementations, the processor module is configured to send a second control signal to the switching module when the operating mode is the second control mode; The switching module is configured to, according to the second control signal, control the first control switch and the second control switch to open and the third control switch to close, so as to control the external power supply connected to the access control device to supply power to the door lock.
[0017] Thus, in this embodiment, when the processor module determines that the working mode is the second control mode, it sends a second control signal to the switching module. The switching module controls the first and second control switches to open and the third control switch to close according to the second control signal, thereby establishing a power supply circuit for the external power supply. This effectively isolates the internal power supply module from the external power supply circuit to a certain extent, avoids circuit conflicts caused by simultaneous power supply from two power sources, ensures the stability and safety of the external power supply circuit, effectively reduces the probability of equipment failure due to circuit conflicts, and improves the reliability of the access control equipment.
[0018] In some embodiments, the access control device further includes an alarm module, wherein the processor module is configured to send a third control signal to the switching module and a first alarm signal to the alarm module when the operating mode is the third control mode, wherein the alarm module provides an alarm prompt based on the first alarm signal; The switching module is configured to control the first control switch, the second control switch, and the third control switch to all be disconnected according to the third control signal.
[0019] Thus, in this embodiment, when the processor module determines that the working mode is the third control mode, it simultaneously sends a third control signal to the switching module and a first alarm signal to the alarm module. The switching module controls the first control switch, the second control switch, and the third control switch to all disconnect according to the third control signal. The alarm module then performs an alarm prompt operation according to the first alarm signal. This achieves dual response of circuit protection and alarm prompt in abnormal scenarios for the access control device. To a certain extent, it solves the problem that the access control device is prone to hardware damage due to external abnormal current inflow when wiring or voltage is abnormal, and the fault cannot be detected and handled in time. It effectively realizes the protection of the internal circuit of the device and the instant feedback of faults in abnormal scenarios, thereby improving the safety of the access control device, improving the fault handling efficiency of the access control system, reducing system maintenance costs, and reducing reliance on manual operation.
[0020] In some embodiments, the access control device further includes a power module, and the switching module includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the second interface, and the second end of the fourth control switch is connected to the positive terminal of the power module. The first end of the fifth control switch is connected to the third interface, and the second end of the fifth control switch is connected to the negative terminal of the power module.
[0021] Thus, in this embodiment, the switching module is configured as a dual-switch structure consisting of a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the second interface, and the second end is connected to the positive terminal of the power module. The first end of the fifth control switch is connected to the third interface, and the second end is connected to the negative terminal of the power module. This simplifies the hardware structure of the access control device, reduces the number of switches, effectively reduces the hardware size of the device, and lowers the production and design costs. It meets the needs of access control scenarios with high requirements for device size and cost, expands the application range of the device, and the dual-switch structure design is simple, with a simple electrical connection method, which simplifies the wiring process to a certain extent and reduces the probability of wiring errors.
[0022] In some embodiments, the access control device further includes a power module, and the switching module includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the third interface, the second end of the fourth control switch is connected to the positive terminal of the power module, the first end of the fifth control switch is connected to the second interface, and the second end of the fifth control switch is connected to the negative terminal of the power module.
[0023] Thus, in this embodiment, by adjusting the connection correspondence between the fourth and fifth control switches and the interface module and internal power module, the first end of the fourth control switch is connected to the third interface and the second end is connected to the positive terminal of the internal power module, and the first end of the fifth control switch is connected to the second interface and the second end is connected to the negative terminal of the internal power module. This achieves a reverse adaptation design for the circuit connection of the access control device under the dual-switch configuration, improving the flexibility of the access control device circuit connection and enabling it to adapt to different internal circuit layout design requirements. This improves the adaptability of the device hardware design to a certain extent. Furthermore, the reverse connection design in this embodiment does not change the hardware configuration structure of the dual switches, and there is no need to add additional control switches or electrical components due to the adjustment of the connection form, effectively controlling the hardware cost and device size of the device.
[0024] In some implementations, the operating mode further includes a third control mode, the access control device further includes an alarm module, and the processor module is configured to send a fourth control signal to the switching module when the operating mode is the first control mode. The switching module is configured to control the fourth control switch and the fifth control switch to close according to the fourth control signal, so as to control the power module inside the access control device to supply power to the door lock; The processor module is configured to send a fifth control signal to the switching module when the operating mode is the second control mode; The switching module is configured to control the fourth control switch and the fifth control switch to disconnect according to the fifth control signal, so as to control the external power supply connected to the access control device to supply power to the door lock; The processor module is configured to send a sixth control signal to the switching module and a second alarm signal to the alarm module when the operating mode is the third control mode, wherein the alarm module provides an alarm prompt based on the second alarm signal; The switching module is configured to control both the fourth and fifth control switches to disconnect according to the sixth control signal.
[0025] Thus, in this embodiment, when the processor module determines the first control mode, it sends a fourth control signal to the switching module. The switching module controls the fourth and fifth control switches to close to power the internal power supply module. When the second control mode is determined, it sends a fifth control signal, and the switching module controls the fourth and fifth control switches to open to power the external power supply module. When the third control mode is determined, it simultaneously sends a sixth control signal and a second alarm signal. The switching module controls the fourth and fifth control switches to open, and the alarm module executes an alarm prompt based on the second alarm signal. This achieves standardized response and dual processing of abnormal scenarios for the access control device under the dual-switch configuration, automating the door lock drive power supply control process, reducing reliance on manual operation, and improving the installation and debugging efficiency of the access control system to a certain extent. Furthermore, while maintaining the dual-switch hardware structure, it achieves switching between external and internal power supply modes without the need for additional control components or interfaces, simplifying the circuit layout of the access control device to a certain extent and reducing the probability of wiring errors.
[0026] In some embodiments, the access control device further includes an identity information acquisition module, the relay module includes a sixth control switch, and the identity information acquisition module is configured to acquire identity information and transmit it to the processor module; The processor module is configured to verify the identity information and send a gate control signal to the relay module based on the verification result; The relay module is configured to control the sixth control switch according to the door control signal, so as to switch the closed state of the first interface and the second interface or the third interface to drive the door lock.
[0027] Thus, in this embodiment, the identity information of the operating subject is obtained by the identity information acquisition module and transmitted to the processor module. The processor module verifies the legality of the received identity information and sends a corresponding door control signal to the relay module based on the verification result. The relay module then switches the closed state of the first interface and the second or third interface according to the door control signal, thereby realizing the automated drive control of the door lock after the identity legality verification. This ensures that the door lock drive control is based on identity verification, effectively preventing unauthorized personnel from entering and improving the security control capability of the access control equipment to a certain extent. Furthermore, the door lock drive control action is triggered by the verification result of the processor module, and the relay module achieves standardized drive by adjusting the closed state of the interface of the sixth control switch. This gives the door lock's unlocking and locking drive control standardized execution logic, improving the accuracy and standardization of the access control equipment's operation to a certain extent.
[0028] This application provides a door lock drive control method, applied to the access control device described in some of the above embodiments, the method comprising: Detect a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface; The detected first voltage signal and second voltage signal are transmitted to the processor module; The operating mode of the switching module is determined based on the first voltage signal and the second voltage signal; According to the operating mode, the relay module is controlled to drive the door lock.
[0029] Thus, in this embodiment, by detecting the first voltage signal between the first and third interfaces of the access control device, and the second voltage signal between the first and second interfaces, and transmitting the detected first and second voltage signals to the processor module, the processor module determines the corresponding working mode of the switching module based on the actual numerical characteristics of the two sets of voltage signals. Then, based on the determined working mode, it sends a control command to the relay module to control the relay module to perform the corresponding drive control operation on the door lock. This achieves automated intelligent control of the door lock drive based on interface voltage signal detection, enabling the access control device to automatically match the corresponding working mode according to the external power supply configuration. There is no need for manual adjustment of the device configuration or addition of interfaces according to different power supply scenarios. This simplifies the wiring process of the access control system to a certain extent, reduces the probability of wiring errors, and improves the deployment efficiency of the access control device in different application scenarios. In turn, it improves the scenario adaptability of the access control device to a certain extent and meets the actual use needs of various access control scenarios.
[0030] This application also provides a smart door lock, which includes a lock body and an access control device as described in some of the above embodiments, wherein the access control device is electrically connected to the lock body.
[0031] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the methods described in some of the above embodiments.
[0032] The smart door lock and electronic device provided in this application, when implementing the above method, firstly detects a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface; and transmits the detected first voltage signal and second voltage signal to the processor module; then, based on the first voltage signal and the second voltage signal, determines the working mode of the switching module; and finally, based on the working mode, controls the relay module to drive the door lock. Thus, in this embodiment, by detecting the first voltage signal between the first and third interfaces of the access control device, and the second voltage signal between the first and second interfaces, and transmitting the detected first and second voltage signals to the processor module, the processor module determines the corresponding working mode of the switching module based on the actual numerical characteristics of the two sets of voltage signals. Then, based on the determined working mode, it sends a control command to the relay module to control the relay module to perform the corresponding drive control operation on the door lock. This achieves automated intelligent control of the door lock drive based on interface voltage signal detection, enabling the access control device to automatically match the corresponding working mode according to the external power supply configuration. There is no need for manual adjustment of the device configuration or addition of interfaces according to different power supply scenarios. This simplifies the wiring process of the access control system to a certain extent, reduces the probability of wiring errors, and improves the deployment efficiency of the access control device in different application scenarios. In turn, it improves the scenario adaptability of the access control device to a certain extent and meets the actual use needs of various access control scenarios.
[0033] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0034] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein: Figure 1 This is one of the system structure diagrams of the access control device according to certain embodiments of this application; Figure 2This is one of the schematic diagrams of door lock drive control of an access control device according to certain embodiments of this application; Figure 3 This is a second schematic diagram of the system structure of the access control device according to certain embodiments of this application; Figure 4 This is one of the schematic diagrams of door lock drive control in the first control mode of certain embodiments of this application; Figure 5 This is one of the schematic diagrams of door lock drive control in the second control mode of certain embodiments of this application; Figure 6 This is one of the working mode switching flowcharts of the access control device according to certain embodiments of this application; Figure 7 This is the third schematic diagram of the system structure of the access control device according to certain embodiments of this application; Figure 8 This is a second schematic diagram of the door lock drive control of an access control device according to certain embodiments of this application; Figure 9 This is the second schematic diagram of door lock drive control in the first control mode of certain embodiments of this application; Figure 10 This is a second schematic diagram of door lock drive control under the second control mode in certain embodiments of this application; Figure 11 This is the second of the operating mode switching flowcharts for the access control device according to certain embodiments of this application; Figure 12 This is a flowchart illustrating a door lock drive control method according to certain embodiments of this application. Detailed Implementation
[0035] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0036] With the development of IoT, AI, and big data analytics, access control systems have evolved from traditional mechanical locks and independent card readers to intelligent integrated security platforms that combine multiple technologies. Access control systems typically consist of multiple collaborative modules, forming an intelligent security system that integrates identity recognition, access control, data processing, and execution control.
[0037] In related technologies, access control systems typically have two power supply configurations: external access control power supply and direct power supply without external access control power supply. In the external access control power supply configuration, the external access control power supply provides driving power to the door lock, and the access control device outputs lock and unlock control signals through the door control interface to control the power on and off of the door lock. In the case of no external access control power supply, the access control device needs to output power internally and directly drive the door lock through the lock and unlock control signals output through the door control interface, without the need for an additional external access control power supply.
[0038] Some technical solutions connect the access control device to the access power supply and door lock through the relay output interface of the access control device. After receiving the user identity information collected by the front-end identification device and completing the identification judgment, the access control device controls the relay to switch the closing mode of the relay's common interface and normally closed or normally open interface, thereby realizing the change of the access power supply's drive control state for the door lock, and thus completing the door lock's unlocking and locking operations.
[0039] However, the access control interface of the access control device has limited compatibility and cannot simultaneously support access control system usage scenarios with both external power supply and no external power supply. It is usually necessary to add access control interfaces to expand compatibility with different power supply scenarios. However, adding additional access control interfaces increases the wiring complexity of the access control system, increases the probability of wiring errors, and affects the deployment efficiency of the access control system and the actual user experience.
[0040] Based on the above issues, please refer to the following: Figure 1 and Figure 2 This application provides an access control device 100, which includes a voltage detection module 110, a switching module 140, a processor module 150, an interface module 130, and a relay module 120. The interface module 130 includes a first interface, a second interface, and a third interface. The voltage detection module 110 is configured to detect a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface, and transmit the detected first voltage signal and second voltage signal to the processor module 150. The processor module 150 is configured to determine the operating mode of the switching module 140 based on the first voltage signal and the second voltage signal, and control the relay module 120 to drive the door lock according to the operating mode. The operating modes include the first control mode and the second control mode.
[0041] Specifically, the voltage detection module 110 is a circuit module with voltage signal acquisition, detection and transmission functions. It can detect the voltage value at both ends of a specified circuit and convert the detected voltage value into an electrical signal and transmit it to the processor module 150, providing reliable data support for control decisions.
[0042] The switching module 140 is an electronic module composed of various switching elements. It can switch the circuit on / off state according to the control signal. In the embodiments of this application, it can be used to reconstruct the internal circuit connection mode of the access control device 100 and provide corresponding electrical connection conditions for different working modes to adapt to different working scenarios.
[0043] The processor module 150 is the control center of the access control device 100. It is usually composed of computing elements such as microprocessors and single-chip microcomputers. It has functions such as signal reception, analysis and processing, logical judgment and instruction issuance. It can analyze and process the received signals and send control instructions to other modules of the access control device 100 according to the processing results.
[0044] The interface module 130 is a component that enables electrical connection and signal transmission between the access control device 100 and external components. It consists of multiple interfaces, and the access control device 100 can connect to external door locks, power supply components, and other components through different interfaces.
[0045] In the embodiments of this application, the interface module 130 typically includes a first interface, namely the common terminal interface COM, a second interface, namely the normally open terminal interface NO, and a third interface, namely the normally closed terminal interface NC.
[0046] The relay module 120 is an electromagnetic control element that can close and open a switch according to the control of an electrical signal. The relay module 120 can receive control signals from the processor module 150 and control the on / off state of the external circuit through its own switching action, thereby realizing the drive control of the door lock.
[0047] The first voltage signal is an electrical signal formed by the voltage between the first interface and the third interface in the interface module 130 of the access control device 100. The first voltage signal can reflect the electrical connection status between the first interface and the third interface.
[0048] The second voltage signal is an electrical signal formed by the voltage between the first interface and the second interface in the interface module 130 of the access control device 100. The second voltage signal, together with the first voltage signal, can reflect the external power supply configuration.
[0049] The working mode is that the switching module 140 sets different working states according to different external power supply configurations. The working state and circuit connection relationship of each module in the access control device 100 are different in different working modes, which can adapt to different power supply configuration scenarios of the access control device 100.
[0050] The first control mode is a working mode of the switching module 140, which corresponds to a configuration scenario where no external access control power supply powers the door lock. The internal power supply of the access control device 100 provides driving power to the door lock.
[0051] The second control mode is a working mode of the switching module 140, which corresponds to a configuration scenario where an external access control power supply powers the door lock, and the external access control power supply provides driving power to the door lock.
[0052] Door locks are the actuators for access control. They can receive drive control signals from relay module 120 to complete unlocking and locking actions, thereby realizing physical control of access channels. Examples include electromagnetic locks and electric bolt locks.
[0053] In the access control device 100, the detection input terminal of the voltage detection module 110 is electrically connected to the first interface and the third interface, and the first interface and the second interface of the interface module 130, respectively. The signal output terminal of the voltage detection module 110 is communicatively connected to the signal input terminal of the processor module 150. The control output terminal of the processor module 150 is communicatively connected to the control input terminal of the switching module 140 and the control input terminal of the relay module 120, respectively. The electrical on / off terminals of the switching module 140 are electrically connected to the first interface, the second interface, and the third interface of the relay module 120 and the interface module 130, respectively. The drive output terminal of the relay module 120 is electrically connected to the interface module 130.
[0054] During the operation of the access control device 100, the voltage detection module 110 detects the first voltage signal between the first interface and the third interface, and the second voltage signal between the first interface and the second interface. After the detection is completed, the collected first voltage signal and second voltage signal are transmitted to the processor module 150.
[0055] After receiving the first voltage signal and the second voltage signal transmitted by the voltage detection module 110, the processor module 150 analyzes and processes the characteristics and numerical range of the voltage signals, and determines the working mode of the switching module 140 based on the analysis results.
[0056] In some implementations, the operating modes typically include a first control mode and a second control mode, with the two control modes corresponding to different power supply configuration scenarios of the access control device 100.
[0057] After determining the operating mode of the switch module 140, the processor module 150 sends a control command to the switch module 140 to adjust the operating mode. After receiving the control command, the switch module 140 adjusts its on / off state according to the operating mode determined by the processor module 150, so as to provide corresponding electrical connection conditions for the door lock drive under different power supply configurations.
[0058] Finally, the processor module 150 sends corresponding control commands to the relay module 120 according to the current user's lock opening and closing requirements. After receiving the control commands from the processor module 150, the relay module 120 adjusts its own working state according to the control commands to realize the on / off or switching control of the door lock drive circuit, thereby completing the unlocking or locking drive control of the door lock, realizing intelligent switching of access control mode and automatic drive control of the door lock.
[0059] Thus, in this embodiment, by integrating modules such as a voltage detection module, a switching module, and a processor module into the access control device, the voltage detection module detects two voltage signals between different interfaces in the interface module and transmits them to the processor module. The processor module then determines the operating mode of the switching module based on the voltage signal characteristics and controls the relay module accordingly to complete the door lock drive control. This achieves intelligent door lock drive control based on interface voltage detection, allowing the access control device to adapt to different power supply configurations through the same interface module without the need for additional interfaces. This simplifies the wiring process of the access control device to a certain extent, reduces the probability of wiring errors, and improves the objectivity and accuracy of the access control device's drive control to a certain extent by determining and executing the door lock drive control mode based on the actual detected voltage signal data, thus ensuring the standardized operation of the access control device.
[0060] In some implementations, the processor module is configured to determine the operating mode as a second control mode when the first voltage signal is within a preset normal load voltage range and the second voltage signal is within a preset no-load voltage range, or when the second voltage signal is within a preset normal load voltage range and the first voltage signal is within a preset no-load voltage range.
[0061] Specifically, the preset normal load voltage range is a voltage value range pre-stored in the processor module. The preset normal load voltage range corresponds to the voltage signal characteristics of the access control device when it is connected to an external power supply and the interface is in a loaded working state. It can be used to determine whether the interface is in a loaded working state.
[0062] In some implementations, a preset normal load voltage range is typically set based on the output voltage of the access control power supply and the working load characteristics of the door lock.
[0063] The preset no-load voltage range is a range of voltage values pre-stored in the processor module. The preset no-load voltage range corresponds to the voltage signal characteristics of the access control device when it is not connected to an external power source and the interface is in a no-load working state. It can be used to determine whether the interface is in a no-load working state.
[0064] The processor module of the access control device pre-stores numerical parameters for preset normal load voltage range and preset no-load voltage range. The preset normal load voltage range and preset no-load voltage range are non-overlapping voltage intervals, set by technicians based on power supply specifications and door lock drive requirements, and are applicable to various access control power supplies and door lock types.
[0065] After the voltage detection module transmits the detected first voltage signal and second voltage signal to the processor module, the processor module first analyzes the values of the first voltage signal and the second voltage signal to determine whether the first voltage signal and the second voltage signal are within the preset voltage range.
[0066] If the value of the first voltage signal is within the preset normal load voltage range and the value of the second voltage signal is within the preset no-load voltage range, or if the value of the second voltage signal is within the preset normal load voltage range and the value of the first voltage signal is within the preset no-load voltage range, the processor module determines that an external access control power supply has been connected to the access control system. Based on the above determination results, the processor module determines that the working mode of the switching module is the second control mode and sends a control command to the switching module to switch the working mode, thus preparing for subsequent circuit switching and door lock drive control.
[0067] Understandably, the pre-defined standardized mode determination rules for external power supply scenarios provide a clear and unified basis for the execution of door lock drive control under external power supply scenarios. This enables access control devices to connect the corresponding hardware execution logic according to the determination results, which to a certain extent ensures the continuity and smoothness of the door lock drive control process when powered by external power, and avoids the problem of delayed or incorrect drive action execution caused by ambiguous determination standards.
[0068] Thus, in this embodiment, the first voltage signal and the second voltage signal are used as the basis for judgment, with one of them being within a preset normal load voltage range and the other within a preset no-load voltage range, to identify the power supply status of the external power supply of the access control system and determine it as the second control mode. This achieves standardized mode determination for the access control device in the scenario of external power supply, effectively reducing reliance on manual operation and improving the installation and debugging efficiency of the access control system to a certain extent. Furthermore, the working mode is determined based on the combined state of the first voltage signal and the second voltage signal, which avoids the randomness of single voltage signal determination to a certain extent, improves the accuracy and reliability of working mode determination, and effectively reduces door lock drive failures caused by mode switching errors.
[0069] In some implementations, the processor module is configured to determine the operating mode as a first control mode when both the first voltage signal and the second voltage signal are within a preset no-load voltage range.
[0070] Specifically, the processor module pre-stores numerical parameters of a preset no-load voltage range and trigger logic of the first control mode. After receiving the first voltage signal and the second voltage signal transmitted by the voltage detection module, it synchronously analyzes and judges the values of the first voltage signal and the second voltage signal.
[0071] If the values of the first voltage signal and the second voltage signal are both within the preset no-load voltage range, the processor module determines that no external access control power supply is connected to the access control device. At this time, based on the above determination result, the processor module determines that the working mode of the switching module is the first control mode.
[0072] When the operating mode is determined to be the first control mode, the processor module will generate the corresponding control command based on the determination result of the first control mode and transmit it to the switching switch module to guide the switching switch module to complete the corresponding circuit switching, so as to switch the access control device to the working state of internal power supply.
[0073] Thus, in this embodiment, the fact that both the first and second voltage signals are within a preset no-load voltage range is used as the criterion for judgment. This identifies the access control system's power supply status without external power and determines it as the first control mode. This achieves standardized mode judgment for the access control device in scenarios without external power supply, which to some extent improves the accuracy and objectivity of identifying scenarios without external power supply, and ensures the standardization of the access control device's operation. Furthermore, the standardized mode judgment rules for scenarios without external power supply provide a clear and unified criterion for the execution of door lock drive control actions in scenarios without external power supply. This allows the access control device to connect the corresponding hardware execution logic according to the judgment result, which to some extent ensures the continuity and smoothness of the door lock drive control process when there is no external power supply, and avoids problems such as delayed or incorrect drive action execution caused by ambiguous judgment criteria.
[0074] In some implementations, the operating mode further includes a third control mode, wherein the processor module is configured to determine the operating mode as the third control mode when both the first voltage signal and the second voltage signal are within a preset normal load voltage range, or when the first voltage signal is not within a preset no-load voltage range and is not within a preset normal load voltage range, or when the second voltage signal is not within a preset no-load voltage range and is not within a preset normal load voltage range.
[0075] Specifically, the third control mode is the fault protection mode of the access control device. When an abnormality is detected in the wiring of the access control system, resulting in an abnormality in the interface voltage signal, the access control device enters the third control mode to perform circuit protection and fault alarm, etc.
[0076] Based on the original first and second control modes, the processor module adds a third control mode as a fault protection mode and presets three types of voltage signal abnormality judgment conditions.
[0077] After receiving the first voltage signal and the second voltage signal transmitted by the voltage detection module, the processor module first determines whether the judgment conditions of the second control mode or the first control mode are met. If neither is met, it further determines whether the first voltage signal and the second voltage signal meet the judgment conditions of interface voltage abnormality. The first determination condition is: both the first voltage signal and the second voltage signal are within the preset normal load voltage range; The second determination condition is: the first voltage signal is neither within the preset no-load voltage range nor within the preset normal load voltage range; The third criterion is that the second voltage signal is neither within the preset no-load voltage range nor within the preset normal load voltage range.
[0078] If any of the above conditions are met, the processor module determines that there is a wiring abnormality in the access control system. At this time, it determines that the working mode of the switching module is the third control mode and sends corresponding control commands to the relevant execution modules so that the access control device can handle the problem according to the preset fault handling logic. This effectively avoids the access control device from running continuously when there is a wiring abnormality, which could lead to internal circuit overcurrent and short circuit problems. This improves the safety and stability of the device and reduces the loss due to failure.
[0079] Thus, in this embodiment, a third control mode is added on the basis of the first and second control modes, and the judgment conditions of the third control mode are set based on the numerical characteristics of the interface voltage signal. This enables the access control device to identify the status and classify the working mode of normal power supply scenario and abnormal operation scenario, so that the access control device has the ability to identify abnormal scenario, reduces the reliance on manual troubleshooting, improves the fault identification efficiency of the access control system to a certain extent, and the automatic judgment of the third control mode can detect faults in a timely manner, which reduces the time cost of fault troubleshooting to a certain extent and improves the maintainability of the access control device.
[0080] Please refer to the following: Figure 2 and Figure 3 In some embodiments, the access control device 100 further includes a power module 170, and the switching module 140 includes a first control switch, a second control switch and a third control switch. The first end of the first control switch is connected to the common terminal of the relay module 120, the second end of the first control switch is connected to the positive terminal of the power module 170, the first end of the second control switch is connected to the first interface, the second end of the second control switch is connected to the negative terminal of the power module 170, the first end of the third control switch is connected to the first interface, and the second end of the third control switch is connected to the common terminal of the relay module 120.
[0081] Specifically, the power module 170 is the internal power supply component of the access control device 100, which can provide power for the normal operation of each functional module in the access control device 100, and at the same time, in the absence of an external power supply, it can provide a stable power output for the door lock drive control.
[0082] The first control switch is one of the switching components in the switching module 140. As an independent circuit on / off control unit, it is used to control the on / off state of the circuit path between the positive terminal of the power module 170 and the common terminal of the relay module 120.
[0083] The second control switch is one of the switching components in the switching module 140. As an independent circuit on / off control unit, it is used to control the on / off state of the circuit path between the negative terminal of the power module 170 and the first interface.
[0084] The third control switch is one of the switching components in the switching module 140. As an independent circuit on / off control unit, it is used to control the on / off state of the circuit path between the first interface and the common terminal of the relay module 120.
[0085] The first terminal is one of the terminals on the control switch used to achieve electrical connection, and it is one of the physical nodes connecting the control switch to other hardware components.
[0086] The second terminal is another terminal on the control switch opposite to the first terminal, and it is another physical node for connecting the control switch to other hardware components.
[0087] The common terminal of the relay module 120 is the general wiring terminal of the relay module 120. It is a common physical node for establishing circuit connections between the relay module 120 and other components such as external circuits and internal switches. It can form circuit connections with different interfaces according to the switching action of the relay.
[0088] The positive terminal of the power module 170 is the terminal that outputs positive potential power to the access control device 100 and is the starting point for current to flow out of the circuit.
[0089] The negative terminal of the power module 170 is the terminal that outputs negative potential power from the power module 170, providing reverse power to the circuit of the access control device 100. It is the node where current flows back in the circuit and forms a power supply loop with the positive terminal.
[0090] The power module 170 can provide stable power for the operation of various functional modules inside the access control device 100, and can also provide power support for the drive control of the door lock in the absence of an external power supply.
[0091] In some implementations, the voltage specifications of the power module are adapted to common standards in the field of access control, and can support door lock voltage levels such as 12V and 24V.
[0092] Meanwhile, the switching module 140 is equipped with three independent control switches: a first control switch, a second control switch, and a third control switch. Each switch is connected to other modules within the access control device 100 according to a fixed electrical connection method.
[0093] In some implementations, the first control switch, the second control switch, and the third control switch are all automatic switches that can be controlled to be turned on and off by electrical signals. For example, mechanical switches such as push-button switches, toggle switches, rotary switches, and relay switches; semiconductor switches such as MOSFETs, thyristors, and BJTs; and sensor-type switches such as photosensitive switches, sound-activated switches, and infrared switches.
[0094] The first end of the first control switch is electrically connected to the common terminal of the relay module 120, and the second end of the first control switch is electrically connected to the positive terminal of the power supply module 170. It can be used as a control node for the circuit path between the positive terminal of the power supply module 170 and the common terminal of the relay module 120.
[0095] The first end of the second control switch is electrically connected to the first interface, and the second end of the second control switch is electrically connected to the negative terminal of the power module 170, so as to establish a control node for the circuit path between the negative terminal of the power module 170 and the first interface.
[0096] The first end of the third control switch is electrically connected to the first interface, and the second end of the third control switch is electrically connected to the common terminal of the relay module 120, so as to form a control node for the circuit path between the first interface and the common terminal of the relay module 120.
[0097] The on / off state of the three control switches can be controlled by electrical signals issued by the processor module, and different on / off combinations of the three control switches can realize the reconstruction of the internal circuit connection mode of the access control device 100.
[0098] During the operation of the access control device 100, the voltage detection module 110 detects the voltage signal between the interfaces in real time and transmits it to the processor module 150. After determining the corresponding control mode based on the voltage signal, the processor module 150 sends a control command to the switching module 140. The control command will act on the three control switches. By controlling the combination of the on and off states of the three control switches in the switching module 140, the internal circuit path of the access control device 100 is changed, thereby adapting to the circuit requirements of different control modes.
[0099] Understandably, the various hardware modules and control switches of the access control device 100 form a complete and orderly electrical circuit, and the hardware actions and control logic are precisely matched. To a certain extent, this ensures that the access control device 100 can achieve stable door lock drive control or abnormal response through the corresponding circuit connection state in any control mode of the first control mode, the second control mode or the third control mode.
[0100] Thus, in this embodiment, the switching module is configured as a three-switch structure consisting of a first control switch, a second control switch, and a third control switch. Electrical connections are made between each control switch and the common terminal of the relay module, the positive and negative terminals of the power module, and the first interface according to fixed rules. This establishes a hardware circuit for the access control device that adapts to multiple power supply modes, enabling the access control device to have internal self-powering capabilities and to switch and isolate different power supply circuits. This improves the hardware adaptability of the access control device to different power supply configuration scenarios to a certain extent and simplifies the port design and circuit layout of the access control device.
[0101] Please refer to the following: Figure 3 and Figure 4 In some implementations, the processor module 150 is configured to send a first control signal to the switching module 140 when the operating mode is the first control mode. The switching module 140 is configured to control the first control switch and the second control switch to close and the third control switch to open according to the first control signal, so as to control the power module 170 inside the access control device 100 to supply power to the door lock.
[0102] Specifically, the first control signal is a circuit control command sent by the processor module 150 to the switching module 140 when the working mode is determined to be the first control mode, which is used to instruct the switching module 140 to perform the switching on / off action corresponding to the first control mode.
[0103] When the processor module 150 determines that the working mode of the switching module 140 is the first control mode, it generates and sends a first control signal to the switching module 140. The first control signal clearly specifies the on / off state of the first control switch, the second control switch and the third control switch.
[0104] After receiving the first control signal, the switching module 140 executes circuit control operations according to preset logic, controls the first control switch to be in the closed state, connects the circuit between the positive terminal of the power module 170 and the common terminal of the relay module 120 to establish a power supply path from the positive terminal of the internal power module 170 to the relay module 120, and controls the second control switch to be in the closed state, connects the circuit between the negative terminal of the power module 170 and the first interface to establish a connection path between the negative terminal of the internal power module 170 and the interface module 130.
[0105] Understandably, the closing of the first control switch and the second control switch establishes a circuit path between the internal power module 170 of the access control device 100 and the common terminal and first interface of the relay module 120, making the internal power module 170 the power source in the first control mode.
[0106] At the same time, the third control switch also needs to be kept in the off state to cut off the circuit connection between the first interface and the common terminal of the relay module 120, so as to cut off the power supply link of the external power supply and avoid circuit conflict between the external power supply and the internal power supply.
[0107] Understandably, the circuit reconstructed by the above-mentioned on / off combination forms the power supply link of the power module 170, so that the power module 170 inside the access control device 100 can provide driving power to the door lock through the reconstructed power supply link, without the need for an external access control power supply.
[0108] Finally, the processor module 150 sends corresponding control commands to the relay module 120 according to the current user's lock opening and closing requirements. After receiving the control commands from the processor module 150, the relay module 120 adjusts its own working state according to the control commands to realize the on / off or switching control of the door lock drive circuit, thereby completing the unlocking or locking drive control of the door lock, realizing intelligent switching of access control mode and automatic drive control of the door lock.
[0109] Thus, in this embodiment, when the processor module determines that the working mode is the first control mode, it sends a first control signal to the switching module. The switching module controls the first and second control switches to close and the third control switch to open according to the first control signal, thereby establishing a power supply circuit for the internal power module. This solves, to some extent, the problem of limited adaptability of the access control interface and the need to add interfaces, which leads to complex wiring. It effectively realizes stable driving of the door lock in the absence of an external access control power supply and can adapt to the configuration scenario without external power supply without adding interfaces. This simplifies the hardware configuration and wiring process of the access control system to a certain extent, reduces the system installation cost and the probability of wiring errors, and thus improves the stability and scenario adaptability of the access control equipment to a certain extent, and optimizes the user's installation and usage experience.
[0110] Please refer to the following: Figure 3 and Figure 5 In some embodiments, the processor module 150 is configured to send a second control signal to the switching module 140 when the operating mode is the second control mode. The switching module 140 is configured to control the first and second control switches to open and the third control switch to close according to the second control signal, so as to control the external power supply connected to the access control device 100 to supply power to the door lock.
[0111] Specifically, the second control signal is a circuit control command sent by the processor module 150 to the switching module 140 when the working mode is determined to be the second control mode, which is used to instruct the switching module 140 to perform the switching on / off action corresponding to the second control mode.
[0112] The external power supply is a power supply component that is externally connected to the access control device 100. It provides power for the door lock drive in the external power supply scenario and is the power source for the door lock drive in the second control mode.
[0113] When the processor module 150 determines that the working mode of the switching module 140 is the second control mode, it generates and sends a second control signal to the switching module 140. The second control signal explicitly specifies the on / off state of the first control switch, the second control switch, and the third control switch.
[0114] After receiving the second control signal, the switching module 140 executes circuit control operations according to preset logic, controls the first control switch to be in the off state, cuts off the circuit connection between the positive terminal of the power module 170 and the common terminal of the relay module 120, cuts off the power supply path from the positive terminal of the internal power module 170 to the outside, and controls the second control switch to be in the off state, cuts off the circuit connection between the negative terminal of the power module 170 and the first interface, so as to cut off the connection path between the negative terminal of the internal power module 170 and the external interface.
[0115] Understandably, by disconnecting the first control switch and the second control switch, the electrical connection circuit between the power module 170 and the interface module 130 and the relay module 120 is cut off, so as to avoid the internal power supply and the external power supply forming a circuit conflict.
[0116] In addition, the third control switch needs to be kept closed to connect the circuit between the first interface and the common terminal of the relay module 120, so that the external power supply can form a complete electrical control circuit with the relay module 120 through the first interface and the closed third control switch.
[0117] Understandably, the circuit reconstructed by the above-mentioned switching combinations forms a power supply link for the external power supply, enabling the external power supply connected to the access control device 100 to provide driving power to the door lock through the reconstructed power supply link.
[0118] Finally, the processor module 150 sends corresponding control commands to the relay module 120 according to the current user's lock opening and closing requirements. After receiving the control commands from the processor module 150, the relay module 120 adjusts its own working state according to the control commands to realize the on / off or switching control of the door lock drive circuit, thereby completing the unlocking or locking drive control of the door lock, realizing intelligent switching of access control mode and automatic drive control of the door lock.
[0119] Thus, in this embodiment, when the processor module determines that the working mode is the second control mode, it sends a second control signal to the switching module. The switching module controls the first and second control switches to open and the third control switch to close according to the second control signal, thereby establishing a power supply circuit for the external power supply. This effectively isolates the internal power supply module from the external power supply circuit to a certain extent, avoids circuit conflicts caused by simultaneous power supply from two power sources, ensures the stability and safety of the external power supply circuit, effectively reduces the probability of equipment failure due to circuit conflicts, and improves the reliability of the access control equipment.
[0120] Please refer to the following: Figure 2 and Figure 3In some embodiments, the access control device 100 further includes an alarm module 160, and the processor module 150 is configured to send a third control signal to the switching module 140 and a first alarm signal to the alarm module 160 when the working mode is the third control mode, wherein the alarm module 160 provides an alarm prompt based on the first alarm signal. The switching module 140 is configured to control the first control switch, the second control switch and the third control switch to be disconnected according to the third control signal.
[0121] Specifically, the alarm module 160 is the component in the access control device 100 responsible for fault indication. It can indicate system faults to the user through indicator lights, horns, buzzers, etc.
[0122] The third control signal is a circuit cut-off command sent by the processor module 150 to the switching module 140 when the operating mode is determined to be the third control mode. It requires all control switches to be in the off state and is used to cut off the internal and external electrical connections.
[0123] The first alarm signal is a fault alarm command sent by the processor module 150 to the alarm module 160 when the working mode is determined to be the third control mode, so as to trigger the fault prompt action of the alarm module 160.
[0124] The alarm notification is a feedback action performed by the alarm module 160 after receiving an alarm signal, which notifies the user of system failure through sound, light, or other means.
[0125] When the processor module 150 determines that the working mode of the switch module 140 is the third control mode, it sends a third control signal to the switch module 140 and a first alarm signal to the alarm module 160 at the same time to trigger the fault indication function of the alarm module 160. The third control signal requires that the first control switch, the second control switch and the third control switch are all in the off state.
[0126] After receiving the third control signal, the switching module 140 performs a unified disconnection action, controlling the first control switch, the second control switch, and the third control switch to the disconnected state. This cuts off all electrical connections between the power module 170 and the relay module 120, between the power module 170 and the first interface, and between the first interface and the relay module 120. This isolates the internal main circuit from the external interface module, preventing abnormal external current from flowing into the internal circuit and causing overcurrent or short circuits, thus achieving fault protection for the equipment.
[0127] Meanwhile, after receiving the first alarm signal, the alarm module 160 activates the alarm notification function. It can send a fault alarm signal to the user through the form of a constant indicator light, flashing lights, or a buzzer sound or voice prompt, to remind the user that there is a wiring problem in the access control system and that the line connection needs to be checked and dealt with in a timely manner.
[0128] Thus, in this embodiment, when the processor module determines that the working mode is the third control mode, it simultaneously sends a third control signal to the switching module and a first alarm signal to the alarm module. The switching module controls the first control switch, the second control switch, and the third control switch to all disconnect according to the third control signal. The alarm module then performs an alarm prompt operation according to the first alarm signal. This achieves dual response of circuit protection and alarm prompt in abnormal scenarios for the access control device. To a certain extent, it solves the problem that the access control device is prone to hardware damage due to external abnormal current inflow when wiring or voltage is abnormal, and the fault cannot be detected and handled in time. It effectively realizes the protection of the internal circuit of the device and the instant feedback of faults in abnormal scenarios, thereby improving the safety of the access control device, improving the fault handling efficiency of the access control system, reducing system maintenance costs, and reducing reliance on manual operation.
[0129] Please see Figure 6 The following example, using an access control device based on the implementation method of this application in an office building access control renovation project, explains the workflow of the access control device based on the implementation method of this application: The COM interface corresponds to the first interface, the NO interface corresponds to the second interface, and the NC interface corresponds to the third interface. Control switches S1, S2, and S3 correspond to the first control switch, the second control switch, and the third control switch, respectively. Relay switch S0 corresponds to the sixth control switch. User identity information is collected and identified through methods such as card swiping, face recognition, fingerprint recognition, and password recognition.
[0130] The project site needs to accommodate a mixed scenario where some areas retain traditional external power supplies for access control, while others eliminate external power supplies. After the access control equipment is installed, it first performs a self-test. The voltage detection module monitors the first voltage signal, V, between the COM interface and the NC interface in real time. NC The second voltage signal between the COM interface and the NO interface, namely V NO and V NC and V NO Transmitted to the processor module.
[0131] For public areas where external access control power is disabled, the access control device's door control interface is directly connected to the door lock. The first voltage signal and the second voltage signal detected by the voltage detection module are both within the preset no-load voltage range. The processor module determines that no external access control power is connected, determines the working mode as the first control mode, i.e., the wet mode powered by the internal power supply, and sends a control signal.
[0132] After receiving the signal, the switching module controls S1 and S2 to close and S3 to open, so that the power supply module inside the access control device and the door control interface form a power supply circuit. At the same time, it cuts off the conflict path between the external power supply and the internal circuit. At this time, the access control device directly provides driving power to the door lock through the internal power supply.
[0133] After a user submits their identity information via card swiping, facial recognition, or fingerprint, the identity information collection module transmits the data to the processor module. Once the processor module verifies the information, it sends a door control signal to the relay module. The relay module then controls the S0 to switch the closed state of the COM interface and either the NC or NO interface, thereby unlocking the door.
[0134] For office areas that retain external access control power, the access control interface of the access control device is connected to the external access control power and door lock in sequence via lines. At this time, of the two voltage signals detected by the voltage detection module, one is within the preset normal load voltage range and the other is within the preset no-load voltage range. The processor module determines that the external system is connected to the access control power supply based on the detection results, and then determines that the working mode of the switching module is the second control mode, that is, the dry mode of external power supply, and sends the second control signal to the switching module.
[0135] After receiving the second control signal, the switching module controls S1 and S2 to open and S3 to close, making the door control interface a regular control interface. At this time, the external access control power supply provides driving power to the door lock through the door control interface.
[0136] After user authentication is successful, the processor module controls the S0 to switch the closing mode of the COM interface and the NC interface or the NO interface, thereby controlling the external door power supply to the door lock to complete the locking and unlocking action.
[0137] During installation and commissioning, if a wiring error occurs in a certain area, causing a short circuit between the COM interface, NC interface, and NO interface simultaneously, the first and second voltage signals detected by the voltage detection module are both within the preset normal load voltage range, which does not meet the judgment conditions of the first and second control modes. The processor module then determines the working mode to be the third control mode, i.e., the abnormal alarm state.
[0138] Subsequently, the processor module sends a third control signal to the switch module and a first alarm signal to the alarm module.
[0139] After receiving the signal, the switching module controls S1, S2 and S3 to disconnect, cutting off all electrical connections between the internal main circuit and the external gate control interface to prevent abnormal external current from flowing into the equipment and causing damage.
[0140] At the same time, after receiving the first alarm signal, the alarm module will issue an audible and visual alarm by illuminating a red fault light and emitting a continuous buzzing sound from the horn, prompting construction personnel to check for wiring connection problems.
[0141] Please refer to the following: Figure 7 and Figure 8 In some embodiments, the access control device further includes a power module 170, and a switching module 140 includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the second interface, and the second end of the fourth control switch is connected to the positive terminal of the power module 170. The first end of the fifth control switch is connected to the third interface, and the second end of the fifth control switch is connected to the negative terminal of the power module 170.
[0142] Specifically, the fourth control switch is one of the switching components of the switching module 140. As an independent circuit on / off control unit, it is used to control the on / off state of the circuit path between the positive terminal of the power module 170 and the second interface.
[0143] The fifth control switch is one of the switching components of the switching module 140. As an independent circuit on / off control unit, it is used to control the on / off state of the circuit path between the negative terminal of the power module 170 and the third interface.
[0144] The power module 170 can provide stable power for the operation of various functional modules of the access control device itself, and can also provide power support for the drive control of the door lock in the absence of an external power supply.
[0145] Meanwhile, the switching module 140 is equipped with two independent control switches, a fourth control switch and a fifth control switch. Each control switch is connected to other modules in the access control equipment according to a fixed electrical connection method.
[0146] The first end of the fourth control switch is electrically connected to the second interface, and the second end of the fourth control switch is electrically connected to the positive terminal of the power module 170, which can be used as a circuit switch for the internal power module 170 to supply power to the second interface.
[0147] The first end of the fifth control switch is electrically connected to the third interface, and the second end of the fifth control switch is electrically connected to the negative terminal of the power module 170. It can be used as a circuit switch for the internal power module 170 to supply power to the third interface and form a loop.
[0148] Through the above connection method, the fourth control switch and the fifth control switch form a circuit switching structure that cooperates with each other. According to the instructions of different control modes, the circuit can be reconstructed by changing their respective on and off states, thereby meeting the circuit power supply and switching requirements of different working modes such as the first control mode, the second control mode, or the third control mode. Compared with some of the above implementation methods, while reducing the number of switches, the function of the access control device can be guaranteed to remain unaffected.
[0149] During the operation of the access control device, the voltage detection module 110 detects the first voltage signal between the first interface and the third interface and the second voltage signal between the first interface and the second interface in real time, and transmits the detected first voltage signal and second voltage signal completely and accurately to the processor module 150.
[0150] After receiving the voltage signal, the processor module 150 analyzes and compares it according to the preset judgment rules to determine the working mode corresponding to the switching module 140, and then sends a control command matching the working mode to the switching module 140.
[0151] After receiving the control command, the switching module 140 changes the circuit path inside the access control device by controlling the on / off state combination of the fourth and fifth control switches, thereby switching the power supply mode and providing the corresponding circuit basis for the relay module 120 to drive and control the door lock.
[0152] Thus, in this embodiment, the switching module is configured as a dual-switch structure consisting of a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the second interface, and the second end is connected to the positive terminal of the power module. The first end of the fifth control switch is connected to the third interface, and the second end is connected to the negative terminal of the power module. This simplifies the hardware structure of the access control device, reduces the number of switches, effectively reduces the hardware size of the device, and lowers the production and design costs. It meets the needs of access control scenarios with high requirements for device size and cost, expands the application range of the device, and the dual-switch structure design is simple, with a simple electrical connection method, which simplifies the wiring process to a certain extent and reduces the probability of wiring errors.
[0153] In some implementations, the access control device further includes a power module, and the switching module includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the third interface, the second end of the fourth control switch is connected to the positive terminal of the power module, the first end of the fifth control switch is connected to the second interface, and the second end of the fifth control switch is connected to the negative terminal of the power module.
[0154] Specifically, the power module can provide stable power for the operation of various functional modules of the access control device itself, and can also provide power support for the drive control of the door lock in the absence of an external power source.
[0155] Meanwhile, the switching module is equipped with two independent control switches, a fourth control switch and a fifth control switch. Each switch is connected to other modules in the access control equipment according to a fixed electrical connection method.
[0156] The first end of the fourth control switch is connected to the third interface of the interface module, and the second end is connected to the positive terminal of the internal power module, becoming the control node of the circuit path between the positive terminal of the internal power module and the third interface. The on / off state of the fourth control switch directly determines the on / off state of the circuit path between the positive terminal of the internal power module and the third interface.
[0157] The first end of the fifth control switch is connected to the second interface of the interface module, and the second end is connected to the negative terminal of the internal power module, becoming the control node of the circuit path between the negative terminal of the internal power module and the second interface. The on / off state of the fifth control switch directly controls the on / off state of the circuit path between the negative terminal of the internal power module and the second interface.
[0158] Through the above connection method, the fourth control switch and the fifth control switch form a circuit switching structure that works together. According to the instructions of different control modes, the circuit can be reconstructed by changing their respective on and off states, thereby meeting the circuit power supply and switching requirements of different working modes such as the first control mode, the second control mode, or the third control mode.
[0159] Understandably, the embodiments of this application provide another type of standardized electrical connection scheme under dual-switch configuration, breaking the limitation of a single connection method on the design of access control equipment. To a certain extent, it improves the design flexibility and scenario adaptability of dual-switch configuration. Designers can select the appropriate electrical connection method according to the circuit layout, interface physical location requirements, and different production design habits of different application scenarios. This effectively avoids problems such as wiring crossing and bending caused by the mismatch between a single connection method and layout requirements, making the internal circuit wiring of the access control equipment more orderly, reducing the possibility of circuit signal interference, and thus improving the stability of the internal circuit operation of the equipment to a certain extent, and reducing the probability of equipment failure caused by wiring problems.
[0160] Thus, in this embodiment, by adjusting the connection correspondence between the fourth and fifth control switches and the interface module and internal power module, the first end of the fourth control switch is connected to the third interface and the second end is connected to the positive terminal of the internal power module, and the first end of the fifth control switch is connected to the second interface and the second end is connected to the negative terminal of the internal power module. This achieves a reverse adaptation design for the circuit connection of the access control device under the dual-switch configuration, improving the flexibility of the access control device circuit connection and enabling it to adapt to different internal circuit layout design requirements. This improves the adaptability of the device hardware design to a certain extent. Furthermore, the reverse connection design in this embodiment does not change the hardware configuration structure of the dual switches, and there is no need to add additional control switches or electrical components due to the adjustment of the connection form, effectively controlling the hardware cost and device size of the device.
[0161] Please refer to the following: Figure 7 , Figure 9 and Figure 10 In some implementations, the operating mode also includes a third control mode, the access control device 100 also includes an alarm module 160, and the processor module 150 is configured to send a fourth control signal to the switching module 140 when the operating mode is the first control mode. The switching module 140 is configured to control the fourth control switch and the fifth control switch to close according to the fourth control signal, so as to control the power module 170 inside the access control device 100 to supply power to the door lock; The processor module 150 is configured to send a fifth control signal to the switching module 140 when the operating mode is the second control mode; The switching module 140 is configured to control the fourth and fifth control switches to disconnect according to the fifth control signal, so as to control the external power supply connected to the access control device 100 to supply power to the door lock; The processor module 150 is configured to send a sixth control signal to the switch module 140 and a second alarm signal to the alarm module 160 when the operating mode is the third control mode, wherein the alarm module 160 provides an alarm prompt based on the second alarm signal. The switching module 140 is configured to control both the fourth and fifth control switches to be disconnected according to the sixth control signal.
[0162] Specifically, the fourth control signal is a circuit control instruction sent by the processor module 150 to the switching module 140 in the first control mode, including instructions to close the fourth control switch and the fifth control switch.
[0163] The fifth control signal is a circuit control command sent by the processor module 150 to the switching module 140 in the second control mode, including the command to disconnect the fourth control switch and the fifth control switch.
[0164] The sixth control signal is a circuit cut-off command sent by the processor module 150 to the switching module 140 in the third control mode, including the command to disconnect the fourth control switch and the fifth control switch.
[0165] The second alarm signal is a fault alarm command sent by the processor module 150 to the alarm module 160 in the third control mode, which triggers the fault indication action of the alarm module 160.
[0166] During normal operation of the access control device 100, the voltage detection module 110 detects the first voltage signal between the first interface and the third interface, and the second voltage signal between the first interface and the second interface, and transmits the detected first voltage signal and second voltage signal completely and accurately to the processor module 150.
[0167] After receiving the first voltage signal and the second voltage signal, the processor module 150 analyzes and compares them according to the preset judgment rules to determine the working mode of the access control device 100. Then, according to the different working modes, it sends electrical signal control commands to the corresponding modules. The switch module 140 and the alarm module 160 execute the corresponding drive control according to the received control commands.
[0168] When the processor module 150 determines that the working mode is the first control mode, it sends a fourth control signal to the switching module 140. After receiving the fourth control signal, the switching module 140 controls the fourth control switch and the fifth control switch to be closed at the same time, so as to open the circuit path between the power module 170 and the interface module 130 inside the access control device 100, cut off the power supply link of the external power supply, and the power module 170 inside the access control device 100 directly supplies power to the door lock drive control, so as to realize the door lock drive in the absence of external power supply.
[0169] When the processor module 150 determines that the working mode is the second control mode, it sends a fifth control signal to the switching module 140. After receiving the fifth control signal, the switching module 140 controls the fourth and fifth control switches to be in the off state at the same time, cutting off the circuit path between the power module 170 and the interface module 130 inside the access control device 100, so that the external power supply connected to the access control device 100 becomes the power source. The external power supply provides stable power to the door lock drive control through the reconstructed circuit loop, realizing the door lock drive in the second control mode.
[0170] When the processor module 150 determines that the working mode is the third control mode, it sends a sixth control signal to the switch module 140 and a second alarm signal to the alarm module 160 at the same time.
[0171] After receiving the sixth control signal, the switching module 140 controls the fourth and fifth control switches to be in the off state, cutting off all electrical connections between the inside and outside of the access control device 100, forming a circuit protection barrier, and isolating abnormal voltage and current.
[0172] After receiving the second alarm signal, the alarm module 160 executes an alarm notification action to inform the user of the abnormal status of the equipment.
[0173] Understandably, the switch disconnection action in the third control mode can effectively cut off the electrical connection between the internal power module 170 and the interface module 130, forming protection for the internal circuit of the access control device 100 to avoid damage to the device caused by abnormal voltage or current. In addition, the automatic prompting of the alarm module 160 enables the user to know about wiring or voltage abnormalities in a timely manner, which reduces the time and cost of troubleshooting to a certain extent and improves the user experience and operational stability of the access control device 100.
[0174] In addition, different control modes correspond to dedicated control signals, which standardizes the instruction interaction between the processor module 150 and the switching module 140. This reduces errors in signal transmission and action execution to a certain extent, lowers the failure rate of the access control device 100, makes the later maintenance of the access control system more targeted, and effectively reduces operation and maintenance costs.
[0175] Thus, in this embodiment, when the processor module determines the first control mode, it sends a fourth control signal to the switching module. The switching module controls the fourth and fifth control switches to close to power the internal power supply module. When the second control mode is determined, it sends a fifth control signal, and the switching module controls the fourth and fifth control switches to open to power the external power supply module. When the third control mode is determined, it simultaneously sends a sixth control signal and a second alarm signal. The switching module controls the fourth and fifth control switches to open, and the alarm module executes an alarm prompt based on the second alarm signal. This achieves standardized response and dual processing of abnormal scenarios for the access control device under the dual-switch configuration, automating the door lock drive power supply control process, reducing reliance on manual operation, and improving the installation and debugging efficiency of the access control system to a certain extent. Furthermore, while maintaining the dual-switch hardware structure, it achieves switching between external and internal power supply modes without the need for additional control components or interfaces, simplifying the circuit layout of the access control device to a certain extent and reducing the probability of wiring errors.
[0176] In some implementations, the access control device further includes an identity information acquisition module, the relay module includes a sixth control switch, and the identity information acquisition module is configured to acquire identity information and transmit it to the processor module; The processor module is configured to verify the identity information and send a gate control signal to the relay module based on the verification result; The relay module is configured to control a sixth control switch based on a gate control signal to switch the closed state of the first interface with the second or third interface.
[0177] Specifically, the identity information collection module is the user identity recognition component of the access control device, which can collect user identity information through methods such as facial recognition, fingerprint recognition, card swiping recognition, and password input.
[0178] The sixth control switch is an internal control switch of the relay module, used to control the connection status between the relay module and external interfaces such as the second and third interfaces, thereby controlling the drive circuit of the door lock.
[0179] Identity information refers to various types of information that can identify the identity of the operating entity and can be used to determine whether the operating entity has access control permissions.
[0180] The door control signal is a door lock drive control command sent by the processor module to the relay module after the user's identity information has been verified, specifying the closing relationship between the sixth control switch and the second or third interface.
[0181] The closed state indicates that the circuit between the sixth control switch and the interface is connected. Different combinations of interface closures correspond to different driving actions of the door lock.
[0182] During the operation of the access control equipment, the identity information collection module collects the user's identity information through methods such as facial recognition, fingerprint recognition, IC card reading, and password keypad input, and transmits the collected identity information to the processor module in real time.
[0183] After receiving the identity information, the processor module compares and verifies the identity information collected by the identity information collection module with the authorized user identity information pre-stored internally to determine whether the user has access control permissions.
[0184] If authentication fails, the processor module will not send any door control signal, and the door lock will remain locked.
[0185] If authentication is successful, the processor module generates and sends a gate signal to the relay module according to the preset control rules. The gate signal explicitly specifies the closed state of the sixth control switch and the second or third interface.
[0186] After receiving a door control signal, the relay module controls the closing state of the sixth control switch with either the second or third interface according to the specific instructions of the door control signal. By changing the connection method between the sixth control switch and different interfaces, the circuit path of the door lock drive is adjusted, thereby realizing the drive control actions such as unlocking and locking the door lock. The closing of the sixth control switch with the second interface and the closing of the sixth control switch with the third interface correspond to two different action states of the door lock, adapting to different drive requirements of access control and ensuring that the door lock action matches the door control command.
[0187] Understandably, by controlling the closed state of the sixth control switch and different interfaces to achieve the drive control of the door lock, the drive control of the door lock, such as unlocking and locking, has standardized execution logic. This reduces operational errors caused by manual debugging of interface connections to a certain extent, lowers the failure rate of access control equipment, improves the stability of access control equipment operation, and makes the later maintenance and debugging of access control equipment more targeted, thereby reducing the operation and maintenance costs of access control equipment.
[0188] Thus, in this embodiment, the identity information of the operating subject is obtained by the identity information acquisition module and transmitted to the processor module. The processor module verifies the legality of the received identity information and sends a corresponding door control signal to the relay module based on the verification result. The relay module then controls the closing state of the sixth control switch and the second or third interface according to the door control signal. This achieves automated drive control of the door lock after identity verification, making the door lock drive control based on identity verification, effectively preventing unauthorized personnel from entering, and improving the security control capability of the access control equipment to a certain extent. Furthermore, the door lock drive control action is triggered by the verification result of the processor module, and the relay module achieves standardized drive by adjusting the closing state of the sixth control switch interface. This gives the door lock's unlocking and locking drive control standardized execution logic, improving the accuracy and standardization of the access control equipment's operation to a certain extent.
[0189] Please see Figure 11 The following uses an access control upgrade project for a unit door in a residential community as an example, and adopts the access control device according to the embodiments of this application to explain the workflow of the access control device according to the embodiments of this application: In this project, some unit doors retain their original external access control power supply, while others eliminate the external power supply and directly use the internal power supply of the equipment. After the access control equipment is installed and debugged, the voltage detection process is started first.
[0190] The voltage detection module detects the first voltage signal between the first interface and the third interface, as well as the second voltage signal between the first interface and the second interface in real time. After the detection is completed, the first voltage signal and the second voltage signal are immediately transmitted to the processor module to provide reliable data support for the determination of the working mode.
[0191] For unit doors where the external access control power supply is disabled, the processor module determines that both the first voltage signal and the second voltage signal are within the preset no-load voltage range, determines the working mode as the first control mode, i.e., the wet mode, and sends the first control signal.
[0192] The switching module controls the fourth control switch S1 and the fifth control switch S2 to close, and the internal power supply forms a power supply circuit.
[0193] After the user's identity information is verified, the processor module sends a control signal to the relay module. The relay module controls the sixth control switch S0 to switch the closed state of the first interface with the second interface or the third interface, thus completing the unlocking action.
[0194] For unit doors that retain external access control power, after receiving the voltage signal, the processor module confirms that the first voltage signal is within the preset normal load voltage range and the second voltage signal is within the preset no-load voltage range, then determines the working mode as the second control mode, i.e., dry mode, and sends the second control signal to the switching module.
[0195] The switching module controls the fourth control switch S1 and the fifth control switch S2 to disconnect according to the second control signal, and is powered by an external power supply.
[0196] After the user submits their identity information through the identity information collection module, the processor module verifies the user's identity information and, after successful verification, sends a door control signal to the relay module. The relay module then controls the sixth control switch S0 to switch the closed state of the first interface with the second or third interface, thus completing the unlocking action.
[0197] During the debugging process, if a wiring error occurs in a certain unit door, the processor module determines that both the first voltage signal and the second voltage signal are within the preset normal load voltage range, determines the working mode to the third control mode, i.e., the abnormal alarm state, and simultaneously sends control signals and alarm signals.
[0198] The switching module disconnects the fourth control switch S1 and the fifth control switch S2 according to the sixth control signal, and the alarm module activates the alarm according to the second alarm signal, effectively preventing external abnormal current from damaging the equipment and prompting construction personnel to check for line problems.
[0199] Furthermore, in some embodiments, the connection method of the first control switch, the second control switch, and the third control switch is not limited, and a similar working mode switching control method can be achieved by changing the number of switches and the connection method with the relay module.
[0200] It should be noted that the number of control switches and the connection method of the control switches selected in the embodiments of this application are only specific implementation examples listed to facilitate those skilled in the art to understand the technical solution of this application, and are not intended to limit the scope of protection of this application. The technical solution of this application has universal applicability, and its protection scope covers application scenarios corresponding to any number of control switches and any form of control switch connection method. Any technical solution based on the core technical concept of this application, namely, determining the external system configuration by detecting the voltage signal between the access control interfaces, and then controlling the switch module to switch the circuit connection state to realize intelligent drive control and fault detection of the door lock, falls within the protection scope of this application.
[0201] Please see Figure 12 This application provides a door lock drive control method, applied to the access control device of some of the above embodiments, the method including: 01: Detect the first voltage signal between the first interface and the third interface, and the second voltage signal between the first interface and the second interface; 02: Transmit the detected first and second voltage signals to the processor module; 03: Determine the operating mode of the switching module based on the first voltage signal and the second voltage signal; 04: Based on the working mode, control the relay module to drive the door lock.
[0202] This application provides a door lock drive control device. The door lock drive control method of this application can be implemented by the door lock drive control device of this application. Specifically, the door lock drive control device includes a detection module, a transmission module, a determination module, and a control module. The detection module is used to detect a first voltage signal between a first interface and a third interface, and a second voltage signal between the first interface and a second interface. The transmission module is used to transmit the detected first and second voltage signals to a processor module. The determination module is used to determine the operating mode of the switching module based on the first and second voltage signals. The control module is used to control the relay module to drive the door lock according to the operating mode.
[0203] This application also provides a server, which includes a memory and a processor. The door lock drive control method of this application can be implemented by the server of this application. Specifically, the memory stores a computer program, and the processor is used to detect a first voltage signal between a first interface and a third interface, and a second voltage signal between the first interface and a second interface. The processor is also used to transmit the detected first and second voltage signals to a processor module. The processor is also used to determine the operating mode of the switching module based on the first and second voltage signals. The processor is also used to control the relay module to drive the door lock according to the operating mode.
[0204] Specifically, the door lock drive control method is a method based on access control equipment to drive and control the unlocking and locking actions of the door lock, including voltage detection, working mode determination, circuit control, and door lock drive and other drive control operations.
[0205] The door lock drive control method can be implemented based on access control devices according to some of the above embodiments. The access control device is equipped with a voltage detection module, a processor module, a switching module, an interface module, and a relay module. The interface module includes a first interface, a second interface, and a third interface. The above modules cooperate with each other to form a complete door lock drive control link.
[0206] First, the voltage detection module of the access control device detects in real time the first voltage signal formed between the first interface and the third interface in the access control device interface module, as well as the second voltage signal formed between the first interface and the second interface, to ensure that the detected voltage signal can accurately reflect the actual voltage state of the interface.
[0207] Subsequently, the voltage detection module transmits the detected first and second voltage signals to the processor module through the signal transmission link inside the access control device to ensure that the processor module can obtain voltage signal data consistent with the actual situation.
[0208] Next, after receiving the first voltage signal and the second voltage signal, the processor module performs numerical analysis and range judgment on the first voltage signal and the second voltage signal, and determines the working mode of the switching module according to the preset judgment conditions. The working modes include a first control mode adapted to the internal power supply, a second control mode adapted to the external power supply, and a third control mode adapted to fault protection.
[0209] Then, after determining the operating mode of the switching module, the processor module sends the corresponding control command to the switching module. The switching module then switches the circuit on and off according to the control command, establishing a power supply link that matches the operating mode.
[0210] Finally, the processor module, in conjunction with the user authentication result, sends a door control signal to the relay module. The relay module controls the internal switch to be closed or open according to the door control signal, so as to connect or disconnect the door lock drive circuit and realize the unlocking or locking drive control of the door lock.
[0211] Thus, in this embodiment, by detecting the first voltage signal between the first and third interfaces of the access control device, and the second voltage signal between the first and second interfaces, and transmitting the detected first and second voltage signals to the processor module, the processor module determines the corresponding working mode of the switching module based on the actual numerical characteristics of the two sets of voltage signals. Then, based on the determined working mode, it sends a control command to the relay module to control the relay module to perform the corresponding drive control operation on the door lock. This achieves automated intelligent control of the door lock drive based on interface voltage signal detection, enabling the access control device to automatically match the corresponding working mode according to the external power supply configuration. There is no need for manual adjustment of the device configuration or addition of interfaces according to different power supply scenarios. This simplifies the wiring process of the access control system to a certain extent, reduces the probability of wiring errors, and improves the deployment efficiency of the access control device in different application scenarios. In turn, it improves the scenario adaptability of the access control device to a certain extent and meets the actual use needs of various access control scenarios.
[0212] This application also provides a smart door lock, which includes a lock body and an access control device according to some of the above embodiments, wherein the access control device is electrically connected to the lock body.
[0213] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the methods of some of the above-described embodiments.
[0214] This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the methods of some of the above-described embodiments.
[0215] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the methods of some of the above-described embodiments.
[0216] It is understood that a computer program includes computer program code. Computer program code can be in the form of source code, object code, executable files, or some intermediate form. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc.
[0217] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0218] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of executable request code comprising one or more steps for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0219] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. An access control device, characterized in that, The access control device includes a voltage detection module, a switching module, a processor module, an interface module, and a relay module. The interface module includes a first interface, a second interface, and a third interface. The voltage detection module is configured to detect a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface, and transmit the detected first voltage signal and second voltage signal to the processor module; The processor module is configured to determine the operating mode of the switching module based on the first voltage signal and the second voltage signal, and to control the relay module to drive the door lock according to the operating mode. The operating mode includes a first control mode and a second control mode.
2. The access control device according to claim 1, characterized in that, The processor module is configured to determine the operating mode as the second control mode when the first voltage signal is within a preset normal load voltage range and the second voltage signal is within a preset no-load voltage range, or when the second voltage signal is within the preset normal load voltage range and the first voltage signal is within the preset no-load voltage range.
3. The access control device according to claim 1, characterized in that, The processor module is configured to determine the operating mode as the first control mode when both the first voltage signal and the second voltage signal are within a preset no-load voltage range.
4. The access control device according to claim 1, characterized in that, The operating mode also includes a third control mode, wherein the processor module is configured to determine the operating mode as the third control mode when both the first voltage signal and the second voltage signal are within a preset normal load voltage range, or when the first voltage signal is not within a preset no-load voltage range and is not within the preset normal load voltage range, or when the second voltage signal is not within the preset no-load voltage range and is not within the preset normal load voltage range.
5. The access control device according to claim 4, characterized in that, The access control device also includes a power module. The switching module includes a first control switch, a second control switch, and a third control switch. The first end of the first control switch is connected to the common terminal of the relay module, and the second end of the first control switch is connected to the positive terminal of the power module. The first end of the second control switch is connected to the first interface, and the second end of the second control switch is connected to the negative terminal of the power module. The first end of the third control switch is connected to the first interface, and the second end of the third control switch is connected to the common terminal of the relay module.
6. The access control device according to claim 5, characterized in that, The processor module is configured to send a first control signal to the switching module when the operating mode is the first control mode. The switching module is configured to control the first control switch and the second control switch to close and the third control switch to open according to the first control signal, so as to control the power module inside the access control device to supply power to the door lock.
7. The access control device according to claim 5, characterized in that, The processor module is configured to send a second control signal to the switching module when the operating mode is the second control mode; The switching module is configured to, according to the second control signal, control the first control switch and the second control switch to open and the third control switch to close, so as to control the external power supply connected to the access control device to supply power to the door lock.
8. The access control device according to claim 5, characterized in that, The access control device further includes an alarm module. The processor module is configured to send a third control signal to the switching switch module and a first alarm signal to the alarm module when the working mode is the third control mode. The alarm module provides an alarm prompt based on the first alarm signal. The switching module is configured to control the first control switch, the second control switch, and the third control switch to all be disconnected according to the third control signal.
9. The access control device according to claim 1, characterized in that, The access control device also includes a power module. The switching module includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the second interface, and the second end of the fourth control switch is connected to the positive terminal of the power module. The first end of the fifth control switch is connected to the third interface, and the second end of the fifth control switch is connected to the negative terminal of the power module.
10. The access control device according to claim 1, characterized in that, The access control device also includes a power module. The switching module includes a fourth control switch and a fifth control switch. The first end of the fourth control switch is connected to the third interface, and the second end of the fourth control switch is connected to the positive terminal of the power module. The first end of the fifth control switch is connected to the second interface, and the second end of the fifth control switch is connected to the negative terminal of the power module.
11. The access control device according to claim 9 or 10, characterized in that, The operating mode also includes a third control mode, the access control device also includes an alarm module, and the processor module is configured to send a fourth control signal to the switching module when the operating mode is the first control mode. The switching module is configured to control the fourth control switch and the fifth control switch to close according to the fourth control signal, so as to control the power module inside the access control device to supply power to the door lock; The processor module is configured to send a fifth control signal to the switching module when the operating mode is the second control mode; The switching module is configured to control the fourth control switch and the fifth control switch to disconnect according to the fifth control signal, so as to control the external power supply connected to the access control device to supply power to the door lock; The processor module is configured to send a sixth control signal to the switching module and a second alarm signal to the alarm module when the operating mode is the third control mode, wherein the alarm module provides an alarm prompt based on the second alarm signal; The switching module is configured to control both the fourth and fifth control switches to disconnect according to the sixth control signal.
12. The access control device according to claim 1, characterized in that, The access control device further includes an identity information acquisition module, the relay module includes a sixth control switch, and the identity information acquisition module is configured to acquire identity information and transmit it to the processor module. The processor module is configured to verify the identity information and send a gate control signal to the relay module based on the verification result; The relay module is configured to control the sixth control switch according to the door control signal, so as to switch the closed state of the first interface and the second interface or the third interface to drive the door lock.
13. A door lock drive control method, characterized in that, The method, applied to the access control device according to any one of claims 1-12, comprises: Detect a first voltage signal between the first interface and the third interface, and a second voltage signal between the first interface and the second interface; The detected first voltage signal and second voltage signal are transmitted to the processor module; The operating mode of the switching module is determined based on the first voltage signal and the second voltage signal; According to the operating mode, the relay module is controlled to drive the door lock.
14. A smart door lock, characterized in that, The smart door lock includes a lock body and an access control device as described in any one of claims 1-12, wherein the access control device is electrically connected to the lock body.
15. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, implements the method of claim 13.