Data compression method and apparatus

US12373393B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12373393-B2
Application numberUS-202318475849-A
CountryUS
Kind codeB2
Filing dateSep 27, 2023
Priority dateMar 30, 2021
Publication dateJul 29, 2025
Grant dateJul 29, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data compression method includes providing one or more data block sets, where each data block set includes a plurality of data blocks with a same fingerprint; providing one or more compression groups based on a similarity degree between a plurality of data blocks included in each data block set, where one compression group includes a plurality of similar data blocks, the plurality of similar data blocks are a subset of data blocks included in the one or more data block sets, and a similarity degree between the plurality of similar data blocks meets a specific similarity condition; and compressing the plurality of similar data blocks included in the compression group.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: providing one or more data block sets; generating one or more compression groups based on a similarity degree between a plurality of data blocks in each of the data block sets, wherein a compression group of the one or more compression groups comprises a plurality of similar data blocks in the one or more data block sets, wherein each of the similar data blocks has N data features that describe a data block from N dimensions, and wherein the similarity degree meets a similarity condition; and compressing the plurality of similar data blocks comprised in the compression group; wherein the similarity condition comprises that at least two of the similar data blocks share M data features of the N data features, wherein M is less than or equal to N, and wherein there is an association relationship between the plurality of similar data blocks in the compression group, wherein the plurality of similar data blocks form a logic chain, wherein the association relationship is that two adjacent similar data blocks on the logic chain share P data features, and wherein P is greater than or equal to M and less than or equal to N, and wherein compressing the plurality of similar data blocks comprised in the compression group comprises: selecting for a data block on a child node in a tree relationship a data block on a parent node of the child node as a reference data block; and performing delta compression on the child node data blocks based on the respective reference blocks to obtain compressed data. 2. The method of claim 1 , wherein the similarity condition further comprises that M is greater than a threshold. 3. The method of claim 1 , wherein a quantity of the plurality of similar data blocks is X, wherein the similarity condition comprises selecting X data blocks with a highest similarity degree from the one or more data block sets based on the N data features, and wherein X is an integer greater than or equal to 2. 4. The method of claim 1 , further comprising: calculating a similar fingerprint of a to-be-compressed data block; recording the to-be-compressed data block into a first data block set corresponding to a second data block that has the same fingerprint as the to-be-compressed data block, wherein the first data block set is one of the one or more data block sets; determining, from the first data block set, a target data block that shares data features with the to-be-compressed data block; determining a first compression group comprising the target data block; and adding the to-be-compressed data block to the first compression group. 5. The method of claim 1 , further comprising generating metadata of the compressed data, wherein the metadata comprises location information of the plurality of similar data blocks, and wherein the metadata is for decompressing the compressed data. 6. The method of claim 1 , further comprising generating metadata of the compressed data, wherein the metadata comprises information about the reference data block during the delta compression and comprises location information of data from the delta compression on each similar data block, and wherein the metadata is for decompressing the compressed data. 7. An apparatus comprising: a memory configured to store instructions; and a processor coupled to the memory and configured to: provide one or more data block sets; generate one or more compression groups based on a similarity degree between a plurality of data blocks in each of the data block sets, wherein a compression group of the one or more compression groups comprises a plurality of similar data blocks in the one or more data block sets, wherein each of the similar data blocks has N data features that describe a data block from N dimensions, and wherein the similarity degree meets a similarity condition; and compress the plurality of similar data blocks comprised in the compression group, wherein the similarity condition comprises that at least two of the similar data blocks share M data features of the N data features, wherein M is less than or equal to N, and wherein there is an association relationship between the plurality of similar data blocks in the compression group, wherein the plurality of similar data blocks form a logic chain, wherein the association relationship is that two adjacent similar data blocks on the logic chain share P data features, and wherein P is greater than or equal to M and less than or equal to N, and wherein compressing the plurality of similar data blocks comprised in the compression group comprises: selecting for a data block on a child node in a tree relationship a data block on a parent node of the child node as a reference data block; and performing delta compression on the child node data blocks based on the respective reference blocks to obtain compressed data. 8. The apparatus of claim 7 , wherein the similarity condition further comprises that M is greater than a threshold. 9. The apparatus of claim 7 , wherein a quantity of the plurality of similar data blocks is X, wherein the similarity condition comprises selecting X data blocks with a highest similarity degree from the one or more data block sets based on the N data features, and wherein X is an integer greater than or equal to 2. 10. The apparatus of claim 7 , wherein the processor is further configured to: calculate a similar fingerprint of a to-be-compressed data block; record the to-be-compressed data block into a first data block set corresponding to a second data block that has the same similar fingerprint as the to-be-compressed data block, wherein the first data block set is one of the one or more data block sets; determine, from the first data block set, a target data block that shares data features with the to-be-compressed data block; determine a first compression group comprising the target data block; and add the to-be-compressed data block to the first compression group. 11. The apparatus of claim 7 , wherein the processor is further configured to generate metadata of the compressed data, wherein the metadata comprises location information of the plurality of similar data blocks, and wherein the metadata is for decompressing the compressed data. 12. The apparatus of claim 7 , wherein the processor is further configured to generate metadata of the compressed data, wherein the metadata comprises information about the reference data block during the delta compression and location information of data from the delta compression on each similar data block, and wherein the metadata is for decompressing the compressed data.

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12373393B2 cover?
A data compression method includes providing one or more data block sets, where each data block set includes a plurality of data blocks with a same fingerprint; providing one or more compression groups based on a similarity degree between a plurality of data blocks included in each data block set, where one compression group includes a plurality of similar data blocks, the plurality of similar …
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/1744. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 29 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).