# US 2021/0081129 A1 · Log-structured storage systems

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

- Number: US 2021/0081129 A1
- Document ID: US20210081129A1
- Status: Published application
- Kind: A1
- Application number: 16/712,785
- Filed: 2019-12-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Shikun Tian
- Web page: https://patentgrep.com/patent/US20210081129A1

## CPC

- G06F 3/0647: {Migration mechanisms}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/061: {Improving I/O performance}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 16/1815: {Journaling file systems}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 3/0649: {Lifecycle management}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 12/122: of the least frequently used [LFU] type, e.g. with individual count value
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 12/127: using additional replacement algorithms
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage devices, for data processing and storage. One of the methods includes maintaining, by a storage system, a data log file in a source storage device of the storage system. The storage system identifies one or more characteristics of the data log file and one or more characteristics of the source storage device, and determines a migration metric of the data log file based on the one or more characteristics of the data log file and the one or more characteristics of the source storage device. The storage system determines whether to migrate the data log file according to the migration metric. In response to determining to migrate the data log file, the storage system migrates the data log file from a source location in the source storage device to a destination storage device.

## Claims

### Claim 1

A computer-implemented method comprising:
maintaining, by a storage system, a data log file in a source storage device of the storage system;
identifying one or more characteristics of the data log file and one or more characteristics of the source storage device;
determining a migration metric of the data log file based on the one or more characteristics of the data log file and the one or more characteristics of the source storage device;
determining whether to migrate the data log file according to the migration metric; and
in response to determining migrating the data log file, migrating the data log file from a source location in the source storage device to a destination storage device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more characteristics of the data log file comprise at least one of the following: a data type, a creation time, a data size, an activeness, a garbage ratio, or a fragmentation level of the data log file.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more characteristics of the source storage device comprise at least one of the following: an access speed, an access bandwidth, an access latency, a usage, a garbage ratio, a fragmentation level, or an input/output (I/O) request of the source storage device.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the migration metric comprises a migration score, and wherein determining a migration metric of the data log file based on the one or more characteristics of the data log file and one or more characteristics of the source storage device comprises:
determining a migration score of the data log file based on at least one of a usage level, an access frequency, an original data creation time, or a migration cost.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
determining whether the migration score of the data log file reaches or exceeds a predetermined threshold;
in response to determining that the migration score of the data log file reaches or exceeds the predetermined threshold, determining to migrate the data log file; and
in response to determining that the migration score of the data log file is below the predetermined threshold, determining not to migrate the data log file.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the storage system comprises a first tier storage device and a second tier storage device, wherein the first tier storage device has a performance characteristic that is superior to the performance characteristic of the second tier storage device, wherein the performance characteristic comprises one or more of an access speed, an access bandwidth, or an access latency.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the source storage device is the first tier storage device and the destination storage device is the second tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the first tier storage device to the second tier storage device.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the source storage device is the second tier storage device and the destination storage device is the first tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the second tier storage device to the first tier storage device.

### Claim 9

A non-transitory, computer-readable storage medium storing one or more instructions executable by a computer system to perform operations comprising:
maintaining, by a storage system, a data log file in a source storage device of the storage system;
identifying one or more characteristics of the data log file and one or more characteristics of the source storage device;
determining a migration metric of the data log file based on the one or more characteristics of the data log file and the one or more characteristics of the source storage device;
determining whether to migrate the data log file according to the migration metric; and
in response to determining migrating the data log file, migrating the data log file from a source location in the source storage device to a destination storage device.

### Claim 10 (depends on 9)

The non-transitory, computer-readable storage medium of claim 9, wherein the one or more characteristics of the data log file comprise at least one of the following: a data type, a creation time, a data size, an activeness, a garbage ratio, or a fragmentation level of the data log file.

### Claim 11 (depends on 9)

The non-transitory, computer-readable storage medium of claim 9, wherein the one or more characteristics of the source storage device comprise at least one of the following: an access speed, an access bandwidth, an access latency, a usage, a garbage ratio, a fragmentation level, or an input/output (I/O) request of the source storage device.

### Claim 12 (depends on 9)

The non-transitory, computer-readable storage medium of claim 9, wherein the migration metric comprises a migration score, and wherein determining a migration metric of the data log file based on the one or more characteristics of the data log file and one or more characteristics of the source storage device comprises:
determining a migration score of the data log file based on at least one of a usage level, an access frequency, an original data creation time, or a migration cost.

### Claim 13 (depends on 12)

The non-transitory, computer-readable storage medium of claim 12, the operations further comprising:
determining whether the migration score of the data log file reaches or exceeds a predetermined threshold;
in response to determining that the migration score of the data log file reaches or exceeds the predetermined threshold, determining to migrate the data log file; and
in response to determining that the migration score of the data log file is below the predetermined threshold, determining not to migrate the data log file.

### Claim 14 (depends on 9)

The non-transitory, computer-readable storage medium of claim 9, wherein the storage system comprises a first tier storage device and a second tier storage device, wherein the first tier storage device has a performance characteristic that is superior to the performance characteristic of the second tier storage device, wherein the performance characteristic comprises one or more of an access speed, an access bandwidth, or an access latency.

### Claim 15 (depends on 14)

The non-transitory, computer-readable storage medium of claim 14, wherein the source storage device is the first tier storage device and the destination storage device is the second tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the first tier storage device to the second tier storage device.

### Claim 16 (depends on 14)

The non-transitory, computer-readable storage medium of claim 14, wherein the source storage device is the second tier storage device and the destination storage device is the first tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the second tier storage device to the first tier storage device.

### Claim 17

A storage system, comprising:
one or more processors; and
one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:
maintaining, by the storage system, a data log file in a source storage device of the storage system;
identifying one or more characteristics of the data log file and one or more characteristics of the source storage device;
determining a migration metric of the data log file based on the one or more characteristics of the data log file and the one or more characteristics of the source storage device;
determining whether to migrate the data log file according to the migration metric; and
in response to determining migrating the data log file, migrating the data log file from a source location in the source storage device to a destination storage device.

### Claim 18 (depends on 17)

The storage system of claim 17, wherein the one or more characteristics of the data log file comprise at least one of the following: a data type, a creation time, a data size, an activeness, a garbage ratio, or a fragmentation level of the data log file.

### Claim 19 (depends on 17)

The storage system of claim 17, wherein the one or more characteristics of the source storage device comprise at least one of the following: an access speed, an access bandwidth, an access latency, a usage, a garbage ratio, a fragmentation level, or an input/output (I/O) request of the source storage device.

### Claim 20 (depends on 17)

The storage system of claim 17, wherein the migration metric comprises a migration score, and wherein determining a migration metric of the data log file based on the one or more characteristics of the data log file and one or more characteristics of the source storage device comprises:
determining a migration score of the data log file based on at least one of a usage level, an access frequency, an original data creation time, or a migration cost.

### Claim 21 (depends on 20)

The storage system of claim 20, the operations further comprising:
determining whether the migration score of the data log file reaches or exceeds a predetermined threshold;
in response to determining that the migration score of the data log file reaches or exceeds the predetermined threshold, determining to migrate the data log file; and
in response to determining that the migration score of the data log file is below the predetermined threshold, determining not to migrate the data log file.

### Claim 22 (depends on 17)

The storage system of claim 17, wherein the storage system comprises a first tier storage device and a second tier storage device, wherein the first tier storage device has a performance characteristic that is superior to the performance characteristic of the second tier storage device, wherein the performance characteristic comprises one or more of an access speed, an access bandwidth, or an access latency.

### Claim 23 (depends on 22)

The storage system of claim 22, wherein the source storage device is the first tier storage device and the destination storage device is the second tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the first tier storage device to the second tier storage device.

### Claim 24 (depends on 22)

The storage system of claim 22, wherein the source storage device is the second tier storage device and the destination storage device is the first tier storage device, and wherein migrating the data log file from the source location in the source storage device to the destination storage device comprises migrating the data log file from the second tier storage device to the first tier storage device.
