Information processing method and communication device

Through the design of a specific structure of the LDPC matrix and the expansion factor Z, the problem of various information bit sequence lengths and code rate requirements is solved, flexible encoding and decoding performance is achieved, and the requirements of different code lengths and code rates are met.

CN118740170APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410528161.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2017-06-27
Filing Date
2017-07-13
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively support encoding and decoding of various information bit sequence lengths, and it is difficult to flexibly meet the performance requirements of LDPC codes under different code lengths and code rates.

Method used

A low-density parity check LDPC matrix with a specific structure is used, including sub-matrix A and sub-matrix B. Through the design of the expansion factor Z and the base matrix, it supports encoding and decoding of different block lengths, and through the design of sub-matrices C, D, and E Combined to achieve flexible code rates.

Benefits of technology

It realizes flexible encoding and decoding of different information bit sequence lengths, meets the performance requirements of various code lengths and code rates, and improves coding performance and error correction capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740170A_ABST
    Figure CN118740170A_ABST
Patent Text Reader

Abstract

The invention discloses a coding method, a coding device, communication equipment and a communication system. The method comprises: encoding an input bit sequence using a low density parity check (LDPC) matrix; wherein the base graph of the LDPC matrix is represented as a matrix with m rows and n columns, m is an integer greater than or equal to 5, and n is an integer greater than or equal to 27; the base graph at least comprises a sub-matrix A and a sub-matrix B, and the sub-matrix A is a matrix with 5 rows and 22 columns; the sub-matrix B is a matrix with five rows and five columns, and the sub-matrix B comprises a column with a weight of 3 and a sub-matrix B'with a double diagonal structure. The coding method, the coding device, the communication equipment and the communication system can support coding requirements of information bit sequences with various lengths.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 201780090448.9, and the original application date is July 13, 2017. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The embodiments of the present invention relate to the field of communications, and in particular to an information processing method and a communication device. Background Art

[0003] Low density parity check (LDPC) code is a type of linear block code with a sparse check matrix, which has the characteristics of flexible structure and low decoding complexity. Because it uses a partially parallel iterative decoding algorithm, it has a higher throughput than traditional Turbo codes. LDPC codes can be used as error correction codes in communication systems, thereby improving the reliability and power utilization of channel transmission. LDPC codes can also be widely used in space communications, optical fiber communications, personal communication systems, ADSL and magnetic recording equipment. At present, LDPC codes have been considered as one of the channel coding methods in the fifth generation mobile communications.

[0004] In actual use, an LDPC matrix with special structural characteristics can be used. The LDPC matrix H with special structural characteristics can be expanded from an LDPC base matrix with a quasi cycle (QC) structure. QC-LDPC is suitable for hardware with high parallelism and provides a higher throughput. The LDPC matrix can be designed to be applied to channel coding. Summary of the invention

[0005] The embodiments of the present invention provide an information processing method, a communication device and a system, which can support the encoding and decoding of information bit sequences of various lengths and meet the flexible code length and code rate requirements of the system.

[0006] In a first aspect, a coding method and an encoder are provided, wherein the encoder encodes an input sequence using a low-density parity check (LDPC) matrix.

[0007] In a second aspect, a decoding method and a decoder are provided, wherein the decoder decodes an input sequence using a low-density parity check (LDPC) matrix.

[0008] In the first implementation method of the first aspect or the second aspect above: the base graph of the LDPC matrix is ​​represented as a matrix of m rows and n columns, m is an integer greater than or equal to 5, and n is an integer greater than or equal to 27; the base graph includes at least submatrix A and submatrix B, wherein the submatrix A is a matrix of 5 rows and 22 columns; the submatrix B is a matrix of 5 rows and 5 columns, wherein the submatrix B includes columns with weight 3 and a submatrix B' with a dual diagonal structure.

[0009] Optionally, in the submatrix A, the weight of 1 column is 5, the weight of 1 column is 4, and the weights of the remaining 20 columns are 3 respectively.

[0010] Optionally, in the submatrix B, the weight of column 1 is 3, and the weights of columns 3 are 2 respectively.

[0011] Based on the above implementation, the submatrix B also includes a column with a weight of 1.

[0012] In the second implementation of the first aspect or the second aspect above: the base graph of the LDPC matrix is ​​represented as a matrix of m rows and n columns, m is an integer greater than or equal to 5, and n is an integer greater than or equal to 27; the base graph includes at least submatrix A and submatrix B, wherein submatrix A is a matrix of 5 rows and 22 columns; submatrix B is a matrix of 5 rows and 5 columns; wherein, in the matrix formed by submatrix A and submatrix B, the weight of column 1 is 5, the weight of column 1 is 4, the weight of column 21 is 3, the weight of column 3 is 2, and the weight of column 1 is 1.

[0013] Optionally, in the matrix formed by the submatrix A and the submatrix B, the weight of one row satisfies that it is greater than or equal to 1 and less than or equal to 5, and the weights of the remaining four rows satisfy that they are greater than or equal to 17 and less than or equal to 21 respectively.

[0014] For example, in the matrix formed by the submatrix A and the submatrix B, the weight of one row is 3, and the weight of the remaining four rows is 19. In this case, the matrix formed by the submatrix A and the submatrix B may include rows or columns of a 5-row matrix block consisting of rows 0 to 4 and columns 0 to 26 in the base graph 30a, wherein the rows can be exchanged and the columns can also be exchanged. For example, the 3rd row and the 0th row, the 2nd row and the 1st row of the matrix block formed by the submatrix A and the submatrix B in the base graph 30a can be exchanged, and the 23rd column and the 25th column can be exchanged to obtain the core matrix part in the base graph 80a.

[0015] Based on the above implementation method, the part of the base matrix of the LDPC matrix corresponding to the sub-matrix A and the sub-matrix B can be expressed as any one of the base matrices 30b-1, 30b-2, 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 or 30b-10.

[0016] The part of the base matrix of the LDPC matrix corresponding to the submatrix A and the submatrix B can be expressed as a matrix based on any one of the base matrices 30b-1, 30b-2, 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 or 30b-10 after column exchange, or row exchange, or row exchange and column exchange. For example, the part of the base matrix of the LDPC matrix corresponding to the submatrix A and the submatrix B can include each row or each column of any one of the base matrices 30b-1, 30b-2, 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 or 30b-10.

[0017] Based on the above implementation method, the part of the base matrix of the LDPC matrix corresponding to the submatrix A and the submatrix B can be expressed as any one of the base matrices 80b-1, 80b-2, 80b-3, 80b-4, 80b-5 and 80b-6, where 80b-4 is the matrix of 30b-3 after row and column exchange, 80b-5 is the matrix of 30b-4 after row and column exchange, and 80b-6 is the matrix of 30b-5 after row and column exchange.

[0018] In order to support different block lengths, LDPC codes require different extension factors Z. Based on the aforementioned implementation, in a possible implementation, based on different extension factors Z, corresponding base matrices are adopted.

[0019] For example:

[0020] If the expansion factor Z is one of {16, 18, 20, 22, 24, 26, 28, 30}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-1;

[0021] If the expansion factor Z is one of {32, 36, 40, 44, 48, 52, 56, 60}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-2;

[0022] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-3;

[0023] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-4;

[0024] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-5.

[0025] In another possible implementation,

[0026] If the expansion factor Z is one of {24, 26, 28, 30}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-1;

[0027] If the expansion factor Z is one of {32, 36, 40, 44}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-2;

[0028] If the expansion factor Z is one of {48, 52, 56, 60}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-3;

[0029] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-4;

[0030] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-5;

[0031] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 80b-6 in the figure.

[0032] In yet another possible implementation, the submatrix A may further include two columns of built-in puncturing bit columns.

[0033] Furthermore, in order to obtain a flexible code rate, sub-matrix C, sub-matrix D and sub-matrix E of corresponding sizes may be added based on the core matrix to obtain different code rates.

[0034] in,

[0035] The submatrix C has 5 rows m D A matrix with all zero columns;

[0036] The submatrix D is m D A matrix with 27 rows and 27 columns;

[0037] The submatrix E is m D Line m D The identity matrix of columns;

[0038] m D is an integer and 0≤m D ≤41.

[0039] Among them, the submatrix D includes the m in the matrix F D The matrix F has 41 rows and 27 columns, and the row weights of each row of the matrix F are 7, 7, 9, 8, 7, 7, 8, 6, 6, 5, 6, 5, 5, 6, 5, 5, 5, 4, 4, 4, 5, 4, 5, 4, 4, 4, 3, 4, 4, 4, 4, 4, 3, 3, 4, 4, 3, 3, 3, 4.

[0040] In a possible implementation, the matrix F is a matrix consisting of the 5th to 45th rows and the 0th to 26th columns in the base graph 30a.

[0041] In a possible implementation, the offset matrix of the matrix F may be represented as any one of the base matrices 30c-1, 30c-2, 30c-3, 30c-4 and 30c-5.

[0042] In another possible implementation, the 17th row and the 19th row of the base graph 30a may be swapped, and the 39th column and the 41st column may be swapped to obtain: Figure 8a The base image matrix 80a is shown. For another example, the submatrix D includes the matrix F m D OK, this DThe rows may not be swapped, or one or more rows may be swapped, and the submatrix E is still a diagonal structure. For example, the submatrix D includes the m in the matrix F. D Rows, wherein the 12th and 14th rows of the matrix F are swapped, and the submatrix E is still a diagonal structure, thereby obtaining the base graph 80a.

[0043] In order to support different block lengths, LDPC codes require different expansion factors Z. Based on the above implementation, in one possible implementation, a base matrix corresponding to different expansion factors Z is used. For example:

[0044] In one possible implementation,

[0045] If the expansion factor Z is one of {16, 18, 20, 22, 24, 26, 28, 30}, the submatrix D in the base matrix may include m of the offset matrices as shown in 30c-1. D OK;

[0046] If the expansion factor Z is one of {32, 36, 40, 44, 48, 52, 56, 60}, the submatrix D in the base matrix may include the m of the offset matrices shown in 30c-2. D OK;

[0047] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the submatrix D in the base matrix may include the m of the offset matrices shown in 30c-3. D OK;

[0048] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the submatrix D in the base matrix may include the m of the offset matrices shown in 30c-4. D OK;

[0049] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the submatrix D in the base matrix may include the m of the offset matrices shown in 30c-5. D OK.

[0050] In another possible implementation, the set of expansion factors may be {24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384}:

[0051] If the expansion factor Z is one of {24, 26, 28, 30}, the offset matrix of the matrix F may be as shown in 80c-1;

[0052] If the expansion factor Z is one of {32, 36, 40, 44}, the offset matrix of the matrix F may be as shown in 80c-2;

[0053] If the expansion factor Z is one of {48, 52, 56, 60}, the offset matrix of the matrix F can be as shown in 80c--3;

[0054] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the offset matrix of the matrix F may be as shown in 80c-4;

[0055] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, then the offset matrix of the matrix F may be as shown in 80c-5;

[0056] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the offset matrix of the matrix F can be as shown in 80c-6.

[0057] The base graph and base matrix of the LDPC matrix in the first implementation can meet the performance requirements of code blocks with block lengths ranging from 352 to 8448 bits.

[0058] Based on the above aspects, or any possible implementation of the aspects, in another possible implementation, it further includes: determining an expansion factor Z. For example, the value of the expansion factor Z is determined according to the length K of the input sequence, such as: if the length of the input sequence is K, the minimum value satisfying 22*Z≥K can be determined from the expansion factors defined by multiple systems.

[0059] For a communication device at a transmitting end, encoding the input sequence using an LDPC matrix includes:

[0060] The input sequence is encoded using an LDPC matrix corresponding to the expansion factor Z.

[0061] For the communication device at the receiving end, decoding the input sequence using the LDPC matrix includes:

[0062] The input sequence is decoded using the LDPC matrix corresponding to the expansion factor Z.

[0063] Based on the above aspects, or any possible implementation of each aspect, in yet another possible implementation, a base matrix of the LDPC matrix may be stored in a memory.

[0064] Based on the above aspects, or any possible implementation of each aspect, in another possible implementation, the base graph of the LDPC matrix is ​​stored in a memory, and the offset values ​​of non-zero elements in the base matrix of the LDPC matrix can be stored in the memory.

[0065] Based on the above possible implementation methods, in one possible design, at least one of the base graphs and base matrices used for LDPC encoding or decoding is obtained by performing row exchange, column exchange, or row and column exchange on at least one of the base graphs and base matrices of the above LDPC matrix.

[0066] In a third aspect, a communication device is provided that may include a module corresponding to any possible implementation of the first aspect of the above method design. The module may be software and / or hardware.

[0067] In one possible design, the communication device provided in the third aspect includes an encoder, a determination unit, and a processing unit as described in the first aspect. The determination unit is used to determine the expansion factor Z required to encode the input sequence. The processing unit is used to encode the input sequence using the LDPC matrix corresponding to the expansion factor Z.

[0068] Optionally, the communication device further comprises a transceiver, and the transceiver is used to send a signal corresponding to the encoded information data.

[0069] In a fourth aspect, a communication device is provided that may include a module corresponding to any possible implementation of the second aspect of the above method design. The module may be software and / or hardware.

[0070] In a possible design, the communication device provided in the fourth aspect includes the decoder, an acquisition unit and a processing unit as described in the second aspect. The acquisition unit is used to acquire the soft value and the expansion factor Z of the LDPC code. The processing unit is used to obtain the soft value and the expansion factor Z of the LDPC code based on the base matrix H corresponding to the expansion factor Z. B The soft value decoding of the LDPC code obtains the information bit sequence.

[0071] The communication device further includes a transceiver configured to receive a signal including a signal based on LDPC coding.

[0072] In a fifth aspect, a communication device is provided, comprising one or more processors.

[0073] In one possible design, one or more of the processors may implement the function of the encoder described in the first aspect. In another possible design, the encoder described in the first aspect may be a part of the processor, and the processor may implement other functions in addition to implementing the function of the encoder described in the first aspect.

[0074] In one possible design, one or more of the processors may implement the functionality of the decoder described in the second aspect. In another possible design, the decoder described in the second aspect may be a part of the processor.

[0075] Optionally, the communication device may further include a transceiver and an antenna.

[0076] Optionally, the communication device may also include a device for generating a transmission block CRC, a device for code block segmentation and CRC checking, an interleaver for interleaving, or a modulator for modulation processing, etc.

[0077] Optionally, the communication device may further include a demodulator for demodulation operation, a deinterleaver for deinterleaving, or a device for rate matching, etc. The functions of these devices may be implemented by one or more processors.

[0078] In one possible design, the functions of these devices may be implemented by one or more processors.

[0079] In a sixth aspect, an embodiment of the present invention provides a communication system, which includes the communication device described in the third aspect and the communication device described in the fourth aspect.

[0080] In a seventh aspect, an embodiment of the present invention provides a communication system, which includes one or more communication devices described in the fifth aspect.

[0081] On the other hand, an embodiment of the present invention provides a computer storage medium on which a program is stored, and when the program is run, the computer executes the method described in the above aspects.

[0082] Another aspect of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the methods described in the above aspects.

[0083] The information processing method, apparatus, communication device and communication system of the embodiments of the present invention can adapt to the flexible and changeable code length and code rate requirements of the system in terms of coding performance and error level. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 is a schematic diagram of a base graph, a base matrix and a circulant permutation matrix of an LDPC code;

[0085] Figure 2 is a schematic diagram of the structure of a base graph of an LDPC code;

[0086] Figure 3a A schematic diagram of an LDPC code base diagram provided by an embodiment of the present invention;

[0087] Figure 3b A schematic diagram of a base matrix of an LDPC code provided by another embodiment of the present invention;

[0088] Figure 3c A schematic diagram of a base matrix of an LDPC code provided by another embodiment of the present invention;

[0089] Figure 4 A performance diagram provided for another embodiment of the present invention;

[0090] Figure 5 A performance schematic diagram provided for another embodiment of the present invention;

[0091] Figure 6 A schematic diagram of the structure of an information processing device provided by another embodiment of the present invention;

[0092] Figure 7 A schematic diagram of a communication system provided by another embodiment of the present invention;

[0093] Figure 8a A schematic diagram of an LDPC code base diagram provided by another embodiment of the present invention;

[0094] Figure 8b A schematic diagram of a base matrix of an LDPC code provided by another embodiment of the present invention;

[0095] Figure 8c A schematic diagram of a base matrix of an LDPC code provided by another embodiment of the present invention;

[0096] Fig. 9 A performance diagram of an LDPC code provided by an embodiment of the present invention;

[0097] Fig.10 A performance diagram of an LDPC code provided by an embodiment of the present invention;

[0098] Fig.11a A schematic diagram of an LDPC code base diagram provided by another embodiment of the present invention;

[0099] Fig.11b Based on Fig.11a A schematic diagram of a base matrix of a base graph of a provided LDPC code;

[0100] Fig.12 A schematic diagram of a base map provided for another embodiment of the present invention. DETAILED DESCRIPTION

[0101] To facilitate understanding, some terms involved in this application are explained below.

[0102] In this application, the terms "network" and "system" are often used interchangeably, and "device" and "equipment" are also often used interchangeably, but those skilled in the art can understand their meanings. "Communication device" can be a chip (such as a baseband chip, or a data signal processing chip, or a general chip, etc.), a terminal, a base station, or other network equipment. A terminal is a device with communication functions, which may include a handheld device with wireless communication functions, a vehicle-mounted device, a wearable device, a computing device, or other processing devices connected to a wireless modem, etc. In different networks, terminals can be called different names, such as: user equipment, mobile station, user unit, station, cellular phone, personal digital assistant, wireless modem, wireless communication device, handheld device, laptop, cordless phone, wireless local loop station, etc. For the convenience of description, it is referred to as a terminal in this application. A base station (BS), also known as a base station device, is a device deployed in a wireless access network to provide wireless communication functions. The names of base stations may be different in different wireless access systems. For example, in the Universal Mobile Telecommunications System (UMTS) network, the base station is called NodeB, and in the LTE network, the base station is called evolved NodeB (eNB or eNodeB), and in the new radio (NR) network, the base station is called a transmission reception point (TRP) or a next generation nodeB (gNB), or the base stations in various other networks may also use other names. The present invention is not limited to this.

[0103] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0104] LDPC codes can usually be represented by a parity check matrix H. The parity check matrix H of the LDPC code can be obtained through a base graph and a shift value. The base graph can usually include m*n matrix elements (entries), which can be represented in the form of a matrix with m rows and n columns. The values ​​of the matrix elements are 0 or 1. The elements with a value of 0 are sometimes also called zero elements, indicating that the element can be replaced by a Z*Z all-zero matrix (zero matrix). The elements with a value of 1 are sometimes also called non-zero elements, indicating that the element can be replaced by a Z*Z circulant permutation matrix (circulant permutation matrix). In other words, each matrix element represents an all-zero matrix or a circulant permutation matrix. For example Figure 110a shows the elements in the base graph of an exemplary m=4, n=20 LDPC code with a QC structure. It should be noted that in this article, the row and column numbers of the base graph and the matrix are numbered from 0, just for the convenience of explanation, for example, the 0th column represents the first column of the base graph and the matrix, the 1st column represents the second column of the base graph and the matrix, the 0th row represents the first row of the base graph and the matrix, the 1st row represents the second row of the base graph and the matrix, and so on.

[0105] It can be understood that the row and column numbers can also be numbered starting from 1, and the corresponding row and column numbers are added by 1 based on the row and column numbers shown in this article. For example, if the row or column numbers are numbered starting from 1, the 1st column represents the first column of the base graph and the matrix, the 2nd column represents the second column of the base graph and the matrix, the 1st row represents the first row of the base graph and the matrix, the 2nd row represents the second row of the base graph and the matrix, and so on.

[0106] If the value of the element in the i-th row and j-th column of the base graph is 1, its offset value is P i,j , P i,j is an integer greater than or equal to 0, which means that the element with a value of 1 in the i-th row and j-th column can be i,j The corresponding Z*Z circulant permutation matrix is ​​replaced by the circulant permutation matrix, which can be obtained by P-ing the Z*Z identity matrix i,j It is obtained by cyclic shifting to the right times. It can be seen that by replacing each element with a value of 0 in the base graph with a Z*Z all-zero matrix, and replacing each element with a value of 1 with a Z*Z cyclic permutation matrix corresponding to its offset value, the parity check matrix of the LDPC code can be obtained. The base graph can be used to indicate the position of the offset value, and the non-zero elements in the base graph correspond to the offset value. Z is a positive integer, which can also be called a lifting factor, sometimes also called a lifting size, or lifting factor, etc., which can be determined according to the code block size supported by the system and the size of the information data. It can be seen that the size of the parity check matrix H is (m*Z)*(n*Z). For example, if the expansion factor Z=4, each zero element is replaced by a 4*4 all-0 matrix 11a. If P 2,3 =2, then the non-zero elements in the 2nd row and 3rd column are replaced by the 4*4 circulant permutation matrix 11d, which is obtained by 2 right circulant shifts of the 4*4 identity matrix 11b. If P 2,4 =0, then the non-zero element in the 2nd row and the 4th column is replaced by the unit matrix 11b. It should be noted that this is only an example and is not intended to be limiting.

[0107] Because P i,j It can be obtained based on the expansion factor Z. For the element with a value of 1 at the same position, different P values ​​may exist when different expansion factors Z are used. i,jIn order to simplify the implementation, the system usually defines an m*n base matrix. Each element in the base matrix corresponds to each element in the base graph. The zero element in the base graph remains unchanged in the base matrix and is represented by -1. The non-zero element in the base graph with a value of 1 in the i-th row and j-th column remains unchanged in the base matrix and can be represented as P i,j , P i,j is a positive integer greater than or equal to 0. In the embodiment of the present application, the base matrix is ​​sometimes referred to as an offset matrix of the base graph matrix.

[0108] like Figure 1 10b shows the base Fig.10 a corresponds to a basis matrix.

[0109] Usually, the base graph or base matrix of the LDPC code can also include p columns of built-in puncture bit columns, where p can be an integer from 0 to 2. These columns participate in the coding, but the system bits corresponding to their coding are not sent. Then the code rate of the LDPC code base matrix satisfies R = (nm) / (np). For a base matrix of 4 rows and 20 columns (4*20), if there are 2 columns of built-in puncture bit columns, the code rate is (20-4) / (20-2) = 8 / 9.

[0110] The LDPC code used in wireless communication systems is QC-LDPC code, whose check bit part has a dual diagonal structure or raptor-like structure, which can simplify coding and support incremental redundant hybrid retransmission. The decoder of QC-LDPC code usually uses QC-LDPC shift network (QSN), Banyan network or Benes network to realize the cyclic shift of information.

[0111] The matrix size of the base graph of a QC-LDPC code with a raptor-like structure is m rows and n columns, and can usually include 5 sub-matrices A, B, C, D and E, where the weight of the matrix is ​​determined by the number of non-zero elements, the weight of the row (row weight) refers to the number of non-zero elements included in a row, and the weight of the column (column weight) refers to the number of non-zero elements included in a column. Figure 2 As shown in 200, wherein:

[0112] Submatrix A is m A Line n A A matrix of columns, whose size can be m A *n A , where each column corresponds to Z systematic bits in the LDPC code, and the systematic bits are sometimes also called information bits.

[0113] The submatrix B is m A Line mA A square matrix of columns, whose size can be m A *m A , each column corresponds to the Z check bits in the LDPC code. The submatrix B includes a dual diagonal submatrix B' and a matrix column with a weight of 3 (referred to as a 3-column column), where the matrix column with a weight of 3 is located before the submatrix B', as shown in Figure 2 As shown in 20a; the submatrix B may also include a matrix column with a row weight of 1 (referred to as a single-column repetitive column), which may be located in the first column or the last column of the submatrix B, and the non-zero elements therein are in the last row of the submatrix B, so that the row weight of the last row of the submatrix B is 1, as shown in Figure 2 As shown in 20b or 20c.

[0114] Usually, the matrix generated based on sub-matrices A and B is the core matrix, which can be used to support high-bitrate encoding.

[0115] Submatrix C is an all-zero matrix with a size of m A ×(n-(m A +n A )).

[0116] Submatrix E is the identity matrix, and its size is (mm A )×(mm A ).

[0117] The size of the submatrix D is (mm A )×(n A +m A ), which is usually used to generate low-rate check bits.

[0118] It can be understood that the above description of the base graph is from the perspective of mathematical definition. Since C is an all-zero matrix and E is a unit matrix, in a possible implementation, the base graph of the encoding or decoding matrix can also be simplified by a matrix composed of sub-matrices A and B, or a matrix composed of sub-matrices A, B and D.

[0119] Since the structures of the sub-matrices B, C and E are relatively determined, the structure of the sub-matrices A and D is one of the factors affecting the encoding and decoding performance of the LDPC code.

[0120] When using the LDPC matrix of the raptor-like structure for encoding, one possible implementation method is to first encode the matrix of the submatrix A and B parts, that is, the core matrix, to obtain the check bits corresponding to the submatrix B, and then encode the entire matrix to obtain the check bits corresponding to the submatrix E part. Since the submatrix B can include a submatrix B' of a dual diagonal structure and a single-column re-column, in the encoding, the check bits corresponding to the dual diagonal structure can be obtained first, and then the check bits corresponding to the single-column re-column can be obtained.

[0121] The following is an example of encoding. Assume that the core matrix composed of submatrices A and B is H core , H core Remove the single column and the row where the non-zero elements of the column are located, and the resulting matrix is ​​H core-dual , H core-dual The check bit part in is represented by H e =[H e1 H e2 ],H e1 For 3 columns, H e2 It is a dual diagonal structure. According to the definition of LDPC code matrix, H core-dual ·[SP e ] T =0, where S is the input sequence, is the vector of information bits, and P e is the vector composed of check bits, [SP e ] T Represented by the input sequence S and P e The matrix is ​​transposed. Therefore, we can first core-dual Calculate H core-dual The corresponding check bits, the input sequence S includes all information bits; then according to H core-dual The corresponding check bits and the input sequence S are used to calculate the check bits corresponding to the single column re-arrangement in the submatrix B. At this time, all the check bits corresponding to the submatrix B can be obtained. Then, according to the input sequence S and the check bits corresponding to the submatrix B, the submatrix D is partially encoded to obtain the check bits corresponding to the submatrix E, thereby obtaining all the information bits and all the check bits. These bits constitute the encoded sequence, which is an LDPC code sequence.

[0122] Optionally, LDPC code encoding may also include shortening and puncturing operations, and shortened bits and punctured bits are not sent.

[0123] Among them, truncation generally starts from the last bit of the information bit and truncates forward. The truncation can be performed in different ways. For example, the number of truncated bits s0 can be obtained by setting the last s0 bits in the input sequence S to known bits to obtain the input sequence S', such as setting them to 0 or null, or some other values, and then encoding the input sequence S' through the LDPC matrix. For another example, the last (s0 mod Z) bits in the input sequence S can be set to known bits to obtain the input sequence S', such as setting them to 0 or null, or some other values, and the last (s0 mod Z) bits in the submatrix A can be set to known bits to obtain the input sequence S'. Column deletion obtains the LDPC matrix H', and uses the LDPC matrix H' to encode the input sequence S', or the last The columns do not participate in the encoding of the input sequence S'. After the encoding is completed, the truncated bits are not sent.

[0124] Among them, puncturing can be puncturing built-in puncturing bits or check bits in the input sequence. When puncturing the check bits, puncturing is usually performed from the last bit of the check bits. Of course, puncturing can also be performed according to the puncturing sequence preset by the system. One possible implementation method is to first encode the input sequence, and then select the last p bits of the check bits according to the number of bits p to be punctured, or select p bits according to the puncturing sequence preset by the system, and these p bits are not sent. In another possible implementation method, the p columns of the matrix corresponding to the punctured bits and the p rows where the non-zero elements in these columns are located can also be determined. These rows and columns do not participate in the encoding, and no corresponding check bits are generated.

[0125] It should be noted that the encoding method here is only an example. Based on the base graph and / or base matrix provided in this application, other encoding methods known to those skilled in the art can also be used, and this application is not limited. The decoding involved in this application can be a variety of decoding methods, for example, a min-sum (MS) decoding method can be used, or a belief propagation decoding method can be used. The MS decoding method is sometimes also called the Flood MS decoding method. For example, the input sequence is initialized and iterative processing is performed. After the iteration, a hard decision detection is performed, and the hard decision result is verified. If the decoding result meets the verification equation, the decoding is successful, the iteration is terminated, and the judgment result is output. If it does not meet the verification equation, the iterative processing is performed again within the maximum number of iterations. If the maximum number of iterations is reached and the verification still fails, the decoding fails. It can be understood that those skilled in the art can understand the principle of MS decoding, which will not be described in detail here.

[0126] It should be noted that the decoding method is only an example. Other decoding methods known to those skilled in the art may also be used based on the base graph and / or base matrix provided in this application. This application does not limit the decoding method.

[0127] Usually, LDPC codes can be obtained based on base graphs and base matrices. The density evolution method can be used to determine the upper limit of the performance of LDPC codes, and the error floor of LDPC codes can be determined based on the offset value in the base matrix. Improving the coding performance and reducing the error floor are one of the goals of determining the base graph and base matrix. In wireless communication systems, the code length is flexible and can be either a small block length such as 40 bits and 1280 bits, or a large block length such as 5000 bits and 8448 bits. Figure 3a, 3b 3c and 3d are examples of a base graph and base matrix of an LDPC code, which can meet the performance requirements of code blocks with a block length of up to 8448 bits. Figure 8a , Figure 8b as well as Figure 8c Another example of a base graph and base matrix for an LDPC code is given. Fig.11a and Fig.11b Another example of a base graph and base matrix of an LDPC code is given. For ease of explanation and understanding, the column numbers and row numbers are shown at the top and left in Figures 3a, 3b and 3c, respectively. Figure 4 and Figure 5 They were given Figure 3a to 3c The figure shows the performance of LDPC codes at two different code rates. Figure 3a An example of a base graph 30a of an LDPC code is shown, wherein the top row 0-67 in the figure represents column numbers, and the leftmost column 0-45 represents row numbers, that is, the size of the base graph is 46 rows and 68 columns.

[0128] The submatrix A corresponds to the systematic bits, has a size of 5 rows and 22 columns, and is composed of elements from row 0 to row 4 and column 0 to column 21 in the base graph 30a;

[0129] The submatrix B corresponds to the check bits, has a size of 5 rows and 5 columns, and is composed of elements from row 0 to row 4 and column 22 to column 26 in the base graph 30a;

[0130] Submatrix A and submatrix B constitute the core matrix part of the LDPC code base graph, that is, a matrix of 5 rows and 27 columns, which can be used for high code rate coding. For example, in the core matrix part composed of submatrix A and submatrix B, the weight of column 1 is 5, the weight of column 1 is 4, the weight of column 21 is 3, the weight of column 3 is 2, and the weight of column 1 is 1.

[0131] Among them, submatrix A can include 2 columns of built-in punctured bit columns, and after puncturing, the code rate that the core matrix can support is 22 / (27-2)=0.88. In submatrix A, 1 column has a weight of 5, 1 column has a weight of 4, and the weights of the remaining 20 columns are 3 respectively. For example, the weights of 2 columns of built-in punctured bit columns can be 5 and 4 respectively.

[0132] Among them, the row weight of the last row (the 4th row) and the column weight of the last column (the 4th column of submatrix B, the 26th column of the core matrix) in submatrix B are both 1, and matrix B includes 1 column and 3 column weights, that is, the 0th column of submatrix B (the 22nd column of the core matrix) has a column weight of 3, and the 1st to 3rd columns (the 23rd to 25th columns of the core matrix) and the 0th to 3rd rows of submatrix B are a dual diagonal structure.

[0133] The core matrix of base graph 30a includes 4 rows with a weight of 19 and 1 row with a weight of 3. That is, the weights of the rows in the core matrix formed by submatrix A and submatrix B are 19, 19, 19, 19 and 3 respectively. It should be noted that the order of the rows in the core matrix can be exchanged, for example, the 0th row and the 2nd row are exchanged, the 1st row and the 3rd row are exchanged, and so on. The row with a weight of 3 can be shown as the 4th row and the 0th to the 26th columns in the core matrix of base graph 30a; the row with a weight of 19 can be one of the rows shown as the 0th to the 3rd row and the 0th to the 26th column in the core matrix of base graph 30a. The order of these rows can be exchanged, and the order of the columns can also be exchanged. For example, the 8th column and the 25th column of the core matrix can be exchanged, the 10th column and the 26th column can be exchanged, and so on. For example, the 3rd row and the 0th row of the core matrix can be swapped, and the 2nd row and the 1st row can be swapped. In order to maintain the double diagonal structure in the submatrix B, the 23rd column and the 25th column can also be swapped on this basis to obtain the following: Figure 8a The core matrix part of the base graph 80a shown is the matrix part composed of row 0 to row 5 and column 0 to column 26 in 80a. It should be noted that this is only an example, and in actual applications, the exchange of column order and row order can be flexibly designed according to system requirements.

[0134] As shown in Table 1, it is an example of column exchange for base graph 80a. For the convenience of description, the order of 27 columns of the core matrix part after column exchange is given here. The column number refers to the column number of the matrix after exchange, which starts from 0. The column number before exchange refers to the column number of the matrix column in the matrix before exchange. As shown in Table 1, the 8th and 10th columns in the matrix before exchange are exchanged to the 25th and 26th columns, the 9th column in the matrix before exchange is exchanged to the position of the 8th column, the 11th to 21st columns in the matrix before exchange are exchanged to the 9th to 19th columns, and the 25th and 26th columns in the matrix before exchange are exchanged to the 20th and 21st columns. In this way, the performance of a specific code rate and code length can be improved. For example, Fig. 9 It is a performance diagram based on the base matrix shown in Table 1. The performance is improved when the code rate is 2 / 3, BLER = 1E-2, and the code length is (672,960); Fig.10 This is a performance diagram based on the base matrix shown in Table 1. At a code rate of 2 / 3, BLER=1E-2, the performance is improved when the code length is (1952, 2624).

[0135] Table 1

[0136]

[0137] It is understandable that, since the rows and columns of the matrix can be exchanged, the row exchange does not change the weight of the columns in the matrix, and the column exchange does not change the weight of the rows in the matrix, and the number of non-zero elements in the matrix does not change. The weight of each row of the base graph 80a after row exchange and column exchange does not change. Using the base graph after row exchange, column exchange, or row exchange and column exchange does not affect the performance.

[0138] It should be noted that, in this application, not affecting performance means that, overall, the impact is acceptable and within the tolerance range. For example, in some scenarios or within certain ranges, the performance may decrease within the allowable range, but in some scenarios or within certain ranges, the performance is improved, and overall the performance is not significantly affected.

[0139] Taking the core matrices of the above-mentioned base graph 30a and base graph 80a as examples, after the order of the rows of base graph 30a is exchanged, the core matrix of base graph 80a still includes the columns in the core matrix of base graph 30a, the weight of row 1 is 3, and the weights of the remaining 4 rows are 19, but the order of the rows is different. If the columns in base graph 30a are exchanged, for example, the 5th column and the 7th column are exchanged, it can be found that the core matrix of base graph 30a after the column exchange still includes the columns in the core matrix of base graph 30a, the weight of column 1 is 5, the weight of column 1 is 4, the weight of column 21 is 3, the weight of column 3 is 2, and the weight of column 1 is 1, but the order of the columns is different. It should be noted that this is only an example and is not limited to this.

[0140] Generally, for a given base graph or base matrix of an LDPC code, a small modification of the matrix elements has an acceptable impact on performance. For example, in one implementation, a small modification can be made based on the core matrix of the base graph 30a, for example, the weight of one row satisfies greater than or equal to 1 and less than or equal to 5, and the weights of the remaining four rows respectively satisfy greater than or equal to 17 and less than or equal to 21. For example, the weight of one row is 2, and the weights of the remaining four rows are 18, or the weight of one row is 4, and the weights of the remaining four rows are 17, 18, 19, 19, and so on. It can be understood that the weights of some rows can also be increased or decreased by 1 to 2 by referring to the scheme provided in the present application, and the present application does not limit this.

[0141] Submatrix A may also include 1 row, in which all elements except the elements on the built-in punctured columns are zero elements. Furthermore, in order to make this row have the smallest weight in the core matrix or basemap matrix, it is usually in the same row as the row with a row weight of 1 in submatrix B. For example, the number of built-in punctured bit columns is 2, that is, the 0th column and the 1st column are built-in punctured bit columns. As shown in basemap 30a or 80a, in the 4th row, the elements on the 0th column and the 1st column are non-zero elements, the elements on the 2nd to 25th columns are zero elements, and the elements in the 26th column are non-zero elements. The weight of the 4th row is 3, and the weight of the row is not only the smallest in the core matrix, but also the smallest in the entire basemap matrix. This setting can improve the performance of encoding and decoding.

[0142] In order to support different block lengths, LDPC codes require different expansion factors Z. For example, the expansion factor Z may include one or more of the following designs: 16, 18, 20, 22, 24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384. In order to ensure the performance of LDPC codes under different block lengths, corresponding base matrices may be used based on different expansion factors Z. Figure 3b The following are examples of multiple base matrices of the core matrix in the base graph 30a. Each base matrix is ​​obtained based on the core matrix of the base graph 30a and the expansion factor Z, wherein the non-zero element in the i-th row and j-th column of the base graph 30a is the offset value P in the i-th row and j-th column of the base matrix. i,j , the zero elements in the base graph 30a are represented by -1 or null in the offset matrix.

[0143] Among them, in one possible implementation:

[0144] If the expansion factor Z is one of {16, 18, 20, 22, 24, 26, 28, 30}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-1;

[0145] If the expansion factor Z is one of {32, 36, 40, 44, 48, 52, 56, 60}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-2;

[0146] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-3;

[0147] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-4;

[0148] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 30b-5 in the figure.

[0149] In yet another possible implementation, the set of expansion factors may be {24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384}:

[0150] If the expansion factor Z is one of {24, 26, 28, 30}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-6;

[0151] If the expansion factor Z is one of {32, 36, 40, 44}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-7;

[0152] If the expansion factor Z is one of {48, 52, 56, 60}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-8;

[0153] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-3;

[0154] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-4;

[0155] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 30b-5 in the figure.

[0156] Based on the above implementation, in another possible implementation, in order to further improve the performance, the base graph may correspond to more base matrices, and the parts of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B may correspond to different base matrices, for example:

[0157] If the expansion factor Z is one of {24, 26, 28, 30}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-6;

[0158] If the expansion factor Z is one of {32, 36, 40, 44}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-7;

[0159] If the expansion factor Z is one of {48, 52, 56, 60}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-8;

[0160] If the expansion factor Z is one of {64, 72, 80, 88}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the base matrix 30b-9 or 30b-10;

[0161] If the expansion factor Z is one of {96, 104, 112, 120}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-3;

[0162] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B can be expressed as Figure 3b As shown in the middle basis matrix 30b-4;

[0163] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 30a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 30b-5 in the figure.

[0164] like Figure 8bThe following are examples of multiple base matrices of the core matrix in base graph 80a. Each base matrix is ​​obtained based on the core matrix of base graph 80a and the expansion factor Z, wherein the non-zero element in the i-th row and j-th column of base graph 80a is the offset value P in the i-th row and j-th column of the base matrix. i,j , the zero elements in the base graph 80a are represented by -1 or null in the offset matrix.

[0165] In yet another possible implementation, the set of expansion factors may be {24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384}:

[0166] If the expansion factor Z is one of {24, 26, 28, 30}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-1;

[0167] If the expansion factor Z is one of {32, 36, 40, 44}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-2;

[0168] If the expansion factor Z is one of {48, 52, 56, 60}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-3;

[0169] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-4;

[0170] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-5;

[0171] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 80b-6 in the figure.

[0172] Based on the above implementation, in another possible implementation, in order to further improve the performance, the base graph may correspond to more base matrices, and the parts of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B may correspond to different base matrices, for example, wherein:

[0173] If the expansion factor Z is one of {24, 26, 28, 30}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-1;

[0174] If the expansion factor Z is one of {32, 36, 40, 44}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-2;

[0175] If the expansion factor Z is one of {48, 52, 56, 60}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-3;

[0176] If the expansion factor Z is one of {64, 72, 80, 88}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-7 or 80b-8;

[0177] If the expansion factor Z is one of {96, 104, 112, 120}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-4;

[0178] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B can be expressed as Figure 8b As shown in the middle basis matrix 80b-5;

[0179] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B may be as shown in the base matrix 80b-6 in the figure.

[0180] In yet another possible implementation, the part of the base matrix of the base graph 80a corresponding to the submatrix A and the submatrix B may be as follows: Figure 8b As shown in the base matrix 80b-9, since the expansion factor Z can be divided in a variety of ways, accordingly, the base matrix used for a group of expansion factors Z can be combined with performance considerations.

[0181] For example, the value of the expansion factor Z is determined according to the length K of the input sequence. For example, if the length of the input sequence is K, the minimum value satisfying 22*Z≥K can be determined from the expansion factors defined by multiple systems as the value of the expansion factor of the matrix. Further, the corresponding base matrix can be selected according to the determined expansion factor. As shown in Table 2, it is an example of the correspondence between the base matrix and the expansion factor. The expansion factors defined by multiple systems are divided into 8 groups, that is, 8 sets, and the set indexes are 1 to 8 respectively. Correspondingly, the base matrix also has 8 PCM1 to PCM8:

[0182] Table 2

[0183]

[0184] For example, the base matrix 80b-9 can be used as PCM8, and when the expansion factor Z is any one of 15, 30, 60, 120, and 240, 80b-9 can be used as the base matrix, and the LDPC check matrix is ​​expanded accordingly using the expansion factor Z. Furthermore, when Z is greater than or equal to 24, the base matrix 80b-9 has relatively good performance.

[0185] Similarly, the rows and columns of the basis matrix can be swapped. If the basis graph undergoes at least one of row swapping and column swapping, the corresponding part of the basis matrix also undergoes the same swap.

[0186] It can be seen that in the above implementation, 80b-1 is the matrix corresponding to 30b-6 after the rows and columns are exchanged, 80b-2 is the matrix corresponding to 30b-7 after the rows and columns are exchanged, 80b-3 is the matrix corresponding to 30b-8 after the rows and columns are exchanged, 80b-4 is the matrix corresponding to 30b-3 after the rows and columns are exchanged, 80b-5 is the matrix corresponding to 30b-4 after the rows and columns are exchanged, 80b-6 is the matrix corresponding to 30b-5 after the rows and columns are exchanged, 80b-7 is the matrix corresponding to 30b-9 after the rows and columns are exchanged, and 80b-8 is the matrix corresponding to 30b-10 after the rows and columns are exchanged.

[0187] Of course, it can be understood that the part of the base matrix of the LDPC matrix corresponding to the submatrix A and the submatrix B may include the rows or columns of any one of the base matrices 30b-1, 30b-2, 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 or 30b-10, that is, a matrix based on any one of the base matrices 30b-1, 30b-2, 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 or 30b-10 after column exchange, row exchange, or row and column exchange.

[0188] In order to obtain a flexible code rate, sub-matrix C, sub-matrix D and sub-matrix E of corresponding sizes can be added based on the core matrix to obtain different code rates. Since sub-matrix C is an all-zero matrix and the sub-matrix is ​​a unit matrix, its size is mainly determined according to the code rate, and the structure is relatively fixed. The core matrix and sub-matrix D parts mainly affect the encoding and decoding performance. Adding rows and columns on the basis of the core matrix to form corresponding C, D and E parts can obtain different code rates. For example, the core matrix part of base graph 30a or the core matrix part of base graph 80a can be used as the core matrix, and corresponding sub-matrices C, D and E are added to meet the requirements of encoding or decoding at different code rates.

[0189] The number of columns of submatrix D is the sum of the number of columns of submatrices A and B, and the number of rows is mainly related to the bit rate. Taking base graph 30a as an example, the number of columns of the corresponding submatrix D is m D for (n A +m A ) = 27 columns, if the code rate supported by the LDPC code is R m , then the size of its base graph or base matrix is ​​m*n, where n=n A / R m +p,m=nn A =n A / R m +pn A If the minimum bit rate R m = 1 / 3, the number of built-in puncturing columns p = 2, taking base image 30a as an example, n = 68, m = 46, and the number of rows of submatrix D is m D Maximum size can be mm A =46-5=41, that is, 0≤m D ≤41.

[0190] For the convenience of description, a matrix F with a size of 41 rows and 27 columns can be defined, and the submatrix D can include m D The code rate is 22 / (25+m D ) is a base graph of an LDPC code. In base graph 30a, m D =41, and the corresponding size of the submatrix D is 41 rows and 27 columns, that is, the submatrix D is the matrix F, and the code rate supported by the corresponding LDPC code is 22 / 66=1 / 3. It can be seen that the matrix composed of the 5th to 45th rows and the 0th to 26th columns in the base graph 30a is the matrix F.

[0191] In the matrix F shown in Figure 30a, the row weights are 7, 7, 9, 8, 7, 7, 8, 6, 6, 5, 6, 5, 5, 6, 5, 5, 5, 4, 4, 4, 5, 4, 5, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 3, 3, 4, 4, 3, 3, 3, 4.

[0192] Since submatrix E is the identity matrix, the weights of each row in base graph 30a are 8, 8, 10, 9, 8, 8, 9, 7, 7, 6, 7, 6, 6, 7, 6, 6, 6, 6, 5, 5, 5, 6, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 4, 4, 5, 5, 4, 4, 5.

[0193] In the present invention, if the same column of two adjacent rows in the base graph has at most one non-zero element, the two rows are orthogonal to each other.

[0194] In a possible implementation, the matrix F may be a matrix of a quasi-orthogonal structure, in which in the matrix block composed of the remaining columns of the matrix F except the built-in punctured bit columns, there is at most one non-zero element in the same column of any two adjacent rows, that is, the matrix block composed of the remaining columns of the matrix F except the built-in punctured bit columns has an orthogonal structure. Taking base diagram 30a as an example, the matrix F is a matrix composed of rows 5 to 45 and columns 0 to 26, wherein columns 0 and 1 are built-in punctured bit columns, then in the matrix block composed of rows 5 to 45 and columns 2 to 26, rows 5 and 6 are mutually orthogonal, rows 6 and 7 are mutually orthogonal, rows 23 and 24 are mutually orthogonal, rows 32 and 33 are mutually orthogonal, and so on. If m D =15, the size of the submatrix D in the LDPC code base graph is 15 rows and 27 columns, which can be composed of the 0th to 14th rows of the matrix F in the base graph 30a, that is, the 5th to 19th rows and the 0th to 26th columns of the base graph 30a, and the code rate supported by the corresponding LDPC code is 22 / 40=0.55, that is, at this code rate, the base graph of the LDPC code corresponds to the matrix part composed of the 0th to 19th rows and the 0th to 41st columns of the base graph 30a, wherein the submatrix E is a unit matrix of 15 rows and 15 columns, and the submatrix C is a matrix of all zeros of 5 rows and 15 columns;

[0195] If m D=19, the size of the submatrix D in the LDPC code base graph is 19 rows and 27 columns, which can be composed of the 0th to 18th rows of the matrix F in the base graph 30a, that is, the 5th to 23rd rows and the 0th to 26th columns of the base graph 30a, and the code rate supported by the corresponding LDPC code is 22 / 44=1 / 2, that is, at this code rate, the base graph of the LDPC code corresponds to the matrix part composed of the 0th to 23rd rows and the 0th to 41st columns of the base graph 30a, where the submatrix E is a unit matrix with 19 rows and 19 columns, and the submatrix C is a matrix of all 0s with 5 rows and 19 columns.

[0196] And so on, I won’t elaborate on them one by one.

[0197] It should be noted that the rows and columns in the base graph and base matrix of the LDPC code can be interchanged. For example, the 17th and 19th rows of the base graph 30a can be interchanged, and the 39th and 41st columns can be interchanged to obtain the following: Figure 8a The base image matrix 80a is shown. For another example, the submatrix D includes the matrix F m D OK, this D The rows can be swapped without swapping, or one or more rows can be swapped. The submatrix E is still a diagonal structure, and rows and columns are not swapped. For example, the 12th and 14th rows of the matrix F are swapped, and the submatrix D includes the m rows in the matrix F. D The submatrix E is still a diagonal structure, thereby obtaining the base graph 80a. The matrix F is a quasi-orthogonal matrix before the row exchange, and it is still a quasi-orthogonal matrix after the exchange. For example, in the base graph 80a, the matrix F is a matrix composed of the 5th to 45th rows and the 0th to 26th columns, wherein the 0th and 1st columns are built-in puncturing bit columns, then in the matrix block composed of the 5th to 45th rows and the 2nd to 26th columns, the 5th and 6th rows are mutually orthogonal, the 29th and 30th rows are mutually orthogonal, and so on. It can be understood that if the base graph or base matrix includes a submatrix D, then when the columns of the core matrix are exchanged, the corresponding columns in the submatrix D also need to be exchanged, for example, the 23rd and 25th columns in the core matrix are exchanged, and the 23rd and 25th columns in the submatrix D also need to be exchanged accordingly. This is only an example and is not intended to be limiting.

[0198] In each embodiment of the present invention, the submatrix D satisfies a quasi-orthogonal structure, that is, except for the built-in puncturing column, the adjacent two rows of other columns are orthogonal. For example, the base graphs 30a, 80a and 170a provided in each embodiment of the present invention are Fig.12 In the neutron matrix D, for example, the 0th column and the 1st column are built-in perforated columns, and two adjacent rows of other columns are orthogonal. It should be noted that the built-in perforated columns may also be other columns, which is not limited here.

[0199] In another possible implementation, the matrix F of the quasi-orthogonal structure may also include at least two orthogonal rows, and each of the two adjacent rows from column 0 to column 26 of the at least two orthogonal rows has at most one non-zero element. D >30, the code rate supported by the corresponding LDPC code is less than 2 / 5, and the last 11 rows in the matrix F, that is, the submatrix formed by the 30th to 40th rows and the 0th to 26th columns of the matrix F can be orthogonal. That is, in the 0th to 29th rows of the matrix F, there is at most one non-zero element in the columns other than the built-in puncturing bit column, and in the 30th to 40th rows, there is at most one non-zero element in the 0th to 26th columns of the two adjacent rows.

[0200] For another example, the submatrix formed by the 26th to 40th rows and the 0th to 26th columns in the matrix F can be orthogonal. That is, in the matrix F, the adjacent two rows from the 0th to the 25th rows have at most one non-zero element in the columns other than the built-in puncturing bit columns, and the adjacent two rows from the 0th to the 26th rows have at most one non-zero element in the columns. Fig.11a The base graph 170a is shown, wherein the matrix F is a matrix composed of the 5th to 45th rows and the 0th to 26th columns of the base graph, the matrix F is a quasi-orthogonal structure, and the 26th to 40th rows of the matrix F are orthogonal, wherein each column of two adjacent rows from the 26th to the 40th rows has at most one non-zero element.

[0201] The core matrix portion of base graph 170a is the same as the core matrix portion of base graph 80a. For each submatrix D in each code rate, each row can be modified by 1-2 non-zero elements or 1-2 zero elements without affecting its performance.

[0202] For example, if m D >20, the last 21 rows of matrix F, that is, the submatrix formed by rows 25 to 45 and columns 0 to 26 of matrix F can be orthogonal. That is, in rows 0 to 19 of matrix F, there is at most one non-zero element in the columns other than the built-in puncturing bit columns, and in rows 20 to 40, there is at most one non-zero element in the columns 0 to 26 of the adjacent rows. Fig.11a The core matrix of the base graph 170a shown is identical to the core matrix of the base graph 80a, and the 5th to 45th rows conform to a quasi-orthogonal structure. It can also be said that the 5th to 25th rows conform to a quasi-orthogonal structure, and the 25th to 45th rows conform to an orthogonal structure.

[0203] Fig.12 The core matrix portion of the base graph shown is the same as the core matrix portion of the base graph 80a, and its 5th to 45th rows conform to the quasi-orthogonal structure.

[0204] like Figure 3c The illustrated base matrix 30c is an example of a base matrix of the base graph 30a, wherein the non-zero elements in the i-th row and j-th column of the base graph 30a remain in the same position in the base matrix 30c, and their values ​​are offset values ​​P i,j . Among them, the part of submatrix D includes the offset matrix m of matrix F D OK, for Figure 3c The basis matrix 30c, m shown in D =41, m can be selected according to the bit rate D The offset matrix corresponding to the submatrix D is the offset matrix of the matrix F. Here, the offset matrix of the matrix F is to replace the non-zero elements in the i-th row and j-th column of the matrix F with the offset value P. i,j , the zero element is represented by -1 or null in the offset matrix. It should be noted that this is only an example, and the base image can also be 80a or 180a, etc., which will not be repeated here.

[0205] In one possible implementation, the offset matrix of the matrix F may include each row or each column of any matrix from 30c-1 to 30c-10. For example:

[0206] If the expansion factor Z is one of {16, 18, 20, 22, 24, 26, 28, 30}, the offset matrix of the matrix F may be a matrix as shown in 30c-1, or a matrix after row / column transformation of the matrix;

[0207] If the expansion factor Z is one of {32, 36, 40, 44, 48, 52, 56, 60}, the offset matrix of the matrix F may be the matrix shown in 30c-2, or a matrix after row / column transformation of the matrix;

[0208] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the offset matrix of the matrix F may be the matrix shown in 30c-3, or a matrix after row / column transformation of the matrix;

[0209] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the offset matrix of the matrix F may be the matrix shown in 30c-4, or a matrix after row / column transformation of the matrix;

[0210] If the expansion factor Z is one of {256, 288, 320, 352, 384}, then the offset matrix of the matrix F can be the matrix shown in 30c-5, or a matrix after the row / column transformation of the matrix.

[0211] Sub-matrix D in base matrix 30c is replaced by m in the offset matrix of each matrix F above. DBy using m, we can obtain the basis matrices of different code rates corresponding to the base graph 30a. D =41, and replace the matrix part consisting of the 5th to 45th rows and the 0th to 26th columns in the base matrix 30c with the offset matrices of each matrix F, so as to obtain each base matrix corresponding to the base graph 30a with a size of 46 rows and 68 columns, and the code rate is 1 / 3 at this time.

[0212] In another possible implementation, the set of expansion factors may be {24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384}:

[0213] If the expansion factor Z is one of {24, 26, 28, 30}, the offset matrix of the matrix F may be a matrix as shown in 30c-6, or a matrix after row / column transformation of the matrix;

[0214] If the expansion factor Z is one of {32, 36, 40, 44}, the offset matrix of the matrix F may be the matrix shown in 30c-7, or a matrix after row / column transformation of the matrix;

[0215] If the expansion factor Z is one of {48, 52, 56, 60}, the offset matrix of the matrix F may be the matrix shown in 30c-8, or a matrix after row / column transformation of the matrix;

[0216] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the offset matrix of the matrix F may be the matrix shown in 30c-3, or a matrix after row / column transformation of the matrix;

[0217] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the offset matrix of the matrix F may be the matrix shown in 30c-4, or a matrix after row / column transformation of the matrix;

[0218] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the offset matrix of the matrix F can be the matrix shown in 30c-5, or a matrix after the row / column transformation of the matrix.

[0219] Based on the above implementation, in another possible implementation, in order to further improve the performance, there are more options for the offset matrix of the matrix F. For example, the offset matrix of the matrix F can also be a matrix such as 30c-9, or a matrix after the row / column transformation of the matrix, or a matrix such as 30c-10, or a matrix after the row / column transformation of the matrix. For example, the expansion factor can be designed as follows:

[0220] If the expansion factor Z is one of {24, 26, 28, 30}, the offset matrix of the matrix F may be a matrix as shown in 30c-6, or a matrix after row / column transformation of the matrix;

[0221] If the expansion factor Z is one of {32, 36, 40, 44}, the offset matrix of the matrix F may be the matrix shown in 30c-7, or a matrix after row / column transformation of the matrix;

[0222] If the expansion factor Z is one of {48, 52, 56, 60}, the offset matrix of the matrix F may be the matrix shown in 30c-8, or a matrix after row / column transformation of the matrix;

[0223] If the expansion factor Z is one of {64, 72, 80, 88}, the offset matrix of the matrix F may be a matrix as shown in 30c-9 or 30c-10, or a matrix after row / column transformation of the matrix;

[0224] If the expansion factor Z is one of {96, 104, 112, 120}, the offset matrix of the matrix F may be the matrix shown in 30c-3, or a matrix after row / column transformation of the matrix;

[0225] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the offset matrix of the matrix F may be the matrix shown in 30c-4, or a matrix after row / column transformation of the matrix;

[0226] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the offset matrix of the matrix F can be the matrix shown in 30c-5, or a matrix after the row / column transformation of the matrix.

[0227] In another possible implementation, the offset matrix of the matrix F may include rows or columns of any matrix in 80c-1 to 80c-9. For example, the set of expansion factors may be {24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384}:

[0228] If the expansion factor Z is one of {24, 26, 28, 30}, the offset matrix of the matrix F may be the matrix shown in 80c-1, or a matrix after row / column transformation of the matrix;

[0229] If the expansion factor Z is one of {32, 36, 40, 44}, the offset matrix of the matrix F may be the matrix shown in 80c-2, or a matrix after row / column transformation of the matrix;

[0230] If the expansion factor Z is one of {48, 52, 56, 60}, the offset matrix of the matrix F may be the matrix shown in 80c-3, or a matrix after row / column transformation of the matrix;

[0231] If the expansion factor Z is one of {60, 64, 72, 80, 88, 96, 104, 112, 120}, the offset matrix of the matrix F may be a matrix as shown in 80c-4, or a matrix after row / column transformation of the matrix;

[0232] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the offset matrix of the matrix F may be the matrix shown in 80c-5, or a matrix after row / column transformation of the matrix;

[0233] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the offset matrix of the matrix F can be the matrix shown in 80c-6, or a matrix after the row / column transformation of the matrix.

[0234] Based on the above implementation, in another possible implementation, in order to further improve the performance, the granularity supported by the expansion factor Z can be designed to be finer, so that there are more options for the offset matrix of the matrix F. For example, the offset matrix of the matrix F can also be a matrix such as 80c-7, or a matrix after the row / column transformation of the matrix, or a matrix such as 80c-8, or a matrix after the row / column transformation of the matrix. For example, the expansion factor can be designed as follows, where:

[0235] If the expansion factor Z is one of {24, 26, 28, 30}, the offset matrix of the matrix F may be the matrix shown in 80c-1, or a matrix after row / column transformation of the matrix;

[0236] If the expansion factor Z is one of {32, 36, 40, 44}, the offset matrix of the matrix F may be the matrix shown in 80c-2, or a matrix after row / column transformation of the matrix;

[0237] If the expansion factor Z is one of {48, 52, 56, 60}, the offset matrix of the matrix F may be the matrix shown in 80c-3, or a matrix after row / column transformation of the matrix;

[0238] If the expansion factor Z is one of {64, 72, 80, 88}, the offset matrix of the matrix F may be a matrix as shown in 80c-7 or 80c-8, or a matrix after row / column transformation of the matrix;

[0239] If the expansion factor Z is one of {96, 104, 112, 120}, the offset matrix of the matrix F may be the matrix shown in 80c-4, or a matrix after row / column transformation of the matrix;

[0240] If the expansion factor Z is one of {128, 144, 160, 176, 192, 208, 224, 240}, the offset matrix of the matrix F may be the matrix shown in 80c-5, or a matrix after row / column transformation of the matrix;

[0241] If the expansion factor Z is one of {256, 288, 320, 352, 384}, the offset matrix of the matrix F can be the matrix shown in 80c-6, or a matrix after the row / column transformation of the matrix.

[0242] In another possible implementation, if the expansion factor Z is any one of 15, 30, 60, 120, 240, the offset matrix of matrix F can be a matrix as shown in 80c-9, or a matrix after row / column transformation of the matrix. Furthermore, when Z is greater than or equal to 24, the offset matrix of matrix F uses 80c-9 with relatively better performance.

[0243] Similarly, the rows and columns of the basis matrix can be swapped. If the basis graph undergoes at least one of row swapping and column swapping, the corresponding part of the basis matrix also undergoes the same swapping.

[0244] It can be seen that in the above implementation, 80c-1 is the matrix corresponding to 30c-6 after row exchange, 80c-2 is the matrix corresponding to 30c-7 after row exchange, 80c-3 is the matrix corresponding to 30c-8 after row exchange, 80c-4 is the matrix corresponding to 30c-3 after row exchange, 80c-5 is the matrix corresponding to 30c-4 after row exchange, 80c-6 is the matrix corresponding to 30c-5 after row exchange, 80c-7 is the matrix corresponding to 30c-9 after row exchange, and 80c-8 is the matrix corresponding to 30c-10 after row exchange.

[0245] Sub-matrix D in base matrix 80c is replaced by m in the offset matrix of each matrix F above. D By calculating the number of rows, we can obtain the basis matrices of different code rates corresponding to the base graph 80a. D =41, and replace the matrix part consisting of the 5th to 45th rows and the 0th to 26th columns in the base matrix 80c with the offset matrices of each matrix F, so as to obtain each base matrix corresponding to the base graph 80a with a size of 46 rows and 68 columns, and the code rate is 1 / 3 at this time.

[0246] It should be noted that, since each row and each column in the base graph and the base matrix can be exchanged, in a possible implementation, the core matrix of the base graph, that is, the part composed of submatrices A and B, can adopt the core matrix part of the base graph 30a, and the submatrix D of the base graph can include the matrix part composed of rows 5 to 45 and columns 0 to 26 in the base graph 30a. D Accordingly, the core matrix portion in the base matrix may be one of 30b-3, 30b-4, 30b-5, 30b-6, 30b-7, 30b-8, 30b-9 and 30b-10, and the portion corresponding to the submatrix D may include m of any of the following matrices: D Rows: 30c-3, 30c-4, 30c-5, 30c-6, 30c-7, 30c-8, 30c-9 and 30c-10. The core matrix and the corresponding part of the submatrix D may be selected according to the expansion factor.

[0247] In another possible implementation, the core matrix of the base graph, that is, the part composed of sub-matrices A and B, can adopt the core matrix part of the base graph 80a, and the sub-matrix D of the base graph can include the matrix part composed of rows 5 to 45 and columns 0 to 26 in the base graph 80a. D Accordingly, the core matrix portion in the base matrix may be one of 80b-1, 80b-2, 80b-3, 80b-4, 80b-5, 80b-6, 80b-7, 80b-8 and 80b-9, and the portion corresponding to the submatrix D may include m of any of the following matrices: DRows: 80c-1, 80c-2, 80c-3, 80c-4, 80c-5, 80c-6, 80c-7, 80c-8 and 80c-9. The core matrix and the corresponding part of the submatrix D may be selected according to the expansion factor.

[0248] In another possible implementation, the core matrix of the base graph, that is, the part composed of sub-matrices A and B, can adopt the core matrix part of the base graph 80a, and the sub-matrix D of the base graph can include the matrix part composed of rows 5 to 45 and columns 0 to 26 in the base graph 170a. D row, such as base graph 170a, and accordingly, the base matrix may be composed of Fig.11b The m in the 5th to 45th rows of the basis matrix 170b is D Rows 0 to 4.

[0249] In another possible implementation, the core matrix of the base graph may adopt the core matrix part of the base graph 80a, and the sub-matrix D part of the base graph may include: Fig.12 The matrix portion consisting of rows 5 to 45 and columns 0 to 26 in the base graph shown in FIG. D OK, such as Fig.12 shown.

[0250] It can be understood that the quasi-orthogonal structure in the present application is not limited to two adjacent rows. The matrix conforming to the quasi-orthogonal structure can also be designed to include multiple groups, each group contains at least 2 rows, such as 3 rows, or 4 rows, etc., and the rows included in each group are quasi-orthogonal.

[0251] Figure 4 and Figure 5 In the performance curve diagram shown, LDPC 1 indicates that the LDPC code is obtained by encoding the base matrices corresponding to the base graph 30a, and LDPC 2 indicates a commonly used LDPC code for comparison, wherein the horizontal axis indicates the length of the information bit sequence in bits, and the vertical axis is the symbol signal-to-noise ratio (Es / N0). The performance curves are the performance of the symbol signal-to-noise ratio of LDPC 1 and LDPC 2 under different information bit sequence lengths when the BLER is 0.01 and 0.0001, respectively. Among them, Figure 4 Medium code rate R = 8 / 9, Figure 5 The code rate R = 1 / 3. It can be seen that under the same BLER, the symbol signal-to-noise ratio of LDPC 1 under different information bit sequence lengths is lower than that of LDPC 2, that is, the performance is better than LDPC 2.

[0252] In the encoding method provided in an embodiment of the present invention, the encoder uses an LDPC matrix to encode an input sequence; the base graph of the LDPC matrix can be any base graph in the aforementioned examples, and the base matrix H of the LDPC matrixB It can be any base matrix in the above examples. The input sequence of the encoder can be an information bit sequence, or an information bit sequence after at least one of the following processing: CRC bit addition or padding bit addition.

[0253] Furthermore, it also includes: determining an expansion factor Z; the value of the expansion factor Z can be determined according to the length K of the input sequence. The information bit sequence is sometimes also called a code block, which can be obtained by dividing the transmission block into code blocks. If the length of the information bit sequence is Kc, the minimum value that satisfies 22*Z≥Kc can be determined from the expansion factors defined by multiple systems. For example, Kc=3800, and the expansion factors defined by the system include 16, 18, 20, 22, 24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, 384, then Z can be determined to be 176. It should be noted that this is just an example and is not intended to be limiting.

[0254] In a possible design, the information bit sequence can be padded to obtain an input sequence, so that the length of the input sequence K = K b ·Z, Z=K / K b For example, Null, or a value of 0, or other system agreed values ​​can be used as the value of the filling bit. After encoding, these filling bits can be identified and not sent. The present invention is not limited to this.

[0255] The encoder uses the LDPC matrix H to encode the input sequence, which may be to use the LDPC matrix H corresponding to the expansion factor Z to encode the input sequence.

[0256] In a possible implementation, the input sequence c = {c0, c1, c2, ..., c K-1}, the length of the input sequence c is K, and the output sequence d obtained after the input sequence c is encoded by the encoder is {d0, d1, d2, ..., d N-1}, K is an integer greater than 0, and K can be an integer multiple of the expansion factor Z.

[0257] The output sequence d includes K0 bits in the input sequence c and the check bits in the check sequence w, K0 is an integer greater than 0 and less than or equal to K, and the length of the check sequence w is N-K0.

[0258] Among them, the check bit sequence w and the input sequence c satisfy formula (1):

[0259]

[0260] Among them, c T =[c0,c1,c2,...,c K-1 ] T , is the transposed vector of the vector composed of each bit in the input sequence, is the transposed vector of the vector composed of each bit in the check sequence, 0 T is a column vector where all elements have the value 0.

[0261] Wherein H is an LDPC matrix obtained based on any base graph listed in the above embodiments, the base graph size of H is m rows and n columns, and can be any base graph listed in the above embodiments, for example, 30a, 80a, 170a and Fig.12 wait.

[0262] In one design, the base graph of H includes p columns of built-in puncturing columns, p is an integer greater than or equal to 0, the information bits corresponding to the p columns of built-in puncturing columns are not output, and the output sequence does not include the information bits corresponding to the p columns of built-in puncturing columns, then K0 = Kp·Z, for example, p = 2, then K0 = K-2·Z, and the length of the check sequence w is N+2·ZK. If the p columns of built-in puncturing columns participate in the encoding, then K0 = K, and the length of the check sequence w is NK

[0263] Accordingly, H can be M rows and (N+p·Z) columns or M rows and N columns, and its base graph size m=M / Z,

[0264] The base graph of the LDPC matrix H can be expressed as [H BG H BG,EXT ],in Indicates m c ×n c An all-zero matrix of size , Indicates n c ×n c The identity matrix of size .

[0265] In one possible design, is the submatrix C in the base graph of the above embodiments, is the submatrix E in the above embodiments, then A, B and D are the sub-matrices A, B and D in the base graph of the above-mentioned embodiments respectively, then m c =5,0≤n c ≤41, H BG The number of rows is less than or equal to 46 and greater than or equal to 5, H BG The number of columns is equal to 27.

[0266] In another possible design, since the 26th column is a single column, and the non-zero elements are located in the 5th row, It may also include the first 4 rows of the 26th column of the base diagram of the aforementioned embodiments and the first 4 rows of the submatrix C in the aforementioned embodiments, It may also include the base graph submatrix E in the aforementioned embodiments and the 5th to 46th rows of the 26th column and the last row of the submatrix C, then m c =4,0≤n c ≤42; H BG The matrix H is composed of the submatrices A, B and D in the base diagram of the above embodiments, with the last column removed. BG The number of rows is less than or equal to 46 and greater than or equal to 5, H BG The number of columns of H is equal to 26. Optionally, if the code rate needs to be further increased, H BG The number of rows can be 4, that is, rows 0 to 3.

[0267] Accordingly, the LDPC matrix H can be expressed as H = [H1 H2].

[0268] H1 can be BG Each zero element in is replaced by a Z*Z all-zero matrix, and each non-zero element is replaced by a Z*Z circulant permutation matrix h i,j We get, where the circulant permutation matrix h i,j It is to circularly shift the Z*Z size unit matrix to the right by P i,j Obtained, sometimes also referred to as I(P i,j ) where i is the row number and j is the column number. In one possible design, P i,j =mod(V i,j ,Z),V i,j It is the non-zero element in the i-th row and j-th column of the basis matrix corresponding to the expansion factor set index corresponding to Z.

[0269] H2 can be H BG,EXT Each zero element in is replaced by a Z*Z all-zero matrix, and each non-zero element is replaced by a Z*Z unit matrix.

[0270] The encoder can encode and output in a variety of ways. The following uses the base images 80a, 170a or Fig.12 Any one of the base graphs shown is used as an example for explanation, wherein the maximum number of rows in the base graph is 46, and the maximum number of columns is 68, including 2 built-in punched columns. For the convenience of description, in the present invention, the base graph with the largest number of rows and columns is sometimes referred to as a complete base graph.

[0271] Method 1:

[0272] Based on the complete base image encoding, as many check bits as possible are obtained. At this time, m=46, n=68, that is, the 0th to 45th rows and the 0th to 67th columns of any of the above base images.

[0273] Accordingly, for the LDPC matrix H, M=46·Z, if the output sequence includes information bits corresponding to the built-in puncturing columns, then N=68·Z, and if the output sequence does not include 2·Z information bits corresponding to the built-in puncturing columns, then N=66·Z.

[0274] The information bits and check bits to be sent can be determined from the output sequence generated by the encoder in a subsequent processing step.

[0275] Method 2:

[0276] Partial row and column coding based on the complete base graph. Row and column coding can be selected from the complete base graph according to the code rate required to be sent, or the number of information bits and check bits.

[0277] For example, the code rate is 8 / 9, m=5, n=27, that is, partial coding based on rows 0 to 4 and columns 0 to 26 in any of the above base images.

[0278] Accordingly, for the LDPC matrix H, M=5·Z, if the output sequence includes information bits corresponding to the built-in puncturing columns, then N=27·Z, and if the output sequence does not include information bits corresponding to the built-in puncturing columns, then N=25·Z.

[0279] For another example, the code rate is 1 / 3, m=46, and n=68.

[0280] It can be seen that in this way, the base graph size of H is,5≤m≤46,27≤n≤68, and correspondingly for the LDPC matrix H,5·Z≤M≤46·Z,27·Z≤N≤68·Z.

[0281] In one possible design, the 26th column in any of the base graphs listed above is a single column re-column, and the single column re-column in the core matrix can be punctured so that the core matrix is ​​reduced by 1 row and 1 column, so that m is 4, n = 26, that is, partial encoding of rows 0 to 3 and columns 0 to 25 based on any of the base graphs listed above. This method can obtain a higher code rate. Therefore, the base graph size is 4≤m≤46, 26≤n≤68, and correspondingly for the LDPC matrix H, 4·Z≤M≤46·Z, 26·Z≤N≤68·Z.

[0282] In the above implementations, the base matrix H of the LDPC matrix H is BIt can be any base matrix exemplified in the aforementioned embodiments, or a base matrix whose row order is changed, or column order is changed, or both row order and column order are changed relative to any base matrix exemplified in the aforementioned embodiments, and its base graph includes at least submatrix A and submatrix B, and can also include submatrix C, submatrix D and submatrix E. Each part can refer to the description in the aforementioned embodiments, and will not be repeated here. Of course, it can also be a base matrix whose other base graphs conform to the base graphs shown in the aforementioned embodiments, and the present invention is not limited to this.

[0283] In one possible implementation, the basis matrix H of the LDPC code is B It can be stored in a memory, and the encoder obtains the LDPC matrix corresponding to the expansion factor Z to encode the input sequence.

[0284] In another possible implementation, since the base matrix H of the LDPC code B There are multiple ones, and saving them in a matrix structure will take up a large storage space. The base graph of the LDPC code can also be saved in the memory, and the offset values ​​of the non-zero elements in each base matrix can be saved row by row or column by column. Then, the LDPC matrix is ​​obtained according to the offset value of the base matrix corresponding to the base graph and the expansion factor Z.

[0285] Base graph can indicate the position of each base matrix non-zero element, and in another possible implementation, preserving base graph can be to preserve the position of non-zero element wherein.The position of non-zero element can be indicated by the row and column where non-zero element is located, such as the position of the column where non-zero element is located in each row, or, the position of the row where non-zero element is located in each column. In another possible implementation, preserving base graph can also be to preserve the position of zero element wherein, and equally, can also be indicated by the row and column where zero element is located. For example, the position of the column where zero element is located in each row, or the position of the row where zero element is located in each row, then the position of corresponding non-zero element can be obtained by excluding the position where zero element is located. It should be noted that this is only for example, and the present invention is not limited to this.

[0286] In one design, the parameters involved in the base graph or base matrix can be represented by a table. For example, the relevant parameters or tables can be stored in one or more memories. The base graph or base matrix can be obtained by reading the row number of the base graph or base matrix in the memory and the column where the non-zero elements are located, and optionally, the row weight of each row and the offset value of the non-zero elements of each row can also be stored.

[0287] Below Fig.11a Taking this as an example, other base graphs or base matrices provided in this application may refer to similar references.

[0288] For example, base image 80a, base image 170a or Fig.12The core matrix part can be represented using Table III.

[0289] Table 3

[0290]

[0291] For example, the base graph of the LDPC matrix may include the core portion shown in Table 3. Other portions of the base graph of the LDPC matrix may be base graph 80a, base graph 170a, or Fig.12 As shown, or other structures described in this application, or other matrix structures, this application is not limited.

[0292] For another example, taking base graph 170a as an example, the parameters involved in the first 24 rows of the base graph can be shown in Table 4, and the other rows are similar. Due to space limitations, they are not listed in Table 4.

[0293] Table 4

[0294]

[0295]

[0296] It should be noted that these are only examples and are not intended to be limiting. Other base graphs or base matrices provided in this application may also use similar tables to express relevant parameters. It is understood that the above base graph 170a and Tables 3 and 4 are intended to help understand the design of the base graph and base matrix, and their expression forms are not limited to the expression forms of the base graph 170a or Tables 3 and 4. Other possible variations may also be included.

[0297] In one implementation, the column number, the row where the non-zero element is located, or the row where the zero element is located can be used, for example, in the form of Table 5.

[0298] Table 5

[0299]

[0300]

[0301] In one implementation, the parameters "row weight" and "column weight" in Table 3, Table 4 or Table 5 can also be omitted. The number of non-zero elements in a row or column can be known through the column or row where the non-zero elements are located, so the row weight or column weight is also known.

[0302] In one implementation, the parameter values ​​in the “columns where non-zero elements are located” in Table 3 or 4 above and the parameter values ​​in the “rows where non-zero elements are located” in Table 5 may not be arranged in ascending order, as long as the parameter values ​​index the columns where non-zero elements are located or index the rows where non-zero elements are located.

[0303] In one implementation, Table 3 or Table 4 may also include a column of "non-zero element offset value", and the parameter values ​​in the "non-zero element offset value" column correspond one-to-one with the parameter values ​​in the "column where the non-zero element is located". Table 5 may also include a column of "non-zero element offset value", and the parameter values ​​in the "non-zero element offset value" column correspond one-to-one with the parameter values ​​in the "row where the non-zero element is located".

[0304] In one design, in order to save storage space, for a relatively fixed structure of a base graph, the position of its non-zero elements can be calculated based on the row and column positions, and the position of the non-zero elements therein can be omitted. For example, if the submatrix E is a diagonal matrix, and there are non-zero elements only on the diagonal, the position of the column where the non-zero elements are located can be calculated based on the row number, or the position of the row where the non-zero elements are located can be calculated based on the column number. Fig.12 For any base graph in the example, for the mth e Line, m e ≥4, the column where the non-zero element is located is the mth e +K b Column, here K b = 22, for example, the column where the non-zero element in row 7 is located is column 29. For another example, the dual diagonal structure B' in submatrix B is located in base graph 80a, base graph 170a or Fig.12 In any base graph, the positions of the columns where the non-zero elements are located can be calculated based on the row numbers, and the positions of the rows where the non-zero elements are located can also be calculated based on the column numbers. For the mth B If 0 <m B <3, the positions of non-zero elements in this row include the mth B +K b Column, and mth B +K b +1 column, if m B =0 or m B =3, the positions of non-zero elements in this row include the mth B +K b For example, a single column in submatrix B is re-columned, that is, base graph 80a, base graph 170a or Fig.12 In any base graph, column 26, if m B =4, the positions of non-zero elements in this row include the mth B +K b List.

[0305] As shown in Table 6 Fig.12The parameters involved in each row in can save the column positions of the non-zero elements in columns 0 to 25, but not the column positions of the non-zero elements in columns 26 to 68, that is, not saving the columns where the non-zero elements in the single-column re-column of submatrix E and submatrix B are located, which can be used to represent H with 26 columns. BG :

[0306] Table 6

[0307]

[0308]

[0309]

[0310] As shown in Table 7 Fig.12 The parameters involved in each row in can save the column positions of the non-zero elements in columns 0 to 26, but not the column positions of the non-zero elements in columns 27 to 68, that is, not saving the columns where the non-zero elements in the submatrix E are located, which can be used to represent H with 27 columns. BG :

[0311] Table 7

[0312]

[0313]

[0314] In the above design, the row weight column is optional. In one possible design, the 1 and 0 in each row or column of the base graph can be regarded as binary numbers, and the storage space can be saved by using decimal or hexadecimal numbers. Taking any of the above base graphs as an example, each row can use 4 hexadecimal numbers to save the positions of the non-zero elements in the first 26 columns or the first 27 columns. For example, the first 26 columns of the 0th row are 11110110 01111101 10111111 00, then the positions of the non-zero elements in the 0th row can be recorded as 0xF6, 0x7D, 0xBF, 0x00, that is, every 8 columns form a hexadecimal number. For the last 2 or 3 columns, the corresponding hexadecimal numbers can be obtained by filling 0 to 8 bits, and the other rows are similar, which will not be repeated here.

[0315] When encoding the information bit sequence, the basis matrix H can be encoded according to Z B The coded LDPC matrix H is obtained by expansion. B Every non-zero element P i,j , determine the circulant permutation matrix h of size Z*Z i,j , where h i,j The identity matrix is ​​P i,jThe cyclic permutation matrix obtained by cyclic shift is h i,j Replace the non-zero elements P i,j , replace the basis matrix H with a Z*Z size all-zero matrix B The zero elements in are removed to obtain the parity check matrix H.

[0316] In one possible design, for the expansion factor Z, the basis matrix H B The element P in row i and column j i,j The following relationship (2) can be satisfied:

[0317]

[0318] Among them, V i,j It can be the offset value of the element in the i-th row and j-th column in the basis matrix of the set where the expansion factor Z is located, or the offset value of the non-zero element in the i-th row and j-th column of the basis matrix of the maximum expansion factor in the set where the expansion factor Z is located.

[0319] For example, taking the corresponding relationship between the set of expansion factors Z and the base matrix index shown in Table 2 as an example, Z = 13, the element P in the i-th row and j-th column of the base matrix i,j Satisfies (2).

[0320] Among them, V i,j is the offset value of the non-zero element in the i-th row and j-th column of the base matrix indicated by PCM7. For Z=13, the offset value V of the non-zero element in the i-th row and j-th column of the base matrix indicated by PCM7 needs to be i,j Modulo Z=13.

[0321] It should be noted that this is only an example and the present invention is not limited to this.

[0322] Taking base graph 80a or 170a as an example, the base matrix H is determined B After that, we can first pass the input sequence and the 0th to 3rd rows and 0th to 25th columns of the basis matrix, that is, H core-dual The check bits corresponding to the 22nd to 25th columns are obtained; then according to the input sequence and H core-dual The corresponding check bits are obtained in the 26th column, that is, the check bits corresponding to the single column re-column; then, the check bits corresponding to the submatrix E are obtained according to the input sequence and the check bits corresponding to the 22nd to 26th columns and the partial coding corresponding to the submatrix D, thereby completing the encoding. The encoding process of the LDPC code can be described with reference to the aforementioned implementation method, which will not be repeated here.

[0323] In a communication system, the above method can be used to encode and obtain an LDPC code. After obtaining the LDPC code, the communication device can also perform one or more of the following operations: rate matching the LDPC code; interleaving the rate-matched LDPC code according to an interleaving scheme; modulating the interleaved LDPC code according to a modulation scheme to obtain a bit sequence X; and sending the bit sequence X.

[0324] In a decoding method provided in another embodiment of the present invention, a decoder uses an LDPC matrix to decode an input sequence; the base graph of the LDPC matrix may be any base graph in the aforementioned examples, and the base matrix H of the LDPC matrix B It can be any base matrix in the above examples. The input sequence of the decoder can be a soft value sequence of the LDPC code.

[0325] Furthermore, the method further includes: determining an expansion factor Z. The communication device at the receiving end may receive a signal containing LDPC-coded signals, obtain a soft value sequence of the LDPC code, and determine a corresponding expansion factor Z.

[0326] The decoder uses the LDPC matrix H to decode the input sequence, which may be to use the LDPC matrix H corresponding to the expansion factor Z to decode the soft value sequence of the LDPC code.

[0327] Since decoding is the inverse process of encoding, the description of the LDPC matrix H and its base graph can refer to the above encoding embodiment. When decoding, decoding can also be performed based on the complete base graph, or decoding can be performed based on partial rows and columns of the complete base graph.

[0328] The basis matrix H of the LDPC matrix H B It can be any base matrix exemplified in the aforementioned embodiments, or a base matrix whose row order is changed, or column order is changed, or both row order and column order are changed relative to any base matrix exemplified in the aforementioned embodiments, and its base graph includes at least submatrix A and submatrix B, and can also include submatrix C, submatrix D and submatrix E. Each part can refer to the description in the aforementioned embodiments, and will not be repeated here. Of course, it can also be a base matrix whose other base graphs conform to the base graphs shown in the aforementioned embodiments, and the present invention is not limited to this.

[0329] In one possible design, the basis matrix H of the LDPC code is B It can be stored in a memory, and the LDPC matrix corresponding to the expansion factor Z can be obtained to decode the soft value of the LDPC code;

[0330] In another possible implementation, since there are multiple basis matrices of the LDPC code, saving them in a matrix structure will take up a large storage space. The base graph of the LDPC code can also be saved in a memory, and the offset values ​​of the non-zero elements in each basis matrix can be saved row by row or column by column. Then, the LDPC matrix is ​​obtained according to the offset value of the base matrix corresponding to the base graph and the expansion factor Z.

[0331] The base graph may also be stored in the various ways described in the aforementioned encoding embodiments.

[0332] It should be noted that these are just examples and are not intended to be limiting.

[0333] Decoding is the inverse process of encoding, and the basis matrix H used is B It has the same characteristics as the base matrix in the encoding method embodiment. B The LDPC matrix H obtained by expansion can also refer to the encoding method embodiment.

[0334] In the communication system, before the decoding method, the communication device may also perform one or more of the following operations: receiving a signal containing LDPC-based coding, demodulating the signal, deinterleaving and derate matching to obtain soft values ​​of the LDPC code.

[0335] In one possible implementation, one or more of the following may be saved:

[0336] a) Used to obtain any basis matrix H listed in the above implementations B Based on the parameters in, the basis matrix H can be obtained B ; For example, the parameters may include one or more of the following: the row number, row weight, column number, column weight, position of non-zero elements of the base image and / or base matrix, the offset value in the base matrix, the non-zero element offset value and the corresponding position, compensation value, expansion factor, a set of expansion factors, or the base image of the base matrix, or the code rate, etc.

[0337] b) Any basis matrix H listed in the above implementations B ;

[0338] c) Based on the basis matrix H B The expanded matrix;

[0339] d) Based on any basis matrix H listed in the above implementations B The basis matrix after row / column transformation. In this application, row / column transformation refers to row transformation, or column transformation, or row transformation and column transformation;

[0340] e) A matrix expanded based on the base matrix after the row / column transformation.

[0341] In a possible implementation, encoding or decoding the input sequence using a low-density parity check LDPC matrix may be performed in one or more of the following ways during the encoding or decoding process:

[0342] i. Based on the above a) obtain the basis matrix H B , based on the obtained basis matrix H B Encoding or decoding; or based on the obtained basis matrix H B Perform row / column swapping and perform encoding or decoding based on the base matrix after the row / column transformation. The encoding or decoding based on the base matrix may optionally include extended matrix encoding or decoding based on the base matrix;

[0343] ii. Based on the basis matrix saved in b) or d) (save the basis matrix H B , or the saved basis matrix H B The encoding or decoding based on the base matrix after the row / column transformation is performed, or the row / column transformation is performed based on the stored base matrix, and the encoding or decoding is performed based on the base matrix after the row / column transformation. Here, the encoding or decoding based on the base matrix may optionally include the extended matrix encoding or decoding based on the base matrix;

[0344] iii. Encode or decode based on c) or e).

[0345] The expansion involved in this application may be to obtain an expanded matrix by deforming or processing the matrix, and this application does not limit the expansion method. In one implementation, the expansion may be to compensate the matrix. For example, the compensation value is increased or decreased for each offset value greater than or equal to 0 in the base matrix, thereby obtaining a compensation matrix. In another implementation, the expansion may be to expand the rows and columns of the matrix, thereby obtaining an expanded matrix. In yet another implementation, the expansion may be to transform the non-zero values ​​of the matrix.

[0346] The storage involved in this application may refer to storage in one or more memories. The one or more memories may be set separately or integrated in an encoder or decoder, a processor, a chip, a communication device, or a terminal. The one or more memories may also be partially set separately and partially integrated in a decoder, a processor, a chip, a communication device, or a terminal. The type of memory may be any form of storage medium, which is not limited by this application.

[0347] Figure 6 A schematic diagram of the structure of a communication device 600 is provided, and the device 600 can be used to implement the method described in the above method embodiment, and the description in the above method embodiment can be referred to. The communication device 600 can be a chip, a base station, a terminal or other network equipment.

[0348] The communication device 600 includes one or more processors 601. The processor 601 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and communication data, and the central processing unit may be used to control the communication device (such as a base station, a terminal, or a chip, etc.), execute a software program, and process the data of the software program.

[0349] In one possible design, the communication device 600 includes one or more processors 601, and the one or more processors 601 can implement the functions of the above-mentioned encoder. In another possible design, the above-mentioned encoder may be a part of the processor 601, and the processor 601 can implement other functions in addition to implementing the functions of the encoder.

[0350] The communication device 600 encodes the input sequence using an LDPC matrix; the base graph of the LDPC matrix may be any base graph in the aforementioned examples or a base graph in which the row order is changed, the column order is changed, or both the row order and the column order are changed relative to any base graph in the aforementioned examples, and the base matrix H of the LDPC matrix B It can be any base matrix in the aforementioned embodiment or a base matrix with a changed row order, a changed column order, or a changed row order and a changed column order relative to any base matrix exemplified above. The input sequence of the encoder can be an information bit sequence.

[0351] In one possible design, one or more of the processors 601 may implement the functionality of the above-mentioned decoder. In another possible design, the above-mentioned decoder may be a part of the processor 601.

[0352] The communication device 600 can be used to decode an input sequence using an LDPC matrix; the base graph of the LDPC matrix can be any base graph in the aforementioned examples or a base graph in which the row order is changed, the column order is changed, or both the row order and the column order are changed relative to any base graph in the aforementioned examples, and the base matrix H of the LDPC matrix B It can be any base matrix in the above examples or a base matrix with a changed row order, a changed column order, or a changed row order and a changed column order relative to any base matrix in the above examples. The input sequence of the decoder can be a soft value sequence.

[0353] In an optional design, the processor 601 may also include instructions 603, which can be executed on the processor to enable the communication device 600 to perform the method described in the above method embodiment.

[0354] In yet another possible design, the communication device 600 may also include a circuit, which may implement the functions of the encoder, or the decoder, or the encoder and the decoder in the aforementioned method embodiment.

[0355] Optionally, the communication device 600 may include one or more memories 602, on which instructions 604 are stored, and the instructions can be executed on the processor so that the communication device 600 performs the method described in the above method embodiment. Optionally, data can also be stored in the memory. Instructions and / or data can also be stored in the optional processor. The processor and memory can be set separately or integrated together. Optionally, one or more memories 602 can store parameters related to the base matrix, such as offset values, base graphs, expansion to matrices based on base graphs, rows in base matrices, expansion factors, etc. Optionally, the one or more memories 602 can store base matrices or expand to matrices based on base matrices.

[0356] Optionally, the communication device 600 may further include a transceiver 605 and an antenna 606. The processor 601 may be referred to as a processing unit, which controls the communication device (terminal or base station). The transceiver 605 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., which is used to implement the transceiver function of the communication device through the antenna 606.

[0357] Optionally, the communication device 600 may further include a device for generating a transport block CRC, a device for code block segmentation and CRC checking, an interleaver for interleaving, or a modulator for modulation processing, etc. The functions of these devices may be implemented by one or more processors 601 .

[0358] Optionally, the communication device 600 may further include a demodulator for demodulation, a deinterleaver for deinterleaving, or a device for rate matching, etc. The functions of these devices may be implemented by one or more processors 601 .

[0359] Figure 7 A schematic diagram of a communication system 700 is provided, wherein the communication system 700 includes a communication device 70 and a communication device 71, wherein information data is received and sent between the communication device 70 and the communication device 71. The communication devices 70 and 71 may be the communication apparatus 600, or the communication devices 70 and 71 may include the communication apparatus 600, respectively, to receive and send information data. In one example, the communication device 70 may be a terminal, and the corresponding communication device 71 may be a base station; in another example, the communication device 70 may be a base station, and the corresponding communication device 71 may be a terminal.

[0360] It is also known to those skilled in the art that the various illustrative logical blocks and steps listed in the embodiments of the present invention can be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art can use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present invention.

[0361] The various illustrative logic units and circuits described in the embodiments of the present invention can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

[0362] The steps of the method or algorithm described in the embodiments of the present invention can be directly embedded in hardware, instructions executed by a processor, or a combination of the two. The memory can be a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium in the art. For example, the memory can be connected to the processor so that the processor can read information from the memory and can write information to the memory. Optionally, the memory can also be integrated into the processor. The processor and the memory can be arranged in an ASIC, and the ASIC can be arranged in a communication device (such as a base station or a terminal). Optionally, the processor and the memory can also be arranged in different components in the communication device.

[0363] Through the description of the above embodiments, it is clear to those skilled in the art that the present invention can be implemented in hardware, firmware, or a combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in accordance with the embodiment of the present invention is generated in whole or in part. When implemented using a software program, the above functions can also be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. Computer-readable media include computer storage media and communication media, wherein the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a computer can access. By way of example but not limitation: computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer. In addition. Any connection can be appropriately a computer readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then coaxial cable, optical fiber cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the definition of the medium. As used in the present invention, disks and discs include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks and blue-ray discs, where disks usually copy data magnetically, while discs use lasers to optically copy data. The above combination should also be included in the scope of protection of computer readable media.

[0364] In this application, " / " means and / or. For example, encoding / decoding means encoding, decoding, or encoding and decoding.

[0365] In short, the above is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An information processing method, characterized in that: include: Determine the expansion factor Z, where Z is a positive integer; The input sequence is encoded or decoded based on a low-density parity check LDPC matrix corresponding to the expansion factor Z, wherein the base graph of the LDPC matrix includes the following non-zero elements in rows and columns, i represents the row number, j represents the column number, and i and j are integers greater than or equal to 0: i=0,j=0,1,2,3,5,6,9,10,11,12,13,15,16,18,19,20,21,22,23; i=1,j=0,2,3,4,5,7,8,9,11,12,14,15,16,17,19,21,22,23,24; i=2,j=0,1,2,4,5,6,7,8,9,10,13,14,15,17,18,19,20,24,25; i=3,j=0,1,3,4,6,7,8,10,11,12,13,14,16,17,18,20,21,22,25; i=4,j=0,1,26; The other elements in the above row of the base graph are zero elements.

2. The method according to claim 1, characterized in that The LDPC matrix is ​​obtained by replacing each non-zero element in the base graph with a circulant permutation matrix of size Z*Z, and replacing each zero element in the base graph with a zero matrix of size Z*Z.

3. The method according to claim 2, characterized in that The Z*Z circulant permutation matrix is ​​the Z*Z identity matrix P to the right i,j The matrix obtained by cyclic shift is P i,j is the offset value of the non-zero element represented by i and j in the base graph, P i,j is an integer greater than or equal to 0.

4. The method according to claim 3, characterized in that P i,j is obtained based on the expansion factor Z.

5. The method according to any one of claims 1 to 4, characterized in that The values ​​of the expansion factor Z include 16, 18, 20, 22, 24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, and 384.

6. The method according to any one of claims 1 to 5, characterized in that The base graph also includes submatrix C, submatrix D and submatrix E, where The submatrix C has 5 rows m D The row number i and column number j of the elements of the submatrix C are i=0, ..., 4, j=27, ..., 26+m respectively. D ; The submatrix D is m D The submatrix D has 27 rows and 27 columns, and the row number i and column number j of the elements are i=5,…,4+m respectively. D , j = 0,…,26; The submatrix E is m D Line m D The row number i and column number j of the element of the submatrix E are respectively i=5,…,4+m D , j=27,…,26+m D ; m D is an integer and 0 <m D ≤41.

7. A coding method, characterized in that: include: For the input sequence c={c0,c1,c2,…,c K-1 } is encoded to obtain the output sequence d = {d0, d1, d2, ..., d N-1 }, where K and N are integers greater than 0; The output sequence d includes K0 bits in the input sequence c and the check sequence There are N-K0 check bits in the , where K0 is an integer and 0 <K0≤K; The check sequence w and the input sequence c satisfy: Where H is the low-density parity check LDPC matrix, c T =[c0,c1,c2,...,c K-1 ] T , 0 T is a column vector whose elements all have the value 0.

8. The method according to claim 7, characterized in that The method further comprises: An expansion factor Z is determined, where Z is a positive integer, and the LDPC matrix corresponds to the expansion factor Z.

9. The method according to claim 8, characterized in that N=66×Z.

10. The method according to claim 8 or 9, characterized in that: K0=K-2×Z.

11. The method according to any one of claims 8 to 10, characterized in that: The base graph of the LDPC matrix includes the following non-zero elements in rows and columns, where i represents the row number, j represents the column number, and i and j are integers greater than or equal to 0: i=0,j=0,1,2,3,5,6,9,10,11,12,13,15,16,18,19,20,21,22,23; i=1,j=0,2,3,4,5,7,8,9,11,12,14,15,16,17,19,21,22,23,24; i=2,j=0,1,2,4,5,6,7,8,9,10,13,14,15,17,18,19,20,24,25; i=3,j=0,1,3,4,6,7,8,10,11,12,13,14,16,17,18,20,21,22,25; i=4,j=0,1,26; The other elements in the above row of the base graph are zero elements.

12. The method according to claim 11, characterized in that The LDPC matrix is ​​obtained by replacing each non-zero element in the base graph with a circulant permutation matrix of size Z*Z, and replacing each zero element in the base graph with a zero matrix of size Z*Z.

13. The method according to claim 12, characterized in that The Z*Z circulant permutation matrix is ​​the Z*Z identity matrix P to the right i,j The matrix obtained by cyclic shift is P i,j is the offset value of the non-zero element represented by i and j in the base graph, P i,j is an integer greater than or equal to 0.

14. The method according to claim 13, characterized in that P i,j is obtained based on the expansion factor Z.

15. The method according to any one of claims 11 to 14, characterized in that The base graph also includes submatrix C, submatrix D and submatrix E, where The submatrix C has 5 rows m D The row number i and column number j of the elements of the submatrix C are i=0, ..., 4, j=27, ..., 26+m respectively. D ; The submatrix D is m D The submatrix D has 27 rows and 27 columns, and the row number i and column number j of the elements are i=5,…,4+m respectively. D , j = 0,…,26; The submatrix E is m D Line m D The row number i and column number j of the element of the submatrix E are respectively i=5,…,4+m D , j=27,…,26+m D ; m D is an integer and 0 <m D ≤41.

16. The method according to any one of claims 8 to 15, characterized in that The values ​​of the expansion factor Z include 16, 18, 20, 22, 24, 26, 28, 30, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 88, 96, 104, 112, 120, 128, 144, 160, 176, 192, 208, 224, 240, 256, 288, 320, 352, and 384.

17. A communication device, characterized in that: The method comprises a module for executing the method as claimed in any one of claims 1 to 6, or comprises a module for executing the method as claimed in any one of claims 7 to 16.

18. A computer storage medium, characterized in that: A program is stored, and when the program is executed, the method according to any one of claims 1 to 6 is executed, or the method according to any one of claims 7 to 16 is executed.

19. A computer program product, characterized in that The method comprises instructions which, when executed, cause the method according to any one of claims 1 to 6 to be executed, or cause the method according to any one of claims 7 to 16 to be executed.

Citation Information

Cited By

  • Techniques for configuring base graph and lifting structures for low density parity check code

    WO2026123231A1