A magnetic stabilization method for a permanent magnet, comprising providing a permanent magnet substrate, wherein the permanent magnet substrate comprises a plurality of faces and one magnetization direction, the plurality of faces comprise a first face, and the first face is perpendicular to the magnetization direction; providing a magnetic stabilization material, wherein the magnetic stabilization material comprises a heavy rare earth element; and processing the magnetic stabilization material on the first face to form a first-face thin film, wherein the first-face thin film has a varying concentration of the heavy rare earth element in distribution along a first direction, and the first direction is a direction perpendicular to the magnetization direction; and performing diffusion processing of the heavy rare earth element on the permanent magnet substrate on which the thin film is formed on the first face, wherein the plurality of faces further comprise a second face, the second face is perpendicular to the magnetization direction, and the second face and the first face are respectively located on two opposite sides of the permanent magnet substrate; and the magnetic stabilization method further comprises: processing the magnetic stabilization material on the second face to form a second-face thin film, wherein the second-face thin film has a varying concentration of the heavy rare earth element in distribution along the first direction; and performing diffusion processing of the heavy rare earth element on the permanent magnet substrate on which the thin film is formed on the second face, and characterized in that: concentrations of the heavy rare earth element at opposite positions on the first face and the second face correspond to each other in terms of variation tendency. providing a permanent magnet substrate, wherein the permanent magnet substrate comprises a plurality of faces and one magnetization direction, the plurality of faces comprise a first face, and the first face is perpendicular to the magnetization direction; providing a magnetic stabilization material, wherein the magnetic stabilization material comprises a heavy rare earth element; and processing the magnetic stabilization material on the first face to form a first-face thin film, wherein the first-face thin film has a varying concentration of the heavy rare earth element in distribution along a first direction, and the first direction is a direction perpendicular to the magnetization direction; and performing diffusion processing of the heavy rare earth element on the permanent magnet substrate on which the thin film is formed on the first face, wherein the plurality of faces further comprise a second face, the second face is perpendicular to the magnetization direction, and the second face and the first face are respectively located on two opposite sides of the permanent magnet substrate; and the magnetic stabilization method further comprises: processing the magnetic stabilization material on the second face to form a second-face thin film, wherein the second-face thin film has a varying concentration of the heavy rare earth element in distribution along the first direction; and performing diffusion processing of the heavy rare earth element on the permanent magnet substrate on which the thin film is formed on the second face, and characterized in that: concentrations of the heavy rare earth element at opposite positions on the first face and the second face correspond to each other in terms of variation tendency. processing the magnetic stabilization material on the second face to form a second-face thin film, wherein the second-face thin film has a varying concentration of the heavy rare earth element in distribution along the first direction; and performing diffusion processing of the heavy rare earth element on the permanent magnet substrate on which the thin film is formed on the second face, and characterized in that: concentrations of the heavy rare earth element at opposite positions on the first face and the second face correspond to each other in terms of variation tendency.