The invention discloses a mechanical positioning mechanism, a lockset and an electromagnetic locking
system. The mechanical positioning mechanism comprises a swinging power
assembly, wherein the swinging power
assembly is arranged on the side edge of a protruding part, and the protruding part is fixed inside a mounting part, a positioning extension
assembly is horizontally arranged on the mountingpart, and an engaging structure connects the positioning extension assembly with the swinging power assembly. Through identification of an
access control card or a digital
password, a conductor in anelectromagnetic attraction module is automatically connected to a power supply through an induction piece and generates a
magnetic field, an adsorption part and a sliding part are attracted by an iron core to move, a driving part is driven to swing by means of a tabling part under the action of a
mating groove, the driving part overcomes elastic force of the elastic part to drive a lock bolt to act by means of the engaging structure so as to realize a unlocking function, and the electromagnetic attraction assembly is automatically powered off after the electromagnetic attraction assembly is continuously electrified for a period of time under working of a
timer, so that the lock bolt is automatically reset and locks under the elastic force of the elastic part, and the functions of smart positioning, unlocking and locking are achieved.