| CPC G06F 3/0607 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |

|
1. A data processing method for a memory device, wherein the memory device comprises a controller, a first memory, and a second memory, wherein the controller separately communicates with a processor, the first memory, and the second memory, wherein read/write performance of the first memory is higher than read/write performance of the second memory, and wherein the method comprises:
receiving an operation request of the processor, wherein the operation request comprises a logical address; and
accessing a first one of the first memory or the second memory based on the logical address, wherein accessing the first one of the first memory or the second memory comprises:
performing, in response to the operation request being a read request:
writing, in response to the controller determining that the first memory does not have a read hit, data that is in the second memory into the first memory at a physical address in the first memory associated with the logical address; and
reading to-be-read data from the first memory according to the logical address; and
performing, in response to the operation request being a write request:
writing to-be-written data to the first memory according to the logical address; and
marking, in response to second data corresponding to the logical address existing in the second memory, the second data as invalid data.
|