Storage device and operating method of storage device
AssigneeSamsung Electronics Co., Ltd.
InventorsSHIVA PAHWA, ALEX MOHANDAS
Life of this patent
Estimating the term…
Abstract
A storage device includes a nonvolatile memory device, and a controller that receives a write command, data, and a signature associated with the data from an external device, generates a first hash value from the data, generates a second hash value from the signature, generates an output hash value based on the first hash value and the second hash, and detects whether the data received from the external device are previously written in the nonvolatile memory device, by using the output hash value.
Claims20
A storage device comprising:
- a nonvolatile memory device;
- and
- a controller configured to:
- receive a write command, data, and a signature associated with the data from an external device,
- generate a first hash value from the data, a second hash value from the signature, and an output hash value based on the first hash value and the second hash value, and
- detect whether the data received from the external device are previously written in the nonvolatile memory device, by using the output hash value.
An operating method of a storage device which includes a nonvolatile memory device and a controller configured to control the nonvolatile memory device, the method comprising:
- receiving, by the controller, a write command, data, and a signature associated with the data from an external device;
- generating, by the controller, an output hash value from the data and the signature;
- skipping, by the controller, an operation of writing the data in the nonvolatile memory device when a similarity between the output hash value and previous output hash value of data previously written in the nonvolatile memory device is a threshold value or greater than the threshold value;
- and
- writing, by the controller, the data in the nonvolatile memory device when the similarity between the output hash value and the previous output hash value is smaller than the threshold value.
A storage device comprising:
- a nonvolatile memory device;
- and
- a controller configured to control the nonvolatile memory device,
- wherein the controller includes:
- a reception block configured to receive a write command, a logical address, data, and a signature associated with the data from an external device;
- a signature check block configured to receive the data and the signature from the reception block and to check an integrity of the data by using the signature;
- a hash generation block configured to receive the data and the signature from the signature check block and to generate an output hash value from the data and the signature;
- a hash data block configured to store previous output hash value associated with previous data previously written in the nonvolatile memory device;
- a mapping information block configured to store mapping information between a previous logical address of the previous data and a previous physical address, at which the previous data are written, of a storage space of the nonvolatile memory device;
- and
- a control block configured to receive the data and the output hash value from the hash generation block, to determine a similarity by comparing the output hash value and the previous output hash value of the hash data block, and to determine one of a write data hit and a write data miss depending on the similarity,
- wherein, when the write data hit is determined, the control block updates the mapping information block such that the logical address of the data is mapped onto the previous physical address of the previous data, and
- wherein, when the write data miss is determined, the controller writes the data in the nonvolatile memory device and updates the mapping information block such that the logical address is mapped onto a physical address, at which the data are written, of a storage space of the nonvolatile memory device.
Dependencies are inferred from the claim text.