Unlocking implementation method and device applied to passive lock and passive lock
By matching the communication connection information of the electronic key and the lock core in the passive lock, the tedious problem of intelligent locks in multiple lock locks is solved, intelligent unlocking is realized, and efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411491924.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-28
Smart Images

Figure CN119380445A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart locks, and in particular to an unlocking method and device for a passive lock, and a passive lock. Background Art
[0002] With the continuous development of science and technology, in the context of artificial intelligence, big data construction, etc., electronic keys and related technologies of smart locks have begun to become popular. Most of today's smart door locks are unlocked by mechanical keys, fingerprint recognition, face recognition or passwords. At present, in some scenarios, when multiple locks need to be unlocked, it is necessary to manually unlock multiple locks by mechanical keys or by electronic recognition. However, if the smart lock is out of power, it is necessary to charge the smart lock first, and then unlock each smart lock in sequence until all smart locks are opened. This not only has the problem of cumbersome unlocking procedures, but also leads to low intelligence and efficiency of unlocking. It can be seen that it is particularly important to provide a new unlocking method to improve the intelligence and efficiency of unlocking and thus improve the convenience of user unlocking. Summary of the invention
[0003] The present invention provides an unlocking implementation method and device for a passive lock, and a passive lock, which can realize intelligent unlocking, and is beneficial to improving the intelligence and efficiency of unlocking operations performed on passive locks, and is beneficial to improving the accuracy and reliability of unlocking operations performed on passive locks.
[0004] In order to solve the above technical problems, the first aspect of the present invention discloses a method for unlocking a passive lock, wherein the passive lock includes an electronic key and a lock core, and the method includes:
[0005] Acquire communication connection information between the electronic key and the lock core during the handshake process, wherein the communication connection information includes communication key information and lock core coding information;
[0006] Based on the lock core coding information, determining whether the lock core coding information exists in a predetermined lock core key list;
[0007] When it is determined that the lock core code information exists in the predetermined lock core key list, the electronic key sends unlocking instruction information to the lock core, and performs a verification operation on the unlocking instruction information through the lock core to obtain a verification result;
[0008] When the verification result is used to indicate that the unlocking instruction information verification is passed, an unlocking operation is performed on the passive lock.
[0009] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0010] Acquire handshake connection information between the electronic key and the lock cylinder during the handshake process, wherein the handshake connection information includes locking lock cylinder coding information;
[0011] Performing a verification operation on the locking cylinder coding information to obtain a locking verification result;
[0012] When the locking verification result indicates that the locking cylinder coding information verification has passed, performing a locking operation on the passive lock;
[0013] When the locking verification result is used to indicate that the locking cylinder code verification fails, a failure reason for the locking cylinder code verification failure is generated.
[0014] As an optional implementation, in the first aspect of the present invention, the unlocking instruction information includes at least the communication key information and the lock core coding information, wherein the verification operation is performed on the unlocking instruction information through the lock core to obtain a verification result, including:
[0015] Acquire target authentication information of the passive lock, and generate authentication requirement information corresponding to the passive lock based on the target authentication information;
[0016] Based on the authentication requirement information, determining the authentication logic parameters corresponding to the passive lock, and generating the unlocking coding parameters of the electronic key according to the communication key information and the lock core coding information included in the unlocking instruction information;
[0017] Determining whether the authentication logic parameter matches the unlocking coding parameter;
[0018] When it is determined that the authentication logic parameter matches the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has passed; when it is determined that the authentication logic parameter does not match the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has failed.
[0019] As an optional implementation, in the first aspect of the present invention, the lock core is provided with a plurality of physical contacts, wherein the determining whether the authentication logic parameter matches the unlocking code parameter comprises:
[0020] Determine the target contact parameters of the lock core according to the authentication logic parameters, wherein the target contact parameters include connection parameters of all the physical contacts corresponding to the authentication logic parameters;
[0021] Based on the unlocking coding parameters, determining contact connection parameters between the electronic key and all the physical contacts corresponding to the lock core;
[0022] Determining whether the target contact point parameters match the contact point connection parameters;
[0023] When it is determined that the target contact parameters match the contact connection parameters, it is determined that the authentication logic parameters match the unlocking code parameters; when it is determined that the target contact parameters do not match the contact connection parameters, it is determined that the authentication logic parameters do not match the unlocking code parameters.
[0024] As an optional implementation, in the first aspect of the present invention, before performing the unlocking operation on the passive lock, the method further includes:
[0025] Determine the key authorization information corresponding to the electronic key according to the authentication result, determine the target lock cylinder matching the key authorization information based on the key authorization information, and determine the lock cylinder authorization information corresponding to the target lock cylinder; wherein the number of the target lock cylinder is at least one;
[0026] Determining whether the key authorization information matches the lock core authorization information;
[0027] When it is determined that the key authorization information matches the lock core authorization information, the step of performing an unlocking operation on the passive lock is triggered.
[0028] As an optional implementation, in the first aspect of the present invention, after determining that the key authorization information matches the lock cylinder authorization information, the method further includes:
[0029] Obtaining lock status information of the passive lock;
[0030] Determine the unlocking authority information of the passive lock according to the lock status information, and judge whether the unlocking authority information meets the preset target unlocking condition;
[0031] When it is determined that the unlocking authority information satisfies the preset target unlocking condition, the step of performing the unlocking operation on the passive lock is triggered.
[0032] As an optional implementation, in the first aspect of the present invention, performing an unlocking operation on the passive lock includes:
[0033] Determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking route corresponding to the passive lock based on the target unlocking requirement;
[0034] Based on the target unlocking circuit, an unlocking operation is performed on the target lock core to achieve an unlocking operation on the passive lock.
[0035] The second aspect of the present invention discloses an unlocking device for a passive lock, wherein the passive lock comprises an electronic key and a lock core, and the device comprises:
[0036] An acquisition module, used to acquire communication connection information between the electronic key and the lock core during the handshake process, wherein the communication connection information includes communication key information and lock core coding information;
[0037] A judgment module, used for judging whether the lock core coding information exists in a predetermined lock core key list based on the lock core coding information;
[0038] A sending module, configured to cause the electronic key to send unlocking instruction information to the lock core when the judging module judges that the lock core coding information exists in the predetermined lock core key list;
[0039] A verification module, used to perform a verification operation on the unlocking instruction information through the lock core to obtain a verification result;
[0040] An execution module is used to execute an unlocking operation on the passive lock when the verification result is used to indicate that the unlocking instruction information verification has passed.
[0041] As an optional implementation, in the second aspect of the present invention, the acquisition module is further used to acquire handshake connection information between the electronic key and the lock cylinder during the handshake process, and the handshake connection information includes locking lock cylinder coding information;
[0042] The verification module is further used to perform a verification operation on the locking cylinder coding information to obtain a locking verification result;
[0043] The execution module is further configured to execute a locking operation on the passive lock when the locking verification result indicates that the locking cylinder coding information verification has passed;
[0044] The device also includes:
[0045] A generating module is used to generate a failure reason for the failure of the locking cylinder code verification when the locking verification result is used to indicate that the locking cylinder code verification fails.
[0046] As an optional implementation, in the second aspect of the present invention, the unlocking instruction information includes at least the communication key information and the lock core coding information, wherein the verification module performs a verification operation on the unlocking instruction information through the lock core, and the specific manner of obtaining the verification result includes:
[0047] Acquire target authentication information of the passive lock, and generate authentication requirement information corresponding to the passive lock based on the target authentication information;
[0048] Based on the authentication requirement information, determining the authentication logic parameters corresponding to the passive lock, and generating the unlocking coding parameters of the electronic key according to the communication key information and the lock core coding information included in the unlocking instruction information;
[0049] Determining whether the authentication logic parameter matches the unlocking coding parameter;
[0050] When it is determined that the authentication logic parameter matches the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has passed; when it is determined that the authentication logic parameter does not match the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has failed.
[0051] As an optional implementation, in the second aspect of the present invention, the lock core is provided with a plurality of physical contacts, wherein the specific manner in which the judgment module judges whether the authentication logic parameter matches the unlocking coding parameter includes:
[0052] Determine the target contact parameters of the lock core according to the authentication logic parameters, wherein the target contact parameters include connection parameters of all the physical contacts corresponding to the authentication logic parameters;
[0053] Based on the unlocking coding parameters, determining contact connection parameters between the electronic key and all the physical contacts corresponding to the lock core;
[0054] Determining whether the target contact point parameters match the contact point connection parameters;
[0055] When it is determined that the target contact parameters match the contact connection parameters, it is determined that the authentication logic parameters match the unlocking code parameters; when it is determined that the target contact parameters do not match the contact connection parameters, it is determined that the authentication logic parameters do not match the unlocking code parameters.
[0056] As an optional implementation, in the second aspect of the present invention, the device further includes:
[0057] a determination module, configured to determine, before the execution module performs an unlocking operation on the passive lock, the key authorization information corresponding to the electronic key according to the authentication result, determine a target lock cylinder matching the key authorization information based on the key authorization information, and determine the lock cylinder authorization information corresponding to the target lock cylinder; wherein the number of the target lock cylinder is at least one;
[0058] The judgment module is also used to judge whether the key authorization information matches the lock core authorization information; when it is judged that the key authorization information matches the lock core authorization information, the execution module is triggered to execute the step of unlocking the passive lock.
[0059] As an optional implementation, in the second aspect of the present invention, the acquisition module is further used to acquire the lock status information of the passive lock after the judgment module determines that the key authorization information matches the lock core authorization information;
[0060] The determination module is further used to determine the unlocking authority information of the passive lock according to the lock status information;
[0061] The judgment module is further used to judge whether the unlocking authority information meets the preset target unlocking condition; when it is judged that the unlocking authority information meets the preset target unlocking condition, the execution module is triggered to execute the step of performing the unlocking operation on the passive lock.
[0062] As an optional implementation, in the second aspect of the present invention, the specific manner in which the execution module performs the unlocking operation on the passive lock includes:
[0063] Determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking route corresponding to the passive lock based on the target unlocking requirement;
[0064] Based on the target unlocking circuit, an unlocking operation is performed on the target lock core to achieve an unlocking operation on the passive lock.
[0065] The third aspect of the present invention discloses another unlocking device for a passive lock, the device comprising:
[0066] A memory storing executable program code;
[0067] a processor coupled to the memory;
[0068] The processor calls the executable program code stored in the memory to execute the unlocking implementation method for a passive lock disclosed in the first aspect of the present invention.
[0069] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the unlocking implementation method for a passive lock disclosed in the first aspect of the present invention.
[0070] A fifth aspect of the present invention discloses a passive lock, which is used to execute the unlocking method for a passive lock disclosed in the first aspect of the present invention.
[0071] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0072] In an embodiment of the present invention, the passive lock includes an electronic key and a lock core, including: obtaining the communication connection information between the electronic key and the lock core during the handshake process, the communication connection information including the communication key information and the lock core coding information; based on the lock core coding information, judging whether the lock core coding information exists in the predetermined lock core key list; when judging that the lock core coding information exists in the predetermined lock core key list, the electronic key sends the unlocking instruction information to the lock core, and performs a verification operation on the unlocking instruction information through the lock core to obtain a verification result; when the verification result is used to indicate that the unlocking instruction information verification is passed, the passive lock is unlocked. It can be seen that the implementation of the present invention can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of the unlocking operation performed on the passive lock, and is conducive to improving the accuracy and reliability of the unlocking operation performed on the passive lock. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0074] Figure 1 It is a flowchart of a method for unlocking a passive lock disclosed in an embodiment of the present invention;
[0075] Figure 2 It is a flow chart of another unlocking method applied to a passive lock disclosed in an embodiment of the present invention;
[0076] Figure 3 It is a structural schematic diagram of an unlocking device applied to a passive lock disclosed in an embodiment of the present invention;
[0077] Figure 4 It is a structural schematic diagram of another unlocking device applied to a passive lock disclosed in an embodiment of the present invention;
[0078] Figure 5 It is a structural schematic diagram of another unlocking device applied to a passive lock disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0079] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0080] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0081] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places 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.
[0082] The present invention discloses a method and device for unlocking a passive lock, which can realize intelligent unlocking, and is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks. The following are detailed descriptions.
[0083] Embodiment 1
[0084] See also Figure 1 , Figure 1 1 is a flow chart of a method for unlocking a passive lock disclosed in an embodiment of the present invention. Figure 1 The unlocking method for a passive lock described above can be applied to an unlocking device for a passive lock, or can be applied to the passive lock itself, wherein the unlocking device for a passive lock can be integrated in a local server or a cloud server, which is not limited in the embodiments of the present invention. Figure 1 As shown, the passive lock includes an electronic key and a lock core, and the unlocking method applied to the passive lock may include the following operations:
[0085] 101. Obtain communication connection information between the electronic key and the lock cylinder during the handshake process.
[0086] In the embodiment of the present invention, the communication connection information includes communication key information and lock core coding information.
[0087] In the embodiment of the present invention, optionally, the communication connection information between the electronic key and the lock core during the handshake process may be obtained in real time, or may be obtained when it is detected that the electronic key and the lock core are in the handshake process, which is not specifically limited in the embodiment of the present invention.
[0088] In the embodiment of the present invention, the electronic key is optionally a device for opening a passive electronic lock, wherein the electronic key contains a battery and a chip, can communicate and power the passive lock core, and can unlock the lock after matching the key in the chip. Furthermore, the electronic key can store each lock opening and closing record, and has a high-precision clock to record the corresponding time, and the electronic key has a built-in BLE (low-power Bluetooth) module, which can communicate with mobile phones, locking gateways and other terminals through a specific encryption protocol to transmit necessary unlocking data or OTA upgrade firmware.
[0089] In the embodiment of the present invention, optionally, the lock core contains a chip, and the lock core chip is the core component in the passive electronic lock body, responsible for storing key information, processing the unlocking handshake communication protocol, processing the lock body status sensor data, and driving the motor in the lock to open and close.
[0090] In the embodiment of the present invention, optionally, both the electronic key and the lock core are built with a shared key PSK, wherein the handshake process between the electronic key and the lock core can be represented as device A being the electronic key, and device B being the terminal or the lock core, wherein device B sends a 0x00 instruction to device A, so that device A generates a random number R_A, calculates Function (R_A, PSK) as an authentication tag T_A, and sends {R_A, T_A} to device B;
[0091] Device B receives {R_A, T_A} and verifies whether T_A is equal to Function(R_A, PSK). If the verification fails, it terminates the connection, responds to the connection failure instruction, generates a random number R_B, calculates Function(R_B, PSK) as the authentication tag T_B, and sends {R_B, T_B} to device A;
[0092] Device A receives {R_B, T_B}, verifies whether T_B is equal to Function(R_B, PSK), and terminates the connection without sending any instructions if the verification fails. It uses R_A and R_B to generate a session key SK = Function(R_A, R_B, PSK), generates a random number R_AA, calculates Function(R_AA, SK) as the verification text T_AA, calculates AES({R_AA, T_AA, device code (12 bytes, electronic key code)}, SK) as the verification message V_A, and sends {V_A} to device B;
[0093] Device B receives {V_A}, decrypts it to get R_AA and T_AA, verifies whether Function(R_AA,SK) is equal to T_AA, and terminates the connection if the verification fails. It responds to the connection failure instruction, generates a random number R_BB, calculates Function(R_BB,SK) as the verification text R_BB, calculates AES({R_BB,T_BB, device information (see the definition in the next section)},SK) as the verification message V_B, and sends {V_B} to device A.
[0094] Device A receives {V_B}, decrypts it to obtain R_BB and T_BB, and verifies whether Function (R_BB, SK) is equal to T_BB. If the verification fails, no message is sent; if the verification succeeds, SK is used as the key for subsequent communications, and the handshake is completed.
[0095] 102. Based on the lock core coding information, determine whether the lock core coding information exists in a predetermined lock core key list.
[0096] In the embodiment of the present invention, optionally, the lock core coding information may be a code corresponding to each lock core.
[0097] In the embodiment of the present invention, optionally, the predetermined lock core key list includes a plurality of information corresponding to the lock core code and information corresponding to the lock core key.
[0098] 103. When it is determined that the lock core code information exists in the predetermined lock core key list, the electronic key sends unlocking instruction information to the lock core, and performs a verification operation on the unlocking instruction information through the lock core to obtain a verification result.
[0099] In the embodiment of the present invention, optionally, the unlocking instruction information sent by the electronic key to the lock core may include communication key information and lock core coding information.
[0100] In the embodiment of the present invention, further optionally, when it is determined that the lock core coding information does not exist in the predetermined lock core key list, a reason for the unlocking failure of the passive lock is generated; further, the reason for the unlocking failure is prompted to the user terminal corresponding to the passive lock.
[0101] 104. When the verification result indicates that the unlocking instruction information verification is passed, an unlocking operation is performed on the passive lock.
[0102] In the embodiment of the present invention, further optionally, when the verification result is used to indicate that the unlocking instruction information verification fails, a reason for the unlocking failure of the passive lock is generated; further, the reason for the unlocking failure is prompted to a user terminal corresponding to the passive lock.
[0103] It can be seen that implementation Figure 1 The unlocking implementation method applied to the passive lock described can obtain the communication connection information including the communication key information and the lock core coding information between the electronic key and the lock core during the handshake process, and judge whether the lock core coding information exists in the lock core key list based on the lock core coding information. If it exists, the unlocking instruction information is sent to the lock core through the electronic key, and the unlocking instruction information is verified by the lock core to obtain the verification result. When the verification result is used to indicate that the unlocking instruction information verification has passed, the passive lock is unlocked. The communication connection information between the electronic key and the lock core, including the communication key information and the lock core coding information, can ensure that only the authorized electronic key can unlock the lock, effectively preventing unauthorized access, and the user does not need to carry a traditional mechanical key. , only the electronic key is needed to complete the unlocking operation, which improves the convenience of use. During the interaction between the electronic key and the lock core, the unlocking instruction information and verification results can be recorded in real time, providing reliable data support for security audits. Passive locks do not require external power supplies, reducing failures and maintenance costs caused by power problems, and also reducing energy consumption. This not only improves the safety and convenience of unlocking, but also reduces maintenance costs through intelligent management, which is also beneficial to enhancing environmental adaptability and improving the user experience and convenience of using smart locks. It can realize intelligent unlocking, which is beneficial to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0104] Embodiment 2
[0105] See also Figure 2 , Figure 2 1 is a flow chart of another unlocking method for a passive lock disclosed in an embodiment of the present invention. Figure 2The unlocking method for a passive lock described above can be applied to an unlocking device for a passive lock, or can be applied to the passive lock itself, wherein the unlocking device for a passive lock can be integrated in a local server or a cloud server, which is not limited in the embodiments of the present invention. Figure 2 As shown, the passive lock includes an electronic key and a lock core, and the unlocking method applied to the passive lock may include the following operations:
[0106] 201. Obtain communication connection information between the electronic key and the lock core during the handshake process.
[0107] 202. Based on the lock core coding information, determine whether the lock core coding information exists in a predetermined lock core key list.
[0108] 203. When it is determined that the lock core code information exists in the predetermined lock core key list, the electronic key sends unlocking instruction information to the lock core, and performs a verification operation on the unlocking instruction information through the lock core to obtain a verification result.
[0109] 204. When the verification result indicates that the unlocking instruction information verification is passed, an unlocking operation is performed on the passive lock.
[0110] In the embodiment of the present invention, for the detailed description of steps 201 to 204, please refer to the other descriptions of steps 101 to 104 in the first embodiment, and the embodiment of the present invention will not be repeated.
[0111] 205. Obtain handshake connection information between the electronic key and the lock core during the handshake process.
[0112] In the embodiment of the present invention, the handshake connection information includes the locking cylinder coding information.
[0113] In the embodiment of the present invention, optionally, further, the handshake connection information may also include communication key information between the electronic key and the lock core. Further, based on the communication key information, a lock instruction is sent to the lock core through the electronic key.
[0114] In the embodiment of the present invention, optionally, the handshake connection information between the electronic key and the lock core during the handshake process may be obtained in real time, or may be obtained upon detecting that the electronic key and the lock core are in the handshake process, which is not specifically limited in the embodiment of the present invention.
[0115] 206. Perform a verification operation on the lock cylinder coding information to obtain a lock verification result.
[0116] In the embodiment of the present invention, optionally, the above-mentioned verification operation on the lock cylinder coding information to obtain the lock verification result may include:
[0117] Determine the lock cylinder code and the target verification code corresponding to the lock cylinder code information, and judge whether the lock cylinder code and the target verification code match;
[0118] When it is determined that the locking cylinder code matches the target verification code, a locking verification result is generated to indicate that the locking cylinder code information verification has passed; when it is determined that the locking cylinder code does not match the target verification code, a locking verification result is generated to indicate that the locking cylinder code information verification has failed.
[0119] 207. When the lock verification result is used to indicate that the lock cylinder coding information verification is passed, the passive lock is locked.
[0120] In the embodiment of the present invention, optionally, the locking operation on the passive lock may be performed by driving a motor of the passive lock to perform the locking operation.
[0121] 208. When the lock verification result is used to indicate that the lock cylinder code verification fails, a failure reason for the lock cylinder code verification failure is generated.
[0122] In the embodiment of the present invention, optionally, the failure reason may include one or more of a lock core code verification failure reason, a lock core failure reason, and an environmental interference reason.
[0123] It can be seen that implementation Figure 2The unlocking implementation method applied to the passive lock described can obtain the handshake connection information containing the locking cylinder coding information between the electronic key and the lock cylinder during the handshake process, perform a verification operation on the locking cylinder coding information to obtain a locking verification result, and when the locking verification result is used to indicate that the locking cylinder coding information verification has passed, perform a locking operation on the passive lock, and when the locking verification result is used to indicate that the locking cylinder coding information verification has failed, generate a failure reason for the locking cylinder coding verification failure, and can verify the locking cylinder coding information to ensure that only a verified electronic key can close the passive lock, which is beneficial to improving the security and reliability of the passive lock locking, and the verification process helps to ensure the accuracy of the lock cylinder coding information, reduce locking failures caused by coding errors, and improve the reliability of the lock. Information verification can prevent unauthorized electronic keys from closing passive locks and prevent illegal operations on passive locks, which is beneficial to improving the security and reliability of locking operations on passive locks. Through clear failure reason prompts, users can better understand the reasons for locking failures and improve the user experience. In addition, through the quick handshake and verification of the electronic key and the lock cylinder, the locking operation time can be shortened and the response speed of the lock can be improved, which not only improves the security and convenience of locking, but also reduces maintenance costs through intelligent management, which is also beneficial to enhancing environmental adaptability and improving the user experience and convenience of using smart locks. It can realize intelligent locking, which is beneficial to improving the intelligence and efficiency of locking operations on passive locks, as well as improving the accuracy and reliability of locking operations on passive locks.
[0124] In an optional embodiment, the unlocking instruction information includes at least communication key information and lock core coding information, wherein the unlocking instruction information is verified by the lock core to obtain a verification result, including:
[0125] Obtain target authentication information of the passive lock, and generate authentication requirement information corresponding to the passive lock based on the target authentication information;
[0126] Based on the authentication requirement information, determine the authentication logic parameters corresponding to the passive lock, and generate the unlocking code parameters of the electronic key according to the communication key information and the lock core code information included in the unlocking instruction information;
[0127] Determine whether the authentication logic parameters match the unlocking code parameters;
[0128] When it is determined that the authentication logic parameter matches the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has passed; when it is determined that the authentication logic parameter does not match the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has failed.
[0129] In this optional embodiment, optionally, the target authentication information of the passive lock may include one or more of identifier information corresponding to the passive lock, expected communication key information, and expected lock core coding information.
[0130] In this optional embodiment, optionally, the above-mentioned generating authentication requirement information corresponding to the passive lock based on the target authentication information may include:
[0131] Extracting authentication key parameters in the target authentication information, wherein the authentication key parameters may include one or more of security level authentication parameters and encryption algorithm authentication parameters;
[0132] Generate authentication requirement information corresponding to the passive lock based on all authentication key parameters.
[0133] In this optional embodiment, optionally, the above-mentioned determination of the authentication logic parameters corresponding to the passive lock based on the authentication requirement information may include:
[0134] Extract target requirement parameters in the authentication requirement information, where the target requirement parameters may include one or more of encryption key authentication requirement parameters, verification algorithm requirement parameters, and unlocking access right authentication requirement parameters; based on all target requirement parameters, determine the authentication logic parameters corresponding to the passive lock.
[0135] It can be seen that the implementation of this optional embodiment can obtain the target authentication information of the passive lock and generate the authentication requirement information corresponding to the passive lock, determine the authentication logic parameters corresponding to the passive lock based on the authentication requirement information, and generate the unlocking coding parameters of the electronic key according to the communication key information and the lock core coding information included in the unlocking instruction information, and judge whether the authentication logic parameters match the unlocking coding parameters. If they match, a verification result is generated to indicate that the unlocking instruction information verification has passed. If they do not match, a verification result is generated to indicate that the unlocking instruction information verification has failed. By verifying the unlocking instruction information, it can be ensured that only the electronic key carrying the correct communication key and lock core coding can unlock the door, thereby preventing unauthorized access. By checking the unlocking coding parameters with And authentication logic parameters perform matching operations to generate verification results, which can be beneficial to improving the accuracy and reliability of the verification results corresponding to the unlocking instruction information, as well as improving the intelligence and efficiency of the verification results corresponding to the unlocking instruction information, and can provide higher security and protection for passive locks, thereby not only improving the safety and convenience of unlocking and locking operations on smart locks, but also reducing maintenance costs through intelligent management, and thus helping to enhance environmental adaptability and improve the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is beneficial to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0136] In another optional embodiment, a plurality of physical contacts are configured on the lock core, wherein determining whether the authentication logic parameter matches the unlocking code parameter includes:
[0137] Determine the target contact parameters of the lock core according to the authentication logic parameters, wherein the target contact parameters include connection parameters of all physical contacts corresponding to the authentication logic parameters;
[0138] Based on the unlocking coding parameters, determining the contact connection parameters between the electronic key and all the physical contacts corresponding to the lock cylinder;
[0139] Determine whether the target contact parameters match the contact connection parameters;
[0140] When it is determined that the target contact parameters match the contact connection parameters, it is determined that the authentication logic parameters match the unlocking code parameters; when it is determined that the target contact parameters do not match the contact connection parameters, it is determined that the authentication logic parameters do not match the unlocking code parameters.
[0141] In this optional embodiment, optionally, the connection parameters of all physical contacts corresponding to the authentication logic parameters may include one or more of a contact position parameter and a contact quantity parameter of the electronic key corresponding to each physical contact.
[0142] In this optional embodiment, optionally, the contact connection parameters between the electronic key and all physical contacts corresponding to the lock core may include one or more of a contact connection quantity parameter, a contact connection position parameter, and a contact connection matching degree parameter between the electronic key and all physical contacts corresponding to the lock core.
[0143] In this optional embodiment, optionally, the above-mentioned determination of whether the target contact point parameters match the contact point connection parameters may include:
[0144] Determine a first connection quantity corresponding to the target contact parameter and determine a second connection quantity corresponding to the contact connection parameter, and judge whether the first connection quantity matches the second connection quantity; when it is judged that the first connection quantity matches the second connection quantity, determine that the target contact parameter matches the contact connection parameter; when it is judged that the first connection quantity does not match the second connection quantity, determine that the target contact parameter does not match the contact connection parameter; or,
[0145] Determine a first connection position corresponding to the target contact parameter and a second connection position corresponding to the contact connection parameter, and judge whether the first connection position matches the second connection position; when it is judged that the first connection position matches the second connection position, determine that the target contact parameter matches the contact connection parameter; when it is judged that the first connection position does not match the second connection position, determine that the target contact parameter does not match the contact connection parameter.
[0146] It can be seen that the implementation of this optional embodiment can determine the target contact parameters of the lock core according to the authentication logic parameters, determine the contact connection parameters between the electronic key and all the physical contacts corresponding to the lock core based on the unlocking code parameters, and judge whether the target contact parameters match the contact connection parameters. If they match, it is determined that the authentication logic parameters match the unlocking code parameters. If they do not match, it is determined that the authentication logic parameters do not match the unlocking code parameters. It can be judged whether the authentication logic matches the unlocking code through the physical contacts. The existence of physical contacts increases the physical security of the lock core, so that electronic and physical security measures are combined, which is conducive to improving the judgment of whether the authentication logic matches the unlocking code. The accuracy and reliability of the matching can be combined with physical contacts to perform security authentication on passive locks, which is conducive to improving the safety and reliability of authentication and opening and closing operations on passive locks, and can provide higher security and protection for passive locks, thereby not only improving the safety and convenience of unlocking and locking operations on smart locks, but also reducing maintenance costs through intelligent management, which is also conducive to enhancing environmental adaptability and improving the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0147] In yet another optional embodiment, before performing an unlocking operation on the passive lock, the method further includes:
[0148] Determine key authorization information corresponding to the electronic key according to the authentication result, determine a target lock cylinder matching the key authorization information based on the key authorization information, and determine lock cylinder authorization information corresponding to the target lock cylinder; wherein the number of the target lock cylinder is at least one;
[0149] Determine whether the key authorization information matches the lock core authorization information;
[0150] When it is determined that the key authorization information matches the lock core authorization information, the step of performing an unlocking operation on the passive lock is triggered.
[0151] In this optional embodiment, the key authorization information corresponding to the electronic key may optionally include one or more of authorized lock cylinder information, authorized unlocking time information, and authorized record information corresponding to the electronic key.
[0152] In this optional embodiment, optionally, the target lock core may include a lock core that matches the key authorization information and is required to be opened by the electronic key.
[0153] In this optional embodiment, optionally, the above-mentioned determination of whether the key authorization information matches the lock core authorization information may include:
[0154] Extract the first authorization information corresponding to the key authorization information and extract the second authorization information corresponding to the lock core authorization information, calculate the information matching degree between the first authorization information and the second authorization information, and determine whether the information matching degree is greater than or equal to the preset matching degree threshold; when it is determined that the information matching degree is greater than or equal to the preset matching degree threshold, determine that the key authorization information matches the lock core authorization information; when it is determined that the information matching degree is less than the preset matching degree threshold, determine that the key authorization information does not match the lock core authorization information.
[0155] In this optional embodiment, further optionally, when it is determined that the key authorization information does not match the lock core authorization information, a reason for unlocking failure is generated, wherein the reason for unlocking failure includes the reason that the key authorization information does not match the lock core authorization information.
[0156] It can be seen that the implementation of this optional embodiment can determine the key authorization information corresponding to the electronic key according to the authentication result, determine the matching target lock core and the lock core authorization information corresponding to the target lock core based on the key authorization information, and judge whether the key authorization information matches the lock core authorization information. If they match, the step of performing the unlocking operation on the passive lock is triggered, which can ensure that only the matching key authorization information can trigger the unlocking operation, significantly improving the safety performance of the passive lock, and the authorization information corresponding to the electronic key and the lock core authorization information corresponding to the target lock core can help improve the flexibility of the lock, and facilitate users to unlock according to their needs. Through the automated matching and verification process, the complexity of manual operation is reduced, and the efficiency of the unlocking operation is improved. The key authorization information and the lock core authorization information can effectively prevent unauthorized access, which is conducive to improving the security and reliability of managing passive locks and executing corresponding operations, and thus is conducive to improving the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, and is conducive to improving the accuracy and reliability of unlocking operations on passive locks.
[0157] In yet another optional embodiment, after determining that the key authorization information matches the lock cylinder authorization information, the method further includes:
[0158] Get the lock status information of the passive lock;
[0159] Determine the unlocking authority information of the passive lock according to the lock status information, and judge whether the unlocking authority information meets the preset target unlocking condition;
[0160] When it is determined that the unlocking authority information meets the preset target unlocking condition, the step of performing an unlocking operation on the passive lock is triggered.
[0161] In this optional embodiment, optionally, the lock status information of the passive lock includes one or more of the passive lock's switch lock information, the passive lock's unlocking record information, the passive lock's locking record information, the passive lock's communication status information, and the passive lock's lock core coding information.
[0162] In this optional embodiment, optionally, determining the unlocking authority information of the passive lock according to the lock status information includes:
[0163] Determine the current state of the passive lock according to the lock state information, wherein the current state of the passive lock includes one or more of the power state of the passive lock and the lock state of the lock;
[0164] Determine the unlocking authority information of the passive lock according to the current state of the passive lock and the predetermined lock authority information; wherein the unlocking authority information may include one or more of the unlocking key authority information, unlocking time authority information, unlocking number authority information, and unlocking quantity authority information corresponding to the passive electronic lock.
[0165] In this optional embodiment, optionally, the above-mentioned determination of whether the unlocking authority information satisfies a preset target unlocking condition may include:
[0166] Determine a first authority value corresponding to the unlocking authority information, and determine a second authority value corresponding to a preset target unlocking condition, and judge whether the first authority value is greater than or equal to the second authority value; when it is judged that the first authority value is greater than or equal to the second authority value, determine that the unlocking authority information meets the preset target unlocking condition; when it is judged that the first authority value is less than the second authority value, determine that the unlocking authority information does not meet the preset target unlocking condition.
[0167] In this optional embodiment, further optionally, when it is determined that the unlocking authority information does not meet the preset target unlocking condition, the process can be terminated, and the reason for the unlocking failure can also be generated.
[0168] It can be seen that the implementation of this optional embodiment can obtain the lock status information of the passive lock, determine the unlocking authority information of the passive lock according to the lock status information and judge whether the preset target unlocking condition is met. If it is met, the step of performing the unlocking operation on the passive lock is triggered, which can ensure that only authorized keys can match the authorization information of the lock core, thereby increasing the security of the lock. By obtaining the real-time status information of the lock, the use and management of the lock are made more transparent and controllable. The unlocking authority is dynamically determined according to the lock status information, making the authority allocation more flexible and able to adapt to different usage scenarios and security requirements. Through precise authority verification and control instruction issuance, the possibility of misoperation is reduced, the accuracy and security of unlocking are improved, which is conducive to improving the security and reliability of managing the passive lock and executing the corresponding operations, and then conducive to improving the user experience and convenience of using the smart lock, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, as well as the accuracy and reliability of unlocking operations on passive locks.
[0169] In yet another optional embodiment, performing an unlocking operation on a passive lock includes:
[0170] Determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking route corresponding to the passive lock based on the target unlocking requirement;
[0171] Based on the target unlocking line, an unlocking operation is performed on the target lock cylinder to realize the unlocking operation on the passive lock.
[0172] In this optional embodiment, optionally, determining the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determining the target unlocking route corresponding to the passive lock based on the target unlocking requirement may include:
[0173] Input the key authorization information and the lock core authorization information into a predetermined demand determination model to obtain a demand output result, and determine the target unlocking demand corresponding to the passive lock according to the demand output result, wherein the demand output result may include the authorization information corresponding to the electronic key and the authorization information corresponding to the lock core;
[0174] Extract the key requirement parameters in the target unlocking requirement, and determine the target unlocking route corresponding to the passive lock based on all the key requirement parameters, wherein the key requirement parameters may include one or more of the unlocking verification requirement parameters, the unlocking authority level requirement parameters, the unlocking position requirement parameters, the unlocking time requirement parameters, and the unlocking method requirement parameters.
[0175] In this optional embodiment, optionally, the above-mentioned unlocking operation is performed on the target lock core based on the target unlocking circuit to realize the unlocking operation on the passive lock, which may include: determining a target motor matching the target unlocking circuit based on the target unlocking circuit, and driving the target motor to perform the unlocking operation to perform the unlocking operation on the target lock core to realize the unlocking operation on the passive lock. The number of target motors may be one or more, which is not specifically limited in the embodiment of the present invention.
[0176] It can be seen that the implementation of this optional embodiment can determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking circuit corresponding to the passive lock based on the target unlocking requirement, and perform an unlocking operation on the target lock core based on the target unlocking circuit to realize the unlocking operation on the passive lock. By matching the key authorization information with the lock core authorization information, it can be ensured that only authorized keys can unlock the lock, thereby increasing the security and reliability of the lock. Determining the target unlocking circuit makes the unlocking operation more direct and effective, reduces the possibility of misoperation, and is conducive to improving the accuracy and reliability of unlocking operations on passive locks, as well as facilitating the improvement of the accuracy and reliability of unlocking operations on passive locks. The intelligence of the source lock in executing the unlocking operation and the clear target unlocking route help to ensure the consistency and repeatability of the unlocking operation, further enhancing the reliability of the lock, and can effectively prevent unauthorized access and potential security threats through precise authorization information matching, thereby improving the accuracy and security of unlocking, and is conducive to improving the security and reliability of managing passive locks and executing corresponding operations, which in turn is conducive to improving the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0177] Embodiment 3
[0178] See also Figure 3 , Figure 3 Schematic diagram of a structure of an unlocking device for a passive lock disclosed in an embodiment of the present invention. Figure 3 As shown, the passive lock includes an electronic key and a lock core, and the unlocking device applied to the passive lock may include:
[0179] An acquisition module 301 is used to acquire communication connection information between the electronic key and the lock core during the handshake process, wherein the communication connection information includes communication key information and lock core coding information;
[0180] A judgment module 302 is used to judge whether there is lock core coding information in a predetermined lock core key list based on the lock core coding information;
[0181] The sending module 303 is used for the electronic key to send unlocking instruction information to the lock core when the judging module 302 judges that the lock core code information exists in the predetermined lock core key list;
[0182] A verification module 304 is used to perform a verification operation on the unlocking instruction information through the lock core to obtain a verification result;
[0183] The execution module 305 is used to execute an unlocking operation on the passive lock when the verification result indicates that the unlocking instruction information verification is passed.
[0184] It can be seen that implementation Figure 3 The described device can obtain the communication connection information including the communication key information and the lock core coding information between the electronic key and the lock core during the handshake process, and judge whether the lock core coding information exists in the lock core key list based on the lock core coding information. If it exists, the unlocking instruction information is sent to the lock core through the electronic key, and the unlocking instruction information is verified by the lock core to obtain the verification result. When the verification result is used to indicate that the unlocking instruction information verification is passed, the unlocking operation is performed on the passive lock. The communication connection information between the electronic key and the lock core, including the communication key information and the lock core coding information, can ensure that only the authorized electronic key can unlock the lock, effectively preventing unauthorized access. The user does not need to carry the traditional mechanical key, but only needs to use The electronic key can complete the unlocking operation, which improves the convenience of use. During the interaction between the electronic key and the lock core, the unlocking instruction information and verification results can be recorded in real time, providing reliable data support for security audits. Passive locks do not require external power supplies, reducing failures and maintenance costs caused by power problems, and also reducing energy consumption. This not only improves the safety and convenience of unlocking, but also reduces maintenance costs through intelligent management, which is also beneficial to enhancing environmental adaptability and improving the user experience and convenience of using smart locks. It can realize intelligent unlocking, which is beneficial to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0185] In an optional embodiment, if Figure 4 As shown, the acquisition module 301 is also used to obtain the handshake connection information between the electronic key and the lock cylinder during the handshake process, and the handshake connection information includes the locking lock cylinder coding information;
[0186] The verification module 304 is also used to perform a verification operation on the lock cylinder coding information to obtain a lock verification result;
[0187] The execution module 305 is further used to execute a locking operation on the passive lock when the locking verification result indicates that the locking cylinder coding information verification has passed;
[0188] The device also includes:
[0189] The generating module 306 is used to generate a failure reason for failing the locking cylinder code verification when the locking verification result is used to indicate that the locking cylinder code verification fails.
[0190] It can be seen that implementation Figure 4 The described device can obtain the handshake connection information containing the locking cylinder coding information between the electronic key and the lock cylinder during the handshake process, perform a verification operation on the locking cylinder coding information to obtain a locking verification result, and when the locking verification result is used to indicate that the locking cylinder coding information verification has passed, perform a locking operation on the passive lock, and when the locking verification result is used to indicate that the locking cylinder coding information verification has failed, generate a failure reason for the locking cylinder coding verification failure, and can ensure that only a verified electronic key can close the passive lock by verifying the locking cylinder coding information, which is beneficial to improving the security and reliability of the passive lock locking. The verification process helps to ensure the accuracy of the lock cylinder coding information, reduce locking failures caused by coding errors, and improve the reliability of the lock. By verifying the locking cylinder coding information It can prevent unauthorized electronic keys from closing the passive lock and prevent illegal operations on the passive lock, which is beneficial to improving the security and reliability of the passive lock locking operation. Through clear failure reason prompts, users can better understand the reasons for the locking failure and improve the user experience. In addition, through the rapid handshake and verification between the electronic key and the lock cylinder, the locking operation time can be shortened and the response speed of the lock can be improved, which not only improves the security and convenience of locking, but also reduces maintenance costs through intelligent management, which is also beneficial to enhancing environmental adaptability and improving the user experience and convenience of using smart locks. It can realize intelligent locking, which is beneficial to improving the intelligence and efficiency of the passive lock locking operation, and is beneficial to improving the accuracy and reliability of the passive lock locking operation.
[0191] In another optional embodiment, Figure 4 As shown, the unlocking instruction information at least includes communication key information and lock core coding information, wherein the verification module 304 performs a verification operation on the unlocking instruction information through the lock core, and the specific method of obtaining the verification result includes:
[0192] Obtain target authentication information of the passive lock, and generate authentication requirement information corresponding to the passive lock based on the target authentication information;
[0193] Based on the authentication requirement information, determine the authentication logic parameters corresponding to the passive lock, and generate the unlocking code parameters of the electronic key according to the communication key information and the lock core code information included in the unlocking instruction information;
[0194] Determine whether the authentication logic parameters match the unlocking code parameters;
[0195] When it is determined that the authentication logic parameter matches the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has passed; when it is determined that the authentication logic parameter does not match the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has failed.
[0196] It can be seen that implementation Figure 4 The described device can obtain the target authentication information of the passive lock and generate the authentication requirement information corresponding to the passive lock, determine the authentication logic parameters corresponding to the passive lock based on the authentication requirement information, and generate the unlocking coding parameters of the electronic key according to the communication key information and the lock core coding information included in the unlocking instruction information, judge whether the authentication logic parameters match the unlocking coding parameters, and if they match, generate a verification result indicating that the unlocking instruction information verification has passed, and if they do not match, generate a verification result indicating that the unlocking instruction information verification has failed, and can verify the unlocking instruction information to ensure that only the electronic key carrying the correct communication key and lock core coding can unlock, thereby preventing unauthorized access, and by checking the unlocking coding parameters and authentication The logical parameters perform matching operations to generate verification results, which can help improve the accuracy and reliability of the verification results corresponding to the unlocking command information, as well as improve the intelligence and efficiency of the verification results corresponding to the unlocking command information, and can provide higher security and protection for passive locks, thereby not only improving the safety and convenience of unlocking and locking operations on smart locks, but also reducing maintenance costs through intelligent management, which is also conducive to enhancing environmental adaptability and improving the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0197] In yet another optional embodiment, Figure 4 As shown, the lock core is provided with a plurality of physical contacts, wherein the specific manner in which the judgment module 302 judges whether the authentication logic parameter matches the unlocking code parameter includes:
[0198] Determine the target contact parameters of the lock core according to the authentication logic parameters, wherein the target contact parameters include connection parameters of all physical contacts corresponding to the authentication logic parameters;
[0199] Based on the unlocking coding parameters, determining the contact connection parameters between the electronic key and all the physical contacts corresponding to the lock cylinder;
[0200] Determine whether the target contact parameters match the contact connection parameters;
[0201] When it is determined that the target contact parameters match the contact connection parameters, it is determined that the authentication logic parameters match the unlocking code parameters; when it is determined that the target contact parameters do not match the contact connection parameters, it is determined that the authentication logic parameters do not match the unlocking code parameters.
[0202] It can be seen that implementation Figure 4 The described device can determine the target contact parameters of the lock core according to the authentication logic parameters, determine the contact connection parameters between the electronic key and all the physical contacts corresponding to the lock core based on the unlocking code parameters, and judge whether the target contact parameters match the contact connection parameters. If they match, it is determined that the authentication logic parameters match the unlocking code parameters. If they do not match, it is determined that the authentication logic parameters do not match the unlocking code parameters. It can judge whether the authentication logic matches the unlocking code through the physical contacts. The existence of the physical contacts increases the physical security of the lock core, so that the electronic and physical security measures are combined, which is conducive to improving the accuracy of judging whether the authentication logic matches the unlocking code. Accuracy and reliability, can combine physical contacts to perform security authentication on passive locks, which is beneficial to improving the security and reliability of authentication and opening and closing operations on passive locks, and can provide higher security and protection for passive locks, thereby not only improving the safety and convenience of unlocking and locking operations on smart locks, but also reducing maintenance costs through intelligent management, which is also beneficial to enhancing environmental adaptability and improving the user experience and convenience of using smart locks, and can realize intelligent unlocking, which is beneficial to improving the intelligence and efficiency of unlocking operations on passive locks, as well as improving the accuracy and reliability of unlocking operations on passive locks.
[0203] In yet another optional embodiment, Figure 4 As shown, the device also includes:
[0204] The determination module 307 is used to determine the key authorization information corresponding to the electronic key according to the authentication result before the execution module 305 performs the unlocking operation on the passive lock, determine the target lock cylinder matching the key authorization information based on the key authorization information, and determine the lock cylinder authorization information corresponding to the target lock cylinder; wherein the number of the target lock cylinder is at least one;
[0205] The judgment module 302 is also used to judge whether the key authorization information matches the lock core authorization information; when it is judged that the key authorization information matches the lock core authorization information, the execution module 305 is triggered to execute the step of unlocking the passive lock.
[0206] It can be seen that implementation Figure 4The described device can determine the key authorization information corresponding to the electronic key according to the authentication result, determine the matching target lock core and the lock core authorization information corresponding to the target lock core based on the key authorization information, judge whether the key authorization information matches the lock core authorization information, and trigger the step of performing the unlocking operation on the passive lock if they match, which can ensure that only the matching key authorization information can trigger the unlocking operation, significantly improving the safety performance of the passive lock, and the authorization information corresponding to the electronic key and the lock core authorization information corresponding to the target lock core can help improve the flexibility of the lock, and facilitate users to unlock according to their needs, and reduce the complexity of manual operation and improve the efficiency of unlocking operation through the automated matching verification process, and effectively prevent unauthorized access through the key authorization information and the lock core authorization information, which is conducive to improving the security and reliability of managing the passive lock and performing corresponding operations, and thus is conducive to improving the user experience and convenience of using the smart lock, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, and is conducive to improving the accuracy and reliability of unlocking operations on passive locks.
[0207] In yet another optional embodiment, Figure 4 As shown, the acquisition module 301 is also used to obtain the lock status information of the passive lock after the judgment module 302 determines that the key authorization information matches the lock core authorization information;
[0208] The determination module 307 is further used to determine the unlocking authority information of the passive lock according to the lock status information;
[0209] The judgment module 302 is also used to judge whether the unlocking authority information meets the preset target unlocking condition; when it is judged that the unlocking authority information meets the preset target unlocking condition, the execution module 305 is triggered to execute the step of performing the unlocking operation on the passive lock.
[0210] It can be seen that implementation Figure 4The described device can obtain the lock status information of the passive lock, determine the unlocking authority information of the passive lock according to the lock status information, and judge whether the preset target unlocking condition is met. If it is met, the step of performing the unlocking operation on the passive lock is triggered, which can ensure that only the authorized key can match the authorization information of the lock core, thereby increasing the security of the lock. By obtaining the real-time status information of the lock, the use and management of the lock is made more transparent and controllable. The unlocking authority is dynamically determined according to the lock status information, so that the authority allocation is more flexible and can adapt to different usage scenarios and security requirements. Through accurate authority verification and control instruction issuance, the possibility of misoperation is reduced, the accuracy and security of unlocking are improved, which is conducive to improving the security and reliability of managing the passive lock and executing the corresponding operation, and then it is conducive to improving the user experience and convenience of using the smart lock, and can realize intelligent unlocking, which is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, and is conducive to improving the accuracy and reliability of unlocking operations on passive locks.
[0211] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the execution module 305 performs the unlocking operation on the passive lock includes:
[0212] Determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking route corresponding to the passive lock based on the target unlocking requirement;
[0213] Based on the target unlocking line, an unlocking operation is performed on the target lock cylinder to realize the unlocking operation on the passive lock.
[0214] It can be seen that implementation Figure 4The described device can determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking circuit corresponding to the passive lock based on the target unlocking requirement, and perform the unlocking operation on the target lock core based on the target unlocking circuit to realize the unlocking operation on the passive lock, and can ensure that only the authorized key can unlock the lock by matching the key authorization information with the lock core authorization information, thereby increasing the security and reliability of the lock, and determining the target unlocking circuit makes the unlocking operation more direct and effective, reduces the possibility of misoperation, and is conducive to improving the accuracy and reliability of the unlocking operation on the passive lock, and is conducive to improving the security of the passive lock execution The intelligence of the unlocking operation, the clear target unlocking route helps to ensure the consistency and repeatability of the unlocking operation, further enhances the reliability of the lock, and can effectively prevent unauthorized access and potential security threats through precise authorization information matching, improves the accuracy and security of unlocking, is conducive to improving the security and reliability of managing passive locks and executing corresponding operations, and thus helps to enhance the user experience and convenience of using smart locks, can realize intelligent unlocking, is conducive to improving the intelligence and efficiency of unlocking operations on passive locks, and is conducive to improving the accuracy and reliability of unlocking operations on passive locks.
[0215] Embodiment 4
[0216] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of another unlocking device for a passive lock disclosed in an embodiment of the present invention. Figure 5 As shown, the unlocking implementation device applied to the passive lock may include:
[0217] A memory 401 storing executable program codes;
[0218] a processor 402 coupled to the memory 401;
[0219] The processor 402 calls the executable program code stored in the memory 401 to execute the steps of the unlocking implementation method applied to the passive lock described in the first embodiment of the present invention or the second embodiment of the present invention.
[0220] Embodiment 5
[0221] The embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps of the unlocking method applied to a passive lock described in the first embodiment of the present invention or the second embodiment of the present invention.
[0222] Embodiment 6
[0223] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the unlocking implementation method applied to a passive lock described in Embodiment 1 or Embodiment 2.
[0224] Embodiment 7
[0225] The embodiment of the present invention discloses a passive lock, which is used to execute the steps of the unlocking method applied to the passive lock described in the first embodiment of the present invention or the second embodiment of the present invention.
[0226] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0227] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0228] Finally, it should be noted that the unlocking method and device for a passive lock disclosed in the embodiment of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for unlocking a passive lock, characterized in that: The passive lock comprises an electronic key and a lock core, and the method comprises: Acquire communication connection information between the electronic key and the lock core during the handshake process, wherein the communication connection information includes communication key information and lock core coding information; Based on the lock core coding information, determining whether the lock core coding information exists in a predetermined lock core key list; When it is determined that the lock core code information exists in the predetermined lock core key list, the electronic key sends unlocking instruction information to the lock core, and performs a verification operation on the unlocking instruction information through the lock core to obtain a verification result; When the verification result is used to indicate that the unlocking instruction information verification is passed, an unlocking operation is performed on the passive lock.
2. The unlocking method for a passive lock according to claim 1, characterized in that: The method further comprises: Acquire handshake connection information between the electronic key and the lock cylinder during the handshake process, wherein the handshake connection information includes locking lock cylinder coding information; Performing a verification operation on the locking cylinder coding information to obtain a locking verification result; When the locking verification result indicates that the locking cylinder coding information verification has passed, performing a locking operation on the passive lock; When the locking verification result is used to indicate that the locking cylinder code verification fails, a failure reason for the locking cylinder code verification failure is generated.
3. The unlocking method for a passive lock according to claim 1, characterized in that: The unlocking instruction information at least includes the communication key information and the lock core coding information, wherein the verification operation is performed on the unlocking instruction information through the lock core to obtain a verification result, including: Acquire target authentication information of the passive lock, and generate authentication requirement information corresponding to the passive lock based on the target authentication information; Based on the authentication requirement information, determining the authentication logic parameters corresponding to the passive lock, and generating the unlocking coding parameters of the electronic key according to the communication key information and the lock core coding information included in the unlocking instruction information; Determining whether the authentication logic parameter matches the unlocking coding parameter; When it is determined that the authentication logic parameter matches the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has passed; when it is determined that the authentication logic parameter does not match the unlocking coding parameter, a verification result is generated to indicate that the unlocking instruction information verification has failed.
4. The unlocking method for a passive lock according to claim 3, characterized in that: The lock core is provided with a plurality of physical contacts, wherein the determining whether the authentication logic parameter matches the unlocking coding parameter comprises: Determine the target contact parameters of the lock core according to the authentication logic parameters, wherein the target contact parameters include connection parameters of all the physical contacts corresponding to the authentication logic parameters; Based on the unlocking coding parameters, determining contact connection parameters between the electronic key and all the physical contacts corresponding to the lock core; Determining whether the target contact point parameters match the contact point connection parameters; When it is determined that the target contact parameters match the contact connection parameters, it is determined that the authentication logic parameters match the unlocking code parameters; when it is determined that the target contact parameters do not match the contact connection parameters, it is determined that the authentication logic parameters do not match the unlocking code parameters.
5. The unlocking method for a passive lock according to claim 1, characterized in that: Before performing the unlocking operation on the passive lock, the method further includes: Determine the key authorization information corresponding to the electronic key according to the authentication result, determine the target lock cylinder matching the key authorization information based on the key authorization information, and determine the lock cylinder authorization information corresponding to the target lock cylinder; wherein the number of the target lock cylinder is at least one; Determining whether the key authorization information matches the lock core authorization information; When it is determined that the key authorization information matches the lock core authorization information, the step of performing an unlocking operation on the passive lock is triggered.
6. The unlocking method for a passive lock according to claim 5, characterized in that: After determining that the key authorization information matches the lock core authorization information, the method further includes: Obtaining lock status information of the passive lock; Determine the unlocking authority information of the passive lock according to the lock status information, and judge whether the unlocking authority information meets the preset target unlocking condition; When it is determined that the unlocking authority information satisfies the preset target unlocking condition, the step of performing the unlocking operation on the passive lock is triggered.
7. The unlocking method for a passive lock according to claim 5 or 6, characterized in that: The performing an unlocking operation on the passive lock comprises: Determine the target unlocking requirement corresponding to the passive lock according to the key authorization information and the lock core authorization information, and determine the target unlocking route corresponding to the passive lock based on the target unlocking requirement; Based on the target unlocking circuit, an unlocking operation is performed on the target lock core to achieve an unlocking operation on the passive lock.
8. An unlocking device for a passive lock, characterized in that: The passive lock comprises an electronic key and a lock core, and the device comprises: An acquisition module, used to acquire communication connection information between the electronic key and the lock core during the handshake process, wherein the communication connection information includes communication key information and lock core coding information; A judgment module, used for judging whether the lock core coding information exists in a predetermined lock core key list based on the lock core coding information; A sending module, configured to cause the electronic key to send unlocking instruction information to the lock core when the judging module judges that the lock core coding information exists in the predetermined lock core key list; A verification module, used to perform a verification operation on the unlocking instruction information through the lock core to obtain a verification result; An execution module is used to execute an unlocking operation on the passive lock when the verification result is used to indicate that the unlocking instruction information verification has passed.
9. An unlocking device for a passive lock, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the unlocking implementation method applied to a passive lock as described in any one of claims 1 to 7.
10. A passive lock, used for executing the unlocking method applied to a passive lock as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Intelligent safety locking device and unlocking and locking method for power transformation protection screen cabinet
CN121768101A