Patent ID: 11886729
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. An apparatus, comprising:
a memory configured to store program instructions;
a processor coupled to the memory and configured to execute the program instructions, that when executed by the processor, cause the apparatus to be configured to:
receive a data write request that carries to-be-written data, wherein the to-be-written data comprise a first data block;
calculate a first fingerprint of the first data block uniquely identifying the first data block;
determine whether the first fingerprint is in a fingerprint list, wherein the fingerprint list comprises at least one fingerprint corresponding to at least one data block stored in a high-speed storage medium and at least one fingerprint corresponding to at least one data block stored in a low-speed storage medium;
perform a deduplication operation on the to-be-written data, wherein the deduplication operation comprises:
making a second data block whose second fingerprint is in the fingerprint list point to a storage address of the first data block; and
deleting the first data block from the to-be-written data to obtain deduplicated to-be-written data; and

write the deduplicated to-be-written data into the high-speed storage medium or the low-speed storage medium.