# US 2013/0254629 A1 · Data accessing method for flash memory module

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

- Number: US 2013/0254629 A1
- Document ID: US20130254629A1
- Status: Published application
- Kind: A1
- Application number: 13/901,239
- Filed: 2013-05-23
- Published: 2013-09-26
- Earliest claimed: 2008-02-21
- Assignees: Phison Electronics Corp.
- Applicants: Phison Electronics Corp.
- Inventors: Kuo-Yi Cheng; Chih-Kang Yeh
- Web page: https://patentgrep.com/patent/US20130254629A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- H03M 13/05: using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits {(H03M13/2906 takes precedence)}
- H03M 13/27: using interleaving techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A storage apparatus is provided. The controller of the storage apparatus includes an error correction module and a data disordering module. The error correction module is configured to perform an error correction procedure for a data packet to be written into a flash memory module of the storage apparatus for generating sequence data codes containing the data packet and corresponding error correcting codes, wherein the data packet includes a data area recording data to be written and a spare area recording data related to the data packet. The data disordering module is configured to convert the sequence data codes into non-sequence data codes, wherein the data of the data area and the spare area and error correcting codes are dispersed in the non-sequence data codes. Accordingly, it is possible to effectively increase the safety of the data packet.

## Claims

### Claim 1

A data accessing method, suitable for a flash memory module, and the data accessing method comprising:
performing an error correction encoding for a data packet to be stored in the flash memory module to generate a sequence data code containing the data packet and a corresponding error correction code of the data packet, wherein the data packet comprises user data and system data related to the user data;
converting the sequence data code into a non-sequence data code, wherein the user data, the system data, and the error correction code are dispersed in the non-sequence data code; and
transmitting the non-sequence data code to the flash memory module.

### Claim 2 (depends on 1)

The data accessing method as claimed in claim 1, further comprising:
reading the non-sequence data code from the flash memory module; and
converting the non-sequence data code for restoring the sequence data code; and
performing an error correction for the data packet within the sequence data code according to the error correction code within the sequence data code.

### Claim 3 (depends on 1)

The data accessing method as claimed in claim 1, further comprising encrypting and decrypting the sequence data code.

### Claim 4 (depends on 1)

The data accessing method as claimed in claim 1, wherein step of converting the sequence data code into the non-sequence data code comprises:
dividing the sequence data code into a plurality of sub sequence data codes; and
exchanging data of at least two bytes within each of the sub sequence data code for generating the non-sequence data code containing a plurality of sub non-sequence data codes.

### Claim 5 (depends on 1)

The data accessing method as claimed in claim 1, wherein step of transmitting the non-sequence data code to the flash memory module comprises transmitting the non-sequence data code to the flash memory in a unit of each sub non-sequence data code.

### Claim 6 (depends on 1)

The data accessing method as claimed in claim 1, wherein step of performing the error correction encoding for the data packet comprises performing the error correction encoding for each byte of the data packet with a non-sequential approach.

### Claim 7 (depends on 1)

The data accessing method as claimed in claim 1, wherein the flash memory module comprises a plurality of pages, and each of the plurality of pages comprises a data area and a spare area, the user data is to be stored in the data area, the system data is to be stored in the spare area, and the step of converting the sequence data code into the non-sequence data code comprises:
dispersing the user data, the system data and the error correction code in the sequence data code so to convert the sequence data code into the non-sequence data code.
