CPC G06F 12/0862 (2013.01) [G06N 5/04 (2013.01); G06F 2212/602 (2013.01)] | 14 Claims |
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.
|