Data encoding method and apparatus, storage medium, and processor
The proposed data encoding method addresses instability in quasi-cyclic LDPC encoding by using a circular buffer and interleaving technique to enhance transmission stability and efficiency.
Patent Information
- Application Number
- JP2022091958
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-08-11
- Filing Date
- 2022-06-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2038-07-09
AI Technical Summary
The instability in data transmission due to quasi-cyclic LDPC encoding, particularly caused by padding bits, leads to reduced encoding and decoding rates, high energy consumption, and compromised robustness in communication systems.
A data encoding method that performs quasi-cyclic LDPC encoding on information packets, determines a one-dimensional finite-length circular buffer, selects a redundancy version, and reads data bits from a specific starting position to form a bit sequence, followed by interleaving and rate-matching to stabilize transmission.
Stabilizes data transmission by reducing unnecessary operations and improving encoding and decoding efficiency, enhancing robustness and performance in fading channels.
Smart Images

Figure 0007565976000027 
Figure 0007565976000028 
Figure 0007565976000001
Abstract
Description
[Technical field]
[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to Chinese Patent Application No. 201710687764.6, filed on August 11, 2017, the disclosure of which is incorporated herein by reference in its entirety.
[0002] The present invention relates to the field of communications, and in particular to a data encoding method and apparatus, a storage medium and a processor. [Background technology]
[0003] In the related art, in the quasi-cyclic low-density parity check (LDPC) coding process, once more padding bits appear, the coding or decoding efficiency of the LDPC code decreases. In response to the problem of some cask effects caused by the fact that the number of code blocks of each code block group in a transport block may be different, a Kmax design method is provided in the code block division method so that the number of code blocks of each code block group is equal to avoid the overall performance deficiency caused when some code block groups have more code blocks. In response to the problem of the performance deficiency of the quasi-cyclic LDPC coding in high-order modulation or fading channel, the performance of the quasi-cyclic LDPC coding is improved by the code word interleaving method.
[0004] In a practical communication system, the number of bits of a transport block that needs to be actually transmitted is not necessarily equal to the system bit length supported by the quasi-cyclic LDPC coding basis matrix, so the transport block needs to be code block segmented and padded with bits. However, the code block segmentation and padding bits performed on the transport block will cause unstable transmission problems, such as reduced coding and decoding rates, high energy consumption, and impacts on the robustness of data communication.
[0005] There is no effective solution in the related art to the problem of unstable transmission after quasi-cyclic LDPC coding is applied to the data to be transmitted. Summary of the Invention [Problem to be solved by the invention]
[0006] SUMMARY OF THE PRESENT EMBODIMENTS The embodiments of the present invention provide a data encoding method and apparatus, a storage medium, and a processor that at least solve the related art problem of unstable transmission after quasi-cyclic LDPC coding is performed on data to be transmitted. [Means for solving the problem]
[0007] According to an embodiment of the present invention, a data encoding method is provided, which includes: performing quasi-cyclic LDPC coding on an information packet bit sequence to obtain an LDPC codeword sequence, and determining a size of a one-dimensional finite-length circular buffer according to the LDPC codeword sequence, selecting a redundancy version value from a plurality of predefined redundancy version values, and determining a starting position for reading a bit sequence to be transmitted in the one-dimensional finite-length circular buffer according to the selected redundancy version value and predefined parameters, where the predefined parameters include at least one of a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a system number of columns of a base graph matrix, or a length of the information packet bit sequence, and sequentially reading data bits of a specific length from the starting position to form a bit sequence to be transmitted, and then transmitting the bit sequence to be transmitted.
[0008] According to another embodiment of the present invention, there is further provided a data encoding apparatus, which includes: an obtaining module configured to obtain data to be transmitted, an interleaving module configured to perform quasi-cyclic LDPC coding on the data to be transmitted to obtain an LDPC codeword sequence, and to interleave the LDPC codeword sequence to obtain an interleaved LDPC codeword sequence, a selection module configured to perform cyclic bit selection on the interleaved LDPC codeword sequence from a starting position to obtain a rate match codeword sequence, where the starting position is determined according to a predetermined parameter, the predetermined parameter including at least one of a redundancy version, a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a system number of columns of a base graph matrix, or a length of an information packet bit sequence, and a transmitting module configured to transmit the rate match codeword sequence.
[0009] According to another embodiment of the present invention, there is further provided a storage medium containing a stored program which, when executed, performs the data encoding method described above.
[0010] According to another embodiment of the present invention there is further provided a processor, which is used to execute a program which, when executed, performs the above mentioned data encoding method in the optional embodiment shown above. Effect of the Invention
[0011] Through the present invention, data to be transmitted is obtained; quasi-cyclic LDPC coding is performed on the data to be transmitted to obtain an LDPC codeword sequence, and the LDPC codeword sequence is interleaved to obtain an interleaved LDPC codeword sequence; cyclic bit selection is performed on the interleaved LDPC codeword sequence from a starting position to obtain a rate match codeword sequence, where the starting position is determined according to a predetermined parameter; and the rate match codeword sequence is transmitted. The above solution solves the problem in the related art of unstable transmission after quasi-cyclic LDPC coding is performed on the data to be transmitted, and achieves stable transmission after quasi-cyclic LDPC coding.
[0012] The drawings described herein are used to provide a further understanding of the present invention and form a part of this application. The illustrative embodiments and the description thereof in the present invention are used to explain the present invention, but are not intended to limit the present invention in an inappropriate manner. [Brief description of the drawings]
[0013] [Figure 1] 2 is a flowchart of a data encoding method according to an embodiment of the present invention. [Diagram 2] 2 is a flowchart of an LDPC encoded data processing method according to a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] An embodiment of the present application provides a mobile communication network (including but not limited to a 5G mobile communication network). The network architecture of the network may include a network side device (such as a base station) and a terminal. An information transmission method executable in the network architecture is provided in the embodiment. It should be noted that the execution environment of the information transmission method provided by the embodiment of the present application is not limited to the network architecture.
[0015] Before describing the embodiments of the present invention in detail, a brief description of the related art of encoding methods in digital communication systems will be given.
[0016] A digital communication system in the related art generally includes three parts: a transmitting end, a channel and a receiving end. The transmitting end can perform channel coding on an information sequence to obtain a coded codeword, interleave the coded codeword, and map the interleaved bits to a modulation symbol, and then process and transmit the modulation symbol according to the communication channel information. In the channel, a certain channel response due to factors such as multipath and movement will result in distorted data transmission, and noise and interference will further deteriorate the data transmission. The receiving end receives the modulation symbol data after passing through the channel, where the modulation symbol data has already been distorted at this point, and needs to carry out a certain processing to restore the original information sequence.
[0017] According to the coding method used by the transmitting end to code the information sequence, the receiving end can perform corresponding processing on the received data to reliably restore the original information sequence. Generally, the coding method is based on forward error correction (FEC) coding. FEC coding adds some redundant information to the information sequence, and the receiving end can reliably restore the original information sequence with the redundant information.
[0018] Some common FEC codings include convolutional codes, turbo codes and LDPC codes. In the FEC coding process, an information sequence with k bits is FEC coded to obtain an n-bit FEC coded codeword (including nk redundant bits), and the FEC coding rate is k / n. LDPC codes are linear block codes defined by a very sparse parity check matrix or bipartite graph. The sparsity of the check matrix of LDPC codes facilitates achieving low-complexity coding and decoding, thus making LDPC more practical. Various practices and theories have proven that LDPC codes have the best channel coding performance under additive white Gaussian noise (AWGN), which is very close to the Shannon limit. In the parity check matrix of LDPC codes, each row is a parity check code. If the element value at a certain index position is equal to 1 in each row, it means that the bit at this position participates in the parity check code, and if the element value is equal to 0, it means that the bit at this position does not participate in the parity check code.
[0019] Due to the structured property, quasi-cyclic LDPC codes have become mainstream applications. For example, quasi-cyclic LDPC codes have been widely applied in IEEE802.11ac, IEEE802.11ad, IEEE802.11aj, IEEE802.16e, IEEE802.11n, microwave communication and optical fiber communication, and have been adopted as the data channel coding scheme in the fifth generation (5G) mobile communication. The parity check matrix H of the quasi-cyclic LDPC code is a matrix with M×Z rows and N×Z columns, which is composed of M×N submatrices. Each submatrix should be a different basis permutation matrix of size Z×Z, that is, each submatrix is obtained after cyclic shifting some values of the unit matrix of size Z×Z.
[0020] To more simply describe the cyclic shift of the identity matrix from a mathematical point of view, the parity check matrix of a quasi-cyclic LDPC code can be written as the following mathematical expression:
[0021]
number
[0022] hb ij If =-1, then
[0023]
number
[0024]
number
[0025] By this definition, Z and the exponent hb ij can uniquely identify each partition matrix. If a partition matrix is an all-zero matrix, it can be represented by "-1" or null value or in other forms. If a partition matrix is obtained through a circular shift of s of the identity matrix, then the partition matrix is equal to s. For all hb ij can constitute a basis matrix Hb of the quasi-cyclic LDPC code, which can be written as follows:
[0026]
number
[0027] Therefore, the basis matrix Hb includes two kinds of elements: elements indicating all-zero square matrices, and elements indicating values of cyclic shifts of identity matrices, generally represented by integers in the range of 0 to (Z-1). The basis matrix Hb can be referred to as a basis check matrix or a shift value matrix or a permutation value matrix or a basis parity check matrix or a parity check matrix. In the basis matrix Hb, if the elements indicating all-zero matrices are replaced with elements "0" and other elements are replaced with elements "1", a base graph matrix or a template matrix of quasi-cyclic LDPC coding can be obtained. The base graph matrix may also be described in the form of a table. For example, a row and column index pair is used to indicate the position of "1" in the base graph matrix or the position of an element indicating the value of a cyclic shift of an identity matrix in the basis matrix. Therefore, the basis matrix of the quasi-cyclic LDPC code can be determined according to the template matrix of the quasi-cyclic LDPC code and a set of shift values (or coefficients). The dimension Z of the basis permutation matrix or all-zero square matrix can be defined as the shift size / lifting size or the magnification factor or sub-matrix size.
[0028] Therefore, a structured LDPC code can be uniquely determined by a basis check matrix Hb and a lifting size Z. For example, a basis matrix Hb (two rows and four columns) corresponds to a lifting size z of 4, and is written as follows:
[0029]
number
[0030] The template matrix corresponding to the basis matrix Hb is written as follows:
[0031]
number
[0032] The parity check matrix H obtained according to the basis matrix Hb and the lifting size Z is written as follows:
[0033]
number
[0034] Quasi-cyclic LDPC coding can be directly performed according to the parity check matrix determined according to the basis matrix Hb and the lifting size Z. According to the definition of LDPC code, H×C=0 is satisfied, and H includes [Hs Hp], where Hs is the matrix of the system column part of the parity check matrix, and Hp is the matrix of the check column part of the parity check matrix. C can include [Cs Cp], where Cs is the system bit sequence (information bits, known bits) of the LDPC code, and Cp is the check bit sequence (unknown bits) of the LDPC code. The LDPC coding process is the process of calculating the check bit sequence. Thus, Hs×Cs=Hp×Cp, and then the check bit sequence Cp can be calculated, that is, Cp=inv(Hp)×Hs×Cs, where the formula inv(x) represents the binary inversion of matrix x. Therefore, the matrix of the check sequence of the parity check matrix must be a square matrix and binary invertible so that the quasi-cyclic LDPC coding sequence is [Cs Cp]. Of course, the quasi-cyclic LDPC coding sequence can also be calculated through cyclic shifts of each Z-bit block.
[0035] In the process of data transmission, the applicant finds that for LDPC code, when code block division is performed in the transport block to pad bits, the pad bits are used to assist encoding or decoding, and do not actually participate in transmission. However, in the process of encoding and decoding, if more pad bits appear, the encoder or decoder will perform some useless operations, thereby reducing the encoding and decoding rate and causing high energy consumption. If the length of the transport block is large, the number of code blocks is large at this point. In order to facilitate feedback and improve processing efficiency, all LDPC code blocks need to be divided into multiple code block groups. Here, each code block group includes several LDPC co-learning blocks, and ACK / NACK feedback is received in units of code block groups, and data retransmission is performed at the receiving end. If the design of the code block group is not taken into account in the process of code block division, the number of code blocks in each code block group will be different when the code block is divided into code block groups, which will cause some CASK effect and affect the robustness of data communication. Because quasi-cyclic LDPC coding has certain structured properties, in some high-order modulation or fading channels, LDPC codes may have some problems related to poor performance. Therefore, codeword bits need to be interleaved to randomize burst noise, thereby improving the performance of quasi-cyclic LDPC codewords under burst noise.
[0036] [Embodiment 1] This embodiment provides a data encoding method. Figure 1 is a flow chart of the data encoding method according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
[0037] In step S102, a quasi-cyclic LDPC coding is performed on the information packet bit sequence to obtain an LDPC codeword sequence, and a size of a one-dimensional finite-length circular buffer is determined according to the LDPC codeword sequence.
[0038] In step S104, a redundancy version value is selected from a plurality of predefined redundancy version values, and a starting position for reading a bit sequence to be transmitted in the one-dimensional finite length circular buffer is determined according to the selected redundancy version value and predefined parameters, where the predefined parameters include at least one of a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a system number of columns of a base graph matrix, or a length of an information packet bit sequence.
[0039] In step S106, a certain length of data bits is read sequentially from the starting position to form a bit sequence to be transmitted, and then the bit sequence to be transmitted is sent.
[0040] Through the above steps, the information packet bit sequence is subjected to quasi-cyclic LDPC coding to obtain an LDPC codeword sequence, and the size of a one-dimensional finite-length circular buffer is determined according to the LDPC codeword sequence; a redundancy version value is selected from a plurality of predetermined redundancy version values, and a starting position for reading the bit sequence to be transmitted in the one-dimensional finite-length circular buffer is determined according to the selected redundancy version value and a predefined parameter. Here, the predefined parameter includes at least one of the lifting size, the total number of columns of the base graph matrix, the total number of rows of the base graph matrix, the system column number of the base graph matrix, or the length of the information packet bit sequence. Then, a certain length of data bits is read sequentially from the starting position to form the bit sequence to be transmitted, and the bit sequence to be transmitted is transmitted. The above solution solves the problem in the related art of unstable transmission after the data to be transmitted is subjected to quasi-cyclic LDPC coding, and achieves stable transmission after the quasi-cyclic LDPC coding.
[0041] In one embodiment, the above steps may be performed by a base station or a terminal, but are not limited thereto.
[0042] In one embodiment, the LDPC codeword sequence is interleaved to obtain an interleaved LDPC codeword sequence, and this step includes performing block interleaving on the LDPC codeword sequence, where the number of rows of the interleaving matrix is determined according to quasi-cyclic LDPC coding parameters, the quasi-cyclic LDPC coding parameters including at least one of a lifting size, a total number of columns of the base graph matrix, a total number of rows of the base graph matrix, or a system number of columns of the base graph matrix. The interleaving matrix is interleaved in a manner that data in the matrix is input along columns and output along columns.
[0043] In one embodiment, the number of rows of the interleaving matrix is equal to a positive integer factor of the quasi-cyclic LDPC lifting size or equal to a positive integer multiple of the lifting size of the quasi-cyclic LDPC encoding.
[0044] In one embodiment, the number of rows of the interleaving matrix is equal to a positive integer factor of the total number of columns of the base graph matrix of the quasi-cyclic LDPC encoding, or equal to a positive integer multiple of the total number of columns of the base graph matrix of the quasi-cyclic LDPC encoding.
[0045] In one embodiment, the interleaving method further includes performing the outputs respectively according to a predetermined column order to obtain an interleaved codeword sequence.
[0046] In one embodiment, the intra-column interleaving method is determined according to the modulation order.
[0047] Optionally, intra-column interleaving is performed, provided that the modulation order is greater than M0, where M0 is an integer greater than 1.
[0048] In one embodiment, the starting position is determined according to the redundancy version, the lifting size, and the total number of columns of the base graph matrix.
[0049] In one embodiment, the RV i The starting position corresponding to the redundant version where is calculated via the following formula: First formula: S i =α×function(β×(nb / G)×RV i +χ)×Z+δ; In the first formula, nb is the total number of columns of the basic graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer; Or the second formula: S i =α×(β×funtion(λ×nb / G)×RV i +χ) × Z + δ; In the second formula, nb is the total number of columns of the basic graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer; Or a third formula: S i =α×(β×funtion(λ×nb×Z / G)×RV i +χ)+δ; In the third formula, nb is the total number of columns in the basic graph matrix, Z is the lifting size, G is a real number greater than 0, α is a positive integer, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer.
[0050] In one embodiment, the starting position is determined according to the redundancy version, the lifting size, the total number of columns of the base graph matrix, and the length of the information packet bit sequence.
[0051] In one embodiment, the starting position corresponding to the redundancy version RVi is calculated via one of the following formulas: S i =α×(β×funtion((K+mb×Z) / G)×RV i +χ) +δ; and S i =α×(β×funtion((K+mb×Z) / G)+χ)×RV i + δ; In the above two formulas, K is the length of the information packet bit sequence, Z is the lifting size, G is a real number greater than 0, α is a positive integer, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer.
[0052] In one embodiment, the step of interleaving the LDPC codeword sequence to obtain an interleaved LDPC codeword sequence includes interleaving all bits from an S0th bit to an S1th bit in the LDPC codeword sequence, where S0 and S1 are positive integers and S1 is greater than S0.
[0053] In one embodiment, the step of interleaving all bits from bit S0 to bit S1 in the LDPC codeword sequence includes block interleaving all bits from bit S0 to bit S1 in the LDPC codeword sequence according to an interleaving matrix, where a number of columns of the block interleaving matrix is Z0, Z0 is determined by quasi-cyclic LDPC coding parameters, the quasi-cyclic LDPC coding parameters including at least one of a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a number of system columns of a base graph matrix, or an information packet bit sequence length.
[0054] In one embodiment, Z0 is equal to a positive integer factor of the LDPC encoding lifting size.
[0055] In one embodiment, Z0 is equal to Z, where Z is the LDPC coding lifting size, S0 is equal to 2×Z, and S1 is equal to E×Z−1, where E is an integer greater than 2.
[0056] In one embodiment, E is equal to kb, kb+1, kb+2, kb+3, or kb+4, where kb is the number of system columns of the base graph matrix of the LDPC coding.
[0057] In one embodiment, Z0 is determined by the following parameters: S0, S1 and the modulation order, where the modulation order is the number of bits carried by each modulation symbol.
[0058] In one embodiment, Z is calculated via the following formula:
[0059]
number
[0060] In one embodiment, the value of S1 is determined via at least one of the following parameters: the length of the information packet bit sequence obtained after code block division is performed on the data to be transmitted, and the length of the bit sequence to be transmitted.
[0061] In one embodiment, when the LDPC coding rate R is less than or equal to R0, all bits from bit S0 to bit S1 in the LDPC codeword sequence are interleaved according to an interleaving matrix, where R0 is a real number greater than or equal to 3 / 4 and less than 1, and the LDPC coding rate R is equal to the quotient of the length of the information packet bit sequence and the length of the bit sequence to be transmitted.
[0062] The present invention will now be described in detail with reference to preferred embodiments.
[0063] [Preferred embodiment 1] This embodiment provides a quasi-cyclic LDPC coded data processing method that can be applied to a new radio access technology (NR) communication system. The method provided in this optional embodiment can be applied to a long-term evolution (LTE) mobile communication system or a future 5G mobile communication system or other wireless or wired communication systems, and the data transmission direction is the direction in which a base station transmits data to a terminal user (downlink transmission of service data), or the data transmission direction is the direction in which a terminal user transmits data to a base station (uplink transmission of service data). The terminal user includes a mobile device, an access terminal, a user terminal, a user station, a user unit, a mobile station, a remote station, a remote terminal, a user agent, a user equipment, a user device, or a device named by other terms. Base stations include an access point (AP), which may also be referred to as a Node B, a radio network controller (RNC), an evolved Node B (eNB), a base station controller (BSC), a base station controller (BTS), a base station (BS), a transceiver function (TF), a wireless router, a wireless transceiver, a basic service unit, an enhanced service unit, a radio base station (RBS), or other devices named under other items.
[0064] According to one aspect of the present optional embodiment, the present optional embodiment provides a quasi-cyclic LDPC coded data processing method that can be applied to an enhanced Mobile Broadband (eMBB) scenario, an Ultra-Reliable and Low Latency Communication (URLLC) scenario, or a High Capacity Machine Type Communication (mMTC) scenario in New Radio Access Technologies (New RATs).
[0065] 2 is a flow chart of an LDPC encoded data processing method according to a preferred embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
[0066] In step S201, the length information of the source data packet to be transmitted is obtained, and the length of the source data packet to be transmitted (also known as TBS) that currently needs to be transmitted is determined from the TBS table according to the control information, where the control information can be obtained from downlink or uplink control information or other system information.
[0067] In step S202, code block division is performed. The source data packet to be transmitted has a length of the longest information block, K max Here, the number of information packet bit sequences obtained after division is
[0068]
number
[0069]
number
[0070]
number
[0071] In step S203, a CRC sequence is added. A CRC sequence having a bit number L is added to each information bit block obtained after the code block division, where L is an integer greater than 0.
[0072] In step S204, bits are padded: the information bit block with the CRC sequence is padded with sub-bits, where the sub-bits are only used to assist in coding and do not participate in transmission.
[0073] In step S205, quasi-cyclic LDPC coding is performed. According to the length of each information packet bit sequence obtained after code block division, a lifting size used by LDPC coding is determined, a check matrix of LDPC coding is determined and calculated according to the obtained lifting size information, and then quasi-cyclic LDPC coding is performed on each information packet bit sequence according to the check matrix and the LDPC coding lifting size to obtain an LDPC codeword sequence.
[0074] The base graph matrix of the quasi-cyclic LDPC coding includes two kinds of base graph matrices: base graph 1 and base graph 2. The number of rows and columns of the base graph matrix, base graph 1, are 46 and 68, respectively, that is, the total number of columns of the base graph matrix is 68, the total number of rows of the base graph matrix is 46, and the system number of columns of the base graph matrix is 68-46=22. The number of rows and columns of the base graph matrix, base graph 2, are 42 and 52, respectively, that is, the total number of columns of the base graph matrix is 52, the total number of rows of the base graph matrix is 42, and the system number of columns of the base graph matrix is 52-42=10. According to the fact that the total number of columns of the base graph matrix is 68 or the total number of rows of the base graph matrix is 46 or the system number of columns of the base graph matrix is 22, it can be determined that the index corresponding to the base graph matrix is 1 (base graph 1). According to the fact that the total number of columns of the base graph matrix is 52, or the total number of rows of the base graph matrix is 42, or the system column number of the base graph matrix is 10, it can be determined that the index corresponding to the base graph matrix is 2 (base graph 2). For example, Table 1 shows the positions of elements with every value 1 of row index (i) in base graph 1 and base graph 2, that is, the same positions can be replaced with cyclic permutation identity matrix positions. Table 2 shows the lifting sizes supported by base graph 1, which includes eight lifting size sets. Table 4 shows the lifting sizes supported by base graph 2, which also includes eight lifting size sets. According to the above lifting size information, the set index i of the lifting size set isLS The shift value matrix of each lifting size set corresponding to the base graph 1 is determined by the set index i LS The shift value matrix of each lifting size set corresponding to the base graph 2 is obtained from Table 5 according to the set index, and then the base graph matrix corresponding to the current lifting size Zc is calculated by the formula: i,j =mod(V i,j ,Z c ), the shift value matrix corresponding to the information packet bit sequence can be obtained according to the following formula: If the size of the information packet bit sequence is less than or equal to 2560 and the code rate is less than or equal to 2 / 3, then base graph 2 is selected, otherwise base graph 1 is selected. It is noted that in Table 1, the first column indicates the row index (i) of base graph 1 and base graph 2, the second column indicates the column index (j) of base graph 1, and [i,j] determines the position of every value 1 element in base graph 1; besides, the third column indicates the column index (j) of base graph 2. Tables 3 and 4 show eight shift value matrices corresponding to base graph 1 and base graph 2, respectively, where i indicates the row index, j indicates the column index, and i LS denotes the set index of the lifting size set.
[0075] Table 1 Basic graph 1 and basic graph 2 are shown in Table 1 below.
[0076] [Table 1] TIFF0007565976000013.tif124129
[0077] Table 2 The lifting sizes for base graph 1 are shown in Table 2 below.
[0078] [Table 2]
[0079] Table 3 The shift values for base graph 1 are shown in Table 3 below.
[0080] [Table 3] TIFF0007565976000016.tif24183TIFF0007565976000017.tif24283TIFF0007565976 000018.tif24283TIFF0007565976000019.tif24283TIFF0007565976000020.tif2380
[0081] Table 4 The lifting sizes for base graph 2 are shown in Table 4 below.
[0082] [Table 4]
[0083] Table 5 The shift values for base graph 2 are shown in Table 5 below.
[0084] [Table 5] TIFF0007565976000023.tif24386TIFF0007565976000024.tif24486TIFF0007565976000025.tif6383
[0085] In step S206, interleaving is performed. Interleaving is to interleave the LDPC codeword sequence to obtain an interleaved LDPC codeword sequence. The interleaving method includes performing block interleaving on the LDPC codeword sequence, where the number of rows of the interleaving matrix is determined according to quasi-cyclic LDPC coding parameters, and the quasi-cyclic LDPC coding parameters include at least one of the lifting size, the total number of columns of the base graph matrix, the total number of rows of the base graph matrix, or the system column number of the base graph matrix.
[0086] In a specific embodiment, the number of rows of the interleaving matrix is equal to a positive integer factor of the quasi-cyclic LDPC lifting size or equal to a positive integer multiple of the lifting size of the quasi-cyclic LDPC encoding.
[0087] In a specific embodiment, the number of rows of the interleaving matrix is equal to a positive integer factor of the total number of columns of the base graph matrix of the quasi-cyclic LDPC encoding, or is equal to a positive integer multiple of the total number of columns of the base graph matrix of the quasi-cyclic LDPC encoding.
[0088] In one particular embodiment, the interleaving matrix is interleaved in a manner in which data within the matrix is input column-wise and output column-wise.
[0089] In a specific embodiment, in the interleaving method, the output is performed according to a predetermined column order to obtain an interleaved codeword sequence.
[0090] In a specific embodiment, the interleaving method performs intra-column interleaving on the columns in the interleaving matrix, where the intra-column interleaving method includes cyclic shift interleaving and random sequence interleaving.Preferably, the intra-column interleaving method is determined according to the modulation order.Preferably, the intra-column interleaving method is performed under the condition that the modulation order is greater than 2.
[0091] The interleaving method includes mapping all bits from bit S0 to bit S1 in an LDPC codeword sequence to bits from bit S0 to bit S1 of an interleaved codeword sequence according to a predetermined interleaving index sequence, where S0 is a positive integer and S1 is an integer greater than S0.
[0092] The predetermined interleaving index sequence is obtained in a block interleaving manner, and the number of columns of the block interleaving matrix is Z0, where Z0 is a positive integer.
[0093] In a further specific embodiment, Z0 is equal to a positive integer factor of the LDPC encoding lifting size.
[0094] In a further specific embodiment, Z0 is equal to Z, where Z is the LDPC coding lifting size, S0 is equal to 2×Z, and S1 is equal to E×Z−1, where E is an integer greater than 2. Furthermore, E is equal to kb, kb+1, kb+2, kb+3, or kb+4, where kb is the system column number of the base graph matrix of the LDPC coding.
[0095] Preferably, in a further specific embodiment, S0 is equal to kb×Z, and S1 is equal to E×Z-1, where Z is the LDPC coding lifting size, E is equal to kb+Δmb, Δmb is an integer greater than 0, and kb is the system column number of the basic graph matrix of the LDPC coding. Furthermore, Δmb is determined according to one of the following parameter combinations: combination 1, which is composed of the system column number of the basic graph matrix of the LDPC coding and the code rate; combination 2, which is composed of the length of the information packet bit sequence, the length of the bit sequence to be transmitted, and the LDPC coding lifting size; and combination 3, which is composed of the number of LDPC code check bits included in the bit sequence to be transmitted, and the LDPC coding lifting size.
[0096] In a further specific embodiment, Z0 is determined by the following parameters: S0, S1 and the modulation order, where the modulation order is the number of bits carried by each modulation symbol. Preferably, Z0 is calculated via the following formula:
[0097]
number
[0098] In a further specific embodiment, the specific value of S1 is determined by the following parameters: the length of the information packet bit sequence and the length of the bit sequence to be transmitted.
[0099] In a further specific embodiment, block interleaving is performed when the code rate R is less than or equal to R0, where R0 is a real number greater than or equal to 3 / 4 and less than 1, and the code rate R is equal to the value obtained after dividing the length of the information packet bit sequence by the length of the bit sequence to be transmitted.
[0100] The above interleaving method has the following beneficial effects: the LDPC code words can be effectively randomized, the LDPC code can obtain better performance advantages in higher-order modulation (e.g., 64 quadrature amplitude modulation (QAM) and 256 QAM), and the performance of the LDPC code in fading channels can be effectively improved.
[0101] In step S207, rate matching is performed. A cyclic bit selection is performed on the interleaved LDPC codeword sequence from a starting position to obtain a rate match codeword sequence. The starting position is determined according to a predetermined parameter. Here, the predetermined parameter includes at least one of a redundancy version, a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a system number of columns of a base graph matrix, or a length of an information packet bit sequence.
[0102] In a further specific embodiment, the starting position is determined according to the redundancy version, the lifting size, and the total number of columns of the base graph matrix. Furthermore, the starting position corresponding to the redundancy version RVi is calculated via the following formula: S i =α×function(β×(nb / G)×RV i +χ)×Z+δ, In the formula, nb is the total number of columns in the basic graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer.
[0103] Furthermore, RV iThe starting position corresponding to the redundancy version S is calculated via the following formula: i =α×(β×funtion(λ×nb / G)×RV i +χ)×Z+δ.
[0104] In the formula, nb is the total number of columns in the basic graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer.
[0105] Furthermore, RV i The starting position corresponding to the redundancy version S is calculated via the following formula: i =α×(β×funtion(λ×nb×Z / G)×RV i +χ)+δ.
[0106] where nb is the total number of columns in the basic graph matrix, Z is the lifting size, G is a real number greater than 0, α is a positive integer, β is a positive integer, λ is a positive real number, χ is a non-negative real number, and δ is an integer. In the formula, function(x) represents rounding the real number x to the nearest integer.
[0107] In a further specific embodiment, the starting position is determined according to the redundancy version, the lifting size, the total number of rows of the base graph matrix, and the length of the information packet bit sequence. i The starting position corresponding to the redundancy version S is calculated via one of the following formulas: i =α×(β×funtion((K+mb×Z) / G)×RV i +χ) +δ and S i =α×(β×funtion((K+mb×Z) / G)+χ)×RV i +δ, In the above formula, K is the length of the information packet bit sequence, Z is the lifting size, G is a real number greater than 0, α is a positive integer, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding the real number x to the nearest integer.
[0108] A cyclic bit selection is performed on the interleaved codeword sequence, and bits from the 2×Zth bit to the tail bit in the interleaved codeword sequence are stored in one circular buffer, and N bits are sequentially taken from the circular buffer according to the redundancy version to form a bit sequence to be transmitted.
[0109] In step S208, constellation modulation is performed. The bit sequence to be transmitted is divided into a number of bit packets, the number of bit packets are mapped to constellation modulation symbols, and the constellation modulation symbols are transmitted. In a preferred embodiment, before the number of bit packets are mapped to the constellation modulation symbols, the bits in the bit packets are interleaved respectively, and each interleaved bit packet is mapped to a constellation modulation symbol. The modulation order of the constellation modulation symbol is M, and the modulation order represents the number of bits carried by each constellation modulation symbol. The constellation symbol modulation includes one of the following: binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), 16QAM, 64QAM, or 256QAM, and the corresponding modulation orders are 1, 2, 4, 6, and 8, respectively. Preferably, in a specific embodiment, the interleaving within the bit packet is determined according to the modulation order. For example, the interleaving method is performed on the condition that the modulation order is greater than M1, where M1 is equal to 2, 3, 4, 5, or 6. Preferably, the intra-bit packet interleaving includes cyclic shift interleaving and random index sequence interleaving. Preferably, the interleaving methods of any adjacent F constellation symbols in every constellation modulation symbol are different, where F is a positive integer. In another embodiment, there are G0 intra-bit packet interleaving methods, and the G0 methods are different. The intra-bit packet bit interleaving selects G1 methods from the G0 methods to interleave bits in each bit packet sequentially according to a certain order. In another embodiment, there are multiple intra-bit packet interleaving method sets, and the intra-bit packet interleaving method is determined from the multiple interleaving method sets according to a modulation order.
[0110] From the description of the above embodiments, it will be clear to those skilled in the art that the methods in the above embodiments can be implemented by a required general-purpose hardware platform in addition to software, or of course by hardware. However, in many cases, the former is the preferred implementation manner. Based on this understanding, the solution provided by the present invention can be substantially or partly related to the related art can be embodied in the form of a software product. The computer software product includes some instructions stored in a storage medium (such as a read-only memory (ROM) / random access memory (RAM), a magnetic disk or an optical disk), to enable a terminal device (which can be a mobile phone, a computer, a server, a network device, etc.) to execute the method according to each embodiment of the present disclosure.
[0111] [Embodiment 2] This embodiment further provides a data encoding device. This device is used to implement the above-mentioned embodiment and preferred implementation examples, and what has been described will not be repeated. As used below, the term "module" may be software, hardware, or a combination thereof capable of implementing a certain function. The device in the below-mentioned embodiment is preferably implemented by software, but implementation by hardware or a combination of software and hardware is also possible and conceivable.
[0112] According to another embodiment of the present invention, there is further provided a data encoding device, which includes an acquiring module, an interleaving module, a selecting module and a sending module.
[0113] The acquisition module is configured to acquire the data to be transmitted.
[0114] The interleaving module is connected to the obtaining module and is configured to perform quasi-cyclic LDPC coding on the data to be transmitted to obtain an LDPC codeword sequence, and interleave the LDPC codeword sequence to obtain an interleaved LDPC codeword sequence.
[0115] The selection module is connected to the interleaving module and configured to perform cyclic bit selection on the interleaved LDPC codeword sequence from a starting position to obtain a rate match codeword sequence, where the starting position is determined according to a predetermined parameter, the predetermined parameter including at least one of a redundancy version, a lifting size, a total number of columns of a base graph matrix, a total number of rows of a base graph matrix, a system number of columns of a base graph matrix, or a length of an information packet bit sequence.
[0116] The transmission module is coupled to the selection module and is configured to transmit the rate match codeword sequence.
[0117] It should be added that the steps of the method in embodiment 1 can be performed by the apparatus in this embodiment.
[0118] It should be noted that the various modules mentioned above can be implemented by software or hardware. The hardware implementation can be, but not necessarily, performed in the following manner: the various modules mentioned above are provided on the same processor, or the various modules mentioned above are provided on their respective processors in any combinational manner.
[0119] [Embodiment 3] According to another embodiment of the present invention there is further provided a processor, adapted to execute a program which, when executed, performs the method of any one of the optional embodiments described above.
[0120] [Embodiment 4] According to another embodiment of the present invention, there is further provided a storage medium, the storage medium including a stored program which, when executed, performs the method of any one of the optional embodiments described above.
[0121] Clearly, it should be understood by those skilled in the art that each of the above-described modules or steps of the present invention may be implemented by a general-purpose computing device, the modules or steps may be centralized in a single computing device or distributed over a network of multiple computing devices, or alternatively, the modules or steps may be implemented by program code executable by a computing device, such that the modules or steps are stored in a storage device and executed by the computing device. In some circumstances, the illustrated or described steps may be performed in a different order than described herein, or the modules or steps may be separately implemented in various integrated circuit modules, or multiple modules or steps thereof may be implemented in a single integrated circuit module for implementation. Thus, the present invention is not limited to any particular combination of hardware and software.
[0122] The above is merely a preferred embodiment of the present invention, and is not intended to limit the present invention. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should fall within the scope of the present invention.
Claims
1. 1. A low density parity check (LDPC) data encoding method, comprising: obtaining an LDPC codeword sequence by performing LDPC encoding on the information packet bit sequence; interleaving the LDPC codeword sequence to obtain an interleaved LDPC codeword sequence, where obtaining the interleaved LDPC codeword sequence includes mapping bits from S0 to S1 of the LDPC codeword sequence to bits from S0 to S1 of the interleaved LDPC codeword sequence according to a predetermined interleaving index sequence, where S0 is a positive integer, S1 is an integer greater than S0, S0 is equal to 2×Z, Z is a lifting size, and S1 is determined by a length of the information packet bit sequence or a bit sequence to be transmitted; Starting position S i cyclic bit selection is performed on the interleaved LDPC codeword sequence from to obtain a rate match codeword sequence; Transmitting the rate match codeword sequence 1. A low density parity check (LDPC) data encoding method comprising:
2. RV i The starting position S i is calculated via the following formula: First formula: S i =α×function(β×(nb / G)×RV i + χ) × Z + δ; in the first formula, nb is the total number of columns of a basic graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding a real number x to the nearest integer.
3. RV i The starting position S i is calculated via the following formula: Second formula: S i =α×(β×function(λ×nb / G)×RV i + χ) × Z + δ; 2. The LDPC data encoding method according to claim 1, wherein in the second formula, nb is the total number of columns of the base graph matrix, Z is the lifting size, α is a positive integer, G is a real number greater than 0, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding a real number x to the nearest integer.
4. RV i The starting position S i is calculated via the following formula: Third formula: S i =α×(β×function(λ×nb×Z / G)×RV i + χ) + δ; LDPC data encoding method according to claim 1, wherein in the third formula, nb is the total number of columns of the base graph matrix, Z is the lifting size, G is a real number greater than 0, α is a positive integer, β is a positive integer, λ is a positive real number, χ is a non-negative real number, δ is an integer, and function(x) represents rounding a real number x to the nearest integer.
5. The LDPC data encoding method of claim 1 , wherein S1 is a function of a positive integer multiple of the lifting size.
6. transmitting the rate match codeword sequence, Dividing the rate match codeword sequence into a plurality of bit packets; interleaving bits within each bit packet of said plurality of bit packets; 2. The LDPC data encoding method of claim 1, comprising mapping each interleaved bit packet to a constellation modulation symbol.
7. An apparatus having a processor, the apparatus being configured to execute a program for carrying out the method according to any one of claims 1 to 6.
8. A storage medium containing a stored program, which, when executed, performs the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Channel coding, modulating and mapping method for hybrid automatic repeat request of low density parity check code
US20110239075A1
Method and apparatus for channel encoding / decoding in a communication or broadcasting system
US20170149528A1
