The invention provides a power-down data storage method and
system for an embroidery industrial
personal computer in the technical field of embroidery machines, and the method comprises the steps: S1, calculating the unit
energy consumption, and setting a storage priority; s2, when the core A of the controller monitors that the power
signal is disconnected, a data storage instruction is sent to the core B based on the emergency power supply; s3, the core B closes the
peripheral function power supply, and reads the operation data from the cache; s4, calculating the estimated
power consumption based on the total data volume and the unit
energy consumption of each operation data, and monitoring the residual electric quantity of the emergency power supply; s5, cleaning and compressing the running data to obtain a plurality of compressed data; and S6, based on the estimated
power consumption and the residual electric quantity, storing the compressed data according to the priority, and indicating the working state through an indicating lamp. The method has the advantages that the power
failure data storage efficiency and reliability of the embroidery industrial
personal computer are greatly improved, the
battery capacity of the emergency power supply can be properly reduced, the size is optimized, and the cost is reduced.