# US 10,958,374 B2 · Polar code rate matching method and apparatus

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

- Number: US 10,958,374 B2
- Document ID: US10958374B2
- Status: Granted
- Kind: B2
- Application number: 16/822,712
- Filed: 2020-03-18
- Published: 2020-07-09
- Granted: 2021-03-23
- Earliest claimed: 2017-09-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jian Wang; Lingchen Huang; Yunfei Qiao; Rong Li
- Web page: https://patentgrep.com/patent/US10958374B2

## CPC

- H03M 13/6362: {by puncturing}
- H04L 1/0013: {Rate matching, e.g. puncturing or repetition of code symbols}
- H03M 13/13: Linear codes
- H03M 13/618: {Shortening and extension of codes}
- H04L 1/00: Arrangements for detecting or preventing errors in the information received {(correcting synchronisation H04L7/00)}
- H04L 1/0057: {Block codes (H04L1/0061, H04L1/0064 take precedence)}
- 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)

## Abstract

Example Polar code rate matching methods and apparatus are described. One example method includes determining a first index set corresponding to N to-be-encoded bits. The first index set includes indexes of Z polarized channels on which forced frozen bits are placed. The Z polarized channels are a subset of N polarized channels corresponding to the N to-be-encoded bits, N=2n, Z<N, and n and Z are positive integers. A first codeword with a length of N is obtained by performing Polar coding on the N to-be-encoded bits. Rate matching is performed on the first codeword based on the first index set, to obtain a second codeword with a length of M, where M<N and M is a positive integer. The second codeword is sent with a length of M.

## Claims

### Claim 1

A Polar code rate matching method, comprising:
determining a first index set corresponding to N to-be-encoded bits, wherein the first index set comprises indexes of Z polarized channels on which forced frozen bits are placed, wherein the Z polarized channels are a subset of N polarized channels corresponding to the N to-be-encoded bits, wherein N=2n, wherein Z<N, and wherein and n and Z are positive integers;
obtaining a first codeword with a length of N, wherein the first codeword is obtained by performing Polar coding on the N to-be-encoded bits;
performing rate matching on the first codeword based on the first index set, to obtain a second codeword with a length of M, wherein M<N, and wherein M is a positive integer; and
sending the second codeword with a length of M.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the performing rate matching on the first codeword based on the first index set comprises:
determining at least one second index set based on the first index set, wherein each second index set comprises a determined index of a punctured location or a shortened location in the first codeword; and
performing rate matching on the first codeword based on any second index set of the at least one second index set.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining at least one second index set based on the first index set comprises:
reading, from N indexes corresponding to the first codeword, an index the same as an index in the first index set, to obtain one second index set.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining at least one second index set based on the first index set comprises:
determining a first bit sequence based on the first index set, wherein a length of the first bit sequence is equal to N;
performing bit exchange processing on the first bit sequence, to obtain at least one second bit sequence, wherein the bit exchange processing is to exchange, in the first bit sequence, a bit placed at a location indicated by an ith index with a bit placed at a location indicated by an (N/2+i)th index, wherein i traverses {0, 1, . . . , N/2−1}, and wherein the at least one second bit sequence is different from each other; and
reading, from each second bit sequence of the at least one second bit sequence, an index of a location at which a bit 0 is placed, to obtain the at least one second index set, wherein each second bit sequence corresponds to one second index set.

### Claim 5 (depends on 4)

The method according to claim 4, wherein an index of a location, in the first bit sequence, at which a bit 0 is placed is the same as an index in the first index set.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the determining a first bit sequence based on the first index set comprises:
determining a third bit sequence based on the first index set, wherein an index of a location, in the third bit sequence, at which a bit 0 is placed is the same as an index in the first index set; and
inverting the third bit sequence, to obtain the first bit sequence.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the performing rate matching on the first codeword based on any second index set of the at least one second index set comprises:
using a location indicated, in the first codeword, by an index in the any second index set, as the shortened location or the punctured location of the first codeword; and
performing rate matching on the first codeword.

### Claim 8

A Polar code rate matching device, comprising:
at least one processor;
a memory storing instructions executable by the at least one processor, wherein the instructions, when executed by the at least one processor, instruct the at least one processor to:
determine a first index set corresponding to N to-be-encoded bits, wherein the first index set comprises indexes of Z polarized channels on which forced frozen bits are placed, wherein the Z polarized channels are a subset of N polarized channels corresponding to the N to-be-encoded bits, wherein N=2n, wherein Z<N, and wherein n and Z are positive integers;
obtain a first codeword with a length of N, wherein the first codeword is obtained by performing Polar coding on the N to-be-encoded bits; and
perform rate matching on the first codeword based on the first index set, to obtain a second codeword with a length of M, wherein M<N, and wherein M is a positive integer; and
a transceiver, configured to send the second codeword with a length of M.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the instructions further instruct the at least one processor to:
determine at least one second index set based on the first index set, wherein each second index set comprises a determined index of a punctured location or a shortened location in the first codeword; and
perform rate matching on the first codeword based on any second index set of the at least one second index set.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the instructions further instruct the at least one processor to read, from N indexes corresponding to the first codeword, an index the same as an index in the first index set, to obtain one second index set.

### Claim 11 (depends on 9)

The device according to claim 9, wherein the instructions further instruct the at least one processor to:
determine a first bit sequence based on the first index set, wherein a length of the first bit sequence is equal to N;
perform bit exchange processing on the first bit sequence, to obtain at least one second bit sequence, wherein the bit exchange processing is to exchange, in the first bit sequence, a bit placed at a location indicated by an ith index with a bit placed at a location indicated by an (N/2+i)th index, wherein i traverses {0, 1, . . . , N/2−1}, and wherein the at least one second bit sequence is different from each other; and
read, from each second bit sequence of the at least one second bit sequence, an index of a location at which a bit 0 is placed, to obtain the at least one second index set, wherein each second bit sequence corresponds to one second index set.

### Claim 12 (depends on 11)

The device according to claim 11, wherein an index of a location, in the first bit sequence, at which a bit 0 is placed is the same as an index in the first index set.

### Claim 13 (depends on 11)

The device according to claim 11, wherein the determining a first bit sequence based on the first index set comprises:
determine a third bit sequence based on the first index set, wherein an index of a location, in the third bit sequence, at which a bit 0 is placed is the same as an index in the first index set; and
invert the third bit sequence, to obtain the first bit sequence.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the instructions further instruct the at least one processor to:
use a location indicated, in the first codeword, by an index in any second index set, as the shortened location or the punctured location of the first codeword; and
perform rate matching on the first codeword.

### Claim 15

A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, and wherein when the computer program is executed on a computer, the computer is enabled to perform a method comprising:
determining a first index set corresponding to N to-be-encoded bits, wherein the first index set comprises indexes of Z polarized channels on which forced frozen bits are placed, wherein the Z polarized channels are a subset of N polarized channels corresponding to the N to-be-encoded bits, wherein N=2n, wherein Z<N, and wherein and n and Z are positive integers;
obtaining a first codeword with a length of N, wherein the first codeword is obtained by performing Polar coding on the N to-be-encoded bits;
performing rate matching on the first codeword based on the first index set, to obtain a second codeword with a length of M, wherein M<N, and wherein M is a positive integer; and
sending the second codeword with a length of M.
