US 12,135,648 B2
Data prefetching method and apparatus, and storage device
Peng Lu, Johannesburg (ZA); and Jinhu Liu, Chengdu (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., GuangDong (CN)
Filed on Sep. 23, 2022, as Appl. No. 17/951,424.
Application 17/951,424 is a continuation of application No. PCT/CN2021/082382, filed on Mar. 23, 2021.
Claims priority of application No. 202010209712.X (CN), filed on Mar. 23, 2020.
Prior Publication US 2023/0009375 A1, Jan. 12, 2023
Int. Cl. G06F 12/08 (2016.01); G06F 12/0862 (2016.01); G06N 5/04 (2023.01)
CPC G06F 12/0862 (2013.01) [G06N 5/04 (2013.01); G06F 2212/602 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A data prefetching method, wherein the method is applied to a storage device, the storage device comprises a processor, an artificial intelligence (AI) chip, a level-1 storage, and a level-2 storage, and the method comprises:
generating, by the AI chip, a prefetching model, wherein the prefetching model uses data that is currently being requested as input and outputs an address of data that will likely be read next;
sending, by the AI chip, the generated prefetching model to the processor;
predicting, by the processor, based on the prefetching model and in response to a received data read request, an address of to-be-read data; and
when the to-be-read data is stored in the level-2 storage, reading, by the processor, the to-be-read data from the level-2 storage into the level-1 storage using the predicted address, wherein a processing speed of the level-1 storage is higher than a processing speed of the level-2 storage, and a capacity of the level-1 storage is smaller than a capacity of the level-2 storage.