摘要 |
Provided are a method and device for scheduling storage resources. The method comprises: counting a first data block stored in a first storage unit so as to obtain a counted value; according to the counted value and a preset counted threshold value, applying a destination address to an MMU so as to obtain the destination address; sending the destination address and a message transmission indication to a DMA unit so as to make the DMA unit extract a second data block from a second storage unit and storing the second data block in the first storage unit according to the destination address. The technical solution provided in the embodiments of the present invention is used to control the storage resources occupied by a data block and save storage resources. |