IP Library › Granted Patent US 11,063,611
Granted Patent B2
US 11,063,611 · App. 16/673,118 · Granted Jul 13, 2021

Encoding method and apparatus

Inventors: Lingchen Huang (Hangzhou, CN); Huazi Zhang (Hangzhou, CN); Rong Li (Hangzhou, CN); Gongzheng Zhang (Hangzhou, CN); Chen Xu (Hangzhou, CN)
Assignee: Huawei Technologies Co., Ltd.
H03M13/271H03M13/091H03M13/1102H03M13/152H03M13/2778H03M13/2792H04L1/0041H04L1/0071
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,063,611
App. No.
16/673,118
Granted
Jul 13, 2021
Kind
B2
Abstract

An encoding method and apparatus are provided. The method by a transmit end includes: performing check encoding on to-be-encoded information to obtain a check encoding codeword that comprises K information bits and J check bits; performing an interleaving operation on the check encoding codeword with an interleaving sequence including J subsequences, and an i th subsequence includes a position index of an element 1 in an intermediate result vector T i and a value of (K+i), where 1≤i≤J, i is an integer, T i =(˜M)&(V i ), M=M|(V i ), M is a masked vector, V i is a column vector of a checking part matrix P, P is a submatrix of a generator matrix G for check encoding, ˜ represents a bit-by-bit NOT operation, & represents a bit-by-bit AND operation, and | represents a bit-by-bit OR operation; and performing polar encoding on a check encoding codeword obtained after the interleaving operation.

Claims (63)

1. A method, comprising:

performing, by a transmit end, check encoding on to-be-encoded information to obtain a check encoding codeword, wherein the check encoding codeword comprises at least one information bit and at least one check bit, a length of the at least one information bit is K, and a length of the at least one check bit is J;

performing, by the transmit end, an interleaving operation on the check encoding codeword to obtain an interleaved check encoding codeword,

wherein an interleaving sequence S used in the interleaving operation comprises J subsequences,

wherein an i-th subsequence of the J subsequences comprises a position index of a position of an element 1 in an intermediate result vector Ti and a value of (K+i), and

wherein 1≤i≤J, i is an integer, the intermediate result vector Ti=(˜M)&(Vi), M=M|(Vi), M is a masked vector, Vi is a column vector of a checking part matrix P with K rows and J columns, P is a submatrix of a system-form generator matrix G for the check encoding, G=[I P] with K rows and (K+J) columns, I is an identity matrix with K rows and K columns, represents a bit-by-bit NOT operation, & represents a bit-by-bit AND operation, and | represents a bit-by-bit OR operation; and

performing, by the transmit end, polar encoding on the interleaved check encoding codeword obtained after the interleaving operation.

2. The method according to claim 1 , further comprising:

before the performing the interleaving operation on the check encoding codeword:

calculating the interleaving sequence S; or

performing, by the transmit end, offline calculation of the interleaving sequence S and storing, by the transmit end, the interleaving sequence S, wherein the performing the interleaving operation on the check encoding codeword comprises: performing, by the transmit end, the interleaving operation on the check encoding codeword based on the stored interleaving sequence S.

3. The method according to claim 1 , wherein values of i in the J subsequences are assigned in one of:

an ascending order of the values of i,

a descending order of the values of i,

an ascending order of quantities of elements 1 in the column vector Vi, or

a descending order of quantities of elements 1 in the column vector Vi.

4. The method according to claim 1 , wherein the check encoding is a cyclic redundancy check (CRC) encoding.

5. The method according to claim 4 , wherein a number of CRC bits is 5.

6. The method according to claim 5 , wherein a generator polynomial for the CRC encoding is [1 0 1 0 0 1].

7. An apparatus, comprising:

a non-transitory memory configured to store a program instruction; and

a processor configured to access the program instruction, wherein the processor executes the program instruction to:

obtain to-be-encoded information;

perform check encoding on the to-be-encoded information to obtain a check encoding codeword, wherein the check encoding codeword comprises at least one information bit and at least one check bit, a length of the at least one information bit is K, and a length of the at least one check bit is J;

perform an interleaving operation on the check encoding codeword to obtain an interleaved check encoding codeword; and

perform polar encoding on the interleaved check encoding codeword obtained after the interleaving operation,

wherein an interleaving sequence S used in the interleaving operation comprises J subsequences,

wherein an i-th subsequence of the J subsequences comprises a position index of a position of an element 1 in an intermediate result vector Ti and a value of (K+i), and

wherein 1≤i≤J, i is an integer, the intermediate result vector Ti=(˜M)&(Vi), M=M|(Vi), M is a masked vector, Vi is a column vector of a checking part matrix P with K rows and J columns, P is a submatrix of a system-form generator matrix G for the check encoding, G=[I P] with K rows and (K+J) columns, I is an identity matrix with K rows and K columns, ˜ represents a bit-by-bit NOT operation, & represents a bit-by-bit AND operation, and | represents a bit-by-bit OR operation.

8. The apparatus according to claim 7 , wherein the processor executes the program instruction further to:

before performing the interleaving operation on the check encoding codeword:

calculate the interleaving sequence S; or

perform offline calculation and store the interleaving sequence S, and perform the interleaving operation on the check encoding codeword based on the stored interleaving sequence S.

9. The apparatus according to claim 7 , wherein values of i in the J subsequences are assigned in one of:

an ascending order of the values of i;

a descending order of the values of i;

an ascending order of quantities of elements 1 in the column vector Vi; or

a descending order of quantities of elements 1 in the column vector Vi.

10. The apparatus according to claim 7 , wherein the check encoding is a cyclic redundancy check (CRC) encoding.

11. The apparatus according to claim 10 , wherein a number of CRC bits is 5.

12. The apparatus according to claim 11 , wherein a generator polynomial for the CRC encoding is [1 0 1 0 0 1].

13. The apparatus according to claim 7 , wherein the apparatus is a chip.

14. A computer readable storage medium, wherein the computer readable storage medium stores computer readable instructions, and when run in an apparatus, the computer readable instructions cause the apparatus to perform operations, the operations comprising:

obtaining to-be-encoded information;

performing check encoding on the to-be-encoded information to obtain a check encoding codeword, wherein the check encoding codeword comprises at least one information bit and at least one check bit, a length of the at least one information bit is K, and a length of the at least one check bit is J;

performing an interleaving operation on the check encoding codeword to obtain an interleaved check encoding codeword; and

performing polar encoding on the interleaved check encoding codeword obtained after the interleaving operation,

wherein an interleaving sequence S used in the interleaving operation comprises J subsequences,

wherein an i-th subsequence of the J subsequences comprises a position index of a position of an element 1 in an intermediate result vector Ti and a value of (K+i), and

wherein 1≤i≤J, i is an integer, the intermediate result vector Ti=(˜M)&(Vi), M=M|(Vi), M is a masked vector, Vi is a column vector of a checking part matrix P with K rows and J columns, P is a submatrix of a system-form generator matrix G for the check encoding, G=[I P] with K rows and (K+J) columns, I is an identity matrix with K rows and K columns, ˜ represents a bit-by-bit NOT operation, & represents a bit-by-bit AND operation, and | represents a bit-by-bit OR operation.

15. The computer readable storage medium according to claim 14 , wherein to the operations further comprise:

before the performing the interleaving operation on the check encoding codeword:

calculating the interleaving sequence S; or

performing offline calculation and store the interleaving sequence S, and performing the interleaving operation on the check encoding codeword based on the stored interleaving sequence S.

16. The computer readable storage medium according to claim 14 , wherein values of i in the J subsequences are assigned in one of:

an ascending order of the values of i,

a descending order of the values of i,

an ascending order of quantities of elements 1 in the column vector Vi, or

a descending order of quantities of elements 1 in the column vector Vi.

17. The computer readable storage medium according to claim 14 , wherein the check encoding is a cyclic redundancy check (CRC) encoding.

18. The computer readable storage medium according to claim 17 , wherein a number of CRC bits is 5.

19. The computer readable storage medium according to claim 18 , wherein a generator polynomial for the CRC encoding is [1 0 1 0 0 1].

20. The computer readable storage medium according to claim 19 , wherein K is 10.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2020
From: HUANG, LINGCHEN; ZHANG, HUAZI; LI, RONG; ZHANG, GONGZHENG; XU, CHEN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 052526/0221 →
Priority Claims (1)
CN 201710314164.5 · May 5, 2017 · national
Continuity (2)
Continuation PCTCN2018085503 · May 3, 2018
Related Publication 20200067534A1 · Feb 27, 2020
Cited By (1)
US 12,506,495