Intelligent lock of electric cabinet door based on internet of things technology application

CN224849727UActive Publication Date: 2026-10-13YIHU ZHIZAO TECH (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522449656.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-19
Publication Date
2026-10-13
Estimated Expiration
2035-11-19

AI Technical Summary

Technical Problem

[0003]针对现有技术的不足,本实用新型提供了一种基于物联网技术应用的电柜门智能锁,具备可对解锁和上锁进行记录监控等优点,解决了现有技术中常用的机械锁虽然结构简单、功能可靠、成本低,但是解锁和上锁都没有记录也无法监控,人员针对电柜内线路违规操作难管理和监控,目前电子锁少有联网的功能,所以无论机械锁还是电子锁目前都不能满足安全管理的要求及电柜开关操作可追溯的要求的问题

Benefits of technology

该基于物联网技术应用的电柜门智能锁,通过位置板与微动开关的配合,能够精确检测锁舌的到位状态;在上锁时用手推动锁舌到极限位置即可完成上锁,锁舌在此位置时电磁锁的锁舌在自身弹性元件的作用下自然弹出并阻挡锁舌防止在锁舌弹簧的拉力作用下向右移动,在锁舌移动过程中位置板通过位置板弹簧的拉力作用随锁舌同步移动,由于锁扣板开孔尺寸、位置不允许位置板穿过,位置板受到锁扣板阻挡而停止同步移动,锁舌可伸入锁扣板的开孔中从而将柜门锁住保持关闭状态,此时位置板的凸台在此位置按压微动开关,微动开关处于“关”状态,微动开关的状态通过电路板发送给后台服务器,即可通过服务器对上锁操作进行记录。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224849727U_ABST
    Figure CN224849727U_ABST
Patent Text Reader

Abstract

The utility model relates to electronic lock technical field, and disclose a kind of electric cabinet door intelligent lock based on internet of things technology application, including lock body mechanism and lock catch mechanism, the lock body mechanism includes lock body base and lock body cover, the lock body base and lock body cover are mutually buckled and form cavity, electromagnetic lock is fixedly connected in cavity, slot is set in lock body cover side, lock bolt is slidably connected in lock body cover, and one end of lock bolt is penetrated slot and extends to the outside of lock body cover.The electric cabinet door intelligent lock based on internet of things technology application, solve the structure simple, function reliable, low in cost of commonly used mechanical lock in prior art, but unlocking and locking all have no record and cannot be monitored, and the illegal operation of personnel to the internal circuit of electric cabinet is difficult to manage and monitor;At present, few electronic locks have networking function, so neither mechanical locks nor electronic locks can meet the requirements of safety management and the requirements of electric cabinet switch operation traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of electronic lock technology, specifically to a smart lock for an electrical cabinet door based on Internet of Things (IoT) technology. Background Technology

[0002] Electrical cabinet door locks are widely used in industrial fields such as power distribution cabinets, communication cabinets, power distribution boxes, and control cabinets (hereinafter collectively referred to as electrical cabinets). Existing electrical cabinet door locks vary in structure, falling into two main categories: mechanical locks, which are the mainstream, and electronic locks with varying levels of intelligence. Mechanical locks are simple locking devices of various types that use keys to unlock. Electronic locks use NFC (Near Field Communication), passwords, or fingerprints for unlocking. Commonly used mechanical locks are simple in structure, reliable in function, and low in cost; however, unlocking and locking are not recorded and cannot be monitored, and unauthorized operations on the wiring inside the electrical cabinet are difficult to manage and monitor. Currently, few electronic locks have network connectivity. Therefore, neither mechanical nor electronic locks currently meet the requirements for security management and traceability of electrical cabinet switch operations. Utility Model Content

[0003] To address the shortcomings of existing technologies, this utility model provides a smart lock for electrical cabinet doors based on Internet of Things (IoT) technology. It offers advantages such as recording and monitoring unlocking and locking, solving the problems of existing mechanical locks, which, while simple in structure, reliable in function, and low in cost, lack recording and monitoring capabilities for unlocking and locking. Furthermore, it makes it difficult to manage and monitor unauthorized operations by personnel within the electrical cabinet. Currently, electronic locks rarely have network connectivity. Therefore, neither mechanical nor electronic locks can currently meet the requirements for security management and traceability of electrical cabinet switch operations.

[0004] The technical solution of this utility model to solve the above-mentioned technical problems is as follows: It includes a lock body mechanism and a latch mechanism. The lock body mechanism includes a lock body base and a lock body cover plate. The lock body base and the lock body cover plate are interlocked to form a cavity. A low-frequency RFID module and a circuit board are provided inside the cavity. An electromagnetic lock is also fixedly connected inside the cavity. The feature is that: a slot is opened on one side of the lock body cover plate. A latch tongue is slidably connected inside the lock body cover plate, with one end passing through the slot and extending to the outside of the lock body cover plate. The latch tongue and the lock body base are both fixedly connected to the latch tongue spring. A position plate is slidably connected to one side of the latch tongue. A sensor (6) that can sense the lateral position of the position plate is fixedly connected inside the cavity.

[0005] The beneficial effects of this utility model are: This smart lock for electrical cabinet doors, based on IoT technology, uses a position plate and a micro switch to accurately detect the latch's position. Locking is achieved by manually pushing the latch to its limit position. At this position, the electromagnetic latch naturally springs out under the action of its elastic element, preventing it from moving to the right under the tension of the latch spring. During the latch's movement, the position plate moves synchronously with the latch under the tension of its spring. Because the size and position of the strike plate opening do not allow the position plate to pass through, it stops moving synchronously. The latch can then extend into the strike plate opening, locking the cabinet door and keeping it closed. At this time, the protrusion on the position plate presses the micro switch, putting it in the "off" state. The micro switch's status is sent to the backend server via the circuit board, allowing the server to record the locking operation.

[0006] Based on the above technical solution, the present invention can be further improved as follows.

[0007] Furthermore, the circuit board includes a communication module, a voice module, an MCU main control module, and an IoT card. The low-frequency RFID module, micro switch, and electromagnetic lock are all electrically connected to the circuit board.

[0008] The beneficial effects of adopting the above-mentioned further solution are that, by integrating a low-frequency RFID module, a communication module, and an MCU main control module onto a circuit board, the low-frequency RFID module achieves contactless identity authentication, which is safe and convenient. The smart lock can upload information such as unlocking / locking status, operator information, and device connection status to the cloud management platform in real time. Administrators can remotely monitor the cabinet door status, authorize or prohibit operation, and view historical operation records, effectively solving the pain points of traditional mechanical locks and ordinary electronic locks that cannot monitor or trace unauthorized operations, and meeting the stringent requirements of modern electrical cabinet security management for operational traceability.

[0009] Furthermore, a speaker is provided inside the cavity, an indicator light and a camera are provided on the lock body cover, an antenna is provided on the lock body, and a display screen is provided on the front of the lock body mechanism. The speaker, indicator light, antenna and display screen are all electrically connected to the circuit board.

[0010] The beneficial effects of adopting the above-mentioned further solutions are that the antenna enables wireless communication between the smart lock and the server; the display screen can display rich information such as time, status, personnel name, telephone number, prompt information, alarm information, etc.; the connection indicator light intuitively indicates the status through different colors and flashing patterns, and alarms for illegal operations; the speaker provides voice prompts for operation steps and alarms for illegal operations, together creating a clear, user-friendly and safe user experience.

[0011] Furthermore, both the latch and the position plate are fixedly connected to the position plate spring. A first column is fixedly connected to the latch, and a second column is fixedly connected to the position plate. The two ends of the position plate spring are respectively hooked to the first column and the second column.

[0012] Furthermore, the sensor is a micro switch, and a boss is provided on the top of the position plate. When locked, the boss abuts against the micro switch.

[0013] Furthermore, the locking mechanism includes a locking plate, a locking cover plate, and a locking base. The locking plate, the locking cover plate, and the locking base are fixedly connected to form a locking box. The locking plate has a locking hole inside that matches the locking tongue.

[0014] Furthermore, a guide pin is fixedly connected to the front of the lock body base, and both the position plate and the lock tongue are provided with guide grooves that are adapted to the guide pin. The position plate and the lock tongue are sequentially sleeved on the guide pin.

[0015] The beneficial effect of adopting the above-mentioned further solution is that, through the cooperation between the guide pin and the guide groove and the limiting of the guide plate, it is ensured that the position plate and the bolt can only move in a precise straight line along the guide pin, which effectively prevents them from deviating, twisting or jamming during the movement, and ensures that the bolt can be accurately inserted into the lock hole of the locking mechanism, which greatly improves the reliability and consistency of operation.

[0016] Furthermore, a third column is fixedly connected to the latch, and a fourth column located inside the guide groove is fixedly connected to the front of the lock body base, and the two ends of the latch spring are respectively hooked to the third column and the fourth column.

[0017] The beneficial effect of adopting the above-mentioned further solution is that the hooking method of the latch spring allows the elastic force to act directly on the direction of the latch movement, ensuring that the latch can retract quickly and reliably after the electromagnetic lock is released, thus completing the unlocking action.

[0018] Furthermore, a guide plate that engages with the groove inside the lock body cover is fixedly connected to one side of the lock body base. Two protruding extension sections are provided at the end of the lock tongue, and there is a gap between the two extension sections. A limiting hole adapted to the position plate and the lock tongue is opened inside the guide plate. In the locked state, the lock tongue passes through the limiting hole and the lock hole in sequence and extends into the lock box.

[0019] The beneficial effect of adopting the above-mentioned further solution is that by setting a guide plate, the movement trajectory of the locking tongue and the position plate is further limited, so that they can only be within the range of the limiting hole during the extension and retraction process, thus avoiding their movement and causing the device to jam and malfunction.

[0020] Furthermore, an electromagnetic lock is fixedly connected to the lock body base. The electromagnetic lock includes an electromagnet, an electromagnetic bolt, and a tail rod. The electromagnetic bolt and the tail rod are fixedly connected. The electromagnet is fixedly connected to the lock body base. The electromagnetic bolt and the tail rod are slidably connected inside the electromagnet. A thrust spring is provided between the electromagnetic bolt and the electromagnet. A mechanical lock located below the electromagnetic lock is fixedly connected to the lock body base. When the mechanical lock rotates, the lever of the mechanical lock abuts against the tail rod of the electromagnetic lock.

[0021] The beneficial effect of adopting the above-mentioned further solution is that the push spring allows the electromagnetic bolt to automatically extend from inside the electromagnet and return to the locked position under the action of the spring when the power is off. The mechanical lock's lever directly drives the electromagnetic lock's tail rod, and its operation is completely independent of the electronic system. In addition to electronic system control, users can use a physical key for emergency unlocking, ensuring emergency access and maintenance capabilities to the electrical cabinet in extreme situations, achieving a perfect combination of electronic convenience and mechanical reliability. Attached Figure Description

[0022] Figure 1 This is an exploded view of the structure of this utility model; Figure 2 This is a schematic diagram of the structure of the double-door smart lock of this utility model; Figure 3 This is a schematic diagram of the structural state of the present invention when locked; Figure 4 This is a schematic diagram of the structural state of the present invention when unlocked; Figure 5 This is a schematic diagram of the locking structure of the electrical cabinet when the door is not closed. Figure 6 This is a schematic diagram of the structure of the single-door smart lock of this utility model; Figure 7 This is a schematic diagram of the connection structure between the mechanical lock and the electromagnetic lock of this utility model.

[0023] In the diagram: 1. Snap plate; 2. Snap cover plate; 3. Snap base; 4. Position plate; 5. Lock body base; 6. Sensor; 7. Lock tongue spring; 8. Lock tongue; 9. Elastic element; 10. Rear cover plate; 11. Mechanical lock; 12. Electromagnetic lock; 13. Speaker; 14. Lock body cover plate; 15. Indicator light; 16. Camera; 17. Antenna; 18. Display screen; 20. Low-frequency RFID module; 21. Circuit board; 22. First column; 23. Third column; 24. Guide pin; 25. Second column; 26. Fourth column; 27. Guide plate; 28. L-shaped snap base; 29. ​​Pulley. Detailed Implementation

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

[0025] Example 1, by Figure 1-7 This invention provides a smart lock for electrical cabinet doors based on Internet of Things (IoT) technology. The smart lock includes a lock body mechanism and a latching mechanism. The latching mechanism comprises a latch plate 1, a latch cover plate 2, and a latch base 3. The latch plate 1, latch cover plate 2, and latch base 3 are fixedly connected to form a latch box. The latch plate 1 has a lock hole adapted to the latch tongue 8. The latch base 3 of this latching mechanism is flat and suitable for double-door and single-door electrical distribution cabinets with the door embedded in the cabinet. This type of latch plate assembly can be installed on the right or left side. The lock body assembly is divided into a left-side installation version and a right-side installation version. The two versions work on the same principle, only the parts are mirror images of each other. The lock body mechanism includes a lock body base 5 and a lock body cover plate 14. The lock body base 5 and the lock body cover plate 14 are interlocked to form a cavity. An electromagnetic lock 12 is fixedly connected inside the cavity. A slot is opened on one side of the lock body cover plate 14. Inside the lock body cover plate 14, a latch 8 is slidably connected to the front of the lock body base 5, with one end passing through the slot and extending to the outside of the lock body cover plate 14. The latch 8 has a stepped structure, and two protruding extension sections are provided at the ends of the latch 8. There is a gap between the two extension sections. The lock holes opened inside the strike plate 1 are two rectangular array holes that can accommodate the two extension sections. A retaining beam is provided between the two lock holes. The lock body base 5 is used to block the position plate 4 during the extension of the bolt 8, preventing the position plate 4 from passing through the strike plate 1. A guide plate 27 is fixedly connected to one side of the lock body base 5, which engages with the groove inside the lock body cover 14. The guide plate 27 has a limiting hole inside that matches the position plate 4 and the bolt 8. In the locked state, the bolt 8 passes through the limiting hole and the lock hole in sequence and extends into the strike box. The bolt 8 and the lock body cover 14 are both fixedly connected to the bolt spring 7. A third column 23 is fixedly connected to the bolt 8. The front of the lock body base 5 is fixedly connected to a guide groove that passes through two guide grooves in sequence and has one end... The fourth post 26 extends to the front of the latch, and the two ends of the latch spring 7 are respectively hooked to the third post 23 and the fourth post 26. The back of the latch 8 is slidably connected to the position plate 4, and the front of the lock body base 5 is fixedly connected to the guide pin 24. The position plate 4 and the latch 8 are both provided with guide grooves that are adapted to the guide pin 24. The position plate 4 and the latch 8 are sequentially sleeved on the guide pin 24 through their internal guide grooves. The end of the guide pin 24 is provided with a stop block. The diameter of the stop block is larger than the width of the guide groove. The position plate 4 and the latch 8 are located between the stop block and the lock body base 5. All four are fixedly connected to the position plate spring. The first column 22 is fixedly connected to the latch 8, and the second column 25 is fixedly connected to the position plate 4. The two ends of the position plate spring are respectively hooked to the first column 22 and the second column 25. Under the tension of the position plate spring, the position plate 4 can move synchronously with the latch 8. When unlocking, the position plate 4 and the latch 8 move relative to each other, and the position plate 4 is subjected to a greater tension. The tension ensures that the position plate 4 returns to the initial relative position with the latch 8. A boss is provided on the top of the position plate 4, and a micro switch that abuts against the boss is fixedly connected inside the lock body cover plate 14.When locking, first push the latch 8 towards the strike plate 1 to its limit position by hand to complete the locking. At this position, the electromagnetic latch 8 naturally pops out under the action of its own elastic element, preventing it from moving in the opposite direction under the tension of the latch spring 7. During the movement of the latch 8, the position plate 4 moves synchronously with the latch 8 under the tension of the position plate spring. Because there is a stop beam between the two openings of the strike plate 1, preventing the position plate 4 from passing through, the position plate 4 stops moving synchronously due to the obstruction of the strike plate 1. The latch 8 can then extend into the opening of the strike plate 1, thus locking the cabinet door and keeping it closed. At this time, the protrusion of the position plate 4 presses the microswitch at this position, and the microswitch is in the closed state. The state of the microswitch is sent to the backend server via the circuit board, and the locking operation can be recorded by the server.

[0026] When unlocking, the IC card is touched on the lock body cover 14 or the face is scanned by the camera 16. The low-frequency RFID module 20 reads the IC card number and sends the card number to the back-end server via 4G / 5G signal or WIFI signal. The server verifies whether the card number has the right to unlock this device and sends the verification result to this device. If the card has the right, the electromagnetic lock 12 is powered on, the electromagnetic bolt retracts, and the obstruction of the bolt 8 is removed. The bolt 8 moves to the initial position under the pulling force of the bolt spring 7. The position plate 4 moves to the initial position synchronously under the pulling force of the position plate spring. At this time, the position plate 4 cannot press the micro switch, and the micro switch is in the open state.

[0027] Normally, this device is only locked when the cabinet door is closed. The microswitch in the locked state is equivalent to the cabinet door being closed. However, to prevent the device from being locked when the cabinet door is open and the locked state being mistakenly sent to the server as the cabinet door being closed, the position plate 4 must not be able to press the microswitch when the device is locked while the cabinet door is open. Therefore, the position plate 4 is designed with a hump-shaped protrusion to press the microswitch. The position plate 4 cannot be pressed to the closed state in either the initial or extreme positions. The microswitch is only pressed to the closed state when the position plate 4 is stopped by the latch plate 1 while moving synchronously with the locking tongue 8. The micro switch can only be pressed when the position plate 4 is in the middle position. If it is not blocked by the stop beam of the latch plate 1 during the synchronous movement with the latch 8, the position plate 4 will continue to move synchronously with the latch. The roller of the micro switch will eventually be located on the side of the hump boss of the position plate, which is the open state. In fact, during the synchronous movement of the position plate 4 and the latch 8, the boss first briefly presses the micro switch and then releases the press. In order to avoid the brief pressing process, the device sends a signal to the back-end server. In order to avoid interfering with the back-end server's judgment of the cabinet door closing state, the back-end server will only update the locking state of the device when the micro switch closing signal lasts for more than 1 second.

[0028] Example 2, please refer to Figure 1Based on Embodiment 1, a lock body cover plate 14 is fixedly connected to the outside of the lock body mechanism, and a rear cover plate 10 is fixedly connected to the rear side of the lock body cover plate 14. The lock body cover plate 14 and the rear cover plate 10 form a box. A circuit board 21 is disposed inside the lock body cover plate 14. The circuit board 21 includes a communication module, a voice module, an MCU main control module, and an IoT card. The communication module includes one or more combinations of 4G, 5G, Bluetooth, and WIFI modules. The IoT card includes a 4G IoT card or a 5G IoT card, and the IoT card can be installed in a plug-in, surface mount, or embedded manner. The micro switch and the electromagnetic lock 12 are both electrically connected to the circuit board 21. A speaker 13 is disposed inside the cavity. A connection indicator light 15 and a camera 16 are disposed on the front of the lock body cover plate 14. The camera 16 is electrically connected to the circuit board 10. By setting the camera 16, facial information can be collected, and the collected information is transmitted to the circuit board 10 through a signal. The camera 16 is electrically connected to the face recognition module, and the face recognition module is electrically connected to the circuit board 10. By setting up a face recognition module, after the camera 16 collects facial information, it transmits the information to the face recognition module via a signal. The face recognition module then transmits the data to the server via the circuit board 10. The server analyzes the data and can then accurately verify the operator's information. The antenna 17 can be an external antenna or an internal antenna. If it is an external antenna, it is located on the top of the lock body cover 14. If it is an internal antenna, it is located inside the lock body cover 14. The front of the lock body cover 14 is equipped with a display screen 18. The lock body cover 14 also houses a low-frequency RFID module 20, a fingerprint recognition module, or a face recognition module. The speaker 13, connection indicator 15, camera 16, antenna 17, display screen 14, and low-frequency RFID module 20 are all electrically connected to the circuit board 21.

[0029] Example 3, please refer to Figure 7 Based on Embodiment 1, the lock body base 5 is fixedly connected to a fixed frame, and the electromagnetic lock is fixedly connected inside the fixed frame. The electromagnetic lock 12 includes an electromagnet, an electromagnetic bolt, and a tail rod. The electromagnetic bolt and the tail rod are fixedly connected. A locking plate is fixedly connected to the bottom of the bolt 8. In the locked state, the locking plate engages with the electromagnetic bolt. The electromagnet is fixedly connected to the fixed frame. The electromagnetic bolt and the tail rod are slidably connected inside the electromagnet. A thrust spring is provided between the electromagnetic bolt and the electromagnet. The lock body base 5 is fixedly connected to a mechanical lock 11 located below the electromagnetic lock. The lever 29 of the mechanical lock 11 is fixedly connected to the tail rod. In special circumstances, such as when there is no card with unlocking authority, a key can be inserted into the keyhole of the mechanical lock 11 and the key can be rotated. The rotation of the mechanical lock 11 causes the unlocking lever 29 to rotate. The rotation of the unlocking lever 29 will move the tail rod of the electromagnetic lock 12. The movement of the tail rod of the electromagnetic lock 12 will cause the electromagnetic bolt to retract, thereby removing the obstruction to the bolt 8. Under the tension of the bolt spring 7, the bolt 8 moves to the right to the initial position and disengages from the strike plate to unlock.

[0030] Example 4, please refer to Figure 6 The locking mechanism includes an L-shaped locking base 28, a locking plate 1, and a locking cover 2. This type of locking plate assembly is suitable for the outer casing of a single-door electrical cabinet. This type of locking mechanism can be installed on the left or right side of the cabinet door.

[0031] In summary, this application achieves the goal of recording and monitoring unlocking and locking, solving the problem that while existing mechanical locks are simple in structure, reliable in function, and low in cost, they do not record or monitor unlocking and locking, and make it difficult to manage and monitor unauthorized operations on the wiring within the electrical cabinet. Currently, few electronic locks have network connectivity, so neither mechanical nor electronic locks can currently meet the requirements for security management and traceability of electrical cabinet switch operations.

[0032] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0033] Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the present invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology, comprising a lock body mechanism and a latching mechanism, wherein the lock body mechanism comprises a lock body base (5) and a lock body cover (14), the lock body base (5) and the lock body cover (14) being interlocked to form a cavity, a low-frequency RFID module (20) and a circuit board (21) being disposed inside the cavity, and an electromagnetic lock (12) being fixedly connected inside the cavity, characterized in that: A slot is provided on one side of the lock body cover plate (14). A latch (8) is slidably connected inside the lock body cover plate (14), with one end passing through the slot and extending to the outside of the lock body cover plate (14). The latch (8) and the lock body base (5) are both fixedly connected to the latch spring (7). A position plate (4) is slidably connected to one side of the latch (8), and the latch (8) and the position plate (4) are elastically connected through an elastic element (9). A sensor (6) that can sense the lateral position of the position plate (4) is fixedly connected inside the cavity.

2. The smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 1, characterized in that: The circuit board (21) includes a communication module, a voice module, an MCU main control module and an IoT card. The low-frequency RFID module (20), micro switch and electromagnetic lock (12) are all electrically connected to the circuit board (21).

3. The smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 2, characterized in that: A speaker (13) is provided inside the cavity, an indicator light (15) and a camera (16) are provided on the lock body cover plate (14), an antenna (17) is provided on the lock body, and a display screen (18) is provided on the front of the lock body mechanism. The speaker (13), indicator light (15), antenna (17) and display screen (18) are all electrically connected to the circuit board (21).

4. The smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 1, characterized in that: The elastic element (9) is a position plate spring. The locking tongue (8) and the position plate (4) are both fixedly connected to the position plate spring. A first column (22) is fixedly connected to the locking tongue (8), and a second column (25) is fixedly connected to the position plate (4). The two ends of the position plate spring are respectively hooked to the first column (22) and the second column (25).

5. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 1, characterized in that: The sensor (6) is a micro switch, and the top of the position plate (4) is provided with a boss. When locked, the boss abuts against the micro switch.

6. The smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 1, characterized in that: The locking mechanism includes a locking plate (1), a locking cover plate (2) and a locking base (3). The locking plate (1), the locking cover plate (2) and the locking base (3) are fixedly connected to form a locking box. The locking plate (1) has a locking hole inside that is compatible with the locking tongue (8).

7. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 6, characterized in that: The lock body base (5) is fixedly connected to a guide pin (24) on the front. The position plate (4) and the lock tongue (8) are both provided with guide grooves that are compatible with the guide pin (24). The position plate (4) and the lock tongue (8) are sequentially sleeved on the guide pin (24).

8. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 7, characterized in that: A third column (23) is fixedly connected to the latch (8), and a fourth column (26) located inside the guide groove is fixedly connected to the front of the lock body base (5). The two ends of the latch spring (7) are respectively hooked to the third column (23) and the fourth column (26).

9. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 7, characterized in that: The lock body base (5) is fixedly connected to a guide plate (27) that engages with the groove of the lock body cover plate (14). The end of the lock tongue (8) is provided with two protruding extension sections with a gap between the two extension sections. The guide plate (27) is provided with a limiting hole that matches the position plate (4) and the lock tongue (8). In the locked state, the lock tongue (8) passes through the limiting hole and the lock hole in sequence and extends into the lock box.

10. A smart lock for an electrical cabinet door based on Internet of Things (IoT) technology as described in claim 1, characterized in that: An electromagnetic lock (12) is fixedly connected to the lock body base (5). The electromagnetic lock (12) includes an electromagnet, an electromagnetic latch and a tail rod. The electromagnetic latch and the tail rod are fixedly connected. The electromagnetic latch and the tail rod are slidably connected inside the electromagnet. A thrust spring is provided between the electromagnetic latch and the electromagnet. A mechanical lock (11) located below the electromagnetic lock is fixedly connected to the lock body base (5). When the mechanical lock (11) rotates, the lever (29) of the mechanical lock (11) abuts against the tail rod.