This utility model discloses a male connector and a female connector. The male connector includes a first housing and a
locking mechanism. The pressing member of the
locking mechanism slides within a groove driven by an elastic element. The bottom of the pressing member has a locking groove with a locking hook, which, in conjunction with the first clearance groove of the first mounting part, achieves a locking engagement with the locking block of the female connector. The second pair of slots on the female connector have
metal springs on their side walls for conductive contact. The second anti-misalignment plane within the groove corresponds to the first anti-misalignment plane of the male connector, limiting the
insertion direction to a single direction to prevent mis-
insertion. The locking block on the anti-misalignment plane engages with the locking hook of the male connector. When locking, external force drives the pressing member to compress the elastic element. After
insertion into the female connector, the elastic element releases its
potential energy, driving the locking hook to engage with the locking block. When unlocking, the pressing member resets and compresses the elastic element. After the male connector is pulled out, the elastic element drives it back to its original position. This solution, through the coordinated action of the elastically driven
locking mechanism and the anti-misalignment plane, achieves precise docking, reliable locking, and prevention of mis-insertion between the male and female connectors, improving connection stability and operational convenience.