Control method, voice control unit and control system of electronic door lock
By directly receiving and parsing the messages from the front panel control unit in the control system of the electronic door lock, and generating control signals to drive functional units or play voice, the problems of low instruction transmission efficiency and high cost in the existing technology are solved, and a more efficient implementation is achieved. Efficient function implementation and system simplification.
Patent Information
- Application Number
- CN202410770823.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-27
AI Technical Summary
In the existing electronic door lock control system, separate chips are provided for the front panel and the rear panel, resulting in low command transmission efficiency and high development costs. The front panel and voice control unit need to be connected through the rear panel control unit, which increases the complexity of the system. Spend.
An electronic door lock control method is adopted, which receives the control message sent by the front panel control unit through the signal transmission circuit, uses the first control circuit to parse the message to generate a control signal, and directly drives the functional unit or voice playback circuit, simplifying the front panel control unit The communication process with functional units reduces system complexity.
It significantly reduces the development and production costs of the electronic door lock control system, improves the efficiency and response speed of function implementation, and improves the usability and security of the system.
Smart Images

Figure CN118711280A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a control method for an electronic door lock, a voice control unit, and a control system for an electronic door lock. Background Art
[0002] With the development of smart home, electronic door locks are widely used in life. For the convenience of use, electronic door locks are divided into two parts: front plate and back plate. The front plate and back plate are respectively arranged on both sides of the door. The front plate can receive the instructions issued by the user, and the back plate can control the functional unit corresponding to the instruction to realize the corresponding function.
[0003] Currently, common electronic door locks have separate chips on the front and back panels. When the voice control unit / functional unit needs to be controlled, the communication between the front panel chip and the voice control unit / functional unit must go through the back panel control unit. Not only is the efficiency of command transmission low, but configuring multiple chips also has a high cost. Summary of the invention
[0004] The present application mainly provides a control method for an electronic door lock, a voice control unit and a control system for an electronic door lock, which can reduce the development cost of the control method for the electronic door lock.
[0005] In order to solve the above technical problems, a technical solution adopted by the present application is: to provide a control method of an electronic door lock, the method is applied to the control system of the electronic door lock, the control system of the electronic door lock includes: a front panel control unit, a voice control unit and at least one functional unit; the voice control unit includes a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit, the signal transmission circuit is electrically connected to the first control circuit and the front panel control unit respectively, the first control circuit is electrically connected to the voice playback circuit and at least one interface circuit, at least one interface circuit is used to be connected to at least one functional unit in a one-to-one correspondence; at least one functional unit is a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a lock tongue At least one of a status detection unit, a door position detection unit and an upgrade unit; the voice control unit is configured to implement a control method for the electronic door lock, the method comprising: receiving a first control message sent by the front panel control unit through the signal transmission circuit, the first control message being used to control the electronic door lock to implement a specified function; parsing the first control message using the first control circuit to generate a first control signal corresponding to the specified function; sending the first control signal to the functional unit used to implement the specified function, so as to drive the functional unit to implement the specified function using the first control signal; or, in response to the specified function being implemented by the voice playback circuit, driving the voice playback circuit to play a voice corresponding to the specified function according to the first control signal.
[0006] In a specific embodiment, at least one of the interface circuits includes a lock tongue status detection unit interface and a door position detection unit interface, and the lock tongue status detection unit is used to monitor the lock tongue of the electronic door lock; the first control message sent by the front panel control unit is received through the signal transmission circuit, which includes: obtaining the lock tongue status from the lock tongue status detection unit through the lock tongue status detection unit interface; and obtaining the door position from the door position detection unit through the door position detection unit interface; judging the door status in combination with the lock tongue status and the door position; if the lock tongue status is retracted and the door position is closed, determining that the current door status is half-closed, and obtaining a reminder voice for the current door status, and the reminder voice is used to remind that the door status is half-closed; driving the voice playback circuit to play the reminder voice.
[0007] In a specific embodiment, the interface circuit also includes at least one of a remote communication unit interface and a motor interface; if the lock tongue state is retracted and the door position is closed, the current door state is determined to be half-open, and then it also includes: generating a prompt message for the current door state, and sending the prompt message to the client through the remote communication unit interface using the remote communication unit; and / or generating a motor drive instruction, and sending the motor drive instruction to the motor through the motor interface, the motor drive instruction is used to control at least one of the rotation direction, rotation time, and current threshold parameters of the motor.
[0008] In a specific embodiment, the interface circuit includes a remote communication unit interface, a low-power communication unit interface, and a battery unit interface. The first control message sent by the front panel control unit is received through the signal transmission circuit, which includes: obtaining the remaining power of the battery unit from the battery unit through the battery unit interface; if the remaining power is less than a specified parameter, controlling the remote communication unit interface to disconnect the electrical connection with the remote communication unit, and controlling the low-power communication unit interface to maintain the electrical connection with the low-power communication unit.
[0009] In a specific embodiment, the use of the first control circuit to parse the first control message and generate a first control signal corresponding to the specified function includes: storing the first control message into the tail end of the queue; obtaining the first control message from the head end of the queue as target information; and using the first control circuit to parse the target information to generate a first control signal corresponding to the specified function.
[0010] In a specific embodiment, the interface circuit also includes an upgrade unit interface, and the upgrade unit interface is normally disconnected from the upgrade unit; the control method of the electronic door lock also includes: receiving a handshake message, responding to the handshake message, and controlling the upgrade unit interface to establish a communication connection with the upgrade unit; receiving an upgrade parameter message sent by the upgrade unit through the upgrade unit interface, and judging whether the upgrade parameter message meets the upgrade requirements to obtain a judgment result, wherein the upgrade parameter message includes the version, data volume and / or applicable scenarios of the voice data in the upgrade unit; if the judgment result is yes, receiving the voice data sent by the upgrade unit through the upgrade unit interface, and the voice data includes at least one voice.
[0011] To solve the above technical problems, another technical solution adopted in the present application is: providing a voice control unit, the voice control unit is applied to the control system of an electronic door lock, the control system of the electronic door lock also includes: a front panel control unit and at least one functional unit, the voice control unit includes a voice chip, the voice chip includes a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit; the signal transmission circuit is used to electrically connect the front panel control unit, the first control circuit is electrically connected to the signal transmission circuit, the voice playback circuit and at least one interface circuit, the first control circuit includes a memory and a processor, the memory stores a computer program, the processor is suitable for executing the computer program to implement the steps of the electronic door lock control method as described in any of the above embodiments, and at least one interface circuit is used to be connected one-to-one with at least one functional unit.
[0012] In a specific embodiment, at least one of the interface circuits includes a lock tongue status detection unit interface and a door position detection unit interface, the lock tongue status detection unit interface is used to connect with the lock tongue status detection unit to obtain the lock tongue status of the lock tongue from the lock tongue status detection unit and send it to the first control circuit; and the door position detection unit interface is used to connect with the door status detection unit to obtain the door position from the door position detection unit and send it to the first control circuit; when the lock tongue status is retracted and the door position is closed, the first control circuit obtains a reminder voice from the memory and sends it to the voice playback circuit to drive the voice playback circuit to play the reminder voice, and the reminder voice is used to remind that the door status is ajar.
[0013] In a specific embodiment, the interface circuit includes an upgrade unit interface connected to the first control circuit, wherein when the first control circuit receives a handshake message, the upgrade unit interface establishes a communication connection with the upgrade unit, and the upgrade unit interface is used to receive upgrade parameter messages and / or voice data sent by the upgrade unit.
[0014] To solve the above technical problems, another technical solution adopted in the present application is: providing a control system of an electronic door lock, the control system of the electronic door lock includes a front panel control unit, a voice control circuit and at least one functional unit; the voice control unit includes a voice chip, the voice chip includes a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit, the signal transmission circuit is electrically connected to the first control circuit and the front panel control unit respectively, the first control circuit is electrically connected to the voice playback circuit and at least one interface circuit, the first control circuit includes a memory and a processor, the memory stores a computer program, and the processor is suitable for executing the computer program to implement the steps of the control method of the electronic door lock as described in any of the above embodiments; at least one functional unit is electrically connected to at least one of the interface circuits in a one-to-one correspondence, at least one of the functional units is used to respond to the control signal and perform a corresponding operation, and at least one of the functional units is at least one of a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a lock tongue state detection unit, a door position detection unit and an upgrade unit.
[0015] The beneficial effect of the present application is as follows: different from the prior art, in the implementation manner of the present application, the voice control unit uses a signal transmission circuit to directly receive the first control message sent by the front panel control unit, and then parses the first control message in the first control circuit of the voice control unit to generate a first control signal, so that the voice playback circuit of the voice control unit can directly play the voice under the action of the first control signal, or enables the functional unit to directly implement the specified function under the action of the first control signal, and there is no need to connect the front panel control unit and the voice control unit and / or the front panel control unit and the functional unit through the back panel control unit, thereby reducing the complexity of the control system of the electronic door lock, thereby significantly reducing the development and production costs of the control system of the electronic door lock, and because the process from sending the first control signal from the front panel control unit to the implementation of the specified function is simplified, the efficiency of implementing the specified function can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the implementation modes of the present application, the drawings required for use in the description of the implementation modes will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 This is a schematic flow chart of an embodiment of a control method for an electronic door lock provided by the present application;
[0018] Figure 2It is a structural schematic block diagram of an embodiment of a control system of an electronic door lock provided by the present application;
[0019] Figure 3 It is a circuit structure diagram of an embodiment of a voice control unit provided by the present application;
[0020] Figure 4 It is a schematic diagram of the structure of the voice control unit power supply circuit of the voice control unit provided by the present application;
[0021] Figure 5 It is a schematic diagram of the circuit structure of the remote communication unit interface of the voice control unit provided by the present application;
[0022] Figure 6 It is a schematic diagram of the key interface circuit structure of the voice control unit provided by the present application;
[0023] Figure 7 It is a schematic diagram of the low-power communication unit interface circuit structure of the voice control unit provided by the present application;
[0024] Figure 8 It is a schematic diagram of the Hall interface circuit structure of the voice control unit provided by the present application;
[0025] Fig. 9 It is a schematic diagram of the motor interface circuit structure of the voice control unit provided by the present application;
[0026] Fig.10 It is a schematic diagram of the signal transmission circuit structure of the voice control unit provided by the present application;
[0027] Fig.11 It is a structural schematic block diagram of the first control circuit provided in this application.
[0028] 100, voice control unit; 101, signal transmission circuit; 102, first control circuit; 103, voice playback circuit; 104, upgrade unit interface; 105, memory; 106, processor; 200, front panel control unit; 300, upgrade unit. DETAILED DESCRIPTION
[0029] The present application is further described in detail below in conjunction with the accompanying drawings and implementation methods. It is particularly noted that the following implementation methods are only used to illustrate the present application, but do not limit the scope of the present application. Similarly, the following implementation methods are only some implementation methods of the present application rather than all implementation methods. All other implementation methods obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0030] The terms "first", "second" and "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, and the manner is such as two, three, etc., unless otherwise clearly and specifically defined. All directional indications in the implementation mode of this application (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. The manner, such as a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0031] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] In the control system of common electronic door locks, at least three chips are usually set up, namely, the front panel control unit, the back panel control unit, and the voice control unit. The front panel control unit and the voice control unit are connected through the back panel control unit. At the same time, the back panel control unit also needs to be connected to other functional units in the control system of the electronic door lock, so that the front panel control unit must drive the voice control unit or other functional units through the back panel control unit to realize the specified function. The process of data transmission back and forth in the control system is very cumbersome. In addition, due to the existence of three chips, not only is the development and debugging very troublesome, but the production cost is also high.
[0033] In order to improve or solve the above technical problems, the inventors of the present application have proposed at least the following embodiments after long-term research.
[0034] Figure 1 is a flowchart of an embodiment of the control method of the electronic door lock provided by the present application. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 1 The process sequence shown is limited.
[0035] The control method of the electronic door lock provided in this embodiment can be applied to the control system of the electronic door lock, so as to drive the electronic door lock to work. The control system of the electronic door lock may include a front panel control unit, a voice control unit and at least one functional unit. The voice control unit may specifically include a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit. The signal transmission circuit is electrically connected to the first control circuit and the front panel control unit respectively, the first control circuit is electrically connected to the voice playback circuit and the at least one interface circuit, and the at least one interface circuit is used to be connected to at least one functional unit in a one-to-one correspondence.
[0036] Among them, at least one functional unit can be at least one of a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a lock tongue state detection unit, a door position detection unit and an upgrade unit. The key unit is used for user triggering to input a message into the control system of the electronic door lock. The battery unit is used to store electrical energy to supply power to various units and structures in the control system of the electronic door lock. The remote communication unit can perform remote communication based on 4G (fourth generation mobile communication and its technology), 5G (fifth generation mobile communication technology), WiFi (Wireless Fidelity), etc. to receive messages and / or data transmitted from the outside, or output data generated by the control system of the electronic door lock to the outside.
[0037] The low-power communication unit can use infrared remote control, Bluetooth, NFC and other means or protocols to receive instructions transmitted from the outside. Compared with the remote communication unit, the low-power communication unit has a limited range of receiving instructions, but has lower energy consumption. The motor is connected to the lock tongue of the electronic door lock. When the motor rotates in different directions, it can control the extension and contraction of the lock tongue, thereby controlling the unlocking or locking of the electronic door lock. The cat's eye unit can have a camera function, which can capture the scene outside the door for recording and / or viewing by the user. The lock tongue state detection unit is used to detect the extension and contraction position of the lock tongue to determine the current state of the electronic door lock. The door position detection unit is used to detect the relative position of the door and the door frame, so as to determine whether the current position of the door is open or closed. The upgrade unit stores the upgrade data required by the control system of the electronic door lock. When an upgrade is required, the upgrade unit can be connected to the interface circuit, so as to obtain the upgrade data from the upgrade unit using the interface circuit. The upgrade data can be a program and / or voice data.
[0038] Specifically, the voice control unit may be configured to implement the control method of the electronic door lock provided in this embodiment, which may include:
[0039] S100: receiving first control information sent by a front panel control unit through a signal transmission circuit.
[0040] The voice control unit receives a first control message sent by the front panel control unit through a signal transmission circuit. The first control message may be automatically sent by the front panel control unit or may be sent by the front panel control unit under user operation. The first control message may include information of a specified function and information of a unit for implementing the specified function, and is used to control the electronic door lock to implement the specified function.
[0041] Among them, the unit used to implement the specified function may include a voice playback circuit and / or a functional unit. For example, the voice playback circuit can be used to implement the specified function of playing voice, the motor can be used to implement the specified functions of unlocking and locking, and the battery unit can be used to implement the specified function of checking the remaining power, etc.
[0042] S200: Utilize a first control circuit to parse a first control message and generate a first control signal corresponding to a designated function.
[0043] The voice control unit may utilize the first control circuit to parse the first control message, thereby generating a first control signal corresponding to a specified function, wherein the first control signal is used to control a specific unit to implement the specified function.
[0044] In one embodiment, the voice control unit may specifically process the first control message in a circular queue manner, including: the voice control unit stores the received first control message at the end of the queue, and then obtains the first control message from the head of the queue as the target information. Afterwards, the voice control unit uses the first control circuit to parse the target information and generate a first control signal corresponding to the specified function.
[0045] When the voice control unit receives a large number of first control messages, the large number of first control messages can be stored in the tail end of the queue in the order of receipt. The voice control unit obtains the first control message from the head end of the queue for parsing and processing, thereby avoiding omission or congestion of the first control message, and can process the first control message in an orderly manner, thereby improving the stability and efficiency of the voice control unit in processing the first control message.
[0046] S300: Sending a first control signal to a functional unit for implementing a specified function, so as to utilize the first control signal to drive the functional unit to implement the specified function.
[0047] Through the interface circuit, the voice control unit sends the first control signal to the functional unit for implementing the specified function, so that the functional unit implements the specified function under the drive of the first control signal. For example, when the specified function is to take a photo of a visitor, the cat's eye unit can take a photo under the drive of the first control signal and store a picture as the visitor's photo.
[0048] S400: In response to the designated function being implemented by the voice playing circuit, the voice playing circuit is driven according to a first control signal to play the voice corresponding to the designated function.
[0049] In response to the specified function being implemented by the voice playing circuit, according to the first control signal, the voice control unit can drive the voice playing circuit to play the voice corresponding to the specified function. For example, the specified function is to play the door opening voice, and according to the first control signal, the voice playing circuit can play the door opening voice under the control of the voice control unit.
[0050] There is no particular order between step S300 and step S400. In actual execution, the two can be performed simultaneously, one of them can be performed alternatively, or they can be performed sequentially.
[0051] Through the method provided in this embodiment, the signal transmission circuit of the voice control unit can be used to directly receive the first control message sent by the front panel control unit, and then the first control circuit of the voice control unit analyzes the first control message to generate a first control signal, so that the voice playback circuit of the voice control unit can directly play the voice under the action of the first control signal, or the functional unit can directly implement the specified function under the action of the first control signal, without the need to connect the front panel control unit with the voice control unit and / or the front panel control unit with the functional unit through the back panel control unit, thereby reducing the complexity of the control system of the electronic door lock, thereby significantly reducing the development and production costs of the control system of the electronic door lock. In addition, since the process from sending the first control signal from the front panel control unit to implementing the specified function is simplified, the efficiency of implementing the specified function can also be improved, thereby improving the response speed of the electronic door lock, so that the electronic door lock has better usability.
[0052] In one embodiment, the interface circuit of the voice control unit may include a bolt state detection unit interface and a door position detection unit interface. Before performing step S100, the following may be included:
[0053] S101: acquiring a lock tongue state from a lock tongue state detection unit through a lock tongue state detection unit interface; and acquiring a door position from a door position detection unit through a door position detection unit interface.
[0054] Through the lock tongue state detection unit interface, the voice control unit can obtain the lock tongue state of the electronic door lock from the lock tongue state detection unit. And through the door position detection unit interface, the voice control unit can obtain the door position of the electronic door lock from the door position detection unit.
[0055] S102: judging the door state in combination with the lock tongue state and the door position.
[0056] The first control circuit of the voice control unit can judge the door state in combination with the lock tongue state and the door position. For example, when the lock tongue state is extended and the door position is closed, it can be judged that the current door state is closed and locked.
[0057] S103: If the state of the lock tongue is retracted and the door position is closed, it is determined that the current door state is half-closed, and a reminder voice for the current door state is obtained, where the reminder voice is used to remind that the door state is half-closed.
[0058] If the lock tongue is in the retracted state and the door is in the closed position, it means that the lock tongue cannot fix the door and the door frame relatively, and the voice control unit can determine that the current door state is half-closed. At this time, the voice control unit can obtain a reminder voice for the current door state, and the reminder voice is used to remind that the door state is half-closed.
[0059] S104: driving the voice playing circuit to play the reminder voice.
[0060] The voice control unit drives the voice playing circuit to play the reminder voice, so as to achieve the purpose of reminding the user of the door status through voice.
[0061] When the door is half-closed, although the door appears to be closed to the user, the door and the door frame cannot be fixed because the lock tongue is not extended. After the user leaves, the half-closed door can be easily opened, and the anti-theft effect cannot be truly achieved. In this case, the control system of the electronic door lock can use the voice playback circuit to play a reminder voice to remind the user, so that the user can notice the half-closed door state and respond to it. In addition, the steps of obtaining the lock tongue state and door position, judging the door state, and driving the voice playback circuit to play the reminder voice are all performed in the voice control circuit, and the message does not need to be transmitted back and forth between the front panel control unit, the rear panel control unit, and the voice control unit, which improves the response efficiency of the electronic door lock control system to the door state and improves the availability of the electronic door lock control system.
[0062] In one embodiment, the interface circuit may further include a remote communication unit interface. After determining in step S103 that the current door state is half-open, the voice control unit may generate a prompt message for the current door state, and send the prompt message to the client via the remote communication unit interface using the remote communication unit, so as to use the prompt message of the client to achieve the purpose of reminding the user. When the reminder voice cannot well notify the user, the purpose of reminding the user can also be achieved through remote communication with the client, thereby improving the availability of the control system of the electronic door lock.
[0063] Optionally, the interface circuit may further include a motor interface. After determining in step S103 that the current door state is ajar, the voice control unit may further generate a motor drive instruction, and send the motor drive instruction to the motor through the motor interface to drive the motor to rotate and drive the lock tongue, so that the lock tongue extends and thereby fixes the door and the door frame relatively. When the user ignores the door state, the electronic door lock can be automatically controlled to lock, so as to achieve an anti-theft effect and enhance the security of the electronic door lock control system.
[0064] The motor drive instruction is used to control at least one of the rotation direction, rotation time, and current threshold parameters of the motor.
[0065] In one embodiment, the interface circuit may include a remote communication unit interface, a low power communication unit interface, and a battery unit interface. Before step S100, the following may also be included:
[0066] S111: Obtain the remaining power of the battery cell from the battery cell through the battery cell interface.
[0067] Through the battery unit interface, the voice control unit can obtain the remaining power of the battery unit from the battery unit to monitor the battery unit. The process of the voice control unit obtaining the remaining power can be actively triggered by the user. For example, the user uses the human-computer interaction interface connected to the front panel control unit to trigger a message to detect the remaining power. In response to the message, the voice control unit obtains the remaining power of the battery unit from the battery unit and uses the voice playback circuit to play the voice corresponding to the remaining power.
[0068] The process of the voice control unit obtaining the remaining power may also be performed automatically. For example, the voice control unit may obtain the remaining power once at fixed intervals to achieve the purpose of real-time monitoring.
[0069] S112: If the remaining power is less than the specified parameter, control the remote communication unit interface to disconnect the electrical connection with the remote communication unit, and control the low power communication unit interface to maintain the electrical connection with the low power communication unit.
[0070] If the remaining power is less than the specified parameter, the voice control unit can control the remote communication unit interface to disconnect the electrical connection with the remote communication unit, and control the low-power communication unit interface to maintain the electrical connection with the low-power communication unit. Thus, the high-energy-consuming remote communication means are turned off, and the low-power communication means are used to maintain communication, so as to save the remaining power of the battery unit, so that the control system of the electronic door lock has a longer standby time, which is conducive to improving the availability of the control system of the electronic door lock.
[0071] In one embodiment, the interface circuit may further include an upgrade unit interface, and the upgrade unit interface is normally disconnected from the upgrade unit. When the voice in the voice control unit does not need to be upgraded, the upgrade unit interface of the voice control unit may be disconnected from the upgrade unit by default, thereby reducing the power required by the voice control unit and reducing the energy consumption of the electronic door lock. In this embodiment, the control method of the electronic door lock may further include:
[0072] S401: receiving a handshake message, responding to the handshake message, and controlling the upgrade unit interface to establish a communication connection with the upgrade unit.
[0073] The voice control unit receives the handshake message, and in response to the handshake message, the voice control unit can control the upgrade unit interface to establish a communication connection with the upgrade unit. When the voice control unit receives the handshake message corresponding to the upgrade, the voice control unit uses the upgrade unit interface to establish a communication connection with the upgrade unit and enters the upgrade state. The handshake message can be triggered by the user. For example, when the user determines that the voice in the voice control unit needs to be updated, the user can interact with the human-computer interaction interface connected to the voice control unit to trigger the sending of the handshake message.
[0074] S402: receiving an upgrade parameter message sent by the upgrade unit through the upgrade unit interface, determining whether the upgrade parameter message meets the upgrade requirements, and obtaining a determination result.
[0075] Through the upgrade unit interface, the voice control unit can receive the upgrade parameter message sent by the upgrade unit, so that the voice control unit can judge whether the upgrade parameter message meets the upgrade requirements and obtain the judgment result. The upgrade parameter message can be automatically sent after the communication connection between the upgrade unit and the upgrade unit interface is established.
[0076] S403: If the judgment result is yes, receive the voice data sent by the upgrade unit through the upgrade unit interface.
[0077] In response to the upgrade parameter message meeting the requirements, the voice control unit receives the voice data sent by the upgrade unit through the upgrade unit interface. The upgrade parameter message may include the version, data volume and / or applicable scenario of the voice data in the upgrade unit. The voice data may include at least one voice. After receiving the voice data, the voice control unit may store it in the hardware cache of the voice control unit or in a memory connected to the upgrade unit interface.
[0078] Through the method provided in this embodiment, the voice control unit can use the upgrade unit interface to directly establish a connection with the upgrade unit, so as to determine whether the data stored in the upgrade unit meets the upgrade requirements based on the upgrade parameter message, and then directly obtain the voice data from the upgrade unit for upgrading, so that the upgrade process no longer needs to go through the front panel control unit or the back panel control unit, which can improve the efficiency of voice data upgrading.
[0079] Furthermore, the upgrading of the data in the front panel control unit, the voice control unit and each functional unit can also be achieved through the upgrading unit.
[0080] See also Figure 2 and Fig.11 , Figure 2 It is a structural schematic block diagram of an embodiment of a control system of an electronic door lock provided in the present application. Fig.11 It is a structural schematic block diagram of the first control circuit provided in this application.
[0081] The present application also provides a voice control unit 100, which includes a signal transmission circuit 101, a first control circuit 102, a voice playback circuit 103, and at least one interface circuit. The signal transmission circuit 101 is used to electrically connect to the front panel control unit 200, and the first control circuit 102 is electrically connected to the signal transmission circuit 101, the voice playback circuit 103, and at least one interface circuit. The first control circuit 102 may include a memory 105 and a processor 106, the memory 105 stores a computer program, the processor 106 is suitable for executing the computer program to implement the steps of the control method of the electronic door lock as described in any of the above embodiments, and at least one interface circuit is used to connect to at least one functional unit in a one-to-one correspondence.
[0082] Through the method provided in this embodiment, the signal transmission circuit 101 of the voice control unit 100 can be used to directly receive the first control message sent by the front panel control unit 200, and then the first control circuit 102 of the voice control unit 100 can parse the first control message to generate a first control signal, so that the voice playback circuit 103 of the voice control unit 100 can directly play the voice under the action of the first control signal, or the functional unit can directly implement the specified function under the action of the first control signal, without connecting the front panel control unit 200 with the voice control unit 100 and / or the front panel control unit 200 with the functional unit through the back panel control unit, thereby reducing the complexity of the control system of the electronic door lock, thereby significantly reducing the development and production costs of the control system of the electronic door lock. In addition, since the process from sending the first control signal from the front panel control unit 200 to implementing the specified function is simplified, the efficiency of implementing the specified function can also be improved, thereby improving the response speed of the electronic door lock, so that the electronic door lock has better usability.
[0083] Optionally, at least one interface circuit may include a lock tongue state detection unit interface and a door position detection unit interface. The lock tongue state detection unit interface is used to connect to the lock tongue state detection unit to obtain the lock tongue state of the lock tongue from the lock tongue state detection unit and send it to the first control circuit 102; and the door position detection unit interface is used to connect to the door state detection unit to obtain the door position from the door position detection unit and send it to the first control circuit 102.
[0084] When the lock tongue is retracted and the door is closed, the first control circuit 103 obtains a reminder voice from the memory 105 and sends it to the voice playing circuit 103 to drive the voice playing circuit 103 to play the reminder voice, which is used to remind that the door is half-closed.
[0085] When the door is half-closed, although the door appears to be closed to the user, the door and the door frame cannot be fixed because the lock tongue is not extended. After the user leaves, the half-closed door can be easily opened, and the anti-theft effect cannot be truly achieved. In this case, the control system of the electronic door lock can use the voice playback circuit 103 to play a reminder voice to remind the user, so that the user can notice the half-closed door state and respond to it. In addition, the steps of obtaining the lock tongue state and the door position, judging the door state, and driving the voice playback circuit 103 to play the reminder voice are all performed in the voice control circuit 100, and the message does not need to be transmitted back and forth between the front panel control unit 200, the rear panel control unit, and the voice control unit 100, which improves the response efficiency of the electronic door lock control system to the door state and improves the availability of the electronic door lock control system.
[0086] Optionally, the interface circuit may further include an upgrade unit interface 104 connected to the first control circuit. When the first control circuit 102 receives the handshake message, the upgrade unit interface 104 can establish a communication connection with the upgrade unit 300, and the upgrade unit interface 104 is used to receive the upgrade parameter message and / or voice data sent by the upgrade unit 300.
[0087] Through the method provided in this embodiment, the voice control unit can use the upgrade unit interface to directly establish a connection with the upgrade unit, so as to determine whether the data stored in the upgrade unit meets the upgrade requirements based on the upgrade parameter message, and then directly obtain the voice data from the upgrade unit for upgrading, so that the upgrade process no longer needs to go through the front panel control unit or the back panel control unit, which can improve the efficiency of voice data upgrading.
[0088] The present application also provides a control system for an electronic door lock, including a front panel control unit 200, a voice control unit 100 and at least one functional unit. The voice control unit 100 includes a signal transmission circuit 101, a first control circuit 102, a voice playback circuit 103 and at least one interface circuit. The signal transmission circuit 101 is electrically connected to the first control circuit 102 and the front panel control unit 200, respectively, and the first control circuit 102 is electrically connected to the voice playback circuit 103 and at least one interface circuit. The first control circuit 102 may include a memory 105 and a processor 106, the memory 105 stores a computer program, and the processor 106 is suitable for executing the computer program to implement the steps of the control method of the electronic door lock described in any of the above embodiments.
[0089] At least one functional unit is electrically connected to at least one interface circuit in a one-to-one correspondence, at least one functional unit is used to respond to a control signal and perform a corresponding operation, and at least one functional unit is at least one of a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a lock tongue status detection unit, a door position detection unit, and an upgrade unit 300.
[0090] Through the method provided in this embodiment, the signal transmission circuit 101 of the voice control unit 100 can be used to directly receive the first control message sent by the front panel control unit 200, and then the first control circuit 102 of the voice control unit 100 can parse the first control message to generate a first control signal, so that the voice playback circuit 103 of the voice control unit 100 can directly play the voice under the action of the first control signal, or the functional unit can directly implement the specified function under the action of the first control signal, without connecting the front panel control unit 200 with the voice control unit 100 and / or the front panel control unit 200 with the functional unit through the back panel control unit, thereby reducing the complexity of the control system of the electronic door lock, thereby significantly reducing the development and production costs of the control system of the electronic door lock. In addition, since the process from sending the first control signal from the front panel control unit 200 to implementing the specified function is simplified, the efficiency of implementing the specified function can also be improved, thereby improving the response speed of the electronic door lock, so that the electronic door lock has better usability.
[0091] Figure 3 It is a circuit structure diagram of an embodiment of a voice control unit provided in the present application.
[0092] like Figure 3 As shown, the interface circuit of the voice control unit 100 provided in the present application includes a key unit interface, a battery unit interface, a remote communication unit interface, a low-power communication unit interface, a motor interface, a cat's eye unit interface, a lock tongue status detection unit interface, and a Hall switch interface.
[0093] The key unit interface is used to connect the key unit, specifically including interface P04, interface P03 and interface P02. Interface P04 is used to connect the unlock key of the key unit, interface P03 is used to connect the lock key of the key unit, and interface P02 is used to connect the reset key of the key unit.
[0094] The Hall switch interface is used to connect the Hall switch of the electronic door lock, specifically including interface P01 and interface P00. Interface P01 and interface P00 are connected to the output end of the Hall switch for connecting the quick opening detection of the Hall switch. Among them, the Hall switch can be used to detect the door position.
[0095] The lock tongue state detection unit interface is used to connect to the lock tongue state detection unit of the electronic door lock, specifically including interface P24, interface P22 and interface P19. Interface P24 is used for the oblique lock tongue state detection of the lock tongue state detection unit. When the oblique lock tongue is extended, the level signal is 1, and when it is retracted, the level signal is 0. Interface P22 is used for the touch tongue state detection of the lock tongue state detection unit. When the touch tongue is extended, the level signal is 1, and when it is retracted, the level signal is 0. Interface P19 is used for the main lock tongue (straight tongue) state detection of the lock tongue state detection unit. When the main lock tongue is extended, the level signal is 1, and when it is retracted, the level signal is 0.
[0096] The cat's eye unit interface is used to connect to the cat's eye unit of the electronic door lock, and specifically includes an interface P20. The interface P20 is used to connect to the wake-up interface of the cat's eye unit. When the interface P20 outputs a high-level signal to the cat's eye, the cat's eye unit is awakened.
[0097] The battery unit interface is used to connect the battery unit of the electronic door lock, specifically including interface P17 and interface P16. Interface P17 and interface P16 can be connected to different battery units respectively to perform ADC (Analog-to-Digital Converter) acquisition of up to two battery units, and the acquisition is performed every 10ms to monitor the remaining power of the battery unit.
[0098] The low power communication unit interface is used to connect to the low power communication unit of the electronic door lock, and specifically includes interface P15 and interface P14. Interface P15 is used to connect to the input end of the low power communication unit, and interface P14 is used to connect to the output end of the low power communication unit.
[0099] The motor interface is used to connect to the motor of the electronic door lock, including interface P12, interface P11 and interface P05. Interface P12 is used to connect to the forward drive end of the motor to drive the motor to rotate forward. Interface P11 is used to connect to the reverse drive end of the motor to drive the motor to rotate reversely. Interface P05 is used to connect to the ADC acquisition end of the motor, which collects data every 10ms to monitor the working condition of the motor.
[0100] The remote communication unit interface is used to connect to the remote communication unit of the electronic door lock, specifically including interface P10, interface P09, interface P07 and interface P06. Interface P10 is used to connect to the wake-up interface of the remote communication unit to wake up the remote communication unit in the dormant state using a level signal. Interface P09 is used to connect to the control interface of the remote communication unit to control the operation of the remote communication unit using a level signal. Interface P07 is used to connect to the output end of the remote communication unit, and interface P06 is used to connect to the input end of the remote communication unit, so as to complete the input and output of data through the remote communication unit. The upgrade unit of the electronic door lock can be connected to the voice control unit 100 through the remote communication unit to realize the upgrade process.
[0101] In addition, the voice control unit 100 also provides three test point interfaces, namely test point P26, test point P13 and test point P08, for connecting with the outside to debug the voice control unit 100 and / or verify the backup function.
[0102] In this embodiment, the signal transmission circuit of the voice control unit 100 includes an interface P25 and an interface P19. The interface P25 is used to connect to the RX input end of the front panel control unit, and the interface P19 is used to connect to the TX output end of the front panel control unit to realize data input and output with the front panel control unit.
[0103] The voice playing circuit of the voice control unit 100 of this embodiment includes an interface PWM+ (Pulse-WidthModulation circuit), an interface PWM-, and a speaker LS1 (LoudSpeaker). The interface PWM+ can be used to increase the voice playing volume, the interface PWM- can be used to decrease the voice playing volume, and the speaker LS1 is used to play the voice to the outside world.
[0104] The voice control unit 100 of this embodiment also includes a first power supply interface VOUT (Output Voltage), a second power supply interface VCC (Volt Current Condenser), and a third power supply interface VCC1. The first power supply interface VOUT is used to output current, and the second power supply interface VCC is used to receive current input from the outside. A TVS tube D2 (Transient Voltage Suppressor) is also provided in the circuit in which the power supply VDD33 (Drain Voltage) inputs current through the second power supply interface VCC to reduce current surges, thereby achieving the purpose of protecting the voice control unit 100. The voice control unit 100 of this embodiment includes a ground terminal GND (Ground). The first power supply interface VOUT of the voice control circuit is connected to the ground through the capacitor C1, the second power supply interface VCC is connected to the ground through the capacitor C2 and the capacitor C4, and the third power supply interface VCC1 is connected to the ground through the capacitor C3. The TVS tube D2 and the capacitor C8 are connected to GND. The end of the first power supply interface VOUT close to the outside is connected to the resistor R7.
[0105] Figure 4 It is a schematic diagram of the power supply circuit structure of the voice control unit of the voice control unit provided in this application. The power supply circuit of the voice control unit includes a power supply J4, a diode D1, a capacitor C11, a capacitor C15, a capacitor C16, a capacitor C17 and a ground terminal GND. The diode D1 is used to help the capacitors C11, C15, C16, C17 and other capacitors in the subsequent circuit to store energy, and reduce the probability of abnormal power supply of the voice chip when the power supply J4 is unstable due to excessive load. The size of the capacitor C11 can be used to determine the energy storage capacity of the power supply J4 and the length of the discharge time.
[0106] Figure 5 It is a schematic diagram of the circuit structure of the remote communication unit interface of the voice control unit provided by the present application. In this embodiment, the remote communication unit communicates based on WIFI, including a remote communication unit interface J7, a capacitor C12, a capacitor C9 and a ground terminal GND, and the interface module J7 is powered by a fourth power supply interface VCC2. When the I / O (Input / Output) of the voice control unit does not match the I / O of the remote communication unit interface J7, a level conversion circuit can be added thereto.
[0107] Figure 6 1 is a schematic diagram of the key interface circuit structure of the voice control unit provided in the present application. The key interface circuit of this embodiment includes a key unit interface J6, and the key unit interface J6 is grounded through a ground terminal GND. Figure 71 is a schematic diagram of the structure of the low-power communication unit interface circuit of the voice control unit provided by the present application. The low-power communication unit interface circuit of this embodiment includes a low-power communication unit interface J2, a capacitor C21, a capacitor C19, and a ground terminal GND. When the I / O of the voice control unit does not match the I / O of the low-power communication unit interface J2, a level conversion circuit can be added thereto.
[0108] Figure 8 Schematic diagram of the Hall interface circuit structure of the voice control unit provided in the present application. The Hall interface circuit of this embodiment includes a Hall interface J9, a resistor R5, a resistor R6, a capacitor C5, a capacitor C13 and a ground terminal GND. Fig. 9 The motor interface circuit of the present embodiment includes a motor interface U5, a motor J1, a capacitor C14, a capacitor C10, a capacitor C7, a capacitor C6, a resistor R1, a resistor R2, a resistor R3, a resistor R4 and a ground terminal GND. Fig.10 1 is a schematic diagram of the signal transmission circuit structure of the voice control unit provided by the present application. The signal transmission circuit of this embodiment includes a front panel control unit interface J3, a capacitor C18, a capacitor C20, and a ground terminal GND. When the I / O of the voice control unit does not match the I / O of the front panel control unit interface J3, a level conversion circuit can be added thereto.
[0109] The above description is only part of the implementation methods of the present application, and does not limit the protection scope of the present application. Any equivalent device or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A control method for an electronic door lock, characterized in that: The method is applied to a control system of an electronic door lock, which includes: a front panel control unit, a voice control unit and at least one functional unit; the voice control unit includes a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit, the signal transmission circuit is electrically connected to the first control circuit and the front panel control unit respectively, the first control circuit is electrically connected to the voice playback circuit and at least one interface circuit, and at least one interface circuit is used to be connected to at least one functional unit in a one-to-one correspondence; at least one functional unit is at least one of a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a bolt state detection unit, a door position detection unit and an upgrade unit; The voice control unit is configured to implement a control method for the electronic door lock, the method comprising: Receiving, through the signal transmission circuit, a first control message sent by the front panel control unit, wherein the first control message is used to control the electronic door lock to implement a specified function; parsing the first control message using the first control circuit to generate a first control signal corresponding to the specified function; sending the first control signal to the functional unit for implementing the specified function, so as to drive the functional unit to implement the specified function using the first control signal; or, In response to the designated function being implemented by the voice playing circuit, the voice playing circuit is driven according to the first control signal to play the voice corresponding to the designated function.
2. The control method of the electronic door lock according to claim 1, characterized in that: At least one of the interface circuits includes a lock tongue state detection unit interface and a door position detection unit interface, the lock tongue state detection unit is used to monitor the lock tongue of the electronic door lock, and the door position detection unit is used to detect the door position; The step of receiving, by the signal transmission circuit, a first control message sent by the front panel control unit comprises: Obtaining a lock tongue state from the lock tongue state detection unit through the lock tongue state detection unit interface; and obtaining a door position from the door position detection unit through the door position detection unit interface; Determining the door state in combination with the lock tongue state and the door position; If the state of the lock tongue is retracted and the door position is closed, determining that the current door state is half-closed, obtaining a reminder voice for the current door state, the reminder voice is used to remind that the door state is half-closed; The voice playing circuit is driven to play the reminder voice.
3. The control method of the electronic door lock according to claim 2, characterized in that: The interface circuit further comprises at least one of a remote communication unit interface and a motor interface, the remote communication unit is used for communicating with the client, and the motor is used for driving and connecting the lock tongue; If the state of the lock tongue is retracted and the door position is closed, determining that the current door state is half-closed, and then further comprising: Generate a prompt message for the current door status, and send the prompt message to the client via the remote communication unit interface using the remote communication unit; and / or, A motor drive instruction is generated and sent to the motor through the motor interface, wherein the motor drive instruction is used to control at least one of a rotation direction, a rotation time, and a current threshold parameter of the motor.
4. The control method of the electronic door lock according to any one of claim 1, characterized in that: The interface circuit includes a remote communication unit interface, a low power communication unit interface, and a battery unit interface. The step of receiving, by the signal transmission circuit, a first control message sent by the front panel control unit comprises: Obtaining the remaining power of the battery cell from the battery cell through the battery cell interface; If the remaining power is less than the specified parameter, the remote communication unit interface is controlled to disconnect the electrical connection with the remote communication unit, and the low power consumption communication unit interface is controlled to maintain the electrical connection with the low power consumption communication unit.
5. The control method of the electronic door lock according to claim 1, characterized in that: The using the first control circuit to parse the first control message to generate a first control signal corresponding to the specified function includes: Storing the first control message at the tail end of the queue; Obtaining the first control message from the head end of the queue as target information; The target information is analyzed by the first control circuit to generate a first control signal corresponding to the designated function.
6. The control method of the electronic door lock according to any one of claims 1 to 5, characterized in that: The interface circuit further comprises an upgrade unit interface, and the upgrade unit interface is normally disconnected from the upgrade unit; The control method of the electronic door lock also includes: receiving a handshake message, responding to the handshake message, and controlling the upgrade unit interface to establish a communication connection with the upgrade unit; Receiving an upgrade parameter message sent by the upgrade unit through the upgrade unit interface, judging whether the upgrade parameter message meets the upgrade requirements, and obtaining a judgment result, wherein the upgrade parameter message includes a version, data volume and / or applicable scenario of the voice data in the upgrade unit; If the judgment result is yes, the voice data sent by the upgrade unit is received through the upgrade unit interface, and the voice data includes at least one voice.
7. A voice control unit, characterized in that: The voice control unit is applied to the control system of the electronic door lock, and the control system of the electronic door lock further includes: a front panel control unit and at least one functional unit, the voice control unit includes a voice chip, and the voice chip includes a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit; The signal transmission circuit is used to electrically connect the front panel control unit, the first control circuit is electrically connected to the signal transmission circuit, the voice playback circuit and at least one of the interface circuits, the first control circuit includes a memory and a processor, the memory stores a computer program, the processor is suitable for executing the computer program to implement the steps of the control method of the electronic door lock as described in any one of claims 1 to 6, and at least one of the interface circuits is used to be connected one-to-one with at least one functional unit.
8. The voice control unit according to claim 7, characterized in that: At least one of the interface circuits includes a bolt state detection unit interface and a door position detection unit interface, The lock tongue state detection unit interface is used to connect to the lock tongue state detection unit, so as to obtain the lock tongue state of the lock tongue from the lock tongue state detection unit and send it to the first control circuit; and the door position detection unit interface is used to connect to the door state detection unit, so as to obtain the door position from the door position detection unit and send it to the first control circuit; When the lock tongue is in the retracted state and the door is in the closed position, the first control circuit obtains a reminder voice from the memory and sends it to the voice playing circuit to drive the voice playing circuit to play the reminder voice, wherein the reminder voice is used to remind that the door is in the half-closed state.
9. The voice control unit according to any one of claims 7 and 8, characterized in that: The interface circuit includes an upgrade unit interface connected to the first control circuit, When the first control circuit receives the handshake message, the upgrade unit interface establishes a communication connection with the upgrade unit, and the upgrade unit interface is used to receive the upgrade parameter message and / or voice data sent by the upgrade unit.
10. A control system for an electronic door lock, characterized in that: include: Front panel control unit; A voice control unit, comprising a voice chip, the voice chip comprising a signal transmission circuit, a first control circuit, a voice playback circuit and at least one interface circuit, the signal transmission circuit is electrically connected to the first control circuit and the front panel control unit respectively, the first control circuit is electrically connected to the voice playback circuit and at least one interface circuit, the first control circuit comprises a memory and a processor, the memory stores a computer program, the processor is adapted to execute the computer program to implement the steps of the control method of the electronic door lock according to any one of claims 1 to 6; At least one functional unit is electrically connected to at least one of the interface circuits in a one-to-one correspondence, at least one of the functional units is used to respond to the control signal and perform a corresponding operation, and at least one of the functional units is at least one of a key unit, a battery unit, a remote communication unit, a low-power communication unit, a motor, a cat's eye unit, a lock tongue state detection unit, a door position detection unit, and an upgrade unit.
Citation Information
Patent Citations
Control system and control method for door lock
CN102542646A
Dynamic cipher lock double MCU decoupling safety electric control system and work flow thereof
CN105913518A
Control device used for intelligent door lock and door control system
CN110738762A
Intelligent doorbell identification system
CN111754672A
Voice door lock device and security door
CN115482607A
