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

Claim 0:
1. A data storage method, comprising:
receiving, by a storage apparatus, a data write request that carries to-be-written data, wherein the to-be-written data comprise a first data block;
calculating, by the storage apparatus, a first fingerprint of the first data block uniquely identifying the first data block;
determining, by the storage apparatus, 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;
performing, by the storage apparatus, 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 first 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

writing, by the storage apparatus, the deduplicated to-be-written data into the high-speed storage medium or the low-speed storage medium.