# US 2025/0165400 A1 · Data reduction method, apparatus, and system

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

- Number: US 2025/0165400 A1
- Document ID: US20250165400A1
- Status: Published application
- Kind: A1
- Application number: 19/029,901
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2022-08-11
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xi HUANG; Junwei CHEN
- Web page: https://patentgrep.com/patent/US20250165400A1

## CPC

- G06F 3/0608: {Saving storage space on storage systems}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 3/0641: {De-duplication techniques}
- G06F 3/0671: {In-line storage system}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- 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 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 12/0871: Allocation or management of cache space
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 12/127: using additional replacement algorithms
- G06F 2212/1024: Latency reduction
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/283: Plural cache memories
- G06F 2212/401: Compressed data
- G06F 2212/466: Metadata, control data
- G06F 2212/502: using adaptive policy
- G06F 2212/60: Details of cache memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data reduction method, apparatus, and system are provided, and belong to the field of data processing. One example method includes: obtaining a first address; and updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table, where popularity of a storage address in the hot data table is greater than popularity of a storage address in a first cache table, and the first cache table is used for data reduction.

## Claims

### Claim 1

A data reduction method, comprising:
obtaining a first address; and
updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table, wherein popularity of a storage address in the hot data table is greater than popularity of a storage address in a first cache table, and the first cache table is used for data reduction.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first address is a storage address of first data; and
the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises: when the first address is a hot address, updating, to a fingerprint of the first data, a fingerprint in the entry corresponding to the first address.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
determining that the first address is the hot address when the first address exists in the hot data table.

### Claim 4 (depends on 1)

The method according to claim 1, wherein
the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises: when the first address is a hot address, updating an eviction parameter in the entry corresponding to the first address.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the eviction parameter comprises at least one of the following: a quantity of times that data is written into the first address or a timestamp at which data is written into the first address for the last time.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises:
when the first address changes to a cold address, reading, into the first cache table, the entry corresponding to the first address.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the method further comprises:
when an amount of data of the hot data table reaches a preset amount of data, determining that the first address changes to the cold address.

### Claim 8 (depends on 6)

The method according to claim 6, wherein
the reading, into the first cache table, the entry corresponding to the first address comprises:
reading, into the first cache table based on an eviction parameter in the entry corresponding to the first address, the entry corresponding to the first address; or
reading, into a second cache table, the entry corresponding to the first address, wherein popularity of a storage address in the second cache table is less than the popularity of the storage address in the hot data table and is greater than the popularity of the storage address in the first cache table; and, when the second cache table meets an eviction condition, reading, into the first cache table, the entry corresponding to the first address.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the method further comprises:
when the first address is a cold address, recording, in the hot data table, the entry corresponding to the first address; and
recording, in the first cache table, the entry corresponding to the first address.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the method further comprises:
when a condition for enabling a hot eviction function is met, enabling a hot eviction function to determine whether the first address is a hot address, wherein
the condition for enabling the hot eviction function comprises at least one of the following: a proportion of a hot address in a storage address of a persistent storage medium is greater than a preset proportion, or an amount of data of the first cache table is greater than a target amount of data.

### Claim 11

An apparatus for data reducing, wherein the apparatus comprises at least one processor and a memory, the memory stores a computer program, that when executed by the at least one processor, causes the apparatus to perform operations comprising:
obtaining a first address; and
updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table, wherein popularity of a storage address in the hot data table is greater than popularity of a storage address in a first cache table, and the first cache table is used for data reduction.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the first address is a storage address of first data; and
the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises: when the first address is a hot address, updating, to a fingerprint of the first data, a fingerprint in the entry corresponding to the first address.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the operations comprise:
determining that the first address is the hot address when the first address exists in the hot data table.

### Claim 14 (depends on 11)

The apparatus according to claim 11, wherein
the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises: when the first address is a hot address, updating an eviction parameter in the entry corresponding to the first address.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the eviction parameter comprises at least one of the following: a quantity of times that data is written into the first address or a timestamp at which data is written into the first address for the last time.

### Claim 16 (depends on 11)

The apparatus according to claim 11, wherein the updating, based on popularity of the first address, an entry corresponding to the first address in a hot data table comprises:
when the first address changes to a cold address, reading, into the first cache table, the entry corresponding to the first address.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the operations further comprise:
when an amount of data of the hot data table reaches a preset amount of data, determining that the first address changes to the cold address.

### Claim 18 (depends on 16)

The apparatus according to claim 16, wherein
the reading, into the first cache table, the entry corresponding to the first address comprises:
reading, into the first cache table based on an eviction parameter in the entry corresponding to the first address, the entry corresponding to the first address; or
reading, into a second cache table, the entry corresponding to the first address, wherein popularity of a storage address in the second cache table is less than the popularity of the storage address in the hot data table and is greater than the popularity of the storage address in the first cache table; and, when the second cache table meets an eviction condition, reading, into the first cache table, the entry corresponding to the first address.

### Claim 19 (depends on 11)

The apparatus according to claim 11, wherein the operations comprise:
when the first address is a cold address, recording, in the hot data table, the entry corresponding to the first address; and
recording, in the first cache table, the entry corresponding to the first address.

### Claim 20 (depends on 11)

The apparatus according to claim 11, wherein the operations comprise:
when a condition for enabling a hot eviction function is met, enabling a hot eviction function to determine whether the first address is a hot address, wherein
the condition for enabling the hot eviction function comprises at least one of the following: a proportion of a hot address in a storage address of a persistent storage medium is greater than a preset proportion, or an amount of data of the first cache table is greater than a target amount of data.
