Memory device, host device, and memory system
AssigneePanasonic Corporation
InventorsMasayuki Toyama, Hirokazu So
Life of this patent
Estimating the term…
Abstract
A memory device, a host device, and a memory system enable real-time recording of a plurality of files of data while preventing the buffer size of a host device from increasing. A memory device (1) has first and second data write modes. A host device (2) uses the second data write mode when recording a plurality of files of data. In accordance with a command provided from the host device (2), the memory device (1) relocates data that has been written in the second data write mode in a manner that the data is arranged in the same state as when the data is written in the first data write mode.
Claims23
A memory device that is connected to a host device to allow communication with the host device, and writes data and/or reads data in accordance with a command provided from the host device, the memory device comprising:
- a nonvolatile memory storing data;
- and
- a memory controller unit that controls writing of data to the nonvolatile memory and reading of data from the nonvolatile memory using a logical address included in the command provided from the host device, manages a memory area of the nonvolatile memory in memory allocation units, and controls data and file system information corresponding to the data to be written into different memory allocation units,
- wherein the memory controller unit sets a data write mode by switching to a first data write mode or to a second data write mode as designated by the host device and controls writing of data to the nonvolatile memory to be performed in the set data write mode, and
- (1) when writing data in the first data write mode, the memory controller unit associates a logical address of the host device with a physical address of the nonvolatile memory for each memory allocation unit, and selects a memory allocation unit into which the data is to be written in a physical address space of the nonvolatile memory using a logical address included in a data write command provided from the host device in a manner that a data arrangement in the memory allocation unit in a logical address space managed by the host device is identical to a data arrangement in the memory allocation unit in the physical address space of the nonvolatile memory, and writes the data into the selected memory allocation unit, and
- (2) when writing data in the second data write mode, the memory controller unit selects a memory allocation unit into which the data is to be written in the physical address space of the nonvolatile memory as a memory allocation unit for the second data write mode, and continuously writes write-target data received from the host device in the selected memory allocation unit for the second data write mode irrespective of a logical address included in a data write command provided from the host device.
A host device that writes data to a memory device and reads data from the memory device, the host device comprising:
- a memory-device control unit that provides a command to the memory device and controls input and output of data to be written to the memory device or data to be read from the memory device, and manages a logical address space in memory allocation units and controls data and file system information corresponding to the data to be written in different memory allocation units,
- wherein the memory-device control unit controls a data write mode of the memory device to switch to the first data write mode or to the second data write mode as designated by the memory-device control unit.
Dependencies are inferred from the claim text.