Memory controller changing partial data in memory device and method for changing partial data thereof
AssigneeSamsung Electronics Co., Ltd.
InventorsKijun Lee, Junjin Kong, Hong Rak Son, Sejin Lim
Life of this patent
Estimating the term…
Abstract
A partial data changing method of a memory controller includes receiving a request to change partial data from a host; detecting an error of old data, the old data being partial data read from a memory device using an error detection code; if the old data is not erroneous, calculating a data difference between new data provided from the host and the old data, and calculating a new parity using the data difference and an old parity read from the memory device; and storing the new data and the new parity at the memory device.
Claims30
A partial data changing method of a memory controller comprising:
- receiving a request to change partial data from a host;
- detecting an error of old data, the old data being partial data read from a memory device;
- calculating a data difference between new data provided from the host and the old data;
- calculating a new parity using the data difference and an old parity read from the memory device, the old parity being a parity corresponding to the old data, the new parity being a parity corresponding to the new data;
- and
- storing the new data and the new parity at the memory device.
A memory controller for generating a new parity when partial data of a memory device is changed, comprising:
- a data location identifier configured to identify a location of the changed partial data;
- a data difference calculator configured to receive location information of the changed partial data from the data location identifier and to calculate a data difference between new data input from a host and old data input from the memory device;
- and
- a parity calculator configured to calculate the new parity using an old parity stored at the memory device and the data difference, the old parity being a parity corresponding to the old data, the new parity being a parity corresponding to the new data.
A memory system comprising:
- a memory device configured to store data and a parity;
- a host configured to provide new data for changing partial data stored at the memory device and location information of the changed partial data;
- and
- a memory controller configured to receive the new data and the location information from the host, to calculate a data difference between the new data provided from the host and old data input from the memory device, and to generate a new parity using an old parity stored at the memory device and the data difference, the old parity being a parity corresponding to the old data, the new parity being a parity corresponding to the new data.
A method of operating a memory controller to update parity information, the method comprising:
- determining, at the memory controller, a first parity, the first parity being a parity corresponding to an entirety of first data stored in a memory device, the first data including a first portion and a second portion;
- receiving a request to replace the first portion with new data;
- generating, at the memory controller, a data difference based on the new data and the first portion;
- updating the first parity by generating, at the memory controller, a new parity of the first data based on the data difference and the first parity;
- and
- replacing the first portion in the first data with the new data by storing the new data and the new parity at the memory device.
Dependencies are inferred from the claim text.