# US 8,577,869 B2 · Data storage method for an electronic device

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

- Number: US 8,577,869 B2
- Document ID: US8577869B2
- Status: Granted
- Kind: B2
- Application number: 13/214,242
- Filed: 2011-08-22
- Published: 2011-12-08
- Granted: 2013-11-05
- Earliest claimed: 2008-04-03
- Assignees: Wistron Corporation
- Applicants: Chia-Ching Tsai
- Inventors: Chia-Ching Tsai
- Web page: https://patentgrep.com/patent/US8577869B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

To prevent memory cells from being damaged, the present invention provides a data storage method for an electronic device, which comprises dividing a first section of a memory of the electronic device into N blocks, wherein each of the N blocks is corresponding to a sequence number and assigned an index value; rewriting an assigned index value corresponding to an nth block of the N blocks according to index values corresponding to the N blocks; storing an input data in the nth block; and rewriting the nth block by stored data in the (n−1)th block before storing the input data in the nth block when the index values corresponding to the N blocks are not identical such that a number of times of accessing sections of the memory is averaged, to prevent the memory from being damaged; wherein N is an integer greater than or equal to 1, and 1≦n≦N.

## Claims

### Claim 1

A data storage method for an electronic device, comprising:
dividing a first section of a memory of the electronic device into N blocks, wherein each of the N blocks is corresponding to a sequence number and assigned an index value;
determining whether the index values corresponding to the N blocks are identical;
rewriting an assigned index value corresponding to an nth block of the N blocks according to index values corresponding to the N blocks;
rewriting the nth block by stored data in the (n−1)th block when the index values corresponding to the N blocks are determined to be not identical; and
storing an input data in the nth block;
wherein N is an integer greater than or equal to 1, and 1≦n≦N;
wherein a number of times of accessing sections of the memory is averaged, to prevent the memory from being damaged.

### Claim 2 (depends on 1)

The data storage method of claim 1, wherein n is equal to 1 when the index values corresponding to the N blocks are identical.

### Claim 3 (depends on 2)

The data storage method of claim 2 further comprising:
rewriting the first block by stored data in the Nth block before storing the input data in the first block.

### Claim 4 (depends on 3)

The data storage method of claim 3, wherein the step of rewriting the first block by stored data in the Nth block is executed when the electronic device is turned on.

### Claim 5 (depends on 1)

The data storage method of claim 1, wherein the step of rewriting the nth block by stored data in the (n−1)th block is executed when the electronic device is turned on.

### Claim 6 (depends on 1)

The data storage method of claim 1, wherein the index value corresponding to the nth block is stored in the nth block.

### Claim 7 (depends on 1)

The data storage method of claim 1, wherein index values of the N blocks are stored in a second section of the memory.

### Claim 8 (depends on 1)

The data storage method of claim 1 further comprising:
storing an initial data in the first block before each block is assigned an initial index value.

### Claim 9 (depends on 1)

The data storage method of claim 1 further comprising:
storing an initial data in the first block and copying the initial data to remaining blocks of the N blocks in order before each block is assigned an initial index value.

### Claim 10 (depends on 1)

The data storage method of claim 1 further comprising:
dividing each of the N blocks into a plurality of sub-blocks.

### Claim 11 (depends on 1)

The data storage method of claim 1, wherein the electronic device is a television remote controller.
