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

Claim 8:
9. A non-transitory computer readable storage medium having stored thereon processor executable instructions which, when executed by a processor of a storage device, cause the processor to control the storage device to perform a method comprising:
obtaining data access temperature of a first storage unit group,
wherein memory blocks from different solid-state disks form the first storage unit group, and the memory blocks are divided into a data group comprising at least two memory blocks for data and a check group comprising at least one memory block for check data in the data,
wherein the first storage unit group comprises a plurality of storage units, each storage unit is divided into a finer granularity, the finer granularity makes a composition unit of a block, the block belongs to a logical unit, and the logical unit is logical storage space provided by the storage device and accessible by a host, and
wherein the data access temperature of the first storage unit group is obtained by adding up data access temperature of a number of storage units within one of the blocks belonging to the first storage unit group multiplied by the number of storage units belonging to the one of the blocks of the first storage unit group, wherein each one of the blocks of the first storage unit group corresponds to a different logical block address, and the data access temperature of each storage unit which is determined by the storage device, is equal to data access temperature of the block belonging to the logical unit in which a storage unit is located;
wherein the block is associated with a plurality of logical units, and each logical unit is associated with a plurality of storage unit groups to which the first storage unit group belongs;
wherein statistics about a quantity of times of reading or writing data of the block is collected as a monitoring object to determine the data access temperature of the block; and, in response to the data access temperature of the first storage unit group reaching a threshold, migrating data in the first storage unit group to a second storage unit group, wherein access performance of the second storage unit group is higher than access performance of the first storage unit group.