The invention discloses a
data deduplication method and device, a storage medium,
electronic equipment and a program product, and relates to the technical field of data storage, the method comprises the steps that a memory layer of a tree-shaped storage architecture is arranged in a memory, only memory read operation is needed for online deduplication, hard disk access is not needed,
delay and overhead of hard disk read operation in related technologies are avoided, and the
data deduplication efficiency is improved. Data writing can be quickly responded, and the
data processing efficiency is remarkably improved; background deduplication is adopted in a plurality of hard disk
layers, and a corresponding deduplication strategy is automatically triggered after a corresponding triggering strategy is met, so that frequent online hard disk reading and writing are reduced, the disk reading frequency is reduced, and the overall performance of the all-
flash memory array is improved; wherein the memory layer, the first hard disk layer and other hard disk
layers adopt different deduplication strategies, and the differentiated deduplication strategies are formulated according to the characteristics of different levels, so that the deduplication operation is more targeted and efficient, the efficiency and accuracy can be improved, and the problem of high disk reading overhead in online
data deduplication in related technologies is solved.