The invention relates to the technical field of hierarchical storage, in particular to a photo-electromagnetic storage method and
system based on hierarchical management, and the method comprises the following steps: collecting read-write speed, error rate, durability and cost data of
optical storage and electromagnetic storage media, carrying out the sorting and grading
processing of the data according to the read-write speed and the error rate, and carrying out the sorting and grading
processing of the data; and performing
score calculation on each storage medium to obtain a medium performance
score. According to the method and the device, the data is effectively distributed to the most suitable storage medium by accurately scoring the performance of the storage medium and combining specific requirements of the to-be-stored data, so that the
data access speed and efficiency are improved, the total storage cost is reduced, and particularly, when a large amount of data is processed, the
data compression level and the encoding format are dynamically adjusted, and the
data compression efficiency is improved. The
storage efficiency of the data is further optimized,
data redundancy is reduced, the overall performance of data storage and access is remarkably improved through optimization measures, and meanwhile long-term safety and integrity of the data are ensured.