# US 2006/0155921 A1 · Non-volatile memory and method with multi-stream update tracking

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

- Number: US 2006/0155921 A1
- Document ID: US20060155921A1
- Status: Published application
- Kind: A1
- Application number: 11/192,220
- Filed: 2005-07-27
- Published: 2006-07-13
- Earliest claimed: 2004-12-16
- Assignees: SanDisk Corporation
- Inventors: Sergey Gorobets; Peter Smith; Alan Bennett
- Web page: https://patentgrep.com/patent/US20060155921A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Update data to a non-volatile memory may be recorded in at least two interleaving streams such as either into an update block or a scratch pad block depending on a predetermined condition. The scratch pad block is used to buffered update data that are ultimately destined for the update block. Synchronization information about the order recording of updates among the streams is saved with at least one of the streams. This will allow the most recently written version of data that may exist on multiple memory blocks to be identified. In one embodiment, the synchronization information is saved in a first block and is a write pointer that points to the next recording location in a second block. In another embodiment, the synchronization information is a time stamp.

## Claims

### Claim 1

A method of recording data from a host comprising:
(a) providing first and second nonvolatile storages, each for sequentially recording data units;
(b) designating either the first or second storage as storage for priority information, said priority information allowing determination of whether a first data unit in the first storage was recorded before or after a second data unit in the second storage;
(c) receiving the data from the host;
(d) recording the received data to a next available location in either the first storage or the second storage respectively depending on whether or not a predetermined condition is satisfied;
(e) wherein whenever the received data is being recorded to the designated storage, the priority information is also being recorded thereto; and
(f) repeating (c)-(e) until there is no more received data to be recorded.

### Claim 2 (depends on 1)

A method as in claim 1, wherein each of the first and second storages is organized into a block of memory units that are erasable together.

### Claim 3 (depends on 1)

A method as in claim 1, wherein the first and second storages are part of a flash EEPROM.

### Claim 4 (depends on 1)

A method as in claim 1, wherein said priority information is a write pointer providing an address of the location where a next recording will take place in the non-designated storage.

### Claim 5 (depends on 4)

A method as in claim 4, wherein:
the data from the host is update data for a group of data units;
the first storage is for storing the update data; and
the second storage is for buffering the update data before being transferred to the first storage, and is the designated storage for the priority information.

### Claim 6 (depends on 5)

A method as in claim 5, wherein:
the first storage is one of a plurality of storages for storing update data; and
the second storage is for buffering the update data before being transferred to one of the plurality of the first storages.

### Claim 7 (depends on 5)

A method as in claim 5, further comprising:
organizing the data into data units having a predetermined order; and
organizing the first and second nonvolatile storages into pages, each page for programming together multiple data units having predetermined page offsets.

### Claim 8 (depends on 6)

A method as in claim 6, wherein each page is once-programmable after an erase.

### Claim 9 (depends on 6)

A method as in claim 6, wherein:
the predetermined condition is when one of the received data units has a page-end offset; and
said recording the data to the first storage includes recording to a page of the first storage said page-end data unit and any preceding data units in the page.

### Claim 10 (depends on 6)

A method as in claim 6, wherein the write pointer is recorded to a location of a page unoccupied by data in the second storage.

### Claim 11 (depends on 6)

A method as in claim 6, wherein said write pointer is recorded to a location of a page having a page-end offset in the second storage.

### Claim 12 (depends on 4)

A method as in claim 4, wherein:
the data from the host is update data for a group of data units;
the first storage is for storing the update data, and is designated as storage for the priority information; and
the second storage is for buffering the update data before being transferred to the first storage.

### Claim 13 (depends on 12)

A method as in claim 12, wherein:
the first storage is one of a plurality of storages for storing update data; and
the second storage is for buffering the update data before being transferred to one of the plurality of storages.

### Claim 14 (depends on 12)

A method as in claim 12, further comprising:
organizing the data into data units having a predetermined order; and
organizing the first and second nonvolatile storages into pages, each page for programming together multiple data units having predetermined page offsets.

### Claim 15 (depends on 13)

A method as in claim 13, wherein each page is once-programmable after an erase.

### Claim 16 (depends on 13)

A method as in claim 13, wherein:
the predetermined condition is when one of the received data units has a page-end offset; and
said recording the data to the first storage includes recording to a page of the first storage said page-end data unit and any preceding data units in the page.

### Claim 17 (depends on 13)

A method as in claim 13, wherein the write pointer is recorded to a location of the page unoccupied by data in the first storage.

### Claim 18 (depends on 13)

A method as in claim 13, wherein:
the data units are individually partitioned into a data portion and an overhead portion; and
the write pointer is recorded in an overhead portion of at least one of the data units of the page in the first storage.

### Claim 19 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)

A method as in any one of claims 1-18, wherein the first and second nonvolatile storages are constituted from memory cells that individually store one bit of data.

### Claim 20 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)

A method as in any one of claims 1-18, wherein said first and second nonvolatile storages are constituted from memory cells that individually store more than one bit of data.

### Claim 21

A nonvolatile memory comprising:
a memory organized into a plurality of blocks, each block being a plurality of memory units that are erasable together, each memory unit for storing a data unit;
a controller for controlling operations of said blocks;
first and second blocks, each for sequentially recording data units;
priority information for allowing determination of whether a first data unit in the first block was recorded before or after a second data unit in the second block;
a designated block designated from one of said first and second blocks for storing said priority information;
a buffer for receiving the data from the host;
said controller controlling recording of the received data to a next available location in either said first block or said second block respectively depending on whether or not a predetermined condition is satisfied; and
wherein said priority information is being stored in said designated block whenever the received data is being recorded to the designated block.

### Claim 22 (depends on 21)

A nonvolatile memory as in claim 21, wherein said nonvolatile memory is flash EEPROM.

### Claim 23 (depends on 21)

A nonvolatile memory as in claim 21, wherein said nonvolatile memory is in the form of a removable memory card.

### Claim 24 (depends on 21)

A nonvolatile memory as in claim 21, wherein:
said priority information is a write pointer providing an address of the location where a recording will take place in the non-designated block.

### Claim 25 (depends on 24)

A nonvolatile memory as in claim 24, wherein:
said data from the host is update data for a group of data units;
said first block is for storing said update data; and
said second block is for buffering said update data before being transferred to the first block, and is designated for storing said priority information.

### Claim 26 (depends on 25)

A nonvolatile memory as in claim 25, wherein:
said first block is one of a plurality of blocks for storing update data; and
said second blocks is for buffering the update data before being transferred to one of the plurality of said first blocks.

### Claim 27 (depends on 25)

A nonvolatile memory as in claim 25, wherein:
the data is organized into data units having a predetermined order; and
said first and second blocks are organized into pages, each page for programming together multiple data units having predetermined page offsets.

### Claim 28 (depends on 26)

A nonvolatile memory as in claim 26, wherein each page is once-programmable after an erase.

### Claim 29 (depends on 26)

A nonvolatile memory as in claim 26, wherein:
the predetermined condition is when one of the received data units has a page-end offset; and
said controller controlling recording the data to said first block includes recording to a page of said first block said page-end data unit and any preceding data units in the page.

### Claim 30 (depends on 26)

A nonvolatile memory as in claim 26, wherein said write pointer is recorded to a location of a page unoccupied by data in said second block.

### Claim 31 (depends on 26)

A nonvolatile memory as in claim 26, wherein said write pointer is recorded to a location of a page having a page-end offset in said second block.

### Claim 32 (depends on 24)

A nonvolatile memory as in claim 24, wherein:
said data from the host is update data for a group of data units;
said first block is for storing said update data, and is designated for storing said priority information; and
said second block is for buffering said update data before being transferred to the first block.

### Claim 33 (depends on 32)

A nonvolatile memory as in claim 32, wherein:
said first block is one of a plurality of blocks for storing update data; and
said second blocks is for buffering the update data before being transferred to one of the plurality of said first blocks.

### Claim 34 (depends on 32)

A nonvolatile memory as in claim 32, wherein:
the data is organized into data units having a predetermined order; and
said first and second blocks are organized into pages, each page for programming together multiple data units having predetermined page offsets.

### Claim 35 (depends on 32)

A nonvolatile memory as in claim 32, wherein each page is once-programmable after an erase.

### Claim 36 (depends on 35)

A nonvolatile memory as in claim 35, wherein:
the predetermined condition is when one of the received data units has a page-end offset; and
said controller controlling recording the data to said first block includes recording to a page of said first block said page-end data unit and any preceding data units in the page.

### Claim 37 (depends on 35)

A nonvolatile memory as in claim 35, wherein said write pointer is recorded to a location of a page unoccupied by data in said first block.

### Claim 38 (depends on 35)

A nonvolatile memory as in claim 35, wherein the data units are individually partitioned into a data portion and an overhead portion; and
said write pointer is recorded to a an overhead portion of at least one of the data units of the page in said first block.

### Claim 39

A nonvolatile memory comprising:
a memory organized into a plurality of blocks, each block being a plurality of memory units that are erasable together, each memory unit for storing a logical unit of data;
first and second blocks, each for sequentially recording data from a host;
a write pointer pointing to the next recording location of said first block;
a designated block designated from one of said first and second blocks for storing said write pointer;
a buffer for receiving the data from the host;
means for recording the received data to a next available location in either said first block or said second block respectively depending on whether or not a predetermined condition is satisfied; and
wherein said write pointer is being stored in said designated block whenever the received data is being recorded to the designated block.

### Claim 40 (depends on 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)

A nonvolatile memory as in any one of claims 21-39, wherein the first and second nonvolatile storages are constituted from memory cells that individually store one bit of data.

### Claim 41 (depends on 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)

A nonvolatile memory as in any one of claims 21-39, wherein said first and second nonvolatile storages are constituted from memory cells that individually store more than one bit of data.

### Claim 42

A method of recording data from a host comprising:
(a) providing first and second nonvolatile storages, each for sequentially recording data units;
(b) receiving the data from the host;
(d) recording the data and a time stamp indicating the recording time to a next available location in either the first storage or the second storage respectively depending on whether or not a predetermined condition is satisfied;
(e) repeating (b)-(d) until there is no more data to be recorded.

### Claim 43 (depends on 42)

A method as in claim 42, wherein each of the first and second storages is for storing a block of memory units that are erasable together.

### Claim 44 (depends on 42)

A method as in claim 42, wherein the first and second storages are part of a flash EEPROM.

### Claim 45 (depends on 42)

A method as in claim 42, wherein:
the data from the host is update data for a group of data units;
the first storage is for storing the update data; and
the second storage is for buffering the update data before being transferred to the first storage.

### Claim 46 (depends on 45)

A method as in claim 45, wherein:
the first storage is one of a plurality of storages for storing update data; and
the second storage is for buffering the update data before being transferred to one of the plurality of the first storages.

### Claim 47 (depends on 42)

A method as in claim 42, further comprising:
organizing the data into data units with a predetermined order; and
organizing first and second nonvolatile storages into pages, each page for programming together multiple data units with predetermined page offsets.

### Claim 48 (depends on 47)

A method as in claim 47, wherein each page is once-programmable after an erase.

### Claim 49 (depends on 47)

A method as in claim 47, wherein:
said predetermined condition is when one of the received data units has a page-end offset; and
said recording the data to the first storage includes recording said page-end data unit and any preceding ones to a page of the first storage.

### Claim 50 (depends on 47)

A method as in claim 47, wherein the data units are individually partitioned into a data portion and an overhead portion; and
said time stamp is recorded in an overhead portion of at least one of the data units of each page.

### Claim 51 (depends on 42, 43, 44, 45, 46, 47, 48, 49, 50)

A method as in any one of claims 42-50, wherein the first and second nonvolatile storages are constituted from memory cells that individually store one bit of data.

### Claim 52 (depends on 42, 43, 44, 45, 46, 47, 48, 49, 50)

A method as in any one of claims 42-50, wherein said first and second nonvolatile storages are constituted from memory cells that individually store more than one bit of data.

### Claim 53

A nonvolatile memory of recording data from a host comprising:
a memory organized into a plurality of blocks, each block being a plurality of memory units that are erasable together, each memory unit for storing a logical unit of data;
a controller for controlling operations of said blocks;
first and second blocks, each for sequentially recording data from a host; and
said controller controlling recording of the data and a time stamp indicating the recording time to either said first block or said second block respectively depending on whether or not a predetermined condition is satisfied.

### Claim 54 (depends on 53)

A nonvolatile memory as in claim 53, wherein said nonvolatile memory is flash EEPROM

### Claim 55 (depends on 53)

A nonvolatile memory as in claim 53, wherein said nonvolatile memory is in the form of a removable memory card.

### Claim 56 (depends on 53)

A nonvolatile memory as in claim 53, wherein:
said data from the host is update data for a group of data units;
said first block is for storing said update data; and
said second block is for buffering said update data before being transferred to the first block.

### Claim 57 (depends on 56)

A nonvolatile memory as in claim 56, wherein:
the data is organized into data units having a predetermined order; and
said first and second blocks are organized into pages, each page for programming together multiple data units having predetermined page offsets.

### Claim 58 (depends on 57)

A nonvolatile memory as in claim 57, wherein each page is once-programmable after an erase.

### Claim 59 (depends on 57)

A nonvolatile memory as in claim 57, wherein:
said predetermined condition is when one of the received data units has a page-end offset; and
said controller controlling recording the data to said first block includes recording to a page of said first block said page-end data unit and any preceding data units in the page.

### Claim 60 (depends on 57)

A nonvolatile memory as in claim 57, wherein said time stamp is recorded to a location of a page unoccupied by data.

### Claim 61 (depends on 57)

A nonvolatile memory as in claim 57, wherein the data units are individually partitioned into a data portion and an overhead portion; and
said time stamp is recorded in an overhead portion of the individual data units of a page.

### Claim 62

A nonvolatile memory of recording data from a host comprising:
a memory organized into a plurality of blocks, each block being a plurality of memory units that are erasable together, each memory unit for storing a logical unit of data;
first and second blocks, each for sequentially recording data from a host; and
means for recording of the data and a time stamp indicating the recording time either to a first block or a second block respectively depending on whether or not a predetermined condition is satisfied.

### Claim 63 (depends on 53, 54, 55, 56, 57, 58, 59, 60, 61, 62)

A nonvolatile memory as in any one of claims 53-62, wherein the first and second nonvolatile storages are constituted from memory cells that individually store one bit of data.

### Claim 64 (depends on 53, 54, 55, 56, 57, 58, 59, 60, 61, 62)

A nonvolatile memory as in any one of claims 53-62, wherein said first and second nonvolatile storages are constituted from memory cells that individually store more than one bit of data.
