The basic principle is consistent with the two-dimensional code inertial navigation. The tracking target is a magnetic pin. The magnetic induction line generated by the connection of the magnetic pin is used as the virtual route, and the improved magnetic navigation sensor is used for route identification.