US 12,189,990 B2
Data storage method and apparatus
Guiyou Pu, Chengdu (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Feb. 22, 2022, as Appl. No. 17/677,088.
Application 17/677,088 is a continuation of application No. PCT/CN2020/088838, filed on May 6, 2020.
Claims priority of application No. 201910800842.8 (CN), filed on Aug. 28, 2019.
Prior Publication US 2022/0179588 A1, Jun. 9, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0685 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A data storage method-comprising:
receiving first data and a latency level identifier of the first data, wherein the latency level identifier of the first data is for indicating a requirement level of the first data for access latency;
determining, based on the latency level identifier of the first data and correspondences between memory pages of different types and latency level identifiers, that a memory page corresponding to the first data is a first memory page of a storage device, wherein the storage device comprises the first memory page and a second memory page of the storage device, the first memory page and the second memory page are of different types, and memory pages of different types have different access latency values;
storing the first data on the first memory page;
migrating the first data from the first memory page to a third memory page corresponding to a changed latency level identifier when the latency level identifier of the first data is changed, wherein the latency level identifier is encapsulated into one data packet with the first data; and
determining a memory page having a highest read/write latency as the third memory page.