WO2008086735A1 - Method for generating hybrid automatic request retransmission packet of low density parity check code - Google Patents

Method for generating hybrid automatic request retransmission packet of low density parity check code Download PDF

Info

Publication number
WO2008086735A1
WO2008086735A1 PCT/CN2008/000078 CN2008000078W WO2008086735A1 WO 2008086735 A1 WO2008086735 A1 WO 2008086735A1 CN 2008000078 W CN2008000078 W CN 2008000078W WO 2008086735 A1 WO2008086735 A1 WO 2008086735A1
Authority
WO
WIPO (PCT)
Prior art keywords
bit
code
harq
codeword
packet
Prior art date
Application number
PCT/CN2008/000078
Other languages
French (fr)
Chinese (zh)
Inventor
Jun Xu
Zhifeng Yuan
Liujun Hu
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Publication of WO2008086735A1 publication Critical patent/WO2008086735A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/11Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
    • H03M13/1102Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/61Aspects and characteristics of methods and arrangements for error correction or error detection, not provided for otherwise
    • H03M13/618Shortening and extension of codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/63Joint error correction and other techniques
    • H03M13/6306Error control coding in combination with Automatic Repeat reQuest [ARQ] and diversity transmission, e.g. coding schemes for the multiple transmission of the same information or the transmission of incremental redundancy
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/63Joint error correction and other techniques
    • H03M13/635Error control coding in combination with rate matching
    • H03M13/6362Error control coding in combination with rate matching by puncturing
    • H03M13/6368Error control coding in combination with rate matching by puncturing using rate compatible puncturing or complementary puncturing
    • H03M13/6393Rate compatible low-density parity check [LDPC] codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0067Rate matching
    • H04L1/0068Rate matching by puncturing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]

Definitions

  • the present invention relates to the field of digital communications, and more particularly to a hybrid automatic request retransmission or HARQ packet generation method for low density parity check codes.
  • Figure 1 is a typical digital communication system in which all digital communication systems require a channel coder.
  • the channel encoder is designed to combat a wide variety of noises and disturbances during transmission. By artificially adding redundant information, the system has the ability to automatically correct errors, thus ensuring the reliability of digital transmission.
  • Low-density parity check codes are a class of linear block codes that can be defined with very sparse parity check matrices or bipartite graphs, originally discovered by Gallager, so called Gallager codes. After decades of silence, with the development of computer hardware and related theories, MacKay and Neal rediscovered it and proved its ability to approach the Shannon limit. Recent studies have shown that low-density parity codes have the following characteristics: low decoding complexity, linear time coding, performance close to Shannon's limit, parallel decoding, and better performance than Turbo codes under long code length conditions.
  • Low-density parity check code is a linear block code based on sparse check matrix. It is the sparsity of its check matrix that can realize low-complexity coding and decoding. Therefore, the LDPC code is put into practical use.
  • the aforementioned Gallager code is a regular LDPC code (regular LDPCC), and Luby and Mitzemnacher et al. generalize the Gallager code and propose a non-regular LDPC code (irregular LDPCC).
  • LDPC codes have many decoding algorithms. Among them, Message Passing algorithm or Belief Propagation algorithm (BP algorithm) is the mainstream and basic algorithm of LDPC codes. At present, there are many improved effective decoding algorithms. .
  • the graphical representation of the LDPC parity check matrix is a bipartite graph.
  • the bipartite graph and the check matrix have a corresponding relationship, and an M*N parity check matrix H defines a constraint that each N-bit codeword satisfies M parity sets.
  • a bipartite graph includes N variable nodes and M parity nodes.
  • LDPC code A special type of LDPC code has become a mainstream application due to its structured features.
  • the parity check matrix H of this LDPC code be a (Mxz)x(Nxz) matrix, which is composed of MxN block matrices, each block matrix is a different power of the basic permutation matrix of ⁇ , basic permutation
  • the matrix is a unit matrix, they are the cyclic shift matrix of the unit matrix (the default is right shift in the text).
  • the check matrix H has the following form:
  • the basic permutation matrix has the following form
  • z code length / number of columns of the base cell matrix n b , called the spreading factor.
  • the LDPC code codec needs to store a basic matrix.
  • the code length is large, Store a lot of ⁇ matrix, which will cause representation and storage problems. Therefore, when it is necessary to implement the variable code length, a low-density parity check code of a plurality of code lengths within a certain range of the same code rate uses a basic matrix of a form, which is defined as a unified basic matrix Hr.
  • Hr unified basic matrix
  • the correction is to use a spreading factor of different code lengths to correct the non-negative values in the basic matrix.
  • the corrected element value should be smaller than the spreading factor value under the code length.
  • correction algorithms For example, you can use mod, scale+floor, or scale+round to set the non-negative 1 element of the i-th row and j-th column of the base matrix. Correct the non-negative 1 element of the i-th row and j-th column of m ° d afterwards, with:
  • z is the expansion factor corresponding to the current code length, that is, the number of rows or columns of the block square matrix; 2 is the expansion factor corresponding to the maximum supported code length.
  • Mod is the modulo operation, L" is the bottom rounding operation, and Round is the rounding operation.
  • variable Rate The construction of the LDPC code guarantees the flexibility of the LDPC code to meet the requirements of the HARQ implementation.
  • two methods are required:
  • Puncturing Puncturing of BCH codes, convolutional codes, and turbo codes can be widely applied to obtain a flexible code rate. It is also possible to apply puncturing to the LDPC code. By appropriate puncturing, a series of high code rate codes can be obtained by removing (puncturing) the low code rate and some bits of the mother code code word. The encoder generates a complete set of parity face bits, but some bits are not sent (punctured). Decoder insertion wipe In addition to the location (erasures) to the punctured parity bits and then decoding code rate R m. It should be noted that erasure is generally represented by zero, and insertion erasure is to place a zero at the position of the punctured parity bit. The variable nodes of those punctured locations can be considered as erased.
  • Punctured parity bits as shown in Figure 2.
  • expansion unlike puncturing, expansion is to construct a low-density parity check code with variable code rate from high bit rate to low bit rate by adding more parity. For a certain bit rate
  • the code defining the above code rate R m is "base code”
  • the punctured mother code code word can obtain a low-density parity check code with a high code rate, and the mother code code word can be expanded.
  • the low-density parity check code with low code rate, the combination of puncturing and expansion guarantees that the designed low-density parity check code has a sufficiently flexible code rate and ensures sufficient performance, and supports incremental redundant HARQ.
  • the compiler is guaranteed to have as little coding error as possible.
  • Hybrid Automatic Request Retransmission HARQ is an extremely important link adaptation technique in wireless communication systems, which is a combination of coding (FEC) technology and automatic request retransmission (ARQ) technology.
  • the following is a brief introduction to the hybrid automatic request retransmission HARQ method, which includes the transmission method in the transmitter and the reception method in the receiver.
  • the method should be universal.
  • the sending method of the transmitter includes:
  • the transmitter sends the first HARQ packet on the designated HARQ channel, a new HARQ transmission starts, and the retransmission times counter is set to 1;
  • the transmitter waits for the acknowledgement/negation sent by the receiver (ACK/NAK);
  • step c After a certain delay (depending on the synchronous mode or the asynchronous mode, the delay is determined by the system, etc.), if the transmitter receives the ACK, the packet has been correctly received, and the HARQ transmission ends; No Bay ij, retransmission count counter Add 1 to determine whether the number of retransmissions exceeds the maximum number of allowed transmissions. If it exceeds, the current HARQ transmission ends. If not, go to step; d. The transmitter makes another HARQ attempt again on the HARQ channel of the current HARQ transmission, and the transmission time can be selected by the system, and the process goes to step b-.
  • the receiving method of the receiver (Reiciver) includes:
  • the receiver decoder combines the original erroneous and retransmitted coded packets according to a specific combining method; e. If correctly decoded, after a certain delay, sends an ACK in the feedback channel, which channel is allocated by the system; otherwise, sends a NAK , store this HARQ package.
  • the merged method may include full incremental redundancy, partial incremental redundancy, and Chase combining.
  • the hybrid automatic request retransmission HARQ implementation structure a large number of documents and books are introduced. Regardless of the method or structure, the generation of HARQ packets is critical and determines performance and complexity.
  • the present invention will provide a HARQ packet generation method based on the low density parity check code design of the present invention. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a low density parity check code HARQ packet generation method.
  • the present invention provides a hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the following steps:
  • the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word including a bit information packet, an extended parity bit packet, and a punctured parity bit packet, The generated codeword is sent to the HARQ buffer;
  • the low density parity check code has a code rate basic code, and the basic code is uniquely described by a base matrix m 6 x H 3 ⁇ 4 and an expansion factor z; the punctured basic code obtains a code higher than the code, the parity bits need to substantially code codeword puncturing; expansion rate base code to obtain code below, the increase in m b rows above the last row and last ⁇ ⁇ and an increased
  • the LDPC HARQ mother code codeword generating method comprises the following steps:
  • the encoder is based on '. "(Am 6 max ), spreading factor z, encoding the input ⁇ bit information packet, generating Bit codeword
  • N FIR K + (m b + Am 3 ⁇ 4 max ) z bit codeword.
  • step A2 the LDPC HARQ mother code codeword bit arrangement is performed based on the following formula, and the data of the i-th position before the arrangement is placed at the jth position after the arrangement.
  • L " represents the next rounding, i, j and 1 are all starting from o; i is the bit position index of the pre-arranged code words, j is the bit position index of the aligned code words, ⁇ i, j ⁇ K + (m b +Am b )z,' x is the number of padding bits.
  • P is a puncturing pattern vector with "3 ⁇ 4 elements, is from to" 6 constituting a integer of 1, is punctured index vector p 1 elements.
  • the selection pattern P is produced by pressing - v mt _ 2 ⁇ ... ⁇ P. The order produced.
  • the known ⁇ ,.,., ⁇ , generation method includes the following steps:
  • step A3 the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed in the i-th bit position of the kth HARQ packet.
  • '' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet with the index i, and the first bit corresponds.
  • the present invention also provides a hybrid automatic request retransmission packet generation method for another low density parity check code, the method comprising the following steps:
  • the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word includes a bit information packet, an extended check bit packet, and the deletion The remaining check bits are parsed, and the generated codeword is sent to the HARQ buffer;
  • the LDPC HARQ mother code codeword generating method comprises the following steps:
  • the encoder encodes the input bit information packet according to 11: - ' ⁇ ⁇ ), the spreading factor Z, and generates (+A 6 max bit codeword;
  • N FIR K + ⁇ m b + Am b maii )z ⁇ codeword.
  • step B2 the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed in the i-th bit position of the kth HARQ packet.
  • the present invention also provides a hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the following steps:
  • the low density parity check code encoder generates an NTM bit LDPC HARQ mother code codeword according to the input bit information group, the codeword includes a bit information packet, an extended check bit packet, and a punctured check bit packet, and generates The codeword is sent to the HARQ buffer;
  • W is the sum of the lengths of ffk HARQ packets: 0
  • the selection pattern p is generated according to , ⁇ P W _ 2 _>... ⁇ ⁇ .
  • the order produced. Known ⁇ ... ⁇ ), the production method includes the following steps:
  • the low-density parity check code has a code rate R m basic code, and the basic code can be uniquely described by a basic matrix "3 ⁇ 4> ⁇ H 6 and an expansion factor z;
  • the LDPC HARQ mother code codeword generating method comprises the following steps:
  • the system will provide the maximum expansion basis matrix required for coding (m 6 +Am 3 ⁇ 4 max )x(3 ⁇ 4 +Am 6 max ) °" (Am 3 ⁇ 4 max ) expansion factor Z and base matrix size parameters k b , n b + Am b ;
  • the encoder encodes the input k b z bit information packet according to W b xtension (Am 6 max ), spreading factor Z, and generates (3 ⁇ 4 + Bit codeword
  • N FIR K + (m b + Am b mm ) zt ⁇ codewords.
  • the present invention also provides a low density HARQ mother code codeword generation method comprising the following steps: a) The system will provide the maximum expansion basis matrix required for codinggorge3 ⁇ 4 + Am ) x(n b + Am x ) ⁇ ⁇ '"( ⁇ ⁇ ), expansion factor ⁇ and base matrix size parameter, n b +Am b ; b) if the input information packet ⁇ Z, i - needs to be filled with a known bit (such as zero) to constitute / ⁇ information packet;
  • the present invention also provides another low-density HARQ mother code codeword generation method, comprising the following steps: a) According to the information packet length matching principle, the system will provide the maximum expansion basis matrix required for coding (" ⁇ + ⁇ + ⁇ ⁇ ) U ' ension (Am b mm ) , expansion factor ⁇ and basis matrix size parameters k b , n b + ⁇ »3 ⁇ 4;
  • the weight is divided into three cases:
  • the method of the invention systematically solves the defects of incremental redundant HARQ support of LDPC codes, and proposes a HARQ packet generation method for various LDPC codes, which considers the expansion and deletion well.
  • the feature of the residual structured low-density parity check code makes the extended punctured structured low-density parity check code have a very efficient and very complete HARQ packet generation method.
  • the HARQ packet generation method of the present invention has two maximum advantages, one ensures that the performance of the high code rate LDPC code is as high as possible by making the extended puncturing structured low density parity check code have an optimal puncturing distribution. Optimal; another proposed to encode based on the actual code rate, significantly improving the efficiency of the coding. BRIEF abstract
  • Figure 1 is a typical digital communication system
  • Figure 3 is a first method of the method of the present invention
  • Figure 5 is a second method of the method of the present invention. Preferred embodiment of the invention
  • the present invention provides a method A for generating a hybrid automatic repeat request HARQ packet of an Extending-and-Puncturing structured low-density parity check code, the method A comprising the following steps. :
  • the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word including a bit information packet, an extended parity bit packet, and a punctured parity bit packet,
  • the generated codeword is sent to a HARQ buffer (buffer);
  • the low density parity check code is a structured expansion/puncturing low density parity check code, having a code rate, a basic code, and a basic matrix m 3 ⁇ 4 x 3 ⁇ 4 ⁇ and an expansion factor.
  • Unique description; after puncturing the basic codeword, the code with higher code rate is obtained; after the basic code is expanded, the code with lower code rate is obtained.
  • the +1)x of the low-density parity check code of the code rate R F!R (1) ⁇ is obtained ( 3 ⁇ 4 +1) basic matrix
  • ⁇ TM ⁇ reflects the maximum extent of the base matrix expansion, the lowest possible bit rate for the above low density parity check code 7? ⁇ «3 ⁇ 4
  • the above describes how to maximize the base matrix by puncturing expansion based on the base code.
  • the mother code code word can be obtained after puncturing and expanding. More specifically, in step Al t, as shown in FIG. 4, the LDPCHARQ mother code code word generating method includes the following steps:
  • the encoder is based on ⁇ ⁇ ' ⁇ . " ( ⁇ ⁇ ) , expansion factor ⁇ , encodes the input ⁇ bit information packet to generate (? 3 ⁇ 4 + ⁇ " ⁇ bit codeword; d) If / ⁇ has a padding bit, the padding bit is removed, and the final encoding generates a N ⁇ + ⁇ +A ⁇ bit codeword, where the N ⁇ bit codeword consists of K information bits and (m b + ⁇ nax z consists of z-bits, and the ("3 ⁇ 4 + Am 3 ⁇ 4 max ) z-bit calibration packet includes A ° ax ⁇ ⁇ expansion check bits and ⁇ 2 punctured parity bits.
  • step A1 the LDPC HARQ mother code codeword can also be generated by the following method, and the method includes the following steps:
  • the system will provide the maximum expansion basis matrix (m b + Am b max ) x(n b + ⁇ « 3 ⁇ 4 (Am b maK ), expansion factor Z and basic matrix size parameters required for coding. , n b +Am b ; b) If the input information packet ⁇ z, it is also necessary to fill a known bit (such as zero) to form a yt information packet;
  • step A2 the LDPC HARQ mother code codeword bit arrangement is performed based on the following formula.
  • the data of the i-th position before the arrangement is placed at the jth position after the arrangement.
  • P is a selection pattern vector, having ⁇ elements, consisting of integers from 1 to 1 , which is a predefined arrangement of the above elements. Careful selection of the pattern P is required to ensure the best possible puncturing distribution and to ensure that the performance of the punctured code is as optimal as possible.
  • P is the index of the selection vector P as / elements.
  • P is determined by the check matrix portion of the base matrix of the basic code / ⁇ ⁇ . According to the method
  • code word bit selection is one of the main steps, select the pattern ⁇ representation, first select the ⁇ of the base matrix ⁇ ⁇ . Column corresponding parity bits, if necessary, and then select the corresponding column of the basis matrix of parity bits 116, and so on.
  • the selection pattern P is generated according to P m6 _ 1 ⁇ P mi _ 2 ⁇ - ⁇ P. The order produced.
  • production methods include:
  • the element P can be generated; since the change from "3 ⁇ 4-1" to 0, ⁇ , ⁇ , . ⁇ can be generated in sequence, that is, the selection vector ⁇ can be obtained.
  • the selection vector ⁇ can be obtained.
  • 0, j is empty.
  • the codeword bit selection rule is selected based on the following formula. In the codeword after bit alignment, the bits of the obtained result according to the formula are selected and placed in the kth HARQ packet. ⁇ i bit position,
  • W is the sum of the lengths of the first k HARQ packets: ZW 0
  • the present invention further provides a method for generating a hybrid automatic retransmission request HARQ packet of another low density parity check code B.
  • the method B includes the following steps:
  • the low density parity check code encoder generates a 13 ⁇ 4 bit LDPC HARQ mother code codeword according to the input bit information group, the codeword includes a bit information packet, an extended face bit packet, and a punctured check bit packet, and the generated The codeword is sent to the HARQ buffer (buffer);
  • the LDPC HARQ mother code codeword generation method in the step B1) is the same as the LDPC HARQ mother code codeword generation method in the foregoing method A, and will not be described in detail herein. Same, in ⁇ no longer detailed "" description. , One ; , ', , , ,
  • the performance of the so-called puncturing code is optimal, that is, the puncturing code has the best BLER performance on the AWGN channel at each code rate.
  • the values of the selected pattern vectors are selected by different puncturing degrees through simulation.
  • the present invention does not limit the manner in which the optimal performance is specifically determined, and may be determined in other ways.
  • the present invention also provides a method C for generating a hybrid automatic repeat request HARQ packet of an Extending-and-Puncturing ⁇ density parity check code, the method C comprising the following steps:
  • the low density parity check code encoder generates an N FIR bit LDPCHARQ mother code code word according to the input bit information group, the code word includes a bit information packet, an extended check bit packet, and a punctured check bit packet, and the generated The codeword is sent to the HARQ buffer (buffer);
  • the LDPC HARQ mother code codeword generation method is the same as the LDPC HARQ mother code codeword generation method in the foregoing method A, and is not described in detail herein;
  • N ' R is the length of the HARQ mother code word
  • represents the length of the kth HARQ packet
  • P is the selection pattern vector, which has "3 ⁇ 4 elements, which are composed of integers from to, which are predefined arrangements of the above elements. You need to carefully select the pattern P to ensure the best possible puncturing distribution, guarantee puncturing The performance of the code is as optimal as possible.
  • P is the index of the selection vector P is / element P is determined by the check matrix portion of the basic matrix of the basic code 3 ⁇ 4 ⁇ H 6 .
  • the code word bit selection is one of the main steps, and the selection pattern P indicates that P of the basic matrix H 6 is first selected.
  • the selection pattern P is generated according to P m4 — !
  • the ⁇ constitutes a collection
  • select an element from R5fet When the ⁇ constitutes a collection, then select an element from R5fet.
  • the element can be generated due to the change from "3 ⁇ 4- 1 to 0", and ⁇ , ⁇ 15 , .., ⁇ can be generated in sequence. , that is, the selection vector ⁇ can be obtained.
  • the present invention provides method A and method
  • Method B and method C are three methods; where method A and method C have the same usage scenario, which is different from method B.
  • Method B has requirements for the structure of the basic matrix of the structured low-density parity check code, and method B gives a specific puncturing method.
  • the designed base matrix (or parity check matrix) should consider this method, that is, the corresponding deletion is required.
  • the base matrix (or parity check matrix) of the residual check node has an optimal puncturing distribution, which ensures that the performance of the punctured code is excellent enough.
  • Method A and Method C are not required for the structure of the underlying matrix of the structured low density parity check code.
  • the hybrid automatic request retransmission packet generation method of the low density parity check code of the invention systematically solves the defect of the incremental redundant HARQ support of the LDPC code, and realizes the support of the low density parity check code for HARQ, and gives A HARQ packet generation method based on the low density parity check code design of the present invention.
  • the extended puncturing structured low-density parity check code have the optimal puncturing distribution, the performance of the high-rate LDPC code is guaranteed to be as optimal as possible; on the other hand, based on the actual code rate, the encoding is performed. Significantly improved the efficiency of the coding.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)

Abstract

A method for generating hybrid automatic request retransmission packet of Low Density Parity Check code includes: A1) Low Density Parity Check code coder generates NFIR bit LDPC HARQ mother code codeword according to input K bit information packets; the codeword comprises bit information packets, extending check bit packets and puncturing check bit packets; the generated codeword is transmitted to the HARQ buffer (1); A2) the LDPC HARQ mother code codeword bit is rearranged in the HARQ buffer, the order of the information bit and the extending check bit is kept not changing, and the order of the puncturing check bit is changed (2); A3) the codeword bit from the rearranged HARQ mother code codeword is orderly selected; that is to say, the first transmission is started at the first system bit; then the starting position of every transmission follows the ending position of last transmission, in order to generate binary system sequence of the HARQ packet (3).

Description

一种低密度奇偶校验码的混合自动请求重传包生成方法  Hybrid automatic request retransmission packet generation method for low density parity check code
技术领域 Technical field
本发明涉及一种数字通信领域,特别是涉及低密度奇偶校验码的混合自 动清求重传即 HARQ包生成方法。  The present invention relates to the field of digital communications, and more particularly to a hybrid automatic request retransmission or HARQ packet generation method for low density parity check codes.
背景技术 Background technique
图 1是一个典型的数字通信系统,所有的数字通信系统都需要信道编码 器。信道编码器是为了抗击传输过程中各种各样的噪声和千扰,通过人为地 增加冗余信息,使得系统具有自动纠正差错的能力,从而保证数字传输的可 靠性。低密度奇偶校验码是一类可以用非常稀疏的奇偶校验矩阵或者二分图 定义的线性分组码, 最初由 Gallager发现, 所以称为 Gallager码。 经过数十 年的沉寂, 随着计算机硬件和相关理论的发展, MacKay和 Neal重新发现了 它, 并证明了它具有逼近香农限的性能。 最新研究表明, 低密奇偶校验码具 有以下特点: 低译码复杂度, 可线性时间编码, 具有逼近香农限的性能, 可 并行译码, 以及在长码长条件下性能优于 Turbo码。  Figure 1 is a typical digital communication system in which all digital communication systems require a channel coder. The channel encoder is designed to combat a wide variety of noises and disturbances during transmission. By artificially adding redundant information, the system has the ability to automatically correct errors, thus ensuring the reliability of digital transmission. Low-density parity check codes are a class of linear block codes that can be defined with very sparse parity check matrices or bipartite graphs, originally discovered by Gallager, so called Gallager codes. After decades of silence, with the development of computer hardware and related theories, MacKay and Neal rediscovered it and proved its ability to approach the Shannon limit. Recent studies have shown that low-density parity codes have the following characteristics: low decoding complexity, linear time coding, performance close to Shannon's limit, parallel decoding, and better performance than Turbo codes under long code length conditions.
低密度奇偶校验码即 LDPC(Low-density Parity-Check)码是一种基于稀 疏校验矩阵的线性分组码,正是利用它的校验矩阵的稀疏性, 才能实现低复 杂度的编译码,从而使得 LDPC码走向实用化。 前面提到的 Gallager码是一 种正则的 LDPC码( regular LDPCC ),而 Luby和 Mitzemnacher等人对 Gallager 码进行了推广, 提出非正则的 LDPC码(irregular LDPCC ) 。 LDPC码具有 很多译码算法, 其中, 信息传递算法(Message Passing algorithm )或者置信 度传播算法( Belief Propagation algorithm, BP算法)是 LDPC码的主流和基 础算法, 目前出现了很多改进的有效译码算法。  Low-density parity check code (LDPC) is a linear block code based on sparse check matrix. It is the sparsity of its check matrix that can realize low-complexity coding and decoding. Therefore, the LDPC code is put into practical use. The aforementioned Gallager code is a regular LDPC code (regular LDPCC), and Luby and Mitzemnacher et al. generalize the Gallager code and propose a non-regular LDPC code (irregular LDPCC). LDPC codes have many decoding algorithms. Among them, Message Passing algorithm or Belief Propagation algorithm (BP algorithm) is the mainstream and basic algorithm of LDPC codes. At present, there are many improved effective decoding algorithms. .
LDPC奇偶校验矩阵的图形表示形式是二分图。 二分图和校验矩阵之间 具有——对应的关系,一个 M*N的奇偶校验矩阵 H定义了每个具有 N比特 的码字满足 M个奇偶校验集的约束。一个二分图包括 N个变量节点和 M个 奇偶校验节点。 当第 m个校验涉及到第 n个比特位, 即 H中第 m行第 n列 的元素 Hm, n=l时,将有一根连线连接校验节点 m和变量节点 n。二分图中, 任何同一类的节点之间都不会有连接,并且二分图中的总边数和校验矩阵中 非零元素的个数相等。 The graphical representation of the LDPC parity check matrix is a bipartite graph. The bipartite graph and the check matrix have a corresponding relationship, and an M*N parity check matrix H defines a constraint that each N-bit codeword satisfies M parity sets. A bipartite graph includes N variable nodes and M parity nodes. When the mth check involves the nth bit, that is, the element H m of the mth row and the nth column in H, n = l, there will be a wire connecting the check node m and the variable node n. In the bipartite graph, There will be no connections between any nodes of the same class, and the total number of edges in the bipartite graph is equal to the number of non-zero elements in the check matrix.
一类特殊 LDPC码由于具有结构化的特征,逐渐成为主流应用。设这种 LDPC码的奇偶校睑矩阵 H为 (Mxz)x(Nxz)矩阵, 它是由 MxN个分块矩阵 构成, 每个分块矩阵都是 ζχζ的基本置换矩阵的不同幂次, 基本置换矩阵为 单位阵时, 它们都是单位阵的循环移位矩阵(文中默认为右移) 。  A special type of LDPC code has become a mainstream application due to its structured features. Let the parity check matrix H of this LDPC code be a (Mxz)x(Nxz) matrix, which is composed of MxN block matrices, each block matrix is a different power of the basic permutation matrix of ζχζ, basic permutation When the matrix is a unit matrix, they are the cyclic shift matrix of the unit matrix (the default is right shift in the text).
校验矩阵 H具有如下的形式:  The check matrix H has the following form:
Figure imgf000005_0001
Figure imgf000005_0001
基本置换矩阵具有如下形式  The basic permutation matrix has the following form
Figure imgf000005_0002
Figure imgf000005_0002
分块方阵的基础矩阵元素表示: 如果 不是大于等于零的整数, 有 = 0 , —般 可以用负 1表示。 如果 是等于 0, P 是一个 z x z的单位阵。 如果 7 ^是大于或者等于 0的整数, 定义 5 = (p j , 在这里 P是一个 Z X Z 的基本置换矩阵。 通过这样的幂次 就可以唯一标识每一个分块矩阵,单位矩阵的幂次可 用 0表示, 零矩阵的幂次一般用 -1来表示。 这样, 如果将 H的每个分块矩 阵都用它的幂次代替, 就得到一个" x?¾的幂次矩阵 。 这里, 定义 是 H 的基 矩阵, H称为 的扩展矩阵。 在实际编码时, z =码长 /基珀矩阵的 列数 nb, 称为扩展因子。
Figure imgf000006_0001
例如, 矩阵 H可以用下面的扩展因子 z=3和一个 m6 x = 2x 4的基石出矩 阵 ¾扩展得到:
The basic matrix element of the block square matrix means: If it is not an integer greater than or equal to zero, there is = 0, which can be represented by a negative one. If it is equal to 0, P is a unit matrix of zxz. If 7 ^ is an integer greater than or equal to 0, define 5 = ( pj , where P is a basic permutation matrix of ZXZ. By such a power, each block matrix can be uniquely identified, and the power of the identity matrix can be used. It is shown that the power of the zero matrix is generally represented by -1. Thus, if each block matrix of H is replaced by its power, a " x? 3⁄4 power matrix is obtained. Here, the definition is H. The base matrix, H is called the extension matrix. In actual coding, z = code length / number of columns of the base cell matrix n b , called the spreading factor.
Figure imgf000006_0001
For example, the matrix H can be extended with the following expansion factor z=3 and a cornerstone out matrix 3⁄4 of m 6 x = 2x 4:
0 1 0 - 1  0 1 0 - 1
z 2 1 2 1 z 2 1 2 1
Figure imgf000006_0002
如果对于每个不同的扩展因子, LDPC码都采用一个基础矩阵, 那么, 对于每个不同的码长, 所述的 LDPC码编译码器都需要存储一个基础矩阵, 当码长很多时,就要存储很多 ^出矩阵,这样会出现表示和存储问题。因此, 当需要实现变码长的时候,同一码率的一定范围内多种码长的低密度奇偶校 验码会使用统一个形式的基础矩阵, 我们定义为统一基础矩阵 Hr 。 不同 码长时, 若对 Hr 进行修正和扩展, 可以得到奇偶校验矩阵 Η, 使得生成 的编译码器可适用于码长可变的场合。
Figure imgf000006_0002
If the LDPC code uses a basic matrix for each different spreading factor, then for each different code length, the LDPC code codec needs to store a basic matrix. When the code length is large, Store a lot of ^ matrix, which will cause representation and storage problems. Therefore, when it is necessary to implement the variable code length, a low-density parity check code of a plurality of code lengths within a certain range of the same code rate uses a basic matrix of a form, which is defined as a unified basic matrix Hr. When the code length is different, if the Hr is modified and extended, the parity check matrix Η can be obtained, so that the generated codec can be applied to the case where the code length is variable.
修正是利用不同码长的扩展因子对基础矩阵 中的非负值进行修正, 修正后元素值应小于该码长下的扩展因子值。修正算法有很多种, 例如, 可 以采用取模 (mod)、取整 (scale+floor)或舍入 (scale+round)等,设 为基础矩阵 第 i行第 j列的非负 1元素, 为修正以后 m°d 的第 i行第 j列的非负 1元素, 有: The correction is to use a spreading factor of different code lengths to correct the non-negative values in the basic matrix. The corrected element value should be smaller than the spreading factor value under the code length. There are many correction algorithms. For example, you can use mod, scale+floor, or scale+round to set the non-negative 1 element of the i-th row and j-th column of the base matrix. Correct the non-negative 1 element of the i-th row and j-th column of m ° d afterwards, with:
对于取模 (mod)方法:  For the mod method:
, N  , N
≡ Pv mod z≡ Py mod― ≡ P v mod z≡ P y mod―
nb  Nb
对于取整(scale+floor)方法:
Figure imgf000006_0003
For the rounding/floor method:
Figure imgf000006_0003
对于舍入(scale+round)方法: P' = RoundFor rounding (round+round) methods: P' = Round
Figure imgf000007_0001
其中, z为当前码长对应的扩展因子, 即分块方阵的行数或者列数; 2 为最大支持码长对应的扩展因子。 mod为取模操作, L」为下取整操作, Round 为四舍五入操作。
Figure imgf000007_0001
Where z is the expansion factor corresponding to the current code length, that is, the number of rows or columns of the block square matrix; 2 is the expansion factor corresponding to the maximum supported code length. Mod is the modulo operation, L" is the bottom rounding operation, and Round is the rounding operation.
例如, 对于码长 1152比特低密度奇偶校验码, 设其基础矩阵某个非负 元素为 93, 设支持的最大码长为 2304, 基础矩阵大小为 12*24, 则其修正 结果为:  For example, for a low-density parity check code with a code length of 1152 bits, set a non-negative element of the base matrix to 93, a maximum supported code length of 2304, and a base matrix size of 12*24. The corrected result is:
对于取模 (mod)方法:  For the mod method:
1 152  1 152
93mod^^ = 93 mod 48 = 45  93mod^^ = 93 mod 48 = 45
24  twenty four
对于取整(scale+f loor)方法:  For the rounding (scale+f loor) method:
1152  1152
93 χ- = |_46·5」 = 46  93 χ- = |_46·5" = 46
2304- 对于舍入(scale+round)方法:  2304- For the rounding (scale+round) method:
1152  1152
Round(93 x^^-) = Round(46.5) = 47 这种特定码率可变码长的低密度奇偶校验码由于具有同一形式的基础 矩阵, 所以完全可以用一个编码器 /译码器。  Round(93 x^^-) = Round(46.5) = 47 This low-density parity check code with a variable code length of a specific code rate can use an encoder/decoder with the same form of the base matrix. .
可变码率 LDPC码的构造保证了 LDPC码的灵活性, 从而满足 HARQ 实现的需求。 为了构造可变码率的 LDPC码, 需要使用两种方法:  Variable Rate The construction of the LDPC code guarantees the flexibility of the LDPC code to meet the requirements of the HARQ implementation. In order to construct a variable bit rate LDPC code, two methods are required:
传统的删余 (puncturing)方法和特殊的扩张 (extending)方法。 研究表明, 删余适用于高码率时候(如码率大于 1/2-2/3 ),扩张适合于低码率的时候(如 码率小于 1/2-2/3 )。删余和扩张两种方法相结合提供了一种码率从低到高灵 活可变的低密度奇偶校验码码结构, 如图 2, 它提供了接近最优的性能。  Traditional puncturing methods and special extension methods. Studies have shown that puncturing applies to high code rates (eg, code rates greater than 1/2-2/3), and expansion is appropriate for low bit rates (eg, code rates less than 1/2-2/3). The combination of puncturing and expansion provides a low-density parity-check code structure with a low-to-high code rate, as shown in Figure 2, which provides near-optimal performance.
下面解释一下 "删余":可以广泛地应用删余于 BCH码、卷积码和 turbo 码以获得灵活的码率。 同样可以应用删余于 LDPC码。通过合适删余, 通过 去掉(打孔)低码率 ,母码码字中部分比特可以获得一系列高码率码。编码 器生成奇偶校脸比特完全集, 但是某些比特不发送(删余)。 译码器插入擦 除 (erasures)到删余校验比特的位置上, 然后进行码率为 Rm译码。 需要指出, 擦除一般用零表示,插入擦除也就是在删余校验比特的位置上放零。可以将 那些删余位置的变量节点看成擦除。在这里,我们定义满足上述描述的被去 掉的码字比特为 "删余校验比特" , 如图 2所示。 The following explains "puncturing": puncturing of BCH codes, convolutional codes, and turbo codes can be widely applied to obtain a flexible code rate. It is also possible to apply puncturing to the LDPC code. By appropriate puncturing, a series of high code rate codes can be obtained by removing (puncturing) the low code rate and some bits of the mother code code word. The encoder generates a complete set of parity face bits, but some bits are not sent (punctured). Decoder insertion wipe In addition to the location (erasures) to the punctured parity bits and then decoding code rate R m. It should be noted that erasure is generally represented by zero, and insertion erasure is to place a zero at the position of the punctured parity bit. The variable nodes of those punctured locations can be considered as erased. Here, we define the removed codeword bits that satisfy the above description as "punctured parity bits", as shown in Figure 2.
下面解释一下 "扩张" :不同于删余, 扩张是通过增加更多的奇偶校验 从高码率到低码率构建码率可变的低密度奇偶校验码。 对于某个码率为 The following explains "expansion": unlike puncturing, expansion is to construct a low-density parity check code with variable code rate from high bit rate to low bit rate by adding more parity. For a certain bit rate
Rm = 的 LDPC码,增加 Δ 个奇偶校验,则将在上述 LDPC码的(M,N)奇偶校 N LDPC code of R m =, adding Δ parity, then the (M, N) parity of the above LDPC code
-验矩阵上增加 Δ 行和增加 Δ 列 , 此时扩张后矩阵大小为 - increase the Δ row and increase the Δ column on the matrix, then the matrix size after expansion is
(Μ + ΑΜ) χ (Ν + ΑΜ) , 得到扩张码的码率变为 T' i。" = ~ - ~ ,通过调整 Δ 可 (Μ + ΑΜ) χ (Ν + ΑΜ) , the code rate of the extended code is changed to T' i . " = ~ - ~ , by adjusting Δ
Ν+ ΔΜ  Ν+ ΔΜ
以获得一系列低码率码, 其中 M=N- K。 在这里, 我们定义满足上述描述的增 加奇偶校验比特的为 "扩张校验比特" , 如图 2所示。 在图 2中, 定义上述的码率为 Rm的码为 "基本码", 删余母码码字就可 以得到码率高 ^的低密度奇偶校验码, 扩张母码码字就可以得到码率低 的低密度奇偶校验码,删余和扩张结合保证了设计的低密度奇偶校验码具有 足够灵活的码率, 并且保证足够好的性能, 很好的支持了递增冗余 HARQ, 保证了编译器具有尽可能小的编译码复杂度。 混合自动请求重传 HARQ是一种无线通信系统中极其重要的链路自适 应技术, 它是编码(FEC )技术和自动请求重传(ARQ )技术的结合。 A series of low code rate codes are obtained, where M = N - K. Here, we define an "expanded check bit" that satisfies the above-described increase of parity bits, as shown in FIG. In FIG. 2, the code defining the above code rate R m is "base code", and the punctured mother code code word can obtain a low-density parity check code with a high code rate, and the mother code code word can be expanded. The low-density parity check code with low code rate, the combination of puncturing and expansion guarantees that the designed low-density parity check code has a sufficiently flexible code rate and ensures sufficient performance, and supports incremental redundant HARQ. The compiler is guaranteed to have as little coding error as possible. Hybrid Automatic Request Retransmission HARQ is an extremely important link adaptation technique in wireless communication systems, which is a combination of coding (FEC) technology and automatic request retransmission (ARQ) technology.
下面就对混合自动请求重传 HARQ方法做一个简单介绍, 该方法包括 发送机中的发送方法和接收机中的接收方法两部分, 该方法应该是通用的。  The following is a brief introduction to the hybrid automatic request retransmission HARQ method, which includes the transmission method in the transmitter and the reception method in the receiver. The method should be universal.
发送机 ( Transmitter )的发送方法包括:  The sending method of the transmitter (Transmitter) includes:
a.发送机在指定的 HARQ信道发送第一个 HARQ包, 一个新的 HARQ 传输开始, 重传次数计数器置 1;  a. The transmitter sends the first HARQ packet on the designated HARQ channel, a new HARQ transmission starts, and the retransmission times counter is set to 1;
b.发送机等待接收机发送的确认 /否认 ( ACK/NAK );  b. The transmitter waits for the acknowledgement/negation sent by the receiver (ACK/NAK);
c.在一定延迟后(取决于同步方式还是异步方式,延迟由系统等决定), 如果发送机收到 ACK, 则此包已经正确接收, 本次 HARQ传输结束; 否贝 ij , 重传次数计数器加 1, 判断重传次数是否超过最大允许传输次数, 若超过, 则本次 HARQ传输结束, 若没有超过, 则转至步驟 ; d.发送机在本次 HARQ传输的 HARQ信道再次做另一个 HARQ的尝 试, 发送时间可以由系统选择, 转至步骤 b -。 c. After a certain delay (depending on the synchronous mode or the asynchronous mode, the delay is determined by the system, etc.), if the transmitter receives the ACK, the packet has been correctly received, and the HARQ transmission ends; No Bay ij, retransmission count counter Add 1 to determine whether the number of retransmissions exceeds the maximum number of allowed transmissions. If it exceeds, the current HARQ transmission ends. If not, go to step; d. The transmitter makes another HARQ attempt again on the HARQ channel of the current HARQ transmission, and the transmission time can be selected by the system, and the process goes to step b-.
接收机 ( Reiciver )的接收方法包括:  The receiving method of the receiver (Reiciver) includes:
a.接收 HARQ包, 确认收到的包是否为笫一个 HARQ尝试, 如果是, 转至步骤 b.; 否则转至步骤 d.;  a. Receive the HARQ packet, confirm whether the received packet is a HARQ attempt, and if yes, go to step b.; otherwise, go to step d.;
b.丟弃在此 HARQ信道下的所有以前收到的 HARQ尝试;  b. Discard all previously received HARQ attempts under this HARQ channel;
c.对包进行解码, 转至步骤 e.;  c. Decode the packet and go to step e.;
d.接收机解码器根据特定合并方法组合原错误的和重传的编码包; e.如果正确解码, 则在一定延迟后, 在反馈信道中发送 ACK, 此信道 由系统分配; 否则, 发送 NAK, 存储此 HARQ包。  d. The receiver decoder combines the original erroneous and retransmitted coded packets according to a specific combining method; e. If correctly decoded, after a certain delay, sends an ACK in the feedback channel, which channel is allocated by the system; otherwise, sends a NAK , store this HARQ package.
上述接收方法的步驟 d中,合并的方法可能包括完全递增冗余、部分递 增冗余和 Chase合并。  In step d of the above receiving method, the merged method may include full incremental redundancy, partial incremental redundancy, and Chase combining.
对混合自动请求重传 HARQ实现结构, 大量文献和书籍都有介绍。 无 论是方法还是结构, HARQ包的产生都是置关重要的,决定了性能和复杂度。  The hybrid automatic request retransmission HARQ implementation structure, a large number of documents and books are introduced. Regardless of the method or structure, the generation of HARQ packets is critical and determines performance and complexity.
由于 HARQ是一种非常重要的链路自适应技术, 所以一个好的低密度 奇偶校验码必须要支持 HARQ的实现, 这也是本发明最重要的目的。 本发 明将给出基于本发明的低密度奇偶校验码设计的 HARQ包产生方法。 发明内容  Since HARQ is a very important link adaptation technique, a good low density parity check code must support the implementation of HARQ, which is also the most important object of the present invention. The present invention will provide a HARQ packet generation method based on the low density parity check code design of the present invention. Summary of the invention
本发明要解决的技术问题是提供一种低密度奇偶校验码 HARQ 包生成 方法。  The technical problem to be solved by the present invention is to provide a low density parity check code HARQ packet generation method.
为达到以上目的,本发明提供一种低密度奇偶校验码的混合自动请求重 传包生成方法, 所述方法包括以下步骤:  To achieve the above object, the present invention provides a hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the following steps:
A1 ) 、 低密度奇偶校验码编码器根据输入 比特信息分組生成 NFIR比 特 LDPC HARQ母码码字,所述码字包括比特信息分组、扩张校验比特分组 和删余校验比特分组, 所述生成的码字送到 HARQ緩冲器; A1), the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word including a bit information packet, an extended parity bit packet, and a punctured parity bit packet, The generated codeword is sent to the HARQ buffer;
A2 ) 、 重排 HARQ緩冲器中 LDPC HARQ母码码字比特, 保持信息比 特、 扩张校验比特顺序不变, 改变删余校验比特顺序; A2), rearrange the LDPC HARQ mother code codeword bits in the HARQ buffer, and maintain the information ratio The order of the expansion check bits is unchanged, and the order of the punctured check bits is changed;
A3 ) 、 从重排后 HARQ母码码字中顺序地选择码字比特, 即第一次传 输从第一个系统比特开始,以后每次传输的开始位置紧跟上一次传输结束的 位置, 生成的 HARQ包的二进制序列。 根据本发明的方法,在步骤 A1中,所述的低密度奇偶校验码有码率为 基本码, 基本码用基础矩阵 m6x H¾和扩张因子 z唯一描述; 删余基本码 得到码率高于 的码,需要对基本码码字的校验比特进行删余;扩张基本码 得到码率低于 的码, 在上述 Ηέ的最后一行和最后一列增加 mb行和增加A3), sequentially selecting codeword bits from the rearranged HARQ mother code codeword, that is, the first transmission starts from the first systematic bit, and then the start position of each transmission follows the end of the previous transmission, generating The binary sequence of the HARQ packet. According to the method of the present invention, in step A1, the low density parity check code has a code rate basic code, and the basic code is uniquely described by a base matrix m 6 x H 3⁄4 and an expansion factor z; the punctured basic code obtains a code higher than the code, the parity bits need to substantially code codeword puncturing; expansion rate base code to obtain code below, the increase in m b rows above the last row and last Η έ and an increased
Amb列 , 得到码率为 RF» ~^ ""一的低密度奇偶校验码的 Am b column, obtain a low density parity check code with a code rate of R F » ~^ ""
mb + Amb m b + Am b
(mb +Amb)x (nb + Δ»¾ )最大扩张基础矩阵。 (m b +Am b )x (n b + Δ»3⁄4 ) maximum expansion base matrix.
根据本发明的方法, 在步驟 A1 中, LDPC HARQ母码码字生成方法, 包 括以下步骤: According to the method of the present invention, in step A1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a)系统提供编码所需要的最大扩张基础矩阵(《¾ +Amb max)x(nb +Amb mm)a) The system provides the maximum expansion basis matrix required for coding ("3⁄4 + Am b max ) x (n b + Am b mm )
H sion (Amb max )、 扩展因子 Z和基础矩阵大小参数 kb、 nb+ AmbH sion (Am b max ), spreading factor Z and basic matrix size parameters k b , n b + Am b ;
b) 若输入信息分组 iT<^z, 还需要填充已知比特(如零)构成 言息 分组;  b) If the input information group iT<^z, it is also necessary to fill a known bit (such as zero) to form a message group;
C) 编码器根据 '。"(Am6 max)、 扩展因子 z, 对输入^比特信息分组进 行编码, 生成
Figure imgf000010_0001
比特码字;
C) The encoder is based on '. "(Am 6 max ), spreading factor z, encoding the input ^ bit information packet, generating
Figure imgf000010_0001
Bit codeword
d) 若 /^有填充比特, 去掉填充比特, 最终编码生成 d) If /^ has padding bits, remove the padding bits, and finally generate the code
NFIR =K + (mb + Am¾ max)z比特码字。 N FIR = K + (m b + Am 3⁄4 max ) z bit codeword.
根据本发明的方法, 在步骤 A2中, LDPC HARQ母码码字比特排列是基 于以下公式进行, 将排列前第 i位置的数据放到排列后第 j位置,  According to the method of the present invention, in step A2, the LDPC HARQ mother code codeword bit arrangement is performed based on the following formula, and the data of the i-th position before the arrangement is placed at the jth position after the arrangement.
^i≥mh'Z^i≥m h 'Z
κ 其它 κ other
Figure imgf000010_0002
Figure imgf000010_0002
其中, L」表示下取整, i、 j和 1都是从 o开始的; i是排列前码字的 比特位置索引, j是排列后码字的比特位置索引, ≤i,j <K + (mb +Amb)z,' x是填充比特的数目。 P是删余图样向量, 有" ¾个元素, 是由从 到 "61的整数构成, 是删 余向量 p的索引为 1个元素。 根据本发明的方法, 选择图样 P产生是按,照 - vmt_2→…→ P。的顺序 产生的。 已知 {^,.,., ^}, 产生 方法包括以下步骤: Where L " represents the next rounding, i, j and 1 are all starting from o; i is the bit position index of the pre-arranged code words, j is the bit position index of the aligned code words, ≤ i, j < K + (m b +Am b )z,' x is the number of padding bits. P is a puncturing pattern vector with "¾ elements, is from to" 6 constituting a integer of 1, is punctured index vector p 1 elements. According to the method of the present invention, the selection pattern P is produced by pressing - v mt _ 2 →... → P. The order produced. The known {^,.,., ^}, generation method includes the following steps:
在集合 Re mainSet = ,… , "δ - 1} / . +1 · · , }中选择一个元素, 剩余的元素 构成一个新的集合 Re mainSet\{j); Select an element in the set Re mainSet = ,... , " δ - 1} / . +1 · · , }, and the remaining elements form a new set Re mainSet\{j);
确定 Remi»¾¾tl{_/}对应的校验矩阵部分为 H^ Z) ,确定 H, /)最小行重量 和重量为 ^=( )行数 ^= ( ; Determine the part of the check matrix corresponding to Remi»3⁄43⁄4tl{_/} as H^Z), and determine H , /) the minimum line weight and weight are ^=( ) lines ^= ( ;
, 再 确 定 元素即可得到^
Figure imgf000011_0001
根据本发明的方法, 在步骤 A3中, 码字比特选择规则是基于以下公式 进行选择的, 并将选择得到的结果位置的比特, 放到第 k个 HARQ包的第 i 个比特位置,
, then determine the element to get ^
Figure imgf000011_0001
According to the method of the present invention, in step A3, the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed in the i-th bit position of the kth HARQ packet.
SkJ = (L total(k-r) + i)mod(N ) S kJ = ( L t o tal (kr) + i) mod(N )
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次传输 时 k=0, 第二次传输时 k=l, 对于下一次传输 k加 1;  Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, and 1 for the next transmission k;
k-l  K-l
(&)是前 k个 HARQ包的长度之和: Ltotal{k)^L 设1^。,(- 1) = 0 (&) is the sum of the lengths of the first k HARQ packets: L total {k)^L Let 1^. , (- 1) = 0
7=0  7=0
是 HARQ母码码字的长度; ,' '表示第 k个 HARQ包的位置索引, 用于标识当前 HARQ包中索引为 i 的比特位置, 第一个比特对应 . '·=0 ( i=0) , 其中 i从 0开始; Is the length of the HARQ mother code codeword; '' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet with the index i, and the first bit corresponds. '· =0 (i=0 ) , where i starts at 0;
表示第 k个 HARQ包的长度。 本发明还提供了另一种低密度奇偶校验码的混合自动请求重传包生成 方法, 所述方法包括以下步珮:  Indicates the length of the kth HARQ packet. The present invention also provides a hybrid automatic request retransmission packet generation method for another low density parity check code, the method comprising the following steps:
B1) 、 低密度奇偶校验码编码器根据输入 比特信息分组生成 NFIR比特 LDPC HARQ母码码字, 所述码字包括比特信息分组、 扩张校验比特分组和删 余校验比特分组, 生成的码字送到 HARQ緩冲器; B1), the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word includes a bit information packet, an extended check bit packet, and the deletion The remaining check bits are parsed, and the generated codeword is sent to the HARQ buffer;
B2 ) 、 从 HARQ緩冲器中顺序地选择 LDPC HARQ码字比特序列, 即第一 次传输从第一个系统比特开始,以后每次传输的开始位置紧跟上一次传输结 束的位置, 生成的 HARQ包的二进制序列。 根据本发明的方法,在步骤 B1中 ,所述的低密度奇偶校验码有码率为 Rm 基本码, 基本码用基础矩阵 Hfc和扩张因子 z唯一描述; 删余基本码 码字得到码率高于 R„,的码,需要对基本码码字的校验比特进行删余;扩张基 本码得到码率低于 的码,在上述 Hfc的最后一行和最后一列增加 A 6行和增 加 Δ«¾列, 得到码率为 RFI» -一的低密度奇偶校验码的 mb + Amb B2), sequentially selecting an LDPC HARQ codeword bit sequence from the HARQ buffer, that is, the first transmission starts from the first system bit, and the start position of each transmission follows the end of the previous transmission, and is generated. The binary sequence of the HARQ packet. The method according to the present invention, in the step B1, the low density parity check code with a code rate R m basic code, the base matrix with the basic code and the expansion factor z H fc unique description; substantially punctured code codeword obtained A code whose code rate is higher than R „, requires puncturing of parity bits of the basic code code word; expanding the basic code to obtain a code having a lower code rate, and adding A 6 lines in the last row and the last column of the above H fc Add Δ«3⁄4 column to get m b + Am b of low density parity check code with code rate R FI » -1
(mb +Amb)x (nb + Δ»¾ )最大扩张基础姖阵。 根据本发明的方法, 在步骤 B1 中, LDPC HARQ母码码字生成方法包括 以下步骤: (m b +Am b )x (n b + Δ»3⁄4 ) maximum expansion basis matrix. According to the method of the present invention, in step B1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a)系统将提供编码所需要的最大扩张基础矩阵 (m6 +Amrx)x(nb +Am,max)a) The system will provide the maximum expansion basis matrix (m 6 +Amr x )x(n b +Am, max ) required for coding
H,««(Ao¾max)、 扩展因子 z和基础矩阵大小参数 、 nb+Amb; b)若输入信息分组 <^z, 还需要填充已知比特(如零)构成 kbz信息 分组; H , «« (Ao3⁄4 max ) , the spreading factor z and the base matrix size parameter, n b +Am b ; b) If the input information packet <^ z , it is also necessary to fill the known bits (such as zero) to form the k b z information packet ;
C)编码器根据 11:—'^ ^)、扩展因子 Z,对输入 比特信息分組进行 编码, 生成 ( +A 6 max 比特码字; C) the encoder encodes the input bit information packet according to 11: - '^ ^), the spreading factor Z, and generates (+A 6 max bit codeword;
d) 若 kbZ 有填充比特, 去掉填充比特, 最终编码生成d) If k bZ has padding bits, remove the padding bits, and finally generate the code
NFIR =K + {mb+ Amb maii)z 匕特码字。 N FIR =K + {m b + Am b maii )z 匕 codeword.
根据本发明的方法, 在步骤 B2中, 码字比特选择规则是基于以下公式 进行选择的, 并将选择得到的结果位置的比特, 放到第 k个 HARQ包的第 i 个比特位置,  According to the method of the present invention, in step B2, the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed in the i-th bit position of the kth HARQ packet.
SkJ=(Llota!(k-l) + i)mod(Nm) S kJ = (L lota! (kl) + i) mod(N m )
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次传输 时 k-0, 第二次传输时 k=l, 对于下一次传输 k加 1;  Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k-0 for the first transmission, k=l for the second transmission, and 1 for the next transmission k;
A。to,W是前 k个 HARQ包的长度之和: toto/W =∑Z.5 设 ^(- 1) = 0 N HARQ母码码字的长度; ,'表示第 k个 HARQ包的位置索引, 用于标识当前 HARQ包中索引为 i 的比特位置, 第一个比特对应 = 0 ( i=0) , 其中 i从 0开始; A. To , W is the sum of the lengths of the first k HARQ packets: toto / W = ∑ Z. 5 set ^ (- 1) = 0 N The length of the HARQ mother code code word; , ' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet with index i, the first bit corresponds to = 0 (i=0), where i starts from 0;
表示第 k个 HARQ包的长度。 本发明还提供另外一种低密度奇偶校验码的混合自动请求重传包生成 方法, 所述方法包括以下步骤:  Indicates the length of the kth HARQ packet. The present invention also provides a hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the following steps:
C1) 、 低密度奇偶校验码编码器根据输入 比特信息分組生成 N™比特 LDPC HARQ母码码字, 所述码字包括比特信息分组、 扩张校验比特分组和删 余校验比特分组, 生成的码字送到 HARQ緩冲器;  C1), the low density parity check code encoder generates an NTM bit LDPC HARQ mother code codeword according to the input bit information group, the codeword includes a bit information packet, an extended check bit packet, and a punctured check bit packet, and generates The codeword is sent to the HARQ buffer;
C2) 、 从 HARQ緩冲器中依据以下公式选择 LDPC HARQ码字比特, 并将 选择得到的结果位置的比特, 放到第 k个 HARQ包的第 i个比特位置, 生成 HARQ包,  C2), selecting an LDPC HARQ codeword bit from the HARQ buffer according to the following formula, and placing the bit of the selected result position into the ith bit position of the kth HARQ packet to generate a HARQ packet,
(i)mod(Nm) i≤K i≥mb-z (i) mod(N m ) i ≤ K i ≥ m b -z
i + x  i + x
(Ltotal (A: 1) + P, x z + (( + x) mod z ) mod (NIR )且 /: k≠09mh-z>i> K (L total (A: 1) + P, xz + (( + x) mod z ) mod (N IR ) and /: k≠0 9 m h -z>i> K
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次传输 时 k=0, 第二次传输时 k=l, 对于下一次传输 k加 1; L」表示下取整, i和 1都是从 0开始的, i是排列前码字的比特位置索引; (^ + i^+A Jz; X是填充比特的数目。 Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, plus 1 for the next transmission k; L” means rounding down, Both i and 1 start from 0, i is the bit position index of the pre-arranged codeword; (^ + i^+A Jz; X is the number of padding bits.
A。to,W是 ffk个 HARQ包的长度之和: 0A. To , W is the sum of the lengths of ffk HARQ packets: 0
Figure imgf000013_0001
Figure imgf000013_0001
NFIR是 HARQ母码码字的长度; ,'表示第 k个 HARQ包的位置索引, 用于标识当前 HARQ包中索引为 i 的比特位置, 第一个比特对应 , ' =0 ( i=0) , 其中 i从 0开始; NFIR is the length of the HARQ mother code codeword; 'is the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet index i, the first bit corresponds, ' =0 ( i=0) , where i starts at 0;
表示第 k个 HARQ包的长度;  Indicates the length of the kth HARQ packet;
P是删余图样向量, 有 ^个元素, 是由从 到 "6-1的整数构成, P/是删 余向量 P的索引为 1个元素。 根据本发明的方法, 选择图样 p产生是按照 , PW _2 _>… ρ。的顺序 产生的。 已知 ^…^^^), 产生 方法包括以下步驟: P is a punctured pattern vector having ^ elements, which is composed of an integer from "6-1", and P/ is an index of the punctured vector P as one element. According to the method of the present invention, the selection pattern p is generated according to , P W _ 2 _>... ρ. The order produced. Known ^...^^^), the production method includes the following steps:
在集合 Re wK^&t = -\}l{PM,-,Pni}中选择一个元素, 剩余的元素 构成一个新的集合 Re mainSet\{j); Select an element in the set Re wK^&t = -\}l{P M ,-,P ni }, and the remaining elements form a new set Re mainSet\{j);
确定 Re azT^tll/}对应的校验矩阵部分为 H,C) ,确定 H /( )最小行重量 和重量为 行数 W= /); Determine the part of the check matrix corresponding to Re azT^tll/} as H , C) , and determine the minimum line weight and weight of H / ( ) as the number of rows W = /);
, 再 确 定 元素即可得到 。
Figure imgf000014_0001
根据本发明的方法,在步骤 C1中,所述的低密度奇偶校验码有码率为 Rm 基本码, 基本码可以用基础矩阵》¾>^ H6和扩张因子 z唯一描述; 删余基 本码码字得到码率高于 的码,需要对基本码码字的校验比特进行删余;扩 张基本码得到码率低于 的码,在上述 Ηέ的最后一行和最后一列增加 mb行 和增加 Am6列, 得到码率为 Λ(Δ¾) = ^^的低密度奇偶校验码的
, then determine the element to get.
Figure imgf000014_0001
According to the method of the present invention, in step C1, the low-density parity check code has a code rate R m basic code, and the basic code can be uniquely described by a basic matrix "3⁄4>^ H 6 and an expansion factor z; The basic code code word obtains a code with a higher code rate, and needs to punctrate the check bits of the basic code code word; expand the basic code to obtain a code with a lower code rate, and add m b in the last row and the last column of the above Η Line and increase the Am 6 column to obtain a low density parity check code with a code rate of Λ(Δ3⁄4 ) = ^^
mb + Amb m b + Am b
(mb +Amb)x (nb + Δ»¾ )最大扩张基石出矩阵。 根据本发明的方法, 在步骤 C1 中, LDPC HARQ母码码字生成方法包括 以下步骤: (m b +Am b )x (n b + Δ»3⁄4 ) maximum expansion basal exit matrix. According to the method of the present invention, in step C1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a) 系统将提供编码所需要的最大扩张基础矩阵 (m6 +Am¾ max)x(¾ +Am6 max) °" (Am¾ max ) 扩展因子 Z和基础矩阵大小参数 kb、 nb+ Amba) The system will provide the maximum expansion basis matrix required for coding (m 6 +Am 3⁄4 max )x(3⁄4 +Am 6 max ) °" (Am 3⁄4 max ) expansion factor Z and base matrix size parameters k b , n b + Am b ;
b)若输入信息分组^: < z, 还需要填充已知比特(如零)构成/ ^信息 分组; b) If the input information group ^: < z , it is also necessary to fill a known bit (such as zero) to constitute / ^ information packet;
C) 编码器根据 Wb xtension (Am6 max)、 扩展因子 Z , 对输入 kbz比特信息分組进 行编码, 生成 (¾ +
Figure imgf000014_0002
比特码字;
C) The encoder encodes the input k b z bit information packet according to W b xtension (Am 6 max ), spreading factor Z, and generates (3⁄4 +
Figure imgf000014_0002
Bit codeword
d) 若 kbz有填充比特, 去掉填充比特, 最终编码生成 NFIR =K + (mb + Amb mm)z t匕特码字。 d) If k b z has padding bits, the padding bits are removed and finally encoded to generate N FIR =K + (m b + Am b mm ) zt 码 codewords.
本发明还提供一种低密度 HARQ母码码字生成方法, 包括以下步骤: a) 系统将提供编码所需要的最大扩张基础矩阵 („¾ +Am )x(nb +Am x) ΗΓ'。"(Δ ^)、 扩展因子 ζ和基础矩阵大小参数 、 nb+Amb; b) 若输入信息分组 < Z, i -需要填充已知比特(如零)构成/ ^信息 分组; The present invention also provides a low density HARQ mother code codeword generation method comprising the following steps: a) The system will provide the maximum expansion basis matrix required for coding („3⁄4 + Am ) x(n b + Am x ) ΗΓ '"(Δ ^), expansion factor ζ and base matrix size parameter, n b +Am b ; b) if the input information packet < Z, i - needs to be filled with a known bit (such as zero) to constitute / ^ information packet;
C) 编码器 >据 wb xtensh" (Am^ ) Z, 对输入 比特信息分组进行编码, 生成 06 + Am,max )z比特码字; C) Encoder > according to w b xtensh " (Am^ ) Z, encoding the input bit information packet to generate a 0 6 + Am, max ) z bit code word;
d) 若 kbZ有填充比特, 去掉填充比特, 最终编码生成 NFIR =K + (mb+ Amfc max)z比特码字。 本发明还提供另外一种低密度 HARQ母码码字生成方法,包括以下步骤: a) 根据信息分组长度匹配原则, 系统将提供编码所需要的最大扩张基 础矩阵(《^+Δη ^Χ +Δ^ν^) U 'ension(Amb mm) , 扩展因子 Ζ和基础矩阵大小 参数 kb、 nb +Δ»¾; d) If k bZ has padding bits, the padding bits are removed and finally encoded to generate N FIR =K + (m b + Am fc max )z bit codewords. The present invention also provides another low-density HARQ mother code codeword generation method, comprising the following steps: a) According to the information packet length matching principle, the system will provide the maximum expansion basis matrix required for coding ("^+Δη^Χ +Δ ^ν^) U ' ension (Am b mm ) , expansion factor Ζ and basis matrix size parameters k b , n b +Δ»3⁄4;
b) 若输入信息分组 < ζ, 还需要填充已知比特(如零)构成 信息 分组;  b) If the input information group < ζ, it is also necessary to fill a known bit (such as zero) to form an information packet;
C)编码器根据 的大小, 分三种情况进行縞码:  C) According to the size of the encoder, the weight is divided into three cases:
a)若 Α^≤«6·ζ, 编码器将从最大扩张基础矩阵中选择 ^'°"(0), 即a) If Α^≤« 6 ·ζ, the encoder will select ^'°"(0) from the maximum expansion base matrix, ie
Η,;然后根据 Ηέ、 ζ对 比特信息分组进行编码,生成 N^= .z比特码字; 其中, A。to,W是前 k个 HARQ包的长度之和: 0;
Figure imgf000015_0001
Η,; then encode the bit information packet according to Η έ , ζ to generate a N^=.z bit codeword; wherein, A. To , W is the sum of the lengths of the first k HARQ packets: 0;
Figure imgf000015_0001
( 2 ) 若 Ζ^,≥( +Δ Γ).ζ , 编码器将根据最大扩张基础矩阵 Jl temion(Amb mm)、 Z对 ζ比特信息分组进行编码,生成 N∞;r = (nb +Am6 max). 比特 码字; (2) If Ζ^, ≥( + Δ Γ).ζ, the encoder encodes the ζ bit information group according to the maximum expansion base matrix Jl temion (Am b mm ), Z, and generates N ∞; r = (n b +Am 6 max ). Bit codeword;
( 3 )除上述( 1 )与 ( 2 )之外的情况, 计算 Am6 = ^toial ~ Z 编码器 (3) In addition to the above cases (1) and (2), calculate the Am 6 = ^toial ~ Z encoder
Ζ  Ζ
将从最大扩张基础矩阵中选择 然后根据 。"(△/¾)、 z对^^比 特信息分组进行编码, 生成(/¾+Am).z比特码字, 从上述码字中删余 (¾ +Δ»¾ - ,。,个比特, 最终得到长度为 = ^,的码字; d)若 ·ζ有填充比特, 去掉 b)添加的已知填充比特。 It will be selected from the maximum expansion base matrix and then based on . "(△/3⁄4), z encodes the ^^ bit information packet to generate a (/3⁄4+Am).z bit codeword, puncturing from the above codeword (3⁄4 + Δ»3⁄4 - , ., bits) , finally get a codeword of length = ^, d) If there is a padding bit, remove the known padding bits added by b).
本发明的方法系统地解决了 LDPC码的递增冗余 HARQ支持的缺陷, 提出了多种 LDPC码的 HARQ包生成方法, 这些方法很好地考虑了扩张删 余结构化低密度奇偶校验码的特征,使得扩张删余结构化低密度奇偶校验码 具有了非常有效和非常完整的 HARQ包生成方法。 此外, 本发明的 HARQ 包生成方法还具有两个最大的优点,一个通过使得扩张删余结构化低密度奇 偶校验码具有最优的删余分布, 保证了高码率 LDPC码的性能尽可能最优; 另一个提出了基于实际码率的需要来进行编码, 显著提高了编码的效率。 附图概述 The method of the invention systematically solves the defects of incremental redundant HARQ support of LDPC codes, and proposes a HARQ packet generation method for various LDPC codes, which considers the expansion and deletion well. The feature of the residual structured low-density parity check code makes the extended punctured structured low-density parity check code have a very efficient and very complete HARQ packet generation method. In addition, the HARQ packet generation method of the present invention has two maximum advantages, one ensures that the performance of the high code rate LDPC code is as high as possible by making the extended puncturing structured low density parity check code have an optimal puncturing distribution. Optimal; another proposed to encode based on the actual code rate, significantly improving the efficiency of the coding. BRIEF abstract
图 1是一个典型的数字通信系统;  Figure 1 is a typical digital communication system;
图 2是基于扩张和删余的可变码率的 LDPC码;  2 is an LDPC code based on variable rate of expansion and puncturing;
图 3是本发明所述方法的第一方法;  Figure 3 is a first method of the method of the present invention;
图 4是本发明中 LDPC HARQ母码码字生成方法;  4 is a method for generating an LDPC HARQ mother code code word in the present invention;
图 5是本发明所述方法的第二方法。 本发明的较佳实施方式  Figure 5 is a second method of the method of the present invention. Preferred embodiment of the invention
下面结合附图及具体实施例对本发明进行详细说明。  The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
如图 3所示, 本发明提供一种扩张和删余( Extending-and-Puncturing ) 结构化低密度奇偶校验码的混合自动重传请求 HARQ包的产生方法 A, 所 述方法 A包括以下步骤: As shown in FIG. 3 , the present invention provides a method A for generating a hybrid automatic repeat request HARQ packet of an Extending-and-Puncturing structured low-density parity check code, the method A comprising the following steps. :
A1 ) 、 低密度奇偶校验码编码器根据输入 ^比特信息分组生成 NFIR比 特 LDPC HARQ母码码字,所述码字包括比特信息分组、扩张校验比特分组 和删余校验比特分组, 生成的码字送到 HARQ緩沖器 (buffer); A1), the low density parity check code encoder generates an N FIR bit LDPC HARQ mother code code word according to the input bit information group, the code word including a bit information packet, an extended parity bit packet, and a punctured parity bit packet, The generated codeword is sent to a HARQ buffer (buffer);
A2 ) 、 重排 HARQ緩冲器 (buffer)中 LDPC HARQ母码码字比特, 保持 信息比特、扩张校验比特顺序不变, 改变删余校验比特顺序, 目的是获得最 优的删余分布;  A2), rearranging the LDPC HARQ mother code codeword bits in the HARQ buffer, keeping the information bits and the expansion check bit order unchanged, changing the punctured parity bit order, in order to obtain an optimal puncturing distribution ;
A3 ) 、 从重排后 HARQ母码码字中顺序地选择码字比特, 即第一次传 输从第一个系统比特开始,以后每次传输的开始位置紧跟上一次传输结束的 位置, 生成的 HARQ包的二进制序列。 A3), sequentially selecting codeword bits from the rearranged HARQ mother codeword, that is, the first transmission starts from the first systematic bit, and then the start position of each transmission follows the last transmission end. Location, the binary sequence of the generated HARQ packets.
在步驟 A1中,所述的低密度奇偶校验码是结构化的扩张 /删余低密度奇 偶校验码, 有码率为 ,基本码, 基本码用基础矩阵 m¾x ¾ Η和扩张因子 ζ 唯一描述; 删余基本码码字后得到码率高于 ,的码; 扩张基本码后得到码 率低于 的码。 扩张时, 在上述 Ηδ的最后一行和最后一列增加 1行和增加 1列, 就得 到码率为 RF!R(1) = ~^~的低密度奇偶校验码的 +l)x(¾ +1)基础矩阵In step A1, the low density parity check code is a structured expansion/puncturing low density parity check code, having a code rate, a basic code, and a basic matrix m 3⁄4 x 3⁄4 Η and an expansion factor. ζ Unique description; after puncturing the basic codeword, the code with higher code rate is obtained; after the basic code is expanded, the code with lower code rate is obtained. In the case of expansion, by adding 1 row and increasing 1 column in the last row and the last column of the above Η δ , the +1)x of the low-density parity check code of the code rate R F!R (1) = ~^~ is obtained ( 3⁄4 +1) basic matrix
ΗΓ'°"(1); 在上述 Ηδ的最后一行和最后一列增加 2行和增加 2列, 就得到码 率为 ^(2) = 的低密度奇偶校验码的(》¾ +2)χ(«έ +2)基础矩阵 ΗΓ'·"(2) , mb + 2 ΗΓ '°"(1); Add 2 rows and 2 columns in the last row and the last column of Η δ above, and get a low-density parity check code with a code rate of ^(2) = ("3⁄4 +2 )χ(« έ +2) basic matrix ΗΓ '·"(2) , m b + 2
依次类推, 考虑扩张的一般情况, 得到码率为^^^«¾) = ~^ ~的扩张码, 即在上述11¾的最后一行和最后一列增加 行和增加 A 6列, 就得到码率为 RFm (Amb)的低密度奇偶校验码的 nb + Amb) x (nb + Δ»¾)最大扩张基础矩阵 U ension(Amb), 在这里 Amb = {1,2, ···,△ ··· Am Am^ mb和 "δ是由系统给 定的; Δ ™χ反映了基础矩阵扩张的最大程度, 对于上述的低密度奇偶校验 码可能的最低码率为 7?^^«¾ 上述介绍了如何能够基于基本码通过删余扩张得到最大扩张基础矩阵。 接下来步骤 Α 中, 进一步地介绍如何基于最大扩张基础矩阵, 对所述输入 的 比特信息分组,基于码率为 的基本码,进行删余和扩张之后就可以得 到母码码字。 更具体地, 在步骤 Al t, 如图 4所示, LDPCHARQ母码码 字生成方法包括以下步骤: By analogy, considering the general case of expansion, the expansion code with the code rate ^^^«3⁄4) = ~^ ~ is obtained, that is, the line is increased and the A 6 column is added in the last row and the last column of the above 11 3⁄4 , and the code rate is obtained. The n b + Am b ) x (n b + Δ» 3⁄4 ) of the low-density parity check code of R Fm (Am b ) is the maximum expansion base matrix U ension (Am b ), where Am b = {1, 2 , ···, △ ··· Am Am^ m b and " δ are given by the system; Δ TM χ reflects the maximum extent of the base matrix expansion, the lowest possible bit rate for the above low density parity check code 7?^^«3⁄4 The above describes how to maximize the base matrix by puncturing expansion based on the base code. In the next step, we will further introduce how to group the input bit information based on the maximum expansion base matrix. Based on the basic code of the code rate, the mother code code word can be obtained after puncturing and expanding. More specifically, in step Al t, as shown in FIG. 4, the LDPCHARQ mother code code word generating method includes the following steps:
a)根据信息分组长度匹配原则, 系统将提供编码所需要的最大扩 基 础矩阵
Figure imgf000017_0001
H "(Am6 max) , 扩展因子 Ζ和基础矩阵大小 参数 、 nb +Amb
a) According to the principle of information packet length matching, the system will provide the maximum extended base matrix required for coding.
Figure imgf000017_0001
H "(Am 6 max ) , expansion factor Ζ and basic matrix size parameter, n b +Am b ;
b)若输入信息分组 < ^, 还需要填充已知比特(如零)构成; ^信息 分组;  b) If the input information packet < ^, it also needs to be filled with a known bit (such as zero); ^ information packet;
c)编码器根据 Η ^'·。"(Δ ΜΧ)、 扩展因子 ζ, 对输入的) ^比特信息分组进 行编码, 生成 (? ¾ + Δ" ζ比特码字; d) 若 /^有填充比特, 去掉填充比特, 最终编码生成 N^^ + ^+A ^^比特码字, 其中, N^比特码字由 K 个信息比特和 (mbnax)z个校 r比特构成,(》¾ +Am¾ max)z比特校俭分组包括 A °ax ·ζ扩张校 验比特和^ .2删余校 Τ比特。 c) The encoder is based on Η ^'·. " (Δ ΜΧ) , expansion factor ζ , encodes the input ^ bit information packet to generate (? 3⁄4 + Δ" ζ bit codeword; d) If /^ has a padding bit, the padding bit is removed, and the final encoding generates a N^^ + ^+A ^^ bit codeword, where the N^ bit codeword consists of K information bits and (m b + Δ nax z consists of z-bits, and the ("3⁄4 + Am 3⁄4 max ) z-bit calibration packet includes A ° ax · ζ expansion check bits and ^ 2 punctured parity bits.
在步骤 A1中, LDPC HARQ母码码字还可以采用以下方法生成, 所述 方法包括以下步骤: In step A1, the LDPC HARQ mother code codeword can also be generated by the following method, and the method includes the following steps:
a)根据信息分组长度匹配原则, 系统将提供编码所需要的最大扩张基 础矩阵 (mb + Amb max )x(nb+ Δ«¾ (Amb maK ) , 扩展因子 Z和基础矩阵大小 参数 、 nb +Amb; b)若输入信息分组 <^z, 还需要填充已知比特(如零)构成 yt 信息 分组; a) According to the principle of information packet length matching, the system will provide the maximum expansion basis matrix (m b + Am b max ) x(n b + Δ« 3⁄4 (Am b maK ), expansion factor Z and basic matrix size parameters required for coding. , n b +Am b ; b) If the input information packet <^z, it is also necessary to fill a known bit (such as zero) to form a yt information packet;
c)编码器根据^的大小, 分三种情况进行编码:  c) The encoder encodes in three cases according to the size of ^:
(1) ^Llotal≤nb-z, 编码器将从最大扩张基础矩阵中选择 ΗΓ*"(0), 即 Ηδ;然后根据 Η4 ζ对^比特信息分组进行编码,生成 „ = .2比特码字; 其中, 是前 k个 HARQ包的长度之和: Ltotal K)^L 设£^,(-1) = 0; (1) ^L lotal ≤n b -z, the encoder will select ΗΓ*"(0), ie Η δ from the maximum expansion base matrix; then encode the ^ bit information group according to Η 4 , to generate „ = . 2-bit codeword; where is the sum of the lengths of the first k HARQ packets: L total K)^L Let £^, (-1) = 0;
( 2 ) 若 I^≥(nb +Am )'z , 编码器将根据最大扩张基础矩阵
Figure imgf000018_0001
Z对^比特信息分组进行编码,生成 (nb +Amb max)-z比特 码字;
(2) If I^≥(n b + Am )'z , the encoder will be based on the maximum expansion basis matrix
Figure imgf000018_0001
Z encodes a bit information packet to generate (n b +Am b max )-z bit codeword;
( 3 )除上述( 1 )与 ( 2 )之外的情况, 计算 Δ/¾ = Ltotal ~KZ 编码器 将从最大扩张基础矩阵中选择 。"(△»¾); 然后根据 Η "·"(Δ»¾)、 Ζ对 比 特信息分组进行编码, 生成(/¾+Δ»ζ)·Ζ比特码字, 从上述码字中删余 (¾ +Δ«¾)ζ- ^,个比特, 最终得到长度为 N rr = A。te,的码字; d)若 ·ζ有填充比特, 去掉 b)添加的已知填充比特。 (3) In addition to the above cases (1) and (2), the calculation Δ/3⁄4 = Ltotal ~ K Z encoder will be selected from the maximum expansion base matrix. "(△»3⁄4); Then encode the bit information packet according to Η "·"(Δ»3⁄4), Ζ, generate (/3⁄4+Δ»ζ)· Ζbit codeword, punctate from the above codeword (3⁄4 + Δ«3⁄4) ζ - ^, bits, finally get a codeword of length N rr = A. te , d) If there is a padding bit, remove the known padding bits added by b).
在步骤 A2中, LDPC HARQ母码码字比特排列是基于以下公式进行, 排列前第 i位置的数据放到排列后第 j位置, In step A2, the LDPC HARQ mother code codeword bit arrangement is performed based on the following formula. The data of the i-th position before the arrangement is placed at the jth position after the arrangement.
i i<K M.i≥mh-z i i<K Mi≥m h -z
J = (i + x)  J = (i + x)
Pz z + ((z + )mod 且 / = - 其它 其中, L」表示下取整, i、 j和 /都是从 0开始的; i是排列前码字的比 特位置索引, j是排列后码字的比特位置索引, O^J + im^+Am ^ x是填 充比特的数目。 P z z + ((z + ) mod and / = - other where L, represents the next rounding, i, j and / are all starting from 0; i is the bit position index of the pre-arranged codeword, j is the permutation The bit position index of the latter code word, O^J + im^+Am ^ x is the number of padding bits.
P是选择图样向量, 有 ^个元素, 是由从 到 1的整数构成, 它是上 述元素组成的预先定义的排列。 需要仔细选择选择图样 P, 保证尽可能好的 删余分布, 保证删余码的性能尽可能最优。 P,是选择向量 P的索引为 /个元 素。 P is a selection pattern vector, having ^ elements, consisting of integers from 1 to 1 , which is a predefined arrangement of the above elements. Careful selection of the pattern P is required to ensure the best possible puncturing distribution and to ensure that the performance of the punctured code is as optimal as possible. P, is the index of the selection vector P as / elements.
P是由基本码的基础矩阵/ Ηδ的校验矩阵部分决定的。 根据方法P is determined by the check matrix portion of the base matrix of the basic code / δ δ . According to the method
Α, 码字比特选择是主要步骤之一, 选择图样 Ρ表示, 首先选择基础矩阵 Ηδ 的 Ρ。列对应的校验比特,如有必要然后选择基础矩阵 116的 列对应的校验比 特, 依次类推。 选择图样 P产生是按照 Pm6_1→Pmi_2→—→P。的顺序产生的。 已知 ^…, ^, 产生 方法包括: Α, code word bit selection is one of the main steps, select the pattern Ρ representation, first select the 基础 of the base matrix Η δ . Column corresponding parity bits, if necessary, and then select the corresponding column of the basis matrix of parity bits 116, and so on. The selection pattern P is generated according to P m6 _ 1 → P mi _ 2 → - → P. The order produced. Known ^..., ^, production methods include:
在集合 Re mainSet = -1}/{ +1,··.,Ρ }中选择一个元素, 剩余的元素 构成一个新的集合 Rew wSetl; 也就是说, Rem 'wSet具有 ¾— ζ· + 1个元素, i己 RemainSet = { a2,---,ami_M} , 若从集合 Rem ¾¾t删除一个元素 , 剩余元素 构成的集合为
Figure imgf000019_0001
{Re j = l,2,---,mb-i + l , 每一个 j表示 一种选择可能。 其中, " 表示集合求差。
Select an element in the set Re mainSet = -1}/{ +1 ,··.,Ρ }, and the remaining elements form a new set Rew wSetl; that is, Rem 'wSet has 3⁄4— ζ· + 1 Element, i own RemainSet = { a 2 ,---, a mi _ M } , if an element is deleted from the set Rem 3⁄43⁄4t, the set of remaining elements is
Figure imgf000019_0001
{Re j = l, 2, ---, m b -i + l , each j represents a choice. Where "," means the set is poor.
确定
Figure imgf000019_0002
对应的校验矩阵部分为 Bse!(J);确定 HW )最小行重量 和重量为 行数 N=0);
determine
Figure imgf000019_0002
The corresponding check matrix part is B se! (J); determining H W ) the minimum line weight and weight is the number of rows N = 0);
首先确定集合 JSet = " I dZ U) =m d U)},即确定 最小时 j构成的  First determine the set JSet = " I dZ U) = m d U)}, that is, determine the minimum hour
J  J
集合, 最小
Figure imgf000019_0003
Collection, minimum
Figure imgf000019_0003
时 构成的集合, 然后从 选择一个元素即可。 When you make a collection, you can choose an element from it.
其中, 根据上述方法可以产生元素 P;., 由于 从》¾-1变化到 0 , 依次可 以产生 Ρ^,Ρ ,.Ά, 即可以得到选择向量 Ρ。 ί = 0时 j为空。 在步骤 A3中, 码字比特选择规则是基于以下公式进行选择的, 在从比 特排列后码字中, 选择依据所述公式的所得到的结果隹置的比特, 放到第 k 个 HARQ包的笫 i个比特位置, Wherein, according to the above method, the element P; can be generated; since the change from "3⁄4-1" to 0, Ρ^, Ρ, .Ά can be generated in sequence, that is, the selection vector 可以 can be obtained. When ί = 0, j is empty. In step A3, the codeword bit selection rule is selected based on the following formula. In the codeword after bit alignment, the bits of the obtained result according to the formula are selected and placed in the kth HARQ packet.笫i bit position,
SkJ = (Ltotal(k-D + i)mod(Na) S kJ = (L total (kD + i) mod(N a )
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次 传输时 k=0, 第二次传输时 k=l , 对于下一次传输 k加 1;  Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, and 1 for the next transmission k;
A。to,W是前 k个 HARQ包的长度之和: Z W 0A. To , W is the sum of the lengths of the first k HARQ packets: ZW 0
Figure imgf000020_0001
Figure imgf000020_0001
是 HARQ母码码字的长度;  Is the length of the HARQ mother code codeword;
,'表示第 k个 HARQ包的位置索引,用于标识当前 HARQ包中索引为 i的比特位置, 第一个比特对应 , '· = 0 ( i=0 ) , 其中 i从 0开始; , ' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet with index i, the first bit corresponds to, '· = 0 (i=0), where i starts from 0;
表示第 k个 HARQ包的长度。 如图 5所示,本发明还提供另一种低密度奇偶校验码的混合自动重传请 求 HARQ包的产生方法 B, 所述方法 B包括以下步骤:  Indicates the length of the kth HARQ packet. As shown in FIG. 5, the present invention further provides a method for generating a hybrid automatic retransmission request HARQ packet of another low density parity check code B. The method B includes the following steps:
B1 ) 、 低密度奇偶校验码编码器根据输入 比特信息分组生成 1¾ 比 特 LDPC HARQ母码码字,所述码字包括比特信息分组、扩张校臉比特分组 和删余校验比特分组, 生成的码字送到 HARQ緩冲器 (buffer);  B1), the low density parity check code encoder generates a 13⁄4 bit LDPC HARQ mother code codeword according to the input bit information group, the codeword includes a bit information packet, an extended face bit packet, and a punctured check bit packet, and the generated The codeword is sent to the HARQ buffer (buffer);
B2 ) 、 从 HARQ緩冲器中顺序地选择 LDPC HARQ码字比特序列, 即 第一次传输从第一个系统比特开始,以后每次传输的开始位置紧跟上一次传 输结束的位置, 生成的 HARQ包的二进制序列。  B2), sequentially selecting an LDPC HARQ codeword bit sequence from the HARQ buffer, that is, the first transmission starts from the first system bit, and the start position of each transmission follows the end of the previous transmission, and is generated. The binary sequence of the HARQ packet.
其中, 步骤 B1 ) 中 LDPC HARQ母码码字生成方法与上述方法 A中的 LDPC HARQ母码码字生成方法相同, 在此不再详细描述。 同, 在^不再详细""描述。 、 一 ; 、 '、 、 , 、  The LDPC HARQ mother code codeword generation method in the step B1) is the same as the LDPC HARQ mother code codeword generation method in the foregoing method A, and will not be described in detail herein. Same, in ^ no longer detailed "" description. , One ; , ', , , ,
在方法 B中, 基础矩阵 >< Ηδ的校 :位部分必须具有最优的删余结 构,保证删余码的性能足够优 ^。此处通过对选择图样向量的选择来确定如 何获得最优的删余结构,所谓的删余码的性能最优就是指删余码在各个码率 下在 AWGN信道上具有最好的 BLER性能。 进一步, 通过仿真选择不同删 余程度下选择图样向量的取值。 本发明并不限定具体确定最优性能的方式, 可以采用其它方式进行确定。 本发明还提供另一种扩张和删余 ( Extending-and-Puncturing )的氐密度 奇偶校验码的混合自动重传请求 HARQ包的产生方法 C, 所述方法 C包括 以下步驟: In Method B, the calibration: bit portion of the base matrix >< Η δ must have an optimal puncturing structure to ensure that the performance of the punctured code is sufficiently good. Here, by determining the selection of the pattern vector to determine how to obtain the optimal puncturing structure, the performance of the so-called puncturing code is optimal, that is, the puncturing code has the best BLER performance on the AWGN channel at each code rate. Further, the values of the selected pattern vectors are selected by different puncturing degrees through simulation. The present invention does not limit the manner in which the optimal performance is specifically determined, and may be determined in other ways. The present invention also provides a method C for generating a hybrid automatic repeat request HARQ packet of an Extending-and-Puncturing 氐 density parity check code, the method C comprising the following steps:
C1) 、 低密度奇偶校验码编码器根据输入 比特信息分组生成 NFIR比 特 LDPCHARQ母码码字,所述码字包括比特信息分组、扩张校验比特分组 和删余校验比特分组, 生成的码字送到 HARQ緩冲器 (buffer); C1), the low density parity check code encoder generates an N FIR bit LDPCHARQ mother code code word according to the input bit information group, the code word includes a bit information packet, an extended check bit packet, and a punctured check bit packet, and the generated The codeword is sent to the HARQ buffer (buffer);
其中, LDPC HARQ母码码字生成方法与上述方法 A中的 LDPC HARQ 母码码字生成方法相同, 在此不再详细描述;  The LDPC HARQ mother code codeword generation method is the same as the LDPC HARQ mother code codeword generation method in the foregoing method A, and is not described in detail herein;
C2) 、 从 HARQ緩冲器 (buffer)中选择 LDPC HARQ码字比特, 并将选 择得到的结果位置的比特, 放到笫 k个 HARQ包的第 i个比特位置, 生成 HARQ包,C2), selecting an LDPC HARQ codeword bit from a HARQ buffer, and placing a bit of the selected result position into an ith bit position of the 笫k HARQ packets to generate a HARQ packet,
≤K i≥mb-z ≤K i≥m b -z
-t k≠Q,mh-z>i> K
Figure imgf000021_0001
-tk≠Q,m h -z>i> K
Figure imgf000021_0001
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次传 输时 k=0, 笫二次传输时 k=l, 对于下一次传输 k加 1; L」表示下取整, i 和 /都是从 0开始的, i是排列前码字的比特位置索引; 0≤i<K + (mb+Amb)Z; X是填充比特的数目。 Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, plus 1 for the next transmission k; L” means rounding down, Both i and / start from 0, i is the bit position index of the pre-arranged codeword; 0 ≤ i < K + (m b + Am b ) Z ; X is the number of padding bits.
k-\  K-\
是前 k个 HARQ包的长度之和: L; ^^ , 设 ^,(- 1) = 0  Is the sum of the lengths of the first k HARQ packets: L; ^^ , Let ^, (- 1) = 0
N 'R是 HARQ母码码字的长度; N ' R is the length of the HARQ mother code word;
k,i表示笫 k个 HARQ包的位置索引,用于标识当前 HARQ包中索引为 i的比特位置, 第一个比特对应 , '· = 0 (i=0) , 其中 i从 0开始; k, i represents the position index of the 笫k HARQ packets, and is used to identify the bit position of the current HARQ packet with index i, the first bit corresponds to, '· = 0 (i=0), where i starts from 0;
^表示第 k个 HARQ包的长度;  ^ represents the length of the kth HARQ packet;
P是选择图样向量, 有" ¾个元素, 是由从 到 的整数构成, 它是上 述元素組成的预先定义的排列。 需要仔细选择选择图样 P, 保证尽可能好的 删余分布, 保证删余码的性能尽可能最优。 P,是选择向量 P的索引为 /个元 P是由基本码的基础矩阵》¾χ H6的校验矩阵部分决定的。 根据方法 A, 码字比特选择是主要步骤之一, 选择图样 P表示, 首先选择基础矩阵 H6 的 P。列对应的校验比特,如有必要然后选择基础矩阵 ^的 列对应的校验比 特, 依次类推。 选择图样 P产生是按照 Pm4— ! P^ 2→〜→P。的顺序产生的。 已知 { +1,...,Pmi— J, 产生 方法包括: 从集合
Figure imgf000022_0001
1}/{J)+1, 中选择一个元素, 剩余的元素 构成一个新的集合 Re .wSetl; 也就是说, Rem z¾¾t具有》¾— ζ·+1个元素, i己 作 RemainSet = {av 2,---,amb_M} , 若从集合 Remiw'"Set删除一个元素 α , 剩余元素 构成的集合为
Figure imgf000022_0002
_/· = 1,2,···,/¾ -ί + 1 , 每一个 j表示 一种选择可能。 其中, "/"表示集合求差。
P is the selection pattern vector, which has "3⁄4 elements, which are composed of integers from to, which are predefined arrangements of the above elements. You need to carefully select the pattern P to ensure the best possible puncturing distribution, guarantee puncturing The performance of the code is as optimal as possible. P, is the index of the selection vector P is / element P is determined by the check matrix portion of the basic matrix of the basic code 3⁄4χ H 6 . According to the method A, the code word bit selection is one of the main steps, and the selection pattern P indicates that P of the basic matrix H 6 is first selected. The check bits corresponding to the columns, if necessary, then select the check bits corresponding to the columns of the base matrix ^, and so on. The selection pattern P is generated according to P m4 — ! P^ 2 →~→P. The order produced. Known as { +1 ,...,P mi — J, the production methods include: From the collection
Figure imgf000022_0001
1}/{J) +1 , select an element, the remaining elements form a new set Re .wSetl; that is, Rem z3⁄43⁄4t has "3⁄4 - ζ · +1 elements, i has been RemainSet = {a v 2 , ---, a mb _ M } , if an element α is deleted from the set Remiw'"Set, the set of remaining elements is
Figure imgf000022_0002
_/· = 1,2,···,/3⁄4 - ί + 1 , each j represents a choice. Where "/" means the set difference.
确定 Re aZ'"»¾tl/}对应的校验矩阵部分为 Hie/( );确定 B^ /)最小行重量 dn /)和重量为 d= /)行数 =(·/·); Determine the part of the check matrix corresponding to Re a Z '"»3⁄4tl/} as H ie / ( ); determine B ^ /) minimum line weight d n /) and weight as d = /) number of lines = (· / ·) ;
首先确定集合 JSet = I dZ (j) = mm d U)},即确定 最小时 j构成的  First determine the set JSet = I dZ (j) = mm d U)}, that is, determine the minimum hour
j  j
集合, 然后确定 最小
Figure imgf000022_0003
Set, then determine the minimum
Figure imgf000022_0003
时^构成的集合, 然后从 R5fet选择一个元素即可。 其中, 根据上述方法可以产生元素 由于 从》¾- 1变化到 0, 依次可 以产生 Ρ ,Ρ^ 15,.·,Ρ。, 即可以得到选择向量 Ρ。 = 0时 j为空。 When the ^ constitutes a collection, then select an element from R5fet. Wherein, according to the above method, the element can be generated due to the change from "3⁄4- 1 to 0", and Ρ, Ρ^ 15 , .., Ρ can be generated in sequence. , that is, the selection vector 可以 can be obtained. When = 0, j is empty.
基于结构化的删余扩张低密度奇偶校验码, 本发明给出了方法 A、方法Based on structured puncturing expansion low density parity check code, the present invention provides method A and method
B和方法 C三种方法; 其中方法 A和方法 C具有相同的使用场景, 区别于 方法 B。 方法 B对于结构化低密度的奇偶校验码的基础矩阵的结构有要求, 方法 B给出具体的删余方法, 设计的基 矩阵(或奇偶校验矩阵)应该考 虑这个方法, 即要求对应删余校验节点的基 矩阵(或奇偶校验矩阵)具有 最优的删余分布, 保证删余码的性能足够优秀。 但是方法 A和方法 C对于 结构化低密度的奇偶校验码的基础矩阵的结构是没有要求的。 B and method C are three methods; where method A and method C have the same usage scenario, which is different from method B. Method B has requirements for the structure of the basic matrix of the structured low-density parity check code, and method B gives a specific puncturing method. The designed base matrix (or parity check matrix) should consider this method, that is, the corresponding deletion is required. The base matrix (or parity check matrix) of the residual check node has an optimal puncturing distribution, which ensures that the performance of the punctured code is excellent enough. However, Method A and Method C are not required for the structure of the underlying matrix of the structured low density parity check code.
这里已经通过具体的实施例子对本发明进行了详细描述,提供上述实施 例的描述为了使本领域的技术人员制造或适用本发明,这些实施例的各种修 改对于本领域的技术人员来说是容易理解的。本发明并不限于这些例子,或 其中的某些方面。 本发明的范围通过附加的权利要求进行详细说明。 工业实用性 The present invention has been described in detail by way of specific embodiments thereof, and the description of the above embodiments is provided to enable those skilled in the art to make or use the invention. Modifications will be readily apparent to those skilled in the art. The invention is not limited to these examples, or some aspects thereof. The scope of the invention is to be described in detail by the appended claims. Industrial applicability
本发明的低密度奇偶校验码的混合自动请求重传包生成方法,系统地解 决了 LDPC码的递增冗余 HARQ支持的缺陷, 实现了低密度奇偶校验码对 HARQ的支持, 给出了基于本发明的低密度奇偶校验码设计的 HARQ包产 生方法。一方面通过使得扩张删余结构化低密度奇偶校验码具有最优的删余 分布,保证了高码率 LDPC码的性能尽可能最优; 另一方面基于实际码率的 需要来进行编码, 显著提高了编码的效率。  The hybrid automatic request retransmission packet generation method of the low density parity check code of the invention systematically solves the defect of the incremental redundant HARQ support of the LDPC code, and realizes the support of the low density parity check code for HARQ, and gives A HARQ packet generation method based on the low density parity check code design of the present invention. On the one hand, by making the extended puncturing structured low-density parity check code have the optimal puncturing distribution, the performance of the high-rate LDPC code is guaranteed to be as optimal as possible; on the other hand, based on the actual code rate, the encoding is performed. Significantly improved the efficiency of the coding.

Claims

权 利 要 求 书 Claim
1、 一种低密度奇偶校验码的混合自动请求重传包生成方法, 所述方法 包括以下步骤: A hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the steps of:
A1) 、 低密度奇偶校验码编码器根据输入 比特信息分组生成 NFIR比 特低密度奇偶校验码的混合自动请求重传即 LDPC HARQ母码码字,所述码 字包括比特信息分组、扩张校猃比特分组和删余校验比特分组,所述生成的 码字送到混合自动请求重传即 HARQ緩冲器; A1), the low density parity check code encoder generates a hybrid automatic request retransmission of the N FIR bit low density parity check code according to the input bit information group, that is, an LDPC HARQ mother code code word, the code word includes a bit information packet, and an expansion Correcting a bit packet and a puncturing check bit packet, the generated codeword being sent to a hybrid automatic request retransmission or HARQ buffer;
A2) 、 重排所述 HARQ緩冲器中所述 LDPC HARQ母码码字比特, 保 持信息比特、 扩张校验比特顺序不变, 改变删余校验比特顺序;  A2) reordering the LDPC HARQ mother code codeword bits in the HARQ buffer, keeping the information bits and the expansion check bit order unchanged, and changing the punctured check bit order;
A3) 、 从重排后的所述 HARQ母码码字中顺序地选择码字比特, 即第 一次传输从第一个系统比特开始,以后每次传输的开始位置紧跟上一次传输 结束的位置, 生成的 HARQ包的二进制序列。  A3), sequentially selecting codeword bits from the rearranged HARQ mother codewords, that is, the first transmission starts from the first systematic bit, and then the start position of each transmission follows the last transmission end. Location, the binary sequence of the generated HARQ packets.
2、 根据权利要求 1所述的方法, 其特征在于: 在步骤 A1中, 所述的低密度奇偶校验码有码率为 的基本码, 基本码用基础矩阵 mbxnb Ηδ和扩张因子 z唯一描述; 2. The method according to claim 1, wherein: in step A1, the low density parity check code has a basic code rate, and the basic code uses a basic matrix m b xn b Η δ and an expansion Factor z unique description;
删余基本码得到码率高于 Rm的码,需要对基本码码字的校验比特进行删 余; The punctured basic code obtains a code whose code rate is higher than R m , and needs to punctify the check bits of the basic code code word;
扩张基本码得到码率低于 Rm的码, 在上述 Ηδ的最后一行和最后一列增 加 ¾行和增加 A 6列,得到码率为 RFI Amb ~^ "一的低密度奇偶校验码的 mb + Amb Expanding the basic code to obtain a code with a code rate lower than R m , adding 3⁄4 lines and increasing the A 6 column in the last row and the last column of the above Η δ to obtain a low-density parity check with a code rate of R FI Am b ~^ " Code m b + Am b
Ο¾+Δ/¾)χ ¾+Δ»¾)最大扩张基础矩阵。 Ο3⁄4+Δ/3⁄4)χ 3⁄4+Δ»3⁄4) Maximum expansion base matrix.
3、根据权利要求 2所述的方法,其特征在于:在步骤 A1中,所述 LDPC HARQ母码码字生成方法, 包括以下步驟: The method according to claim 2, wherein in the step A1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a)系统提供编码所需要的最大扩张基础矩阵 (mb +Am x)x( b +Am6 max) H— (Am6 max) , 扩展因子 z和基础矩阵大小参数 、 nb+Amb; a) The system provides the maximum expansion basis matrix (m b + Am x ) x ( b + Am 6 max ) H - (Am 6 max ), the spreading factor z and the base matrix size parameter, n b + Am b ;
b)若输入信息分组 K z,还需要填充 X个已知比特构成 Αδζ信息分组;b) if the information packet K z is input, it is also necessary to fill X known bits to form a Α δ ζ information packet;
C)编码器根据 ΗΓ'。"(Δ ^)、 扩展因子 ζ,'对输入 ^比特信息分组进 行编码, 生成 0¾ + Am^z比特码字; C) The encoder is based on ΗΓ '. "(Δ ^), expansion factor ζ, 'group the input ^ bit information into Line coding, generating 03⁄4 + Am^z bit code words;
d)若 ζ有填充比特,去掉填充比特,最终编码生成 N^ =K + (mb +Am6 ra3X)z 比特母码码字。 d) If there are padding bits, the padding bits are removed and the final encoding yields a N^ = K + (m b + Am 6 ra3X ) z bit mother codeword.
4、 根据权利要求 3所述的方法, 其特征在于: 所述已知比特为零。  4. Method according to claim 3, characterized in that the known bit is zero.
5、根据权利要求 1至 4中任一项所述的方法, 其特征在于: 在步骤 A2 中,所述 LDPC HARQ母码码字比特排列是基于以下公式进行,将排列前第 i位置的数据放到排列后第 j位置,
Figure imgf000025_0001
其中, L」表示下取整, i、 j和 /都是从 0开始的; i是排列前码字的比 特位置索引, j 是排列后码字的比特位置索引, X是填充比特个数, 0≤i,j<K + (mb+Amb)z; x是填充比特的数目;
The method according to any one of claims 1 to 4, wherein in step A2, the LDPC HARQ mother code codeword bit arrangement is performed based on the following formula, and the data of the ith position before the arrangement is arranged. Put it in the j position after the arrangement,
Figure imgf000025_0001
Wherein, L" represents the next rounding, i, j, and / all start from 0; i is the bit position index of the pre-arranged codeword, j is the bit position index of the aligned codeword, and X is the number of padding bits, 0 ≤ i, j < K + (m b + Am b ) z; x is the number of padding bits;
P是删余图样向量, 有 ^个元素, 是由从 到 "61的整数构成, P,是删 余向量 P的索引为 /个元素。 P is a punctured pattern vector, which has ^ elements, which are composed of integers from " 6 to 1 ," and P, which is an index of punctured vectors P.
6、 根据权利要求 5所述的方法, 其特征在于: 所述选择图样 P产生是 按照 ― 1→ΡΒ¾_2+.·Ρ。的顺序产生的;. 已知 ^…,/^^, 产生 方法包括 以下步 6. The method according to claim 5, wherein: the selection pattern P is generated according to " 1→ΡΒ3⁄4 _ 2 +.· Ρ. The order of the generated;. known ^..., /^^, the production method includes the following steps
在集合 Re mainSet = 1}/{ ·+1,·.·, }中选择一个元素, 剩余的元素 构成一个新的集合 Re mainSetl{j};
Figure imgf000025_0002
H,() , 确定 H, /)最小行重量 和重量为 行数 N= /); , 然后从 RSet选择一个元素
Figure imgf000025_0003
Select an element in the set Re mainSet = 1} / { · +1 , ·.·, }, and the remaining elements form a new set Re mainSetl{j};
Figure imgf000025_0002
H , () , determine H , /) minimum line weight and weight for the number of rows N = /);, then select an element from RSet
Figure imgf000025_0003
即可得到 。 You can get it.
7、根据权利要求 1至 4中任一项所述的方法, 其特征在于: 在步骤 A3 中,码字比特选择规则是基于以下公式进行选择的, 并将选择得到的结果位 置的比特, 放到第 k个 HARQ包的第 i个比特位置, Sk = (Llotal(k-l) + i)mod(NIR) The method according to any one of claims 1 to 4, wherein in step A3, the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed. To the ith bit position of the kth HARQ packet, S k = (L lotal (kl) + i) mod(N IR )
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一^ 传输时 k=0, 第二次传输时 k=l , 对于下一次传输 k加 1;  Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k = 0 at the first transmission, k = 1 at the second transmission, and 1 plus 1 for the next transmission;
A。,a,W是前 k个 HARQ包的长度之和: 0A. , a , W is the sum of the lengths of the first k HARQ packets: 0
Figure imgf000026_0001
NFIR是 HARQ母码码字的长度;
Figure imgf000026_0001
NFIR is the length of the HARQ mother code codeword;
,'表示第 k个 HARQ包的位置索引,用于标识当前 HARQ包中索引为 i的比特位置, 第一个比特对应 . '· = 0 ( i=0 ) , 其中 i从 0开始; , ' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet with index i, the first bit corresponds to . '· = 0 (i=0), where i starts from 0;
表示第 k个 HARQ包的长度。  Indicates the length of the kth HARQ packet.
8、 一种低密度奇偶校验码的混合自动请求重传包生成方法, 所述方法 包括以下步骤: 8. A hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the steps of:
B1 ) 、 低密度奇偶校验码编码器根据输入 比特信息分组生成 1^ 比 特低密度奇偶校验码的混合自动请求重传即 LDPC HARQ母码码字,所述码 字包括比特信息分组、扩张校验比特分组和删余校验比特分组,生成的码字 送到混合自动请求重传即 HARQ緩冲器;  B1), the low density parity check code encoder generates a hybrid automatic request retransmission of the 1^ bit low density parity check code according to the input bit information group, that is, the LDPC HARQ mother code code word, the code word includes the bit information packet, and the expansion Checking the bit packet and the punctured check bit packet, and the generated codeword is sent to the hybrid automatic request retransmission or HARQ buffer;
B2 ) 、 从所述 HARQ緩冲器中顺序地选择所述 LDPC HARQ码字比特 序列, 即第一次传输从第一个系统比特开始, 以后每次传输的开始位置紧跟 上一次传输结束的位置, 生成的 HARQ包的二进制序列。  B2), sequentially selecting the LDPC HARQ codeword bit sequence from the HARQ buffer, that is, the first transmission starts from the first system bit, and then the start position of each transmission follows the last transmission end. Location, the binary sequence of the generated HARQ packets.
9、 根据权利要求 8所述的方法, 其特征在于: 在步骤 B1中, 所述的低密度奇偶校验码有码率为 Rm基本码, 基本码用基 矩阵 mb X nb 9. The method of claim 8, wherein: in step B1, the low density parity check code with a code rate R m basic code, base code group matrix with m b X n b
Ηδ和扩张因子 z唯一描述; 唯一δ and expansion factor z are the only description;
删余基本码码字得到码率高于 Rm的码,需要对基本码码字的校验比特进 行删余; The punctured basic code code word obtains a code whose code rate is higher than R m , and the parity bit of the basic code code word needs to be punctured;
扩张基本码得到码率低于 Rm的码, 在上述 Ηδ的最后一行和最后一列增 加 行和增加 Δ«¾列,得到码率为 RF» ~ ^ "一的低密度奇偶校验码的 mb + Amb Expanding the basic code to obtain a code with a code rate lower than R m , adding a line and increasing the Δ«3⁄4 column in the last row and the last column of the above Η δ to obtain a low-density parity check code having a code rate R F » ~ ^ " m b + Am b
(mb + Amb)x (nb + A J最大扩张基础矩阵。 (m b + Am b )x (n b + AJ maximum expansion base matrix.
10、根据权利要求 9所述的方法,其特征在于:在步骤 B1中,所述 LDPC HARQ母码码字生成方法包括以下步骤: The method according to claim 9, wherein in step B1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a)系统将提供编码所需要的最大扩张基础矩阵 (《¾ + Am6 max)x (¾ + Ami max)
Figure imgf000027_0001
、 扩展因子 z和基础矩阵大小参数 、 nb + Amb ;
a) The system will provide the maximum expansion basis matrix required for encoding ("3⁄4 + Am 6 max )x (3⁄4 + Am i max )
Figure imgf000027_0001
, expansion factor z and base matrix size parameters, n b + Am b ;
b)若输入信息分組 <^z , 还需要填充已知比特构成 信息分组; b) If the input information group <^z, it is also necessary to fill the known bits to form an information packet;
C)编码器根据
Figure imgf000027_0002
扩展因子 z, 对输入 比特信息分组进行 编码, 生成 (《6 + Am^z比特码字;
C) the encoder is based on
Figure imgf000027_0002
Spreading factor z, encoding the input bit information packet, and generating (" 6 + Am^z bit codeword;
d)若/^有填充比特,去掉填充比特,最终编码生成
Figure imgf000027_0003
d) If /^ has padding bits, remove the padding bits, and finally encode the generated
Figure imgf000027_0003
比特码字。 Bit code word.
11、 根据权利要求 10所述的方法, 其特征在于: 所述已知比特为零。 11. The method of claim 10 wherein: said known bit is zero.
12、 根据权利要求 8至 11中任一项所述的方法, 其特征在于: 在步驟 B2 中, 码字比特选择规则是基于以下公式进行选择的, 并将选择得到的结 果位置的比特, 放到第 k个 HARQ包的第 i个比特位置, The method according to any one of claims 8 to 11, wherein in step B2, the codeword bit selection rule is selected based on the following formula, and the bit of the selected result position is placed. To the ith bit position of the kth HARQ packet,
Sk = (Liotal(k-l) + i)mod{Nm) S k = (L iotal (kl) + i) mod{N m )
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次 传输时 k=0, 第二次传输时 k=l , 对于下一次传输 k加 1;  Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, and 1 for the next transmission k;
k-l  K-l
是前 k个 HARQ包的长度之和: Ltatal(k) =∑Lj , 设 ,(- 1) = 0 Is the sum of the lengths of the first k HARQ packets: L tatal (k) = ∑Lj , set, (- 1) = 0
7=0  7=0
NFIR是 HARQ母码码字的长度; N FIR is the length of the HARQ mother code word;
,'表示笫 k个 HARQ包的位置索引,用于标识当前 HARQ包中索引为 i的比特位置, 其中 i从 0开始, 第一个比特对应 , ' = 0 , 其中 i=0; , 'represents the location index of the 笫k HARQ packets, which is used to identify the bit position of the current HARQ packet index i, where i starts from 0, the first bit corresponds, ' = 0 , where i=0;
表示第 k个 HARQ包的长度。  Indicates the length of the kth HARQ packet.
13、一种低密度奇偶校验码的混合自动请求重传包生成方法, 所述方法 包括以下步骤: 13. A hybrid automatic request retransmission packet generation method for a low density parity check code, the method comprising the steps of:
C1 ) 、 低密度奇偶校验码编码器根据输入^:比特信息分组生成 NFIR比 特低密度奇偶校验码的混合自动请求重传即 LDPC HARQ母码码字,所述码 字包括比特信息分组、扩张校验比特分组和删余校验比特分組,生成的码字 送到混合自动请求重传即 HARQ緩冲器; C1), the low density parity check code encoder generates a hybrid automatic request retransmission of the N FIR bit low density parity check code according to the input ^: bit information packet, that is, an LDPC HARQ mother code code word, the code word including the bit information packet , expansion check bit packet and punctured check bit packet, generated codeword Send to the hybrid automatic request retransmission or HARQ buffer;
C2 ) 、 从所述 HARQ緩冲器中依据以下公式选择所述 LDPC HARQ码 字比特,并将选择得到的结果位置的比特,放到第 k个 HARQ包的第 i个比 特位置, 生成 HARQ包, C2), selecting the LDPC HARQ codeword bit from the HARQ buffer according to the following formula, and placing the bit of the selected result position into the ith bit position of the kth HARQ packet to generate a HARQ packet ,
≤K i≥mb-z ≤K i≥m b -z
k≠ 0,mh · z > i > K
Figure imgf000028_0001
K≠ 0,m h · z > i > K
Figure imgf000028_0001
其中, k是 HARQ包的索引, 反映当前 HARQ包的传输次数, 第一次传 输时 k=0, 第二次传输时 k=l, 对于下一次传输 k加 1; L」表示下取整, i 和 /都是从 0开始的, i是排列前码字的比特位置索引; 0≤i< + ( 6+A 6)z; X是填充比特的数目; 是前 k个 HARQ包的长度之和: 0Where k is the index of the HARQ packet, reflecting the number of transmissions of the current HARQ packet, k=0 for the first transmission, k=l for the second transmission, plus 1 for the next transmission k; L” means rounding down, Both i and / start from 0, i is the bit position index of the pre-arranged codeword; 0 ≤ i < + ( 6 + A 6 ) z; X is the number of padding bits; is the length of the first k HARQ packets And: 0
Figure imgf000028_0002
NFIR是 HARQ母码码字的长度;
Figure imgf000028_0002
NFIR is the length of the HARQ mother code codeword;
,'表示第 k个 HARQ包的位置索引,用于标识当前 HARQ包中索引为 i的比特位置, 其中 i从 0开始, 第一个比特对应1^ '·=0, 其中 i=0; , ' indicates the position index of the kth HARQ packet, which is used to identify the bit position of the current HARQ packet index i, where i starts from 0, and the first bit corresponds to 1 ^ '· =0 , where i=0;
表示第 k个 HARQ包的长度;  Indicates the length of the kth HARQ packet;
P是删余图样向量, 有" ¾个元素, 是由从 到 -1的整数构成, P,是删 余向量 P的索引为 1个元素。 P is a punctured pattern vector, which has "3⁄4 elements, which are composed of integers from -1, and P , which is an index of the punctured vector P.
14、 根据权利要求 13所述的方法, 其特征在于:  14. The method of claim 13 wherein:
选择图样 P产生是按照 pmbl → mb2 →..→ 0的顺序产生的; 已知 {P^-,Pm^} , 产生 S方法包括以下步骤: The selection pattern P is generated in the order of p mbl → mb2 → .. → 0 ; the known {P^-, P m ^} , generating the S method includes the following steps:
在集合 Re a"Set = - …,尸 }中选择一个元素, 剩余的元素 构成一个新的集合 Re mainSet\{j);  Select an element in the set Re a"Set = - ..., corpse }, and the remaining elements form a new collection Re mainSet\{j);
确定 Rem VzSetlW对应的校验矩阵部分为 H,( ) , 确定 Hi (_/)最小行重量 和重量为 d= /)行数 N= /);
Figure imgf000028_0003
Determine the part of the check matrix corresponding to Rem VzSetlW as H , ( ), and determine the minimum line weight and weight of H i (_/) as d = /) the number of rows N = /);
Figure imgf000028_0003
15、 根据权利要求 13所述的方法, 其特征在于: 在步驟 C1中, 所述的低密度奇偶校验码有码率为 基本码, 基本码可以用基础矩阵 mb X nbb和扩张因子 Z唯一描述; 15. The method according to claim 13, wherein: in step C1, the low density parity check code has a code rate basic code, and the basic code can use a basic matrix m b X n bb and The expansion factor Z is the only description;
删余基本码码字得到码率高于 Rm的码,需要对基本码码字的校验比特进 行删余; The punctured basic code code word obtains a code whose code rate is higher than R m , and the parity bit of the basic code code word needs to be punctured;
扩张基本码得到码率低于 Rm的码, 在上述 Ηδ的最后一行和最后一列增 加 ½¾行和增加 Δ¾列,得到码率为 HFJR(Amb) =一" ^ ~·的低密度奇偶校验码的 mb + Amb Expanding the base code to obtain a code with a code rate lower than R m , adding 1⁄23⁄4 lines and increasing Δ3⁄4 columns in the last row and the last column of the above Η δ , resulting in a low density of the code rate H FJR (Am b ) = one "^ ~ · Parity code m b + Am b
(mb+Amb)x(nb +Am6)最大扩张基础矩阵。 (m b +Am b )x(n b +Am 6 ) maximum expansion base matrix.
16、 根据权利要求 15所述的方法, 其特征在于: 在步骤 C1 中, 所述 LDPC HARQ母码码字生成方法包括以下步骤: The method according to claim 15, wherein in step C1, the LDPC HARQ mother code codeword generating method comprises the following steps:
a) 系统将提供编码所需要的最大扩张基础矩阵 (/¾ +Am,max)x(¾+Am6 max) B.tensi0"(Amb mm) ^ 扩展因子 Z和基础矩阵大小参数 、 nb+Amb; b)若输入信息分组 <;^,还需要填充已知比特构成 ^信息分组;a) The system will provide the maximum expansion of the base matrix (/ ¾ + Am, max) x (¾ + Am 6 max) B. tensi0 "(Am b mm) ^ Z spreading factor and basic matrix size required for the encoding parameters, n b +Am b ; b) If the input information packet <;^, it is also necessary to fill the known bits to form the ^ information packet;
C)编码器根据 11 ^。"^ ^)、 扩展因子 z, 对输入 比特信息分组进 行编码, 生成 0¾+Am6 max)z比特码字; C) The encoder is based on 11^. "^ ^", a spreading factor z, encoding the input bit information packet to generate a 03⁄4+Am 6 max )z bit codeword;
d)若 有填充比特,去掉填充比特,最终编码生成 N^ =K + (mb +Amb max)z 比特码字。 d) If there are padding bits, the padding bits are removed and the final encoding yields a N^ = K + (m b + Am b max ) z bit codeword.
17、 根据权利要求 16所述的方法, 其特征在于: 所述已知比特为零。17. The method of claim 16 wherein: said known bit is zero.
18、 一种低密度混合自动请求重传即 HARQ母码码字生成方法, 包括 以下步錄: a) 系统将提供编码所需要的最大扩张基础矩阵 (》¾ +Am x)x( b+ m x) W" ( )、 扩展因子 z和基础矩阵大小参数 、 nb +Amb; b)若输入信息分组
Figure imgf000029_0001
信息分组;
18. A low-density hybrid automatic request retransmission method, that is, a HARQ mother code codeword generation method, including the following steps: a) The system will provide the maximum expansion basis matrix required for encoding ("3⁄4 + Am x ) x ( b + m x ) W" ( ), expansion factor z and base matrix size parameter, n b + Am b ; b) if input information grouping
Figure imgf000029_0001
Information grouping
C)编码器根据
Figure imgf000029_0002
、 ζ, 对输入 比特信息分组进行编码, 生 成 (¾ + Am6 max)z比特码字; d)若^^有填充比特,去掉填充比特,最终编码生成 N =K + (mb+Amirx 比特码字。
C) the encoder is based on
Figure imgf000029_0002
, ζ, encoding the input bit information packet to generate (3⁄4 + Am 6 max ) z-bit codeword; d) if ^^ has padding bits, remove the padding bits, and finally encode to generate N = K + (m b + Am i r x bit codeword.
19、 一种低密度混合自动请求重传即 HARQ母码码字生成方法, 包括 以下步 19. A low-density hybrid automatic request retransmission method, that is, a HARQ mother code codeword generation method, including the following steps
a)根据信息分组长度匹配原则, 系统将提供编码所需要的最大扩张基 础矩阵( 6
Figure imgf000030_0001
扩展因子 ζ和基础矩阵大小 参数 、 nb + Amb
a) According to the principle of information packet length matching, the system will provide the maximum expansion basis matrix required for coding ( 6)
Figure imgf000030_0001
Expansion factor ζ and basic matrix size parameters, n b + Am b ;
b)若输入信息分组 还需要填充已知比特构成/ ^信息分组; b) if the input information packet also needs to be filled with known bits to constitute / ^ information packet;
C)编码器根据 kbz的大小 分三种情况进行编码: C) The encoder encodes according to the size of k b z in three cases:
( 1 )若 JLtotal≤nb.Z, 编码器将从最大扩张基础矩阵中选择
Figure imgf000030_0002
, 即 Η6; 然后根据 Η& ζ对^比特信息分组进行编码,生成 N^-^z比特码字; k-l
(1) If JL total ≤n b . Z , the encoder will choose from the largest expansion base matrix
Figure imgf000030_0002
, ie Η 6 ; then encode the ^ bit information packet according to Η & ζ to generate a N^-^z bit codeword; kl
其中, A。to )是前 k个 HARQ包的长度之和: Lttal^ =∑L 设£^,(- 1) = 0; Among them, A. To ) is the sum of the lengths of the first k HARQ packets: L t . Tal ^ =∑L Let £^, (- 1) = 0 ;
7=0  7=0
( 2 ) 若
Figure imgf000030_0003
, 编码器将根据最大扩张基础矩阵 Η^««· ζ对 2比特信息分组进行编码, 生成 (nb +Am6 max)-z比特 码字;
(2) If
Figure imgf000030_0003
Encoder will encode the 2- bit information packet according to the maximum expansion base matrix Η^««· , to generate (n b +Am 6 max )-z bit codeword;
( 3 )除上述( 1 )与 ( 2 )之外的情况, 计算 Δ»¾ , 编码器
Figure imgf000030_0004
(3) In addition to the above cases (1) and (2), calculate Δ»3⁄4, encoder
Figure imgf000030_0004
将从最大扩张基础矩阵中选择 Η Μ'·"(Δ»¾); 然后根据 。"(△¾)、 z对^比 特信息分组进行编码, 生成(% + Am).z比特码字, 从上述码字中删余 (/¾ +Δ«¾ - 个比特, 最终得到长度为 L = 的码字; d)若 .2有填充比特, 去掉 b)添加的已知填充比特。 Η Μ '·"(Δ»3⁄4) will be selected from the maximum expansion base matrix; then ("△3⁄4", z is used to encode the bit information packet to generate (% + Am).z bit codeword, Pruning from the above codewords (/3⁄4 + Δ«3⁄4 - bits, resulting in a codeword of length L =; d) if .2 has padding bits, remove the known padding bits added by b).
PCT/CN2008/000078 2007-01-12 2008-01-11 Method for generating hybrid automatic request retransmission packet of low density parity check code WO2008086735A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710072956.2 2007-01-12
CN2007100729562A CN101005334B (en) 2007-01-12 2007-01-12 Method for forming mixed automatic request re-sending packet of low density parity check code

Publications (1)

Publication Number Publication Date
WO2008086735A1 true WO2008086735A1 (en) 2008-07-24

Family

ID=38704237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/000078 WO2008086735A1 (en) 2007-01-12 2008-01-11 Method for generating hybrid automatic request retransmission packet of low density parity check code

Country Status (2)

Country Link
CN (1) CN101005334B (en)
WO (1) WO2008086735A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022036657A1 (en) * 2020-08-20 2022-02-24 Huawei Technologies Co., Ltd. Permutated extension and shortened low density parity check codes for hybrid automatic repeat request
CN118074728A (en) * 2024-04-18 2024-05-24 北京邮电大学 Recognition method of Turbo code puncturing mode

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005334B (en) * 2007-01-12 2010-12-29 中兴通讯股份有限公司 Method for forming mixed automatic request re-sending packet of low density parity check code
CN101325474B (en) 2007-06-12 2012-05-09 中兴通讯股份有限公司 Method for encoding channel of mixed automatic request retransmission and modulation mapping of LDPC code
CN101378303B (en) * 2007-08-31 2011-05-11 华为技术有限公司 Method and apparatus for generating and processing retransmission low-density parity check code
WO2009094805A1 (en) * 2008-01-25 2009-08-06 Panasonic Corporation Radio communication apparatus and interleaving method
KR101503058B1 (en) * 2008-02-26 2015-03-18 삼성전자주식회사 Apparatus and method for channel encoding and decoding in communication system using low-density parity-check codes
CN102651652B (en) * 2008-05-04 2015-07-29 华为技术有限公司 The method of generating code-rate-compatible LDPC codes and HARQ scheme and device
CN101753264B (en) * 2008-12-18 2013-06-12 华为技术有限公司 Acquisition method and device for evaluating threshold value of perforation pattern performance
CN107437948B (en) * 2014-09-17 2020-08-07 上海数字电视国家工程研究中心有限公司 Check matrix for low-code-rate L DPC code and coding method
CN106160937B (en) 2015-04-15 2019-01-04 中兴通讯股份有限公司 A kind of method and device for realizing code block segmentation
CN104994388B (en) * 2015-07-16 2018-07-06 兰州大学 Improved unequal error protection fountain code constructing method
WO2018126914A1 (en) * 2017-01-09 2018-07-12 中兴通讯股份有限公司 Method and device for coding of quasi-cyclic low-density parity-check code, and storage medium
TWI652907B (en) * 2017-01-09 2019-03-01 聯發科技股份有限公司 Offset Coefficient and Lifting Factor Design for New Radio Low Density Parity Check Codes
CN112187403B (en) * 2017-02-04 2022-01-14 华为技术有限公司 Information processing method and device, communication equipment and communication system
CA3094841C (en) 2017-03-24 2023-05-02 Zte Corporation Processing method and device for quasi-cyclic low density parity check coding
CN108631925B (en) * 2017-03-24 2022-05-03 中兴通讯股份有限公司 Quasi-cyclic low-density parity check coding processing method and device
WO2018218466A1 (en) 2017-05-28 2018-12-06 华为技术有限公司 Information processing method and communication device
WO2018218692A1 (en) 2017-06-03 2018-12-06 华为技术有限公司 Information processing method and communication device
CN109150420B (en) * 2017-06-19 2022-02-25 华为技术有限公司 Information processing method and device, communication equipment and communication system
CN109391367B (en) * 2017-08-11 2022-12-30 华为技术有限公司 Communication method and device
WO2019047230A1 (en) 2017-09-11 2019-03-14 Zte Corporation Methods and apparatus for processing ldpc coded data
US11121806B2 (en) * 2018-09-07 2021-09-14 Qualcomm Incorporated Decoding performance
US11817958B2 (en) * 2019-09-05 2023-11-14 Apple Inc. MAC-based hybrid automatic repeat request (HARQ)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126551A1 (en) * 1999-12-20 2003-07-03 Ramesh Mantha Hybrid automatic repeat request system and method
CN1697359A (en) * 2004-04-22 2005-11-16 三星电子株式会社 System, apparatus and method for transmitting and receiving data
CN1714512A (en) * 2002-11-18 2005-12-28 高通股份有限公司 Rate-compatible low-density parity-check (LDPC) codes
US20060206781A1 (en) * 2005-03-04 2006-09-14 Samsung Electronics Co., Ltd. Method for puncturing low density parity check code
CN101005334A (en) * 2007-01-12 2007-07-25 中兴通讯股份有限公司 Method for forming mixed automatic request re-sending packet of low density parity check code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758579A (en) * 2005-09-26 2006-04-12 北京邮电大学 Method and device of HARQ

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126551A1 (en) * 1999-12-20 2003-07-03 Ramesh Mantha Hybrid automatic repeat request system and method
CN1714512A (en) * 2002-11-18 2005-12-28 高通股份有限公司 Rate-compatible low-density parity-check (LDPC) codes
CN1697359A (en) * 2004-04-22 2005-11-16 三星电子株式会社 System, apparatus and method for transmitting and receiving data
US20060206781A1 (en) * 2005-03-04 2006-09-14 Samsung Electronics Co., Ltd. Method for puncturing low density parity check code
CN101005334A (en) * 2007-01-12 2007-07-25 中兴通讯股份有限公司 Method for forming mixed automatic request re-sending packet of low density parity check code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022036657A1 (en) * 2020-08-20 2022-02-24 Huawei Technologies Co., Ltd. Permutated extension and shortened low density parity check codes for hybrid automatic repeat request
CN118074728A (en) * 2024-04-18 2024-05-24 北京邮电大学 Recognition method of Turbo code puncturing mode

Also Published As

Publication number Publication date
CN101005334A (en) 2007-07-25
CN101005334B (en) 2010-12-29

Similar Documents

Publication Publication Date Title
WO2008086735A1 (en) Method for generating hybrid automatic request retransmission packet of low density parity check code
JP4291372B2 (en) Channel encoding / decoding apparatus and method using parallel concatenated low density parity check code
CN101217337B (en) A low density parity code encoding device and method supporting incremental redundancy hybrid automatic repeat
CN101325474B (en) Method for encoding channel of mixed automatic request retransmission and modulation mapping of LDPC code
US7802164B2 (en) Apparatus and method for encoding/decoding block low density parity check codes having variable coding rate
WO2017177926A1 (en) Data transmission processing method and apparatus
JP5354979B2 (en) Low density parity check convolutional code (LDPC-CC) encoder and LDPC-CC decoder
US8527830B2 (en) Encoding method, encoding device, decoding method and decoding device for low density generator matrix codes
US20040123229A1 (en) Encoding/decoding apparatus using low density parity check code
KR20050046471A (en) Apparatus for encoding/decoding using parallel concatenation low density parity check code and the method thereof
JPWO2005107081A1 (en) Retransmission control method and communication apparatus
EP1665538A2 (en) Low-density parity-check codes for multiple code rates
WO2007080827A1 (en) Check matrix generating method
JPWO2004107640A1 (en) Retransmission control method and communication apparatus
JPWO2007091327A1 (en) LDPC parity check matrix generation method, parity check matrix generator, and code retransmission method
WO2007072721A1 (en) Inspection matrix generation method, encoding method, communication device, communication system, and encoder
US20100281332A1 (en) encoding method and device for low density generator matrix codes
EP2096763A1 (en) Encoding device, encoding method, encoding/decoding device, and communication device
CN101436918B (en) Channel encoding method, apparatus and system for structured low density parity check code
KR20070020039A (en) Retransmission control method and communication device
CN110380734B (en) Coding and decoding method for low-density parity check code
JP2007329828A (en) Decoding method, decoder and communication equipment

Legal Events

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

Ref document number: 08700633

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08700633

Country of ref document: EP

Kind code of ref document: A1