Lock cylinder and lock

By designing a switchable Type-C male connector structure in the lock cylinder, the inconvenience of needing to connect a data cable to the lock and the problem of easy damage to the Type-C male connector are solved, achieving the effects of convenient unlocking and extended lock cylinder life.

CN224300596UActive Publication Date: 2026-05-29ZHUHAI UNITECH POWER TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
ZHUHAI UNITECH POWER TECHNOLOGY CO LTD
Filing Date
2025-06-19
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing locks require an additional data cable to unlock when powered by the Type-C interface, which is inconvenient and the Type-C male connector is easily damaged.

Method used

Design a lock cylinder with a Type-C male connector that can switch between a used position and an unused position. The used position is exposed for easy connection to a mobile phone, while the unused position is hidden. The accuracy and reliability of the switching are ensured by a pivot and a flexible limiter. The combination of a magnetic component and a plug improves installation reliability and lifespan.

Benefits of technology

It enables convenient unlocking without the need for an additional data cable, reduces the risk of damage to the Type-C male connector, and improves the lifespan of the lock cylinder and the ease of unlocking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224300596U_ABST
    Figure CN224300596U_ABST
Patent Text Reader

Abstract

The application provides a lock cylinder and a lock. The lock cylinder comprises a lock cylinder, a driving assembly, a locking piece and a Type-C module. The lock cylinder has a first end in a first direction. The driving assembly is arranged in the lock cylinder. The locking piece is connected with the driving assembly, and the driving assembly is used for driving the locking piece to rotate from a locking position to an unlocking position. The Type-C module comprises a Type-C male head and a base. The Type-C male head is electrically connected with the driving assembly, the Type-C male head is mounted on the base, and the base is rotatably mounted in the lock cylinder, so that the Type-C male head can be switched between a use position and a non-use position. In the use position, the Type-C male head is exposed from the first end; in the non-use position, the Type-C male head is hidden. The lock cylinder can reduce the risk of damage to the Type-C male head, and is beneficial to improve the service life of the lock cylinder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of lock technology, and more specifically, to a lock cylinder and a lock. Background Technology

[0002] Type-C interface is currently the mainstream power supply interface mode. In the field of locks, the Type-C female connector is often placed at the bottom of the lock or in other hidden locations. Users can use a power bank or mobile phone to power the lock and unlock it by connecting a data cable. However, it is very inconvenient to carry the data cable when operating.

[0003] Therefore, how to improve the convenience of unlocking locks by powering the lock cylinder through the Type-C interface is a technical problem that urgently needs to be solved. Utility Model Content

[0004] This application provides a lock cylinder and lock, which can improve the convenience of unlocking and extend the life of the lock cylinder.

[0005] This application is achieved through the following technical solution:

[0006] In a first aspect, this application provides a lock cylinder, which includes a lock cylinder body, a drive assembly, a locking member, and a Type-C module. The lock cylinder body has a first end in a first direction. The drive assembly is disposed within the lock cylinder body. The locking member is connected to the drive assembly, which drives the locking member to rotate from a locked position to an unlocked position. The Type-C module includes a Type-C male connector and a base. The Type-C male connector is electrically connected to the drive assembly and is mounted on the base. The base is rotatably mounted within the lock cylinder body about a first axis, allowing the Type-C male connector to switch between a used position and an unused position. The first axis extends along a second direction, which is perpendicular to the first direction. In the used position, the Type-C male connector is exposed from the first end; in the unused position, the Type-C male connector is hidden.

[0007] The technical solution of this application embodiment connects directly to a mobile phone via a Type-C male connector to power the drive component. Simultaneously, a confirmation command via the mobile phone causes the drive component to rotate the locking element from the locked position to the unlocked position, thereby unlocking the lock. This eliminates the need for an additional data cable, significantly improving unlocking convenience. Furthermore, the Type-C male connector can switch between a used position and a non-used position. In the used position, the Type-C male connector is exposed at its first end for easy connection to the mobile phone. In the non-used position, the Type-C male connector is hidden, reducing the probability of interference between the Type-C male connector and external objects, thus lowering the risk of damage and extending the lifespan of the lock cylinder.

[0008] In some embodiments, in the usage position, the center axis of the Type-C male connector is parallel to the first direction; in the non-use position, the center axis of the Type-C male connector is perpendicular to the first direction.

[0009] In the technical solution of this application embodiment, in the usage position, the central axis of the Type-C male connector is parallel to the first direction, that is, the Type-C male connector faces the first end and protrudes from the first end to facilitate connection with a mobile phone; in the non-use position, the central axis of the Type-C male connector is perpendicular to the first direction, that is, the orientation of the Type-C male connector is perpendicular to the first direction, thereby preventing the Type-C male connector from protruding from the first end, reducing the risk of damage to the Type-C male connector, and helping to improve the service life of the lock cylinder.

[0010] In some embodiments, the lock cylinder has a first cavity, a base disposed within the first cavity, the first cavity having a first opening in a first direction, and a second opening in a third direction, the first direction, the second direction, and the third direction being perpendicular to each other. In the usage position, the Type-C male connector extends from the first opening; in the non-use position, the Type-C male connector extends from the second opening.

[0011] The technical solution of this application embodiment provides a first opening in a first direction through a first cavity, allowing the Type-C male connector to extend from the first opening in the usage position for connection to a mobile phone. A second opening in a third direction through the first cavity allows the Type-C male connector to extend from the second opening in the non-use position, preventing it from being exposed from the first end, reducing the risk of damage to the Type-C male connector, and thus improving the lifespan of the lock cylinder.

[0012] In some embodiments, the lock cylinder further includes a pivot, and the base is installed inside the lock cylinder via the pivot, with the first axis being the central axis of the pivot.

[0013] The technical solution of this application embodiment installs the base inside the lock cylinder by setting a rotating shaft, thereby enabling the base and the lock cylinder to rotate and cooperate, thereby driving the Type-C male connector to switch between the used position and the non-used position, reducing the risk of damage to the Type-C male connector and improving the service life of the lock cylinder.

[0014] In some embodiments, the lock cylinder further includes an elastic limiting member, and the lock cylinder is provided with a first limiting hole and a second limiting hole. The elastic limiting member is connected to the base. In the use position, the elastic limiting member engages with the first limiting hole; in the non-use position, the elastic limiting member engages with the second limiting hole.

[0015] The technical solution of this application embodiment, by setting an elastic limiting member to cooperate with the first limiting hole and the second limiting hole, allows the elastic limiting member to cooperate with the first limiting hole when in the use position, and the elastic limiting member to cooperate with the second limiting hole when in the non-use position. This enables the user to confirm whether the Type-C module has rotated into place through the feedback when the elastic limiting member cooperates with the first or second limiting hole when switching between the use position and the non-use position, which helps to improve the accuracy of the Type-C module switching between the use position and the non-use position.

[0016] In some embodiments, a portion of the Type-C male connector is housed within a base, and the Type-C module further includes a plug connected to the base to prevent the Type-C male connector from detaching from the base.

[0017] The technical solution of this application embodiment restricts the Type-C male connector by plugging it, which helps to improve the reliability of the Type-C male connector being installed on the base.

[0018] In some embodiments, the locking element includes a turntable and a protrusion, the turntable being connected to a drive assembly, and the protrusion being disposed on the turntable and offset from the center of the turntable.

[0019] The technical solution of this application embodiment connects to a turntable via a drive component, and the turntable drives the protruding post to move from the locked position to the unlocked position, which helps to improve the convenience of unlocking.

[0020] In some embodiments, the lock cylinder further includes an elastic element, one end of which is connected to a rotary disc and the other end to the lock cylinder. The elastic element is used to drive the locking element from the unlocked position back to the locked position.

[0021] The technical solution of this application embodiment connects the turntable and the lock cylinder through an elastic element. When the drive assembly drives the turntable to move the protrusion from the locked position to the unlocked position, the elastic element deforms. By resetting the elastic element, the drive turntable moves the protrusion from the unlocked position to the locked position, which improves the convenience of locking.

[0022] In some embodiments, the lock cylinder further includes a lock cover. The lock cover is connected to a second end of the lock cylinder, and the second end and the first end are disposed opposite each other in a first direction. The lock cover has an arc-shaped groove, and a protrusion is disposed within the arc-shaped groove. When the locking member rotates, the protrusion moves along the arc-shaped groove.

[0023] The technical solution of this application embodiment, by setting the protruding post in the arc-shaped groove of the lock cover, allows the protruding post to move along the arc-shaped groove when the locking member rotates. The arc-shaped groove guides the movement of the protruding post, which helps to improve the stability of the movement of the protruding post, thereby improving the reliability of unlocking and locking.

[0024] In some embodiments, the lock cover further includes a limiting groove communicating with an arc-shaped groove, and the protrusion has a receiving hole. The lock cylinder also includes a first magnetic element and a second magnetic element. The first magnetic element is disposed on the lock cover. The second magnetic element is disposed within the receiving hole. When the locking member is in the locked position, the second magnetic element and the first magnetic element repel each other, and the entire second magnetic element is located within the receiving hole; when the locking member is in the unlocked position, the second magnetic element and the first magnetic element attract each other, a portion of the second magnetic element is located within the receiving hole, and the other portion is inserted into the limiting groove, so that the locking member is limited to the unlocked position.

[0025] The technical solution of this application embodiment, by setting a first magnetic component and a second magnetic component, such that when in the unlocked position, the second magnetic component is attracted by the first magnetic component and inserted into the limiting groove from the receiving hole, and the second magnetic component is limited by the limiting groove, so that the locking component is limited in the unlocked position, which facilitates the user to perform subsequent operations after unlocking and improves the convenience of use.

[0026] Secondly, this application provides a lock, which includes a lock housing and a lock cylinder as described in any embodiment of the first aspect. The lock housing has a first end face with a groove. The lock cylinder is disposed within the lock housing; in the use position, the Type-C male connector protrudes from the first end face; in the non-use position, the Type-C male connector is retracted into the groove.

[0027] In the technical solution of this application embodiment, the Type-C male connector protrudes from the first end face in the usage position to facilitate connection with a mobile phone. In the non-use position, the Type-C male connector is retracted into a groove, reducing the probability of interference between the Type-C male connector and external objects, thereby reducing the risk of damage to the Type-C male connector and improving the service life of the lock cylinder.

[0028] In some embodiments, the lock is a padlock, and the lock further includes a locking pin having a first position and a second position, and the locking pin having a groove. When the locking member is in the locked position, a protrusion inserts into the groove to retain the locking pin in the first position. When the locking member is in the unlocked position, the protrusion disengages from the groove. When the locking pin moves from the first position to the second position, the locking pin pushes a second magnetic member out of the limiting groove.

[0029] The technical solution of this application embodiment, by providing a slot on the locking pin, allows the protrusion to engage with the slot in the locked position, thus limiting the locking pin to a first position and maintaining the lock's closed state, thereby improving the lock's security. In the unlocked position, the protrusion engages with the slot, facilitating the unlocking of the lock. When the locking pin moves from the first position to the second position, it pushes the second magnetic component out of the limiting groove, allowing the elastic component to drive the turntable to move the protrusion from the unlocked position to the locked position, thus improving the ease of locking.

[0030] In some embodiments, the lock is a cabinet lock, a handle lock, or a cabinet lock.

[0031] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0032] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 This is a schematic diagram illustrating the usage location of the Type-C male connector in some embodiments of this application;

[0034] Figure 2 This is a schematic diagram showing the non-use location of the Type-C male connector provided in some embodiments of this application;

[0035] Figure 3 This is an exploded view of the lock cylinder structure provided in some embodiments of this application;

[0036] Figure 4 This is a schematic diagram of the structure of the locking element provided in some embodiments of this application;

[0037] Figure 5 A schematic diagram showing the locking position of the locking element in a lock cylinder according to some embodiments of this application;

[0038] Figure 6 A schematic diagram illustrating the unlocking position of the locking element in a lock cylinder according to some embodiments of this application;

[0039] Figure 7 This is a schematic diagram of the structure of a padlock provided in some embodiments of this application;

[0040] Figure 8 A schematic diagram illustrating the locking position of the locking element in a padlock provided in some embodiments of this application;

[0041] Figure 9 for Figure 8 Enlarged view of point A in the middle;

[0042] Figure 10 A schematic diagram illustrating the unlocking position of the locking element in a padlock provided in some embodiments of this application;

[0043] Figure 11 for Figure 10 Enlarged view of point B in the middle;

[0044] Figure 12A schematic diagram illustrating the movement of the locking pin from a first position to a second position in a padlock, provided for some embodiments of this application;

[0045] Figure 13 for Figure 12 Enlarged view of point C in the middle;

[0046] Figure 14 This is a schematic diagram of the structure of the cabinet lock provided in some embodiments of this application;

[0047] Figure 15 This application provides schematic diagrams of the handle lock structure for some embodiments.

[0048] Figure 16 The diagram shows the structure of a cabinet lock provided in some embodiments of this application.

[0049] Icons: 1-Lock cylinder; 10-Lock cylinder; 11-First end; 12-First cavity; 121-First opening; 122-Second opening; 13-First limiting hole; 14-Second limiting hole; 15-Second end; 16-First mounting hole; 17-Second cavity; 18-First sub-lock cylinder; 19-Second sub-lock cylinder; 20-Drive assembly; 21-Motor; 22-Circuit control module; 30-Locking element; 31-Turntable; 32-Protruding post; 321-Receiving hole; 40-Type-C module; 41-Type-C male connector; 411-Connector; 412-Body; 42-Base; 421-Second mounting hole; 422-Third mounting hole; 43-Plug; 431-Fourth mounting hole; 432-Fifth mounting hole; 50-Spindle; 60-Elastic limiting element; 61-Spring; 62-Ball; 70-First elastic element; 80-Lock cover; 81-Arc groove; 82-Limiting groove; 90-First magnetic element; 91-Second magnetic element; 100-Lock; 110-Lock case; 110A-First end face; 110B-Groove; 200-Padlock; 210-Lock pin; 210A-Slot; 220-Lock hook; 220A-Lock pin groove; 220B-Connecting part; 220C-Pull-out part; 230-Second elastic element; 240-Third elastic element; 300-Rack lock; 400-Handle lock; 500-Rack lock; a-First axis; b-Center axis of Type-C male connector; X-First direction; Y-Second direction; Z-Third direction. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0051] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used in the description of this application is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms "comprising" and "having," and any variations thereof, in the description, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the description, claims, or accompanying drawings of this application are used to distinguish different objects, not to describe a specific order or hierarchy.

[0052] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0053] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "attachment" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0054] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, in this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0055] In this application, "multiple" refers to two or more (including two), and similarly, "multiple groups" refers to two or more (including two), and "multiple pieces" refers to two or more (including two).

[0056] Please refer to Figures 1 to 3 , Figure 1 This is a schematic diagram illustrating the usage location of the Type-C male connector in some embodiments of this application. Figure 2 This is a schematic diagram showing the non-use location of a Type-C male connector provided in some embodiments of this application. Figure 3This is an exploded view of the structure of a lock cylinder provided in some embodiments of this application. Embodiments of this application provide a lock cylinder 1, which includes a lock cylinder 10, a drive assembly 20, a locking member 30, and a Type-C module 40. The lock cylinder 10 has a first end 11 in a first direction X. The drive assembly 20 is disposed within the lock cylinder 10. The locking member 30 is connected to the drive assembly 20, and the drive assembly 20 drives the locking member 30 to rotate from a locked position to an unlocked position. The Type-C module 40 includes a Type-C male connector 41 and a base 42. The Type-C male connector 41 is electrically connected to the drive assembly 20 and is mounted on the base 42. The base 42 is rotatably mounted within the lock cylinder 10 about a first axis a, allowing the Type-C male connector 41 to switch between a used position and an unused position. The first axis a extends along a second direction Y, which is perpendicular to the first direction X. In the used position, the Type-C male connector 41 is exposed from the first end 11; in the unused position, the Type-C male connector 41 is hidden.

[0057] In some embodiments, the lock cylinder 10 may be made of metal, plastic, or other materials. The lock cylinder 10 typically has a receiving space, and the drive assembly 20 is disposed within the receiving space.

[0058] In some embodiments, the first direction can be represented by the direction indicated by the letter X in the figure. The lock cylinder 10 can be a hollow cylinder, and the first direction X can be parallel to the axial direction of the lock cylinder 10.

[0059] The structure of lock 100 can be referred to Figures 8 to 13 , Figure 8 This is a schematic diagram showing the locking position of the locking element in a padlock provided in some embodiments of this application. Figure 9 for Figure 8 Enlarged view of point A in the middle. Figure 10 This is a schematic diagram showing the unlocking position of the locking element in a padlock provided in some embodiments of this application. Figure 11 for Figure 10 Enlarged view at point B in the middle. Figure 12 This is a schematic diagram illustrating the movement of the locking pin from a first position to a second position in a padlock, provided in some embodiments of this application. Figure 13 for Figure 12 Enlarged view at point C. In some embodiments, the lock 100 is typically installed on an installation interface, which can be a wall, door, or other installation interface. The installation interface has an opening, and the lock cylinder 1 is disposed within the lock housing 110 of the lock 100. The lock housing 110 has a groove 110B, allowing the user to operate the lock cylinder 1 through the opening and the groove 110B. The lock cylinder 1 can be disposed within the lock housing 110 along a first direction X, and the first end 11 of the lock cylinder 10 in the first direction X is the end facing the groove 110B.

[0060] In some embodiments, the drive component 20 may include a motor 21 and a circuit control module 22, and the Type-C male connector 41 may be directly connected to the data port of a mobile phone. When the Type-C male connector 41 is connected to the mobile phone, it can supply power to the motor 21 and receive information through the mobile phone. Upon receiving unlocking information, the Type-C male connector 41 transmits the unlocking information to the circuit control module 22, which drives the motor 21 to rotate the locking member 30 from the locked position to the unlocked position, thereby unlocking the device. The connection between the Type-C male connector 41 and the circuit control module 22 can be via a wire harness connection, a flexible circuit board connection, or the like.

[0061] In some embodiments, the Type-C male connector 41 can also be directly connected to the discharge port of a power bank to supply power to the motor 21.

[0062] It should be noted that in addition to the Type-C male connector 41, it can also be used with Lightning male connectors, Micro-USB, etc.

[0063] In some embodiments, the locking member 30 may be movably connected to the locking pin 210. When the locking member 30 abuts against the locking pin 210, the locking pin 210 cannot move, thereby placing the lock 100 in a locked state, i.e., the locking member 30 is in the locked position. When the locking member 30 is separated from the locking pin 210, the locking pin 210 can move, thereby placing the lock 100 in an unlocked state, i.e., the locking member 30 is in the unlocked position.

[0064] Because the Type-C male connector 41 has a larger length and width ratio than the Type-C female connector, it is more susceptible to damage. Therefore, to facilitate connecting the Type-C male connector 41 to a mobile phone while reducing the risk of damage, in some embodiments, the Type-C male connector 41 can switch between a used position and a non-used position. When connecting the phone, the Type-C male connector 41 is in the used position, protruding from the first end 11, extending out of the groove 110B of the lock housing 110, and continuing to protrude from the opening of the mounting interface. When not in use, the Type-C male connector 41 is in the non-used position and is hidden. The Type-C male connector 41 can be completely hidden inside the lock cylinder 10, or it can be partially hidden inside the lock cylinder 10 and partially hidden in the groove 110B of the lock case 110. That is, when the Type-C male connector 41 is hidden, it is not exposed from the opening of the installation interface.

[0065] To enable the Type-C male connector 41 to switch between the used and non-used positions, the Type-C male connector 41 is rotated to connect with the lock cylinder 10. When the Type-C male connector 41 is needed, it is rotated to expose the opening of the installation interface. When the Type-C male connector 41 is not needed, it is rotated back into the installation interface.

[0066] Typically, the Type-C male connector 41 is small in size, making it difficult to rotatably connect the Type-C male connector 41 to the lock cylinder 10 by installing other components (such as hinges, pivots, etc.). Therefore, in some embodiments, the Type-C male connector 41 is mounted on the base 42, and the base 42 is rotatably mounted inside the lock cylinder 10 around the first axis a.

[0067] In some embodiments, the second direction can be represented by the direction indicated by the letter Y in the figure, and the first axis a extends along the second direction Y. The lock cylinder 10 can be a hollow cylinder, the first direction X can be parallel to the axial direction of the lock cylinder 10, the second direction Y can be parallel to the radial direction of the lock cylinder 10, and the first direction X and the second direction Y can be perpendicular.

[0068] In some embodiments, the first axis can be represented by the letter 'a' in the figure.

[0069] The technical solution of this application embodiment connects the Type-C male connector 41 directly to a mobile phone to power the drive component 20. Simultaneously, a confirmation command via the mobile phone causes the drive component 20 to rotate the locking member 30 from the locked position to the unlocked position, thereby unlocking the lock 100. No additional data cable is required, improving unlocking convenience. Furthermore, the Type-C male connector 41 can switch between a used position and a non-used position. In the used position, the Type-C male connector 41 is exposed from the first end 11 for easy connection to the mobile phone. In the non-used position, the Type-C male connector 41 is hidden, reducing the probability of interference between the Type-C male connector 41 and external objects, thus lowering the risk of damage to the Type-C male connector 41 and extending the service life of the lock cylinder 1.

[0070] Please refer to Figures 1 to 3 In some embodiments, in the usage position, the central axis b of the Type-C male connector is parallel to the first direction X; in the non-use position, the central axis b of the Type-C male connector is perpendicular to the first direction X.

[0071] In some embodiments, the central axis of the Type-C male connector can be represented by the letter 'b' in the figure. The Type-C male connector 41 can be a structure symmetrically arranged along its central axis. The Type-C male connector 41 can include two parts: a connector 411 and a body 412. The connector 411 can be the part that connects to the data interface of the mobile phone, and the body 412 can be the part that connects to the connector 411. In the usage position, the connector 411 and the body 412 can be arranged along a first direction X; in the non-use position, the connector 411 and the body 412 can extend along a third direction Z, wherein the third direction Z can be perpendicular to the first direction X.

[0072] In some embodiments, the third direction can be represented by the direction indicated by the letter Z in the figure. The lock cylinder 10 can be a hollow cylinder. The first direction X can be parallel to the axial direction of the lock cylinder 10, and the third direction Z can be parallel to the radial direction of the lock cylinder 10. It should be noted that the lock cylinder 10 can have multiple radial directions, wherein the first direction X, the second direction Y, and the third direction Z are perpendicular to each other.

[0073] In the technical solution of this application embodiment, in the usage position, the central axis b of the Type-C male connector is parallel to the first direction X, that is, the Type-C male connector 41 faces the first end 11 and protrudes from the first end 11 to facilitate connection with a mobile phone; in the non-use position, the central axis b of the Type-C male connector is perpendicular to the first direction X, that is, the orientation of the Type-C male connector 41 is perpendicular to the first direction X, thereby preventing the Type-C male connector 41 from protruding from the first end 11, reducing the risk of damage to the Type-C male connector 41, and helping to improve the service life of the lock cylinder 1.

[0074] Please refer to Figures 1 to 3 In some embodiments, the lock cylinder 10 has a first cavity 12, and a base 42 is disposed within the first cavity 12. The first cavity 12 has a first opening 121 in a first direction X, and a second opening 122 in a third direction Z. The first direction X, the second direction Y, and the third direction Z are perpendicular to each other. In the usage position, the Type-C male connector 41 protrudes from the first opening 121; in the non-use position, the Type-C male connector 41 protrudes from the second opening 122.

[0075] In some embodiments, the lock cylinder 10 may have a first cavity 12 and a second cavity 17, with a base 42 disposed in the first cavity 12 and a drive assembly 20 disposed in the second cavity 17.

[0076] In some embodiments, the first opening 121 and the second opening 122 can be interconnected, and the first opening 121 and the second opening 122 can be simultaneously formed on the lock cylinder 10 by milling. Taking the lock cylinder 10 as a hollow cylinder as an example, the first opening 121 is disposed at the first end 11 of the lock cylinder 10, and the second opening 122 is disposed on the outer peripheral surface of the lock cylinder 10. During processing, the first opening 121 can be formed at the first end 11, and the first opening 121 extends to the outer peripheral surface to form the second opening 122. Alternatively, during processing, the second opening 122 is formed on the outer peripheral surface, and the second opening 122 extends to the first end 11 to form the first opening 121.

[0077] In some embodiments, when in the use position, the Type-C male connector 41 extends from the first opening 121; when not in the use position, the Type-C male connector 41 extends from the second opening 122. When switching between the use position and the non-use position, the Type-C male connector 41 rotates, moving from the first opening 121 to the second opening 122, or from the second opening 122 to the first opening 121.

[0078] The technical solution of this application embodiment provides a first opening 121 in the first direction X of the first cavity 12, allowing the Type-C male connector 41 to extend from the first opening 121 in the usage position, so as to be exposed from the first end 11 and connected to the mobile phone. A second opening 122 is provided in the third direction Z of the first cavity 12, allowing the Type-C male connector 41 to extend from the second opening 122 in the non-use position, thereby preventing the Type-C male connector 41 from being exposed from the first end 11, reducing the risk of damage to the Type-C male connector 41, and thus improving the service life of the lock cylinder 1.

[0079] Please refer to Figures 1 to 3 In some embodiments, the lock cylinder 1 further includes a rotating shaft 50, and the base 42 is installed inside the lock cylinder 10 through the rotating shaft 50, with the first axis a being the central axis of the rotating shaft 50.

[0080] In some embodiments, the rotating shaft 50 can be a cylinder, and the first axis a is the central axis of the rotating shaft 50.

[0081] In some embodiments, in the second direction Y, the lock cylinder 10 may be provided with two opposing first mounting holes 16, and the base 42 may be provided with two opposing second mounting holes 421, with the first mounting holes 16 and the second mounting holes 421 corresponding to each other. Along the second direction Y, the rotating shaft 50 may be sequentially inserted through one first mounting hole 16 and one second mounting hole 421, so that it enters the first cavity 12 and extends into the base 42, and sequentially exits through another second mounting hole 421 and another first mounting hole 16, so that it enters the first cavity 12 from the base 42 and exits the first cavity 12, thereby realizing the rotational connection between the base 42 and the lock cylinder 10.

[0082] The technical solution of this application embodiment installs the base 42 into the lock cylinder 10 by setting a rotating shaft 50, so as to realize the rotational cooperation between the base 42 and the lock cylinder 10, thereby driving the Type-C male connector 41 to switch between the used position and the non-used position, reducing the risk of damage to the Type-C male connector 41 and improving the service life of the lock cylinder 1.

[0083] Please refer to Figures 1 to 3 In some embodiments, the lock cylinder 1 further includes an elastic limiting member 60, and the lock cylinder 10 is provided with a first limiting hole 13 and a second limiting hole 14. The elastic limiting member 60 is connected to the base 42. In the use position, the elastic limiting member 60 engages with the first limiting hole 13; in the non-use position, the elastic limiting member 60 engages with the second limiting hole 14.

[0084] In some embodiments, the elastic limiting member 60 may include a spring 61 and a ball 62, the spring 61 may extend along a second direction Y, and the ball 62 is disposed at one end of the spring 61 in the second direction Y.

[0085] In the second direction Y, the lock cylinder 10 is provided with a first limiting hole 13 and a second limiting hole 14. The base 42 may be provided with a third mounting hole 422. The spring 61 passes through the two third mounting holes 422, and at least a portion of the ball bearing 62 is located between the base 42 and the lock cylinder 10. In the use position, the portion of the ball bearing 62 near the base 42 is connected to the spring 61, and the portion of the ball bearing 62 away from the base 42 engages with the first limiting hole 13. In the non-use position, the portion of the ball bearing 62 near the base 42 is connected to the spring 61, and the portion of the ball bearing 62 away from the base 42 engages with the first limiting hole 13. When switching between the use and non-use positions, rotating the base 42 moves the ball bearing 62 from the first limiting hole 13 to the second limiting hole 14, or the ball bearing 62 moves from the second limiting hole 14 to the first limiting hole 13.

[0086] As the ball 62 moves between the first limiting hole 13 and the second limiting hole 14, the spring 61 is compressed, a portion of the ball 62 near the base 42 is connected to the spring 61, and a portion of the ball 62 away from the base 42 abuts against the inner wall of the lock cylinder 10.

[0087] In some embodiments, the number of ball bearings 62 can be two, with the two ball bearings 62 respectively disposed at both ends of the spring 61. The number of first limiting holes 13 can be two, with the two first limiting holes 13 disposed opposite to each other in the second direction Y. The number of second limiting holes 14 can be two, with the two second limiting holes 14 disposed opposite to each other in the second direction Y. The number of third mounting holes 422 can be two, with the two third mounting holes 422 disposed opposite to each other in the second direction Y.

[0088] The technical solution of this application embodiment, by setting an elastic limiting member 60 to cooperate with the first limiting hole 13 and the second limiting hole 14, allows the elastic limiting member 60 to cooperate with the first limiting hole 13 when in the use position, and to cooperate with the second limiting hole 14 when in the non-use position. This enables the user to confirm whether the Type-C module 40 has rotated into place through the feedback when the elastic limiting member 60 cooperates with the first limiting hole 13 or the second limiting hole 14 when switching between the use position and the non-use position, which helps to improve the accuracy of switching the Type-C module 40 between the use position and the non-use position.

[0089] Please refer to Figures 1 to 3 In some embodiments, a portion of the Type-C male connector 41 is housed within the base 42, and the Type-C module 40 also includes a plug 43 connected to the base 42 to prevent the Type-C male connector 41 from detaching from the base 42.

[0090] As described in the above embodiments, the Type-C male connector 41 may include two parts: a connector 411 and a body 412. The connector 411 may be the part that connects to the data interface of a mobile phone, and the body 412 may be the part that connects to the connector 411. In some embodiments, the base 42 may have a receiving space, and the body 412 may be received within the receiving space of the base 42. In the first direction X, both ends of the base 42 may be provided with openings communicating with the receiving space. The connector 411 may extend from the opening of the base 42 facing the first end 11, and the radial dimension of the body 412 may be greater than the inner diameter of the opening extending from the connector 411. A plug 43 may be disposed within the receiving space of the base 42 and block the opening of the base 42 facing away from the first end 11.

[0091] In some embodiments, the plug 43 may abut against one end of the body 412, and the other end of the body 412 may abut against the inner wall of the base 42.

[0092] In some embodiments, the plug 43 can be disposed in the receiving space of the base 42. Correspondingly, when the base 42 and the lock cylinder 10 are connected by the rotating shaft 50, the plug 43 can be provided with a fourth mounting hole 431 in the second direction Y that corresponds to the first mounting hole 16 and the second mounting hole 421. The rotating shaft 50 passes through the first mounting hole 16, the second mounting hole 421 and the fourth mounting hole 431.

[0093] In some embodiments, the plug 43 may be disposed within the receiving space of the base 42. Correspondingly, when the base 42 is provided with an elastic limiting member 60, the plug 43 may be provided with a fifth mounting hole 432 corresponding to the third mounting hole 422 in the second direction Y. The spring 61 may pass through the third mounting hole 422 and the fifth mounting hole 432.

[0094] The technical solution of this application embodiment restricts the Type-C male connector 41 by plug 43, which helps to improve the reliability of the Type-C male connector 41 being installed on the base 42.

[0095] Please refer to Figures 1 to 3 and refer to Figures 4 to 6 , Figure 4 This is a schematic diagram of the structure of the locking element provided in some embodiments of this application. Figure 5 This is a schematic diagram showing the locking position of the locking element in a lock cylinder according to some embodiments of this application. Figure 6 This is a schematic diagram showing the unlocking position of the locking member in a lock cylinder according to some embodiments of this application. In some embodiments, the locking member 30 includes a turntable 31 and a protrusion 32. The turntable 31 is connected to the drive assembly 20, and the protrusion 32 is disposed on the turntable 31 and offset from the center of the turntable 31.

[0096] In some embodiments, with the first direction X as the projection direction, the orthographic projection of the turntable 31 can be a circle, and the protruding post 32 can be protruding from the end of the turntable 31 in the first direction X that is away from the drive assembly 20.

[0097] In some embodiments, the turntable 31 may have a central hole at its center, and the motor 21 of the drive assembly 20 may have an output shaft located in the central hole, which drives the turntable 31 to rotate.

[0098] In some embodiments, with the first direction X as the projection direction, the orthographic projection of the protrusion 32 does not overlap with the orthographic projection of the center of the turntable 31, so that the position of the protrusion 32 can change when the turntable 31 rotates.

[0099] In some embodiments, the locking member 30 can be movably connected to the locking pin 210. In the locked position, the protrusion 32 abuts against the locking pin 210, preventing the locking pin 210 from moving, thus placing the lock 100 in a locked state. The motor 21 can drive the turntable 31 to rotate, thereby moving the protrusion 32 from the locked position to the unlocked position. At this point, when the protrusion 32 separates from the locking pin 210, the locking pin 210 can move, thus placing the lock 100 in an unlocked state.

[0100] The technical solution of this application embodiment connects the drive component 20 to the turntable 31, and the turntable 31 drives the protrusion 32 to move from the locked position to the unlocked position, which helps to improve the convenience of unlocking.

[0101] Please refer to Figures 3 to 6 In some embodiments, the lock cylinder 1 further includes a first elastic element 70, one end of which is connected to the turntable 31 and the other end of which is connected to the lock cylinder 10. The first elastic element 70 is used to drive the locking element 30 from the unlocked position back to the locked position.

[0102] In some embodiments, the first elastic element 70 may be a torsion spring, a spring 61, etc.

[0103] In some embodiments, the first elastic element 70 is in its normal state when in the locked position. After the drive assembly 20 drives the turntable 31 to rotate, moving the protrusion 32 from the locked position to the unlocked position, the motor 21 stops working, and the first elastic element 70 is compressed or stretched. When it is necessary to move the protrusion 32 from the unlocked position to the locked position, the first elastic element 70 resets, and the reset elastic force drives the protrusion 32 from the unlocked position to the locked position.

[0104] The technical solution of this application embodiment connects the turntable 31 and the lock cylinder 10 through a first elastic element 70. When the drive assembly 20 drives the turntable 31 to move the protrusion 32 from the locked position to the unlocked position, the first elastic element 70 deforms. By resetting the first elastic element 70, the drive turntable 31 moves the protrusion 32 from the unlocked position to the locked position, which helps to improve the convenience of locking.

[0105] Please refer to Figures 3 to 6 In some embodiments, the lock cylinder 1 further includes a lock cover 80. The lock cover 80 is connected to the second end 15 of the lock cylinder 10, and the second end 15 and the first end 11 are disposed opposite each other in the first direction X. The lock cover 80 is provided with an arc-shaped groove 81, and a protrusion 32 is disposed in the arc-shaped groove 81. When the locking member 30 rotates, the protrusion 32 moves along the arc-shaped groove 81.

[0106] In some embodiments, the lock cylinder 10 may include a first sub-lock cylinder 18 and a second sub-lock cylinder 19. The first sub-lock cylinder 18 has a first cavity 12 for accommodating a Type-C module 40, and the second sub-lock cylinder 19 has a second cavity 17 for accommodating a drive assembly 20. The first sub-lock cylinder 18 and the second sub-lock cylinder 19 are arranged along a first direction X and are bolted together.

[0107] The first end 11 of the lock 10 is the end of the first sub-lock 18 that is away from the second sub-lock 19, and the second end 15 is the end of the second sub-lock 19 that is away from the first sub-lock 18.

[0108] The second sub-lock cylinder 19 can have openings at both ends in the first direction X. The opening at the end facing the first sub-lock cylinder 18 is connected to the first cavity 12, and the opening at the end away from the first sub-lock cylinder 18 is located at the second end 15 and is closed by the lock cover 80.

[0109] In some embodiments, the lock cover 80 may be provided with an arc-shaped groove 81, which may extend through both ends of the lock cover 80 in the first direction X. The protrusion 32 extends from one end of the arc-shaped groove 81 facing the drive assembly 20 and passes through the arc-shaped groove 81, with a portion located at one end of the arc-shaped groove 81 away from the drive assembly 20. The portion located at one end of the arc-shaped groove 81 away from the drive assembly 20 can abut against the locking pin 210.

[0110] In some embodiments, when the drive assembly 20 drives the turntable 31 to rotate, the protrusion 32 is driven by the turntable 31, causing the protrusion 32 to move along the arc groove 81.

[0111] In some embodiments, in the unlocked position, the protrusion 32 may be located at one end of the arcuate groove 81. In the locked position, the protrusion 32 may be located at the other end of the arcuate groove 81.

[0112] The technical solution of this application embodiment is that by setting the protruding post 32 in the arc-shaped groove 81 of the lock cover 80, the protruding post 32 moves along the arc-shaped groove 81 when the locking member 30 rotates. The arc-shaped groove 81 guides the movement of the protruding post 32, which helps to improve the stability of the movement of the protruding post 32, thereby improving the reliability of unlocking and locking.

[0113] Please refer to Figures 3 to 6In some embodiments, the lock cover 80 is further provided with a limiting groove 82, which communicates with the arc-shaped groove 81, and the protrusion 32 is provided with a receiving hole 321. The lock cylinder 1 also includes a first magnetic element 90 and a second magnetic element 91. The first magnetic element 90 is disposed on the lock cover 80. The second magnetic element 91 is disposed in the receiving hole 321. When the locking member 30 is in the locked position, the second magnetic element 91 and the first magnetic element 90 repel each other, and the second magnetic element 91 is entirely located in the receiving hole 321; when the locking member 30 is in the unlocked position, the second magnetic element 91 and the first magnetic element 90 attract each other, a part of the second magnetic element 91 is located in the receiving hole 321, and the other part is inserted into the limiting groove 82, so that the locking member 30 is limited to the unlocked position.

[0114] In some embodiments, the protrusion 32 can be a cylinder, protruding from the turntable 31, and the receiving hole 321 is disposed on the outer peripheral surface of the protrusion 32, that is, the extending direction of the receiving hole 321 is parallel to the radial direction of the protrusion 32.

[0115] In some embodiments, the second magnetic element 91 is movably disposed in the receiving hole 321, and the first magnetic element 90 is fixedly disposed in the lock cover 80. In the locked position, due to the mutual repulsion between the first magnetic element 90 and the second magnetic element 91, the second magnetic element 91 is entirely located within the receiving hole 321. When the drive assembly 20 drives the turntable 31, the turntable 31 can move the protrusion 32 along the arcuate groove 81 to reach the unlocked position. In the unlocked position, the first magnetic element 90 and the second magnetic element 91 attract each other, causing the second magnetic element 91 to be drawn out of the receiving hole 321. A portion of the second magnetic element 91 remains within the receiving hole 321, while another portion inserts into the limiting groove 82 and abuts against the limiting groove 82. This prevents the protrusion 32 from moving within the arcuate groove 81, thus keeping the protrusion 32 in the unlocked position.

[0116] In some embodiments, the lock cover 80 may be provided with a receiving groove, the first magnetic element 90 is disposed in the receiving groove, and the arc-shaped groove 81 may be disposed around the center of the receiving groove.

[0117] In some embodiments, the magnetism at both ends of the first magnetic element 90 may be opposite. In the locked position, the second magnetic element 91 faces one end of the first magnetic element 90, such that the first magnetic element 90 and the second magnetic element 91 have the same magnetism and repel each other, so that the second magnetic element 91 is repelled and completely located within the receiving hole 321. In the unlocked position, the second magnetic element 91 faces the other end of the first magnetic element 90, such that the first magnetic element 90 and the second magnetic element 91 have opposite magnetism and attract each other, so that the second magnetic element 91 is attracted and completely extends out of the receiving hole 321, allowing a portion of the second magnetic element 91 to insert into the limiting groove 82.

[0118] In some embodiments, in the locked position, the protrusion 32 may be located at one end of the arcuate groove 81; in the locked position, the protrusion 32 may be located at the other end of the arcuate groove 81, the limiting groove 82 may be connected to the other end of the arcuate groove 81, and the limiting groove 82 may be disposed on the inner wall surface of the arcuate groove 81 and extend in a direction close to the first magnetic element 90.

[0119] The protruding post 32 switches between the unlocked position and the locked position, that is, the protruding post 32 moves between the two ends of the arc groove 81.

[0120] The technical solution of this application embodiment, by setting a first magnetic element 90 and a second magnetic element 91, such that when in the unlocked position, the second magnetic element 91 is attracted by the first magnetic element 90 and inserted into the limiting groove 82 from the receiving hole 321. The second magnetic element 91 is limited by the limiting groove 82, so that the locking element 30 is limited in the unlocked position, which facilitates the user to perform subsequent operations after unlocking and improves the convenience of user use.

[0121] Please refer to Figures 8 to 13 and refer to Figure 7 , Figure 7 This is a schematic diagram of the structure of a padlock provided in some embodiments of this application. Embodiments of this application provide a lock 100, which includes a lock housing 110 and a lock cylinder 1 as described in any of the above embodiments. The lock housing 110 has a first end face 110A, on which a groove 110B is provided. The lock cylinder 1 is disposed within the lock housing 110. In the use position, a Type-C male connector 41 protrudes from the first end face 110A; in the non-use position, the Type-C male connector 41 is retracted into the groove 110B.

[0122] In some embodiments, in the first direction X, the lock housing 110 has a first end face 110A, which is the end face of the lock housing 110 facing the first end 11.

[0123] In some embodiments, the lock 100 is typically mounted on a mounting interface having an opening. The lock cylinder 1 is disposed within the lock housing 110 of the lock 100. A groove 110B is provided on the first end face 110A, which communicates with the opening, allowing the user to operate the lock cylinder 1 through the opening and the groove 110B. In the use position, the Type-C male connector 41 extends from the lock cylinder 10 and protrudes from the first end face 110A, thus being exposed through the opening for user use. In the non-use position, the Type-C male connector 41 is retracted into the groove 110B, reducing the risk of damage to the Type-C male connector 41 through the lock housing 110.

[0124] In the technical solution of this application embodiment, in the usage position, the Type-C male connector 41 protrudes from the first end face 110A to facilitate connection with a mobile phone. In the non-use position, the Type-C male connector 41 is housed in the groove 110B, reducing the probability of interference between the Type-C male connector 41 and external objects, thereby reducing the risk of damage to the Type-C male connector 41 and improving the service life of the lock cylinder 1.

[0125] Please refer to Figures 8 to 13 In some embodiments, the lock 100 is a padlock 200, and the lock 100 further includes a locking pin 210, which has a first position and a second position, and a slot 210A. When the locking member 30 is in the locked position, the protrusion 32 is inserted into the slot 210A to limit the locking pin 210 to the first position. When the locking member 30 is in the unlocked position, the protrusion 32 is disengaged from the slot 210A. When the locking pin 210 moves from the first position to the second position, the locking pin 210 pushes the second magnetic member 91 out of the limiting groove 82.

[0126] In some embodiments, the lock 100 is a padlock 200, which may include a locking pin 210 and a locking hook 220, wherein the locking hook 220 is provided with a locking pin groove 220A that cooperates with the locking pin 210. When the locking pin 210 is in a first position, one end of the locking pin 210 extends into the locking pin groove 220A, and when the locking pin 210 is in a second position, one end of the locking pin 210 extends into the locking pin groove 220A.

[0127] In the locked position, the protrusion 32 is inserted into the slot 210A, and one end of the locking pin 210 engages with the locking pin slot 220A. In the unlocked position, the protrusion 32 is disengaged from the slot 210A.

[0128] The following uses padlock 200 as an example to explain in detail the entire unlocking and locking process.

[0129] The locking hook 220 is U-shaped and includes a connecting portion 220B and a pull-out portion 220C connected to each other. The pull-out portion 220C is movably engaged with the lock housing 110. When locked, the pull-out portion 220C is located inside the lock housing 110; when unlocked, the pull-out portion 220C is pulled out of the lock housing 110. One end of the connecting portion 220B is connected to the lock housing 110, and the other end is connected to the pull-out portion 220C. The side of the connecting portion 220B opposite to the pull-out portion 220C is connected to the third elastic member 240. A locking pin groove 220A is provided on the circumferential surface of the connecting portion 220B. One end of the locking pin 210 engages with the connecting portion 220B, and the other end is connected to the second elastic member 230.

[0130] When locked, the protrusion 32 is inserted into the slot 210A, and the locking pin 210 cannot move. The locking pin 210 cooperates with the locking pin groove 220A, making the locking hook 220 unable to move. The second elastic element 230 and the third elastic element 240 are in a compressed state.

[0131] When unlocking is required, the Type-C module 40 is rotated, and the Type-C male connector 41 extends from the groove 110B through the first opening 121. The user connects the Type-C male connector 41 with their mobile phone and confirms the unlock information on the phone. At this time, the drive component 20 drives the turntable 31 to rotate, and the protrusion 32 moves from the locked position to the unlocked position. The first elastic element 70 is stretched, and the protrusion 32 separates from the slot 210A of the locking pin 210, allowing the locking pin 210 to move. At this time, the second elastic element 230 resets and pushes the locking pin 210 towards the connecting part 220B. The third elastic element 240 resets and pushes the connecting part 220B outward from the lock housing 110, separating the locking pin 210 from the locking pin groove 220A. The connecting part 220B and the pull-out part 220C move together, and the pull-out part 220C is ejected from the lock housing 110, thus unlocking the device. Furthermore, the second magnetic element 91 is attracted by the first magnetic element 90, extends out of the receiving hole 321, and is partially restricted in the limiting groove 82, so that the protrusion 32 cannot return from the unlocked position to the locked position.

[0132] When locking is required, the locking hook 220 is pressed into the lock housing 110 by external force, causing the pull-out part 220C and the connecting part 220B to enter the lock housing 110 together, compressing the third elastic member 240. During this movement, the connecting part 220B abuts against the locking pin 210, pushing the locking pin 210 towards the second elastic member 230, compressing the second elastic member 230 until the locking pin groove 220A engages with the locking pin 210, and the locking pin 210 pushes the second magnetic member 91 back from the limiting groove 82 into the receiving hole 321 of the protrusion 32. At this point, the protrusion 32 can move along the arc-shaped groove 81, and the elastic force of the first elastic member 70 resetting causes the protrusion 32 to move from the unlocked position to the locked position, thus completing the locking process.

[0133] The technical solution of this application embodiment, by providing a slot 210A on the locking pin 210, allows the protrusion 32 to cooperate with the slot 210A in the locked position, thus limiting the locking pin 210 to a first position and maintaining the locking of the lock 100, thereby improving the security of the lock 100. In the unlocked position, the protrusion 32 engages with the slot 210A, facilitating the unlocking of the lock 100. When the locking pin 210 moves from the first position to the second position, it can push the second magnetic element 91 out of the limiting groove 82, thereby allowing the first elastic element 70 to drive the turntable 31 to move the protrusion 32 from the unlocked position to the locked position, thus improving the convenience of locking.

[0134] In some embodiments, the lock 100 is a cabinet lock 300, a handle lock 400, or a cabinet lock 500.

[0135] Please refer to Figure 14 , Figure 14This is a schematic diagram of the structure of a rack lock provided in some embodiments of this application. In some embodiments, the lock 100 can also be a rack lock 300, which can be applied to larger equipment scenarios such as server racks, network racks, power distribution cabinets, and control cabinets.

[0136] Please refer to Figure 15 , Figure 15 This is a schematic diagram of the structure of a handle lock provided in some embodiments of this application. In some embodiments, the lock 100 may also be a handle lock 400, which can be applied to everyday furniture and other scenarios.

[0137] Please refer to Figure 16 , Figure 16 This is a schematic diagram of the structure of a cabinet lock provided in some embodiments of this application. In some embodiments, the lock 100 can also be a cabinet lock 500, which can be applied to smaller equipment scenarios such as drawers.

[0138] It should be noted that lock 100 can also be other types of locks and can be used in other scenarios not mentioned.

[0139] Although this application has been described with reference to preferred embodiments, various modifications can be made thereto and components can be replaced with equivalents without departing from the scope of this application. In particular, the technical features mentioned in the various embodiments can be combined in any manner, provided there is no structural conflict. This application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A lock cylinder, characterized in that, The lock cylinder includes a cylinder, a drive assembly, a locking element, and a Type-C module. The cylinder has a first end in a first direction. The drive assembly is disposed within the cylinder, and the locking element is connected to the drive assembly. The drive assembly drives the locking element to rotate from a locked position to an unlocked position. The Type-C module includes a Type-C male connector and a base. The Type-C male connector is electrically connected to the drive assembly and is mounted on the base. The base is rotatably mounted within the cylinder about a first axis, allowing the Type-C male connector to switch between a used position and a non-used position. The first axis extends along a second direction, which is perpendicular to the first direction. In the usage position, the Type-C male connector is exposed from the first end; in the non-use position, the Type-C male connector is hidden.

2. The lock cylinder according to claim 1, characterized in that, In the usage position, the central axis of the Type-C male connector is parallel to the first direction; in the non-use position, the central axis of the Type-C male connector is perpendicular to the first direction.

3. The lock cylinder according to claim 1, characterized in that, The lock cylinder has a first cavity, and the base is disposed in the first cavity. The first cavity has a first opening in the first direction and a second opening in the third direction. The first direction, the second direction, and the third direction are perpendicular to each other. In the usage position, the Type-C male connector extends from the first opening; in the non-use position, the Type-C male connector extends from the second opening.

4. The lock cylinder according to claim 1, characterized in that, The lock cylinder also includes a pivot, and the base is installed inside the lock cylinder via the pivot. The first axis is the central axis of the pivot.

5. The lock cylinder according to claim 1, characterized in that, The lock cylinder also includes an elastic limiting member, and the lock cylinder is provided with a first limiting hole and a second limiting hole. The elastic limiting member is connected to the base. In the usage position, the elastic limiting member engages with the first limiting hole; in the non-use position, the elastic limiting member engages with the second limiting hole.

6. The lock cylinder according to claim 1, characterized in that, A portion of the Type-C male connector is housed within the base. The Type-C module also includes a plug connected to the base to prevent the Type-C male connector from detaching from the base.

7. The lock cylinder according to claim 1, characterized in that, The locking element includes a turntable and a protrusion. The turntable is connected to the drive assembly, and the protrusion is located on the turntable and offset from the center of the turntable.

8. The lock cylinder according to claim 7, characterized in that, The lock cylinder also includes an elastic element, one end of which is connected to the turntable and the other end of which is connected to the lock cylinder. The elastic element is used to drive the locking element from the unlocked position back to the locked position.

9. The lock cylinder according to claim 7, characterized in that, The lock cylinder also includes a lock cover, which is connected to the second end of the lock cylinder, and the second end and the first end are disposed opposite to each other in the first direction; The lock cover is provided with an arc-shaped groove, and the protrusion is disposed in the arc-shaped groove. When the locking member rotates, the protrusion moves along the arc-shaped groove.

10. The lock cylinder according to claim 9, characterized in that, The lock cover is also provided with a limiting groove, which is connected to the arc-shaped groove, and the protrusion is provided with a receiving hole; The lock cylinder also includes a first magnetic component and a second magnetic component, wherein the first magnetic component is disposed in the lock cover and the second magnetic component is disposed in the receiving hole; When the locking member is in the locked position, the second magnetic member and the first magnetic member repel each other, and the second magnetic member is entirely located within the receiving hole; when the locking member is in the unlocked position, the second magnetic member and the first magnetic member attract each other, a portion of the second magnetic member is located within the receiving hole, and the other portion is inserted into the limiting groove, so that the locking member is limited to the unlocked position.

11. A lock, characterized in that, Includes a lock housing and a lock cylinder as described in any one of claims 1-10, wherein the lock housing has a first end face and a groove is provided on the first end face; The lock cylinder is disposed inside the lock housing. In the usage position, the Type-C male connector protrudes from the first end face; in the non-use position, the Type-C male connector is retracted into the groove.

12. The lock according to claim 11, characterized in that, The lock cylinder is the lock cylinder as described in claim 10, the lock is a padlock, the lock further includes a locking pin, the locking pin has a first position and a second position, and the locking pin is provided with a groove; When the locking member is in the locked position, the protrusion is inserted into the slot to limit the locking pin in the first position; When the locking member is in the unlocked position, the protrusion retracts from the slot; When the locking pin moves from the first position to the second position, the locking pin pushes the second magnetic component out of the limiting groove.

13. The lock according to claim 11, characterized in that, The lock is a cabinet lock, handle lock, or cabinet lock.