A flexible molding process for a magnetic pole protective layer, comprising: assembling magnet steels at respective positions on a side wall surface of a magnetic yoke , laying a reinforcing material and a vacuum bag in the listed sequence on the magnet steels and the side wall surface of the magnetic yoke , wherein the vacuum bag , the magnet steels and the side wall surface of the magnetic yoke form a sealed system; performing an impregnation process, comprising vacuumizing the sealed system to allow an impregnation liquid to be injected into the sealed system, to achieve infiltration and impregnation; performing a curing process after the impregnation process, and wherein the impregnation liquid and the reinforcing material are cured to form a protective layer ; and characterized in that the flexible molding process comprises: heating the sealed system and/or emitting ultrasonic waves to the sealed system while performing the impregnation process; and after the protective layer is cured, acquiring positions of holes (qp) in the protective layer , emitting ultrasonic waves to portions of the protective layer at positions of holes (qp) in a surface layer of the protective layer , to break the portions of the protective layer at the positions of the holes (qp) in a surface of the protective layer , and performing an anti-corrosion coating treatment to the broken portions. assembling magnet steels at respective positions on a side wall surface of a magnetic yoke , laying a reinforcing material and a vacuum bag in the listed sequence on the magnet steels and the side wall surface of the magnetic yoke , wherein the vacuum bag , the magnet steels and the side wall surface of the magnetic yoke form a sealed system; performing an impregnation process, comprising vacuumizing the sealed system to allow an impregnation liquid to be injected into the sealed system, to achieve infiltration and impregnation; performing a curing process after the impregnation process, and wherein the impregnation liquid and the reinforcing material are cured to form a protective layer ; and characterized in that the flexible molding process comprises: heating the sealed system and/or emitting ultrasonic waves to the sealed system while performing the impregnation process; and after the protective layer is cured, acquiring positions of holes (qp) in the protective layer , emitting ultrasonic waves to portions of the protective layer at positions of holes (qp) in a surface layer of the protective layer , to break the portions of the protective layer at the positions of the holes (qp) in a surface of the protective layer , and performing an anti-corrosion coating treatment to the broken portions. heating the sealed system and/or emitting ultrasonic waves to the sealed system while performing the impregnation process; and after the protective layer is cured, acquiring positions of holes (qp) in the protective layer , emitting ultrasonic waves to portions of the protective layer at positions of holes (qp) in a surface layer of the protective layer , to break the portions of the protective layer at the positions of the holes (qp) in a surface of the protective layer , and performing an anti-corrosion coating treatment to the broken portions. <EOS>