# US 10,958,377 B2 · Channel encoding and decoding method and device in wireless communications

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

- Number: US 10,958,377 B2
- Document ID: US10958377B2
- Status: Granted
- Kind: B2
- Application number: 16/520,530
- Filed: 2019-07-24
- Published: 2019-11-14
- Granted: 2021-03-23
- Earliest claimed: 2016-10-25
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yue Zhou; Yinggang Du; Rong Li
- Web page: https://patentgrep.com/patent/US10958377B2

## CPC

- H04L 1/0058: {Block-coded modulation}
- H03M 13/091: {Parallel or block-wise CRC computation}
- H03M 13/13: Linear codes
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/635: {Error control coding in combination with rate matching}
- H03M 13/6516: {Support of multiple code parameters, e.g. generalized Reed-Solomon decoder for a variety of generator polynomials or Galois fields}
- H03M 13/6525: {3GPP LTE including E-UTRA}
- H04L 1/0041: {Arrangements at the transmitter end}
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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)

## Abstract

Embodiments of this application provide an encoding and decoding method and device in wireless communications between network devices and user equipment. The encoding method includes: obtaining, by a transmit end, a post-polar-encoding data length corresponding to to-be-encoded data; segmenting, by the transmit end, the to-be-encoded data into at least one code block based on the post-encoding data length and a preset threshold; and performing, by the transmit end, polar encoding on each code block, and transmitting encoded data to a receive end. The embodiments of this application avoid a data transmission performance loss caused by an excessive quantity of segments.

## Claims

### Claim 1

A method for processing data in a communication system, comprising:
transforming, by the communication device, to-be-encoded data into a C number of code blocks, wherein the C number of code blocks is a positive integer;
polar encoding, by the communication device on each of the C number code blocks respectively to obtain C number of polar encoded code blocks; and
outputting, by the communication device, the C number of polar encoded code blocks;
wherein if a post-rate-matching code length corresponding to the to-be-encoded data is greater than a preset threshold, the C number is equal to or larger than 2 and if the post-rate-matching code length is less than the preset threshold, the C number is equal to 1.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the number of C is determined based on:
C=┌SA/Z┐, wherein SA is the post-polar-encoding data length, Z is the preset threshold, and ┌⋅┐ is a rounding-up operation.

### Claim 3 (depends on 1)

The method according to claim 1, wherein when the C number is equal to or larger than 2, the C number of code blocks comprise a C+ first kind of code block and a C− second kind of code block, C=C++C−, a pre-encoding length of the first kind of code block is K+, a pre-encoding length of the second kind of code block is K−, K−=K+−P, P≥1, and P is an odd number.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the pre-encoding length K+ of the first kind of code block is determined based on a check information length of check information in a code block, on a length of the to-be-encoded data, and on the C number of blocks.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the pre-encoding length K+ of the first kind of code block is determined based on:
K+=┌(STB+C×lCB)/C┐, where STB is the length of the to-be-encoded data, lCB is the length of check information in a code block, and ┌⋅┐ is a rounding-up operation.

### Claim 6 (depends on 3)

The method according to claim 3, wherein a quantity of the C− second kind of code block is determined based on the pre-encoding length K+ of the first kind of code block, the pre-encoding length K− of the second kind of code block, and a length of the to-be-encoded data.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
performing a cyclic redundancy check on each code block of the C number of code blocks before polar encoding the each code block.

### Claim 8

An apparatus, comprising:
a memory configured to store instructions; and
at least one processor in communication with the memory and configured to execute the instructions, wherein when executed by the processor, the instructions cause the apparatus to perform:
transforming to-be-encoded data into a C number of code blocks, wherein the C number of code blocks is a positive integer;
polar encoding on each of the C number of code blocks respectively to obtain C number of polar encoded code blocks; and
outputting the C number of polar encoded code blocks;
wherein if a post-rate-matching code length corresponding to the to-be-encoded data is greater than a preset threshold, the C number is equal to or larger than 2 and if the post-rate-matching code length is less than the preset threshold, the C number is equal to 1.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the C number is determined based on:
C=┌SA/Z┐, wherein SA is the post-polar-encoding data length, Z is the preset threshold, and ┌⋅┐ is a rounding-up operation.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein when the C number is equal to or larger than 2, the C number of code blocks comprise a C+ first kind of code block and a C− second kind of code block, C=C++C−, a pre-encoding length of the first kind of code block is K+, a pre-encoding length of the second kind of code block is K−, K−=K+−P, P≥1, and P is an odd number.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the pre-encoding length K+ of the first kind of code block is determined based on a check information length of check information in a code block, on a length of the to-be-encoded data, and on the C number of code blocks.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the pre-encoding length K+ of the first kind of code block is determined based on:
K+=┌(STB+C×lCB)/C┐, where STB is the length of the to-be-encoded data, lCB is the length of check information in a code block, and ┌⋅┐ is a rounding-up operation.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein a quantity of the C− second kind of code block is determined based on the pre-encoding length K+ of the first kind of code block, the pre-encoding length K− of the second kind of code block, and a length of the to-be-encoded data.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the quantity C− of the second kind of code block is determined based on:
C−=└(C×K+−STB−C×lCB)/P┘, where K+ is the pre-encoding length of the first kind of code block, K− is the pre-encoding length of the second kind of code block, STB is the length of the to-be-encoded data, lCB is a length of check information in a code block, and └⋅┘ is a rounding-down operation.

### Claim 15 (depends on 8)

The apparatus according to claim 8, wherein the processor is further configured to execute the instructions to perform a cyclic redundancy check on each code block of the C number of code blocks before polar encoding the each code block.

### Claim 16

An apparatus, comprising:
an encoder, wherein the encoder is configured to:
transform to-be-encoded data into a C number of code blocks, wherein the C number of code blocks is a positive integer;
polar encode on each code block of the C number of code blocks to obtain C number of polar encoded code blocks; and
output the C number of polar encoded code blocks;
wherein if a post-rate-matching code length corresponding to the to-be-encoded data is greater than a preset threshold, the C number is equal to or larger than 2 and if the post-rate-matching code length is less than the preset threshold, the C number is equal to 1.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein when the C number is equal to or larger than 2, the C number of code blocks comprise a C+ first kind of code block and a C− second kind of code block, C=C++C−, a pre-encoding length of the first kind of code block is K+, a pre-encoding length of the second kind of code block is K−, K−=K+−P, P≥1, and P is an odd number.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the pre-encoding length K+ of the first kind of code block is determined based on a check information length of check information in a code block, on a length of the to-be-encoded data, and on the C number of code blocks.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the pre-encoding length K+ of the first kind of code block is determined based on:
K+=┌(STB+C×lCB)/C┐, where STB is the length of the to-be-encoded data, lCB is the length of check information in a code block, and ┌⋅┐ is a rounding-up operation.

### Claim 20 (depends on 16)

The apparatus according to claim 16, wherein the encoder is further configured to performing cyclic redundancy check on each code block of the C number of code blocks before polar encoding the each code block.
