Abstract: Dynamic encryption and decryption method among lock control system modules comprise the following steps: step 1. filling hardware ID data, an unlocking communication protocol and a mask variable into an array according to a predefined variable space, and encrypting the array based on the mask variable to obtain an encrypted array; step 2. decrypting the encrypted array based on the mask variable to obtain a decrypted array, executing data division on the decrypted array according to the predefined variable space, matching the divided data with data recorded in advance one by one, and if the divided data are consistent with the data recorded in advance, executing related operations according to the decrypted unlocking communication protocol content; otherwise, executing no operation.
Abstract: This invention discloses an electronic lock, including cam lock assembly, electronic control assembly, lock latch assembly and latch bolt assembly. The latch bolt assembly includes latch bolt, latch bolt bracket and latch shaft. The latch bolt mentioned is pivoted at the latch bolt bracket, while latch shaft is translational positioned at it. By the latch shaft, cam bolt and electronic control assembly can connect with latch bolt and latch component in sequence. The latch shaft is configured with reset and compression spring, while latch bolt is with torsion spring and latch mounting parts, then the latch is able to linkage connect through latch mounting parts. From stated above, we can know the invention is ingeniously designed to lock/unlock latch parts, having lock assembly and electronic control assembly sharing one set of lock bolt (latch bolt). It can be seen that the invention effectively simplifies the existing lock structure.