# US 11,307,786 B2 · Data storage devices and data processing methods

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

- Number: US 11,307,786 B2
- Document ID: US11307786B2
- Status: Granted
- Kind: B2
- Application number: 16/849,333
- Filed: 2020-04-15
- Published: 2020-12-17
- Granted: 2022-04-19
- Earliest claimed: 2019-06-17
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: Kuan-Yu Ke
- Web page: https://patentgrep.com/patent/US11307786B2

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0656: {Data buffering arrangements}
- 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 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage device includes a memory device and a memory controller. The memory controller configures a first predetermined memory block and a second predetermined memory block as buffers to receive data from a host device and determines to use the first or the second predetermined memory block to receive the data according to write addresses of a write command received from the host device. When the write addresses indicate that the data to be written by the host device is management data of a file system of the host device, the memory controller writes the data to the first predetermined memory block. When the write addresses indicate that the data to be written by the host device is not the management data of the file system of the host device, the memory controller writes the data to the second predetermined memory block.

## Claims

### Claim 1

A data storage device, comprising:
a memory device, comprising a plurality of memory blocks; and
a memory controller, coupled to the memory device and configured to access the memory device,
wherein the memory controller is configured to configure a first predetermined memory block and a second predetermined memory block as buffers to receive data from a host device and configured to determine to use the first predetermined memory block or the second predetermined memory block to receive the data according to one or more write addresses corresponding to a write command received from the host device,
wherein when the one or more write addresses indicate that the data to be written by the host device is management data of a file system of the host device, the memory controller is configured to write the data to the first predetermined memory block, and when the one or more write addresses indicate that the data to be written by the host device is not the management data of the file system of the host device, the memory controller is configured to write the data to the second predetermined memory block, and
wherein when a value corresponding to a write address is less than a predetermined value, the memory controller determines that the data to be written by the host device is the management data of the file system of the host device.

### Claim 2 (depends on 1)

The data storage device as claimed in claim 1, wherein the one or more write addresses are logical addresses.

### Claim 3 (depends on 1)

The data storage device as claimed in claim 1, wherein when a value corresponding to a write address falls within a range of logical addresses configured by the host device for storing the management data of the file system of the host device, the memory controller determines that the data to be written by the host device is the management data of the file system of the host device.

### Claim 4 (depends on 1)

The data storage device as claimed in claim 1, wherein the management data of the file system is a file system management table.

### Claim 5 (depends on 1)

The data storage device as claimed in claim 1, wherein the memory device is a flash memory device.

### Claim 6

A data processing method for a data storage device comprising a memory device and a memory controller, wherein the memory device comprises a plurality of memory blocks, the memory controller is coupled to the memory device and configured to access the memory device, and the method is performed by the memory controller and comprises:
configuring a first predetermined memory block and a second predetermined memory block as buffers to receive data from a host device; and
determining to use the first predetermined memory block or the second predetermined memory block to receive the data according to one or more write addresses corresponding to a write command received from the host device,
wherein the step of determining to use the first predetermined memory block or the second predetermined memory block to receive the data according to one or more write addresses corresponding to a write command received from the host device further comprises:
writing the data to the first predetermined memory block when the one or more write addresses indicate that the data to be written by the host device is management data of a file system of the host device; and
writing the data to the second predetermined memory block when the one or more write addresses indicate that the data to be written by the host device is not the management data of the file system of the host device,
wherein when a value corresponding to a write address is less than a predetermined value, it is determined that the data to be written by the host device is the management data of the file system of the host device.

### Claim 7 (depends on 6)

The data processing method as claimed in claim 6, wherein the one or more write addresses are logical addresses.

### Claim 8 (depends on 6)

The data processing method as claimed in claim 6, wherein when a value corresponding to a write address falls within a range of logical addresses configured by the host device for storing the management data of the file system of the host device, the data to be written by the host device is determined as the management data of the file system of the host device.

### Claim 9 (depends on 6)

The data processing method as claimed in claim 6, wherein the management data of the file system is a file system management table.

### Claim 10 (depends on 6)

The data processing method as claimed in claim 6, wherein the memory device is a flash memory device.
