Electronic coded lock system and control method thereof

The electronic coded lock system, which combines a microcontroller and a wireless power supply module, solves the problem of poor reliability in the state switching of existing electronic coded locks, realizes the reliability and stability of multiple unlocking methods, and enhances the system's operational reliability.

CN115717498BActive Publication Date: 2026-05-29HEFEI POWER SUPPLY COMPANY OF STATE GRID ANHUI ELECTRIC POWER +3

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEFEI POWER SUPPLY COMPANY OF STATE GRID ANHUI ELECTRIC POWER
Filing Date
2022-11-14
Publication Date
2026-05-29

Smart Images

  • Figure CN115717498B_ABST
    Figure CN115717498B_ABST
Patent Text Reader

Abstract

The application discloses an electric code lock system and a control method thereof. The electric code lock system comprises an electric code lock and a computer key matched with the electric code lock. The electric code lock comprises a control circuit, a relay, a micro switch and an interface module. The interface module comprises a base and a lock cylinder assembly. The lock cylinder assembly comprises a lock cylinder, a wireless power supply module, a first magnetic steel, a rotating ear, a locking pin and a second magnetic steel. The computer key comprises a power supply coil, a Hall element, a first unlocking rod, a third magnetic steel movably arranged in the first unlocking rod and an authorization mechanism capable of driving the third magnetic steel to move between an authorized state and an unauthorized state. According to the electric code lock system, the wireless power supply module is integrated on the lock cylinder. When the computer key is rotated, the wireless power supply module and the computer key keep synchronous movement, so that the stability and reliability of wireless power supply and wireless communication can be kept.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic coded locks, and in particular to an electronic coded lock system and its control method. Background Technology

[0002] In substation anti-misoperation applications, coded locks are typically used in series in the control circuits of equipment such as switches or electric disconnectors to prevent circuit continuity caused by misoperation. Currently, coded locks generally use the on / off state of a control relay to achieve locking and unlocking under normal operating conditions.

[0003] Current electronic coded lock systems have poor reliability when switching the state of their electronic coded locks. Summary of the Invention

[0004] This invention provides an electronically coded lock system and its control method, which facilitates improving the reliability of the electronically coded lock when switching states.

[0005] In a first aspect, an embodiment of the present invention provides an electric coded lock system, including an electric coded lock and a computer key matching with the electric coded lock. The electric coded lock includes: a control circuit, including a microcontroller, an electrical control loop and an emergency control loop which are electrically connected to each other; a relay, connected to the control circuit, capable of making the electrical control loop conduct to unlock the electrical control loop; a microswitch, connected to the control circuit, capable of making the emergency control loop conduct to unlock the emergency control loop; and an interface module, the interface module includes a base and a lock core assembly. The lock core assembly includes a lock cylinder, a wireless power supply module, a first magnet, a rotating ear, a locking pin and a second magnet. The lock cylinder is rotatably arranged on the base. The lock cylinder has an unlocking hole, a locking pin mounting hole and an installation cavity at the front end of the lock cylinder. The wireless power supply module and the first magnet are arranged in the installation cavity. The rotating ear is arranged at the rear end of the lock cylinder. The rotating ear can trigger the microswitch through rotation. The locking pin is movably arranged in the locking pin mounting hole. The base is provided with a locking hole. The locking pin extends into the locking hole to be in a locked state. The locking pin retracts into the locking pin mounting hole to be in an unlocked state. The second magnet is fixedly arranged on the locking pin and is located at one end of the locking pin close to the unlocking hole. The lock core assembly has an unlocking position and a locking position. When the lock core assembly is in the locking position, the microswitch is in an untriggered state and the emergency control loop is disconnected. When the lock core assembly is in the unlocking position, the microswitch is triggered by the lock core assembly and the emergency control loop is connected. The computer key includes: a power supply coil, when the computer key is inserted into the unlocking hole, the power supply coil is arranged opposite to the wireless power supply module; a Hall element, when the computer key is inserted into the unlocking hole, the Hall element is arranged opposite to the first magnet; a first unlocking rod, adapted to the shape of the unlocking hole; a third magnet, movably arranged in the first unlocking rod. In an authorized state, the third magnet moves to be able to attract the second magnet to move, so that the locking pin moves to the unlocked state. In an unauthorized state, the third magnet does not attract the second magnet; and an authorization mechanism, the authorization mechanism can drive the third magnet to move between the authorized state and the unauthorized state. When the computer key is rotated, the wireless power supply module and the computer key keep synchronous movement.

[0006] According to the foregoing embodiment of the first aspect of the present invention, the unlocking hole is arranged deviating from the rotation center of the lock cylinder, and the cross section of the unlocking hole is a special-shaped structure.

[0007] According to any of the foregoing embodiments of the first aspect of the present invention, the control circuit further includes a wireless radio frequency circuit and a wireless power supply receiving circuit. The wireless radio frequency circuit is used for wireless communication between the electronically coded lock and the computer key. The wireless power supply receiving circuit is used to receive power from the computer key and then rectify it. A through hole is provided on the lock cylinder, penetrating the front and back of the lock cylinder and communicating with the mounting cavity. The wireless power supply module is electrically connected to the control circuit through a wire disposed in the through hole.

[0008] According to any of the foregoing embodiments of the first aspect of the present invention, the rotating ear has a protrusion that abuts against the reed of the micro switch when the rotating ear is rotated to the unlocked state, thereby triggering the micro switch to conduct the emergency control circuit.

[0009] According to any of the foregoing embodiments of the first aspect of the present invention, a limiting groove is provided on the rotating ear, and a stop boss is provided on the base, the stop boss being able to rotate within the limiting groove by a preset angle.

[0010] According to any of the foregoing embodiments of the first aspect of the present invention, the lock cylinder has a positioning bead mounting hole, the positioning bead mounting hole being disposed through the unlocking hole, and the lock cylinder assembly further includes: a locking pin spring disposed in the locking pin mounting hole, one end of the locking pin spring abutting against the locking pin and the other end abutting against the lock cylinder, the locking pin spring providing the locking pin with an elastic force for extending into the locking hole; and a positioning bead, the positioning bead being retractably disposed in the positioning bead mounting hole, one end of the positioning bead extending into the unlocking hole, the computer key being positioned by the retraction and extension of the positioning bead.

[0011] According to any of the foregoing embodiments of the first aspect of the present invention, the electronic coded lock system further includes an emergency unlocking key that is compatible with the electronic coded lock. The emergency unlocking key includes: a second unlocking rod adapted to the shape of the unlocking hole; and a fourth magnet fixedly disposed on the second unlocking rod. When the emergency unlocking key is inserted into the unlocking hole, the fourth magnet attracts the second magnet, thereby switching the locking pin from the locked state to the unlocked state.

[0012] Secondly, embodiments of the present invention provide a control method for an electronically coded lock system, which is used in an electronically coded lock system according to any of the foregoing embodiments of the first aspect of the present invention. The control method of the electronically coded lock system includes: inserting a computer key into the unlocking hole; activating the Hall element with a first magnet; supplying power to the wireless power supply module with a power supply coil of the computer key; wirelessly communicating with the wireless power supply module and verifying the identity of the electronically coded lock; if the identity verification is successful, controlling the relay to switch from an open state to a closed state with the microcontroller; the microcontroller of the electronically coded lock feeding back the first on / off state of the electrical control circuit to the computer key; if the first on / off state indicates a successful state switch, generating a prompt message indicating successful unlocking with the computer key; if the... If the first on / off state fails to switch, the computer key generates an unlocking failure prompt and enters the backup unlocking procedure. In the backup unlocking procedure, the computer key controls the authorization mechanism to switch from an unauthorized state to an authorized state, the locking pin to switch from a locked state to an unlocked state, and the computer key generates a prompt indicating that the computer key can be rotated. In response to the computer key being rotated, the rotating lug causes the micro switch to switch from an open state to a closed state. The microcontroller of the electronic coded lock feeds back the second on / off state of the emergency control circuit to the computer key. If the second on / off state is a successful state switch, the computer key generates an unlocking success prompt; if the second on / off state is a failed state switch, the computer key generates an unlocking failure prompt.

[0013] Thirdly, embodiments of the present invention provide a control method for an electronically coded lock system, which is used in an electronically coded lock system according to any of the foregoing embodiments of the first aspect of the present invention. The control method of the electronically coded lock system includes: inserting a computer key into the unlocking hole; activating the Hall element with a first magnet; wirelessly communicating with the wireless power supply module and verifying the identity of the electronically coded lock; if the identity verification is successful, the computer key controls the authorization mechanism to switch from an unauthorized state to an authorized state, the locking pin to switch from a locked state to an unlocked state, and the computer key generates a prompt message indicating that the computer key can be rotated; in response to the computer key being rotated, the rotating lug causes the micro switch to switch from an open state to a closed state; the microcontroller of the electronically coded lock feeds back the third on / off state of the emergency control circuit to the computer key; if the third on / off state indicates a successful state switch, the computer key generates a prompt message indicating successful unlocking; if the third on / off state indicates a failed state switch, the computer key generates a prompt message indicating failed unlocking.

[0014] Fourthly, embodiments of the present invention provide a control method for an electronically coded lock system, which is used in any of the foregoing embodiments of the first aspect of the present invention. The control method for the electronically coded lock system includes: inserting a computer key into the unlocking hole; activating the Hall element with a first magnet; supplying power to the wireless power supply module with a power supply coil of the computer key; wirelessly communicating with the wireless power supply module and verifying the identity of the electronically coded lock; if the identity verification is successful, controlling the relay to switch from an open state to a closed state with the microcontroller; the microcontroller of the electronically coded lock feeding back the fourth on / off state of the electrical control circuit to the computer key; the computer key... The system controls the authorized mechanism to switch from an unauthorized state to an authorized state, the locking pin to switch from a locked state to an unlocked state, and the computer key generates a prompt message indicating that the computer key can be turned; in response to the computer key being turned, the rotating lug causes the micro switch to switch from an open state to a closed state; the microcontroller of the electronically coded lock feeds back the fifth on / off state of the emergency control circuit to the computer key; if at least one of the fourth on / off state and the fifth on / off state is a successful state switch, the computer key generates a prompt message indicating successful unlocking; if both the fourth on / off state and the fifth on / off state are unsuccessful state switches, the computer key generates a prompt message indicating unsuccessful unlocking.

[0015] According to the electronic coded lock system of the present invention, the wireless power supply module is integrated on the lock cylinder. When the computer key is turned, the wireless power supply module moves synchronously with the computer key, which can always maintain the stability and reliability of wireless power supply and wireless communication, while having high power supply efficiency and improving the working reliability when controlling the electronic coded lock to switch states. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0017] Figure 1 This is a cross-sectional schematic diagram of an embodiment of the electronically coded lock system of the present invention when unlocking using a computer key in a conventional manner;

[0018] Figure 2 This is a cross-sectional schematic diagram of an embodiment of the electronically coded lock system of the present invention when using a backup computer key for unlocking;

[0019] Figure 3 This is a cross-sectional schematic diagram of an electronically coded lock in one embodiment of the electronically coded lock system of the present invention;

[0020] Figure 4 This is a schematic diagram showing the position of the rotating ear in the locked state in one embodiment of the electronic coded lock system of the present invention;

[0021] Figure 5 This is a schematic diagram of the rotating ear position in a standby unlocking state in one embodiment of the electronic coded lock system of the present invention;

[0022] Figure 6 This is a cross-sectional schematic diagram of an embodiment of the electronically coded lock system of the present invention when using an emergency unlocking key;

[0023] Figure 7 This is a perspective view of an embodiment of the electronic coded lock system of the present invention when using an emergency unlocking key.

[0024] In the picture:

[0025] 100 - Electronic coded lock; 110 - Front housing; 120 - Rear cover; 130 - Control circuit; 140 - Micro switch; 141 - Spring; 150 - Interface module; 151 - Base; 1511 - Snap-on; 1512 - Stop boss; 1513 - Locking hole; 152 - Lock cylinder assembly; 1521 - Lock cylinder; 15211 - Unlocking hole; 1522 - Wireless power supply module; 1523 - First magnet; 1524 - Outer shell; 1 525-Rotating ear; 15251-Extended part; 15252-Limiting groove; 1526-Locking pin; 1527-Second magnet; 1528-Locking pin spring; 1529-Positioning bead; 200-Computer key; 210-Power supply coil; 220-Hall element; 230-First unlocking lever; 240-Third magnet; 250-Authorizing mechanism; 300-Emergency unlocking key; 310-Second unlocking lever; 320-Fourth magnet.

[0026] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0028] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0029] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0030] Figure 1 This is a cross-sectional schematic diagram of an embodiment of the electronically coded lock system of the present invention during conventional unlocking using a computer key. Figure 2 This is a cross-sectional schematic diagram of an embodiment of the electronic coded lock system of the present invention when using a backup computer key for unlocking. The electronic coded lock system includes an electronic coded lock and a computer key that is compatible with the electronic coded lock.

[0031] Figure 3 This is a cross-sectional schematic diagram of an electronically coded lock in one embodiment of the electronically coded lock system of the present invention. The electronically coded lock 100 includes a control circuit 130, a relay, a micro switch 140, and an interface module 150. The control circuit 130 includes a microcontroller, an electrical control circuit, and an emergency control circuit that are electrically connected to each other. The relay is connected to the control circuit 130 and enables the electrical control circuit to conduct in order to unlock the electrical control circuit. The micro switch 140 is connected to the control circuit 130 and enables the emergency control circuit to conduct in order to unlock the emergency control circuit.

[0032] The interface module 150 includes a base 151 and a lock cylinder assembly 152. The lock cylinder assembly 152 includes a lock cylinder 1521, a wireless power supply module 1522, a first magnet 1523, a rotating lug 1525, a locking pin 1526, and a second magnet 1527. The lock cylinder 1521 is rotatably mounted on the base 151 and has an unlocking hole 15211, a locking pin 1526 mounting hole, and a mounting cavity located at the front end of the lock cylinder 1521. The wireless power supply module 1522 and the first magnet 1523 are disposed within the mounting cavity. The rotating lug 1525 is located at the rear end of the lock cylinder 1521, and its rotation triggers the micro switch 140. The locking pin 1526 is movably disposed in the mounting hole of the locking pin 1526. The base 151 has a locking hole 1513. The locking pin 1526 extends into the locking hole 1513 to be in a locked state. The locking pin 1526 retracts into the mounting hole of the locking pin 1526 to be in an unlocked state. The second magnet 1527 is fixedly disposed on the locking pin 1526 and is located at the end of the locking pin 1526 near the unlocking hole 15211.

[0033] The computer key 200 includes a power supply coil 210, a Hall element 220, a first unlocking lever 230, a third magnet 240, and an authorization mechanism 250. When the computer key 200 is inserted into the unlocking hole 15211, the power supply coil 210 is positioned directly opposite the wireless power supply module 1522. The power supply coil 210 can wirelessly communicate with the wireless power supply module 1522 and provide power to it. When the computer key 200 is inserted into the unlocking hole 15211, the Hall element 220 is positioned directly opposite the first magnet 1523. When the first magnet 1523 approaches the Hall element 220, the Hall element 220 is activated, thereby putting the power supply coil 210 into operation. The first unlocking lever 230 is shaped to fit the unlocking hole 15211. The third magnet 240 is movably disposed within the first unlocking lever 230. In the authorized state, the third magnet 240 moves to attract the second magnet 1527, causing the locking pin 1526 to move to the unlocked state. In the authorized state, the third magnet 240 does not attract the second magnet 1527. The authorization mechanism 250 can drive the third magnet 240 to move between the authorized and unauthorized states.

[0034] The electronic coded lock system according to embodiments of the present invention can solve the problems of the existing electronic coded lock 100 being difficult to maintain normal operation for a long time and being unreliable. The wireless power supply module 1522 is integrated on the lock cylinder 1521. When the computer key 200 is turned, the wireless power supply module 1522 moves synchronously with the computer key 200, which can always maintain the stability and reliability of wireless power supply and wireless communication, while having high power supply efficiency and improving the operational reliability of controlling the electronic coded lock 100 to switch states.

[0035] In some embodiments, the coded lock 100 further includes a front housing 110 and a rear cover 120. The front housing 110 has a mounting cavity; the control circuit 130 is fixedly mounted in the mounting cavity of the front housing 110. A base 151 is fixedly disposed on the front housing 110 and connected to the front housing 110 via a snap-fit ​​1511. The rear cover 120 covers the rear end of the front housing 110 to form a closed cavity together with the front housing 110.

[0036] In some embodiments, the lock cylinder assembly 152 is rotatably mounted on the base 151, and the lock cylinder assembly 152 has an unlocked position and a locked position. When the lock cylinder assembly 152 is in the locked position, the micro switch 140 is in an untriggered state, and the emergency control circuit is disconnected; when the lock cylinder assembly 152 is in the unlocked position, the micro switch 140 is triggered by the lock cylinder assembly 152, and the emergency control circuit is connected.

[0037] In some embodiments, the wireless power supply module 1522 is disposed within the mounting cavity of the lock cylinder 1521 and can wirelessly communicate with the computer key 200. The computer key 200 can be coupled to the wireless power supply module 1522 to supply power to the control circuit 130. The first magnet 1523 is disposed within the mounting cavity of the lock cylinder 1521 and is used to cooperate with the Hall element 220 of the computer key 200 when the computer key 200 is brought near, thereby activating the computer key 200 to provide wireless power.

[0038] In some embodiments, the lock cylinder assembly 152 further includes a housing 1524 that covers the mounting cavity to enclose the wireless power supply module 1522 and the first magnet 1523 within the mounting cavity.

[0039] In some embodiments, a locking pin 1526 is movably disposed within a locking pin 1526 mounting hole, and a locking hole 1513 is provided on the base 151. When the locking pin 1526 is in the locked state, the end of the locking pin 1526 away from the unlocking hole 1521 extends into the locking hole 1513 to prevent the lock cylinder 1521 from rotating relative to the base 151. When the locking pin 1526 is in the unlocked state, the locking pin 1526 is fully retracted into the locking pin 1526 mounting hole, releasing the restriction on the lock cylinder 1521, allowing the lock cylinder 1521 to rotate relative to the base 151.

[0040] The third magnet 240 is movably disposed within the first unlocking lever 230, and the magnetic poles of the third magnet 240 are different from those of the second magnet 1527. When the computer key 200 is in the authorized state, the third magnet 240 moves to a position opposite to the second magnet 1527, and the magnetic force of the third magnet 240 is sufficient to attract the second magnet 1527 to move, so the locking pin 1526 can move to the unlocked position. When the computer key 200 is in the unauthorized state, the third magnet 240 does not move, and the distance between the third magnet 240 and the second magnet 1527 is too far to attract the second magnet 1527 to move, so the locking pin 1526 remains in the locked position.

[0041] In some embodiments, the unlocking hole 15211 is offset from the rotation center of the lock cylinder 1521, and the cross-section of the unlocking hole 15211 is an irregular structure. The first unlocking rod 230 has an irregular cross-section that matches the unlocking hole 15211.

[0042] In some embodiments, the control circuit 130 further includes a wireless radio frequency circuit and a wireless power supply receiving circuit. The wireless radio frequency circuit is used for wireless communication between the electronically coded lock 100 and the computer key 200, and the wireless power supply receiving circuit is used to receive power from the computer key 200 and rectify it. A through hole is provided on the lock cylinder 1521, penetrating the front and back of the lock cylinder 1521 and connecting the mounting cavity. The wireless power supply module 1522 is electrically connected to the control circuit 130 through a wire disposed in the through hole.

[0043] Figure 4 This is a schematic diagram showing the position of the rotating lug in the locked state in one embodiment of the electronic coded lock system of the present invention. Figure 5 This is a schematic diagram of the rotating ear position in a standby unlocking state according to an embodiment of the electronic coded lock system of the present invention. In some embodiments, the rotating ear 1525 has a protrusion 15251. When the rotating ear 1525 is rotated to the unlocking state, the protrusion 15251 abuts against the spring 141 of the micro switch 140 to trigger the micro switch 140 to conduct the emergency control circuit.

[0044] In some embodiments, a limiting groove 15252 is provided on the rotating ear 1525, and a stop boss 1512 is provided on the base 151. The stop boss 1512 can rotate within the limiting groove 15252 by a preset angle to limit the movement range of the rotating ear 1525. In this embodiment, the preset angle is 0-90 degrees as an example for explanation.

[0045] In some embodiments, the lock cylinder 1521 has a mounting hole for a positioning bead 1529, which communicates with the unlocking hole 15211. The lock cylinder assembly 152 also includes a locking pin spring 1528 and a positioning bead 1529. The locking pin spring 1528 is disposed in the mounting hole for a locking pin 1526, with one end abutting against the locking pin 1526 and the other end abutting against the lock cylinder 1521. The locking pin spring 1528 provides an elastic force for the locking pin 1526 to extend into the locking hole 1513. The positioning bead 1529 is retractably disposed in the mounting hole for a positioning bead 1529, with one end extending into the unlocking hole 15211. The retraction and extension of the positioning bead 1529 can position the computer key 200, preventing the computer key 200 from falling out of the unlocking hole 15211.

[0046] In some embodiments, the electronic coded lock system also includes an emergency unlocking key 300 associated with the electronic coded lock 100.

[0047] Figure 6 This is a cross-sectional schematic diagram of an embodiment of the electronically coded lock system of the present invention when using the emergency unlocking key. Figure 7 This is a perspective view of an embodiment of the electronic coded lock system of the present invention when using an emergency unlocking key. The emergency unlocking key 300 includes a second unlocking rod 310 and a fourth magnet 320. The second unlocking rod 310 is adapted to the shape of the unlocking hole 15211. The second unlocking rod 310 may have an irregular cross-section that matches the unlocking hole 15211. The fourth magnet 320 is fixedly disposed on the second unlocking rod 310. When the computer key 200 is inserted into the unlocking hole 15211, the fourth magnet 320 attracts the second magnet 1527, causing the locking pin 1526 to switch from the locked state to the unlocked state.

[0048] The following will describe the standard electrical unlocking process of an electronically coded lock system:

[0049] The operator uses the computer key 200 to fully insert the first unlocking lever 230 into the unlocking hole 15211. The Hall element 220 approaches the first magnet 1523 and is activated by the first magnet 1523, thus putting the power supply coil 210 into operation. The power supply coil 210 is positioned opposite the wireless power supply module 1522 and is coupled to the wireless power supply module 1522, providing power to the wireless power supply module 1522 and communicating wirelessly with it. The computer key 200 identifies the identity of the electronic code lock 100. After successful identity verification, the microcontroller controls the relay to switch from the open state to the closed state, thus activating the electrical control circuit of the electronic code lock 100 and realizing the unlocking electrical control circuit.

[0050] It should be noted that the locking pin 1526 is always partially inserted into the first locking hole 1513 under the action of the locking pin spring 1528. The locking pin 1526 is locked between the lock cylinder 1521 and the base 151. The lock cylinder 1521 cannot rotate and remains in the locked position. At this time, the lock cylinder assembly 152 is in the locked state. Moreover, due to the role of the positioning bead 1529, the wireless communication and wireless power supply process can be guaranteed to be uninterrupted.

[0051] The following will describe the backup electrical unlocking process for the electronic coded lock system:

[0052] When the relay fails or is underpowered for some reason, the computer key 200 receives a status message indicating that the relay state switching of the coded lock 100 has failed. The computer key 200 then controls the authorization mechanism 250 to switch from an unauthorized state to an authorized state. The third magnet 240 moves to a position opposite to the second magnet 1527. The magnetic force of the third magnet 240 is sufficient to attract the second magnet 1527 to move, and the locking pin 1526 moves to the unlocking position. The operator then rotates the computer key 200 as instructed by the computer key 200. The rotating lug 1525 rotates, causing the micro switch 140 to switch from an open state to a closed state, thus activating the emergency control circuit of the coded lock 100 and enabling the unlocking of the emergency control circuit. Upon receiving a status message indicating that the micro switch 140 of the coded lock 100 has successfully switched states, the computer key 200 displays a message indicating successful unlocking.

[0053] The following will explain the emergency unlocking process of the electronic coded lock system:

[0054] When both the electrical unlocking procedure and the backup unlocking procedure fail, electrical unlocking is not possible, and an emergency unlocking is required. The operator uses the emergency unlocking key 300 to fully insert the second unlocking rod 310 into the unlocking hole 15211. The second magnet 1527 approaches the fourth magnet 320 and is positioned opposite to it. The second magnet 1527 is attracted by the fourth magnet 320, causing the locking pin 1526 to switch from the locked position to the unlocked position. At this time, the lock cylinder 1521 can rotate relative to the base 151. The operator rotates the emergency unlocking key 300. When the stop boss 1512 moves to the other end of the limit groove 15252, the lock cylinder 1521 stops rotating, causing the rotating ear 1525 to move from the locked position to the unlocked position. The protrusion 15251 abuts against the spring 141 of the micro switch 140, switching the micro switch 140 from the off state to the on state.

[0055] The embodiments of the present invention also provide control methods for various electronic coded lock systems, which can be used in electronic coded lock systems according to any of the foregoing embodiments.

[0056] In one embodiment, the control method for the electronically coded lock system includes the following steps:

[0057] When the computer key 200 is inserted into the unlocking hole 15211, the first magnet 1523 activates the Hall element 220.

[0058] The power supply coil 210 of the computer key 200 supplies power to the wireless power supply module 1522.

[0059] The power supply coil 210 communicates wirelessly with the wireless power supply module 1522 and verifies the identity of the coded lock 100.

[0060] If authentication is successful, the microcontroller controls the relay to switch from the open state to the closed state.

[0061] The microcontroller of the electronic code lock 100 feeds back the first on / off state of the electrical control circuit to the computer key 200.

[0062] If the first on / off state is successfully switched, the computer key 200 will generate a message indicating that the unlocking was successful.

[0063] If the first on / off state fails to switch states, the computer key 200 will generate an unlocking failure message and enter the backup unlocking procedure.

[0064] In the backup unlocking procedure, the computer key 200 controls the authorization mechanism 250 to switch from the unauthorized state to the authorized state, the locking pin 1526 switches from the locked state to the unlocked state, and the computer key 200 generates a prompt message indicating that the computer key 200 can be rotated.

[0065] In response to the computer key 200 being turned, the rotating ear 1525 rotates, causing the micro switch 140 to switch from the open state to the closed state.

[0066] The microcontroller of the electronic coded lock 100 feeds back the second on / off status of the emergency control circuit to the computer key 200.

[0067] If the second on / off state is successfully switched, the computer key 200 will generate a message indicating that the unlocking was successful.

[0068] If the second on / off state fails to switch states, the computer key 200 will generate a prompt message indicating that unlocking has failed. Optionally, the computer key 200 will then generate a prompt message indicating that the emergency unlock key 300 should be used.

[0069] According to the above embodiments, the electronic code lock 100 has multiple unlocking methods, which can ensure its reliable operation.

[0070] In another embodiment, the control method of the electronically coded lock system includes the following steps:

[0071] When the computer key 200 is inserted into the unlocking hole 15211, the first magnet 1523 activates the Hall element 220.

[0072] The power supply coil 210 communicates wirelessly with the wireless power supply module 1522 and verifies the identity of the coded lock 100.

[0073] If the identity verification is successful, the computer key 200 controls the authorization mechanism 250 to switch from the unauthorized state to the authorized state, the locking pin 1526 switches from the locked state to the unlocked state, and the computer key 200 generates a prompt message indicating that the computer key 200 can be rotated.

[0074] In response to the computer key 200 being turned, the rotating ear 1525 rotates, causing the micro switch 140 to switch from the open state to the closed state.

[0075] The microcontroller of the electronic coded lock 100 feeds back the third on / off status of the emergency control circuit to the computer key 200.

[0076] If the third on / off state is successfully switched, the computer key 200 will generate a message indicating that the unlocking was successful.

[0077] If the third on / off state fails to switch states, the computer key 200 will generate a message indicating that unlocking has failed. Optionally, the computer key 200 will then generate a message prompting the user to use the emergency unlock key 300.

[0078] According to the above embodiments, the unreliability of relays in the prior art is avoided, and the micro switch 140 has the advantages of simple structure and reliable operation.

[0079] In yet another embodiment, the control method for the electronically coded lock system includes the following steps:

[0080] When the computer key 200 is inserted into the unlocking hole 15211, the first magnet 1523 activates the Hall element 220.

[0081] The power supply coil 210 of the computer key 200 supplies power to the wireless power supply module 1522.

[0082] The power supply coil 210 communicates wirelessly with the wireless power supply module 1522 and verifies the identity of the coded lock 100.

[0083] If authentication is successful, the microcontroller controls the relay to switch from the open state to the closed state.

[0084] The microcontroller of the electronic coded lock 100 feeds back the fourth on / off state of the electrical control circuit to the computer key 200.

[0085] Computer key 200 controls authorization mechanism 250 to switch from unauthorized state to authorized state, locking pin 1526 to lock state to unlock state, and computer key 200 generates a prompt message indicating that computer key 200 can be rotated.

[0086] In response to the computer key 200 being turned, the rotating ear 1525 rotates, causing the micro switch 140 to switch from the open state to the closed state.

[0087] The microcontroller of the electronic coded lock 100 feeds back the fifth on / off state of the emergency control circuit to the computer key 200.

[0088] If at least one of the fourth or fifth on / off states is successfully switched, the computer key 200 will generate a message indicating that the unlocking was successful.

[0089] If both the fourth and fifth on / off states fail to switch states, the computer key 200 will generate an unlocking failure message. Optionally, the computer key 200 will then generate a prompt to use the emergency unlocking key 300.

[0090] According to the above embodiments, the dual circuits work simultaneously and serve as backups for each other, which can greatly improve the reliability of the electronic code lock 100.

[0091] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made under the concept of the present invention using the description and drawings of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. An electronically coded lock system, characterized in that, The system includes an electronically coded lock and a computer key compatible with the electronically coded lock. The electronically coded lock includes: Control circuitry, including interconnected microcontrollers, electrical control circuits, and emergency control circuits; A relay, connected to the control circuit, enables the electrical control circuit to be turned on in order to unlock the electrical control circuit; A microswitch, connected to the control circuit, enables the emergency control circuit to be activated, thereby unlocking the emergency control circuit; and The interface module includes a base and a lock cylinder assembly. The lock cylinder assembly includes a lock cylinder, a wireless power supply module, a first magnet, a rotating lug, a locking pin, and a second magnet. The lock cylinder is rotatably mounted on the base and has an unlocking hole, a locking pin mounting hole, and a mounting cavity at the front end of the lock cylinder. The wireless power supply module and the first magnet are disposed within the mounting cavity. The rotating lug is disposed at the rear end of the lock cylinder, and its rotation triggers a micro switch. The locking pin is movably disposed within the locking pin mounting hole. The base... The lock cylinder assembly has a locking hole, into which the locking pin extends to be in a locked state. The locking pin retracts into the locking pin mounting hole to be in an unlocked state. A second magnet is fixedly mounted on the locking pin and located at the end of the locking pin closest to the unlocking hole. The lock cylinder assembly has an unlocked position and a locked position. When the lock cylinder assembly is in the locked position, the micro switch is not triggered, and the emergency control circuit is disconnected. When the lock cylinder assembly is in the unlocked position, the micro switch is triggered by the lock cylinder assembly, and the emergency control circuit is connected. The computer key includes: When the computer key is inserted into the unlocking hole, the power supply coil is positioned directly opposite the wireless power supply module. The power supply coil communicates wirelessly with the wireless power supply module and verifies the identity of the electronically coded lock. If the identity verification is successful, the microcontroller controls the relay to switch from an open state to a closed state to unlock the electrical control circuit. A Hall element is positioned directly opposite the first magnet when the computer key is inserted into the unlocking hole, and the first magnet activates the Hall element. The first unlocking lever is adapted to the shape of the unlocking hole; A third magnet is movably disposed within the first unlocking lever. When the electrical control circuit fails to unlock, the electronically coded lock enters a backup unlocking procedure, and the computer key controls the authorization mechanism to switch from an unauthorized state to an authorized state. In the authorized state, the third magnet moves to attract the second magnet, causing the locking pin to move to the unlocked state to activate the emergency control circuit. In the unauthorized state, the third magnet does not attract the second magnet. The authorized mechanism is capable of driving the third magnet to move between authorized and unauthorized states. The lock cylinder has a through hole that runs through the front and back of the lock cylinder and connects to the mounting cavity. The wireless power supply module is electrically connected to the control circuit through a wire set in the through hole. When the computer key is turned, the wireless power supply module moves synchronously with the computer key.

2. The electronically coded lock system as described in claim 1, characterized in that, The unlocking hole is offset from the rotation center of the lock cylinder, and the cross-section of the unlocking hole has an irregular shape.

3. The electronically coded lock system as described in claim 1, characterized in that, The control circuit also includes a wireless radio frequency circuit and a wireless power supply receiving circuit. The wireless radio frequency circuit is used for wireless communication between the electronically coded lock and the computer key, and the wireless power supply receiving circuit is used to receive power from the computer key and then rectify it.

4. The electronically coded lock system as described in claim 1, characterized in that, The rotating ear has a protrusion. When the rotating ear is rotated to the unlocked state, the protrusion abuts against the spring of the micro switch to trigger the micro switch to conduct the emergency control circuit.

5. The electronically coded lock system as described in claim 1, characterized in that, The rotating ear has a limiting groove, and the base has a stop boss that can rotate a preset angle within the limiting groove.

6. The electronically coded lock system as described in claim 1, characterized in that, The lock cylinder has a positioning bead mounting hole, which is connected to the unlocking hole. The lock cylinder assembly also includes: A locking pin spring is disposed in the locking pin mounting hole. One end of the locking pin spring abuts against the locking pin, and the other end abuts against the lock cylinder. The locking pin spring provides the locking pin with an elastic force that extends into the locking hole. A positioning bead is retractably mounted in the positioning bead mounting hole, with one end of the positioning bead extending into the unlocking hole. The computer key can be positioned by the retraction and extension of the positioning bead.

7. The electronically coded lock system as described in claim 1, characterized in that, It also includes an emergency unlocking key that is compatible with the electronically coded lock, the emergency unlocking key comprising: The second unlocking lever is adapted to the shape of the unlocking hole; The fourth magnet is fixedly installed on the second unlocking rod. When the emergency unlocking key is inserted into the unlocking hole, the fourth magnet attracts the second magnet, causing the locking pin to switch from the locked state to the unlocked state.

8. A control method for an electronically coded lock system, characterized in that, For the electronic coded lock system as described in any one of claims 1 to 7, the control method of the electronic coded lock system includes: When the computer key is inserted into the unlocking hole, the first magnet activates the Hall element. The power supply coil of the computer key supplies power to the wireless power supply module; The power supply coil communicates wirelessly with the wireless power supply module and verifies the identity of the electronically coded lock; If authentication is successful, the microcontroller controls the relay to switch from the open state to the closed state; The microcontroller of the electronically coded lock feeds back the first on / off state of the electrical control circuit to the computer key; If the first on / off state is a successful state switch, the computer key generates a message indicating successful unlocking. If the first on / off state fails to switch states, the computer key generates an unlocking failure message and enters the backup unlocking procedure. In the backup unlocking procedure, the computer key controls the authorization mechanism to switch from an unauthorized state to an authorized state, the locking pin to switch from a locked state to an unlocked state, and the computer key generates a prompt message indicating that the computer key can be rotated; In response to the computer key being turned, the rotating lug causes the micro switch to switch from an open state to a closed state. The microcontroller of the electronically coded lock feeds back the second on / off state of the emergency control circuit to the computer key; If the second on / off state is a successful state switch, the computer key will generate a message indicating that the unlocking was successful. If the second on / off state fails to switch states, the computer key will generate a message indicating that unlocking has failed.

9. A control method for an electronically coded lock system, characterized in that, For the electronic coded lock system as described in any one of claims 1 to 7, the control method of the electronic coded lock system includes: When the computer key is inserted into the unlocking hole, the first magnet activates the Hall element. The power supply coil communicates wirelessly with the wireless power supply module and verifies the identity of the electronically coded lock; If the identity verification is successful, the computer key controls the authorized agency to switch from an unauthorized state to an authorized state, the locking pin switches from a locked state to an unlocked state, and the computer key generates a prompt message indicating that the computer key can be turned. In response to the computer key being turned, the rotating lug causes the micro switch to switch from an open state to a closed state. The microcontroller of the electronically coded lock feeds back the third on / off state of the emergency control circuit to the computer key; If the third on / off state is a successful state switch, the computer key will generate a message indicating that the unlocking was successful. If the third on / off state fails to switch, the computer key will generate an unlocking failure message.

10. A control method for an electronically coded lock system, characterized in that, For the electronic coded lock system as described in any one of claims 1 to 7, the control method of the electronic coded lock system includes: When the computer key is inserted into the unlocking hole, the first magnet activates the Hall element. The power supply coil of the computer key supplies power to the wireless power supply module; The power supply coil communicates wirelessly with the wireless power supply module and verifies the identity of the electronically coded lock; If authentication is successful, the microcontroller controls the relay to switch from the open state to the closed state; The microcontroller of the electronically coded lock feeds back the fourth on / off state of the electrical control circuit to the computer key; The computer key controls the authorization mechanism to switch from an unauthorized state to an authorized state, the locking pin to switch from a locked state to an unlocked state, and the computer key generates a prompt message indicating that the computer key can be turned. In response to the computer key being turned, the rotating lug causes the micro switch to switch from an open state to a closed state. The microcontroller of the electronically coded lock feeds back the fifth on / off state of the emergency control circuit to the computer key; If at least one of the fourth on / off state and the fifth on / off state is successfully switched, the computer key will generate a message indicating that the unlocking was successful. If both the fourth and fifth on / off states fail to switch states, the computer key will generate an unlocking failure message.