# US 2021/0279171 A1 · Data storage system capable of performing interleaving scatter transmissions or interleaving gather transmissions

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

- Number: US 2021/0279171 A1
- Document ID: US20210279171A1
- Status: Published application
- Kind: A1
- Application number: 17/183,314
- Filed: 2021-02-23
- Published: 2021-09-09
- Earliest claimed: 2020-03-03
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corp.
- Inventors: YUEFENG CHEN; XUANMING LIU
- Web page: https://patentgrep.com/patent/US20210279171A1

## CPC

- G06F 12/0607: {Interleaved addressing}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 13/1673: {using buffers}
- G06F 13/1684: {using multiple buses}
- G06F 2212/1016: Performance improvement
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage system includes a first memory, a second memory, and a memory controller. The memory controller transmits a first data segment from the first memory to the second memory according to an initial address, adds a first interval value to the initial address to generate a succeeding address, and updates a stream number. When the stream number has not reached a target stream number, the memory controller transmits second data segment from the first memory to the second memory according to the succeeding address, and updates the stream number. When the stream number has reached the target stream number, the memory controller sets the stream number to an initial value, adds an offset value to the initial address to update the succeeding address, and transmits a third data segment from the first memory to the second memory according to the updated succeeding address.

## Claims

### Claim 1

A method for operating a data storage system, the data storage system comprising a first memory, a second memory, and a memory controller, the method comprising:
the memory controller transmitting a first data segment stored in the first memory to the second memory according to an initial address;
the memory controller adding a first interval value to the initial address to generate a succeeding address;
the memory controller updating a stream number;
when the stream number has not reached a target stream number:
the memory controller transmitting a second data segment stored in the first memory to the second memory according to the succeeding address;
the memory controller adding a second interval value to the succeeding address to update the succeeding address; and
the memory controller updating the stream number; and
when the stream number has reached the target stream number:
the memory controller setting the stream number to an initial value;
the memory controller adding an offset value to the initial address to update the succeeding address to generate an updated succeeding address and to update the initial address; and
the memory controller transmitting a third data segment stored in the first memory to the second memory according to the updated succeeding address.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first data segment comprises a piece of data corresponding to a specific address in the first memory or a plurality of pieces of data corresponding to a plurality of continuous addresses in the first memory.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the method for operating the data storage system transmits a plurality of data segments scattered at different address segments in the first memory to the second memory sequentially and cyclically;
the initial address and the succeeding address are corresponding to addresses of the first memory; and
the target stream number is a total number of the plurality of address segments.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the second memory has a first-in first-out (FIFO) structure, and the memory controller pushes a plurality of pieces of data to a second initial address of the second memory; or
the memory controller stores the plurality of pieces of data to a plurality of continuous addresses of the second memory.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
when the first data segment comprises a plurality of pieces of data stored in a plurality of continuous addresses in the first memory, setting the offset value according to a total number of addresses in the plurality of continuous addresses.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the method for operating the data storage system transmits a plurality of continuous data segments stored in the first memory to a plurality of scattered address segments in the second memory sequentially and cyclically;
the initial address and the succeeding address are corresponding to addresses of the second memory; and
the target stream number is a total number of the plurality of address segments.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
the first memory has a first-in first-out (FIFO) structure, and the memory controller pops a plurality of pieces of data from a first initial address of the first memory; or
the memory controller retrieves the plurality of pieces of data from a plurality of continuous addresses of the first memory.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
when the first data segment is stored as a plurality of pieces of data in a plurality of continuous addresses in the second memory, setting the offset value according to a total number of addresses in the plurality of continuous addresses.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
when the stream number has reached a target stream number and a data transmission amount of the memory controller has reached a target value, terminating data transmission.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first interval value is different from the second interval value.

### Claim 11

A data storage system comprising:
a first memory;
a second memory; and
a memory controller coupled to the first memory and the second memory, and configured to:
transmit a first data segment stored in the first memory to the second memory according to an initial address;
add a first interval value to the initial address to generate a succeeding address;
update a stream number;
when the stream number has not reached a target stream number:
transmit a second data segment stored in the first memory to the second memory according to the succeeding address;
adding a second interval value to the succeeding address to update the succeeding address; and
update the stream number; and
when the stream number has reached the target stream number:
set the stream number to an initial value;
add an offset value to the initial address to update the succeeding address to generate an updated succeeding address and to update the initial address; and
transmit a third data segment stored in the first memory to the second memory according to the updated succeeding address.

### Claim 12 (depends on 11)

The data storage system of claim 11, wherein:
the first data segment comprises a piece of data corresponding to a specific address in the first memory or a plurality of pieces of data corresponding to a plurality of continuous addresses in the first memory.

### Claim 13 (depends on 11)

The data storage system of claim 11, wherein:
the memory controller is configured to transmit a plurality of data segments scattered at different addresses segments in the first memory to the second memory sequentially and cyclically;
the initial address and the succeeding address are corresponding to addresses of the first memory; and
the target stream number is a total number of the plurality of address segments.

### Claim 14 (depends on 13)

The data storage system of claim 13, wherein:
the second memory has a first-in first-out (FIFO) structure, and the memory controller pushes a plurality of pieces of data to a second initial address of the second memory; or
the memory controller stores the plurality of pieces of data to a plurality of continuous addresses of the second memory.

### Claim 15 (depends on 13)

The data storage system of claim 13, wherein the memory controller is further configured to set the offset value according to a total number of addresses in the plurality of continuous addresses when the first data segment comprises a plurality of pieces of data stored in a plurality of continuous addresses in the first memory.

### Claim 16 (depends on 11)

The data storage system of claim 11, wherein:
the memory controller is configured to transmit a plurality of continuous data segments stored in the first memory to a plurality of scattered address segments in the second memory sequentially and cyclically;
the initial address and the succeeding address are corresponding to addresses of the second memory; and
the target stream number is a total number of the plurality of address segments.

### Claim 17 (depends on 16)

The data storage system of claim 16, wherein:
the first memory has a first-in first-out (FIFO) structure, and the memory controller pops a plurality of pieces of data from a first initial address of the first memory; or
the memory controller retrieves the plurality of pieces of data from a plurality of continuous addresses of the first memory.

### Claim 18 (depends on 16)

The data storage system of claim 16, wherein the memory controller is further configured to set the offset value according to a total number of addresses in the plurality of continuous addresses when the first data segment is stored as a plurality of pieces of data to a plurality of continuous pieces of data in the second memory.

### Claim 19 (depends on 11)

The data storage system of claim 11, wherein the memory controller is further configured to terminate data transmission when the stream number has reached a target stream number and a data transmission amount of the memory controller has reached a target value.

### Claim 20 (depends on 11)

The data storage system of claim 11, wherein the first interval value is different from the second interval value.
