# US 2010/0169555 A1 · Method of writing data into flash memory based on file system

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

- Number: US 2010/0169555 A1
- Document ID: US20100169555A1
- Status: Published application
- Kind: A1
- Application number: 12/632,668
- Filed: 2009-12-07
- Published: 2010-07-01
- Earliest claimed: 2008-12-26
- Assignees: ASMedia Technology Inc.
- Inventors: Chien-Ping Chung; Chia-Hsin Chen; Ming-Che Liu
- Web page: https://patentgrep.com/patent/US20100169555A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7202: Allocation control and policies
- G06F 2212/7206: Reconfiguration of flash memory system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of writing data into flash memory based on OS file system is provided. The method includes steps of: obtaining a data start position of a data area in a first partition of a flash memory; converting the data start position into a first block number and a first page number; calculating an offset and adding the offset to the first page number to be an updated first page number when the first page number is not an integer; and, setting the first block number and the updated first page number as a new data start position of the data area and writing a first data according to the new data start position.

## Claims

### Claim 1

A method of writing data into a flash memory based on file system, comprising the following steps:
obtaining a data start position of a data area in a first partition of the flash memory;
converting the data start position into a first block number and a first page number;
when the first page number is not an integer, calculating an offset and adding the offset to the first page number to be an updated first page number; and
setting the first block number and the updated first page number as a new data start position of the data area, and writing a first data into the flash memory according to the new data start position.

### Claim 2 (depends on 1)

The method of writing data into a flash memory based on file system of claim 1, wherein the flash memory comprises a thumb drive, a compact flash (CF) memory card, a secure digital (SD) memory card, or a multi media card (MMC).

### Claim 3 (depends on 1)

The method of writing data into a flash memory based on file system of claim 1, wherein a partition start position of the first partition is recorded in a disk primary partition table of a master boot record (MBR) in the flash memory.

### Claim 4 (depends on 3)

The method of writing data into a flash memory based on file system of claim 3, wherein the master boot record is used for recording a sector unit managed by the first partition, so that the data area is divided into a plurality of data sub-areas according to the new data start position and the sector unit.

### Claim 5 (depends on 3)

The method of writing data into a flash memory based on file system of claim 3, wherein the first partition further comprises a management table, and the data start position is equal to the partition start position plus a size of the management table.

### Claim 6 (depends on 3)

The method of writing data into a flash memory based on file system of claim 3, wherein the master boot record is used for recording a file system type of the first partition.

### Claim 7 (depends on 6)

The method of writing data into a flash memory based on file system of claim 6, wherein the file system type comprises a file allocation table 12 file system (FAT 12), a file allocation table 16 file system (FAT 16), a file allocation table 32 file system (FAT 32), a new technology file system (NTFS), a second extended file system (EXT 2), or a third extended file system (EXT 3).
