# US 2012/0254524 A1 · Memory device and host device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254524 A1
- Document ID: US20120254524A1
- Status: Published application
- Kind: A1
- Application number: 13/524,835
- Filed: 2012-06-15
- Published: 2012-10-04
- Earliest claimed: 2010-01-27
- Inventors: Akihisa FUJIMOTO
- Web page: https://patentgrep.com/patent/US20120254524A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06K 7/10297: {arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092 (cryptographic protocols H04L9/00; network security protocols H04L63/00; real-time communication protocols in data switching networks H04L65/00; network protocols for data switching network services H04L67/00)}
- G06K 7/10861: {sensing of data fields affixed to objects or articles, e.g. coded labels (postal sorting B07C3/14, conveying articles B65G47/48)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

A controller has a random write mode and a sequential write mode to which it transitions when receiving a start command. The controller in the sequential write mode identifies a data stream partially formed by a data item through a control command or a logical address. It also prepares free unit areas for respective data streams, and writes data items in successive storage areas in a corresponding unit area in an order identical to addresses of the data items. When the controller receives an end command, it performs end processing on a unit area for a corresponding data stream. The controller in the sequential write mode transitions to the random write mode when completing the end processing to all data streams or detects a random write request.

## Claims

### Claim 1

A memory device comprising:
a nonvolatile semiconductor memory which comprises storage areas; and
a controller which receives write data items, has a random write mode and a sequential write mode, and transitions to the sequential write mode when receiving a start command, the controller in the sequential write mode:
recognizing a control command,
identifying one of data streams which is partially formed by one write data item through the control command or a logical address,
preparing free unit areas comprising a predetermined number of the storage areas for respective data streams,
writing write data items in successive storage areas in a corresponding unit area in an order identical to addresses of the write data items,
performing, when receiving an end command, end processing on a unit area for one corresponding data stream, and
transitioning to the random write mode when completing the end processing to all of the data streams or detecting a random write request.

### Claim 2 (depends on 1)

The device according to claim 1, wherein
the control command includes information specifying one data stream which is partially formed by data item to be written by a write command following the control command and information specifying an instruction assumed by the control command, and
the control command acts as one of the start command for one data stream specified by the control command, the end command for a specified data stream, a command instructing to prepare a new unit area for data recording, and a command for identifying writing of data other than data streams.

### Claim 3 (depends on 1)

The device according to claim 1, wherein
the controller comprises an address comparison unit,
the address comparison unit comprises:
registers dedicated to respective data streams, and store a destination address of one write data item specified by the write command following the control command; and
comparators which correspond to respective registers, and output a signal when a destination address specified by a received write command matches with the destination address stored in a corresponding register, and
the controller correlates the received write command to one unit area for one data stream corresponding to one comparator which outputs the signal.

### Claim 4 (depends on 1)

The device according to claim 1, wherein
the unit area comprises a buffer temporarily prepared in the memory,
the buffer comprises a predetermined number of free storage areas, and
the unit area is inaccessible from an outside of the device before the end processing on the unit area completes.

### Claim 5 (depends on 1)

The device according to claim 1, wherein
the unit area comprises the predetermined number of free storage areas and is accessible from an outside of the device.

### Claim 6 (depends on 1)

The device according to claim 1, wherein
the control command includes information specifying one data stream directed by the control command or one data stream which is partially formed by data item to be written by a write command following the control command and information specifying an instruction assumed by the control command, and
the control command acts as one of the start command for one data stream specified by the control command, the end command for a specified data stream, a command instructing to prepare a new unit area for data recording, and a command for identifying writing of data other than data streams.

### Claim 7 (depends on 6)

The device according to claim 6, wherein
the device further has a second sequential mode in which the write data items for one data stream are successively written in successive storage areas of the unit area in an order identical to logical addresses of the write data items, and
the start command includes information instructing a transition to the sequential write mode and specifying one data stream directed by the start command or information instructing a transition to the second sequential write mode.

### Claim 8 (depends on 6)

The device according to claim 6, wherein
the controller comprises an address comparison unit,
the address comparison unit comprises:
registers dedicated to respective data streams, and store a destination address of one write data item specified by the write command following the control command; and
comparators which correspond to respective registers, and output a signal when a destination address specified by a received write command matches with the destination address stored in a corresponding register, and
the controller correlates the received write command to one unit area for one data stream corresponding to one comparator which outputs the signal.

### Claim 9 (depends on 6)

The device according to claim 6, wherein
the unit area comprises a buffer temporarily prepared in the memory,
the buffer comprises a predetermined number of free storage areas, and
the unit area is inaccessible from an outside of the device before the end processing on the unit area completes.

### Claim 10 (depends on 6)

The device according to claim 6, wherein
the unit area comprises the predetermined number of free storage areas and is accessible from an outside of the device.

### Claim 11

A host device configured to write data in a memory device, the memory device comprising a nonvolatile semiconductor memory which comprises storage areas and a controller which controls the memory, the host device comprising:
application software which divides data to be written in the memory to prepare write data items of a predetermined size; and
an interface which issues a start command and a control command, the start command instructing the memory device to transitions to a sequential write mode in which the write data items are written such that an order of addresses of the storage areas is identical to an order of logical addresses of the write data items written in the storage areas, the control command being issued before a write command to instruct writing of one write data item and specifying one of data streams which is partially formed by the data item to be written by the write command.

### Claim 12 (depends on 11)

The device according to claim 11, further comprising a flow controller which receives performance information indicating a lowest write rate guaranteed by the memory device and comprises a rate determining unit which determines the number of data streams which can be written in the memory device without interference of each stream write performance and bit rates for respective data streams using the performance information.

### Claim 13 (depends on 12)

The device according to claim 12, wherein
the flow controller comprises data buffers dedicated to respective data streams to retain write data items partially constituting respective data streams, and
the flow controller is configured to transmit the write data items in the data buffers in a time-sharing principle in order to realize the bit rates determined for respective data streams within a bit rate supported by the memory device.

### Claim 14 (depends on 11)

The device according to claim 11, wherein the interface
is further configured to issue an end command instructing to perform end processing on a unit area for one corresponding data stream, and
causes the memory device to transition to a random write mode by issuing the end command for all of the data streams or requesting random write.

### Claim 15 (depends on 14)

The device according to claim 14, wherein
the control command includes information specifying one data stream which is partially formed by data item to be written by a write command following the control command and information specifying an instruction assumed by the control command, and
the control command acts as one of the start command for one data stream specified by the control command, the end command for a specified data stream, a command instructing to prepare a new free unit area comprising a predetermined number of the storage areas, and a command for identifying writing of data other than data streams.

### Claim 16 (depends on 14)

The device according to claim 14, wherein
the control command includes information specifying one data stream directed by the control command or one data stream which is partially formed by data item to be written by a write command following the control command and information specifying an instruction assumed by the control command, and
the control command acts as one of the start command for one data stream specified by the control command, the end command for a specified data stream, a command instructing to prepare a new free unit area comprising a predetermined number of the storage areas, and a command for identifying writing of data other than data streams.

### Claim 17 (depends on 16)

The device according to claim 16, wherein
the interface is configured to issue a command instructing to prepare a new unit area before issuing a initial write command to write the write data items partially constituting one new data stream in the memory device in the sequential write mode.

### Claim 18 (depends on 16)

The device according to claim 16, wherein
the start command includes information instructing a transition to the sequential write mode and specifying one data stream directed by the start command or information instructing a transition to the second sequential write mode in which the write data items for one data stream are successively written in successive storage areas of the unit area in an order identical to logical addresses of the write data items.
