Encoding method and device, and decoding method and device

By dividing the check matrix of the LDPC code into sub-matrices and ensuring that the redundant version contains core bits, the problem of insufficient self-decoding capability when the redundant version of the 5G new wireless LDPC code is lost is solved, reducing hardware complexity and delay, and improving improved communication performance.

WO2024182937A1PCT designated stage expired Publication Date: 2024-09-12HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/079645
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

When the redundant version of the existing 5G new wireless LDPC code is lost, the retransmission packet cannot guarantee the self-decoding capability, and there are hardware complexity and delay issues in the encoding and decoding process.

Method used

By dividing the check matrix of the LDPC code into sub-matrix A, sub-matrix B, sub-matrix C, sub-matrix D and sub-matrix E, the sender obtains the first redundant version of the data from the buffer to ensure that it corresponds to sub-matrix D The first column set in the redundant version ensures that the number and position of the core bits contained in the redundant version are stable, thereby having self-decoding capabilities, reducing interleaving and deinterleaving operations, and reducing hardware complexity and latency.

Benefits of technology

The self-decoding capability of the redundant version is realized, reducing hardware complexity and delay, and improving the performance and reliability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023079645_12092024_PF_FP
    Figure CN2023079645_12092024_PF_FP
Patent Text Reader

Abstract

The present application provides an encoding method and device, and a decoding method and device, for use in improving the self-decoding capacity of a redundancy version. In the encoding method, a sending end obtains a first redundancy version of data from a buffer, and sends the first redundancy version, wherein the first redundancy version corresponds to a first column set in a sub-matrix D, and the first column set comprises one or more columns of the sub-matrix D. On the basis of the solution, first data is encoded by means of a first check matrix, so that the first redundancy version comprises a first column matrix in the sub-matrix D, and thus the quantity and positions of core bits comprised in the first redundancy version are stable, and the self-decoding performance of the first redundancy version can be improved. The first check matrix provided by the present application comprises the sub-matrix D, wherein the sub-matrix D may comprise one or more upper triangular matrices or lower triangular matrices.
Need to check novelty before this filing date? Find Prior Art

Description

A coding and decoding method and device Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a coding and decoding method and device. Background Art

[0002] Low-density parity-check (LDPC) code is a channel coding scheme that is very close to the Shannon line and has the characteristics of good performance and low complexity. It has been adopted by the Third Generation Partnership Project (3GPP) rd generation partnership project (3GPP) has been identified as the 5G data channel coding scheme.

[0003] The coding process for new radio (NR) LDPC codes includes encoding, bit filtering, and bit transmission. After encoding, information bits are directly placed into a circular buffer. Bits of corresponding length are transmitted sequentially based on the starting position of each redundancy version (RV). LDPC codes have four RVs, assuming they are called RV0, RV1, RV2, and RV3. During communication, the transmitter transmits bits in the order RV0, RV2, RV1, and RV3.

[0004] If the transmission length reaches the number of bits corresponding to the total number of columns in the basis matrix, the loop returns to the first transmission position corresponding to the basis matrix. Therefore, only RV0 will definitely contain the core bits. RV1, RV2, and RV3 require longer code lengths, that is, only when the loop returns to the first transmission position will RV1, RV2, and RV3 contain the core bits. If RV0 is lost, retransmitted packets cannot be guaranteed to be self-decoded.

[0005] Summary of the Invention

[0006] The present application provides an encoding and decoding method and apparatus to ensure that the redundant version has self-decoding capability.

[0007] In a first aspect, an encoding method is provided. This method can be performed by a transmitting end, or by a chip / chip system. The transmitting end can be a communications device, or a module / unit disposed in a communications device. In this method, the transmitting end obtains a first redundant version of data from a buffer. The first redundant version is obtained based on second data, which is obtained by encoding the first data based on a first check matrix. The first check matrix is ​​an X×Y matrix. The first parity check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A comprises rows 1 to x1 and columns 1 to y1 of the first parity check matrix. Submatrix B comprises rows 1 to x1 and columns y1+1 to y2 of the first parity check matrix. Submatrix C comprises rows 1 to x1 and columns y2+1 to Y of the first parity check matrix. Submatrix D comprises rows x1+1 to X and columns 1 to y2 of the first parity check matrix. Submatrix E comprises rows x1+1 to X and columns y2+1 to Y of the first parity check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. Submatrix E has nonzero elements on its diagonal, is a lower triangular matrix, and contains all-zero elements. Submatrix D comprises one or more upper triangular or lower triangular matrices. The transmitting end sends a first redundancy version, where the first redundancy version corresponds to a first column set in the submatrix D, and the first column set includes one or more columns of the submatrix D.

[0008] Based on this solution, the first data is encoded using the first check matrix of the above structure, so that the first redundant version corresponds to the first column set in the submatrix D. Therefore, the number and position of the core bits included in the first redundant version are stable, which can ensure that the first redundant version has self-decoding capability.

[0009] In a possible implementation, a transmitting end receives feedback information, wherein the feedback information is used to indicate whether decoding of the first redundancy version is successful or failed, and sends a second redundancy version based on the feedback information.

[0010] In one example, the feedback information is used to indicate that the data of the second redundant version is not completely identical to the data of the first redundant version when decoding of the first redundant version fails. In another example, the feedback information is used to indicate that the second redundant version is retransmitted data of the first redundant version when the first redundant version is not received.

[0011] Based on this solution, the transmitting end can determine the redundant version to send to the receiving end based on the feedback information. If the transmitting end determines that the receiving end has not received the first redundant version, the transmitting end can retransmit the first redundant version to the receiving end. If the transmitting end determines that decoding of the first redundant version has failed, the transmitting end can send a second redundant version that is not completely identical to the first redundant version to the receiving end, thereby improving the decoding success rate of the receiving end.

[0012] In one possible implementation, a transmitting end or a receiving end may obtain first indication information. The first indication information includes a permutation of row numbers of a first parity check matrix and may indicate a coding and decoding scheduling order. Based on this solution, the transmitting end may determine the coding scheduling order based on the first indication information, and the receiving end may determine the decoding scheduling order based on the first indication information.

[0013] In one possible implementation, the transmitting end may obtain second indication information. The second indication information includes a permutation of the column numbers of the first parity check matrix, and the second indication information indicates a transmission order, which is at a quasi-cyclic (QC) level. The transmitting end may place the second data into an interleaver for interleaving, and then place the data into a buffer. Alternatively, the transmitting end may encode the first data to obtain the second data, and place the second data into a buffer. The transmitting end may place the second data into an interleaver and obtain the first redundant version from the interleaver.

[0014] In a second aspect, a decoding method is provided. This method can be performed by a receiving end, or a chip / chip system. The receiving end can be a communications device, or a module / unit disposed in a communications device. In this method, the receiving end receives a first redundant version, where the first redundant version is obtained based on second data, which is obtained by encoding the first data based on a first check matrix. The first check matrix is ​​an X×Y matrix. The first parity check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A comprises rows 1 to x1 and columns 1 to y1 of the first parity check matrix. Submatrix B comprises rows 1 to x1 and columns y1+1 to y2 of the first parity check matrix. Submatrix C comprises rows 1 to x1 and columns y2+1 to Y of the first parity check matrix. Submatrix D comprises rows x1+1 to X and columns 1 to y2 of the first parity check matrix. Submatrix E comprises rows x1+1 to X and columns y2+1 to Y of the first parity check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E contains nonzero elements, submatrix E is a lower triangular matrix, and submatrix C contains all-zero elements. Submatrix D comprises one or more upper or lower triangular matrices. The first redundant version corresponds to the first column set in submatrix D, which comprises one or more columns of submatrix D. The receiving end decodes the first redundant version according to the first column set in the sub-matrix.

[0015] In one possible implementation, a receiving end sends feedback information, wherein the feedback information indicates whether decoding of the first redundant version is successful or failed. The receiving end receives the second redundant version and decodes the first redundant version and / or the second redundant version according to the first column set in the submatrix.

[0016] In one example, the feedback information indicates that the second redundant version is retransmitted data of the first redundant version if decoding of the first redundant version fails. The receiving end decodes the second redundant version based on the first set of columns in the submatrix. In another example, the feedback information indicates that the data of the second redundant version is not completely identical to the data of the first redundant version if the first redundant version is not received. The receiving end decodes the first and second redundant versions based on the first set of columns in the submatrix.

[0017] In one possible implementation, a transmitting end or a receiving end may obtain first indication information. The first indication information includes a permutation of row numbers of a first parity check matrix and may indicate a coding and decoding scheduling order. Based on this solution, the transmitting end may determine the coding scheduling order based on the first indication information, and the receiving end may determine the decoding scheduling order based on the first indication information.

[0018] In one possible implementation of the first and second aspects, the second data is obtained by encoding the first data based on the first parity check matrix during initial transmission. In this solution, the first data is encoded during initial transmission and the encoded second data is placed in a buffer. This avoids the communication device encoding the data during each transmission, thereby reducing latency.

[0019] In a possible implementation of the first and second aspects, the submatrix D includes submatrix D1', submatrix D2'...submatrix DN', where N is an integer greater than or equal to 1. The submatrix Dw' includes the x1+Mth submatrix of the submatrix D. w +1~x1+M w+1 row. w is an integer from 1 to N, M w Less than M w+1 . The submatrix Dw' includes submatrix Dw,2, submatrix Dw,1 and submatrix Dw,3. Among them, submatrix Dw,2 includes the second column set in submatrix Dw', submatrix Dw,1 includes the third column set of submatrix Dw', submatrix Dw,1 is an upper triangular matrix or a lower triangular matrix, and the elements on the diagonal of submatrix Dw,1 are non-zero elements. Submatrix Dw,3 includes the fourth column set of submatrix Dw', and submatrix Dw,3 is an all-zero matrix. The second column set, the third column set and the fourth column set do not overlap. Based on this scheme, submatrix D includes submatrix D1', submatrix D2', ..., submatrix DN', so the first check matrix can support the retransmission mechanism of different RVs and can meet the requirements of different code rates.

[0020] In a possible implementation manner based on the first aspect and the second aspect, the sub-matrix D1′ is the sub-matrix D.

[0021] In a possible implementation of the first and second aspects, the distance between the diagonal elements of submatrix E in the same row and the diagonal elements of submatrix D increases as the size of the row increases. Alternatively, the distance between the diagonal elements of submatrix D and the elements in the first column of submatrix D in the same row increases as the size of the row increases. Based on this solution, submatrix D may include a stepped structure, that is, submatrix D may include an upper triangular matrix and a lower triangular matrix.

[0022] In a possible implementation of the first and second aspects, when N is greater than or equal to 2, at least one M w Greater than 2.

[0023] In one possible implementation of the first and second aspects, submatrix Dw,2 includes the columns with the largest column weight in the first parity check matrix. Based on this solution, submatrix Dw,2 includes the columns with the largest column weight. Therefore, the first redundancy version can include core bits corresponding to the columns of submatrix Dw,2, which can improve the performance of the initial transmission of the first redundancy version.

[0024] In a possible implementation of the first and second aspects, the buffer stores data corresponding to columns of the sub-matrix Dw,2. The data corresponding to the columns of the sub-matrix Dw,2 include punctured data.

[0025] In a possible implementation of the first and second aspects, the number of redundant versions of the second data is at least two. The first redundant version is one of the at least two redundant versions. When the first redundant version is used for retransmission, the first redundant version includes data corresponding to columns of the submatrix Dw,2.

[0026] In one possible implementation based on the first and second aspects, when the first redundancy version is used for retransmission, the first redundancy version also includes data corresponding to columns of submatrix Dy,1, where submatrix Dy,1 is a submatrix of submatrix Dw,1. Submatrix Dy,1 is a t×U matrix, where U is the number of columns in submatrix Dw,1, and t is determined based on the code rate and the type of channel carrying the first redundancy version. Based on this solution, the first redundancy version includes data corresponding to columns of submatrix Dw,1, enabling self-decoding capabilities with only a small number of core bits.

[0027] In a possible implementation manner based on the first aspect and the second aspect, the submatrix Dy,1 is a square matrix, and t=U.

[0028] In a possible implementation of the first and second aspects, the rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1.

[0029] In one possible implementation of the first and second aspects, the first redundant version does not include data corresponding to columns of submatrix Dw,3. In this solution, the first redundant version does not include data corresponding to columns of submatrix Dw,3, and the core portion can be used to perform self-decoding of some core bits, thereby improving self-decoding capabilities.

[0030] In a possible implementation of the first and second aspects, the submatrix E includes submatrix E1, submatrix E2, ..., submatrix EN. Wherein, the submatrix Ew includes the x1+Mth submatrix of the submatrix E. w +1~x1+M w+1 row and x1+M w +1~x1+M w+1 The rows correspond to the columns. The submatrix Ew corresponds to the submatrix Dw', and the submatrix Ew is a square matrix.

[0031] In a possible implementation based on the first and second aspects, when the first redundancy version is used for retransmission, the first redundancy version also includes data corresponding to columns of submatrix Dy,1 and data corresponding to columns of submatrix Ex, where submatrix Ex is a submatrix of submatrix Ew, Ex includes submatrix Ez, where Ez is a (Ut)×(Ut) matrix, where U is the number of columns of submatrix Dw,1, the intersection of rows included in Ez and rows included in Dy,1 is empty, and t is determined based on the code rate and the type of channel carrying the first redundancy version. Based on this solution, IR-HARQ performance can be improved using parity bits corresponding to submatrix Ew.

[0032] In a possible implementation manner based on the first aspect and the second aspect, the sub-matrix Ez is the sub-matrix Ex.

[0033] In a possible implementation manner based on the first aspect and the second aspect, the submatrix Ex is a submatrix Ew.

[0034] In one possible implementation of the first and second aspects, the rows of submatrix Ez correspond to the 1st to tth columns of submatrix Ew, and the columns of submatrix Ez correspond to the 1st to tth columns of submatrix Ew. Alternatively, the rows of submatrix Ez correspond to the 1st to tth columns from the bottom of submatrix Ew, and the columns of submatrix Ez correspond to the 1st to tth columns from the bottom of submatrix Ew. Based on this solution, the self-decoding capability and IR-HARQ performance can be flexibly adjusted as t changes.

[0035] In one possible implementation of the first and second aspects, the first check matrix is ​​obtained based on a sequence and a second check matrix. The sequence is used to indicate the edge relationship between regions A, B, and D in the second check matrix. Based on this solution, the first check matrix can be obtained using the second check matrix and the sequence. Compared to a solution that designs the structure of the first check matrix, obtaining the first check matrix using the sequence and the second check matrix can reduce the complexity of the communication device.

[0036] In a possible implementation of the first and second aspects, the first check matrix is ​​obtained by deleting edge relationships in the second check matrix. Based on this solution, the first check matrix is ​​obtained by deleting edge relationships indicated by the sequence, which can reduce the complexity of the communication device.

[0037] In a possible implementation manner based on the first aspect and the second aspect, the second check matrix is ​​preset.

[0038] According to a third aspect, a communication device is provided, comprising: a processing unit and a transceiver unit.

[0039] A processing unit is configured to obtain a first redundant version of data from a buffer. The first redundant version is obtained based on second data, where the second data is obtained by encoding the first data based on a first check matrix. The first check matrix is ​​an X×Y matrix. The first check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A comprises rows 1 to x1 and columns 1 to y1 of the first check matrix. Submatrix B comprises rows 1 to x1 and columns y1+1 to y2 of the first check matrix. Submatrix C comprises rows 1 to x1 and columns y2+1 to Y of the first check matrix. Submatrix D comprises rows x1+1 to X and columns 1 to y2 of the first check matrix. Submatrix E comprises rows x1+1 to X and columns y2+1 to Y of the first check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E is non-zero, submatrix E is a lower triangular matrix, and submatrix C is all zero. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. The transceiver unit is configured to transmit a first redundancy version, where the first redundancy version corresponds to a first column set in submatrix D, and the first column set includes one or more columns of submatrix D.

[0040] In a possible implementation, the transceiver unit is further configured to receive feedback information, wherein the feedback information is used to indicate whether the first redundancy version is successfully decoded or whether the first redundancy version is failed to be decoded, and to send the second redundancy version according to the feedback information.

[0041] In one example, the feedback information is used to indicate that the data of the second redundant version is not completely identical to the data of the first redundant version when decoding of the first redundant version fails. In another example, the feedback information is used to indicate that the second redundant version is retransmitted data of the first redundant version when the first redundant version is not received.

[0042] In a possible implementation, the processing unit is further configured to obtain first indication information, wherein the first indication information includes a permutation of row numbers of a first parity check matrix, and the first indication information may indicate a coding scheduling order.

[0043] In one possible implementation, the processing unit is further configured to obtain second indication information. The second indication information includes a permutation of the column numbers of the first check matrix, and the second indication information indicates a sending order, where the sending order is at a quasi-cyclic (QC) level. The processing unit is further configured to place the second data into an interleaver for interleaving, and then place the second data into a buffer. Alternatively, the processing unit is further configured to encode the first data to obtain second data, and place the second data into a buffer. The processing unit is specifically configured to place the second data into an interleaver and obtain a first redundant version from the interleaver.

[0044] In a fourth aspect, a communication device is provided, comprising: a processing unit and a transceiver unit.

[0045] A transceiver unit is configured to receive a first redundant version, where the first redundant version is obtained based on second data, where the second data is obtained by encoding the first data based on a first check matrix. The first check matrix is ​​an X×Y matrix. The first check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A is rows 1 to x1 and columns 1 to y1 of the first check matrix. Submatrix B is rows 1 to x1 and columns y1+1 to y2 of the first check matrix. Submatrix C is rows 1 to x1 and columns y2+1 to Y of the first check matrix. Submatrix D is rows x1+1 to X and columns 1 to y2 of the first check matrix. Submatrix E is rows x1+1 to X and columns y2+1 to Y of the first check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E is non-zero, submatrix E is a lower triangular matrix, and submatrix C is all zero elements. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. The first redundant version corresponds to a first column set in submatrix D, and the first column set includes one or more columns of submatrix D. The processing unit is configured to decode the first redundant version according to the first column set in the submatrix.

[0046] In one possible implementation, the transceiver unit is further configured to send feedback information. The feedback information is used to indicate whether decoding of the first redundant version is successful or whether decoding of the first redundant version is unsuccessful. The transceiver unit is further configured to receive the second redundant version. The processing unit is further configured to decode the first redundant version and / or the second redundant version according to the first column set in the submatrix.

[0047] In one example, the feedback information is used to indicate that data of the second redundant version is not completely identical to data of the first redundant version when decoding of the first redundant version fails. In another example, the feedback information is used to indicate that data of the second redundant version is retransmitted data of the first redundant version when the first redundant version is not received. The processing unit is specifically configured to decode the first redundant version and the second redundant version according to the first column set in the submatrix.

[0048] In a possible implementation, the processing unit is further configured to obtain first indication information, wherein the first indication information includes a permutation of row numbers of a first parity check matrix, and the first indication information may indicate a coding scheduling order.

[0049] In a possible implementation manner based on the third aspect and the fourth aspect, the second data is obtained by encoding the first data based on the first check matrix during initial transmission.

[0050] In a possible implementation of the third and fourth aspects, the submatrix D includes submatrix D1', submatrix D2'...submatrix DN', where N is an integer greater than or equal to 1. The submatrix Dw' includes the x1+Mth submatrix of the submatrix D. w +1~x1+M w+1 row. w is an integer from 1 to N, M w Less than M w+1 Submatrix Dw' includes submatrix Dw,2, submatrix Dw,1, and submatrix Dw,3. Submatrix Dw,2 includes the second column set of submatrix Dw', submatrix Dw,1 includes the third column set of submatrix Dw', submatrix Dw,1 is an upper triangular matrix or a lower triangular matrix, and the elements on the diagonal of submatrix Dw,1 are non-zero elements. Submatrix Dw,3 includes the fourth column set of submatrix Dw', and submatrix Dw,3 is an all-zero matrix. The second column set, the third column set, and the fourth column set do not overlap.

[0051] In a possible implementation manner based on the third and fourth aspects, the sub-matrix D1′ is the sub-matrix D.

[0052] In a possible implementation manner based on the third and fourth aspects, the distances between the diagonal elements of submatrix E and the diagonal elements of submatrix D located in the same row increase as the size of the row increases. Alternatively, the distances between the diagonal elements of submatrix D and the elements in the first column of submatrix D located in the same row increase as the size of the row increases.

[0053] In a possible implementation of the third and fourth aspects, when N is greater than or equal to 2, at least one M w Greater than 2.

[0054] In one possible implementation based on the third and fourth aspects, submatrix Dw,2 includes the columns with the largest column weight in the first parity check matrix. Based on this solution, submatrix Dw,2 includes the columns with the largest column weight. Therefore, the first redundancy version can include core bits corresponding to the columns of submatrix Dw,2, which can improve the performance of the initial transmission of the first redundancy version.

[0055] In a possible implementation manner based on the third and fourth aspects, the buffer stores data corresponding to columns of the sub-matrix Dw,2. The data corresponding to the columns of the sub-matrix Dw,2 include punctured data.

[0056] In a possible implementation of the third and fourth aspects, the number of redundant versions of the second data is at least two. The first redundant version is one of the at least two redundant versions. When the first redundant version is used for retransmission, the first redundant version includes data corresponding to columns of the submatrix Dw,2.

[0057] In a possible implementation manner based on the third and fourth aspects, when the first redundant version is used for retransmission, the first redundant version also includes data corresponding to columns of submatrix Dy,1, where submatrix Dy,1 is a submatrix of submatrix Dw,1, and submatrix Dy,1 is a t×U matrix, where U is the number of columns of submatrix Dw,1, and t is determined based on a code rate and a type of a channel carrying the first redundant version.

[0058] In a possible implementation manner based on the third and fourth aspects, the submatrix Dy,1 is a square matrix, and t=U.

[0059] In a possible implementation of the third and fourth aspects, the rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1. Alternatively, the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1.

[0060] In a possible implementation manner based on the third aspect and the fourth aspect, the first redundant version does not include data corresponding to columns of the sub-matrix Dw,3.

[0061] In a possible implementation of the third and fourth aspects, the submatrix E includes submatrix E1, submatrix E2, ..., submatrix EN. Wherein, the submatrix Ew includes the x1+Mth submatrix of the submatrix E. w +1~x1+M w+1 row and x1+M w +1~x1+M w+1 The rows correspond to the columns. The submatrix Ew corresponds to the submatrix Dw', and the submatrix Ew is a square matrix.

[0062] In a possible implementation based on the third and fourth aspects, when the first redundancy version is used for retransmission, the first redundancy version also includes data corresponding to columns of submatrix Dy,1 and data corresponding to columns of submatrix Ex, where submatrix Ex is a submatrix of submatrix Ew, and Ex includes submatrix Ez, where Ez is a (Ut)×(Ut) matrix, where U is the number of columns of submatrix Dw,1, the intersection of rows included in Ez and rows included in Dy,1 is empty, and t is determined based on the code rate and the type of channel carrying the first redundancy version. Based on this solution, the first redundancy version includes data corresponding to columns of submatrix Dy,1 and data corresponding to columns of submatrix Ex. While ensuring the self-decoding capability of the first redundancy version, the data corresponding to columns of submatrix Ex can improve the incremental redundancy-hybrid automatic repeat request (IR-HARQ) performance of the first redundancy version.

[0063] In a possible implementation manner based on the third and fourth aspects, the sub-matrix Ez is the sub-matrix Ex.

[0064] In a possible implementation manner based on the third aspect and the fourth aspect, the sub-matrix Ex is a sub-matrix Ew.

[0065] In a possible implementation of the third and fourth aspects, the rows of submatrix Ez are the 1st to tth columns of submatrix Ew, and the columns of submatrix Ez are the 1st to tth columns of submatrix Ew. Alternatively, the rows of submatrix Ez are the 1st to tth columns from the bottom of submatrix Ew, and the columns of submatrix Ez are the 1st to tth columns from the bottom of submatrix Ew.

[0066] In a possible implementation of the third and fourth aspects, the first check matrix is ​​obtained based on a sequence and a second check matrix, and the sequence is used to indicate the edge relationship among regions A, B, and D in the second check matrix.

[0067] In a possible implementation manner based on the third aspect and the fourth aspect, the first check matrix is ​​obtained by deleting edge relationships in the second check matrix.

[0068] In a possible implementation manner based on the third aspect and the fourth aspect, the second check matrix is ​​preset.

[0069] In a fifth aspect, a communication device is provided. The communication device may be a communication device in any possible implementation of the third aspect or the fourth aspect of the above-mentioned embodiment, or a chip provided in a communication device in any of the third aspect or the fourth aspect. The communication device includes a communication interface and a processor, and optionally, also includes a memory. The memory is used to store computer programs, instructions, or data, and the processor is coupled to the memory and the communication interface. When the processor reads the computer program, instructions, or data, the communication device executes the method executed by the sending end in any possible implementation of the first aspect, or executes the method executed by the receiving end in any possible implementation of the second aspect.

[0070] It should be understood that the communication interface can be implemented by an antenna, a feeder, a codec, etc. in the communication device, or, if the communication device is a chip provided in the transmitting end or the receiving end, the communication interface can be an input / output interface of the chip, such as an input / output pin, etc. The communication device may further include a transceiver for communicating with other devices.

[0071] In a sixth aspect, an embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the method performed by the transmitting end or the receiving end in any possible implementation of aspects 1 to 4. In one possible implementation, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0072] In a seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program or instruction. When the computer program or instruction is executed, the method performed by the sending end or the receiving end in the above aspects is implemented.

[0073] In an eighth aspect, a computer program product is provided, comprising: computer program code or instructions, which, when executed, causes the method performed by the sending end or the receiving end in the above aspects to be executed.

[0074] In a ninth aspect, a communication device is provided, which includes a unit or module for executing the above-mentioned methods.

[0075] In a tenth aspect, a chip system is provided, comprising a logic circuit and an input / output interface. The logic circuit is configured to execute the method executed by the transmitting end or the receiving end. The input / output interface is configured to communicate with other devices.

[0076] In an eleventh aspect, a system is provided, comprising an encoding device and a decoding device, wherein the encoding device can be used to perform any possible implementation of the first aspect, and the decoding device can be used to perform any possible implementation of the second aspect.

[0077] The beneficial effects of the third to eleventh aspects and their implementations can refer to the description of the beneficial effects of the methods of the first and second aspects and their implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] FIG1 is a schematic diagram of a communication system to which the method provided in an embodiment of the present application is applicable;

[0079] FIG2 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0080] FIG3 is a schematic diagram of a base matrix of an LDPC code;

[0081] FIG4 is a schematic diagram of the position of the transmission position of an RV on the basis matrix of an LDPC code;

[0082] FIG5 is a schematic diagram of an encoding process of an NR LDPC code;

[0083] FIG6 is a schematic diagram of a check matrix of an LDPC code provided in an embodiment of the present application;

[0084] FIG7 is a schematic diagram of information bits, bits included in RV0 and RV1 provided in an embodiment of the present application;

[0085] FIG8 is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0086] FIG9 is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0087] FIG10 is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0088] FIG11 is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0089] FIG12 is an exemplary flow chart of an encoding and decoding method provided in an embodiment of the present application;

[0090] FIG13A is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0091] FIG13B is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0092] FIG13C is a schematic diagram of bits included in a first redundancy version provided in an embodiment of the present application;

[0093] FIG14A is a schematic diagram of a second parity check matrix provided in an embodiment of the present application;

[0094] FIG14B is a schematic diagram of a first check matrix provided in an embodiment of the present application;

[0095] FIG15 is a schematic diagram of another application scenario provided by an embodiment of the present application;

[0096] FIG16 is a schematic diagram of another application scenario provided by an embodiment of the present application;

[0097] FIG17 is a schematic diagram of another application scenario provided by an embodiment of the present application;

[0098] FIG18 is a schematic diagram of a check matrix of another LDPC code provided in an embodiment of the present application;

[0099] FIG19 is a schematic diagram showing a corresponding relationship between bit rate and performance provided in an embodiment of the present application;

[0100] FIG20 is a schematic diagram showing the corresponding relationship between the self-decoding capability and the minimum number of core bits provided in an embodiment of the present application;

[0101] FIG21 is a schematic diagram of a self-decoding capability curve of an NR LDPC according to an embodiment of the present application and a self-decoding capability curve of the technical solution according to an embodiment of the present application;

[0102] FIG22 is a schematic diagram of a self-decoding capability curve of another NR LDPC according to an embodiment of the present application and a self-decoding capability curve of the technical solution according to an embodiment of the present application;

[0103] FIG23 is a schematic diagram of a communication device provided in an embodiment of the present application;

[0104] FIG24 is a schematic diagram of another communication device provided in an embodiment of the present application;

[0105] FIG25 is a schematic diagram of another communication device provided in an embodiment of the present application;

[0106] Figure 26 is a schematic diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0107] The following describes the technical solutions provided by the embodiments of the present application in conjunction with the accompanying drawings.

[0108] The following describes a communication system to which the method provided in the embodiment of the present application is applicable, with reference to FIG1 . Referring to FIG1 , a communication system 100 includes a network device 101 and a terminal device 102 .

[0109] The terminal devices involved in this application include devices that provide voice and / or data connectivity to users, and more specifically, include devices that provide voice to users, or devices that provide data connectivity to users, or devices that provide both voice and data connectivity to users. For example, they may include handheld devices with wireless connection capabilities, or processing devices connected to wireless modems. The terminal device may be user equipment (UE), wireless terminal device, mobile terminal device, device-to-device (D2D) terminal device, vehicle-to-everything (V2X) terminal device, machine-to-machine / machine-type communications (M2M / MTC) terminal device, Internet of Things (IoT) terminal device, subscriber unit, subscriber station, mobile station, remote station, access point (AP), remote terminal device, access terminal device, user terminal device, user agent, or user equipment, satellite, drone, balloon or aircraft, etc. For example, it may include a mobile phone (or so-called "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built-in mobile device, etc. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), and other devices. Also included are restricted devices, such as devices with low power consumption, or devices with limited storage capacity, or devices with limited computing power. For example, information sensing devices such as barcodes, radio frequency identification (RFID), sensors, global positioning systems (GPS), laser scanners, etc. As an example and not a limitation, in the embodiments of the present application, the terminal device may also be a wearable device.Wearable devices, also known as wearable smart devices or smart wearable devices, are a general term for wearable devices developed by applying wearable technology to intelligently design and develop wearable devices for everyday wear. The various terminal devices described above, if located in a vehicle (e.g., placed inside or installed in the vehicle), can be considered in-vehicle terminal devices, also known as on-board units (OBUs).

[0110] The network devices involved in this application include, for example, access network (AN) devices, such as base stations or access points, which may refer to devices in the access network that communicate with wireless terminal devices through one or more cells over the air interface, or transmission points (TRPs), transmitting points (TPs), mobile switching centers, and devices that perform base station functions in device-to-device (D2D), vehicle-to-everything (V2X), and machine-to-machine (M2M) communications. Alternatively, the network device may also be a road side unit (RSU) in vehicle-to-everything (V2X) technology. The network device may include an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in a long term evolution (LTE) system or long term evolution-advanced (LTE-A), or may also include an evolved packet core network (EPC), the fifth generation mobile communication technology (the 5th generation, 5G), a next generation node B (gNB) in a new radio (NR) system (also referred to as an NR system), or may also include a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (Cloud RAN) system, a satellite, a drone, a balloon or an aircraft, etc., and the embodiments of the present application are not limited.

[0111] In the embodiments of the present application, the device for implementing the function of the terminal device can be the terminal device; it can also be a device that can support the terminal device to implement the function, such as a chip system. The device can be installed in the terminal device or used in conjunction with the terminal device. In the embodiments of the present application, the chip system can be composed of a chip or include a chip and other discrete devices.

[0112] In the embodiment of the present application, the device for realizing the function of the network device can be a network device; or it can be a device that can support the network device to realize the function, such as a chip system. The device can be installed in the network device or used in conjunction with the network device. The embodiment of the present application can be applied to the fifth generation mobile communication technology (5 th The embodiments of the present application can also be applied to narrowband Internet of Things (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), long term evolution (LTE), and the three major application scenarios of the next generation 5G mobile communication system: enhanced mobile broadband (eMBB), ultra reliable low latency communication (URLLC), and enhanced machine type communication (LTE enhanced MTO, eMTC).

[0113] The embodiments of the present application can be applied to both the transmitting end and the receiving end. The transmitting end can be the aforementioned network device or terminal device. Similarly, the receiving end can be the aforementioned network device or terminal device. Referring to Figure 2, the transmitting end can perform source coding on the signal source, then perform channel coding, modulate the signal, and transmit it to the receiving end. The receiving end can demodulate the received signal and perform channel decoding and source recovery to obtain the signal destination. The embodiments of the present application can be applied to the signal source coding, channel coding, channel decoding, or source recovery stages.

[0114] Low-density parity-check (LDPC) code is a channel coding scheme that is very close to the Shannon line and has the characteristics of good performance and low complexity. It has been adopted by the Third Generation Partnership Project (3GPP) rd generation partnership project (3GPP) has been identified as the 5G data channel coding scheme.

[0115] LDPC codes are encoded using a generator matrix. The mainstream LDPC codes have a quasi-cyclic (QC) structure. By setting the translation amount for each block, bad structures such as short loops are avoided, thereby improving the code distance. Currently, the main decoding algorithms for LDPC codes are the minimum sum (MS) algorithm and the belief propagation (BP) algorithm. The BP algorithm is better in terms of decoding performance, but it requires a large amount of information storage. c→v The calculation method is complex and not conducive to hardware implementation, so the minimum sum offset (offset-MS) algorithm and the normalized minimum sum (normalized-MS) algorithm are currently used in actual communication systems.

[0116] As shown in Figure 3, the core bits of an LDPC code are the bits corresponding to the information columns and core parity columns of the base matrix, while the extended bits are the bits corresponding to the extended parity bits (raptor-like nodes) of the base matrix. The ultimate goal of decoding is to recover the information bits.

[0117] Currently, in communication systems, a transmitter can send information to a receiver, which then responds with an acknowledgment (ACK) or non-acknowledgment (NACK) based on the decoding result. Specifically, the receiver only responds with a single bit of information, indicating whether the decoding was successful. For example, the receiver can indicate a decoding failure by sending a NACK to the transmitter. Alternatively, the receiver can indicate a decoding success by sending an ACK to the transmitter.

[0118] When the sender receives an ACK message, it stops sending information and considers that the receiver has successfully decoded and completed the communication. When the sender receives a NACK message, there are two common ways:

[0119] ① Retransmitting the previous data packet, also known as simple retransmission (chase combining). The receiving end can decode the retransmitted data packet.

[0120] ② By constructing a nested long code, the initially transmitted code is used as a nested subcode of the long code. This method is called incremental redundancy. The receiver can combine the two received data and re-decode them. For LDPC codes, the currently best-performing baseline scheme is the incremental redundancy-hybrid automatic repeat request (IR-HARQ) scheme.

[0121] In IR-HARQ, each retransmitted data packet is called a redundancy version (RVx), where x is a count of 0, 1, 2, 3, ... .

[0122] In one embodiment, the coding side actions of the 5G new radio (NR) LDPC code include the steps of encoding, filtering bits, and sending bits. The information bits are directly placed in a circular buffer after encoding, and bits of corresponding length are sent sequentially according to the starting position of each RV. There are four RVs in the 5G NR LDPC code, which are assumed to be RV0, RV1, RV2, and RV3 respectively. During communication, the transmitter sends in the order of RV0, RV2, RV1, and RV3. In one possible scenario, the transmission positions of RV0, RV2, RV1, and RV3 correspond to the positions on the basis matrix of the LDPC code as shown in Figure 4.

[0123] If the transmission length reaches the number of bits corresponding to the total number of columns in the basis matrix, the loop returns to the first transmission position corresponding to the basis matrix. Therefore, only RV0 will contain the core bits. RV1, RV2, and RV3 require longer code lengths. That is, when the loop returns to the first transmission position (called repetition), RV1, RV2, and RV3 will contain the core bits. If RV0 is lost, the retransmitted packets cannot be guaranteed to be self-decoded.

[0124] In another embodiment, referring to FIG5 , the coding side operations of the 5G NR LDPC code mainly include processes such as encoding, bit reordering, bit filtering, and bit transmission. This process may include the following four steps.

[0125] S1: After the information bits are encoded, the order of the parts corresponding to RV0 is not changed.

[0126] S2: Reorder the other bits. The ordering can be done by random interleaving or row-column interleaving.

[0127] S3: After sorting is completed, the bits are placed in the circular buffer and then sent in the order in the circular buffer.

[0128] S4: Sorting can also be done when taking bits out of the circular buffer, that is, before sending the bits.

[0129] However, in this scheme, the self-decoding capabilities of RVx, except for RV0, are unstable. RVx may contain a sufficient number of core bits, but their positions are random. Furthermore, the bit-level interleaving and deinterleaving in this scheme increases hardware complexity and module latency.

[0130] In view of this, an embodiment of the present application provides an encoding and decoding method. In this method, the transmitting end can divide the check matrix of the LDPC code into regions such as submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. The transmitting end can obtain a first redundant version of the data from the buffer. The first redundant version can correspond to the first column set in the submatrix D in the check matrix of the LDPC code. Therefore, the position and number of core bits contained in the first redundant version are determined, thereby ensuring that RVx has self-decoding capability. And since no interleaving and deinterleaving operations are required, the hardware complexity is reduced, and the module delay is reduced.

[0131] Referring to Figure 6, in an embodiment of the present application, the check matrix of the LDPC code can be divided into 5 regions. Among them, the check matrix of the LDPC code is an X×Y matrix. Among them, submatrix A is the 1st to x1th rows and 1st to y1th columns of the check matrix of the LDPC code, submatrix B is the 1st to x1th rows and y1+1th to y2th columns of the check matrix of the LDPC code, submatrix C is the 1st to x1th rows and y2+1th to Yth columns of the check matrix of the LDPC code, submatrix D is the x1+1th to Xth rows and 1st to y2th columns of the check matrix of the LDPC code, and submatrix E is the x1+1th to Xth rows and y2+1th to Yth columns of the check matrix of the LDPC code, 1≤x1≤X, 1≤y1≤y2≤Y. Among them, x1, X, y1, y2, and Y are all integers.

[0132] In the embodiment of the present application, “≤” can be understood as less than or equal to. Similarly, in the embodiment of the present application, “≥” can be understood as greater than or equal to.

[0133] Among them, submatrix A and submatrix B constitute the high-rate LDPC code portion and are basically unrelated to IR-HARQ. Only in extremely low-rate repetitions will the data corresponding to the columns of submatrix A and submatrix B be retransmitted. Therefore, the retransmitted data contains a large number of core bits and can be self-decoded. However, the area of ​​submatrix A and submatrix B is very dense, so the self-decoding capability of the data corresponding to the columns of submatrix A and submatrix B is very low. Under normal circumstances, the data corresponding to the columns of submatrix A can only be guaranteed to recover the last core bit using the core part check equation when the number of core bits recovered by the expansion equation is the total number of core bits - 1.

[0134] Submatrix C is an all-zero matrix. Submatrix E is a single diagonal quasi-cyclic (raptor-like) structure supporting IR-HARQ, or a lower triangular structure. Submatrix E does not contain any core bits and does not involve self-decoding issues.

[0135] In the embodiment of the present application, the sub-matrix D is partially designed to improve the self-decoding capability of the redundant version. In the embodiment of the present application, the sub-matrix D may include one or more upper triangular matrices, or include one or more lower triangular matrices. For example, the sub-matrix D may include an upper triangular matrix, or the sub-matrix D may include a lower triangular matrix. For another example, the sub-matrix D may include multiple upper triangular matrices, or the sub-matrix D may include multiple lower triangular matrices. For another example, the sub-matrix D may include an upper triangular matrix and a lower triangular matrix, or the sub-matrix D may include an upper triangular matrix and multiple lower triangular matrices, or the sub-matrix D may include multiple upper triangular matrices and a lower triangular matrix, or the sub-matrix D may include multiple upper triangular matrices and multiple lower triangular matrices, which are not specifically limited in this application.

[0136] Optionally, the upper triangular matrix or the lower triangular matrix mentioned in the embodiments of the present application may be a matrix larger than 2×2.

[0137] It is understandable that the check matrix of the above-mentioned LDPC code can be a base matrix of the LDPC code or a complete check matrix of the LDPC code, and this application does not make any specific limitation.

[0138] The following example introduces the role of the extreme value graph. Referring to Figure 7, assume that information bits are: x1, x2, x3, core check bits are: x4, extended check bits are: x5, ..., x 10 The verification equation in Example 1 is:

[0139] Core part verification equation: x1+x2+x3+x4=0

[0140] Expanded verification equations: x1+x3+x5=0 x2+x4+x6=0 x2+x3+x4+x7=0

[0141] When the initial transmission is lost and interference is severe, and the receiver only has RV1 information, the valid LLR values ​​are LLR1, LLR5, LLR6, and LLR7. The LDPC minimum sum algorithm fails when each check equation has two invalid LLRs (punctured nodes). Therefore, only x3 can be recovered, but x2 and x4 cannot be recovered.

[0142] If the optimization verification equation is in the form of Example 2 below:

[0143] Core part verification equation: x1+x2+x3+x4=0

[0144] Expanded verification equations: c1: x2+x3+x4+x5=0 c2: x1+x3+x6=0 c3: x1+x2+x7=0

[0145] The valid LLR values ​​LLR1, LLR5, LLR6, and LLR7 are decoded according to the scheduling order c3, c2, and c1. Each check equation contains only one invalid LLR (punctured node) and can be self-decoded.

[0146] In Example 2, even without check equation c1, since the receiver has x1 and can recover x2 and x3 using check equations c2 and c3, only one core bit x4 is unknown, which can be recovered using the core check equation.

[0147] It is understandable that x in Examples 1 and 2 i , such as x1, x2 or x3 can represent a single bit, or a grouping in a QC structure, such as a column corresponding to a QC block is a group, and this group is represented by x i To indicate that there is no distinction within the group, no further details will be given below.

[0148] As can be seen, Examples 1 and 2 have the same number of core bits, but differ in their self-decoding capabilities. Example 1 cannot achieve self-decoding, while Example 2 can. Therefore, the challenge is to design a matrix that can contain as few core bits as possible while still enabling self-decoding.

[0149] Below, we present some basic concepts of extremal graph theory, which studies how global properties of a graph influence its local substructure. Problems in extremal graph theory can often be formulated as optimization problems: given certain constraints that the graph must satisfy, how large or small can the graph's parameters be? The graph that optimally solves this optimization problem is called an extremal graph, and extremal graphs are the subject of study in extremal graph theory.

[0150] The minimum sum algorithm of LDPC mainly involves the information interaction between the variable v and the check node c. Let the channel LLR value of the variable node v be LLR v The main iterative formula is:

[0151] 1. Initialization

[0152] 2. The first round of iteration variables pass information to the verification

[0153] 3. The first round of iterative verification transfers information to the variable

[0154] Where N represents the set of neighboring points.

[0155] When the channel information of variable node v is lost, its LLR v = 0, the variable node v is considered as a punctured variable. When there are at least two punctured variables in the neighboring nodes of the check node c, at least two punctured variables are called a set V, then for all v∈N(c), We call c not a recovery check of V, that is, in the first round of iteration, the information sent by the check equation c to all associated variable nodes v is 0.

[0156] If there exists a set V of punched variable nodes such that for v∈V, any check node c∈N(v), there is a recovery check for c that is not v, then This holds true for l ≥ 0, meaning that v cannot be decoded regardless of the number of iterations.

[0157] By optimizing the graph structure corresponding to retransmitted packets RV1, RV2, etc., the number of core bits contained in the retransmitted packets is minimized while ensuring the self-decoding capability. The graph with this minimization property is called a self-decoding extreme graph.

[0158] Hereinafter, the check equation corresponding to the quasi-cyclic node R(T) contained in RVx is referred to as N(R(T)). The core function of the self-decoding polar graph is to enable each check equation to recover a punctured bit, that is, for all available check equations c1, c2, ..., c |R(T)| Arrange in a certain order c p(1) , c p(2) ,...,cp(|R(T)|) , where p is a permutation of length |R(T)| such that:

[0159] 1. N(c p(1) ) has exactly one punch variable node.

[0160] 2. and where v q(i+1) is a punched variable node, q is a permutation of the punched node, and for any j1≠j2, That is, after sorting the available check equations, the serial number i goes from small to large, and each row contains only one punctured core bit that has not appeared before, that is, it is not in ∪ 1≤j≤i N(c p(j) ) in the punch node v q(i+1) .

[0161] Refer to Figure 8, which shows a schematic diagram of the extreme value graph after the calibration equation has been adjusted. Figure 8 shows submatrix A (rows 1-4, columns 1-10), submatrix B (rows 1-4, columns 11-14), submatrix C (rows 1-4, columns greater than 14), and part of submatrix D (greater than 4 rows, columns 1-14), and part of submatrix E (greater than 4 rows, columns greater than 14).

[0162] The rows of submatrix D and submatrix E are sorted according to the order of the check equations, and are sorted as ① to ⑤. It can be seen that as the index increases, one previously unused punctured core bit (bit 1 of submatrix E) is added. Bit 1 of submatrix E in Figure 8 represents a position that must be included in the extremum map designed in the embodiments of this application.

[0163] It can be understood that, as shown in the extreme value diagram of Figure 8, blank positions indicate positions where there will definitely be no edges, and the remaining positions indicate positions where there may or may not be edges. In this embodiment of the present application, the position (i, j) corresponding to bit 1 in the submatrix D is called the bit to be recovered for check i, where variable j is the check bit. It can be seen that each check equation containing an extended node has one and only one core bit to be recovered (CBR).

[0164] Since the extreme value graph provided by the embodiment of the present application has a ladder-type structure as shown in Figure 8 after the order is changed by row scheduling. That is to say, in the extreme value graph provided by the embodiment of the present application, the submatrix D may include an upper triangular matrix (as shown in Figure 8), or the submatrix D may include a lower triangular structure. Among them, the diagonal of the upper triangular matrix or the lower triangular matrix is ​​a non-zero element, such as 1. For example, the distance between the elements on the diagonal of the submatrix E in the same row and the elements on the diagonal of the submatrix D increases as the size of the row increases (as shown in Figure 8). For another example, the distance between the elements on the diagonal of the submatrix D and the elements in the first column of the submatrix D in the same row increases as the size of the row increases.

[0165] In the embodiment of the present application, the extreme value graph containing the above-mentioned submatrix D is described as the basic form, and the other row transformation forms are not described in detail. The extreme value graph structure generated by elementary row transformation is also within the protection scope of the embodiment of the present application.

[0166] In a possible implementation, the embodiment of the present application can nest the above-mentioned ladder-type structure to obtain the check matrix of the LDPC code of the embodiment of the present application. In the check matrix of the LDPC code, the submatrix D includes submatrix D1', submatrix D2'...submatrix DN', and N is an integer greater than or equal to 1. Among them, the submatrix Dw' includes the x1+Mth submatrix of the submatrix D. w +1~x1+M w+1 row. w is an integer from 1 to N, M w Less than M w+1 9 , which shows a schematic diagram of a check matrix for an LDPC code. When the submatrix D only includes the submatrix D1′, that is, when the submatrix D is the submatrix D1′, the check matrix for the LDPC code may be as shown in FIG8 .

[0167] In Figure 9, submatrix D may include submatrix D1' and submatrix D2'. Submatrix D1' may include an upper triangular matrix or a lower triangular matrix. Similarly, submatrix D2' may include an upper triangular matrix. In Figure 9, a shows a parity check matrix of an LDPC code in which submatrix D1' includes an upper triangular matrix and submatrix D2' includes a lower triangular matrix. In Figure 9, b shows a parity check matrix of an LDPC code in which submatrix D1' includes an upper triangular matrix and submatrix D2' includes an upper triangular matrix. Assume that submatrix D includes the 5th to 26th rows of the parity check matrix of the LDPC code. Submatrix D1' may include the 5th to 15th rows of submatrix D, and submatrix D2' may include the 16th to 26th rows of submatrix D.

[0168] It is understandable that FIG9 uses the example of nesting two ladder-type structures in the extreme value graph for illustration. In the embodiment of the present application, three, four or more ladder-type structures can also be nested in the extreme value graph, that is, the submatrix D in the embodiment of the present application can also include submatrix D3', submatrix D4' and even submatrix DN', which is not specifically limited in the present application. Since the minimum code rate supported by the check matrix of the LDPC code may be relatively low, and it is necessary to support the retransmission mechanism of different RVs, the check matrix of the LDPC code nests multiple ladder-type structures to support the retransmission mechanism of different RVs and can meet the requirements of different code rates.

[0169] In another possible implementation, the embodiment of the present application may divide the submatrix DN' into regions. Submatrix Dw' includes submatrix Dw,2, submatrix Dw,1, and submatrix Dw,3. Submatrix Dw,2 includes the second column set of submatrix Dw', submatrix Dw,1 includes the third column set of submatrix Dw', submatrix Dw,1 is an upper triangular matrix or a lower triangular matrix, and the elements on the diagonal of submatrix Dw,1 are non-zero elements. Submatrix Dw,3 includes the fourth column set of submatrix Dw', and submatrix Dw,3 is an all-zero matrix. It is understandable that the second column set, the third column set, and the fourth column set do not overlap.

[0170] Hereinafter, the region of the sub-matrix DN′ will be described through Example 1 and Example 2.

[0171] Example 1: Submatrix D1′ is submatrix D.

[0172] In Example 1, the submatrix D may include a ladder-type structure, as shown in FIG10 . In FIG10 , the rows of submatrix A and submatrix B are {1, …, m0}, and the columns of submatrix A and submatrix B are {1, …, n0}. The rows of submatrix D are {m0+1, …, m1}. Then the partitioning of submatrix D1, submatrix D2, and submatrix D3 is to partition the columns of submatrix D, and set the column set of submatrix D1 to N1, the column set of submatrix D2 to N2, and the column set of submatrix D3 to be, that is, for i≠j, N1∪N2∪N3={1,...,n0}.

[0173] For example, assume that submatrix D includes rows 5 to 15 and columns 1 to 12 of the parity check matrix of an LDPC code. Submatrix D1 can include columns 1 to 2 of submatrix D. Submatrix D2 can include columns 3 to 11 of submatrix D. Submatrix D3 can include column 12 of submatrix D. In other words, the second column set includes columns 3 to 11, the third column set includes column 12, and the fourth column set includes columns 1 to 2.

[0174] Submatrix D1 is a square matrix with equal number of rows and columns. Diagonal edges must be connected and all are CBR. Submatrix D1 is either an upper triangular matrix or a lower triangular matrix. That is, all elements in submatrix D1 except the upper or lower triangular elements are zero.

[0175] The column set N2 corresponding to submatrix D2 is characterized in that, in packets RVx requiring self-decoding, the variable nodes corresponding to N2 are core bits that must be transmitted. In one possible scenario, submatrix D2 may include the columns with the largest column weight in the parity check matrix of the LDPC code. Optionally, the columns corresponding to each Dw,2 are uniform, such as the columns corresponding to D1,2 and D2,2 are the same.

[0176] The column set N3 corresponding to submatrix D3 is characterized by the following characteristics: in packets RVx requiring self-decoding, the variable nodes corresponding to N3 are core bits that are definitely not transmitted, except in cases where the transmission position returns to the starting position due to repetition and is sent sequentially. In other words, the variable nodes corresponding to submatrix D3 are the core bits that submatrix A and submatrix B recover.

[0177] In one possible scenario, regarding the region partitioning of submatrix D, submatrix D must include submatrix D1. Optionally, submatrix D may include one or more of submatrix D2 and submatrix D3.

[0178] Among them, when sub-matrix D must include sub-matrix D1, the ability to self-decode can be achieved based on only a small number of core bits, and the self-decoding and IR-HARQ performance can be flexibly balanced. When sub-matrix D does not include sub-matrix D2, the advantage of this situation is that RVx can not contain any core bits but still have self-decoding capabilities. In this case, the IR-HARQ performance is extremely good. When sub-matrix D includes sub-matrix D2, since the columns included in sub-matrix D2 are large column-heavy parts (punctured columns), the advantage of this situation is that sub-matrix D can retain the large column-heavy structure, further ensuring the initial transmission performance.

[0179] When submatrix D includes submatrix D3, submatrix D3 has no edges. The advantage of this situation is that the core check equation can be used to recover the core bits corresponding to submatrix D3, and the self-decoding capability is stronger than that without submatrix D3. However, since submatrix D3 must be guaranteed to have no edges, the design space of submatrix D3 is limited. Therefore, submatrix D3 often corresponds to the last information column, that is, the information column that may be shortened due to rate matching, or the column where the core check bits are located for which the bit error rate is not strictly required.

[0180] When submatrix D does not contain submatrix D3, the degree distribution design is more flexible and the design space of submatrix D is larger to ensure the initial transmission performance.

[0181] It can be understood that the submatrix D in the check matrix of the LDPC code may be obtained by row and column transformation of submatrix D1, submatrix D2 and submatrix D3. The embodiment of the present application restricts the rows and columns contained in submatrix D1, submatrix D2 and submatrix D3. The equivalent matrix forms obtained by elementary matrix transformation are all within the protection scope of the embodiment of the present application.

[0182] Example 2: Submatrix D includes submatrix D1' and submatrix D2'.

[0183] In submatrix D1', submatrix D1' can be divided into regions according to the method of Example 1. Submatrix D1' can include submatrix D1,1', submatrix D1,2', and submatrix D1,3'. Similarly, in submatrix D1', submatrix D2' can be divided into regions according to the method of Example 1. Submatrix D2' can include submatrix D2,1', submatrix D2,2', and submatrix D2,3'.

[0184] Referring to Figure 11, a schematic diagram of a parity check matrix for an LDPC code is shown. Figure 11 illustrates a submatrix D nested within two ladder-type structures. In Figure 11, submatrix D may comprise h rows and h columns, and the diagonal direction of submatrix D may be from (1, 1) to (h, h) or from (h, 1) to (1, h).

[0185] The extreme value diagrams of multiple ladder-type structures often correspond to different RVx. The submatrix D is divided with the ladder-type structure as the boundary, and different RVx sending starting points are set as the expansion nodes corresponding to the first check equation of each block.

[0186] Different RVx may require different self-decoding capabilities. For example, in general, packets are sent in the order of RV0, RV2, RV1, and RV3. RV2 requires stronger self-decoding capabilities, while RV1 only requires the most basic self-decoding capabilities. RV1's self-decoding properties are only used when packets from both RV0 and RV2 are lost. Therefore, the size and position of different blocks of submatrix D, such as submatrix D1' and submatrix D2', can be the same or different.

[0187] If the area scales and locations of these different blocks are different, the columns contained in the sub-matrix D1,2' may be the same as the columns contained in the sub-matrix D2,3'. In this way, the degree distribution design has more space, which helps to ensure the performance of the initial transmission at low bit rates. For x, y>0, the performance will be better in the case of RVx+RVy superposition decoding.

[0188] If the regional locations and sizes of these different blocks are identical, and the RVx lengths are the same, the self-decoding capabilities of different packets are more stable, and the minimum self-decoding transmission length is the same. Another benefit of the overlapping columns in submatrices D1,2' and D2,2' is that they are compatible with the punctured large column structure of NR LDPC codes, ensuring better initial transmission performance.

[0189] It is understood that FIG11 shows that submatrix D includes submatrix D1' and submatrix D2' as an example for illustration. In the embodiment of the present application, submatrix D may include submatrix D1', submatrix D2'...submatrix DN'. In the embodiment of the present application, each submatrix DN' may be divided into regions according to the method of Example 1.

[0190] Through the above examples 1 and 2, the regions of the submatrix D are introduced. In a possible implementation, the embodiment of the present application can also divide E into regions. The submatrix E can include submatrix E1, submatrix E2...submatrix EN. Among them, the submatrix Ew includes the submatrix x1+M w +1~x1+M w +1 row, that is, the submatrix Ew corresponds to the submatrix Dw, such as Dw,2.

[0191] Referring to Figure 9 , submatrix D includes submatrix D1' and submatrix D2'. Similarly, submatrix E includes submatrix E1' and submatrix E2'. Submatrix E1' contains the same rows as submatrix D1' but different columns, meaning submatrix E1' corresponds to submatrix D1'. Similarly, submatrix E2' contains the same rows as submatrix D2' but different columns, meaning submatrix E2' corresponds to submatrix D2'.

[0192] The parity check matrix of LDPC codes has been introduced above. Below, an encoding and decoding method provided by an embodiment of the present application is described using FIG12 . Referring to FIG12 , an exemplary flow chart of an encoding and decoding method provided by an embodiment of the present application is shown, which may include the following operations.

[0193] S1201: The sending end obtains a first redundant version of data from a buffer.

[0194] The transmitting end may encode the first data based on a check matrix of an LDPC code to obtain the second data. The transmitting end may place the second data into a buffer. The transmitting end may determine the first redundancy version from the buffer. Optionally, the buffer may be a circular buffer.

[0195] In one possible scenario, the transmitter may encode the first data based on the check matrix of the LDPC code during initial transmission and place the second data into a buffer. During retransmission, the transmitter may obtain a redundant version of the data from the buffer. The first redundant version in S1201 may be the initially transmitted redundant version, such as RV0, or the retransmitted redundant version, such as RV1.

[0196] In the embodiment of the present application, the buffer stores data corresponding to a parity check matrix of an LDPC code. For example, the buffer may store data corresponding to a submatrix D of an LDPC code, such as data corresponding to columns of submatrix Dw,2, data corresponding to columns of submatrix Dw,1, and / or data corresponding to columns of submatrix Dw,3.

[0197] It is understandable that the column weight of the sub-matrix Dw,2 is relatively large, so the data corresponding to the columns of the sub-matrix Dw,2 may be punctured. In the embodiment of the present application, the buffer stores punctured data.

[0198] S1202: The sending end sends a first redundancy version.

[0199] Correspondingly, the receiving end receives the first redundancy version.

[0200] The first redundant version may include data corresponding to columns of submatrix D. For example, the first redundant version may include data corresponding to columns of submatrix Dw,2. For another example, the first redundant version may include data corresponding to columns of submatrix Dw,1. In one possible scenario, the first redundant version does not include data corresponding to columns of submatrix Dw,3.

[0201] In one example, if the first redundant version is used for retransmission, the first redundant version includes data corresponding to the columns of the submatrix Dw,2. If the first redundant version is used for initial transmission, the first redundant version may not include data corresponding to the columns of the submatrix Dw,2.

[0202] The following describes the bits included in the first redundancy version.

[0203] In one possible implementation, the first redundancy version may include data corresponding to columns of submatrix Dy,1. The data corresponding to columns of submatrix Dy,1 may be a subset of data corresponding to columns of submatrix Dw,1. For example, submatrix Dy,1 is a t×U matrix, where U is the number of columns of submatrix Dw,1. t may be determined based on the code rate and the type of channel carrying the first redundancy version, and t is greater than or equal to 1. The type of channel may be determined based on the type of information transmitted by the channel. For example, the channel type may include a broadcast channel, a data channel, a control channel, etc. For another example, based on the direction of data transmitted by the channel, the channel type may include an uplink data channel, a downlink data channel, an uplink control channel, and a downlink control channel. It will be understood that a data channel may also be referred to as a shared channel (SCH). Optionally, t may be determined based on communication requirements. For example, t may be determined based on IR-HARQ performance.

[0204] In one example, the submatrix Dy,1 can be a square matrix, that is, t = U. Optionally, the rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns of the submatrix Dw,1, or the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1, as shown in the left figure of FIG13A. The rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1, or the rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns from the end of the submatrix Dw,1, as shown in the right figure of FIG13A.

[0205] In one possible scenario, the first redundant version in the embodiment of the present application may also include data corresponding to columns of the submatrix Ex. In the embodiment of the present application, the submatrix E may be partitioned. For example, the submatrix E includes submatrix E1, submatrix E2, ..., submatrix EN. Among them, the submatrix Ew includes the x1+Mth column of the submatrix E. w +1~x1+M w+1 row and x1+M w +1~x1+M w+1 The columns corresponding to the rows. The submatrix Ew corresponds to the submatrix Dw', and the submatrix Ew is a square matrix. When the first redundant version in the embodiment of the present application is used for retransmission, it can also include data corresponding to the columns of the submatrix Dy,1 and data corresponding to the columns of the submatrix Ex. Among them, the submatrix Ex is a submatrix of the submatrix Ew, and Ex includes the submatrix Ez, which is a matrix of (Ut)×(Ut).

[0206] It should be noted that submatrix Dy,1 and submatrix Ex may correspond to each other, and the intersection of the rows included in Ez and the rows included in Dy,1 is empty. Optionally, submatrix Ez may be submatrix Ex. Optionally, submatrix Ex may be submatrix Ew.

[0207] Since the submatrix Ex corresponds to the submatrix Dy,1, in the embodiment of the present application, the rows of the submatrix Ez are the 1st to tth columns of the submatrix Ew, the columns of the submatrix Ez are the 1st to tth columns of the submatrix Ew, the rows of the submatrix Ez are the reciprocal 1st to tth columns of the submatrix Ew, and the columns of the submatrix Ez are the reciprocal 1st to tth columns of the submatrix Ew, as shown in Figure 13B.

[0208] 13C shows an example of bits included in the first redundancy version. In the embodiment shown in FIG13C, RV0 is sent sequentially from the starting position, and FIG13C shows the relationship between some extended nodes and corresponding core bits included in RVx (x>1).

[0209] In Figure 13C , assuming RVx contains 13 bits, RVx may include data corresponding to the columns of submatrix Dw,1 and submatrix Dw,2, but not data corresponding to the columns of submatrix Dw,3. RVx also includes data corresponding to the columns of submatrix E. It can be understood that the data corresponding to the columns of submatrix E correspond to the data corresponding to the columns of submatrix Dw,1, or in other words, the extended bits corresponding to the columns of submatrix E correspond to the core bits corresponding to the columns of submatrix Dw,1.

[0210] In a of Figure 13C , RVx contains 13 bits, including 12 core bits. These 12 core bits contain data corresponding to the columns of submatrices Dw,1 and Dw,2. RVx may also contain one extension bit, which contains data corresponding to the column of submatrix E. The extension bits correspond to the core bits.

[0211] In FIG13C (b), RVx contains 13 bits, of which 11 are core bits. These 11 core bits correspond to the data in the columns of submatrices Dw,1 and Dw,2. RVx may also contain 2 extension bits, which correspond to the data in the columns of submatrix E. The extension bits correspond to the core bits.

[0212] In c of Figure 13C , RVx contains 13 bits, including 10 core bits. These 10 core bits contain data corresponding to the columns of submatrices Dw,1 and Dw,2. RVx may also contain 3 extension bits, which contain data corresponding to the columns of submatrix E. The extension bits correspond to the core bits.

[0213] In the three schemes a, b, and c shown in Figure 13C, RVx all contains 13 bits, that is, the transmission length is the same, and all can achieve self-decoding. In terms of self-decoding performance, it gradually weakens from a to c. IR-HARQ performance gradually improves from a to c. RVx contains 13 bits. This length is the minimum transmission length that can achieve self-decoding. If the transmission length is less than this length, it is impossible to have self-decoding capability. If the transmission length is greater than this length, the self-decoding performance or IR-HARQ performance can be improved while achieving self-decoding capability. Since the core parity bits corresponding to submatrix A and submatrix B can only stably guarantee the recovery of one core bit, in this case, the minimum self-decoding RVx length is the number of core bits minus 1.

[0214] As shown in Figure 13C , the length of RVx that requires self-decoding must be greater than or equal to the minimum length for self-decoding, and must include the core bits corresponding to submatrix Dw,2 and must not include the bits corresponding to submatrix Dw,3. The bits corresponding to submatrix Dw,1 can be flexibly adapted.

[0215] For example, let's use submatrix Dw,1 in Figure 13C as an example. Assume that submatrix Dw,1 is a square matrix with h rows and h columns. If the length of RVx equals the minimum self-decoding length, then for i∈{0, 1, …, h}, RVx includes the extended bits corresponding to the parity check equations in rows 1 through ith of Dw,1 and the variable nodes corresponding to columns 1 through hi of submatrix Dw,1. As i increases, IR-HARQ performance gradually improves, and self-decoding capabilities are flexibly adapted by changing i. Specifically, for i = 0, RVx contains all core bits and no extended parity bits. If the length of RVx exceeds the minimum self-decoding length, then, under a transmission mode equal to the minimum self-decoding length, additional resources are allocated for core bits and extended parity bits based on the scenario's requirements for IR-HARQ and self-decoding capabilities.

[0216] If the submatrix Dw,1 is a lower triangular matrix, IR-HARQ performance gradually improves as i decreases, and the self-decoding capability can be flexibly adapted by changing i. In particular, for the case i = h, RVx contains all core bits and no extended parity bits.

[0217] In one possible implementation, the check matrix of the LDPC code in the embodiment of the present application can be determined based on a sequence and a second check matrix. The sequence can be used to indicate the edge relationship of the second check matrix. For example, the transmitting end can obtain the sequence and the second check matrix, and the transmitting end can delete the edge relationship indicated by the sequence in the second check matrix, thereby obtaining the check matrix for the LDPC code used for encoding. For another example, the transmitting end can obtain the sequence and the second check matrix. The transmitting end can use the edge relationship indicated by the sequence in the second check matrix as the check matrix for the LDPC code used for encoding.

[0218] It is understood that in the embodiments of the present application, the second check matrix can be determined by the transmitting end, indicated by the receiving end, pre-configured, or pre-defined by the protocol, and this application does not make any specific restrictions. Similarly, the sequence can be determined by the transmitting end, indicated by the receiving end, pre-configured, or pre-defined by the protocol, and this application does not make any specific restrictions.

[0219] Referring to Figure 14A , a sequence can indicate a subset of the edge relationships in the second parity check matrix. Instead of using all the edges in the second parity check matrix for encoding in submatrix D, a subset of the edge relationships indicated by the sequence is used as the edge relationships, and the shifting value of the subset of edge relationships is used for encoding accordingly. Assume that the sequence to be deleted in Figure 14A is the edge relationship marked by the black rectangle.

[0220] In Figure 14A, some edge relationships are deleted to improve self-decoding capabilities. If RVx contains the core bits corresponding to columns 1, 2, and 3, it has a ladder-like structure. Each extended check equation has the characteristic of recovering a variable node. After row and column transformations, it can correspond to a ladder-like self-decoding pole graph, as shown in Figure 14B. The order of this transformation is the decoding scheduling order. This decoding scheduling order can be predefined by the protocol or preconfigured.

[0221] The corresponding quasi-cyclic node transmission order must be changed to match the scheduling order. For example, in Figure 14B, the quasi-cyclic node corresponding to column 22 should be sent first compared to the quasi-cyclic node corresponding to column 21. The quasi-cyclic node transmission order is at the QC level, not the bit level. The quasi-cyclic node transmission order can be predefined by the protocol or preconfigured.

[0222] Optionally, the transmitting end may have a QC-level interleaver, which may be located before or after the buffer.

[0223] As shown in Figures 14A and 14B, the check matrix list corresponding to the subset G = (V, E) of the edge relationship indicated by the sequence stores all the edge relationships E, and an additional indication sequence θ is added, with a sequence length of |θ| = |E|, where θ(i) is the indication value corresponding to the i-th edge, and θ(i)∈{0,1} respectively indicates whether to delete the edge or connect the edge. According to the requirements of the application scenario for self-decoding, whether to use the edge in the BG for encoding is determined according to θ(i). Not using this edge includes: skipping the encoding of this position in the encoding matrix, not including this position and the corresponding movement value in the relative check matrix, and not including this position in the decoding at the receiving end.

[0224] As shown in Figures 14A and 14B, in the LDPC parity check matrix table, submatrix Dw stores the edge relationships and corresponding shift values ​​used in the self-decoding scenario. In this embodiment, a table is added to indicate additional positions and shift values. In this embodiment, specified conditions for using these positions and corresponding shift values ​​can also be added, such as requirements for self-decoding capability and performance. If the application scenario falls within the specified conditions, the encoding matrix and parity check matrix are constructed using the edge relationships and shift values ​​corresponding to the table storing the parity check matrix. If it falls outside these specified conditions, the encoding matrix and parity check data are constructed using the table storing the parity check matrix and the additional positions and corresponding shift values. Conversely, if the application scenario falls outside these specified conditions, the encoding matrix and parity check matrix are constructed using the edge relationships and shift values ​​corresponding to the table storing the parity check matrix. If it falls within these specified conditions, the encoding matrix and parity check data are constructed using the table storing the parity check matrix and the additional positions and corresponding shift values.

[0225] Position indicators can indicate a subset of edge relationships to use or a subset of edge relationships not to use. Position indicators can have multiple sequences, indicating edge relationships in scenarios with different application requirements such as self-decoding capabilities and performance. Position indicators can be attached to existing position storage columns, using special characters to indicate the position, or they can be additional sequences.

[0226] The above describes an encoding and decoding method provided by an embodiment of the present application. The above technical solution provided by the embodiment of the present application can be applied to a variety of application scenarios. The following describes application scenarios applicable to the embodiment of the present application through Figures 15 to 17.

[0227] Referring to Figure 15 , when the receiving end receives RV0, it may be lost or received normally. In this embodiment, the self-decoding requirement primarily occurs when RV0 is lost. In this case, due to the zero-rate scenario, the receiving end will not provide feedback. The transmitting end will simply continue to send the pre-set RVx. If RVx lacks self-decoding capabilities, retransmission is useless and decoding is impossible.

[0228] In the case of RV loss, the receiving end does not have the LLR value of the initially transmitted packet. In the case of severe RV0 fading, such as when receiving severe interference, the receiving end has the LLR value of the initially transmitted packet. However, the receiving end needs to use methods such as soft check and channel estimation to determine whether to discard the initially transmitted LLR value, thereby determining whether the LLR value of the subsequently received RVx overlaps with the LLR value of RV0. The embodiments of the present application do not limit the method by which the receiving end determines the degree of RV0 fading.

[0229] In Figure 15, the RVx sent by the transmitter may be the first redundant version shown in Figure 12. Since the first redundant version is obtained by encoding according to the aforementioned LDPC code check matrix, RVx has self-decoding capability.

[0230] Referring to Figure 16, when the receiving end receives RV0, RV0 may be lost or received normally. In the embodiment of the present application, the self-decoding requirement is mainly the case where RV0 is lost. At this time, the receiving end can send 1 bit of feedback information to indicate whether the decoding is successful. After the transmitting end receives the feedback information, it cannot distinguish whether it is a normal decoding failure or a decoding failure caused by the failure to receive RV0 or severe fading. Therefore, the transmitting end will only continue to send the pre-set Rvx. If RVx does not have the self-decoding capability, the retransmission will have no effect and the receiving end will not be able to decode.

[0231] In this scenario, if RV0 is not received, data and control may be transmitted separately during communication, so data packets may be lost. However, the control information is delivered correctly. The receiving end can also identify that the sending end has sent a data packet to it, so it can also feedback NACK.

[0232] In Figure 16, the RVx sent by the transmitter may be the first redundant version shown in Figure 12. Since the first redundant version is obtained by encoding according to the aforementioned LDPC code check matrix, RVx has self-decoding capability.

[0233] In the embodiment shown in FIG17 , 1 bit of feedback information is added to describe whether the receiving end has received RV0. Optionally, the added 1 bit of feedback information can also indicate whether RV0 can be used for subsequent superposition decoding. That is, in FIG17 , the feedback information can be 2 bits. The feedback information can indicate decoding success (ACK), decoding failure but RV0 is available (NACK), and decoding failure but RV0 is not available (NACK2).

[0234] The transmitter can retransmit based on the feedback information. The retransmission methods for ACK and NACK are consistent with those in Figures 15 and 17. NACK2 can be retransmitted by retransmitting RV0 or by retransmitting a self-decodable packet in the order of the bits previously placed in the buffer. The advantage of retransmitting RV0 is the strongest self-decoding capability. However, the disadvantage is that the bits must be sorted after being retrieved from the buffer, changing the transmission order. This requires an additional bit-level interleaver to implement this function.

[0235] In Figure 17, in the retransmission mode of NACK2, the self-decoding packet may be the first redundancy version shown in Figure 12. Since the first redundancy version is encoded according to the aforementioned LDPC code check matrix, RVx has self-decoding capability.

[0236] The above-mentioned encoding and decoding methods provided in the embodiments of the present application can ensure that the redundant version has self-decoding capabilities and can also improve the performance of IR-HARQ. The design of the check matrix of the LDPC code is shown in Figure 18. Three ladder-type structures are nested in Figure 18. Based on the structure of the self-decoding extreme value graph, sub-matrix D1,2' is designed. Sub-matrix D2,2' and sub-matrix D3,2' partially overlap, so there is a large column re-structure in the first two columns).

[0237] The parity check matrix of the LDPC code shown in Figure 18 achieves good RV0 performance and stable performance at all code rates, as shown in Figure 19. In Figure 19, the horizontal axis is the code rate, and the vertical axis is the signal-to-interference plus noise ratio (SNR) corresponding to a block error rate of 1e-2. It can be seen that the fine-grained performance is consistent with the NR LDPC performance.

[0238] Starting from the starting transmission position of RV1 (column 15), the minimum number of core bits required for it to have self-decoding capability is calculated, and the results are shown in Figure 20. The horizontal axis is the ID of the largest quasi-cyclic node sent sequentially, that is, the range of sending quasi-cyclic nodes is 15-ID, and the vertical axis is the minimum number of core bits required to have self-decoding capability. It can be seen that, except for the cases where the number of quasi-cyclic transmissions is very small and very large, the number of core bits required for the proposed scheme to maintain self-decoding capability is less than that of NR LDPC. In Figure 20, the straight line is the performance of RV0 obtained by encoding with the check matrix of the LDPC code shown in Figure 18, and the dotted circle line is the performance of RV0 obtained by encoding with NR LDPC.

[0239] There are several key points in Figures 20 and 21: In Figure 21, the straight line is the performance of RV0 obtained by encoding the check matrix of the LDPC code shown in Figure 18, and the dotted circle line is the performance of RV0 obtained by encoding through NR LDPC.

[0240] 1. The NR LDPC curve has a region where the number of core bits required for self-decoding remains constant as the number of transmission expansion nodes increases. However, the technical solution provided by the embodiment of the application does not have this type of region except for very long transmission lengths. This is due to the flexible self-decoding capability of the self-decoding pole graph.

[0241] 2. The two curves overlap when the number of extended nodes is small or large. This is because the transmission length is very long. Even without a polar graph structure, the large number of check equations allows self-decoding with a very low number of core bits. However, when the transmission length is very short, both require a large number of core bits for self-decoding.

[0242] 3. The number of core bits required for the technical solution provided in the embodiment of the present application decreases linearly with the number of quasi-cyclic nodes sent, and has some jump points. This is because when the number of available check equations increases to a certain extent, the core part of the check equations can have a certain self-decoding capability.

[0243] In the embodiment of the present application, the starting transmission position of RV2 has similar results to that of RV1, and the specific results are shown in Figure 22. In Figure 22, the dotted cross line is the IR-HARQ performance of RV0+RV1 obtained by encoding the check matrix of the LDPC code shown in Figure 18, the dotted circle line is the IR-HARQ performance of RV0+RV1 mentioned in the related art, and the dotted star line is the IR-HARQ performance of RV0+RV1 of NR LDPC. That is, when there is no loss in the initial transmission, the IR-HARQ performance of the RV0+RV1 joint decoding has a slight performance loss compared to the RV1 without self-decoding capability. On the basis of maintaining the self-decoding capability of RV1, the technical solution provided by the embodiment of the present application has better performance because it can have fewer core bits, which is better than the current NR LDPC solution of directly adding core bits in RV1.

[0244] The following describes the communication device used to implement the above method in the embodiment of the present application with reference to the accompanying drawings. Therefore, the above contents can be used in subsequent embodiments, and repeated contents will not be repeated.

[0245] Figure 23 is a schematic block diagram of a communication device 2300 provided in an embodiment of the present application. The communication device 2300 can implement the functions or steps implemented by the transmitting end or the receiving end in the above-mentioned various method embodiments. The communication device may include a processing unit 2310 and a transceiver unit 2320. Optionally, it may also include a storage unit, which can be used to store instructions (codes or programs) and / or data. The processing unit 2310 and the transceiver unit 2320 can be coupled with the storage unit. For example, the processing unit 2310 can read the instructions (codes or programs) and / or data in the storage unit to implement the corresponding method. The above-mentioned units can be set independently or partially or fully integrated.

[0246] In some possible implementations, the communication device 2300 can implement the behaviors and functions of the transmitting end in the above-mentioned method embodiments. For example, the communication device 2300 can be a transmitting end, or a component (such as a chip or circuit) used in the transmitting end. The transceiver unit 2320 can be used to perform all receiving or sending operations performed by the transmitting end in the embodiment shown in Figure 12. For example, S1202 in the embodiment shown in Figure 12, and / or other processes for supporting the technology described in this document; wherein the processing unit 2310 is used to perform all operations except the receiving and sending operations performed by the transmitting end in the embodiment shown in Figure 12. For example, S1201 in the embodiment shown in Figure 2, and / or other processes for supporting the technology described in this document.

[0247] For example, processing unit 2310 is configured to obtain a first redundant version of data from a buffer. The first redundant version is obtained based on second data, which is obtained by encoding the first data based on a first parity check matrix. The first parity check matrix is ​​an X×Y matrix. The first parity check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A is rows 1 to x1 and columns 1 to y1 of the first parity check matrix. Submatrix B is rows 1 to x1 and columns y1+1 to y2 of the first parity check matrix. Submatrix C is rows 1 to x1 and columns y2+1 to Y of the first parity check matrix. Submatrix D is rows x1+1 to X and columns 1 to y2 of the first parity check matrix. Submatrix E is rows x1+1 to X and columns y2+1 to Y of the first parity check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E is non-zero, submatrix E is a lower triangular matrix, and submatrix C is all zero. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. Transceiver unit 2320 is configured to transmit a first redundancy version, where the first redundancy version corresponds to a first column set in submatrix D, and the first column set includes one or more columns of submatrix D.

[0248] In some possible implementations, the communication device 2300 can implement the corresponding behaviors and functions of the receiving end in the above-mentioned method embodiment. For example, the communication device 2300 can be a receiving end, or a component (such as a chip or circuit) used in the receiving end. The transceiver unit 2320 can be used to perform all receiving or sending operations performed by the receiving end in the embodiment shown in Figure 12. For example, S1202 in the embodiment shown in Figure 12, and / or other processes for supporting the technology described herein; wherein the processing unit 2310 is used to perform all operations except the transceiver operations performed by the receiving end in the embodiment shown in Figure 12, and / or other processes for supporting the technology described herein.

[0249] For example, the transceiver unit 2320 is configured to receive a first redundant version, where the first redundant version is obtained based on second data, where the second data is obtained by encoding the first data based on a first check matrix. The first check matrix is ​​an X×Y matrix. The first check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A is rows 1 to x1 and columns 1 to y1 of the first check matrix. Submatrix B is rows 1 to x1 and columns y1+1 to y2 of the first check matrix. Submatrix C is rows 1 to x1 and columns y2+1 to Y of the first check matrix. Submatrix D is rows x1+1 to X and columns 1 to y2 of the first check matrix. Submatrix E is rows x1+1 to X and columns y2+1 to Y of the first check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E is non-zero, submatrix E is a lower triangular matrix, and submatrix C is all zero. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. The first redundant version corresponds to the first column set in submatrix D, and the first column set includes one or more columns of submatrix D. Processing unit 2310 is configured to decode the first redundant version according to the first column set in the submatrix.

[0250] For the operations performed by the processing unit 2310 and the transceiver unit 2320, please refer to the relevant description of the aforementioned method embodiment.

[0251] It should be understood that the processing unit 2310 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver unit 2320 can be implemented by a transceiver or a transceiver-related circuit component or a communication interface.

[0252] Based on the same concept, as shown in FIG24 , an embodiment of the present application provides a communication device 2400. The communication device 2400 includes a processor 2410. Optionally, the communication device 2400 may further include a memory 2420 for storing instructions executed by the processor 2410, or storing input data required by the processor 2410 to execute instructions, or storing data generated after the processor 2410 executes instructions. The processor 2410 can implement the method shown in the above method embodiment using the instructions stored in the memory 2420.

[0253] Based on the same concept, as shown in Figure 25, an embodiment of the present application provides a communication device 2500, which can be a chip or a chip system. Optionally, in the embodiment of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0254] Communication device 2500 may include at least one processor 2510 coupled to a memory. Optionally, the memory may be located within or outside the device. For example, communication device 2500 may also include at least one memory 2520. Memory 2520 stores the necessary computer programs, configuration information, computer programs or instructions, and / or data for implementing any of the aforementioned embodiments. Processor 2510 may execute the computer programs stored in memory 2520 to perform the method in any of the aforementioned embodiments.

[0255] The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, and is used for information exchange between devices, units, or modules. The processor 2510 may operate in conjunction with the memory 2520. The specific connection medium between the transceiver 2530, the processor 2510, and the memory 2520 is not limited in the embodiments of the present application.

[0256] The communication device 2500 may also include a transceiver 2530, and the communication device 2500 can exchange information with other devices through the transceiver 2530. The transceiver 2530 can be a circuit, a bus, a transceiver or any other device that can be used for information exchange, or called a signal transceiver unit. As shown in Figure 25, the transceiver 2530 includes a transmitter 2531, a receiver 2532 and an antenna 2533. In addition, when the communication device 2500 is a chip-type device or circuit, the transceiver in the communication device 2500 can also be an input and output circuit and / or a communication interface, which can input data (or receive data) and output data (or send data). The processor is an integrated processor or microprocessor or integrated circuit, and the processor can determine the output data based on the input data.

[0257] In one possible implementation, the communication device 2500 can be applied to a transmitter. Specifically, the communication device 2500 can be a transmitter or a device that supports the transmitter in implementing the functions of the transmitter in any of the above-mentioned embodiments. The memory 2520 stores the necessary computer programs, computer programs, instructions, and / or data for implementing the functions of the transmitter in any of the above-mentioned embodiments. The processor 2510 can execute the computer program stored in the memory 2520 to perform the method performed by the transmitter in any of the above-mentioned embodiments.

[0258] In one possible implementation, the communication device 2500 can be applied to a receiving end. Specifically, the communication device 2500 can be a receiving end, or a device capable of supporting the receiving end in implementing the functions of the receiving end in any of the aforementioned embodiments. The memory 2520 stores the necessary computer programs, computer programs, instructions, and / or data for implementing the functions of the receiving end in any of the aforementioned embodiments. The processor 2510 can execute the computer program stored in the memory 2520 to perform the method performed by the receiving end in any of the aforementioned embodiments.

[0259] Since the communication device 2500 provided in this embodiment can be applied to a transmitting end to implement the method executed by the transmitting end, or can be applied to a receiving end to implement the method executed by the receiving end, the technical effects that can be achieved can be referred to the above method embodiments and will not be repeated here.

[0260] In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0261] In an embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory may also be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in an embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing computer programs, computer programs or instructions and / or data.

[0262] Based on the above embodiments, referring to FIG26 , an embodiment of the present application also provides another communication device 2600, including: an input / output interface 2610 and a logic circuit 2620; the input / output interface 2610 is used to receive code instructions and transmit them to the logic circuit 2620; the logic circuit 2620 is used to run code instructions to execute the method executed by the sending end or the receiving end in any of the above embodiments.

[0263] The following describes in detail the operations performed by the communication device when applied to a transmitting end or a receiving end.

[0264] In an optional implementation, the communication device 2600 can be applied to the transmitting end to execute the method executed by the transmitting end, for example, the method executed by the transmitting end in the embodiment shown in FIG. 12 .

[0265] Logic circuit 2620 is configured to obtain a first redundant version of the data from the buffer. The first redundant version is obtained based on second data, which is obtained by encoding the first data based on a first parity check matrix. The first parity check matrix is ​​an X×Y matrix. The first parity check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A comprises rows 1 to x1 and columns 1 to y1 of the first parity check matrix. Submatrix B comprises rows 1 to x1 and columns y1+1 to y2 of the first parity check matrix. Submatrix C comprises rows 1 to x1 and columns y2+1 to Y of the first parity check matrix. Submatrix D comprises rows x1+1 to X and columns 1 to y2 of the first parity check matrix. Submatrix E comprises rows x1+1 to X and columns y2+1 to Y of the first parity check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E is non-zero, submatrix E is a lower triangular matrix, and submatrix C is all zero. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. Input / output interface 2610 is used to output a first redundancy version, where the first redundancy version corresponds to a first column set in submatrix D, which includes one or more columns of submatrix D.

[0266] Since the communication device 2600 provided in this embodiment can be applied to the transmitting end to implement the method executed by the transmitting end, the technical effects that can be obtained can be referred to the above method embodiment and will not be described in detail here.

[0267] In an optional implementation, the communication device 2600 may be applied to a receiving end to execute the method executed by the aforementioned receiving end, for example, the method executed by the receiving end in the embodiment shown in FIG. 12 .

[0268] Input / output interface 2610 is configured to input a first redundant version, where the first redundant version is obtained based on second data, which is obtained by encoding the first data based on a first parity check matrix. The first parity check matrix is ​​an X×Y matrix. The first parity check matrix includes submatrix A, submatrix B, submatrix C, submatrix D, and submatrix E. Submatrix A comprises rows 1 to x1 and columns 1 to y1 of the first parity check matrix. Submatrix B comprises rows 1 to x1 and columns y1+1 to y2 of the first parity check matrix. Submatrix C comprises rows 1 to x1 and columns y2+1 to Y of the first parity check matrix. Submatrix D comprises rows x1+1 to X and columns 1 to y2 of the first parity check matrix. Submatrix E comprises rows x1+1 to X and columns y2+1 to Y of the first parity check matrix. 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers. The diagonal of submatrix E contains nonzero elements, submatrix E is a lower triangular matrix, and submatrix C contains all zero elements. Submatrix D includes one or more upper triangular matrices or lower triangular matrices. The first redundant version corresponds to the first column set in submatrix D, which includes one or more columns of submatrix D. Logic circuit 2620 is configured to decode the first redundant version based on the first column set in the submatrix.

[0269] Since the communication device 2600 provided in this embodiment can be applied to the receiving end to implement the method executed by the receiving end, the technical effects that can be obtained can be referred to the above method embodiments and will not be repeated here.

[0270] Based on the above embodiments, the present application also provides a communication system. The communication system includes at least one communication device for a transmitting end and at least one communication device for a receiving end. The technical effects that can be achieved can be referred to the above method embodiments and will not be repeated here.

[0271] Based on the above embodiments, embodiments of the present application further provide a system. The communication system includes an encoding device and a decoding device. The encoding device can be used to execute a method executed by a transmitting end, and the decoding device can be used to execute a method executed by a receiving end. The encoding device can be a network device or a terminal device, and the decoding device can be a network device or a terminal device. Optionally, when the encoding device is a network device, the decoding device is a terminal device; or, when the encoding device is a terminal device, the decoding device is a network device.

[0272] Based on the above embodiments, embodiments of the present application further provide a computer-readable storage medium storing a computer program or instructions. When the instructions are executed, the method executed by the transmitting end or the method executed by the receiving end in any of the above embodiments is implemented. The computer-readable storage medium may include various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

[0273] To implement the functions of the communication device shown in Figures 23 to 26 , embodiments of the present application further provide a chip including a processor for supporting the communication device in implementing the functions of the transmitter or receiver in the above method embodiments. In one possible design, the chip is connected to or includes a memory, which is used to store computer programs, instructions, and data necessary for the communication device.

[0274] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0275] The present application is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by a computer program or instruction. These computer programs or instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.

[0276] These computer programs or instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0277] These computer programs or instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0278] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application also intends to include these modifications and variations.

Claims

1. A coding method, characterized in that: include: Obtaining a first redundant version of data from a buffer; the first redundant version is obtained according to second data, and the second data is obtained by encoding the first data based on a first check matrix; wherein the first check matrix is ​​an X×Y matrix; the first check matrix includes submatrix A, submatrix B, submatrix C, submatrix D and submatrix E, the submatrix A is the 1st to x1th rows and 1st to y1th columns of the first check matrix, the submatrix B is the 1st to x1th rows and y1+1th to y2th columns of the first check matrix, the submatrix C is the 1st to x1th rows and y2+1th to Yth columns of the first check matrix, the submatrix D is the x1+1th to Xth rows and 1st to y2th columns of the first check matrix, the submatrix E is the x1+1th to Xth rows and y2+1th to Yth columns of the first check matrix, 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2, and Y are all integers; Wherein, the diagonal of the submatrix E is non-zero elements, the submatrix E is a lower triangular matrix, and the submatrix C is full of zero elements; the submatrix D includes one or more upper triangular matrices or lower triangular matrices; The first redundancy version is sent, where the first redundancy version corresponds to a first column set in the sub-matrix D, and the first column set includes one or more columns of the sub-matrix D.

2. The method according to claim 1, characterized in that Also includes: receiving feedback information, where the feedback information is used to indicate that decoding of the first redundancy version fails or the first redundancy version is not received; A second redundancy version is sent according to the feedback information.

3. The method according to claim 1 or 2, characterized in that: The feedback information is used to indicate that decoding of the first redundant version fails, and data of the second redundant version is not completely the same as data of the first redundant version.

4. The method according to any one of claims 1 to 3, characterized in that: The feedback information is used to indicate that the first redundancy version is not received, and the second redundancy version is retransmitted data of the first redundancy version.

5. A decoding method, characterized in that: include: Receive a first redundant version, where the first redundant version is obtained according to second data, where the second data is obtained by encoding the first data based on a first check matrix; wherein the first check matrix is ​​an X×Y matrix; the first check matrix includes submatrix A, submatrix B, submatrix C, submatrix D and submatrix E, where submatrix A is rows 1 to x1 and columns 1 to y1 of the first check matrix, submatrix B is rows 1 to x1 and columns y1+1 to y2 of the first check matrix, submatrix C is rows 1 to x1 and columns y2+1 to Y of the first check matrix, submatrix D is rows x1+1 to X and columns 1 to y2 of the first check matrix, and submatrix E is rows x1+1 to X and columns y2+1 to Y of the first check matrix, 1≤x1≤X, 1≤y1≤y2≤Y, and x1, X, y1, y2 and Y are all integers; The diagonal of the submatrix E is a non-zero element, the submatrix E is a lower triangular matrix, and the submatrix C is an all-zero element; the submatrix D includes one or more upper triangular matrices or lower triangular matrices; the first redundant version corresponds to a first column set in the submatrix D, and the first column set includes one or more columns of the submatrix D; The first redundancy version is decoded according to a first set of columns in the sub-matrix.

6. The method according to claim 5, characterized in that Also includes: Sending feedback information, where the feedback information is used to indicate that decoding of the first redundancy version fails or the first redundancy version is not received; receiving a second redundancy version; The decoding the first redundancy version according to the first column set in the sub-matrix includes: The first redundancy version and / or the second redundancy version is decoded according to a first column set in the sub-matrix.

7. The method according to claim 6, characterized in that The feedback information is used to indicate that decoding of the first redundant version fails, and the second redundant version is retransmitted data of the first redundant version; The decoding the first redundancy version and / or the second redundancy version according to the first column set in the sub-matrix includes: The second redundancy version is decoded according to a first set of columns in the sub-matrix.

8. The method according to claim 6 or 7, characterized in that: The feedback information is used to indicate that the first redundant version is not received, and data of the second redundant version is not completely the same as data of the first redundant version; The decoding the first redundancy version and / or the second redundancy version according to the first column set in the sub-matrix includes: The first redundancy version and the second redundancy version are decoded according to a first column set in the sub-matrix.

9. The method according to any one of claims 1 to 8, characterized in that: The second data is obtained by encoding the first data based on the first check matrix during initial transmission.

10. The method according to any one of claims 1 to 9, characterized in that: The submatrix D includes submatrix D1', submatrix D2'...submatrix DN', N is an integer greater than or equal to 1; wherein submatrix Dw' includes the x1+Mth submatrix of the submatrix D w +1~x1+M w+1 row; w is an integer from 1 to N, M w Less than M w+1 ; The submatrix Dw' includes submatrix Dw,2, submatrix Dw,1 and submatrix Dw,3; wherein the submatrix Dw,2 includes the second column set in the submatrix Dw', the submatrix Dw,1 includes the third column set of the submatrix Dw', the submatrix Dw,1 is an upper triangular matrix or a lower triangular matrix, and the elements on the diagonal of the submatrix Dw,1 are non-zero elements; the submatrix Dw,3 includes the fourth column set of the submatrix Dw', and the submatrix Dw,3 is an all-zero matrix; the second column set, the third column set and the fourth column set do not overlap.

11. The method according to claim 10, characterized in that Submatrix D1′ is submatrix D.

12. The method according to claim 10 or 11, characterized in that: The distance between the elements on the diagonal of the submatrix E and the elements on the diagonal of the submatrix D located in the same row increases as the size of the row increases; or The distance between the elements on the diagonal of the submatrix D and the elements of the first column of the submatrix D in the same row increases as the size of the row increases.

13. The method according to any one of claims 10 to 12, characterized in that: When N is greater than or equal to 2, there is at least one M w Greater than 2.

14. The method according to any one of claims 10 to 13, characterized in that: The submatrix Dw,2 includes the column with the largest column weight in the first check matrix.

15. The method according to any one of claims 10 to 14, characterized in that: The buffer stores data corresponding to the columns of the submatrix Dw,2; the data corresponding to the columns of the submatrix Dw,2 include punctured data.

16. The method according to any one of claims 10 to 15, characterized in that: The number of redundant versions of the second data is at least two; the first redundant version is one of the at least two redundant versions; when the first redundant version is used for retransmission, the first redundant version includes data corresponding to columns of the submatrix Dw,2.

17. The method according to claim 16, characterized in that When the first redundant version is used for retransmission, the first redundant version also includes data corresponding to columns of submatrix Dy,1, where submatrix Dy,1 is a submatrix of submatrix Dw,1, and submatrix Dy,1 is a t×U matrix, where U is the number of columns of submatrix Dw,1, t is determined based on the code rate and the type of channel carrying the first redundant version, and t is greater than or equal to 1.

18. The method according to claim 17, characterized in that The submatrix Dy,1 is a square matrix, t=U.

19. The method according to claim 17, characterized in that The rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns of the submatrix Dw,1; or The rows of the submatrix Dy,1 are the first to tth last rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the first to tth last columns of the submatrix Dw,1; or The rows of the submatrix Dy,1 are the 1st to tth rows of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the penultimate 1st to tth columns of the submatrix Dw,1; or The rows of the submatrix Dy,1 are the 1st to tth rows from the end of the submatrix Dw,1, and the columns of the submatrix Dy,1 are the 1st to tth columns of the submatrix Dw,1.

20. The method according to any one of claims 16 to 19, characterized in that: The first redundant version does not include data corresponding to the columns of the sub-matrix Dw,3.

21. The method according to any one of claims 17 to 20, characterized in that: The submatrix E includes submatrix E1, submatrix E2, ..., submatrix EN; wherein the submatrix Ew includes the x1+Mth submatrix of the submatrix E. w +1~x1+M w+1 row and the x1+Mth w +1~x1+M w+1 The rows correspond to the columns; the submatrix Ew corresponds to the submatrix Dw', and the submatrix Ew is a square matrix.

22. The method according to claim 21, characterized in that When the first redundant version is used for retransmission, the first redundant version also includes data corresponding to columns of the submatrix Dy,1 and data corresponding to columns of the submatrix Ex, the submatrix Ex is a submatrix of the submatrix Ew, the Ex includes a submatrix Ez, the Ez is a (Ut)×(Ut) matrix, U is the number of columns of the submatrix Dw,1, the rows contained in the Ez intersect with the rows contained in the Dy,1 and are empty, and t is determined according to the code rate and the type of the channel carrying the first redundant version.

23. The method according to claim 22, characterized in that The sub-matrix Ez is the sub-matrix Ex.

24. The method according to claim 22, characterized in that The sub-matrix Ex is the sub-matrix Ew.

25. The method according to claim 22, characterized in that The rows of the submatrix Ez are the 1st to tth columns of the submatrix Ew, and the columns of the submatrix Ez are the 1st to tth columns of the submatrix Ew; or The rows of the submatrix Ez are the first to tth columns from the end of the submatrix Ew, and the columns of the submatrix Ez are the first to tth columns from the end of the submatrix Ew.

26. The method according to any one of claims 1 to 25, characterized in that: The first check matrix is ​​obtained according to a sequence and a second check matrix; the sequence indicates the edge relationship among regions A, B, and D in the second check matrix.

27. The method according to claim 26, characterized in that The first check matrix is ​​obtained by deleting the edge relationship in the second check matrix.

28. The method according to claim 26 or 27, characterized in that The second check matrix is ​​preset.

29. The method according to any one of claims 1 to 28, characterized in that: Also includes: First indication information is obtained, where the first indication information includes a permutation of a row number of the first check matrix, and the first indication information indicates a coding scheduling order.

30. The method according to claim 1, characterized in that Also includes: Obtain second indication information, where the second indication information includes a permutation of a column number of the first check matrix, and the second indication information indicates a sending order, where the sending order is at a quasi-cyclic QC level.

31. The method according to claim 30, characterized in that The second data is placed in the buffer after being interleaved by the interleaver, or the first redundant version is obtained by taking out the buffer and placing it in the interleaver for interleaving.

32. A communication device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 4 and 9 to 31, or comprises a unit for executing the method according to any one of claims 5 to 31.

33. A communication device, characterized in that: include: Processor and memory; The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instructions in the memory, so that the device executes the method as claimed in any one of claims 1 to 4 and 9 to 31, or the device executes the method as claimed in any one of claims 5 to 31.

34. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when called by an electronic device, cause the electronic device to execute the method as described in any one of claims 1 to 4 and 9 to 31, or cause the electronic device to execute the method as described in any one of claims 5 to 31.

35. A chip system, characterized in that: Including communication interface and processor: The communication interface is used to input and / or output signaling or data; The processor is used to execute a computer executable program so that a device equipped with the chip system executes the method according to any one of claims 1 to 31.

36. A system, characterized in that: including an encoding device and a decoding device; The encoding device is used to execute the method according to any one of claims 1 to 4 and 9 to 31, and the decoding device is used to execute the method according to any one of claims 5 to 31.

Citation Information

Patent Citations

  • Data transmission method, transmission equipment, and reception equipment

    CN108631928A

  • Information processing method and communication device

    CN111416625A

  • Data coding method, communication device and computer readable storage medium

    CN115642985A

  • Self-decodability for low-density parity-check codes

    US20190379485A1