WO2018149354A1 - Polar code encoding method and apparatus, and device and storage medium - Google Patents

Polar code encoding method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2018149354A1
WO2018149354A1 PCT/CN2018/075719 CN2018075719W WO2018149354A1 WO 2018149354 A1 WO2018149354 A1 WO 2018149354A1 CN 2018075719 W CN2018075719 W CN 2018075719W WO 2018149354 A1 WO2018149354 A1 WO 2018149354A1
Authority
WO
WIPO (PCT)
Prior art keywords
index set
matrix
column index
column
columnindxset
Prior art date
Application number
PCT/CN2018/075719
Other languages
French (fr)
Chinese (zh)
Inventor
陈梦竹
许进
徐俊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018149354A1 publication Critical patent/WO2018149354A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/27Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes using interleaving techniques

Definitions

  • the present invention relates to a next generation mobile communication technology, and more particularly to a polarization code encoding method, an encoding device and device, and a computer readable storage medium.
  • the channel coding service is a separate part of the mobile communication system, which ensures the reliability, accuracy and effectiveness of information transmission.
  • the process of forward error correction (FEC) encoding is a process of generating a check bit sequence from an information bit sequence, and the information bit sequence and the check bit sequence together form a code word bit sequence.
  • FEC forward error correction
  • Linear block codes are a type of commonly used FEC code.
  • a linear block code is a set of fixed length code groups that can be represented as (n, k) block codes.
  • the k-bit information bit sequence is encoded into an n-bit codeword bit sequence. Since the 2 k codewords of the (n, k) block code form a k-dimensional subspace, the 2 k codewords must be generated by k linearly independent substrates, if the k bases are written in the form of a matrix. , there are:
  • codeword bit sequence in the (n, k) block code can be generated by a linear combination of the set of substrates, ie,
  • G is a generator matrix
  • the polarization code has been selected as one of the 5G communication coding methods.
  • the encoding process of the polarization code includes subchannel reliability estimation, subchannel selection, coding, and rate matching.
  • this patent proposes a construction method of a polarization code generation matrix, which can effectively reduce the coding complexity while ensuring the efficiency and reliability of the communication spectrum.
  • an embodiment of the present invention provides a method, an encoding apparatus, and a computer readable storage medium for encoding a polarization code, which can greatly simplify the encoding process, thereby reducing coding time.
  • An embodiment of the present invention provides a method for encoding a polarization code, including:
  • a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ⁇ K, and C and K are non-negative integers;
  • the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, is a subset of the row index set ⁇ 0, 1, 2, ..., N-1 ⁇ , and the column index set ColumnIndxSet has C elements, which is a column index set ⁇ 0, 1, A subset of 2,...,N-1 ⁇ , R and N are positive integers, and N is a power series of 2, R ⁇ N.
  • the N ⁇ N matrix G N is one of the following:
  • the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the N_i ⁇ N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
  • the generation matrix set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 ⁇ , and M and i are greater than or equal to 1. Integer
  • the row index set RowIndxSet_i has R_i elements, which is a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇
  • the column index set ColumnIndxSet_i has C_i elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N_i-1 ⁇ ; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • the generator matrix generating matrix set G G C _Set the C_i is the row index and the column index set collection RowIndxSet_i ColumnIndxSet_i matrix G N_i jointly indicating the sub-matrix, said matrix generating a set of generator matrix G G C _Set the row index set C_j RowIndxSet_j and column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i ⁇ C_j and R_i ⁇ R_j, the column generation matrix G C_i is a submatrix of the generation matrix G C_j .
  • the generator matrix generating matrix set G G C _Set the C_i is the row index and the column index set collection RowIndxSet_i ColumnIndxSet_i matrix G N_i jointly indicating the sub-matrix, said matrix generating a set of generator matrix G G C _Set the row index set C_j
  • the RowIndxSet_j and the column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i ⁇ C_j and R_i ⁇ R_j, the column generation matrix G C_i has a ratio of at least p% different from the generation matrix G C_j .
  • the ratio p% is one of 5%, 10%, and 20%.
  • the first column index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A ⁇ L_B, the first column index set Set_A is the second column index set Set_B True subset
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • the ratio q% is one of 5%, 10%, and 20%.
  • the generation matrix G C is obtained by interleaving the matrix G N according to the row index set RowIndxSet and the column index set ColumnIndxSet row and column.
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the third column index set Set_C determined in the row index set RowIndxSet
  • the fourth column index set Set_D determined in the column index set ColumnIndxSet
  • the third column index set Set_C has at least The element with a ratio of p 1 % is different from the fourth column index set Set_D
  • the fourth column index set Set_D has at least a ratio of elements of p 1 % different from the third column index set Set_C;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the ratio p 1 % is one of 5%, 10% and 20%.
  • the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
  • L_E is the number of elements of the fifth column index set Set_E
  • L_F is the number of elements of the sixth column index set Set_F.
  • the fifth column index set Set_E determined in the row index set RowIndxSet_i and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E ⁇ L_F, the fifth column index set Set_E has at least The element with a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
  • the ratio p 2 % is one of 5%, 10% and 20%.
  • An embodiment of the present invention further provides a coding apparatus for a polarization code, including a processing module, configured to:
  • a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ⁇ K, and C and K are non-negative integers;
  • the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, is a subset of the row index set ⁇ 0, 1, 2, ..., N-1 ⁇ , and the column index set ColumnIndxSet has C elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N-1 ⁇ ; wherein R and N are positive integers, and N is a power series of 2, R ⁇ N.
  • the N ⁇ N matrix G N is one of the following:
  • the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the N_i ⁇ N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
  • the generation matrix set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 ⁇ , and M and i are greater than or equal to 1. Integer
  • the row index set RowIndxSet_i has R_i elements, which is a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇
  • the column index set ColumnIndxSet_i has C_i elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N_i-1 ⁇ ; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • An embodiment of the present invention further provides an apparatus for implementing a coding method for a polarization code, including at least a memory and a processor for executing executable instructions, where
  • An executable instruction is stored in the memory
  • the processor performs at least the following operations when executing the executable instruction:
  • a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ⁇ K, and C and K are non-negative integers;
  • the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N jointly indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, which is a row index set ⁇ 0, 1, 2,... , a subset of N-1 ⁇
  • the column index set ColumnIndxSet has C elements, is a subset of the column index set ⁇ 0, 1, 2, ..., N-1 ⁇
  • R and N are positive integers
  • N is 2
  • the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the N_i ⁇ N_i matrix G N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set; the generation matrix
  • the set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . .
  • G C_M-1 ⁇ , M and i are integers greater than or equal to 1;
  • the row index set RowIndxSet_i has The R_i elements are a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇ , and the column index set ColumnIndxSet_i has C_i elements, which are column index sets ⁇ 0, 1, 2, ..., N_i-1 a subset of ⁇ ; where C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • the embodiment of the invention further provides a computer readable storage medium storing computer instructions for performing the foregoing encoding method of a polarization code.
  • the embodiment of the present invention includes at least: a bit sequence of length K bits, and a codeword bit sequence of length C bits by using a generator matrix G C , where C ⁇ K, and C And K are both non-negative integers; wherein, the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet; wherein the row index set RowIndxSet has R elements, which is a row A subset of the index set ⁇ 0, 1, 2, ..., N-1 ⁇ , the column index set ColumnIndxSet has C elements, is a subset of the column index set ⁇ 0, 1, 2, ..., N-1 ⁇ , R And N is a positive integer, and N is a power series of 2, R ⁇ N.
  • a bit sequence of length K bits is encoded by the generation matrix G C to obtain a codeword bit sequence of length C bits.
  • FIG. 1 is a flowchart of implementing an encoding method of a polarization code according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a coding apparatus of a polarization code according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for encoding a polarization code.
  • FIG. 1 is a flowchart of implementing a method for encoding a polarization code according to an embodiment of the present invention. As shown in FIG.
  • Step 100 Encoding an input bit sequence of length K bits by using a generator matrix G C to obtain a codeword bit sequence of length C bits, where C ⁇ K, and C and K are non-negative integers;
  • the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, is a subset of the row index set ⁇ 0, 1, 2, ..., N-1 ⁇ , and the column index set ColumnIndxSet has C elements, which is a column index set ⁇ 0, 1, A subset of 2,...,N-1 ⁇ , R and N are positive integers, and N is a power series of 2, R ⁇ N.
  • the input bit sequence of length K bits includes but is not limited to:
  • the check bit sequence is obtained by encoding the information bit sequence and the known bit sequence; or the check bit sequence is passed by the information bit sequence
  • the code is obtained.
  • the coding mode includes one or any combination of the following: parity coding, cyclic redundancy check coding, BCH coding, Hamming code coding, convolutional coding, generator matrix coding, Turbo coding, low density parity check coding, De Muller code, hash code;
  • the same encoding method is executed one or more times.
  • the N ⁇ N matrix G N is one of the following:
  • G N can be Obtained by column interleaving and row interleaving; or, G N can be Obtained by column interleaving; or, G N can be Obtained through line interleaving.
  • the column interleaving includes one or any combination of the following:
  • the jth column in the matrix G N is the matrix The ith column, where for each sequence number j ⁇ ⁇ 0, 1, ..., N-1 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; or,
  • the (Cj-1)th column in the matrix G N is the matrix The ith column, where for each sequence number j ⁇ ⁇ 0, 1, ..., N-1 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; or,
  • the column index is ⁇ S 1 , S 2 , S 3 , S 4 ⁇ , where the sequence S 1 is the intersection of the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ , the sequence S 2 is the difference between the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ and the sequence S 1 , the sequence S 4 is the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ t 1 , t 1 +1, ..., N-1
  • the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the matrix G N_i of the N_i ⁇ N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
  • the generation matrix set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 ⁇ , and M and i are greater than or equal to 1. Integer
  • the row index set RowIndxSet_i has R_i elements, which is a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇
  • the column index set ColumnIndxSet_i has C_i elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N_i-1 ⁇ ; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
  • the first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A ⁇ L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • the ratio q% is one of 5%, 10% and 20%.
  • the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
  • the third column index set Set_C determined in the row index set RowIndxSet
  • the fourth column index set Set_D determined in the column index set ColumnIndxSet
  • L_C ⁇ L_D the third column index set Set_C is The true subset of the fourth column index set Set_D
  • L_C>L_D the fourth column index set Set_D is a true subset of the third column index set Set_C
  • the set Set_D is the same;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C ⁇ L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the ratio p 1 % is one of 5%, 10% and 20%.
  • the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
  • L_E is the number of elements of the fifth column index set Set_E
  • L_F is the number of elements of the sixth column index set Set_F.
  • the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j if L_E ⁇ L_F, the fifth column index set Set_E is at least The element having a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
  • the ratio p 2 % is one of 5%, 10% and 20%.
  • the column index set/row index set is a set of column numbers/row numbers, and the column index set/row index set is used to indicate which columns/rows of the generation matrix are selected. For example, when the column index set/row index set is [1, 2, ..., 158], the first, 2, ..., 158 columns/rows of the generated matrix are selected. There are a plurality of column index sets, and bit sequences of different lengths correspond to different column index sets. That is, when the column index set is [1, 2, ..., 158] and the row index set is [1, 2, ..., 100], G C is the matrix index and the row index set indicated by the matrix G N matrix 1, 2, ..., 158 columns and 1st, 2nd, ..., 100 rows.
  • the R_A ⁇ C_A generation matrix G C _A is obtained from the N ⁇ N matrix G N according to the row index set RowIndxSet_A and the column index set ColumnIndxSet_A
  • the R_B ⁇ C_B generation matrix G C _B is from the row index set RowIndxSet_B and the column index set ColumnIndxSet_B from N ⁇ N matrix G N is obtained, and C_A ⁇ C_B, then,
  • the column index set ColumnIndxSet_A is a true subset of the column index set ColumnIndxSet_B means: the element larger than C_A in ColumnIndxSet_B is deleted, and the obtained set is consistent with the column index set ColumnIndxSet_A;
  • the column index set ColumnIndxSet_A has at least a ratio of q% elements different from the column index set ColumnIndxSet_B means that the elements larger than C_A in ColumnIndxSet_B are deleted, and the resulting set arrangement order is inconsistent with the column index set ColumnIndxSet_A at least q%.
  • a generation matrix having a large applicable range is obtained, and the generation matrix effectively increases the spectrum efficiency and reliability of the communication, and effectively reduces the spectrum. Coding complexity.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions for performing the foregoing method for encoding a polarization code according to an embodiment of the present invention.
  • An embodiment of the present invention further provides an apparatus for implementing a coding method of a polarization code, including at least a memory and a processor for executing executable instructions, where
  • the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N jointly indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, which is a row index set ⁇ 0, 1, 2,... , a subset of N-1 ⁇
  • the column index set ColumnIndxSet has C elements, is a subset of the column index set ⁇ 0, 1, 2, ..., N-1 ⁇ ; where R and N are positive integers, and N Is a power series of 2, R ⁇ N.
  • the generation matrix G C is a generation matrix Gc_ i of a generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the N_i ⁇ N_i matrix G N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set; the generation matrix
  • the set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . .
  • G C_M-1 ⁇ , M and i are integers greater than or equal to 1;
  • the row index set RowIndxSet_i has The R_i elements are a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇ , and the column index set ColumnIndxSet_i has C_i elements, which are column index sets ⁇ 0, 1, 2, ..., N_i-1 a subset of ⁇ ; where C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
  • the first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A ⁇ L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • the ratio q% is one of 5%, 10% and 20%.
  • the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
  • the third column index set Set_C determined in the row index set RowIndxSet
  • the fourth column index set Set_D determined in the column index set ColumnIndxSet
  • L_C ⁇ L_D the third column index set Set_C is The true subset of the fourth column index set Set_D
  • L_C>L_D the fourth column index set Set_D is a true subset of the third column index set Set_C
  • the set Set_D is the same;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C ⁇ L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the ratio p 1 % is one of 5%, 10% and 20%.
  • the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
  • L_E is the number of elements of the fifth column index set Set_E
  • L_F is the number of elements of the sixth column index set Set_F.
  • the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j if L_E ⁇ L_F, the fifth column index set Set_E is at least An element having a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
  • the ratio p 2 % is one of 5%, 10% and 20%.
  • FIG. 2 is a schematic structural diagram of a device for encoding a polarization code according to an embodiment of the present invention. As shown in FIG. 2, the method further includes: a processing module configured to:
  • a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ⁇ K, and C and K are non-negative integers; wherein the generation matrix G C is a sub-matrix of the N ⁇ N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
  • the row index set RowIndxSet has R elements, is a subset of the row index set ⁇ 0, 1, 2, ..., N-1 ⁇ , and the column index set ColumnIndxSet has C elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N-1 ⁇ ; wherein R and N are positive integers, and N is a power series of 2, R ⁇ N.
  • the input bit sequence of length K bits includes but is not limited to:
  • the check bit sequence is obtained by encoding the information bit sequence and the known bit sequence.
  • the check bit sequence is encoded by a sequence of information bits.
  • the coding mode includes but is not limited to one or any combination of the following: parity coding, cyclic redundancy check coding, BCH coding, Hamming code coding, convolutional coding, generator matrix coding, Turbo coding, low density parity check Coding, Reed Muller encoding, hash encoding;
  • the same encoding method is executed one or more times.
  • the N ⁇ N matrix G N is one of the following:
  • the column interleaving includes one or any combination of the following:
  • the jth column in the matrix G N is the matrix The ith column, where for each sequence number j ⁇ ⁇ 0, 1, ..., N-1 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; or,
  • the (Cj-1)th column in the matrix G N is the matrix The ith column, where for each sequence number j ⁇ ⁇ 0, 1, ..., N-1 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; or,
  • the column index is ⁇ S 1 , S 2 , S 3 , S 4 ⁇ , where the sequence S 1 is the intersection of the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ , the sequence S 2 is the difference between the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ and the sequence S 1 , the sequence S 4 is the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ t 1 , t 1 +1, ..., N-1
  • the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
  • the generation matrix G C_i is a sub-matrix of the matrix G N_i of the N_i ⁇ N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
  • the generation matrix set G C _Set includes M generation matrices, denoted as ⁇ G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 ⁇ , and M and i are greater than or equal to 1. Integer
  • the row index set RowIndxSet_i has R_i elements, which is a subset of the row index set ⁇ 0, 1, 2, ..., N_i-1 ⁇
  • the column index set ColumnIndxSet_i has C_i elements, which is a column index set ⁇ 0, 1, A subset of 2,..., N_i-1 ⁇ ; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ⁇ N_i.
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
  • the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i ⁇ C_j and R_i ⁇ R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
  • the first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A ⁇ L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • L_A is the number of elements of the first column index set Set_A
  • L_B is the number of elements of the second column index set Set_B.
  • the ratio q% is one of 5%, 10% and 20%.
  • the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
  • the third column index set Set_C determined in the row index set RowIndxSet
  • the fourth column index set Set_D determined in the column index set ColumnIndxSet
  • L_C ⁇ L_D the third column index set Set_C is The true subset of the fourth column index set Set_D
  • L_C>L_D the fourth column index set Set_D is a true subset of the third column index set Set_C
  • the set Set_D is the same;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C ⁇ L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
  • L_C is the number of elements of the third column index set Set_C
  • L_D is the number of elements of the fourth column index set Set_D.
  • the ratio p 1 % is one of 5%, 10% and 20%.
  • the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
  • the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the column index set ColumnIndxSet_j sixth column index set Set_F
  • L_E ⁇ L_F the fifth column index set Set_E is the sixth column a true subset of the index set Set_F
  • L_E>L_F the sixth column index set Set_F is a true subset of the fifth column index set Set_E
  • L_E is the number of elements of the fifth column index set Set_E
  • L_F is the number of elements of the sixth column index set Set_F.
  • the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the column index set ColumnIndxSet_j sixth column index set Set_F
  • L_E ⁇ L_F the fifth column index set Set_E has at least a ratio of The p 2 % element is different from the sixth column index set Set_F
  • L_E>L_F the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
  • the ratio p 2 % is one of 5%, 10% and 20%.
  • the technical solutions provided by the embodiments of the present invention may be, but are not limited to, used in New Radio Access Technology (NR).
  • NR New Radio Access Technology
  • the transmitting end may be a base station, and the base station may be, but not limited to, a g-Node B (gNB, g Node B); the transmitting end may also be a user equipment (UE, User Equipment).
  • the receiving end may be a UE or a base station, and the base station may be, but not limited to, a gNB.
  • the transmitting end transmits the transmitted bit sequence to the receiving end.
  • the second embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix Column interleaving, that is, the jth column in the matrix G 256 is a matrix
  • the ith column where for each sequence number j ⁇ ⁇ 0, 1, ..., 255 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence is reversed , get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; that is, the 0th column in G 256 is a matrix.
  • Column 0 the first column in G 256 is the matrix Column 128, the second column in G 256 is the matrix Column 64, and so on;
  • the third embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix Column interleaving, that is, the (Cj-1) column in the matrix G 256 is a matrix
  • the ith column where for each sequence number j ⁇ ⁇ 0, 1, ..., 255 ⁇ , j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence is reversed , get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number.
  • This decimal number is i; that is, the 0th column in G 256 is a matrix.
  • Column 255, the first column in G 256 is the matrix Column 127, the second column in G 256 is a matrix Column 191, and so on;
  • the fourth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix Column interleaving, that is, the corresponding matrix of columns in G 256
  • the fifth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix Column interleaving, that is, the corresponding matrix of columns in G 256
  • the column index is ⁇ S 1 , S 2 , S 3 , S 4 ⁇ , where the sequence S 1 is the intersection of the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ , the sequence S 2 is the difference between the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ and the sequence S 1 , the sequence S 4 is the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ t 1 , t 1 +1, ..., N-1
  • the sixth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix Column interleaving, that is, the column in G 256 corresponds to the matrix
  • the column index is ⁇ I 1 , I 2 , I 3 , I 4 ⁇ , where sequence I 2 is the intersection of the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ 0,1,...,t 1 -1 ⁇ , sequence I 1 is the difference between the sequence ⁇ 0, 1, ..., t 1 -1 ⁇ and the sequence I 2 , the sequence I 3 is the sequence ⁇ BRO(k) ⁇ and the sequence ⁇ t 1 , t 1 +1, ..., N-1
  • I 1 [0,1,..,63] ⁇ I 2 ,
  • the bit sequence of length K bits is encoded by the generation matrix Gc to obtain a codeword bit sequence of length C bits, which greatly simplifies the coding process, thereby reducing the coding time.
  • the generation matrix Gc According to the characteristics of the polarization code coding matrix and each bit sequence, a generation matrix with a large applicable range is obtained, and the generation matrix effectively increases the spectrum efficiency and reliability of the communication, and effectively reduces the coding complexity.

Abstract

Disclosed are a polar code encoding method and encoding apparatus, and a device. In the technical solution provided in the embodiments of the present invention, a generation matrix Gc is used to encode an input bit sequence with a length of K bits to obtain a codeword bit sequence with a length of C bits, such that the encoding process is greatly simplified, and thus the encoding time is reduced. Also disclosed is a computer-readable storage medium.

Description

极化码的编码方法、装置及设备、存储介质Polarization code encoding method, device and device, and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710081770.7、申请日为2月15日,以及申请号为201710184706.1、申请日为2017年03月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此以引入方式并入本申请。This application is based on a Chinese patent application with an application number of 201710081770.7, an application date of February 15, and an application number of 201710184706.1, and an application date of March 24, 2017, and requires the priority of the Chinese patent application, the Chinese patent The content of the application is incorporated herein by reference.
技术领域Technical field
本发明涉及下一代移动通信技术,尤指一种极化码的编码方法、编码装置及设备和计算机可读存储介质。The present invention relates to a next generation mobile communication technology, and more particularly to a polarization code encoding method, an encoding device and device, and a computer readable storage medium.
背景技术Background technique
由于信道噪声的存在,信道编码服务作为移动通信系统的独立部分,它保证着信息传递的可靠性、准确性和有效性。一般来讲,前向纠错(FEC,Forward Error Correction)编码的过程就是由信息比特序列生成校验比特序列的过程,信息比特序列和校验比特序列共同组成了码字比特序列。Due to the existence of channel noise, the channel coding service is a separate part of the mobile communication system, which ensures the reliability, accuracy and effectiveness of information transmission. Generally, the process of forward error correction (FEC) encoding is a process of generating a check bit sequence from an information bit sequence, and the information bit sequence and the check bit sequence together form a code word bit sequence.
线性分组码是一类常用的FEC编码。线性分组码是一组固定长度的码组,可以表示为(n,k)分组码。在编码时,k位信息比特序列被编码成n位码字比特序列。由于(n,k)分组码的2 k个码字组成了一个k维子空间,所以该2 k个码字一定可以由k个线性无关的基底生成,若把该k个基底写成矩阵的形式,则有: Linear block codes are a type of commonly used FEC code. A linear block code is a set of fixed length code groups that can be represented as (n, k) block codes. At the time of encoding, the k-bit information bit sequence is encoded into an n-bit codeword bit sequence. Since the 2 k codewords of the (n, k) block code form a k-dimensional subspace, the 2 k codewords must be generated by k linearly independent substrates, if the k bases are written in the form of a matrix. , there are:
Figure PCTCN2018075719-appb-000001
Figure PCTCN2018075719-appb-000001
而(n,k)分组码中的码字比特序列可以由这组基底的线性组合生成,即,And the codeword bit sequence in the (n, k) block code can be generated by a linear combination of the set of substrates, ie,
Figure PCTCN2018075719-appb-000002
Figure PCTCN2018075719-appb-000002
其中,m是信息比特序列,C是编码后的码字比特序列。此处称G为生成矩阵。Where m is the information bit sequence and C is the encoded code word bit sequence. Here, G is a generator matrix.
第五代移动通信(5G)最迫切的就是要增大通信的频谱效率和可靠性,极化码已选为5G通信编码方式之一。而通常情况下,极化码的编码过程包括子信道可靠性估计、子信道选择、编码和速率匹配等过程。为此,本专利提出一种极化码生成矩阵的构造方法,在保证通信频谱效率和可靠性同时,可有效减少编码复杂度。The most urgent thing for the fifth generation mobile communication (5G) is to increase the spectrum efficiency and reliability of communication. The polarization code has been selected as one of the 5G communication coding methods. In general, the encoding process of the polarization code includes subchannel reliability estimation, subchannel selection, coding, and rate matching. To this end, this patent proposes a construction method of a polarization code generation matrix, which can effectively reduce the coding complexity while ensuring the efficiency and reliability of the communication spectrum.
发明内容Summary of the invention
为了解决上述技术问题,本发明实施例提供一种极化码的编码方法、编码装置及设备和计算机可读存储介质,能够极大简化编码过程,从而减小编码耗时。In order to solve the above technical problem, an embodiment of the present invention provides a method, an encoding apparatus, and a computer readable storage medium for encoding a polarization code, which can greatly simplify the encoding process, thereby reducing coding time.
本发明实施例提供了一种极化码的编码方法,包括:An embodiment of the present invention provides a method for encoding a polarization code, including:
对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,...,N-1}, R and N are positive integers, and N is a power series of 2, R≤N.
上述方案中,所述N×N矩阵G N为以下之一: In the above solution, the N×N matrix G N is one of the following:
Figure PCTCN2018075719-appb-000003
其中,
Figure PCTCN2018075719-appb-000004
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000005
n=log 2N;或者,
Figure PCTCN2018075719-appb-000003
among them,
Figure PCTCN2018075719-appb-000004
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000005
n=log 2 N; or,
G N
Figure PCTCN2018075719-appb-000006
经过列交织和/或行交织得到,其中,
Figure PCTCN2018075719-appb-000007
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000008
n=log 2N。
G N by
Figure PCTCN2018075719-appb-000006
Obtained by column interleaving and/or row interleaving, wherein
Figure PCTCN2018075719-appb-000007
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000008
n=log 2 N.
上述方案中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iIn the above solution, the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, and M and i are greater than or equal to 1. Integer
其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
上述方案中,当0≤i<j≤M-1且N_i≤N_j;In the above scheme, when 0 ≤ i < j ≤ M-1 and N_i ≤ N_j;
所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i是生成矩阵G C_j的子矩阵。 The generator matrix generating matrix set G G C _Set the C_i is the row index and the column index set collection RowIndxSet_i ColumnIndxSet_i matrix G N_i jointly indicating the sub-matrix, said matrix generating a set of generator matrix G G C _Set the row index set C_j RowIndxSet_j and column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i < C_j and R_i ≤ R_j, the column generation matrix G C_i is a submatrix of the generation matrix G C_j .
上述方案中,当0≤i<j≤M-1且N_i≤N_j;In the above scheme, when 0 ≤ i < j ≤ M-1 and N_i ≤ N_j;
所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i至少有比例为p%与生成矩阵G C_j不同。 The generator matrix generating matrix set G G C _Set the C_i is the row index and the column index set collection RowIndxSet_i ColumnIndxSet_i matrix G N_i jointly indicating the sub-matrix, said matrix generating a set of generator matrix G G C _Set the row index set C_j The RowIndxSet_j and the column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i < C_j and R_i ≤ R_j, the column generation matrix G C_i has a ratio of at least p% different from the generation matrix G C_j .
上述方案中,所述比例p%为5%、10%和20%中之一。In the above scheme, the ratio p% is one of 5%, 10%, and 20%.
上述方案中,所述列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A是第二列索引集合Set_B的真子集;In the above solution, the first column index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A is the second column index set Set_B True subset
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
上述方案中,所述列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A至少有比例为q%的元素与第二列索引集合Set_B不同;In the above solution, the first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A has at least a proportion of q% The element is different from the second column index set Set_B;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
上述方案中,所述比例q%为5%、10%和20%中之一。In the above scheme, the ratio q% is one of 5%, 10%, and 20%.
上述方案中,所述生成矩阵G C由所述矩阵G N按照行索引集合RowIndxSet和列索引集合ColumnIndxSet行列交织得到。 In the above solution, the generation matrix G C is obtained by interleaving the matrix G N according to the row index set RowIndxSet and the column index set ColumnIndxSet row and column.
上述方案中,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C<L_D,则第三列索引集合Set_C是第四列索引集合Set_D的真子集;如果L_C>L_D,则第四列索引集合Set_D是第三列索引集合Set_C的 真子集;如果L_C=L_D,则第三列索引集合Set_C与第四列索引集合Set_D相同;In the above solution, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C<L_D, the third column index set Set_C is the first a true subset of the four-column index set Set_D; if L_C>L_D, the fourth column index set Set_D is a true subset of the third column index set Set_C; if L_C=L_D, the third column index set Set_C and the fourth column index set Set_D is the same;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
上述方案中,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C≤L_D,则第三列索引集合Set_C至少有比例为p 1%的元素与第四列索引集合Set_D不同;如果L_C>L_D,则第四列索引集合Set_D至少有比例为p 1%的元素与第三列索引集合Set_C不同; In the above solution, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C≤L_D, the third column index set Set_C has at least The element with a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of elements of p 1 % different from the third column index set Set_C;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
上述方案中,所述比例p 1%为5%、10%和20%中之一。 In the above scheme, the ratio p 1 % is one of 5%, 10% and 20%.
上述方案中,所述生成矩阵G C_i由所述矩阵G N_i按照行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i行列交织得到。 In the above solution, the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
上述方案中,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E<L_F,则第五列索引集合Set_E是第六列索引集合Set_F的真子集;如果L_E>L_F,则第六列索引集合Set_F是第五列索引集合Set_E的真子集;如果L_E=L_F,则第五列索引集合Set_E与第六列索引集合Set_F相同;In the above solution, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E<L_F, the fifth column index set Set_E is the first a true subset of the six-column index set Set_F; if L_E>L_F, the sixth column index set Set_F is a true subset of the fifth column index set Set_E; if L_E=L_F, the fifth column index set Set_E and the sixth column index set Set_F is the same;
其中,L_E为第五列索引集合Set_E的元素个数,L_F为第六列索引集合Set_F的元素个数。Where L_E is the number of elements of the fifth column index set Set_E, and L_F is the number of elements of the sixth column index set Set_F.
上述方案中,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F, 如果L_E≤L_F,则第五列索引集合Set_E至少有比例为p 2%的元素与第六列索引集合Set_F不同;如果L_E>L_F,则第六列索引集合Set_F至少有比例为p 2%的元素与第五列索引集合Set_E不同; In the above solution, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E≤L_F, the fifth column index set Set_E has at least The element with a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
上述方案中,所述比例p 2%为5%、10%和20%中之一。 In the above scheme, the ratio p 2 % is one of 5%, 10% and 20%.
本发明实施例又提供了一种极化码的编码装置,包括处理模块,配置为:An embodiment of the present invention further provides a coding apparatus for a polarization code, including a processing module, configured to:
对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集;其中,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,..., N-1}; wherein R and N are positive integers, and N is a power series of 2, R≤N.
上述方案中,所述N×N矩阵G N为以下之一: In the above solution, the N×N matrix G N is one of the following:
Figure PCTCN2018075719-appb-000009
其中,
Figure PCTCN2018075719-appb-000010
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000011
n=log 2N;或者,
Figure PCTCN2018075719-appb-000009
among them,
Figure PCTCN2018075719-appb-000010
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000011
n=log 2 N; or,
G N
Figure PCTCN2018075719-appb-000012
经过列交织和/或行交织得到,其中,
Figure PCTCN2018075719-appb-000013
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000014
n=log 2N。
G N by
Figure PCTCN2018075719-appb-000012
Obtained by column interleaving and/or row interleaving, wherein
Figure PCTCN2018075719-appb-000013
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000014
n=log 2 N.
上述方案中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iIn the above solution, the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, and M and i are greater than or equal to 1. Integer
其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
本发明实施例还提供给了一种用于实现极化码的编码方法的设备,至少包括存储器和用于执行可执行指令的处理器,其中,An embodiment of the present invention further provides an apparatus for implementing a coding method for a polarization code, including at least a memory and a processor for executing executable instructions, where
存储器中存储有可执行指令;An executable instruction is stored in the memory;
其中,所述处理器在执行所述可执行指令时,至少执行以下操作:The processor performs at least the following operations when executing the executable instruction:
对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵;行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。 The generation matrix G C is a sub-matrix of the N×N matrix G N jointly indicated by the row index set RowIndxSet and the column index set ColumnIndxSet; the row index set RowIndxSet has R elements, which is a row index set {0, 1, 2,... , a subset of N-1}, the column index set ColumnIndxSet has C elements, is a subset of the column index set {0, 1, 2, ..., N-1}, R and N are positive integers, and N is 2 The power series, R ≤ N.
上述方案中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iIn the above solution, the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵;所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数;行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1} 的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。 The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set; the generation matrix The set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, M and i are integers greater than or equal to 1; the row index set RowIndxSet_i has The R_i elements are a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which are column index sets {0, 1, 2, ..., N_i-1 a subset of }; where C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
本发明实施例还提供一种计算机可读存储介质,存储有计算机指令,所述计算机指令用于执行前述的极化码的编码方法。The embodiment of the invention further provides a computer readable storage medium storing computer instructions for performing the foregoing encoding method of a polarization code.
与现有技术相比,本发明实施例中,至少包括:对长度为K比特的比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数;其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵;其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。本发明实施例中,利用生成矩阵G C对长度为K比特的比特序列编码得到长度为C比特的码字比特序列。 Compared with the prior art, the embodiment of the present invention includes at least: a bit sequence of length K bits, and a codeword bit sequence of length C bits by using a generator matrix G C , where C ≥ K, and C And K are both non-negative integers; wherein, the generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet; wherein the row index set RowIndxSet has R elements, which is a row A subset of the index set {0, 1, 2, ..., N-1}, the column index set ColumnIndxSet has C elements, is a subset of the column index set {0, 1, 2, ..., N-1}, R And N is a positive integer, and N is a power series of 2, R≤N. In the embodiment of the present invention, a bit sequence of length K bits is encoded by the generation matrix G C to obtain a codeword bit sequence of length C bits.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明实施例极化码的编码方法的实现流程图;1 is a flowchart of implementing an encoding method of a polarization code according to an embodiment of the present invention;
图2为本发明实施例极化码的编码装置的组成结构示意图。FIG. 2 is a schematic structural diagram of a coding apparatus of a polarization code according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
第五代移动通信(5G)最迫切的就是要增大通信的频谱效率和可靠性,为此本发明实施例提出一种极化码的编码方法。The most urgent of the fifth generation mobile communication (5G) is to increase the spectral efficiency and reliability of the communication. For this reason, an embodiment of the present invention provides a method for encoding a polarization code.
图1为本发明实施例极化码的编码方法的实现流程图,如图1所示,至少包括:FIG. 1 is a flowchart of implementing a method for encoding a polarization code according to an embodiment of the present invention. As shown in FIG.
步骤100:对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; Step 100: Encoding an input bit sequence of length K bits by using a generator matrix G C to obtain a codeword bit sequence of length C bits, where C ≥ K, and C and K are non-negative integers;
其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,...,N-1}, R and N are positive integers, and N is a power series of 2, R≤N.
作为一个实施方式,长度为K比特的输入比特序列包括但不限于:As an embodiment, the input bit sequence of length K bits includes but is not limited to:
信息比特序列;或者,Information bit sequence; or,
信息比特序列和已知比特序列;或者,Information bit sequence and known bit sequence; or,
信息比特序列和校验比特序列;或者,Information bit sequence and check bit sequence; or,
信息比特序列、已知比特序列和校验比特序列。Information bit sequence, known bit sequence and check bit sequence.
作为一个实施方式,当长度为K比特的比特序列包括校验比特序列时,校验比特序列由信息比特序列和已知比特序列经过编码得到;或者,所述校验比特序列由信息比特序列经过编码得到。其中,编码方式包括以下之 一或任意组合:奇偶校验编码,循环冗余校验编码,BCH编码,汉明码编码,卷积编码,生成矩阵编码,Turbo编码,低密度奇偶校验编码,里德穆勒编码,哈希编码;As an embodiment, when a bit sequence of length K bits includes a check bit sequence, the check bit sequence is obtained by encoding the information bit sequence and the known bit sequence; or the check bit sequence is passed by the information bit sequence The code is obtained. The coding mode includes one or any combination of the following: parity coding, cyclic redundancy check coding, BCH coding, Hamming code coding, convolutional coding, generator matrix coding, Turbo coding, low density parity check coding, De Muller code, hash code;
同一编码方式执行一次或多次。The same encoding method is executed one or more times.
作为一个实施方式,N×N矩阵G N为以下之一: As an embodiment, the N×N matrix G N is one of the following:
Figure PCTCN2018075719-appb-000015
其中,
Figure PCTCN2018075719-appb-000016
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000017
n=log 2N;或者,
Figure PCTCN2018075719-appb-000015
among them,
Figure PCTCN2018075719-appb-000016
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000017
n=log 2 N; or,
G N
Figure PCTCN2018075719-appb-000018
经过列交织和/或行交织得到,其中,
Figure PCTCN2018075719-appb-000019
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000020
n=log 2N。
G N by
Figure PCTCN2018075719-appb-000018
Obtained by column interleaving and/or row interleaving, wherein
Figure PCTCN2018075719-appb-000019
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000020
n=log 2 N.
需要说明的是,G N可以由
Figure PCTCN2018075719-appb-000021
经过列交织和行交织得到;或者,G N可以由
Figure PCTCN2018075719-appb-000022
经过列交织得到;或者,G N可以由
Figure PCTCN2018075719-appb-000023
经过行交织得到。
It should be noted that G N can be
Figure PCTCN2018075719-appb-000021
Obtained by column interleaving and row interleaving; or, G N can be
Figure PCTCN2018075719-appb-000022
Obtained by column interleaving; or, G N can be
Figure PCTCN2018075719-appb-000023
Obtained through line interleaving.
作为一个实施方式,列交织包括以下之一或任意组合:As an embodiment, the column interleaving includes one or any combination of the following:
所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000024
的第i列,其中,对每一个序号j∈{0,1,…,N-1},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;或者,
The jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000024
The ith column, where for each sequence number j ∈ {0, 1, ..., N-1}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; or,
所述矩阵G N中第(C-j-1)列为所述矩阵
Figure PCTCN2018075719-appb-000025
的第i列,其中,对每一个序号j∈{0,1,…,N-1},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;或者,
The (Cj-1)th column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000025
The ith column, where for each sequence number j ∈ {0, 1, ..., N-1}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; or,
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000026
的列索引为{Q 1,Q 2,Q 3},其中Q 1={0,1,…,N 1-1},Q 2={N 2,N 3,N 2+1,N 3+1,…,N 4,N 5},Q 3为其余索引,其中, N/8≤N 1≤N 2≤N/3,N 2≤N 4≤N 3≤2N/3,N 3≤N 5≤N-1,其中,N 1、N 2、N 3、N 4和N 5均为正整数,且序列Q 1,序列Q 2,序列Q 3任意两者之间的集合为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000026
The column index is {Q 1 , Q 2 , Q 3 }, where Q 1 = {0, 1, ..., N 1 -1}, Q 2 = {N 2 , N 3 , N 2 +1, N 3 + 1,...,N 4 ,N 5 }, Q 3 is the remaining index, where N/8≤N 1 ≤N 2 ≤N/3, N 2 ≤N 4 ≤N 3 ≤2N/3, N 3 ≤N 5 ≤ N-1, wherein N 1 , N 2 , N 3 , N 4 and N 5 are all positive integers, and the set between the sequence Q 1 , the sequence Q 2 and the sequence Q 3 is an empty set; or,
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000027
的列索引为{S 1,S 2,S 3,S 4},其中,序列S 1为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列S 2为序列{0,1,…,t 1-1}与序列S 1的差集,序列S 4为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列S 3为其余索引值,并且k=t 2,t 2+1,…,N-1,BRO为比特反序置换操作,N/8≤t 1≤3N/8,0≤t 2≤N-1,t 1和t 2为非负整数,序列S 1,序列S 2,序列S 3,序列S 4任意两者之间的交集为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000027
The column index is {S 1 , S 2 , S 3 , S 4 }, where the sequence S 1 is the intersection of the sequence {BRO(k)} and the sequence {0, 1, ..., t 1 -1}, the sequence S 2 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence S 1 , the sequence S 4 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence S 3 is the rest of the index values, and k = t 2 , t 2 +1, ..., N-1, BRO is the bit reverse order permutation operation, N / 8 ≤ t 1 ≤ 3N / 8, 0 ≤ t 2 ≤ N-1, t 1 and t 2 are non-negative integers, and the intersection between any of the sequence S 1 , the sequence S 2 , the sequence S 3 , and the sequence S 4 is an empty set; or
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000028
的列索引为{I 1,I 2,I 3,I 4},其中,序列I 2为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列I 1为序列{0,1,…,t 1-1}与序列I 2的差集,序列I 3为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列I 4为其余索引值,并且k=t 2,t 2+1,…,N-1,BRO为比特反序置换操作,N/8≤t 1≤3N/8,0≤t 2≤N-1,t 1和t 2为非负整数,序列I 1,序列I 2,序列I 3,序列I 4任意两者之间的交集为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000028
The column index is {I 1 , I 2 , I 3 , I 4 }, where sequence I 2 is the intersection of the sequence {BRO(k)} and the sequence {0,1,...,t 1 -1}, sequence I 1 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence I 2 , the sequence I 3 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence I 4 is the remaining index value, and k = t 2 , t 2 +1, ..., N-1, BRO is the bit reverse order permutation operation, N / 8 ≤ t 1 ≤ 3N / 8, 0 ≤ t 2 ≤ N-1, t 1 and t 2 are non-negative integers, and the intersection between any of sequence I 1 , sequence I 2 , sequence I 3 , and sequence I 4 is an empty set; or
当G N
Figure PCTCN2018075719-appb-000029
经过列交织和行交织得到,所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000030
的第i列,所述矩阵G N中第m行为所述矩阵
Figure PCTCN2018075719-appb-000031
的第n行,其中,i=π 1(j),n=π 2(m),π 1和π 2为同一序列;或者,
When G N is
Figure PCTCN2018075719-appb-000029
Obtained by column interleaving and row interleaving, the jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000030
In the ith column, the mth of the matrix G N behaves the matrix
Figure PCTCN2018075719-appb-000031
Line n, where i = π 1 (j), n = π 2 (m), π 1 and π 2 are the same sequence; or,
当G N
Figure PCTCN2018075719-appb-000032
经过列交织和行交织得到,所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000033
的第i列,所述矩阵G N中第m行为所述矩阵
Figure PCTCN2018075719-appb-000034
的第n行,其中,i=π 1(j),n=π 2(m),π 1中元素排列顺序至少有a%与π 2中元素排列顺序不同,其中a%为5%、10%和20%中之一。
When G N is
Figure PCTCN2018075719-appb-000032
Obtained by column interleaving and row interleaving, the jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000033
In the ith column, the mth of the matrix G N behaves the matrix
Figure PCTCN2018075719-appb-000034
The nth row, where i=π 1 (j), n=π 2 (m), the order of the elements in π 1 is at least a. The order of the elements in π 2 is different, wherein a% is 5%, 10 One of % and 20%.
作为一个实施方式,生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iAs an embodiment, the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i的矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the matrix G N_i of the N_i×N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, and M and i are greater than or equal to 1. Integer
其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i是生成矩阵G C_j的子矩阵。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i至少有比例为p%与生成矩阵G C_j不同;其中,比例p%可以为5%、10%和20%中之一。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A是第二列索引集合Set_B的真子集;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A至少有比例为q%的元素与第二列索引集合Set_B不同;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A has at least a ratio of q% elements and a second column index Set Set_B is different;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,比例q%为5%、10%和20%中之一。As an embodiment, the ratio q% is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C由所述矩阵G N按照行索引集合RowIndxSet和列索引集合ColumnIndxSet行列交织得到。 As an embodiment, the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C<L_D,则第三列索引集合Set_C是第四列索引集合Set_D的真子集;如果L_C>L_D,则第四列索引集合Set_D是第三列索引集合Set_C的真子集;如果L_C=L_D,则第三列索引集合Set_C与第四列索引集合Set_D相同;As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C<L_D, the third column index set Set_C is The true subset of the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D is a true subset of the third column index set Set_C; if L_C=L_D, the third column index set Set_C and the fourth column index The set Set_D is the same;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C≤L_D,则第三列索引集合Set_C至少有比例为p 1%的元素与第四列索引集合Set_D不同;如果L_C>L_D,则第四列索引集合Set_D至少有比例为p 1%的元素与第三列索引集合Set_C不同; As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C≤L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,所述比例p 1%为5%、10%和20%中之一。 As an embodiment, the ratio p 1 % is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C_i由所述矩阵G N_i按照行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i行列交织得到。 As an embodiment, the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E<L_F,则第五列索引集合Set_E是第六列索引集合Set_F的真子集;如果L_E>L_F,则第六列索引集合Set_F是第五列索引集合Set_E的真子集;如果L_E=L_F,则第五列索引集合Set_E与第六列索引集合Set_F相同;As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E<L_F, the fifth column index set Set_E is The true subset of the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F is a true subset of the fifth column index set Set_E; if L_E=L_F, the fifth column index set Set_E and the sixth column index The set Set_F is the same;
其中,L_E为第五列索引集合Set_E的元素个数,L_F为第六列索引集合Set_F的元素个数。Where L_E is the number of elements of the fifth column index set Set_E, and L_F is the number of elements of the sixth column index set Set_F.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E≤L_F,则第五列索引集合Set_E至少有比例为p 2%的元素与第六列索引集合Set_F不同;如果L_E>L_F,则第六列索引集合Set_F至少有比例为p 2%的元素与第五列索引集合Set_E不同; As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E≤L_F, the fifth column index set Set_E is at least The element having a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
作为一个实施方式,所述比例p 2%为5%、10%和20%中之一。 As an embodiment, the ratio p 2 % is one of 5%, 10% and 20%.
举例来看:For example:
所述列索引集合/行索引集合是列号/行号组成的集合,列索引集合/行索引集合用于指示选择生成矩阵的哪些列/行。比如,列索引集合/行索引集合为[1,2,…,158]时,则选择生成矩阵的第1,2,…,158列/行。所述列索引集合有多个,不同长度的比特序列对应不同的列索引集合。也就是说,列索引 集合为[1,2,…,158],行索引集合为[1,2,…,100]时,G C是列索引集合和行索引集合指示的矩阵G N矩阵的第1,2,…,158列和第1,2,…,100行。 The column index set/row index set is a set of column numbers/row numbers, and the column index set/row index set is used to indicate which columns/rows of the generation matrix are selected. For example, when the column index set/row index set is [1, 2, ..., 158], the first, 2, ..., 158 columns/rows of the generated matrix are selected. There are a plurality of column index sets, and bit sequences of different lengths correspond to different column index sets. That is, when the column index set is [1, 2, ..., 158] and the row index set is [1, 2, ..., 100], G C is the matrix index and the row index set indicated by the matrix G N matrix 1, 2, ..., 158 columns and 1st, 2nd, ..., 100 rows.
如果R_A×C_A生成矩阵G C_A是根据行索引集合RowIndxSet_A和列索引集合ColumnIndxSet_A从N×N矩阵G N得到,R_B×C_B生成矩阵G C_B是根据行索引集合RowIndxSet_B和列索引集合ColumnIndxSet_B从N×N矩阵G N得到,且C_A<C_B,那么, If the R_A×C_A generation matrix G C _A is obtained from the N×N matrix G N according to the row index set RowIndxSet_A and the column index set ColumnIndxSet_A, the R_B×C_B generation matrix G C _B is from the row index set RowIndxSet_B and the column index set ColumnIndxSet_B from N ×N matrix G N is obtained, and C_A<C_B, then,
列索引集合ColumnIndxSet_A是列索引集合ColumnIndxSet_B的真子集意味着:将ColumnIndxSet_B中大于C_A的元素删除,得到的集合与列索引集合ColumnIndxSet_A一致;The column index set ColumnIndxSet_A is a true subset of the column index set ColumnIndxSet_B means: the element larger than C_A in ColumnIndxSet_B is deleted, and the obtained set is consistent with the column index set ColumnIndxSet_A;
列索引集合ColumnIndxSet_A至少有比例为q%的元素与列索引集合ColumnIndxSet_B不同意味着:将ColumnIndxSet_B中大于C_A的元素删除,得到的集合排列顺序与列索引集合ColumnIndxSet_A至少有比例为q%不一致。The column index set ColumnIndxSet_A has at least a ratio of q% elements different from the column index set ColumnIndxSet_B means that the elements larger than C_A in ColumnIndxSet_B are deleted, and the resulting set arrangement order is inconsistent with the column index set ColumnIndxSet_A at least q%.
本发明实施例中,根据极化码编码矩阵和各比特序列的特点,得到具有较大适用范围的生成矩阵,而利用该生成矩阵有效增大了通信的频谱效率和可靠性,并且有效减少了编码复杂度。In the embodiment of the present invention, according to the characteristics of the polarization code encoding matrix and each bit sequence, a generation matrix having a large applicable range is obtained, and the generation matrix effectively increases the spectrum efficiency and reliability of the communication, and effectively reduces the spectrum. Coding complexity.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例前述的极化码的编码方法。The embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions for performing the foregoing method for encoding a polarization code according to an embodiment of the present invention.
本发明实施例还提供了一种用于实现极化码的编码方法的设备,至少包括存储器和用于执行可执行指令的处理器,其中,An embodiment of the present invention further provides an apparatus for implementing a coding method of a polarization code, including at least a memory and a processor for executing executable instructions, where
存储器中存储有可执行指令;或者生成矩阵G C和可执行指令;或者生成矩阵集合和可执行指令;其中所述处理器在执行所述可执行指令时,至少执行以下操作:对长度为K比特的输入比特序列,利用生成矩阵G C编码 得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; Executing instructions stored in the memory; or generating a matrix G C and executable instructions; or generating a set of matrices and executable instructions; wherein the processor, when executing the executable instructions, performs at least the following operations: a length of K An input bit sequence of bits, encoded by a generator matrix G C to obtain a codeword bit sequence of length C bits, wherein C ≥ K, and C and K are non-negative integers;
其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵;行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集;其中,R和N为正整数,且N为2的幂级数,R≤N。 The generation matrix G C is a sub-matrix of the N×N matrix G N jointly indicated by the row index set RowIndxSet and the column index set ColumnIndxSet; the row index set RowIndxSet has R elements, which is a row index set {0, 1, 2,... , a subset of N-1}, the column index set ColumnIndxSet has C elements, is a subset of the column index set {0, 1, 2, ..., N-1}; where R and N are positive integers, and N Is a power series of 2, R ≤ N.
作为一个实施方式,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iAs an implementation manner, the generation matrix G C is a generation matrix Gc_ i of a generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵;所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数;行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。 The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set; the generation matrix The set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, M and i are integers greater than or equal to 1; the row index set RowIndxSet_i has The R_i elements are a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which are column index sets {0, 1, 2, ..., N_i-1 a subset of }; where C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i是生成矩阵G C_j的子矩阵。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集 合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i至少有比例为p%与生成矩阵G C_j不同;其中,比例p%可以为5%、10%和20%中之一。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A是第二列索引集合Set_B的真子集;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A至少有比例为q%的元素与第二列索引集合Set_B不同;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A has at least a ratio of q% elements and a second column index Set Set_B is different;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,比例q%为5%、10%和20%中之一。As an embodiment, the ratio q% is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C由所述矩阵G N按照行索引集合RowIndxSet和列索引集合ColumnIndxSet行列交织得到。 As an embodiment, the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C<L_D,则第三列索引集合Set_C是第四列索引集合Set_D的真子集;如果L_C>L_D,则第四列索引集合Set_D是第三列索引集合Set_C的真子集;如果L_C=L_D,则第三列索引集合Set_C与第四列索引集合Set_D相同;As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C<L_D, the third column index set Set_C is The true subset of the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D is a true subset of the third column index set Set_C; if L_C=L_D, the third column index set Set_C and the fourth column index The set Set_D is the same;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C≤L_D,则第三列索引集合Set_C至少有比例为p 1%的元素与第四列索引集合Set_D不同;如果L_C>L_D,则第四列索引集合Set_D至少有比例为p 1%的元素与第三列索引集合Set_C不同; As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C≤L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,所述比例p 1%为5%、10%和20%中之一。 As an embodiment, the ratio p 1 % is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C_i由所述矩阵G N_i按照行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i行列交织得到。 As an embodiment, the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E<L_F,则第五列索引集合Set_E是第六列索引集合Set_F的真子集;如果L_E>L_F,则第六列索引集合Set_F是第五列索引集合Set_E的真子集;如果L_E=L_F,则第五列索引集合Set_E与第六列索引集合Set_F相同;As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E<L_F, the fifth column index set Set_E is The true subset of the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F is a true subset of the fifth column index set Set_E; if L_E=L_F, the fifth column index set Set_E and the sixth column index The set Set_F is the same;
其中,L_E为第五列索引集合Set_E的元素个数,L_F为第六列索引集合Set_F的元素个数。Where L_E is the number of elements of the fifth column index set Set_E, and L_F is the number of elements of the sixth column index set Set_F.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E≤L_F,则第五列索引集合Set_E至少有比例为p 2%的元素与第六列索引集合Set_F不同;如果L_E>L_F,则第六列索引集合Set_F 至少有比例为p 2%的元素与第五列索引集合Set_E不同; As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E≤L_F, the fifth column index set Set_E is at least An element having a ratio of p 2 % is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
作为一个实施方式,所述比例p 2%为5%、10%和20%中之一。 As an embodiment, the ratio p 2 % is one of 5%, 10% and 20%.
图2为本发明实施例极化码的编码装置的组成结构示意图,如图2所示,至少包括:处理模块,配置为:FIG. 2 is a schematic structural diagram of a device for encoding a polarization code according to an embodiment of the present invention. As shown in FIG. 2, the method further includes: a processing module configured to:
对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数;其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; For an input bit sequence of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers; wherein the generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集;其中,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,..., N-1}; wherein R and N are positive integers, and N is a power series of 2, R≤N.
作为一个实施方式,长度为K比特的输入比特序列包括但不限于:As an embodiment, the input bit sequence of length K bits includes but is not limited to:
信息比特序列;或者,Information bit sequence; or,
信息比特序列和已知比特序列;或者,Information bit sequence and known bit sequence; or,
信息比特序列和校验比特序列;或者,Information bit sequence and check bit sequence; or,
信息比特序列、已知比特序列和校验比特序列。Information bit sequence, known bit sequence and check bit sequence.
作为一个实施方式,当长度为K比特的输入比特序列包括校验比特序列,则校验比特序列由信息比特序列和已知比特序列经过编码得到。或者,所述校验比特序列由信息比特序列经过编码得到。As an embodiment, when the input bit sequence of length K bits includes a check bit sequence, the check bit sequence is obtained by encoding the information bit sequence and the known bit sequence. Alternatively, the check bit sequence is encoded by a sequence of information bits.
其中,编码方式包括但不限于以下之一或任意组合:奇偶校验编码,循环冗余校验编码,BCH编码,汉明码编码,卷积编码,生成矩阵编码,Turbo编码,低密度奇偶校验编码,里德穆勒编码,哈希编码;The coding mode includes but is not limited to one or any combination of the following: parity coding, cyclic redundancy check coding, BCH coding, Hamming code coding, convolutional coding, generator matrix coding, Turbo coding, low density parity check Coding, Reed Muller encoding, hash encoding;
同一编码方式执行一次或多次。The same encoding method is executed one or more times.
作为一个实施方式,N×N矩阵G N为以下之一: As an embodiment, the N×N matrix G N is one of the following:
Figure PCTCN2018075719-appb-000035
其中,
Figure PCTCN2018075719-appb-000036
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000037
n=log 2N;或者,
Figure PCTCN2018075719-appb-000035
among them,
Figure PCTCN2018075719-appb-000036
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000037
n=log 2 N; or,
G N
Figure PCTCN2018075719-appb-000038
经过列交织和/或行交织得到,其中,
Figure PCTCN2018075719-appb-000039
表示对矩阵F 2进行n次克罗内克积操作,且
Figure PCTCN2018075719-appb-000040
n=log 2N。
G N by
Figure PCTCN2018075719-appb-000038
Obtained by column interleaving and/or row interleaving, wherein
Figure PCTCN2018075719-appb-000039
Representing n times Kronecker product operations on matrix F 2 , and
Figure PCTCN2018075719-appb-000040
n=log 2 N.
作为一个实施方式,列交织包括以下之一或任意组合:As an embodiment, the column interleaving includes one or any combination of the following:
所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000041
的第i列,其中,对每一个序号j∈{0,1,…,N-1},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;或者,
The jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000041
The ith column, where for each sequence number j ∈ {0, 1, ..., N-1}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; or,
所述矩阵G N中第(C-j-1)列为所述矩阵
Figure PCTCN2018075719-appb-000042
的第i列,其中,对每一个序号j∈{0,1,…,N-1},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;或者,
The (Cj-1)th column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000042
The ith column, where for each sequence number j ∈ {0, 1, ..., N-1}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence Reverse order, get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; or,
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000043
的列索引为{Q 1,Q 2,Q 3},其中Q 1={0,1,…,N 1-1},Q 2={N 2,N 3,N 2+1,N 3+1,…,N 4,N 5},Q 3为其余索引,其中,N/8≤N 1≤N 2≤N/3,N 2≤N 4≤N 3≤2N/3,N 3≤N 5≤N-1,其中,N 1、N 2、N 3、N 4和N 5均为正整数,且序列Q 1,序列Q 2,序列Q 3任意两者之间的集合为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000043
The column index is {Q 1 , Q 2 , Q 3 }, where Q 1 = {0, 1, ..., N 1 -1}, Q 2 = {N 2 , N 3 , N 2 +1, N 3 + 1,...,N 4 ,N 5 }, Q 3 is the remaining index, where N/8≤N 1 ≤N 2 ≤N/3, N 2 ≤N 4 ≤N 3 ≤2N/3, N 3 ≤N 5 ≤ N-1, wherein N 1 , N 2 , N 3 , N 4 and N 5 are all positive integers, and the set between the sequence Q 1 , the sequence Q 2 and the sequence Q 3 is an empty set; or,
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000044
的列索引为{S 1,S 2,S 3,S 4},其中,序列S 1为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列S 2为序列{0,1,…,t 1-1}与序列S 1的差集,序列S 4为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列S 3为其余索引值,并且k=t 2,t 2+1,…,N-1,BRO为比特反序置换操作, N/8≤t 1≤3N/8,0≤t 2≤N-1,t 1和t 2为非负整数,序列S 1,序列S 2,序列S 3,序列S 4任意两者之间的交集为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000044
The column index is {S 1 , S 2 , S 3 , S 4 }, where the sequence S 1 is the intersection of the sequence {BRO(k)} and the sequence {0, 1, ..., t 1 -1}, the sequence S 2 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence S 1 , the sequence S 4 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence S 3 is the rest of the index values, and k = t 2 , t 2 +1, ..., N-1, BRO is the bit reverse order permutation operation, N / 8 ≤ t 1 ≤ 3N / 8, 0 ≤ t 2 ≤ N-1, t 1 and t 2 are non-negative integers, and the intersection between any of the sequence S 1 , the sequence S 2 , the sequence S 3 , and the sequence S 4 is an empty set; or
所述矩阵G N中列对应所述矩阵
Figure PCTCN2018075719-appb-000045
的列索引为{I 1,I 2,I 3,I 4},其中,序列I 2为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列I 1为序列{0,1,…,t 1-1}与序列I 2的差集,序列I 3为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列I 4为其余索引值,并且k=t 2,t 2+1,…,N-1,BRO为比特反序置换操作,N/8≤t 1≤3N/8,0≤t 2≤N-1,t 1和t 2为非负整数,序列I 1,序列I 2,序列I 3,序列I 4任意两者之间的交集为空集;或者,
Columns in the matrix G N corresponding to the matrix
Figure PCTCN2018075719-appb-000045
The column index is {I 1 , I 2 , I 3 , I 4 }, where sequence I 2 is the intersection of the sequence {BRO(k)} and the sequence {0,1,...,t 1 -1}, sequence I 1 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence I 2 , the sequence I 3 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence I 4 is the remaining index value, and k = t 2 , t 2 +1, ..., N-1, BRO is the bit reverse order permutation operation, N / 8 ≤ t 1 ≤ 3N / 8, 0 ≤ t 2 ≤ N-1, t 1 and t 2 are non-negative integers, and the intersection between any of sequence I 1 , sequence I 2 , sequence I 3 , and sequence I 4 is an empty set; or
当G N
Figure PCTCN2018075719-appb-000046
经过列交织和行交织得到,所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000047
的第i列,所述矩阵G N中第m行为所述矩阵
Figure PCTCN2018075719-appb-000048
的第n行,其中,i=π 1(j),n=π 2(m),π 1和π 2为同一序列;或者,
When G N is
Figure PCTCN2018075719-appb-000046
Obtained by column interleaving and row interleaving, the jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000047
In the ith column, the mth of the matrix G N behaves the matrix
Figure PCTCN2018075719-appb-000048
Line n, where i = π 1 (j), n = π 2 (m), π 1 and π 2 are the same sequence; or,
当G N
Figure PCTCN2018075719-appb-000049
经过列交织和行交织得到,所述矩阵G N中第j列为所述矩阵
Figure PCTCN2018075719-appb-000050
的第i列,所述矩阵G N中第m行为所述矩阵
Figure PCTCN2018075719-appb-000051
的第n行,其中,i=π 1(j),n=π 2(m),π 1中元素排列顺序至少有a%与π 2中元素排列顺序不同,其中a%为5%、10%和20%中之一。
When G N is
Figure PCTCN2018075719-appb-000049
Obtained by column interleaving and row interleaving, the jth column in the matrix G N is the matrix
Figure PCTCN2018075719-appb-000050
In the ith column, the mth of the matrix G N behaves the matrix
Figure PCTCN2018075719-appb-000051
The nth row, where i=π 1 (j), n=π 2 (m), the order of the elements in π 1 is at least a. The order of the elements in π 2 is different, wherein a% is 5%, 10 One of % and 20%.
作为一个实施方式,生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc_ iAs an embodiment, the generation matrix G C is a generation matrix Gc_ i of the generation matrix set G C _Set;
其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i的矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the matrix G N_i of the N_i×N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C _Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, and M and i are greater than or equal to 1. Integer
其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列 索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i是生成矩阵G C_j的子矩阵。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i Is a submatrix of the generator matrix G C_j .
当0≤i<j≤M-1且N_i≤N_j时,所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i至少有比例为p%与生成矩阵G C_j不同;其中,比例p%可以为5%、10%和20%中之一。 When 0≤i <j≤M-1 and N_i≤N_j, the generating matrix set G G C _Set generation matrix is a matrix of C_i G N_i set submatrix row index and the column index set ColumnIndxSet_i RowIndxSet_i joint indication of the generating a set of said matrix generator matrix G G C _Set the C_J is the row index and column index set RowIndxSet_j joint indication instruction set ColumnIndxSet_j submatrix matrix G N_j if C_i <C_j and R_i≤R_j, if the column generation matrix G C_i At least a ratio of p% is different from the generator matrix G C_j ; wherein the ratio p% can be one of 5%, 10% and 20%.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A是第二列索引集合Set_B的真子集;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A is a true subset of the second column index set Set_B;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,As an embodiment,
列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A至少有比例为q%的元素与第二列索引集合Set_B不同;The first index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A<L_B, the first column index set Set_A has at least a ratio of q% elements and a second column index Set Set_B is different;
其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
作为一个实施方式,比例q%为5%、10%和20%中之一。As an embodiment, the ratio q% is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C由所述矩阵G N按照行索引集合RowIndxSet和列索引集合ColumnIndxSet行列交织得到。 As an embodiment, the generation matrix G C is obtained by interleaving the matrix G N according to a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C<L_D,则第三列索引集合Set_C是第四列索引集合Set_D的真子集;如果L_C>L_D,则第四列索引集合Set_D是第三列索引集合Set_C的真子集;如果L_C=L_D,则第三列索引集合Set_C与第四列索引集合Set_D相同;As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C<L_D, the third column index set Set_C is The true subset of the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D is a true subset of the third column index set Set_C; if L_C=L_D, the third column index set Set_C and the fourth column index The set Set_D is the same;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C≤L_D,则第三列索引集合Set_C至少有比例为p 1%的元素与第四列索引集合Set_D不同;如果L_C>L_D,则第四列索引集合Set_D至少有比例为p 1%的元素与第三列索引集合Set_C不同; As an embodiment, for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C≤L_D, the third column index set Set_C is at least An element having a ratio of p 1 % is different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements different from the third column index set Set_C;
其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
作为一个实施方式,所述比例p 1%为5%、10%和20%中之一。 As an embodiment, the ratio p 1 % is one of 5%, 10% and 20%.
作为一个实施方式,所述生成矩阵G C_i由所述矩阵G N_i按照行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i行列交织得到。 As an embodiment, the generation matrix G C_i is obtained by interleaving the matrix G N_i according to the row index set RowIndxSet_i and the column index set ColumnIndxSet_i.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五 列索引集合Set_E,和列索引集合ColumnIndxSet_j第六列索引集合Set_F,如果L_E<L_F,则第五列索引集合Set_E是第六列索引集合Set_F的真子集;如果L_E>L_F,则第六列索引集合Set_F是第五列索引集合Set_E的真子集;如果L_E=L_F,则第五列索引集合Set_E与第六列索引集合Set_F相同;As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the column index set ColumnIndxSet_j sixth column index set Set_F, if L_E<L_F, the fifth column index set Set_E is the sixth column a true subset of the index set Set_F; if L_E>L_F, the sixth column index set Set_F is a true subset of the fifth column index set Set_E; if L_E=L_F, the fifth column index set Set_E is the same as the sixth column index set Set_F ;
其中,L_E为第五列索引集合Set_E的元素个数,L_F为第六列索引集合Set_F的元素个数。Where L_E is the number of elements of the fifth column index set Set_E, and L_F is the number of elements of the sixth column index set Set_F.
作为一个实施方式,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j第六列索引集合Set_F,如果L_E≤L_F,则第五列索引集合Set_E至少有比例为p 2%的元素与第六列索引集合Set_F不同;如果L_E>L_F,则第六列索引集合Set_F至少有比例为p 2%的元素与第五列索引集合Set_E不同; As an embodiment, for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the column index set ColumnIndxSet_j sixth column index set Set_F, if L_E≤L_F, the fifth column index set Set_E has at least a ratio of The p 2 % element is different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a ratio of p 2 % of elements different from the fifth column index set Set_E;
作为一个实施方式,所述比例p 2%为5%、10%和20%中之一。 As an embodiment, the ratio p 2 % is one of 5%, 10% and 20%.
下面结合具体实施例对本发明实施例方法进行详细描述。The method of the embodiment of the present invention is described in detail below with reference to specific embodiments.
本发明实施例提供的技术方案可以但不限于用在新无线接入技术(NR,New Radio Access Technology)中。The technical solutions provided by the embodiments of the present invention may be, but are not limited to, used in New Radio Access Technology (NR).
本发明实施例中,发射端可以是基站,基站可以但不限于g节点B(gNB,g Node B);发射端也可以是用户设备(UE,User Equipment)。本发明实施例中,接收端可以是UE,也可以是基站,基站可以但不限于是gNB。In the embodiment of the present invention, the transmitting end may be a base station, and the base station may be, but not limited to, a g-Node B (gNB, g Node B); the transmitting end may also be a user equipment (UE, User Equipment). In this embodiment of the present invention, the receiving end may be a UE or a base station, and the base station may be, but not limited to, a gNB.
第一实施例,对长度为K=50比特的比特序列的编码方法包括:In a first embodiment, an encoding method for a bit sequence of length K = 50 bits includes:
首先,由N=256行,N=256列的矩阵
Figure PCTCN2018075719-appb-000052
直接得到矩阵G 256,即
Figure PCTCN2018075719-appb-000053
Figure PCTCN2018075719-appb-000054
First, a matrix of N = 256 rows, N = 256 columns
Figure PCTCN2018075719-appb-000052
Get the matrix G 256 directly, ie
Figure PCTCN2018075719-appb-000053
Figure PCTCN2018075719-appb-000054
接着,从N=256行,N=256列的G N矩阵中根据行索引集合 ColumnIndxSet选取50行,组成一个50行256列的子矩阵,再根据列索引集合ColumnIndxSet选择128行构成50行128列的生成矩阵G C,即用长度为K=50比特的比特序列与生成矩阵G C进行相乘,得到长度为128比特的编码后码字序列。 Then, from the G N matrix of N=256 rows and N=256 columns, 50 rows are selected according to the row index set ColumnIndxSet to form a sub-matrix of 50 rows and 256 columns, and then 128 rows are selected according to the column index set ColumnIndxSet to form 50 rows and 128 columns. The generator matrix G C is multiplied by the generator matrix G C with a bit sequence of length K=50 bits to obtain a coded codeword sequence of length 128 bits.
然后,在第一实施例中,假设发送比特序列长度是M=100比特,从编码后码字序列中选择M=100个比特的比特序列作为发送比特序列;如果发送比特序列长度是M=160比特,则从编码后码字序列中选择(M-N)=160-128=32比特添加到编码后码字序列的之前或之后位置,得到长度为M=160比特的比特序列作为发送比特序列。Then, in the first embodiment, assuming that the transmission bit sequence length is M=100 bits, a bit sequence of M=100 bits is selected from the coded codeword sequence as a transmission bit sequence; if the transmission bit sequence length is M=160 The bit is selected from the coded codeword sequence (MN) = 160 - 128 = 32 bits added to the previous or subsequent position of the encoded codeword sequence to obtain a bit sequence of length M = 160 bits as a transmission bit sequence.
最后,发射端将发送比特序列发送给接收端。Finally, the transmitting end transmits the transmitted bit sequence to the receiving end.
第二实施例,对长度为K=50比特的比特序列的编码方法。The second embodiment is an encoding method for a bit sequence of length K = 50 bits.
第二实施例与第一实施例不同的是:矩阵G 256由矩阵
Figure PCTCN2018075719-appb-000055
列交织得到,即矩阵G 256中第j列为矩阵
Figure PCTCN2018075719-appb-000056
的第i列,其中,对每一个序号j∈{0,1,…,255},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;也就是说,G 256中第0列为矩阵
Figure PCTCN2018075719-appb-000057
的第0列,G 256中第1列为矩阵
Figure PCTCN2018075719-appb-000058
的第128列,G 256中第2列为矩阵
Figure PCTCN2018075719-appb-000059
的第64列,依次类推;
The second embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix
Figure PCTCN2018075719-appb-000055
Column interleaving, that is, the jth column in the matrix G 256 is a matrix
Figure PCTCN2018075719-appb-000056
The ith column, where for each sequence number j ∈ {0, 1, ..., 255}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence is reversed , get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; that is, the 0th column in G 256 is a matrix.
Figure PCTCN2018075719-appb-000057
Column 0, the first column in G 256 is the matrix
Figure PCTCN2018075719-appb-000058
Column 128, the second column in G 256 is the matrix
Figure PCTCN2018075719-appb-000059
Column 64, and so on;
第三实施例,对长度为K=50比特的比特序列的编码方法。The third embodiment is a coding method for a bit sequence of length K = 50 bits.
第三实施例与第一实施例不同的是:矩阵G 256由矩阵
Figure PCTCN2018075719-appb-000060
列交织得到,即矩阵G 256中第(C-j-1)列为矩阵
Figure PCTCN2018075719-appb-000061
的第i列,其中,对每一个序号j∈{0,1,…,255},将j按二进制表示为(b n,b n-1,…,b 1),再将二进制序列反序,得到二进制数(b 1,b 2,…,b n),将得到的二进制表示为十进制数,这个十进制数就是i;也就是说,G 256中第0列为矩阵
Figure PCTCN2018075719-appb-000062
的第255列,G 256中第1列为矩阵
Figure PCTCN2018075719-appb-000063
的第127列,G 256中第2列为矩阵
Figure PCTCN2018075719-appb-000064
的第191列,依次类推;
The third embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix
Figure PCTCN2018075719-appb-000060
Column interleaving, that is, the (Cj-1) column in the matrix G 256 is a matrix
Figure PCTCN2018075719-appb-000061
The ith column, where for each sequence number j ∈ {0, 1, ..., 255}, j is expressed in binary as (b n , b n-1 , ..., b 1 ), and then the binary sequence is reversed , get the binary number (b 1 , b 2 ,..., b n ), and represent the obtained binary as a decimal number. This decimal number is i; that is, the 0th column in G 256 is a matrix.
Figure PCTCN2018075719-appb-000062
Column 255, the first column in G 256 is the matrix
Figure PCTCN2018075719-appb-000063
Column 127, the second column in G 256 is a matrix
Figure PCTCN2018075719-appb-000064
Column 191, and so on;
第四实施例,对长度为K=50比特的比特序列的编码方法。The fourth embodiment is a coding method for a bit sequence of length K = 50 bits.
第四实施例与第一实施例不同的是:矩阵G 256由矩阵
Figure PCTCN2018075719-appb-000065
列交织得到,即G 256中列对应矩阵
Figure PCTCN2018075719-appb-000066
的列索引为{Q 1,Q 2,Q 3},其中Q 1={0,1,…,N 1-1},Q 2={N 2,N 3,N 2+1,N 3+1,…,N 4,N 5},Q 3为其余索引,假设N 1=64,N 2=65,N 3=128,N4=127,N5=191时,Q 1={0,1,…,63},Q 2={64,128,65,129,…,127,191},Q 3={192,…,255}。
The fourth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix
Figure PCTCN2018075719-appb-000065
Column interleaving, that is, the corresponding matrix of columns in G 256
Figure PCTCN2018075719-appb-000066
The column index is {Q 1 , Q 2 , Q 3 }, where Q 1 = {0, 1, ..., N 1 -1}, Q 2 = {N 2 , N 3 , N 2 +1, N 3 + 1,...,N 4 ,N 5 }, Q 3 is the remaining index, assuming N 1 =64, N 2 =65, N 3 =128, N4=127, when N5=191, Q 1 ={0,1, ..., 63}, Q 2 = {64, 128, 65, 129, ..., 127, 191}, Q 3 = {192, ..., 255}.
第五实施例,对长度为K=50比特的比特序列的编码方法。The fifth embodiment is a coding method for a bit sequence of length K = 50 bits.
第五实施例与第一实施例不同的是:矩阵G 256由矩阵
Figure PCTCN2018075719-appb-000067
列交织得到,即G 256中列对应矩阵
Figure PCTCN2018075719-appb-000068
的列索引为{S 1,S 2,S 3,S 4},其中,序列S 1为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列S 2为序列{0,1,…,t 1-1}与序列S 1的差集,序列S 4为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列S 3为其余索引值,假设t 1=64,t 2=56,则:
The fifth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix
Figure PCTCN2018075719-appb-000067
Column interleaving, that is, the corresponding matrix of columns in G 256
Figure PCTCN2018075719-appb-000068
The column index is {S 1 , S 2 , S 3 , S 4 }, where the sequence S 1 is the intersection of the sequence {BRO(k)} and the sequence {0, 1, ..., t 1 -1}, the sequence S 2 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence S 1 , the sequence S 4 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence S 3 is the remaining index values, assuming t 1 =64, t 2 =56, then:
S 1={20,1244,28,8,40,24,16,48,32}, S 1 ={20,1244,28,8,40,24,16,48,32},
S2=[0,1,..,63]\S 1S2=[0,1,..,63]\S 1 ,
S4={147,83,211,51,179,115,243,139,75,203,171,107,235,155,91,219,59,187,123,251,135,71,199,167,103,231,151,87,215,55,183,119,247,143,79,207,175,111,239,159,95,223,63,191,127,255},S3=[64,65,..,255]\S4。S4={147,83,211,51,179,115,243,139,75,203,171,107,235,155,91,219,59,187,123,251,135,71,199,167,103,231,151,87,215,55,183,119,247,143,79,207,175,111,239,159,95,223,63,191,127, 255}, S3=[64,65,..,255]\S4.
第六实施例,对长度为K=50比特的比特序列的编码方法。The sixth embodiment is a coding method for a bit sequence of length K = 50 bits.
第六实施例与第一实施例不同的是:矩阵G 256由矩阵
Figure PCTCN2018075719-appb-000069
列交织得到,即G 256中列对应所述矩阵
Figure PCTCN2018075719-appb-000070
的列索引为{I 1,I 2,I 3,I 4},其中,序列I 2为序列{BRO(k)}与序列{0,1,…,t 1-1}的交集,序列I 1为序列{0,1,…,t 1-1}与序列I 2的差集,序列I 3为序列{BRO(k)}与序列{t 1,t 1+1,…,N-1}的交集,序列I 4为其余索引值,假设t 1=64,t 2=56,则:
The sixth embodiment is different from the first embodiment in that the matrix G 256 is composed of a matrix
Figure PCTCN2018075719-appb-000069
Column interleaving, that is, the column in G 256 corresponds to the matrix
Figure PCTCN2018075719-appb-000070
The column index is {I 1 , I 2 , I 3 , I 4 }, where sequence I 2 is the intersection of the sequence {BRO(k)} and the sequence {0,1,...,t 1 -1}, sequence I 1 is the difference between the sequence {0, 1, ..., t 1 -1} and the sequence I 2 , the sequence I 3 is the sequence {BRO(k)} and the sequence {t 1 , t 1 +1, ..., N-1 The intersection of }, the sequence I 4 is the remaining index values, assuming t 1 =64, t 2 =56, then:
I 2={20,1244,28,8,40,24,16,48,32}, I 2 ={20,1244,28,8,40,24,16,48,32},
I 1=[0,1,..,63]\I 2I 1 =[0,1,..,63]\I 2 ,
I 3={147,83,211,51,179,115,243,139,75,203,171,107,235,155,91,219,59,187,123,251,135,71,199,167,103,231,151,87,215,55,183,119,247,143,79,207,175,111,239,159,95,223,63,191,127,255},I 4=[64,65,..,255]\I 3 I 3 = {147,83,211,51,179,115,243,139,75,203,171,107,235,155,91,219,59,187,123,251,135,71,199,167,103,231,151,87,215,55,183,119,247,143,79,207,175,111,239,159,95,223,63,191,127,255}, I 4 = [64,65, .., 255] \ I 3.
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,利用生成矩阵Gc对长度为K比特的比特序列编码得到长度为C比特的码字比特序列,极大简化了编码过程,从而减小了编码耗时。其中,根据极化码编码矩阵和各比特序列的特点,得到具有较大适用范围的生成矩阵,而利用该生成矩阵有效增大了通信的频谱效率和可靠性,并且有效减少了编码复杂度。In the embodiment of the present invention, the bit sequence of length K bits is encoded by the generation matrix Gc to obtain a codeword bit sequence of length C bits, which greatly simplifies the coding process, thereby reducing the coding time. According to the characteristics of the polarization code coding matrix and each bit sequence, a generation matrix with a large applicable range is obtained, and the generation matrix effectively increases the spectrum efficiency and reliability of the communication, and effectively reduces the coding complexity.

Claims (23)

  1. 一种极化码的编码方法,所述方法包括:A method for encoding a polarization code, the method comprising:
    对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
    其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
    其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,...,N-1}, R and N are positive integers, and N is a power series of 2, R≤N.
  2. 根据权利要求1所述的编码方法,其中,所述N×N矩阵G N为以下之一: The encoding method according to claim 1, wherein said N x N matrix G N is one of:
    Figure PCTCN2018075719-appb-100001
    其中,
    Figure PCTCN2018075719-appb-100002
    表示对矩阵F 2进行n次克罗内克积操作,且
    Figure PCTCN2018075719-appb-100003
    n=log 2N;或者,
    Figure PCTCN2018075719-appb-100001
    among them,
    Figure PCTCN2018075719-appb-100002
    Representing n times Kronecker product operations on matrix F 2 , and
    Figure PCTCN2018075719-appb-100003
    n=log 2 N; or,
    G N
    Figure PCTCN2018075719-appb-100004
    经过列交织和/或行交织得到,其中,
    Figure PCTCN2018075719-appb-100005
    表示对矩阵F 2进行n次克罗内克积操作,且
    Figure PCTCN2018075719-appb-100006
    n=log 2N。
    G N by
    Figure PCTCN2018075719-appb-100004
    Obtained by column interleaving and/or row interleaving, wherein
    Figure PCTCN2018075719-appb-100005
    Representing n times Kronecker product operations on matrix F 2 , and
    Figure PCTCN2018075719-appb-100006
    n=log 2 N.
  3. 根据权利要求1所述的编码方法,其中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc _iThe encoding method according to claim 1, wherein the generator matrix to generate a matrix set G C G C_ Set generator matrix Gc _i;
    其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
    其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C_Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i , , . . . , G C_M-1 }, where M and i are greater than or equal to 1. Integer
    其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列 索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
  4. 根据权利要求3所述的编码方法,其中,当0≤i<j≤M-1且N_i≤N_j;The encoding method according to claim 3, wherein when 0 ≤ i < j ≤ M-1 and N_i ≤ N_j;
    所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i是生成矩阵G C_j的子矩阵。 The generator matrix set G C_ Set generator matrix G C_i is the row index and the column index set RowIndxSet_i set submatrix of matrix G N_i ColumnIndxSet_i joint indicated, the generator matrix G C_ Set set generator matrix G C_j row index set RowIndxSet_j and column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i < C_j and R_i ≤ R_j, the column generation matrix G C_i is a submatrix of the generation matrix G C_j .
  5. 根据权利要求3所述的编码方法,其中,当0≤i<j≤M-1且N_i≤N_j;The encoding method according to claim 3, wherein when 0 ≤ i < j ≤ M-1 and N_i ≤ N_j;
    所述生成矩阵集合G C_Set的生成矩阵G C_i是行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i联合指示的矩阵G N_i的子矩阵,所述生成矩阵集合G C_Set的生成矩阵G C_j是行索引集合RowIndxSet_j和列索引集合ColumnIndxSet_j指示联合指示的矩阵G N_j的子矩阵,如果C_i<C_j且R_i≤R_j,则所述列生成矩阵G C_i至少有比例为p%与生成矩阵G C_j不同。 The generator matrix set G C_ Set generator matrix G C_i is the row index and the column index set RowIndxSet_i set submatrix of matrix G N_i ColumnIndxSet_i joint indicated, the generator matrix G C_ Set set generator matrix G C_j row index set The RowIndxSet_j and the column index set ColumnIndxSet_j indicate a submatrix of the jointly indicated matrix G N_j , and if C_i < C_j and R_i ≤ R_j, the column generation matrix G C_i has a ratio of at least p% different from the generation matrix G C_j .
  6. 根据权利要求5所述的编码方法,其中,所述比例p%为5%、10%和20%中之一。The encoding method according to claim 5, wherein said ratio p% is one of 5%, 10%, and 20%.
  7. 根据权利要求1或3所述的编码方法,其中,所述列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A是第二列索引集合Set_B的真子集;The encoding method according to claim 1 or 3, wherein the first column index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A < L_B, the first column The index set Set_A is a true subset of the second column index set Set_B;
    其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
  8. 根据权利要求1或3所述的编码方法,其中,所述列索引集合ColumnIndxSet或ColumnIndxSet_i中确定的第一列索引集合Set_A和确定的第二列索引集合Set_B,如果L_A<L_B,则第一列索引集合Set_A至少 有比例为q%的元素与第二列索引集合Set_B不同;The encoding method according to claim 1 or 3, wherein the first column index set Set_A determined in the column index set ColumnIndxSet or ColumnIndxSet_i and the determined second column index set Set_B, if L_A < L_B, the first column The index set Set_A has at least a ratio of q% of elements different from the second column index set Set_B;
    其中,L_A为第一列索引集合Set_A的元素个数,L_B为第二列索引集合Set_B的元素个数。Where L_A is the number of elements of the first column index set Set_A, and L_B is the number of elements of the second column index set Set_B.
  9. 根据权利要求8所述的编码方法,其中,所述比例q%为5%、10%和20%中之一。The encoding method according to claim 8, wherein the ratio q% is one of 5%, 10%, and 20%.
  10. 根据权利要求1所述的编码方法,其中,所述生成矩阵G C由所述矩阵G N按照行索引集合RowIndxSet和列索引集合ColumnIndxSet行列交织得到。 The encoding method according to claim 1, wherein said generation matrix G C is interleaved by said matrix G N in accordance with a row index set RowIndxSet and a column index set ColumnIndxSet row and column.
  11. 根据权利要求1或10所述的编码方法,其中,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C<L_D,则第三列索引集合Set_C是第四列索引集合Set_D的真子集;如果L_C>L_D,则第四列索引集合Set_D是第三列索引集合Set_C的真子集;如果L_C=L_D,则第三列索引集合Set_C与第四列索引集合Set_D相同;The encoding method according to claim 1 or 10, wherein for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C < L_D The third column index set Set_C is a true subset of the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D is a true subset of the third column index set Set_C; if L_C=L_D, then the third The column index set Set_C is the same as the fourth column index set Set_D;
    其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
  12. 根据权利要求1或10所述的编码方法,其中,对于所述行索引集合RowIndxSet中确定的第三列索引集合Set_C,和列索引集合ColumnIndxSet中确定的第四列索引集合Set_D,如果L_C≤L_D,则第三列索引集合Set_C至少有比例为p 1%的元素与第四列索引集合Set_D不同;如果L_C>L_D,则第四列索引集合Set_D至少有比例为p 1%的元素与第三列索引集合Set_C不同; The encoding method according to claim 1 or 10, wherein for the third column index set Set_C determined in the row index set RowIndxSet, and the fourth column index set Set_D determined in the column index set ColumnIndxSet, if L_C ≤ L_D , the third column index set Set_C has at least a ratio of p 1 % of elements different from the fourth column index set Set_D; if L_C>L_D, the fourth column index set Set_D has at least a ratio of p 1 % of elements and the third Column index set Set_C is different;
    其中,L_C为第三列索引集合Set_C的元素个数,L_D为第四列索引集合Set_D的元素个数。Where L_C is the number of elements of the third column index set Set_C, and L_D is the number of elements of the fourth column index set Set_D.
  13. 根据权利要求12所述的编码方法,其中,所述比例p 1为5%、10% 和20%中之一。 The encoding method according to claim 12, wherein said ratio p 1 is one of 5%, 10% and 20%.
  14. 根据权利要求3所述的编码方法,其中,所述生成矩阵G C_i由所述矩阵G N_i按照行索引集合RowIndxSet_i和列索引集合ColumnIndxSet_i行列交织得到。 The encoding method according to claim 3, wherein the generation matrix G C_i is obtained by interleaving the matrix G N_i according to a row index set RowIndxSet_i and a column index set ColumnIndxSet_i.
  15. 根据权利要求3或14所述的编码方法,其中,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E<L_F,则第五列索引集合Set_E是第六列索引集合Set_F的真子集;如果L_E>L_F,则第六列索引集合Set_F是第五列索引集合Set_E的真子集;如果L_E=L_F,则第五列索引集合Set_E与第六列索引集合Set_F相同;The encoding method according to claim 3 or 14, wherein for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E < L_F The fifth column index set Set_E is a true subset of the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F is a true subset of the fifth column index set Set_E; if L_E=L_F, then the fifth The column index set Set_E is the same as the sixth column index set Set_F;
    其中,L_E为第五列索引集合Set_E的元素个数,L_F为第六列索引集合Set_F的元素个数。Where L_E is the number of elements of the fifth column index set Set_E, and L_F is the number of elements of the sixth column index set Set_F.
  16. 根据权利要求3或14所述的编码方法,其中,对于所述行索引集合RowIndxSet_i中确定的第五列索引集合Set_E,和列索引集合ColumnIndxSet_j中确定的第六列索引集合Set_F,如果L_E≤L_F,则第五列索引集合Set_E至少有比例为p 2%的元素与第六列索引集合Set_F不同;如果L_E>L_F,则第六列索引集合Set_F至少有比例为p 2%的元素与第五列索引集合Set_E不同。 The encoding method according to claim 3 or 14, wherein for the fifth column index set Set_E determined in the row index set RowIndxSet_i, and the sixth column index set Set_F determined in the column index set ColumnIndxSet_j, if L_E ≤ L_F , the fifth column index set Set_E has at least a ratio of p 2 % of elements different from the sixth column index set Set_F; if L_E>L_F, the sixth column index set Set_F has at least a proportion of p 2 % of elements and fifth The column index set Set_E is different.
  17. 根据权利要求16所述的编码方法,其中,所述比例p 2%为5%、10%和20%中之一。 The encoding method according to claim 16, wherein the ratio p 2 % is one of 5%, 10%, and 20%.
  18. 一种极化码的编码装置,包括处理模块,配置为:A coding device for a polarization code, comprising a processing module, configured to:
    对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
    其中,生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵; The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet;
    其中,行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集;其中,R和N为正整数,且N为2的幂级数,R≤N。The row index set RowIndxSet has R elements, is a subset of the row index set {0, 1, 2, ..., N-1}, and the column index set ColumnIndxSet has C elements, which is a column index set {0, 1, A subset of 2,..., N-1}; wherein R and N are positive integers, and N is a power series of 2, R≤N.
  19. 根据权利要求18所述的编码装置,其中,所述N×N矩阵G N为以下之一: The encoding apparatus according to claim 18, wherein said N × N matrix G N is one of:
    Figure PCTCN2018075719-appb-100007
    其中,
    Figure PCTCN2018075719-appb-100008
    表示对矩阵F 2进行n次克罗内克积操作,且
    Figure PCTCN2018075719-appb-100009
    n=log 2N;或者,
    Figure PCTCN2018075719-appb-100007
    among them,
    Figure PCTCN2018075719-appb-100008
    Representing n times Kronecker product operations on matrix F 2 , and
    Figure PCTCN2018075719-appb-100009
    n=log 2 N; or,
    G N
    Figure PCTCN2018075719-appb-100010
    经过列交织和/或行交织得到,其中,
    Figure PCTCN2018075719-appb-100011
    表示对矩阵F 2进行n次克罗内克积操作,且
    Figure PCTCN2018075719-appb-100012
    n=log 2N。
    G N by
    Figure PCTCN2018075719-appb-100010
    Obtained by column interleaving and/or row interleaving, wherein
    Figure PCTCN2018075719-appb-100011
    Representing n times Kronecker product operations on matrix F 2 , and
    Figure PCTCN2018075719-appb-100012
    n=log 2 N.
  20. 根据权利要求18所述的编码装置,其中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc _iThe encoding apparatus according to claim 18, wherein the generator matrix to generate a matrix set G C G C_ Set generator matrix Gc _i;
    其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵; The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i jointly indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set;
    其中,所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数; The generation matrix set G C_Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i , , . . . , G C_M-1 }, where M and i are greater than or equal to 1. Integer
    其中,行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。The row index set RowIndxSet_i has R_i elements, which is a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which is a column index set {0, 1, A subset of 2,..., N_i-1}; wherein C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
  21. 一种用于实现极化码的编码方法的设备,至少包括存储器和用于执行可执行指令的处理器,其中,An apparatus for implementing an encoding method of a polarization code, comprising at least a memory and a processor for executing executable instructions, wherein
    存储器中存储有可执行指令;An executable instruction is stored in the memory;
    其中,所述处理器在执行所述可执行指令时,至少执行以下操作:The processor performs at least the following operations when executing the executable instruction:
    对长度为K比特的输入比特序列,利用生成矩阵G C编码得到长度为C比特的码字比特序列,其中,C≥K,且C和K均为非负整数; For a sequence of input bits of length K bits, a codeword bit sequence of length C bits is obtained by using a generator matrix G C , wherein C ≥ K, and C and K are non-negative integers;
    其中,所述生成矩阵G C是行索引集合RowIndxSet和列索引集合ColumnIndxSet联合指示的N×N矩阵G N的子矩阵;行索引集合RowIndxSet有R个元素,是行索引集合{0,1,2,…,N-1}的子集,列索引集合ColumnIndxSet有C个元素,是列索引集合{0,1,2,…,N-1}的子集,R和N为正整数,且N为2的幂级数,R≤N。 The generation matrix G C is a sub-matrix of the N×N matrix G N indicated by the row index set RowIndxSet and the column index set ColumnIndxSet; the row index set RowIndxSet has R elements, is a row index set {0, 1, 2 , ..., a subset of N-1}, the column index set ColumnIndxSet has C elements, is a subset of the column index set {0, 1, 2, ..., N-1}, R and N are positive integers, and N Is a power series of 2, R ≤ N.
  22. 根据权利要求21所述的设备,其中,所述生成矩阵G C为生成矩阵集合G C_Set的生成矩阵Gc _iThe apparatus according to claim 21, wherein the generator matrix to generate a matrix set G C G C_ Set generator matrix Gc _i;
    其中,生成矩阵G C_i是所述行索引集合中的行索引集合RowIndxSet_i和所述列索引集合中的列索引集合ColumnIndxSet_i联合指示的所述N_i×N_i矩阵G N_i的子矩阵;所述的生成矩阵集合G C_Set包括M个生成矩阵,记作{G C_0,G C_1,….,G C_i,,….,G C_M-1},M和i是大于等于1的整数;行索引集合RowIndxSet_i有R_i个元素,是行索引集合{0,1,2,…,N_i-1}的子集,列索引集合ColumnIndxSet_i有C_i个元素,是列索引集合{0,1,2,…,N_i-1}的子集;其中,C_i、R_i和N_i为正整数,且N_i为2的幂级数,R_i≤N_i。 The generation matrix G C_i is a sub-matrix of the N_i×N_i matrix G N_i indicated by the row index set RowIndxSet_i in the row index set and the column index set ColumnIndxSet_i in the column index set; the generation matrix The set G C_Set includes M generation matrices, denoted as {G C_0 , G C_1 , . . . , G C_i ,, . . . , G C_M-1 }, M and i are integers greater than or equal to 1; the row index set RowIndxSet_i has The R_i elements are a subset of the row index set {0, 1, 2, ..., N_i-1}, and the column index set ColumnIndxSet_i has C_i elements, which are column index sets {0, 1, 2, ..., N_i-1 a subset of }; where C_i, R_i, and N_i are positive integers, and N_i is a power series of 2, R_i ≤ N_i.
  23. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至17任一项所述的极化码的编码方法。A computer readable storage medium storing computer executable instructions for performing the encoding method of the polarization code according to any one of claims 1 to 17.
PCT/CN2018/075719 2017-02-15 2018-02-08 Polar code encoding method and apparatus, and device and storage medium WO2018149354A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710081770.7 2017-02-15
CN201710081770 2017-02-15
CN201710184706.1 2017-03-24
CN201710184706.1A CN108429553B (en) 2017-02-15 2017-03-24 Encoding method, encoding device and equipment of polarization code

Publications (1)

Publication Number Publication Date
WO2018149354A1 true WO2018149354A1 (en) 2018-08-23

Family

ID=63155424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075719 WO2018149354A1 (en) 2017-02-15 2018-02-08 Polar code encoding method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN108429553B (en)
WO (1) WO2018149354A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490797B (en) * 2019-01-29 2022-07-22 华为技术有限公司 Encoding method, device and equipment
WO2020206670A1 (en) * 2019-04-12 2020-10-15 Qualcomm Incorporated Sub-channels for wireless communications of polar coded data
CN111835474B (en) * 2019-04-19 2021-07-23 大唐移动通信设备有限公司 PBCH-based signal processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916220A (en) * 2014-04-15 2014-07-09 电子科技大学 Network coding cooperative communication method based on polarization codes
US20160079999A1 (en) * 2013-05-31 2016-03-17 Huawei Technologies Co., Ltd. Coding method and coding device
CN106100795A (en) * 2016-06-17 2016-11-09 哈尔滨工业大学深圳研究生院 A kind of based on inversion code word Plotkin structure and the Polar code coding cooperative of information bit heavily dormancy
CN106253913A (en) * 2016-07-29 2016-12-21 山东科技大学 The block encoder of polarization code and coded method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101455978B1 (en) * 2007-03-27 2014-11-04 엘지전자 주식회사 Method for encoding data using a Low Density Parity Check code
CN105680883B (en) * 2015-12-23 2017-11-14 华中科技大学 A kind of polarization code and the error correction/encoding method of more bit parity codes cascade
CN106230489B (en) * 2016-07-15 2019-07-16 西安电子科技大学 Polarization code encoding modulation method suitable for any high order modulation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160079999A1 (en) * 2013-05-31 2016-03-17 Huawei Technologies Co., Ltd. Coding method and coding device
CN103916220A (en) * 2014-04-15 2014-07-09 电子科技大学 Network coding cooperative communication method based on polarization codes
CN106100795A (en) * 2016-06-17 2016-11-09 哈尔滨工业大学深圳研究生院 A kind of based on inversion code word Plotkin structure and the Polar code coding cooperative of information bit heavily dormancy
CN106253913A (en) * 2016-07-29 2016-12-21 山东科技大学 The block encoder of polarization code and coded method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Polar Code Design for Control Channel of NR", 3GPP TSG RAN WG1 AH_NR MEETING, R1-1700112, 20 January 2017 (2017-01-20), XP051207655 *

Also Published As

Publication number Publication date
CN108429553B (en) 2022-11-29
CN108429553A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
KR101270815B1 (en) In-place transformations with applications to encoding and decoding various classes of codes
JP6584036B2 (en) Signature-compatible Polar encoder and decoder
KR101330132B1 (en) Decoding of raptor codes
US9419749B2 (en) Methods and apparatus employing FEC codes with permanent inactivation of symbols for encoding and decoding processes
US8468430B2 (en) Product code decoding method and device
US8707128B2 (en) Method and apparatus for channel encoding and decoding in a broadcasting/communication system using low density parity-check codes
US10848185B2 (en) Coding and decoding of polar codes extended to lengths which are not powers of two
CN108282265B (en) Error correction encoding method, apparatus, device and computer readable storage medium
WO2018149354A1 (en) Polar code encoding method and apparatus, and device and storage medium
US11121724B2 (en) Data processing method and device
US10606697B2 (en) Method and apparatus for improved data recovery in data storage systems
CN101764620B (en) Apparatus and method for decoding using channel code
US20200153457A1 (en) Generalized low-density parity check codes (gldpc)
US9379847B2 (en) Method and apparatus for transmitting and receiving in a communication/broadcasting system
US20090150743A1 (en) Method and system for constructing and decoding rateless codes with partial information
US11316534B2 (en) Encoding method and device, decoding method and device, and storage medium
KR101562606B1 (en) Method for error correction and error detection of binary data
KR20190059827A (en) One-sub-symbol linear repair schemes
WO2018149304A1 (en) Data processing method and device, data processing apparatus, and computer storage medium
US8566684B1 (en) Decoding and optimized implementation of SECDED codes over GF(q)
Guruswami et al. Optimal rate algebraic list decoding using narrow ray class fields
Anisimov et al. Robust prefix encoding using lower (2, 3) number representation
Tan et al. A practical and optimal symmetric Slepian-Wolf compression strategy using syndrome formers and inverse syndrome formers
US20230370092A1 (en) Error Correction With Fast Syndrome Calculation
KR20120088369A (en) Method and apparatus for transmitting and receiving in communication/broadcasting system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18754392

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18754392

Country of ref document: EP

Kind code of ref document: A1