# US 12,191,892 B2 · Data compression method and apparatus, and storage medium

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

- Number: US 12,191,892 B2
- Document ID: US12191892B2
- Status: Granted
- Kind: B2
- Application number: 18/018,882
- Filed: 2021-06-21
- Published: 2024-08-15
- Granted: 2025-01-07
- Earliest claimed: 2020-08-05
- Assignees: Datang Mobile Communications Equipment Co., Ltd.
- Applicants: Datang Mobile Communications Equipment Co., Ltd.
- Inventors: Huiying Zhang; Haiyang Quan
- Web page: https://patentgrep.com/patent/US12191892B2

## CPC

- H03M 7/3088: {employing the use of a dictionary, e.g. LZ78}
- H03M 7/6082: {Selection strategies}
- H03M 7/6011: {Encoder aspects}
- H03M 7/6052: {Synchronisation of encoder and decoder}
- H04L 69/04: Protocols for data compression, e.g. ROHC
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 16/1744: {using compression, e.g. sparse files}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a data compression method and apparatus, and a storage medium. The method is used for a data sending end; the data sensing end can carry services on a radio bearer, and each service corresponds to a compression buffer. The method includes determining a first compression buffer corresponding to a service to which first data block to be sent belongs, compressing the first data block using a dictionary corresponding to the first compression buffer to obtain compressed second data block, encapsulating the second data block in a set message, and adding, to the set message, a compression identifier used for indicating the first compression buffer, and sending, to a data receiving end, the set message carrying the compression identifier, present invention, data compression efficiency is improved, and efficient transmission of a data receiving end, the set message carrying the compression identifier.

## Claims

### Claim 1

A method for compressing a data block, performed by a data transmitting terminal which is configured to carry multiple services on a radio bearer, wherein each service corresponds to a compression buffer, the method comprises:
determining a first compression buffer corresponding to a service to which a first data block to be transmitted belongs;
compressing the first data block using a dictionary corresponding to the first compression buffer to obtain a compressed second data block;
packaging the second data block into a protocol data unit (PDU) and adding a compression identifier for indicating the first compression buffer in a PDU header; and
transmitting the PDU carrying the compression identifier to a data receiving terminal.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the PDU is a packet data convergence protocol (PDCP) PDU;
the adding a compression identifier for indicating the first compression buffer in a PDU header comprises:
adding the compression identifier in a PDCP header of the PDCP PDU.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the adding the compression identifier in a PDCP header of the PDCP PDU comprises:
determining a setting field for carrying the compression identifier in the PDCP header; and
adding the compression identifier in the setting field.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the compression identifier comprises one or more of the following items:
a compression buffer identifier of the first compression buffer;
a dictionary identifier corresponding to the first compression buffer;
a service identifier corresponding to the first compression buffer.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
receiving a first message transmitted by a network device, wherein the first message comprises compression information configured by the network device for a service to be compressed; and
establishing a compression buffer corresponding to the service to be compressed according to the compression information.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the compression information comprises one or more of the following items:
a compression buffer identifier and/or a decompression buffer identifier;
a dictionary identifier;
compression buffer information and/or decompression buffer information;
a service identifier.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
receiving a second message transmitted by a network device, wherein the second message comprises release information configured by the network device for a service to be released; and
releasing a compression buffer corresponding to the service to be released according to the release information.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the release information comprises one or more of the following items:
a compression buffer identifier and/or a decompression buffer identifier;
a dictionary identifier; or
a service identifier.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
updating a content of the dictionary corresponding to the first compression buffer with the first data block.

### Claim 10

A method for compressing a data block, performed by a data receiving terminal which is configured to receive multiple compressed services carried on a radio bearer, wherein each service corresponds to a decompression buffer, the method comprises:
receiving a protocol data unit (PDU) carrying a compression identifier transmitted by a data transmitting terminal, wherein the compression identifier is used for indicating a first compression buffer corresponding to a service to which a received first data block belongs, and the PDU comprises a second data block, the second data block is a compressed first data block by the data transmitting terminal using a dictionary corresponding to the first compression buffer;
determining a first decompression buffer corresponding to the first compression buffer according to the compression identifier; and
decompressing the second data block using a dictionary corresponding to the first decompression buffer to obtain the first data block.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the PDU is a packet data convergence protocol (PDCP) PDU; and
a PDCP header of the PDCP message comprises the compression identifier.

### Claim 12 (depends on 11)

The method according to claim 11, wherein a setting field for carrying the compression identifier in the PDCP header comprises the compression identifier.

### Claim 13 (depends on 10)

The method according to claim 10, wherein the compression identifier comprises one or more of the following items:
a compression buffer identifier of the first compression buffer;
a dictionary identifier corresponding to the first compression buffer;
a service identifier corresponding to the first compression buffer.

### Claim 14 (depends on 10)

The method according to claim 10, further comprising:
receiving a first message transmitted by network device, wherein the first message comprises compression information configured by the network device for a service to be compressed; and
establishing a decompression buffer corresponding to the service to be compressed according to the compression information.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the compression information comprises one or more of the following items:
a compression buffer identifier and/or a decompression buffer identifier;
a dictionary identifier;
compression buffer information and/or decompression buffer information;
a service identifier.

### Claim 16 (depends on 10)

The method according to claim 10, further comprising:
receiving a second message transmitted by a network device, wherein the second message comprises release information configured by the network device for a service to be released; and
releasing a decompression buffer corresponding to the service to be released according to the release information.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the release information comprises one or more of the following items:
a compression buffer identifier and/or a decompression buffer identifier;
a dictionary identifier;
a service identifier.

### Claim 18 (depends on 10)

The method according to claim 10, further comprising:
updating a content of the dictionary corresponding to the first decompression buffer with the first data block.

### Claim 19 (depends on 10)

An apparatus for compressing:
a data block configured to receive multiple services carried on a radio bearer, wherein each service corresponds to a compression buffer, the apparatus comprising a memory, a transceiver, and a processor,
wherein the memory is used for storing computer programs, the transceiver is used for receiving and transmitting a data block under a control of the processor, and the processor is used for reading the computer programs in the memory and performing the method according to claim 10.

### Claim 20

An apparatus for compressing:
a data block, configured to carry multiple services on a radio bearer, wherein each service corresponds to a compression buffer, the apparatus comprises a memory, a transceiver, and a processor,
wherein the memory is used for storing computer programs, the transceiver is used for receiving and transmitting a data block under a control of the processor, and the processor is used for reading the computer programs in the memory and performing the following operations:
determining a first compression buffer corresponding to a service to which a first data block to be transmitted belongs;
compressing the first data block using a dictionary corresponding to the first compression buffer to obtain a compressed second data block;
packaging the second data block into a protocol data unit (PDU) and adding a compression identifier for indicating the first compression buffer in a PDU header; and
transmitting the PDU carrying the compression identifier to a data receiving terminal.
