# US 2026/0099368 A1 · Buffer management in flash memory

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

- Number: US 2026/0099368 A1
- Document ID: US20260099368A1
- Status: Published application
- Kind: A1
- Application number: 18/907,588
- Filed: 2024-10-06
- Published: 2026-04-09
- Earliest claimed: 2024-10-06
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: Yi-Cheng Chen; I-Ta Chen; Wen-Shu Chen
- Web page: https://patentgrep.com/patent/US20260099368A1

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 13/1621: {by maintaining request order}
- G06F 13/1663: {Access to shared memory}
- G06F 13/1673: {using buffers}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A buffer management control device for use in a flash memory controller includes: a flag table and a flag management engine. The flag table is configured track availability status of a plurality of allocation units within a shared memory of the flash memory controller. The flag management engine is configured to assign one or more allocation units from the plurality of allocation units for buffering read data related to a host read command, and update the flag table according to the one or more assigned allocation units, thereby indicating that the one or more assigned allocation units are occupied.

## Claims

### Claim 1

A buffer management control device for use in a flash memory controller, comprising:
a flag table, configured to track availability status of a plurality of allocation units within a shared memory of the flash memory controller; and
a flag management engine, configured to assign one or more allocation units from the plurality of allocation units for buffering read data related to a host read command, and update the flag table according to the one or more assigned allocation units, thereby indicating that the one or more assigned allocation units are occupied.

### Claim 2 (depends on 1)

The buffer management control device of claim 1, further comprising:
a flag update buffer, configured to store update information corresponding to one or more completion messages indicative of the read data having been sent to the host device; and
a flag update engine, configured to read the update information from the flag update buffer to send one or more update requests to the flag management engine based on the update information to trigger the flag management engine to update the flag table, thereby releasing the one or more previously assigned allocation units from occupied status.

### Claim 3 (depends on 1)

The buffer management control device of claim 1, wherein the flag table comprises a bitmap or a bit vector, and each bit position of the bitmap or the bit vector corresponds to one of the plurality of allocation units and indicates the availability status of the corresponding allocation unit.

### Claim 4 (depends on 3)

The buffer management control device of claim 3, wherein the flag management engine is configured to maintain a pointer with respect to the bitmap or the bit vector, wherein the pointer tracks a bit position within the bitmap or the bit vector that corresponds to a next potential available allocation unit.

### Claim 5 (depends on 4)

The buffer management control device of claim 4, wherein the flag management engine is configured to update the tracked bit position indicated by the pointer according to a round-robin strategy after assigning the one or more allocation units for buffering the read data.

### Claim 6 (depends on 5)

The buffer management control device of claim 5, wherein the flag management engine is configured to advance the pointer to a next bit position within the bitmap or the bit vector corresponding to a next potential available allocation unit, even if one or more preceding bit positions within the bitmap or the bit vector, corresponding to one or more recently released allocation units, now indicate available status.

### Claim 7 (depends on 3)

The buffer management control device of claim 3, wherein the flag management engine is configured to perform address mapping to translate bit positions within the bitmap or the bit vector to corresponding physical addresses in the shared memory.

### Claim 8 (depends on 7)

The buffer management control device of claim 7, wherein a flash control circuit in the flash memory controller is configured to store the read data into the shared memory based on information regarding the physical addresses provided by the flag management engine.

### Claim 9 (depends on 1)

A flash memory controller comprising a buffer management control device of claim 1.

### Claim 10 (depends on 1)

A data storage device comprising a flash memory controller incorporating a buffer management control device of claim 1 and a flash memory.

### Claim 11

A buffer management control method for use in a flash memory controller, comprising:
utilizing a flag table to track availability status of a plurality of allocation units within a shared memory of the flash memory controller; and
utilizing a flag management engine to assign one or more allocation units from the plurality of allocation units for buffering read data related to a host read command and update the flag table according to the one or more assigned allocation units, thereby indicating that the one or more assigned allocation units are occupied.

### Claim 12 (depends on 11)

The buffer management control method of claim 11, further comprising:
utilizing a flag update buffer to store update information corresponding to one or more completion messages indicative of the read data having been sent to the host device; and
utilizing a flag update engine to read the update information from the flag update buffer to send one or more update requests to the flag management engine based on the update information to trigger the flag management engine to update the flag table, thereby releasing the one or more previously assigned allocation units from occupied status.

### Claim 13 (depends on 11)

The buffer management control method of claim 11, wherein the flag table comprises a bitmap or a bit vector, and each bit position of the bitmap or the bit vector corresponds to one of the plurality of allocation units and indicates the availability status of the corresponding allocation unit.

### Claim 14 (depends on 13)

The buffer management control method of claim 13, wherein step of updating the flag table comprises:
maintaining a pointer with respect to the bitmap or the bit vector, wherein the pointer tracks a bit position within the bitmap or the bit vector that corresponds to a next potential available allocation unit.

### Claim 15 (depends on 14)

The buffer management control method of claim 14, wherein the step of maintaining the pointer comprises:
updating the tracked bit position indicated by the pointer according to a round-robin strategy after assigning the one or more allocation units for buffering the read data.

### Claim 16 (depends on 15)

The buffer management control method of claim 15, wherein the step of maintaining the pointer comprises:
advancing the pointer to a next bit position within the bitmap or the bit vector corresponding to a next potential available allocation unit, even if one or more preceding bit positions within the bitmap or the bit vector, corresponding to one or more recently released allocation units, now indicate available status.

### Claim 17 (depends on 13)

The buffer management control method of claim 13, wherein the step of assigning the one or more allocation units for buffering the read data comprises:
performing address mapping to translate bit positions within the bitmap or the bit vector to corresponding physical addresses in the shared memory.

### Claim 18 (depends on 17)

The buffer management control method of claim 17, further comprising:
storing the read data into the shared memory based on information regarding the physical addresses provided by the flag management engine.
