Memory device and non-transitory computer readable recording medium
AssigneeToshiba Memory Corporation
InventorShinichi Kanno
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a memory device includes a nonvolatile memory, address translation unit, generation unit, and reception unit. The nonvolatile memory includes erase unit areas. Each of the erase unit areas includes write unit areas. The address translation unit generates address translation information relating a logical address of write data written to the nonvolatile memory to a physical address indicative of a write position of the write data in the nonvolatile memory. The generation unit generates valid/invalid information indicating whether data written to the erase unit areas is valid data or invalid data. The reception unit receives deletion information including a logical address indicative of data to be deleted in the erase unit area.
Claims8
A memory device communicating with an information processing device, the memory device comprising:
- a nonvolatile memory including a plurality of erase unit areas, each of the erase unit areas including a plurality of write unit areas;
- an address translation unit which generates address translation information relating a logical address of write data written to the nonvolatile memory to a physical address indicative of a write position of the write data in the nonvolatile memory;
- a write unit which writes the write data to the write position indicated by the physical address;
- a generation unit which generates, based on the address translation information, valid/invalid information indicating whether data written to the plurality of erase unit areas is valid data or invalid data, the valid/invalid information including information relating identification information of the erase unit area to a logical address indicative of the valid data or the invalid data written to the erase unit area;
- a selection unit which selects an erase unit area to be subjected to garbage collection from the plurality of erase unit areas;
- a transmission unit which generates, based on the valid/invalid information, area information including a logical address indicative of valid data written to the erase unit area to be subjected to garbage collection, and transmits the area information to the information processing device;
- a reception unit which receives deletion information including a logical address indicative of data to be deleted amongst the valid data in the erase unit area to be subjected to garbage collection from the information processing device;
- and
- a garbage collection unit which performs garbage collection of the valid data written to the erase unit area to be subjected to garbage collection excluding the data to be deleted.
A non-transitory computer readable recording medium storing a program causing a computer to function as:
- an address translation unit which generates address translation information relating a logical address of write data written to a nonvolatile memory to a physical address indicative of a write position of the write data in the nonvolatile memory, the nonvolatile memory including a plurality of erase unit areas, each of the erase unit areas including a plurality of write unit areas;
- a write unit which writes the write data to the write position indicated by the physical address;
- a generation unit which generates, based on the address translation information, valid/invalid information indicating whether data written to the plurality of erase unit areas is valid data or invalid data, the valid/invalid information including information relating identification information of the erase unit area to a logical address indicative of the valid data or the invalid data written to the erase unit area;
- a selection unit which selects an erase unit area to be subjected to garbage collection from the plurality of erase unit areas;
- a transmission unit which generates, based on the valid/invalid information, area information including a logical address indicative of valid data written to the erase unit area to be subjected to garbage collection, and transmits the area information to the information processing device;
- a reception unit which receives deletion information including a logical address indicative of data to be deleted amongst the valid data in the erase unit area to be subjected to garbage collection from an information processing device communicating with the computer;
- and
- a garbage collection unit which performs garbage collection of the valid data written to the erase unit area to be subjected to garbage collection excluding the data to be deleted.
Dependencies are inferred from the claim text.