Intelligent control method and system for lock state

The intelligent control method is used to independently control the switch lock status of the dual lock bodies, which solves the problem of unbalanced authority of the existing electromechanical dual-control locks, realizes the synchronous operation and safety redundancy design of the dual lock bodies, and improves the safety and reliability of the safe.

CN120656258APending Publication Date: 2025-09-16SHENZHEN LACHESIS MOBILE MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510911055.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

The existing electromechanical dual-control lock control method has an imbalance in the authority of the main and secondary locks, resulting in the overall failure of the control method when any lock body fails to control. It is also easy to cause the locked items to not be taken out in time or forget to close the cabinet door due to misoperation, reducing safety.

Method used

An intelligent lock status control method is adopted to independently control the switch lock status of the dual lock bodies through the control end. After obtaining the cabinet door closing signal, a locking instruction is generated at the same time, and an unlocking instruction is sent at the same time after the authority is verified. This ensures that the dual lock bodies operate independently and synchronously, and has a safety redundant design to deal with control failures.

Benefits of technology

It achieves balanced control of dual lock permissions, avoids overall control failure due to lock failure or misoperation, improves safety and reliability, ensures that items are locked and taken out in time, and reduces the situation of forgetting to close the cabinet door.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120656258A_ABST
    Figure CN120656258A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent control method and system for a lock state, and the method comprises the steps: obtaining a cabinet door closing signal in response to a power-on signal; in response to the cabinet door closing signal, a first lock body locking instruction and a second lock body locking instruction are generated, so that the first lock body enters a locking state based on the first lock body locking instruction and the second lock body enters the locking state based on the second lock body locking instruction; in response to the permission unlocking determination signal, checking that the signal number of the permission unlocking determination signal reaches a preset number threshold in a preset time period, and generating a permission checking passing signal; and in response to the permission checking passing signal, generating a first lock body unlocking instruction and a second lock body unlocking instruction, so that the first lock body enters an unlocking state based on the first lock body unlocking instruction and the second lock body enters an unlocking state based on the second lock body unlocking instruction. According to the technical scheme provided by the invention, the control method for double-lock authority balance is realized, double-lock unlocking and locking can be controlled at the same time, and the safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart safes, and in particular to an intelligent control method and system for a lock state. Background Art

[0002] At present, the locks configured for smart safes on the market mostly use electromechanical dual-control locks to improve security. The existing electromechanical dual-control locks divide the double locks into main locks and secondary locks, and use the staggered timing control method to control the switch lock status of the double locks: when the double locks need to be unlocked, the secondary lock unlocking instruction is obtained, and the secondary lock executes the initial unlocking mode. After the secondary lock completes unlocking, the main lock unlocking instruction is obtained, and the main lock executes the final unlocking mode, and the main lock completes unlocking; when the double locks need to be locked, the main lock unlocking instruction is obtained, and the main lock executes the initial locking mode. After the main lock completes locking, the secondary lock locking instruction is obtained, and the secondary lock executes the final locking mode, and the secondary lock completes locking. It can be seen that the existing control method can avoid the problems of misoperation and unstable lock position status that may be caused by the simultaneous action of the main and secondary locks, but it has the following problems due to the imbalance of the main and secondary locks’ authority:

[0003] (1) When the secondary lock control fails, the timing control process will be interrupted, and when the main lock control fails, the entire control method will fail;

[0004] (2) If the user forcibly unlocks the door in reverse order, it may trigger an error lock and make it impossible to open and close the door normally.

[0005] In summary, the existing control method of electromechanical dual-control locks controls the opening and closing of the dual locks at staggered times, which will cause imbalance in the authority of the dual locks. Therefore, when the control of any lock body of the dual lock fails, the control method will fail and the locks cannot be opened and closed normally, which greatly reduces security. Summary of the Invention

[0006] The present invention aims to provide an intelligent control method and system for the lock status to solve the above-mentioned technical problems, realize a control method for balanced authority of dual locks, can control the opening and closing of dual locks at the same time, and the control of the dual locks is independent of each other and there is no master-slave dependency relationship, avoiding the problem in the existing control method that the failure of control of any lock body of the dual locks will lead to the failure of the entire control method, thereby further improving safety.

[0007] In order to solve the above technical problems, the present invention provides an intelligent control method for the lock state, which is executed by a control terminal and includes the following steps:

[0008] In response to the power-on signal, obtaining a cabinet door closing signal;

[0009] In response to a cabinet door closing signal, generating a first lock body locking instruction and a second lock body locking instruction, so as to cause the first lock body to enter a locked state based on the first lock body locking instruction and cause the second lock body to enter a locked state based on the second lock body locking instruction;

[0010] In response to the authority unlocking confirmation signal, checking that the number of the authority unlocking confirmation signal reaches a preset number threshold within a preset time period, and generating an authority verification pass signal;

[0011] In response to the authority verification pass signal, a first lock body unlocking instruction and a second lock body unlocking instruction are generated to make the first lock body enter an unlocked state based on the first lock body unlocking instruction and make the second lock body enter an unlocked state based on the second lock body unlocking instruction.

[0012] The intelligent lock state control method described in the above scheme does not enforce a mandatory sequence for opening and closing dual locks, allowing each lock body to independently control the state of the bolt. This overcomes the risk of overall control failure caused by the mutual dependence of the primary and secondary locks in existing dual-control lock control methods, thereby improving security. Furthermore, upon receiving a door closing signal, the above scheme can immediately and simultaneously send a first lock body lock command and a second lock body lock command, allowing the first and second lock bodies to enter the locked state in a timely manner. This avoids the time delay caused by the existing dual-control lock control methods that require the dual-control locks to close in sequence, allowing items to be locked promptly after being loaded into the safe and the door closed, further improving security. Furthermore, upon receiving a permission verification signal, the above scheme can simultaneously send a first lock body unlock command to the first lock body and a second lock body unlock command to the second lock body, allowing the first and second lock bodies to be unlocked simultaneously. This avoids the problem of locked items being unable to be removed in a timely manner due to misoperation in existing dual-control lock control methods, and requires permission verification to be passed before locked items can be removed, thereby improving security.

[0013] Furthermore, it also includes: when the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; if it is determined that the cabinet door opening signal is not obtained within a preset first time threshold, generating a first lock body locking instruction and a second lock body locking instruction, so that the first lock body enters a locked state based on the first lock body locking instruction and the second lock body enters a locked state based on the second lock body locking instruction.

[0014] In the above scheme, when the first lock body and the second lock body are both in the unlocked state, if the cabinet door is not opened within the preset first time threshold, a first lock body locking instruction and a second lock body locking instruction are generated to make the first lock body and the second lock body in the locked state. It can be seen that this scheme can avoid the problem of double locks being unlocked due to user's incorrect operation, and can lock the double locks in time when they are unlocked due to incorrect operation, thereby improving safety.

[0015] Furthermore, it also includes: when the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; in response to the cabinet door opening signal, waiting for the cabinet door closing signal; in response to the cabinet door closing signal, generating a first lock body locking instruction and a second lock body locking instruction, so that the first lock body enters a locked state based on the first lock body locking instruction and the second lock body enters a locked state based on the second lock body locking instruction.

[0016] After responding to the cabinet door closing signal, the above scheme generates a first lock body locking instruction and a second lock body locking instruction, so that the first lock body and the second lock body are in a locked state. It can be seen that this scheme can lock the cabinet door in time after the user locks the items and closes the cabinet door, avoiding the time delay caused by the existing dual-control lock control method that requires the dual-control lock to be locked in sequence, and further improving safety.

[0017] Furthermore, the step of responding to the cabinet door opening signal and waiting for the cabinet door closing signal further includes: generating an alarm message if it is determined that the cabinet door closing signal is not obtained within a preset second time threshold.

[0018] The above solution generates an alarm message when it detects that the cabinet door has not been closed for a long time to remind the user to close the cabinet door, thereby reducing the situation where the user forgets to close the cabinet door after putting items in the cabinet and improving safety. The alarm signal includes an alarm sound signal or an alarm light signal.

[0019] Furthermore, the present invention provides an intelligent control method for the lock state, with the first lock body as the execution subject, including: obtaining the current power-on state, determining that the current power-on state is the power supply state; entering the locked state in response to the first lock body locking instruction; entering the unlocked state in response to the first lock body unlocking instruction; the first lock body locking instruction is generated by the control end in response to the cabinet door closing signal; the cabinet door closing signal is obtained by the control end in response to the power-on signal; the first lock body unlocking instruction is generated by the control end in response to the authority verification pass signal; the authority verification pass signal is generated by the control end in response to the authority unlocking determination signal, and the number of signals of the authority unlocking determination signal reaches a preset number threshold within a preset time period.

[0020] It should be noted that the above scheme is also applicable to the second lock body. When the second lock body is the execution subject, the current power-on state is obtained and determined to be the power supply state; in response to the second lock body lock instruction, the lock state is entered; in response to the second lock body unlock instruction, the lock state is entered; the second lock body lock instruction is generated by the control end in response to the cabinet door closing signal; the cabinet door closing signal is obtained by the control end in response to the power-on signal; the second lock body unlock instruction is generated by the control end in response to the authority verification pass signal; the authority verification pass signal is generated by the control end in response to the authority unlock confirmation signal, and the number of authority unlock confirmation signals within a preset time period reaches a preset number threshold.

[0021] Furthermore, it also includes: determining that the current power-on state is the power-off state, entering the mechanical lock body state; in the mechanical lock body state, responding to a mechanical unlocking signal, entering the unlocking state; or, responding to a mechanical locking signal, entering the locking state.

[0022] In the power-off state, the above solution can enter the unlocked state in response to a mechanical unlock signal and the locked state in response to a mechanical lock signal. This demonstrates the safety redundancy of the above solution, ensuring that in the event of a lock control failure, there is still a backup option for opening and closing the double lock, thereby improving reliability and safety.

[0023] The present invention also provides an intelligent control system for the lock state, comprising a start-up response module, a cabinet door signal acquisition module, a lock body drive module, an authority verification module, a first lock body, a second lock body and a cabinet door; wherein: the start-up response module is used to obtain a power-on signal, thereby putting the intelligent control system for the lock state in a power-on state; in the power-on state: the cabinet door signal acquisition module is used to obtain a cabinet door closing signal of the cabinet door; the lock body drive module is used to generate a first lock body locking instruction and a second lock body locking instruction based on the cabinet door closing signal, and control the second lock body locking instruction based on the first lock body locking instruction The first lock body enters a locked state and controls the second lock body to enter a locked state based on the locking instruction of the second lock body; the authority verification module is used to obtain an authority unlocking confirmation signal, and verify that the number of signals of the authority unlocking determination signal within a preset time period reaches a preset number threshold, and generates an authority verification pass signal; the lock body driving module is also used to generate a first lock body unlocking instruction and a second lock body unlocking instruction based on the authority verification pass signal, and control the first lock body to enter an unlocked state based on the first lock body unlocking instruction and control the second lock body to enter an unlocked state based on the second lock body unlocking instruction.

[0024] The above scheme provides a simple system structure and can implement a dual lock authority balance control method. It does not enforce a mandatory operating sequence for dual lock opening and closing, allowing each lock body to independently control the state of the lock tongue. This overcomes the risk of overall control failure caused by the mutual dependence of the primary and secondary locks in existing dual-control lock control methods, thereby improving security. Furthermore, after receiving a door closing signal, the above scheme can immediately and simultaneously send a first lock body lock command and a second lock body lock command, allowing the first and second lock bodies to enter the locked state in a timely manner. This avoids the time delay caused by the existing dual-control lock control method that requires the dual-control locks to close in sequence, allowing items to be locked in a timely manner after being loaded into the safe and the door closed, further improving security. Moreover, after receiving a permission verification signal, the above scheme can simultaneously send a first lock body unlock command to the first lock body and a second lock body unlock command to the second lock body, allowing the first and second lock bodies to be unlocked simultaneously. This avoids the problem of locked items not being able to be removed in a timely manner due to misoperation in existing dual-control lock control methods, and requires permission verification to be passed before locked items can be removed, thereby improving security.

[0025] Furthermore, the cabinet door signal acquisition module is also used to obtain a cabinet door opening signal when the first lock body is in an unlocked state and the second lock body is in an unlocked state; the lock body driving module is also used to determine that the cabinet door opening signal is not obtained within a first time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

[0026] Furthermore, the cabinet door signal acquisition module is also used to obtain the cabinet door opening signal when the first lock body is in the unlocked state and the second lock body is in the unlocked state; after obtaining the cabinet door opening signal, obtain the cabinet door closing signal; the lock body driving module is also used to determine that the cabinet door closing signal is obtained within the second time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

[0027] Furthermore, the lock body driving module is further configured to send an alarm signal if it is determined that the cabinet door signal acquisition module has not acquired the cabinet door closing signal within a preset second time threshold.

[0028] In summary, the intelligent control method and system for lock status proposed by the present invention have the following beneficial effects:

[0029] (1) It overcomes the risk of overall control failure caused by the mutual dependence of the main and secondary locks in the existing dual-control lock control method. Each lock body can independently control the switch lock state, making the dual lock authority balanced and improving security;

[0030] (2) In the process of controlling the double locks, the time delay caused by the existing double lock control method that requires the double locks to be locked in sequence is avoided, so that the items are locked in time after being placed in the safe and the door is closed, further improving security;

[0031] (3) After obtaining the authority verification signal, the control method of the present invention can unlock the first lock body and the second lock body at the same time, avoiding the problem of the existing dual-control lock control method that the locked items cannot be taken out in time due to user misoperation. In addition, the present invention requires that the locked items can be taken out only after the authority verification is passed, further improving security;

[0032] (4) When it is detected that the cabinet door has not been closed for a long time, an alarm message will be generated to remind the user to close the cabinet door, reducing the situation where the user forgets to close the cabinet door after putting items in, thereby improving safety;

[0033] (5) The control method of the present invention has a safety redundancy design, which can ensure that when a control failure occurs in the lock body, there is still a backup plan to enable the double lock to be opened and closed, thereby improving reliability and further improving safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flowchart of an intelligent control method for a lock state provided by one embodiment of the present invention;

[0035] Figure 2 A functional diagram of a dual-mechanical dual-electric lock in which an intelligent lock state control method provided by one embodiment of the present invention is applied to a dual-mechanical dual-electric lock;

[0036] Figure 3 A schematic diagram of a safe unlocking control and door opening detection state of a smart lock of a safe in the medical field, in which an intelligent control method of a lock state provided by one embodiment of the present invention is applied.

[0037] Figure 4 A schematic diagram of an intelligent control system architecture for a lock state provided by one embodiment of the present invention.

[0038] Explanation of the accompanying drawings: 1. first lock body; 11. first push rod; 12. first main lock tongue; 13. first motor; 14. first lock core; 2. second lock body; 21. second push rod; 22. second main lock tongue; 23. second motor; 24. second lock core. DETAILED DESCRIPTION

[0039] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0040] See Figure 1 This embodiment provides an intelligent control method for the lock state, with the control terminal as the execution subject, including the following steps:

[0041] Step S1: In response to a power-on signal, obtaining a cabinet door closing signal;

[0042] Step S2: generating a first lock body locking instruction and a second lock body locking instruction in response to the cabinet door closing signal, so as to cause the first lock body to enter a locked state based on the first lock body locking instruction and cause the second lock body to enter a locked state based on the second lock body locking instruction;

[0043] Step S3: In response to the authority unlocking confirmation signal, checking whether the number of the authority unlocking confirmation signal within a preset time period reaches a preset number threshold, and generating an authority verification pass signal;

[0044] Step S4: In response to the authority verification pass signal, generate a first lock body unlocking instruction and a second lock body unlocking instruction, so that the first lock body enters an unlocked state based on the first lock body unlocking instruction and the second lock body enters an unlocked state based on the second lock body unlocking instruction.

[0045] The intelligent lock state control method described in this embodiment does not enforce a specific operating sequence for dual lock opening and closing, allowing each lock body to independently control the bolt state. This overcomes the risk of overall control failure associated with existing dual-control lock control methods, which rely on the interdependence of the primary and secondary locks, thereby improving security. Furthermore, upon receiving a door closing signal, this embodiment can simultaneously send a first lock body lock command and a second lock body lock command, allowing the first and second lock bodies to enter the locked state promptly. This avoids the time delay caused by the sequential closing of the dual locks in existing dual-control lock control methods, allowing items to be locked promptly after being loaded into the safe and the door closed, further improving security. Furthermore, upon receiving a permission verification signal, this embodiment can simultaneously send a first lock body unlock command to the first lock body and a second lock body unlock command to the second lock body, allowing the first and second lock bodies to be unlocked simultaneously. This avoids the problem of locked items being unable to be removed promptly due to misoperation in existing dual-control lock control methods, and requires permission verification to be passed before locked items can be removed, further improving security.

[0046] It should be noted that the door closing signal can be generated by a sensor installed on the safe door. Furthermore, the permission unlock confirmation signal can be generated by a permission and identification method such as a binocular camera, an RFID card reader, or a finger vein recognition method. In this embodiment, the permission verification pass signal can be generated when the number of permission unlock confirmation signals generated by different permission and identification methods reaches a preset threshold. The preset threshold can be two permission unlock confirmation signals.

[0047] Furthermore, it also includes: when the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; if it is determined that the cabinet door opening signal is not obtained within a preset first time threshold, generating a first lock body locking instruction and a second lock body locking instruction, so that the first lock body enters a locked state based on the first lock body locking instruction and the second lock body enters a locked state based on the second lock body locking instruction.

[0048] In this embodiment, when the first lock body and the second lock body are both in the unlocked state, if the cabinet door is not opened within the preset first time threshold, a first lock body locking instruction and a second lock body locking instruction are generated to make the first lock body and the second lock body in the locked state. It can be seen that this embodiment can avoid the problem of double locks being unlocked due to user error operation, and can lock the double locks in time when they are unlocked due to operation error, thereby improving safety.

[0049] It should be noted that the door opening signal may be generated by a sensor provided on the door of the safe.

[0050] Furthermore, it also includes: when the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; in response to the cabinet door opening signal, waiting for the cabinet door closing signal; in response to the cabinet door closing signal, generating a first lock body locking instruction and a second lock body locking instruction, so that the first lock body enters a locked state based on the first lock body locking instruction and the second lock body enters a locked state based on the second lock body locking instruction.

[0051] After responding to the cabinet door closing signal, this embodiment generates a first lock body locking instruction and a second lock body locking instruction, so that the first lock body and the second lock body are in a locked state. It can be seen that this embodiment can lock the cabinet door in time after the user locks the items and closes the cabinet door, avoiding the time delay caused by the existing dual-control lock control method that requires the dual-control lock to be locked in sequence, and further improving safety.

[0052] Furthermore, the step of responding to the cabinet door opening signal and waiting for the cabinet door closing signal further includes: generating an alarm message if it is determined that the cabinet door closing signal is not obtained within a preset second time threshold.

[0053] This embodiment generates an alarm message when it detects that the cabinet door has not been closed for a long time to remind the user to close the cabinet door, thereby reducing the situation where the user forgets to close the cabinet door after putting items in, and improving safety. The alarm signal includes an alarm sound signal or an alarm light signal.

[0054] Furthermore, the present invention provides an intelligent control method for the lock state, with the first lock body as the execution subject, including: obtaining the current power-on state, determining that the current power-on state is the power supply state; entering the locked state in response to the first lock body locking instruction; entering the unlocked state in response to the first lock body unlocking instruction; the first lock body locking instruction is generated by the control end in response to the cabinet door closing signal; the cabinet door closing signal is obtained by the control end in response to the power-on signal; the first lock body unlocking instruction is generated by the control end in response to the authority verification pass signal; the authority verification pass signal is generated by the control end in response to the authority unlocking determination signal, and the number of signals of the authority unlocking determination signal reaches a preset number threshold within a preset time period.

[0055] It should be noted that this embodiment is also applicable to the second lock body. When the second lock body is the execution subject, the current power-on state is obtained and determined to be the power-on state; in response to the second lock body lock instruction, the lock state is entered; in response to the second lock body unlock instruction, the lock state is entered; the second lock body lock instruction is generated by the control end in response to the cabinet door closing signal; the cabinet door closing signal is obtained by the control end in response to the power-on signal; the second lock body unlock instruction is generated by the control end in response to the authority verification pass signal; the authority verification pass signal is generated by the control end in response to the authority unlock confirmation signal, after verifying that the number of authority unlock confirmation signals within a preset time period reaches a preset number threshold.

[0056] Furthermore, it also includes: determining that the current power-on state is the power-off state, entering the mechanical lock body state; in the mechanical lock body state, responding to a mechanical unlocking signal, entering the unlocking state; or, responding to a mechanical locking signal, entering the locking state.

[0057] In a power-off state, this embodiment can enter the unlocked state in response to a mechanical unlock signal and the locked state in response to a mechanical lock signal. The mechanical unlock and lock signals can be triggered by a mechanical key. This embodiment features a safety redundancy design, ensuring a backup option for opening and closing the dual locks in the event of a lock control failure, thereby improving reliability and safety.

[0058] It should be noted that this embodiment exits the mechanical lock body state when the power is not off; at this time, if the first lock body or the second lock body is in the unlocked state, when the mechanical locking signal is obtained, it will still continue to be in the unlocked state; if the first lock body or the second lock body is in the locked state, when the mechanical unlocking signal is obtained, it will still continue to be in the locked state.

[0059] See Figure 2 This embodiment provides an intelligent lock state control method applied to a dual-mechanical, dual-electric lock implementation; the first lock body 1, the second lock body 2, and the latch bolt can all independently switch between a locked state and an unlocked state. The spatial positions of the first lock body 1, the second lock body 2, and the latch bolt can be changed. For example, the latch bolt can be positioned between the first lock body 1 and the second lock body 2; or the latch bolt can be positioned above the first lock body 1 and the second lock body 2 below the first lock body 1; or the latch bolt can be positioned below the second lock body 2 and the first lock body 1 can be positioned above the second lock body 2. Furthermore, the number of latch bolts can be increased or decreased.

[0060] In this embodiment, MCUA is the first controller board, responsible for receiving first lock body unlock commands and driving relays K1 and K2 to control the first motor 13 to unlock the first lock body. It also receives first lock body lock commands and drives relays K1 and K2 to control the first motor 13 to lock the first lock body. UART1 is the communication channel between the first controller board MCUA and an external controller, used to input first lock body lock and unlock commands and obtain power-on status.

[0061] In this embodiment, MCUB is the second controller board, responsible for receiving second lock body unlock commands and driving relays K3 and K4 to control the second motor 23 to unlock the second lock body. It also receives second lock body lock commands and drives relays K3 and K4 to control the second motor 23 to lock the second lock body. UART2 is the communication channel between the second controller board MCUB and an external controller, used to input second lock body lock and unlock commands and obtain power-on status.

[0062] In this embodiment, the first lock core 14 and the first motor 13 and the first push rod 11 and the first main lock tongue 12 are connected; the first lock core 14 can be an insertion port for the mechanical key corresponding to the first lock body 1; when the power-on state is the power-off state, the lock core can be placed in the unlocking position by using the mechanical key corresponding to the first lock body 1, driving the first push rod 11 and the first main lock tongue 12 to retract, so that the first lock body enters the unlocking state; the lock core can also be placed in the locking position by using the mechanical key corresponding to the first lock body 1, driving the first push rod 11 and the first main lock tongue 12 to extend, so that the first lock body 1 enters the locking state; when the power-on state is the power supply state, the first motor 13 can be instructed to work, so that the first lock core 14 is placed in the unlocking position or the locking position, driving the first main lock tongue 12 and the first push rod 11 to extend or retract, so that the first lock body 1 enters the locking state or the unlocking state. The second lock core 24 and the second motor 23 are connected to the second push rod 21 and the second main lock tongue 22; the second lock core 24 can be an insertion port for the mechanical key corresponding to the second lock body 2; when the power-on state is the power-off state, the lock core can be placed in the unlocking position by using the mechanical key corresponding to the second lock body 2, thereby driving the second push rod 21 and the second main lock tongue 22 to retract, so that the second lock body 2 enters the unlocking state; the lock core can also be placed in the locking position by using the mechanical key corresponding to the second lock body 2, thereby driving the second push rod 21 and the second main lock tongue 22 to extend, so that the second lock body 2 enters the locking state; when the power-on state is not the power-off state, the second motor 23 can be instructed to work, so that the second lock core 24 is placed in the unlocking position or the locking position, thereby driving the second main lock tongue 22 and the second push rod 21 to extend or retract, so that the second lock body 2 enters the locking state or the unlocking state.

[0063] In this embodiment, when the handle is in the unlocking position, the latch bolt retracts; when the handle is in the locking position, the latch bolt extends. In this embodiment, when the first main lock tongue 12, the second main lock tongue 22, and the latch bolt are all extended, the dual mechanical and dual electric lock is in the locked state; when the main lock tongue 12, the second main lock tongue 22, and the latch bolt are all retracted, the dual mechanical and dual electric lock is in the unlocked state.

[0064] In this embodiment, a lock state intelligent control method is applied to the dual-mechanical dual-electric lock, including:

[0065] UART1 obtains the current power-on state and determines that the current power-on state is the power supply state; after the first controller board MCUA receives the first lock body locking instruction, it drives the relays K1 and K2 to instruct the first motor 13 to work, so that the first lock core 14 is placed in the locking position, driving the first main lock tongue 12 and the first push rod 11 to extend, so that the first lock body enters the locked state; after the first controller board MCUA receives the first lock body unlocking instruction, it drives the relays K1 and K2 to instruct the first motor 13 to work, so that the first lock core 14 is placed in the unlocking position, driving the first main lock tongue 12 and the first push rod 11 to retract, so that the first lock body enters the unlocking state;

[0066] UART2 obtains the current power-on state and determines that the current power-on state is the power supply state; after the second controller board MCUB receives the second lock body locking instruction, it drives the relays K3 and K4 to instruct the second motor 23 to work, so that the second lock core 24 is placed in the locking position, driving the second main lock tongue 22 and the second push rod 21 to extend, so that the second lock body enters the locked state; after the second controller board MCUB receives the second lock body unlocking instruction, it drives the relays K3 and K4 to instruct the second motor 23 to work, so that the second lock core 24 is placed in the unlocking position, driving the second main lock tongue 22 and the second push rod 21 to retract, so that the second lock body enters the unlocking state.

[0067] It should be noted that when both the first lock body 1 and the second lock body 2 are in the unlocked state, the handle is placed in the unlocked position to retract the latch bolt, so that the dual mechanical and dual electric control lock can be unlocked.

[0068] See Figure 3 This embodiment also provides an intelligent lock control method for a medical safe, which is applied to an implementation scheme of an intelligent lock for a medical safe. This embodiment provides an intelligent lock control method, wherein the fan switch can monitor the cabinet door status, which includes a cabinet door closed state and a cabinet door open state, and can generate a cabinet door closed signal and a cabinet door open signal based on the cabinet door status; the bus CAN command is generated by the bus CAN, which can receive the cabinet door closed signal, the cabinet door open signal, and the permission verification pass signal, and the bus CAN command can include: a safe A lock closing command, a safe A lock unlocking command, a safe B lock closing command, and a safe B lock unlocking command; the first lock body can be considered as a safe A lock, and the second lock body can be considered as a safe B lock; the first lock body closing command can be considered as a safe A lock closing command, and the second lock body closing command can be considered as a safe B lock closing command; the first lock body unlocking command can be considered as a safe A lock unlocking command, and the second lock body unlocking command can be considered as a safe B lock unlocking command; and the power-on signal is generated after the power supply is connected.

[0069] This embodiment covers the business processes of operations such as medicine collection, replenishment, and inventory by medical staff, and provides a lock status intelligent control method for smart locks of medical safes, including:

[0070] The power supply is connected to generate a power-on signal;

[0071] In response to the power-on signal, the fan switch detects the cabinet door state, and after determining that the cabinet door state is the cabinet door closed state, the fan switch generates a cabinet door closing signal;

[0072] In response to the door closing signal, the bus CAN generates a safe A lock closing instruction and a safe B lock closing instruction, so as to make the safe A lock enter the locked state based on the safe A lock closing instruction and make the safe B lock enter the locked state based on the safe B lock closing instruction;

[0073] The person who takes the medicine logs in with the permission, and then checks the medicine collection process to determine that the safe needs to be opened, then generates a permission unlocking confirmation signal. If the number of the permission unlocking confirmation signals reaches a preset number threshold within a preset time period, a permission verification pass signal is generated;

[0074] In response to the authority verification pass signal, the bus CAN generates a safe A lock unlocking instruction and a safe B lock unlocking instruction, so that the safe A lock enters the unlocked state based on the safe A lock unlocking instruction and the safe B lock enters the unlocked state based on the safe B lock unlocking instruction.

[0075] Furthermore, when the locks of safe A and safe B are both unlocked, the fan-shaped switch monitors the door status in real time;

[0076] When the person taking medicine does not open the door handle, and the fan switch does not detect the cabinet door opening state within the preset first time threshold, the bus CAN generates a safe A lock closing instruction and a safe B lock closing instruction, so that the safe A lock enters the locked state based on the safe A lock closing instruction and the safe B lock enters the locked state based on the safe B lock closing instruction;

[0077] When the medicine-collecting personnel opens the door handle, the fan-shaped switch detects the cabinet door is open within the preset first time threshold, and the safe door is in the open state at this time; the medicine-collecting personnel performs operations such as taking medicine, replenishing medicine, and taking inventory; after the operation is completed, the medicine-collecting personnel closes the door handle, and the fan-shaped switch detects the cabinet door is closed, and generates a cabinet door closing signal; in response to the domain cabinet door closing signal, the bus CAN generates a safe A lock closing instruction and a safe B lock closing instruction, so that the safe A lock enters the locked state based on the safe A lock closing instruction and the safe B lock enters the locked state based on the safe B lock closing instruction;

[0078] The operation process of the medicine collection personnel is completed.

[0079] See Figure 4 , this embodiment also provides an intelligent control system for the lock state, including a startup response module, a cabinet door signal acquisition module, a lock body drive module, an authority verification module, a first lock body, a second lock body and a cabinet door; wherein: the startup response module is used to obtain a power-on signal, thereby putting the intelligent control system for the lock state into a power-on state; in the power-on state: the cabinet door signal acquisition module is used to obtain a cabinet door closing signal of the cabinet door; the lock body drive module is used to generate a first lock body locking instruction and a second lock body locking instruction based on the cabinet door closing signal, and control the cabinet door based on the first lock body locking instruction The first lock body enters a locked state and controls the second lock body to enter a locked state based on the second lock body locking instruction; the authority verification module is used to obtain an authority unlocking confirmation signal, and verify that the number of signals of the authority unlocking determination signal within a preset time period reaches a preset number threshold, and generate an authority verification pass signal; the lock body driving module is also used to generate a first lock body unlocking instruction and a second lock body unlocking instruction based on the authority verification pass signal, and control the first lock body to enter an unlocked state based on the first lock body unlocking instruction and control the second lock body to enter an unlocked state based on the second lock body unlocking instruction.

[0080] The system provided by this embodiment has a simple structure and can implement a dual-lock authority balance control method. It does not enforce a specific operating sequence for dual lock opening and closing, allowing each lock body to independently control the state of the lock tongue. This overcomes the risk of overall control failure associated with existing dual-control lock control methods that rely on the primary and secondary locks for interdependence, thereby improving security. Furthermore, upon receiving a door closing signal, this embodiment can immediately and simultaneously send a first lock body lock command and a second lock body lock command, allowing the first and second lock bodies to enter the locked state in a timely manner. This avoids the time delay caused by existing dual-control lock control methods that require the dual locks to close sequentially, allowing items to be locked promptly after being loaded into the safe and the door closed, further improving security. Furthermore, upon receiving a permission verification signal, this embodiment can simultaneously send a first lock body unlock command to the first lock body and a second lock body unlock command to the second lock body, allowing the first and second lock bodies to be unlocked simultaneously. This avoids the problem of locked items being unable to be removed promptly due to misoperation in existing dual-control lock control methods, which requires permission verification to be passed before locked items can be removed, thereby improving security.

[0081] Furthermore, the cabinet door signal acquisition module is also used to obtain a cabinet door opening signal when the first lock body is in an unlocked state and the second lock body is in an unlocked state; the lock body driving module is also used to determine that the cabinet door opening signal is not obtained within a first time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

[0082] Furthermore, the cabinet door signal acquisition module is also used to obtain the cabinet door opening signal when the first lock body is in the unlocked state and the second lock body is in the unlocked state; after obtaining the cabinet door opening signal, obtain the cabinet door closing signal; the lock body driving module is also used to determine that the cabinet door closing signal is obtained within the second time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

[0083] Furthermore, the lock body driving module is further configured to send an alarm signal if it is determined that the cabinet door signal acquisition module has not acquired the cabinet door closing signal within a preset second time threshold.

[0084] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An intelligent control method for lock status, characterized in that: The control end is the execution subject, including the following steps: In response to the power-on signal, obtaining a cabinet door closing signal; In response to a cabinet door closing signal, generating a first lock body locking instruction and a second lock body locking instruction, so as to cause the first lock body to enter a locked state based on the first lock body locking instruction and cause the second lock body to enter a locked state based on the second lock body locking instruction; In response to the authority unlocking confirmation signal, checking that the number of the authority unlocking confirmation signal reaches a preset number threshold within a preset time period, and generating an authority verification pass signal; In response to the authority verification pass signal, a first lock body unlocking instruction and a second lock body unlocking instruction are generated to make the first lock body enter an unlocked state based on the first lock body unlocking instruction and make the second lock body enter an unlocked state based on the second lock body unlocking instruction.

2. The intelligent control method of lock status according to claim 1, characterized in that: Also includes: When the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; If it is determined that the cabinet door opening signal is not obtained within the preset first time threshold, a first lock body locking instruction and a second lock body locking instruction are generated to make the first lock body enter the locked state based on the first lock body locking instruction and to make the second lock body enter the locked state based on the second lock body locking instruction.

3. The intelligent control method of lock status according to claim 1, characterized in that: Also includes: When the first lock body is in an unlocked state and the second lock body is in an unlocked state, obtaining a cabinet door opening signal; In response to the cabinet door opening signal, waiting for the cabinet door closing signal; In response to the cabinet door closing signal, a first lock body locking instruction and a second lock body locking instruction are generated to make the first lock body enter the locked state based on the first lock body locking instruction and make the second lock body enter the locked state based on the second lock body locking instruction.

4. The intelligent control method of lock status according to claim 3, characterized in that: The step of responding to the cabinet door opening signal and waiting for the cabinet door closing signal further comprises: If it is determined that the cabinet door closing signal is not obtained within a preset second time threshold, an alarm message is generated.

5. An intelligent control method for lock status, characterized in that: The first lock body is used as the execution body, including: Obtain the current power-on state and determine that the current power-on state is the power supply state; In response to the first lock body locking instruction, entering the locked state; In response to the first lock body unlocking instruction, entering the unlocking state; The first lock body locking instruction is generated by the control end in response to the cabinet door closing signal; the cabinet door closing signal is obtained by the control end in response to the power-on signal; The first lock body unlocking instruction is generated by the control end in response to the authority verification pass signal; the authority verification pass signal is generated by the control end in response to the authority unlocking confirmation signal, and the number of the authority unlocking confirmation signals reaches a preset number threshold within a preset time period.

6. The intelligent control method of lock status according to claim 5, characterized in that: Also includes: If the current power-on state is determined to be the power-off state, the mechanical lock state is entered; In the mechanical lock state, in response to the mechanical unlocking signal, it enters the unlocking state; Or, in response to a mechanical locking signal, enter the locked state.

7. An intelligent control system for locking status, characterized in that: A method for intelligently controlling a lock state according to any one of claims 1 to 4, comprising a startup response module, a cabinet door signal acquisition module, a lock body drive module, an authority verification module, a first lock body, a second lock body, and a cabinet door; wherein: The startup response module is used to obtain a power-on signal, thereby putting the intelligent control system of the lock state into a power-on state; in the power-on state: The cabinet door signal acquisition module is used to obtain a cabinet door closing signal of the cabinet door; The lock body driving module is configured to generate a first lock body locking instruction and a second lock body locking instruction based on the cabinet door closing signal, and control the first lock body to enter a locked state based on the first lock body locking instruction and control the second lock body to enter a locked state based on the second lock body locking instruction; The authority verification module is used to obtain the authority unlocking confirmation signal, and verify that the number of the authority unlocking confirmation signals within a preset time period reaches a preset number threshold, and generate an authority verification pass signal; The lock body driving module is further configured to generate a first lock body unlocking instruction and a second lock body unlocking instruction based on the authority verification signal, and to control the first lock body to enter an unlocked state based on the first lock body unlocking instruction and to control the second lock body to enter an unlocked state based on the second lock body unlocking instruction.

8. The intelligent control system for lock status according to claim 7, characterized in that: The cabinet door signal acquisition module is also used to obtain a cabinet door opening signal when the first lock body is in an unlocked state and the second lock body is in an unlocked state; the lock body driving module is also used to determine that the cabinet door opening signal is not obtained within a first time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

9. The intelligent control system for lock status according to claim 7, characterized in that: The cabinet door signal acquisition module is also used to obtain the cabinet door opening signal when the first lock body is in the unlocked state and the second lock body is in the unlocked state; after obtaining the cabinet door opening signal, obtain the cabinet door closing signal; the lock body driving module is also used to determine that the cabinet door closing signal is obtained within the second time threshold preset by the cabinet door signal acquisition module, then generate a first lock body locking instruction and a second lock body locking instruction, and control the first lock body to enter the locked state based on the first lock body locking instruction and control the second lock body to enter the locked state based on the second lock body locking instruction.

10. The intelligent control system for lock status according to claim 9, characterized in that: The lock body driving module is further configured to send an alarm signal if it is determined that the cabinet door signal acquisition module has not acquired the cabinet door closing signal within a preset second time threshold.