The invention relates to the technical field of industrial
personal computer data processing, in particular to an industrial
personal computer data compression and
encryption backup method and
system.The method comprises the following steps of obtaining instruction logs in a
control period, calculating task sensitivity levels, recognizing high-frequency sensitive tasks, generating an
instruction list, extracting data block information, calculating
coupling strength and generating a dependency group
list; the method comprises the following steps: constructing field numbers and equipment mapping, generating a compression and
encryption template, executing splicing and
encryption processing, dividing
backup levels and implementing scheduling, and generating hierarchical
backup configuration information. According to the method, through dynamic analysis of the
task number, the execution period and the
response time in the control instruction log, accurate identification of the high-frequency sensitive task is realized, a strong-dependence
data combination is constructed, the equipment control features participate in the
key generation process, the environment adaptability of an encryption mechanism is improved, and the encryption efficiency is improved. And reasonable hierarchical scheduling and backup of compressed and encrypted data in frequent mirroring, timing redundancy and periodic cache regions are realized.