CPC G06F 3/064 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01); G06F 12/0646 (2013.01); G06F 13/1673 (2013.01); G06F 3/067 (2013.01)] | 15 Claims |
1. A computer system, comprising:
a media controller; and
a memory controller coupled to the media controller and configured to communicate with the media controller by complying with a bus access protocol compatible with a double data rate (DDR) protocol, wherein the memory controller is configured to send a first read command to the media controller, wherein the first read command carries a first identifier (ID), a first address, and a first length, wherein the first ID is an identifier of the first read command, and wherein the first length is used to indicate a size of first data to be read by the first read command; and
a non-volatile memory (NVM) coupled to the media controller and configured to store data,
wherein the media controller is configured to read the first data from the NVM based on the first address,
wherein the memory controller is configured to send at least two send commands to the media controller, wherein the at least two send commands are used to obtain at least two pieces of data of a third length, and wherein the third length is less than the first length,
wherein the media controller is configured to return at least two data subblocks of the third length and metadata of the at least two data subblocks to the memory controller in response to the at least two send commands, wherein the metadata comprises the first ID and a location identifier, and wherein the location identifier is used to indicate an offset of a corresponding data subblock in the first data, and
wherein the memory controller is configured to obtain the first data based on the at least two data subblocks and the location identifiers in the metadata of the at least two data subblocks.
|