# US 2025/0167919 A1 · Data processing method, apparatus, and device

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

- Number: US 2025/0167919 A1
- Document ID: US20250167919A1
- Status: Published application
- Kind: A1
- Application number: 19/024,061
- Filed: 2025-01-16
- Published: 2025-05-22
- Earliest claimed: 2022-08-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jiajie TONG; Huazi ZHANG; Xianbin WANG; Rong LI; Jun WANG
- Web page: https://patentgrep.com/patent/US20250167919A1

## CPC

- H04L 1/0057: {Block codes (H04L1/0061, H04L1/0064 take precedence)}
- H03M 13/13: Linear codes
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/611: {Specific encoding aspects, e.g. encoding by means of decoding}
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- H04L 1/0041: {Arrangements at the transmitter end}
- H03M 13/635: {Error control coding in combination with rate matching}
- H03M 13/6362: {by puncturing}
- H04L 1/0067: {Rate matching (H04L1/0013 and H04L1/08 take precedence)}
- 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

A data processing method, an apparatus, and a device, so that an information bit construction and encoding method based on an allocation sequence is designed. According to the method, a quantity of information bits in each to-be-encoded sub-block in a to-be-encoded block may be determined based on a quantity of information bits and an allocation sequence, to implement information bit construction and encoding.

## Claims

### Claim 1

A method, comprising:
obtaining K information bits;
determining a length of a to-be-encoded block based on K;
determining a quantity of information bits in each to-be-encoded sub-block in the to-be-encoded block based on the length of the to-be-encoded block and an allocation sequence, wherein the allocation sequence is used to describe quantities of information bits in all to-be-encoded sub-blocks except a last to-be-encoded sub-block in the to-be-encoded block in a case of a same code rate and a same to-be-encoded sub-block size;
encoding the to-be-encoded block to obtain encoded data; and
sending the encoded data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the length of the to-be-encoded block is E=K/R, wherein R is a code rate;
the to-be-encoded block comprises m to-be-encoded sub-blocks, wherein
m
=
⌈
E
N
′
⌉
;
the encoded data comprises a code block, the code block comprises m code sub-blocks, and a size of the code sub-block is N′, wherein N′=2n;
the allocation sequence comprises S−1 variables {A0, A1, A2, . . . , AS-2}; and
a relationship between elements in the allocation sequence is A0≤A1≤ . . . ≤AS-2.

### Claim 3 (depends on 1)

The method according to claim 1, wherein a length of each to-be-encoded sub-block is:
E
0
=
E
-
(
m
-
1
)
×
N
′
,
or
⁢
E
-
i
=
N
′
,
wherein
⁢
i
∈
{
1
,
2
,
…
,
m
-
2
,
m
-
1
}
.

### Claim 4 (depends on 3)

The method according to claim 3, wherein determining the quantity of information bits in each to-be-encoded sub-block in the to-be-encoded block based on the length of the to-be-encoded block and the allocation sequence further comprises:
when i=0, determining that a quantity of information bits in a 0th to-be-encoded sub-block is
J
0
=
A
0
×
E
0
N
′
-
Δ
0
,
wherein A0 is a 0th element in the allocation sequence, and Δ0 is determined based on a difference between E0 and N′, whose value is 0 or 1;
when i=1, determining that a quantity of information bits in a 1st to-be-encoded sub-block is J1=A1−Δ1, wherein A1 is a 1st element in the allocation sequence, and Δ1 is determined based on a difference between E0 and N′, whose value is 0 or 1;
when i∈{2,3, . . . ,m−2}, determining that a quantity of information bits in an ith to-be-encoded sub-block is Ji=Ai, wherein Ai is an ith element in the allocation sequence; or
when i=m−1, determining that a quantity of information bits in an (m−1)th to-be-encoded sub-block is Jm-1=K−Σi=0m-2Ji.

### Claim 5 (depends on 1)

The method according to claim 1, wherein a length of each to-be-encoded sub-block is:
E
m
-
2
=
E
-
(
m
-
1
)
×
N
′
,
or
⁢
E
i
=
N
′
,
wherein
⁢
i
∈
{
0
,
1
,
2
,
…
,
m
-
3
,
m
-
1
}
.

### Claim 6 (depends on 5)

The method according to claim 5, wherein determining the quantity of information bits in each to-be-encoded sub-block in the to-be-encoded block based on the length of the to-be-encoded block and the allocation sequence further comprises:
when i∈{2,3, . . . ,m−3}, determining that a quantity of information bits in an ith to-be-encoded sub-block is Ji=Ai, wherein Ai is an ith element in the allocation sequence;
when i=m−2, determining that a quantity of information bits in an (m−2)th to-be-encoded sub-block is
J
m
-
2
=
A
m
-
2
×
E
m
-
2
N
′
-
Δ
2
,
wherein Am-2 is an (m−2)th element in the allocation sequence, and Δ2 is determined based on a difference between Em-2 and N′, whose value is 0 or 1; or
when i=m−1, determining that a quantity of information bits in an (m−1)th to-be-encoded sub-block is Jm-1=K−Σi=0m-2Ji.

### Claim 7 (depends on 1)

The method according to claim 1, wherein encoding the to-be-encoded block to obtain encoded data further comprises:
dividing the K information bits into m segments based on information bit data of each to-be-encoded sub-block;
determining an information bit and a frozen bit of each code sub-block, and constructing an information sequence with a size of m×2n based on the quantity m of code sub-blocks;
inserting the K information bits into a to-be-encoded sequence based on locations of information bits in the information sequence; and
performing modulo two multiplication on the to-be-encoded sequence and an encoding matrix to obtain the encoded data.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the encoding matrix is
G
=
[
G
N
′
O
…
O
O
G
N
′
…
O
…
…
⋱
…
G
N
′
G
N
′
…
G
N
′
]
,
G is a matrix with a size of (m×2n)×(m×2n), m and n are positive integers,
the matrix GN′ is a polar generator matrix with a size of 2n×2n, and
the matrix O is an all-zero matrix with a size of 2n×2n.

### Claim 9 (depends on 8)

The method according to claim 8, wherein sending the encoded data further comprises:
sending an (m−1)th to-be-encoded sub-block; and
successively sending an ith code sub-block, wherein i satisfies 0≤i≤m−2.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the encoding matrix is
G
′
=
[
G
N
′
O
…
O
G
N
′
G
N
′
…
O
…
…
⋱
…
G
N
′
G
N
′
…
G
N
′
]
,
G′ is a matrix with a size of (m×2n)×(m×2n), m and n are positive integers,
the matrix GN′ is a polar generator matrix with a size of 2n×2n, and
the matrix O is an all-zero matrix with a size of 2n×2n.

### Claim 11 (depends on 10)

The method according to claim 10, wherein sending the encoded data further comprises:
successively sending an ith code sub-block, wherein i satisfies 0≤i≤m−1.

### Claim 12

A method, comprising:
receiving encoded data, wherein the encoded data is obtained by encoding a to-be-encoded block,
the to-be-encoded block comprises a plurality of to-be-encoded sub-blocks, a quantity of information bits in each to-be-encoded sub-block in the to-be-encoded block is determined based on a length of the to-be-encoded block and an allocation sequence, and
the allocation sequence is used to describe quantities of information bits in all to-be-encoded sub-blocks except a last to-be-encoded sub-block in the to-be-encoded block in a case of a same code rate and a same to-be-encoded sub-block size; and
decoding the encoded data to obtain decoded data.

### Claim 13 (depends on 12)

The method according to claim 12, wherein
the length of the to-be-encoded block is E=K/R, wherein R is a code rate;
the to-be-encoded block comprises m to-be-encoded sub-blocks, wherein
m
=
⌈
E
N
′
⌉
;
the encoded data comprises a code block, the code block comprises m code sub-blocks, and a size of the code sub-block is N′, wherein N′=2n;
the allocation sequence comprises S−1 variables {A0,A1,A2, . . . ,AS-2}; and
a relationship between elements in the allocation sequence is A0≤A1≤ . . . ≤AS-2.

### Claim 14 (depends on 12)

The method according to claim 12, wherein a length of each to-be-encoded sub-block is:
E
0
=
E
-
(
m
-
1
)
×
N
′
,
or
⁢
E
i
=
N
′
,
wherein
⁢
i
∈
{
1
,
2
,
…
,
m
-
2
,
m
-
1
}
.

### Claim 15 (depends on 14)

The method according to claim 14, wherein
when i=0, a quantity of information bits in a 0th to-be-encoded sub-block is
J
0
=
A
0
×
E
0
N
′
-
Δ
0
,
wherein A0 is a 0th element in the allocation sequence, and Δ0 is determined based on a difference between E0 and N′, whose value is 0 or 1;
when i=1, a quantity of information bits in a 1st to-be-encoded sub-block is J1=A1−Δ1, wherein A1 is a 1st element in the allocation sequence, and Δ1 is determined based on a difference between E0 and N′, whose value is 0 or 1;
when i∈{2,3, . . . ,m−2}, a quantity of information bits in an ith to-be-encoded sub-block is Ji=Ai, wherein A is an ith element in the allocation sequence; or
when i=m−1, a quantity of information bits in an (m−1)th to-be-encoded sub-block is Jm-1=K−Σi=0m-2Ji.

### Claim 16 (depends on 12)

The method according to claim 12, wherein a length of each to-be-encoded sub-block is:
E
m
-
2
=
E
-
(
m
-
1
)
×
N
′
,
or
⁢
E
i
=
N
′
,
wherein
⁢
i
∈
{
0
,
1
,
2
,
…
,
m
-
3
,
m
-
1
}
.

### Claim 17 (depends on 16)

The method according to claim 16, wherein
when i∈{2,3, . . . ,m−3}, a quantity of information bits in an ith to-be-encoded sub-block is Ji=Ai, wherein Ai is an ith element in the allocation sequence; or
when i=m−2, a quantity of information bits in an (m−2)th to-be-encoded sub-block is
J
m
-
2
=
A
m
-
2
×
E
m
-
2
N
′
-
Δ
2
,
wherein Am-2 is an (m−2)th element in the allocation sequence, and Δ2 is determined based on a difference between Em-2 and N′, whose value is 0 or 1; or
when i=m−1, a quantity of information bits in an (m−1)th to-be-encoded sub-block is Jm-1=K−Σi=0m-2Ji.

### Claim 18 (depends on 12)

The method according to claim 12, wherein the encoded data is obtained by performing encoding by using an encoding matrix G, wherein the encoding matrix
G
=
[
G
N
′
O
…
O
O
G
N
′
…
O
…
…
⋱
…
G
N
′
G
N
′
…
G
N
′
]
,
G is a matrix with a size of (m×2n)×(m×2n), m and n are positive integers,
the matrix GN′ is a polar generator matrix with a size of 2n×2n, and
the matrix O is an all-zero matrix with a size of 2n×2n.

### Claim 19 (depends on 18)

The method according to claim 18, wherein decoding the encoded data to obtain decoded data further comprises:
obtaining marked data corresponding to a 0th receiving sub-block and marked data corresponding to a 1st receiving sub-block, wherein the 0th receiving sub-block is an (m−1)th code sub-block, and the 1st receiving sub-block is a 0th code sub-block;
performing an F operation on the marked data corresponding to the 0th receiving sub-block and the marked data corresponding to the 1st receiving sub-block, to obtain marked data corresponding to the 1st receiving sub-block after the F operation;
performing polar code decoding on the marked data corresponding to the 1st receiving sub-block after the F operation, to obtain decoded data corresponding to the 1st receiving sub-block; and
enhancing, based on the marked data corresponding to the 1st receiving sub-block and the decoded data corresponding to the 1st receiving sub-block, the marked data corresponding to the 0th receiving sub-block.

### Claim 20 (depends on 19)

The method according to claim 19, further comprising:
obtaining marked data corresponding to a qth receiving sub-block, wherein q is 2≤q≤m−1, and the qth receiving sub-block is a (q−1)th code sub-block;
performing an F operation on the marked data corresponding to the qth receiving sub-block and enhanced marked data corresponding to the 0th receiving sub-block, to obtain marked data corresponding to the qth receiving sub-block after the F operation;
performing polar code decoding on the marked data corresponding to the qth receiving sub-block after the F operation, to obtain decoded data corresponding to the qth receiving sub-block; and
enhancing, based on the marked data corresponding to the qth receiving sub-block and the decoded data corresponding to the qth receiving sub-block, the enhanced marked data corresponding to the 0th receiving sub-block.
