CPC G06F 3/0641 (2013.01) [G06F 3/0608 (2013.01); G06F 3/0673 (2013.01); H03M 7/30 (2013.01); G06F 3/0674 (2013.01); G06F 3/0676 (2013.01)] | 11 Claims |
6. A storage system with compressed data, comprising:
an interface;
a memory storing executable instructions; and
a processor configured to execute the executable instructions to:
determine whether deduplication can be performed on a target data block;
when deduplication cannot be performed on the target data block, obtain a similar fingerprint of the target data block;
determine, based on the similar fingerprint, a combined data block group to which the target data block belongs; and
perform similar compression on the target data block based on a reference block in the combined data block group,
wherein the processor is configured to determine the combined data block group by:
determining, based on a similar fingerprint quantity, a data block group corresponding to the target data block, wherein the similar fingerprint quantity is a quantity of same similar fingerprints in any two data blocks in one data block group; and
forming, in the data block group corresponding to the target data block, a first quantity of data blocks that have a same target fingerprint as the target data block into the combined data block group to which the target data block belongs, wherein a data amount of differential data between the target data block and a data block that has the target fingerprint is less than a data amount of differential data between the target data block and a data block that does not have the target fingerprint.
|