# US 2026/0093408 A1 · Storage management method and storage management device

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

- Number: US 2026/0093408 A1
- Document ID: US20260093408A1
- Status: Published application
- Kind: A1
- Application number: 19/272,000
- Filed: 2025-07-17
- Published: 2026-04-02
- Earliest claimed: 2024-09-27
- Assignees: Sigmastar Technology Ltd.
- Applicants: SigmaStar Technology Ltd.
- Inventors: Yan Qing WANG; Xin ZHANG; Yan Xiong WU
- Web page: https://patentgrep.com/patent/US20260093408A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0613: {in relation to throughput}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage management method accesses a storage apparatus including multiple blocks by a file system. The file system includes multiple logical blocks mapped to the blocks, and each of the logical blocks has a logical block number. The storage management method includes: receiving a first storage request to store first data of a first type; dividing a first logical block of the logical blocks into multiple logical sub-blocks in response to the first storage request; allocating a first logical sub-block of the logical sub-blocks to the first data; and generating a first logical identification code mapped to the first logical sub-block so as to record in the first logical identification code a status flag of the first type corresponding to a first value, a logical sub-block number of the first logical sub-block, and a logical block number of the first logical block.

## Claims

### Claim 1

A storage management method, accessing a storage apparatus by a file system, the storage apparatus comprising a plurality of blocks, the file system comprising a plurality of logical blocks mapped to the plurality of blocks, each of the plurality of logical blocks having a logical block number; the storage management method comprising:
receiving a first storage request to store first data of a first type;
dividing a first logical block of the plurality of logical blocks into a plurality of logical sub-blocks in response to the first storage request;
allocating a first logical sub-block of the plurality of logical sub-blocks to the first data;
generating a first logical identification code mapped to the first logical sub-block to record, in the first logical identification code, a status flag of the first type corresponding to a first value, a logical sub-block number of the first logical sub-block and a logical block number of the first logical block;
receiving a second storage request to store second data of a second type;
allocating a second logical block of the plurality of the logical blocks to the second data in response to the second storage request; and
generating a second logical identification code mapped to the second logical block to record, in the second logical identification code, a status flag of the second type corresponding to a second value, a predetermined logical sub-block number and a logical block number of the second logical block.

### Claim 2 (depends on 1)

The storage management method according to claim 1, wherein the dividing of the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
generating and recording a plurality of logical sub-block numbers for labeling the plurality of logical sub-blocks.

### Claim 3 (depends on 1)

The storage management method according to claim 1, wherein the dividing of the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
configuring a usage flag for each of the plurality of logical sub-blocks; and
when the first logical sub-block is allocated to the first data, updating the usage flag of the first logical sub-block.

### Claim 4 (depends on 3)

The storage management method according to claim 3, further comprising:
searching for an available logical sub-block according to the usage flags of the plurality of logical sub-blocks in response to an allocation instruction generated according to the first storage request;
if the available logical sub-block is searched, generating a logical identification code according to the first type, the logical sub-block number of the available logical sub-block and the logical block number of the logical block corresponding to the available logical sub-block; and
if no available logical sub-block is searched, searching for a third logical block which is available from the plurality of logical blocks.

### Claim 5 (depends on 1)

The storage management method according to claim 1, wherein the dividing of the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
generating a plurality of logical identification codes mapped to the plurality of logical sub-blocks, each of the plurality of logical identification codes having a status flag in an initial value;
searching for an available logical sub-block from the plurality of logical sub-blocks according to the status flags recorded in the logical identification codes of the plurality of logical sub-blocks in response to an allocation instruction generated according to the first storage request;
if the available logical sub-block is searched, updating the status flag in the initial value of the available logical sub-block to the status flag in the first value; and
if no available logical sub-block is searched, searching for a third logical block which is available from the plurality of logical blocks.

### Claim 6 (depends on 1)

The storage management method according to claim 1, wherein the logical identification code occupies a predetermined number of bits; in the logical identification code, a first number of bits are for recording the status flag, a second number of bits are for recording the logical sub-block number and a third number of bits are for recording the logical block number, and a sum of the first, second and third numbers of bits is equal to or less than the predetermined number of bits.

### Claim 7 (depends on 1)

The storage management method according to claim 1, further comprising:
receiving a read request to read data, the read request comprising a logical identification code;
identifying a status flag recorded in the logical identification code in the read request;
if the status flag is the first value, determining a read address according to the logical block number and the logical sub-block number in the logical identification code in the read request to accordingly read the data; and
if the status flag is the second value, determining a read address according to the logical block number of the logical identification code in the read request to accordingly read the data.

### Claim 8 (depends on 1)

The storage management method according to claim 1, further comprising:
obtaining a write instruction which comprises a logical identification code;
identifying a status flag recorded in the logical identification code in the write request;
if the status flag is the first value, determining a write address according to the logical block number and the logical sub-block number in the logical identification code in the write request;
if the status flag is the second value, determining a write address according to the logical block number in the logical identification code in the write request.

### Claim 9 (depends on 1)

The storage management method according to claim 1, further comprising:
obtaining an erase request which comprises a logical identification code;
identifying a status flag recorded in the logical identification code in the erase request;
if the status flag is a third value, obtaining all status flags mapped to the logical block number in the erase request, and when all of the status flags obtained are the third value, erasing data in the logical block corresponding to the logical identification code in the erase request; or
if the status flag is the second value, erasing data in the logical block corresponding to the logical identification code in the erase request.

### Claim 10

A storage management device, accessing a storage apparatus by a file system, the storage apparatus comprising a plurality of blocks, the file system comprising a plurality of logical blocks mapped to the plurality of blocks, each of the plurality of logical blocks having a logical block number; the storage management device comprising:
a processor, performing, according to at least one instruction in a memory, steps of:
receiving a first storage request to store first data of a first type;
dividing a first logical block of the plurality of logical blocks into a plurality of logical sub-blocks in response to the first storage request;
allocating a first logical sub-block of the plurality of logical sub-blocks to the first data;
generating a first logical identification code mapped to the first logical sub-block to record, in the first logical identification code, a status flag of the first type corresponding to a first value, a logical sub-block number of the first logical sub-block and a logical block number of the first logical block;
receiving a second storage request to store second data of a second type;
allocating a second logical block of the plurality of the logical blocks to the second data in response to the second storage request; and
generating a second logical identification code mapped to the second logical block to record, in the second logical identification code, a status flag of the second type corresponding to a second value, a predetermined logical sub-block number and a logical block number of the second logical block.

### Claim 11 (depends on 10)

The storage management device according to claim 10, wherein the step of the processor dividing the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
generating and recording a plurality of logical sub-block numbers for labeling the plurality of logical sub-blocks.

### Claim 12 (depends on 10)

The storage management device according to claim 10, wherein the step of the processor dividing the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
configuring a usage flag for each of the plurality of logical sub-blocks; and
when the first logical sub-block is allocated to the first data, updating the usage flag of the first logical sub-block.

### Claim 13 (depends on 12)

The storage management device according to claim 12, wherein the processor further performs, according to the at least one instruction in the memory, steps of:
searching for an available logical sub-block according to the usage flags of the plurality of logical sub-blocks in response to an allocation instruction generated according to the first storage request;
if the available logical sub-block is searched, generating a logical identification code according to the first type, the logical sub-block number of the available logical sub-block and the logical block number of the logical block corresponding to the available logical sub-block; and
if no available logical sub-block is searched, searching for a third logical block which is available from the plurality of logical blocks.

### Claim 14 (depends on 10)

The storage management device according to claim 10, wherein the step of the processor dividing the first logical block of the plurality of logical blocks into the plurality of logical sub-blocks comprises:
generating a plurality of logical identification codes mapped to the plurality of logical sub-blocks, each of the plurality of logical identification codes having a status flag in an initial value;
searching for an available logical sub-block from the plurality of logical sub-blocks according to the status flags recorded in the logical identification codes of the plurality of logical sub-blocks in response to an allocation instruction generated according to the first storage request;
if the available logical sub-block is searched, updating the status flag in the initial value of the available logical sub-block to the status flag in the first value; and
if no available logical sub-block is searched, searching for a third logical block which is available from the plurality of logical blocks.

### Claim 15 (depends on 10)

The storage management device according to claim 10, wherein the logical identification code occupies a predetermined number of bits, in the logical identification code, a first number of bits are for recording the status flag, a second number of bits are for recording the logical sub-block number and a third number of bits are for recording the logical block number, and a sum of the first, second and third numbers of bits is equal to or less than the predetermined number of bits.

### Claim 16 (depends on 10)

The storage management device according to claim 10, wherein the processor further performs, according to the at least one instruction in the memory, steps of:
receiving a read request to read data, the read request comprising a logical identification code;
identifying a status flag recorded in the logical identification code in the read request;
if the status flag is the first value, determining a read address according to the logical block number and the logical sub-block number in the logical identification code in the read request to accordingly read the data; and
if the status flag is the second value, determining a read address according to the logical block number of the logical identification code in the read request to accordingly read the data.

### Claim 17 (depends on 10)

The storage management device according to claim 10, wherein the processor further performs, according to the at least one instruction in the memory, steps of:
obtaining a write instruction which comprises a logical identification code;
identifying a status flag recorded in the logical identification code in the write request;
if the status flag is the first value, determining a write address according to the logical block number and the logical sub-block number in the logical identification code in the write request;
if the status flag is the second value, determining a write address according to the logical block number in the logical identification code in the write request.

### Claim 18 (depends on 10)

The storage management device according to claim 10, wherein the processor further performs, according to the at least one instruction in the memory, steps of:
obtaining an erase request which comprises a logical identification code;
identifying a status flag recorded in the logical identification code in the erase request;
if the status flag is a third value, obtaining all status flags mapped to the logical block number in the erase request, and when all of the status flags obtained are the third value, erasing data in the logical block corresponding to the logical identification code in the erase request; or
if the status flag is the second value, erasing data in the logical block corresponding to the logical identification code in the erase request.
