# US 2026/0064581 A1 · Control method of flash memory controller and associated memory device

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

- Number: US 2026/0064581 A1
- Document ID: US20260064581A1
- Status: Published application
- Kind: A1
- Application number: 18/822,295
- Filed: 2024-09-02
- Published: 2026-03-05
- Earliest claimed: 2024-09-02
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: Tzu-Yi Yang
- Web page: https://patentgrep.com/patent/US20260064581A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0611: {in relation to response time}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a control method of a flash memory controller, wherein the flash memory controller is configured to access a flash memory module. The flash memory controller includes the steps of: selecting a block within the flash memory module, wherein the block is a blank block; writing data into the block; after the block is full, determining an amount of data from a host device written into the block, wherein the host device is external to the flash memory controller; and determining if the host device is performing a sequential write operation to write the data with consecutive logical addresses into the block according to a size of the block and the amount of data from the host device written into the block.

## Claims

### Claim 1

A control method of a flash memory controller, wherein the flash memory controller is configured to access a flash memory module, and the control method comprises:
receiving at least one write command from a host device;
in response to the at least one write command:
selecting a block within the flash memory module, wherein the block is a blank block;
writing data into the block;
after the block is full, determining an amount of data from the host device written into the block, wherein the host device is external to the flash memory controller; and
determining if a sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to a size of the block and the amount of data from the host device written into the block.

### Claim 2 (depends on 1)

The control method of claim 1, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, using the variable to determine the amount of data from the host device written into the block.

### Claim 3 (depends on 1)

The control method of claim 1, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data not from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, determining the amount of data from the host device written into the block by subtracting the variable by the size of the block.

### Claim 4 (depends on 1)

The control method of claim 1, further comprising:
before writing the data into the block, referring to a variable to get a first value, wherein the variable is used to record a total amount of data received by the flash memory controller from the host device;
after the block is full, referring to the variable to get a second value; and
the step of determining the amount of data from the host device written into the block comprises:
determining the amount of data from the host device written into the block by subtracting the first value by the second value.

### Claim 5 (depends on 1)

The control method of claim 1, wherein the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation has been performed by the host device by determining if a ratio between the amount of data from the host device written into the block and the size of the block is greater than a predetermined threshold; and
if the ratio between the amount of data from the host device written into the block and the size of the block is greater than the predetermined threshold, determining that the sequential write operation has been performed by the host device.

### Claim 6 (depends on 1)

The control method of claim 1, wherein the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation has been performed by the host device by determining if a difference between the amount of data from the host device written into the block and the size of the block is less than a predetermined threshold; and
if the difference between the amount of data from the host device written into the block and the size of the block is less than the predetermined threshold, determining that the sequential write operation has been performed by the host device.

### Claim 7 (depends on 1)

The control method of claim 1, further comprising:
determining a number of logical-to-physical (L2P) mapping tables that are updated during writing the data into the block, wherein each of the L2P mapping tables records a plurality of consecutive logical addresses and corresponding physical addresses in the flash memory module; and
the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block, and the number of L2P mapping tables that are updated during writing the data into the block.

### Claim 8

A flash memory controller, wherein the flash memory controller is configured to access a flash memory module, and the flash memory controller comprises:
a read only memory, configured to store a program code; and
a microprocessor, configured to execute the program code to a control access of the flash memory module;
wherein the microprocessor is configured to perform the steps of:
receiving at least one write command from a host device;
in response to the at least one write command:
selecting a block within the flash memory module, wherein the block is a blank block;
writing data into the block;
after the block is full, determining an amount of data from the host device written into the block, wherein the host device is external to the flash memory controller; and
determining if a sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to a size of the block and the amount of data from the host device written into the block.

### Claim 9 (depends on 8)

The flash memory controller of claim 8, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, using the variable to determine the amount of data from the host device written into the block.

### Claim 10 (depends on 8)

The flash memory controller of claim 8, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data not from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, determining the amount of data from the host device written into the block by subtracting the variable by the size of the block.

### Claim 11 (depends on 8)

The flash memory controller of claim 8, further comprising:
before writing the data into the block, referring to a variable to get a first value, wherein the variable is used to record a total amount of data received by the flash memory controller from the host device;
after the block is full, referring to the variable to get a second value; and
the step of determining the amount of data from the host device written into the block comprises:
determining the amount of data from the host device written into the block by subtracting the first value by the second value.

### Claim 12 (depends on 8)

The flash memory controller of claim 8, wherein the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation has been performed by the host device by determining if a ratio between the amount of data from the host device written into the block and the size of the block is greater than a predetermined threshold; and
if the ratio between the amount of data from the host device written into the block and the size of the block is greater than the predetermined threshold, determining that the sequential write operation has been performed by the host device.

### Claim 13 (depends on 8)

The flash memory controller of claim 8, wherein the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation has been performed by the host device by determining if a difference between the amount of data from the host device written into the block and the size of the block is less than a predetermined threshold; and
if the difference between the amount of data from the host device written into the block and the size of the block is less than the predetermined threshold, determining that the sequential write operation has been performed by the host device.

### Claim 14 (depends on 8)

The flash memory controller of claim 8, further comprising:
determining a number of logical-to-physical (L2P) mapping tables that are updated during writing the data into the block, wherein each of the L2P mapping tables records a plurality of consecutive logical addresses and corresponding physical addresses in the flash memory module; and
the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block, and the number of L2P mapping tables that are updated during writing the data into the block.

### Claim 15

A memory device, comprising:
a flash memory module; and
a flash memory controller, configured to access the flash memory module;
wherein the flash memory controller is configured to perform the steps of:
receiving at least one write command from a host device;
in response to the at least one write command:
selecting a block within the flash memory module, wherein the block is a blank block;
writing data into the block;
after the block is full, determining an amount of data from the host device written into the block, wherein the host device is external to the flash memory controller; and
determining if a sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to a size of the block and the amount of data from the host device written into the block.

### Claim 16 (depends on 15)

The memory device of claim 15, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, using the variable to determine the amount of data from the host device written into the block.

### Claim 17 (depends on 15)

The memory device of claim 15, further comprising:
before writing the data into the block, resetting a variable indicating the amount of data not from the host device that is written into the flash memory module; and
updating the variable according to the amount of data that is written into the block; and
the step of determining the amount of data from the host device written into the block comprises:
after the block is full, determining the amount of data from the host device written into the block by subtracting the variable by the size of the block.

### Claim 18 (depends on 15)

The memory device of claim 15, further comprising:
before writing the data into the block, referring to a variable to get a first value, wherein the variable is used to record a total amount of data received by the flash memory controller from the host device;
after the block is full, referring to the variable to get a second value; and
the step of determining the amount of data from the host device written into the block comprises:
determining the amount of data from the host device written into the block by subtracting the first value by the second value.

### Claim 19 (depends on 15)

The memory device of claim 15, further comprising:
determining a number of logical-to-physical (L2P) mapping tables that are updated during writing the data into the block, wherein each of the L2P mapping tables records a plurality of consecutive logical addresses and corresponding physical addresses in the flash memory module; and
the step of determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block comprises:
determining if the sequential write operation to write the data with consecutive logical addresses into the block has been performed by the host device, according to the size of the block and the amount of data from the host device written into the block, and the number of L2P mapping tables that are updated during writing the data into the block.
