WO2018094658A1 - Data transmission method, sending device and receiving device - Google Patents

Data transmission method, sending device and receiving device Download PDF

Info

Publication number
WO2018094658A1
WO2018094658A1 PCT/CN2016/107133 CN2016107133W WO2018094658A1 WO 2018094658 A1 WO2018094658 A1 WO 2018094658A1 CN 2016107133 W CN2016107133 W CN 2016107133W WO 2018094658 A1 WO2018094658 A1 WO 2018094658A1
Authority
WO
WIPO (PCT)
Prior art keywords
ldpc code
bits
reliability
memories
bit
Prior art date
Application number
PCT/CN2016/107133
Other languages
French (fr)
Chinese (zh)
Inventor
刘晓健
魏岳军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/107133 priority Critical patent/WO2018094658A1/en
Publication of WO2018094658A1 publication Critical patent/WO2018094658A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the embodiments of the present invention relate to the field of coding technologies, and in particular, to a data transmission method, a sending device, and a receiving device.
  • the BICM system model using Low Density Parity Check Code is shown in Figure 10.
  • the dotted line in the figure indicates bit interleaved code modulation iterative decoding (BICM-).
  • BICM- bit interleaved code modulation iterative decoding
  • the gain of BICM is based on two facts: 1) In the codeword of the irregular LDPC code, the bits of the different checksums of the corresponding check matrix are differently protected; 2) high order Among the modulation symbols, the bit in the upper position has higher reliability than the lower bit. Therefore, by interleaving, the bits of different degrees of protection in the LDPC code are allocated to different reliability positions of the high-order symbols according to a certain ratio, and a certain performance gain can be obtained.
  • the interleaving method in the interleaver is mainly proposed in the reference "Vitale Giovanni, Mignone Vittoriag. Permutation of LDPC coded bits to be applied before QAM constellation mapping [P].
  • EP 2294738 B1, 2006 after encoding
  • the LDPC codeword bitstream writes Ng ( Ng is an integer multiple of the number of bits of the debug symbol) in the order of the columns, performs column swapping, and then reads in the order of the rows.
  • the scheme of column exchange is optimized according to a specific LDPC code check matrix, and the optimization criterion may be threshold analysis or bit error rate simulation.
  • the disadvantage of the above method is that although the bits of different protection capabilities are mapped to the symbol positions of different reliability according to a certain ratio, since the number of N g is limited, even if column switching is performed, it is difficult to obtain an optimal mapping ratio. Therefore, the gain it obtains is limited.
  • the embodiment of the invention provides a data transmission method, a sending device and a receiving device, which are used to improve the gain obtained when the LDPC code is interleaved.
  • an embodiment of the present invention provides a data transmission method, including:
  • the sending device After the sending device encodes the information data, the first LDPC code is obtained;
  • the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art.
  • a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution.
  • the mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code.
  • an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the experimental results are analyzed, and the embodiment of the present invention is compared with the interleaving in the background art. In this way, a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
  • the mapping distribution includes at least one mapping ratio m j,i ,
  • a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i ,
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the sending, by using the mapping, the first LDPC code is interleaved to obtain a second LDPC code, including:
  • mapping ratio m j,i satisfies the following equation Group constraints:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the method further includes:
  • the transmitting device respectively obtains L real bits and L imaginary bits from the second LDPC code into one modulation symbol, wherein the L real bits have L different reliability levels, L imaginary parts The bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • the method further includes:
  • the transmitting device includes L groups of memories for storing L types of reliability level bits of the second LDPC code, and the total number of bits stored in any two groups of the L group memories is the same.
  • the reliability of the memory within a group is the same, and the reliability of the memory between any two groups of the L group of memories is different;
  • each set of memory includes one memory
  • the transmitting device reads 1 bit from each of the L sets of memories to form L real bits
  • the transmitting device from each of the L sets of memories A memory reads 1 bit to form L imaginary bits
  • the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and the transmitting device will Mapping the L real bits and the L imaginary bits into one modulation symbol; or
  • each group of memories includes 2 r memories, r is a positive integer
  • the transmitting device reads 1 bit from the 2 r memories in the L group memory as real bits, 1 bit as imaginary bits Constructing 2 r bit sequences, wherein each of the 2 r bit sequences is composed of L real bits and L imaginary bits, respectively, L real bits in each bit sequence From the L group of memories, and arranged in descending order of reliability of the L sets of memories, the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to The reliability of the L-group memories is ranked from high to low, and each bit sequence is used to map one modulation symbol.
  • the optimal mapping effect can be obtained.
  • the first LDPC code has a Raptor like structure.
  • the method further includes: the sending device Modulation symbols are modulated and transmitted.
  • the embodiment of the present invention further provides a data transmission method, including:
  • the receiving device acquires the second LDPC code by demodulating the received signal
  • the receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code is reliable in the jth type of the corresponding modulation symbol in the second LDPC code.
  • the ratio of the position of the degree series is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code
  • the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode.
  • the reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained.
  • the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the method further includes: the receiving device pair
  • the first LDPC code performs channel decoding to obtain information data.
  • the embodiment of the present invention further provides a sending device, including:
  • a coding unit configured to encode the information data to obtain an LDPC code
  • an interleaving unit configured to interleave the first LDPC code according to the mapping distribution to obtain a second LDPC code.
  • the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art.
  • a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution.
  • the mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code.
  • an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the experimental results are analyzed, and the embodiment of the present invention is compared with the interleaving in the background art. In this way, a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
  • the mapping distribution includes at least one mapping ratio m j,i ,
  • a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i ,
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the interleaving unit is specifically configured to:
  • mapping distribution a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i .
  • mapping ratio m j,i satisfies the following equation Group constraints:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a base matrix corresponding to a check matrix of the first LDPC code
  • the number of column weight categories, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the sending device further includes: a first mapping unit, configured to separately obtain L real bits and L imaginary parts from the second LDPC code
  • the bit map is a modulation symbol, wherein L real bits have L different reliability levels, L imaginary bits have L different reliability levels, L real bits and L imaginary bits They are from different locations in the second LDCP code.
  • the sending device further includes L a group memory for storing L bits of the reliability level of the second LDPC code, wherein the total number of bits stored in any two groups of the L group memory is the same, and the memory in any one of the L group memories The reliability is the same, and the reliability of the memory between any two groups of the L group of memories is different;
  • the transmitting device further includes a second mapping unit, configured to read 1 bit from each of the L sets of memory to form L real bits if each set of memory includes 1 memory, Each memory in the L group of memories reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories from high to low. Mapping the L real bits and the L imaginary bits into one modulation symbol; or
  • each group of memories includes 2 r memories and r is a positive integer
  • one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed.
  • r bit sequences wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group
  • the reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
  • the optimal mapping effect can be obtained.
  • the first LDPC code has a Raptor like structure.
  • the sending device further includes a sending unit, The modulation symbols are modulated and transmitted.
  • the embodiment of the present invention further provides a receiving device, including:
  • a receiving unit configured to receive a signal
  • a demapping unit configured to obtain a second LDPC code by demodulating the signal
  • a deinterleaving unit configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code
  • the ratio of the positions of the reliability levels is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code
  • the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode.
  • the reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained.
  • the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the receiving device further includes a decoding unit, Channel decoding is performed on the first LDPC code to obtain information data.
  • the embodiment of the present invention further provides a sending device, including:
  • An interleaver is configured to interleave the first LDPC code according to a mapping distribution to obtain a second LDPC code.
  • the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art.
  • a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution.
  • the mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code. Therefore, an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the embodiment of the present invention compares with the background.
  • the interleaving method in the technique can obtain a larger gain, thereby improving the gain obtained when the LDPC code is interleaved.
  • the mapping distribution includes at least one mapping ratio m j,i ,
  • a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i ,
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the interleaver is specifically configured to:
  • mapping distribution a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i .
  • mapping ratio m j,i satisfies the following equation Group constraints:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the sending device further includes a mapping And for respectively obtaining L real bits and L imaginary bits from the second LDPC code into one modulation symbol, wherein the L real bits have L different reliability levels, L imaginary parts The bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • the sending device further includes L a group memory for storing L bits of the reliability level of the second LDPC code, wherein the total number of bits stored in any two groups of the L group memory is the same, and the memory in any one of the L group memories The reliability is the same, and the reliability of the memory between any two groups of the L group of memories is different;
  • the transmitting device further includes a mapper, configured to read 1 bit from each of the L sets of memory to form L real bits, if each set of memory includes 1 memory, from the L group Each memory in the memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and Mapping the L real bits and the L imaginary bits into one modulation symbol; or
  • each group of memories includes 2 r memories and r is a positive integer
  • one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed.
  • r bit sequences wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group
  • the reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
  • the optimal mapping effect can be obtained.
  • the first LDPC code has a Raptor like structure.
  • the sending device further includes a transmitter,
  • the modulation symbols are modulated and transmitted.
  • the embodiment of the present invention further provides a receiving device, including:
  • a receiver for receiving a signal
  • a deinterleaver configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code
  • the ratio of the positions of the reliability levels is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code
  • the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio
  • the interleaving ratio is according to the modulation mode.
  • mapping ratio m j,i satisfies the constraint of the following system group:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the receiving device further includes a decoder, Channel decoding is performed on the first LDPC code to obtain information data.
  • FIG. 1 is a block diagram of a BICM system using an LDPC code in the prior art
  • FIG. 2 is a flowchart of a method for data transmission according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for calculating a mapping distribution according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram 1 of a comparison of gain results according to an embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of gain comparison according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram 3 of a comparison of gain results according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for data transmission according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a mapping process according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a mapping process according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of a method for data transmission according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a sending device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a receiving device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of a sending device according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic diagram of a receiving device according to an embodiment of the present invention.
  • the embodiment of the present invention provides two methods for data transmission, one for a transmitting device side and the other for a receiving device side.
  • a transmitting device For a transmitting device, it has an encoding function, an interleaving function, a mapping function, and a sending function, and is configured for a receiving device. It has a receiving function, a demapping function, a deinterleaving function, and a decoding function.
  • the transmitting device provided by the embodiment of the present invention may be a device that integrates an encoder, an interleaver, a mapper, and a transmitter, and the receiving device may be a device that integrates a receiver, a demapper, a deinterleaver, and a decoder.
  • the sending device may be a terminal
  • the receiving device may be a base station or other network device
  • the sending device may also be a base station or other network device
  • the receiving device may be a terminal.
  • the check matrix of the LDPC code can usually be defined by a base matrix of a smaller size, which may also be referred to as a base matrix corresponding to the check matrix of the LDPC code, or an LDPC code.
  • Base matrix Parity check matrix H of binary LDPC code with dimension JZ*LZ Can be described as follows:
  • Each of the elements h j,l ,0 ⁇ j ⁇ J, 0 ⁇ l ⁇ L is a zero matrix of Z*Z size or a superposition of multiple unit cyclic shift arrays (or one unit cyclic shift array)
  • the cyclic shift array can be described by a base matrix B(H) of size J ⁇ L:
  • the matrix B(H) is the original base matrix of the LDPC code. Further, the original base matrix is optimized to obtain a base matrix of the LDPC code, and the specific method is: for any element in the original base matrix of the LDPC code, If the element is a zero matrix, the element corresponding to the position of the element in the base matrix of the LDPC code is set to 0; if the element is a non-zero matrix, the base matrix of the LDPC code corresponds to the position of the element The element is set to 1.
  • the modulation mode is 256QAM
  • the codeword is (1944,972) Quasi Cyclic Low Density Parity-Check (QC-LDPC) in IEEE802.11n.
  • the check matrix of the code is optimized to the base matrix B' 1 (H) as shown below:
  • a check matrix (or for a base matrix), it uniquely corresponds to a column weight form, taking the base matrix B' 1 (H) of the above LDPC code as an example, wherein there are four types of column weights, respectively: 2, 3, 4, 11, each accounted for: 11/24, 9/24, 1/24, 3/24.
  • the check matrix and its corresponding base matrix have the same column weight type, each column weight value and the proportion of each column weight.
  • the number of reliability levels is also determined. For example, for the modulation mode of 256QAM, the number of corresponding reliability levels is 4, respectively, the reliability level is 1 , reliability level 2, reliability level 3, reliability level 4.
  • FIG. 2 is a flowchart of a method for data transmission according to an embodiment of the present invention. The method is performed by a sending device, and the method includes the following steps:
  • Step 201 The sending device encodes the information data to obtain a first LDPC code.
  • Step 202 The transmitting device interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code.
  • the sending device encodes the information data to obtain the first LDPC code, that is, the first LDPC code is the encoded information data, where the first LDPC code corresponds to a check matrix, and corresponds to a modulation mode.
  • the modulation method herein is not an arbitrary modulation method, but after determining the modulation mode of the information data, the modulation mode of the first LDPC code, that is, the modulation mode and information data of the first LDPC code, is determined.
  • the modulation method is the same, and the modulation modes are 256QAM, 64QAM, 512QAM, and the like.
  • the LDPC code can be represented as a sequence of bits, each bit corresponding to a variable node in the check matrix of the LDPC code. If a bit in the LDPC code corresponds to a column of the variable node in the LDPC code check matrix, the bit is referred to as a bit with a column weight of i in the various embodiments herein.
  • the position at which each bit is located has a level of reliability of the modulation symbols, and bits at different positions may have the same level of reliability.
  • the mapping ratio m j,i may be a ratio of a bit whose weight is i in the LDPC code in the LDPC code where the reliability level is j.
  • the mapping distribution is composed of a plurality of mapping proportions m j,i , the mapping distribution may be pre-calculated, and the mapping distribution is stored to the sending device, and the transmitting device performs the first LDPC code according to the stored mapping distribution. Interleaving, thereby obtaining an interleaved second LDPC code, wherein the mapping distribution may be obtained according to a check matrix and a modulation mode of the first LDPC code. It can be seen that after the interleaving, the mapping distribution of the LDPC code may change, that is, the mapping distribution of the first LDPC code may be different from the mapping distribution of the second LDPC code, for example, one or more m j,i are different.
  • the mapping distribution according to the first LDPC code is obtained according to the check matrix and the modulation mode of the first LDPC code, so that a mapping corresponding to the first LDPC code can be obtained by calculation.
  • the distribution is such that the interleaved LDPC code obtains the maximum gain.
  • the base matrix of the second LDPC code is obtained by exchanging the base matrix column of the first LDPC code, and thus the base matrix of the second LDPC code has the same size as the base matrix of the first LDPC code, and Have the same column weight category, and the maximum column weight value and the minimum column weight value are also The same, that is, in the embodiment of the present invention, the check matrix, the base matrix of the first LDPC code, and the check matrix and the base matrix of the second LDPC code have the same column weight type, maximum column weight value, and minimum Column weight value.
  • dv.min is used to represent the minimum column weight value
  • dv.max is used to represent the maximum column weight value
  • L is used to indicate the number of reliability levels of the modulation symbols corresponding to the modulation mode.
  • the mapping distribution for interleaving in the embodiment of the present invention has the following structural features: including at least one mapping ratio m j,i , and m j,i indicating that the bit with the column weight i in the second LDPC code is a ratio of a position of the jth reliability level corresponding to the modulation symbol in the second LDPC code, wherein
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the second LDPC The maximum column weight of the check matrix of the code is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the specific method for the transmitting device to interleave the first LDPC code into the second LDPC code is: the transmitting device distributes the bits of the first LDPC code to the i according to the mapping distribution.
  • each mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations includes L+K equations, L is a reliability level of a modulation symbol corresponding to a modulation mode of the first LDPC code, and K is a type of column weight in a base matrix of the first LDPC code, i is the proportion of the variable nodes whose column weight is i in the base matrix of the first LDPC code, 0 ⁇ m j, i ⁇ 1.
  • the steps for calculating a mapping distribution include:
  • Step 301 Obtain a system of equations according to a reliability level of a modulation symbol corresponding to a modulation mode of the first LDPC code and a proportion of each column weight in a base matrix of the first LDPC code, where the equation group includes L+K Equation, L is the reliability level of the modulation symbol corresponding to the modulation mode of the first LDPC code, and K is the type of the column weight in the base matrix of the first LDPC code.
  • Step 302 Determine an optimization space of the system of equations.
  • Step 303 Determine an interleaving ratio corresponding to a lowest convergence threshold in the optimization space, and use the determined interleaving ratio as an interleaving ratio corresponding to the first LDPC code, and obtain a mapping distribution according to the interleaving ratio.
  • the above steps 301 to 303 can be performed using a computing device having computing power, such as a personal computer, a server, or the like.
  • the system of equations includes L+K equations, L is the number of reliability levels of modulation symbols corresponding to the modulation mode of the first LDPC code, and K is the type of column weight in the base matrix of the first LDPC code. , ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix of the first LDPC code, 0 ⁇ m j, i ⁇ 1.
  • step 302 the optimization space of the above system of equations is determined.
  • the optimization space of a system of equations There are many methods for determining the optimization space of a system of equations, and it belongs to the prior art solution, which is only briefly explained in the embodiment of the present invention.
  • a part of m j,i is selected to form an optimization space, wherein the criterion is: after the remaining m j,i is taken as an unknown number into L+K equations, the equation has a solution and the equation The solution has the largest solution space. In this way, the optimization space can be minimized to achieve the purpose of reducing the amount of optimization calculation.
  • the corresponding optimization space is: (m 32 , m 42 , m 13 , m 43 , m 14 , m 24 , m 44 , m 211 , m 311 ), and the dimension is 9;
  • the unknowns are m 12 , m 22 , m 23 , m 33 , m 34 , m 1 11 , m 4 11 .
  • the initial value of each element in the optimization space is set to the real number in the interval [0,1], and the solution of the unknown number must also fall within the interval [0,1].
  • step 303 the process of obtaining the interleaving ratio corresponding to the lowest convergence threshold in the optimized space based on the optimization space is as follows:
  • Step A Assigning m j,i in the optimization space.
  • Step B Determine a set of target solutions of the equations according to the current values of m j,i in the optimization space.
  • the target solution of the group is the final solution, it needs to be verified according to the subsequent steps. If it is determined to be the optimal solution, it is output, otherwise the target solution needs to be re-determined.
  • Step C determining, according to the target solution, a maximum signal-to-noise ratio (SNR) value of the non-convergence corresponding to the posterior soft information of each variable node of the base matrix of the first LDPC code, and determining the determined
  • SNR signal-to-noise ratio
  • a maximum SNR value that does not converge corresponding to the posterior soft information of each variable node of the base matrix is found. That is, when the a posteriori soft information of each variable node of the base matrix can converge under the current SNR value, the SNR value is decreased, and it is determined whether the posterior soft information of each variable node of the base matrix can converge under the current SNR value. If convergence is possible, the SNR value continues to decrease until the a posteriori soft information of each variable node of the base matrix does not converge at the current SNR value.
  • the a posteriori soft information of each variable node of the base matrix of the first LDPC code is not converged under the current SNR value, and the a posteriori soft information of each variable node of the base matrix satisfies the preset stop convergence under the current SNR value.
  • the condition that the convergence condition is stopped may be, for example, that the convergence value is always the same within the specified number of iterations, and there is no change; or the variation range of the convergence value is less than the preset change threshold within the specified number of iterations; or the total number of iterations The preset total number of iterations threshold is reached; of course, other preset stop convergence conditions may also be used. As long as the preset stop convergence condition is satisfied, the convergence value at the time of convergence is stopped as the lowest convergence threshold.
  • Step D determining whether the maximum SNR value that cannot be converged under the current target solution is the same as the maximum SNR value that cannot be converged under the previous target solution. If they are the same, the current target solution is used as the interlace corresponding to the lowest convergence threshold in the optimization space. If the ratio is not the same, proceed to step E.
  • Step E Adjust the value of m j,i in the optimization space according to the current generation value, and return to step B.
  • the value of m j,i in the optimization space may be adjusted according to the difference optimization algorithm and the current generation value.
  • the target solution of the scale equation system is used to determine the maximum SNR value that cannot be converged corresponding to the posterior soft information of each variable node of the base matrix under the current target solution. For example, suppose that when the target solution is a1, the maximum SNR value obtained is b1; when the target solution is a2, it can continue to iterate on the basis of b1 to obtain a smaller b2 than b1; For a3, it can continue to iterate on the basis of b2 to obtain a smaller b3 than b2; until the iteration stop condition is satisfied, the final SNR value is taken as the output result.
  • the interleaving ratio corresponding to the lowest convergence threshold in the optimization space when determining the interleaving ratio corresponding to the lowest convergence threshold in the optimization space, a double iterative method is used, and an optimal solution can be found, and the SNR value corresponding to the optimal solution is the variable of the base matrix.
  • the maximum SNR value of the a posteriori soft information corresponding to the node cannot be converged, and the optimal solution is used as the final determined interleaving ratio.
  • This embodiment can implement the convergence solution to find the optimal solution and ensure the accuracy of the interleaving ratio. And it has been proved by experiments that a certain performance BICM gain can be achieved; and this embodiment obtains the best interleaving ratio by mathematical operation, and has a faster calculation speed than the simulation method in the background art.
  • the embodiment of the present invention further provides a possible implementation manner of the foregoing step C, which specifically includes the following steps:
  • Step C1 Obtain channel mutual information of each reliability position of the modulation symbol corresponding to the first LDPC code by simulation according to the current SNR value;
  • the channel mutual information amount of each reliability position of the high-order modulation symbol can be obtained by Monte Carlo simulation.
  • the 64QAM symbol has three kinds of reliability, and their channel mutual information amounts are represented by I 1 , I 2 , and I 3 , respectively.
  • Step C2 Determine, according to the current target solution and the channel mutual information of each reliability position of the high-order modulation symbol corresponding to the determined first LDPC code, determine, by demodulating the mutual information obtained from the channel, the variable nodes of the base matrix of the first LDPC code respectively ;
  • the mutual information obtained by the corresponding variable node from the channel can be calculated as follows:
  • Step C3 Obtaining a change of the base matrix according to mutual information obtained by each variable node of the base matrix Mutual information between the quantity node and the check node;
  • all Iv k obtained in the above step C3 can be used as an input of the PEXIT algorithm, and then the mutual information between the variable node and the check node of the base matrix is iteratively solved according to the calculation step of the PEXIT algorithm.
  • Step C4 Obtain mutual information between each variable node of the base matrix of the first LDPC code, mutual information between the variable node of the base matrix of the first LDPC code, and the check node, to obtain a base matrix of the first LDPC code.
  • Step C5 determining whether the a posteriori soft information of each variable node of the base matrix of the first LDPC code converges under the current SNR value, and if not, determining the determined maximum SNR value that cannot be converged as the current generation value; , the current SNR value is lowered by the set step size and the process proceeds to step C1.
  • the value of the posterior soft information of all variable nodes approaches 1 and a threshold is set in the actual operation.
  • a threshold for example, 0.0001
  • a method for determining a maximum SNR value that cannot be converged corresponding to a posteriori soft information of each variable node of a base matrix of the first LDPC code is provided for a certain target solution, wherein the first LDPC is combined
  • the mutual information obtained by each variable node of the base matrix of the code, the mutual information between the variable node of the base matrix of the first LDPC code and the check node, and the posterior softness of each variable node of the base matrix of the first LDPC code is obtained.
  • This embodiment uses an iterative method to accurately determine the posterior soft information corresponding to each variable node of the base matrix under a target solution.
  • the maximum SNR value that cannot be converged has higher accuracy, which can guarantee the final determination of the interleaving ratio.
  • the transmitting device may be configured to interleave the first LDPC code according to the mapping distribution shown in Table 1, to obtain a second LDPC code, where the transmitting device distributes the bits of the first LDPC code with the i to the first according to the mapping distribution.
  • the position of the jth reliability level corresponding to the modulation symbol in the two LDPC codes such that the ratio of the bit of the second LDPC code whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol For m j,i .
  • the ratio of the bit weighted to 2 in the first LDPC code to the first reliability level of the second LDPC code is 0.226982
  • the ratio of the position distributed to the position of the second reliability level is 0.187418
  • the ratio of the bit having a column weight of 2 in the second LDPC code to the position of the first reliability level is 0.226982
  • the ratio of the position of the second reliability level is 0.187418.
  • the number of bits in the second LDPC code there are 100 bits with a column weight of 2, and after interleaving, the number of bits in the second LDPC code that is 2 in the position of the first reliability level is 22 or 23, and the second The number of bits with a weight of 2 at the position of the reliability level is 18 or 19, and the number of bits can be rounded or rounded as needed. It should be noted that the examples herein are only examples and are not limited thereto.
  • the first LDPC code corresponding to the B' 1 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold after the interleaving is 7.697dB, and converges in the non-interleaving case.
  • the threshold is 8.097 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.4 dB can be obtained.
  • FIG. 4 is a schematic diagram of comparison of gain results according to an embodiment of the present invention.
  • the figure is a schematic diagram of gain obtained when interleaving a first LDPC code to obtain a second LDPC code according to the mapping distribution shown in Table 1.
  • the simulated channel environment is Additive White Gaussian Noise (AWGN) channel, and the demodulation method is Log-MAP.
  • the decoding algorithm is Error Back Propagation (BP) algorithm.
  • the maximum number of iterations is set to 50.
  • the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
  • the optimized interleaving ratio gain given by the embodiment of the present invention is significant.
  • the BICM system has a gain of about 0.4 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis.
  • the BICM-ID system has a gain of about 1 dB at a FER of 10 -1 .
  • the modulation mode is 256QAM
  • the codeword is the (1944, 1296) QC-LDPC code in IEEE802.11n.
  • the base matrix B 2 '(H) of the code ie, the first LDPC code is structured as follows:
  • the optimization space is set to (m 32 , m 42 , m 13 , m 43 , m 16 , m 26 , m 46 , m 28 , m 38 ) with a dimension of 9; the unknown is m 12 m 22 , m 23 , m 33 , m 36 , m 18 , m 48 .
  • the initial value of each element in the optimization space is set to the real number in the interval [0,1], and the unknown number obtained after bringing it into the equation group T 2 must also fall within the interval [0,1].
  • the first LDPC code corresponding to the B' 2 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold of the interleaving to be 10.718 dB, and converge in the non-interleaving case.
  • the threshold is 10.891 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.17 dB can be obtained.
  • the simulated channel environment is an AWGN channel
  • the demodulation method is Log-MAP.
  • the decoding algorithm is BP algorithm, and the maximum number of iterations is set. 50 times.
  • the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
  • the optimized interleaving ratio gain given by the embodiment of the present invention is significant.
  • the BICM system has a gain of approximately 0.2 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis.
  • the gain of the BICM-ID is approximately 0.4 dB.
  • the modulation mode is 256QAM
  • the codeword is the (1944, 1458) QC-LDPC code in IEEE802.11n.
  • the base matrix B 3 '(H) of the code ie, the first LDPC code is structured as follows:
  • the optimization space is set to (m 32 , m 42 , m 13 , m 43 , m 16 , m 26 ) with a dimension of 6; the unknown is m 12 , m 22 , m 23 , m 33 , m 36 , m 46 .
  • the initial value of each element in the optimization space is set to the real number in the interval [0,1], and the unknown number obtained after bringing it into the equation group T 3 must also fall within the interval [0,1].
  • the first LDPC code corresponding to the B' 3 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold of the interleaving to be 12.237 dB, and converge in the non-interleaving case.
  • the threshold is 12.323 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.086 dB can be obtained.
  • the simulated channel environment is an AWGN channel
  • the demodulation method is Log-MAP.
  • the decoding algorithm is BP algorithm, and the maximum number of iterations is set. 50 times.
  • the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
  • the optimized interleaving ratio gain given by the embodiment of the present invention is significant.
  • the BICM system has a gain of approximately 0.12 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis.
  • the gain of the BICM-ID is approximately 0.2 dB.
  • the method further includes the step of mapping the second LDPC code.
  • the method for data transmission according to the embodiment of the present invention is further provided. :
  • Step 203 The transmitting device separately obtains L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where L real bits have L different reliability levels, L virtual The partial bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • L is the number of reliability levels of modulation symbols corresponding to the modulation scheme.
  • the transmitting device acquires L real bits and L imaginary bits into a modulation symbol each time the unmapped bit position is obtained, wherein the L real bits have L For different reliability levels, the L imaginary bits have L different reliability levels and are respectively from different positions in the second LDPC code, and the second LDPC code can be mapped into n modulation symbols.
  • the number of reliability levels in the second LDPC code is 2, and the second LDPC code includes ⁇ a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 , a 8 ⁇ , wherein
  • the bits of one reliability level are ⁇ a 1 , a 2 , a 3 , a 4 ⁇
  • the bits having the second reliability level are ⁇ a 5 , a 6 , a 7 , a 8 ⁇ , then ⁇ a 1 , a 5 ⁇ as the real part sequence, ⁇ a 2 , a 6 ⁇ as the imaginary part sequence, together mapped to one modulation symbol m 1 ; ⁇ a 3 , a 7 ⁇ as the real part sequence, ⁇ a 4 , a 8 ⁇ as an imaginary sequence, mapped together as a modulation symbol m 2 . It should be noted that this is just an example.
  • the bits in the real part sequence and the imaginary part sequence may be arranged in descending order of reliability level, for example, based on the LDPC code of the foregoing example, if the first reliability level The number is lower than the second reliability level, then ⁇ a 5 , a 1 ⁇ is the real part sequence, and ⁇ a 6 , a 2 ⁇ is used as the imaginary part sequence, and is mapped together as one modulation symbol m 1 ; ⁇ a 7 , a 3 ⁇ As a real part sequence, ⁇ a 8 , a 4 ⁇ is taken as an imaginary part sequence and mapped together as one modulation symbol m 2 . It should be noted that these are only convenient examples.
  • the above step 203 is a process of mapping the second LDPC code obtained after interleaving.
  • a specific process for mapping the second LDPC code obtained by interleaving is provided, where the sending device includes L sets of memory for storing bits of L reliability levels of the second LDPC code, respectively.
  • the total number of bits stored in any two groups in the L group memory is the same, the reliability of the memory in any one of the L group memories is the same, and the reliability of the memory between any two groups in the L group memory is different.
  • Each group of memory includes 1 memory
  • the transmitting device reads 1 unread bits from each memory in the L group memory to form L real bits, and reads 1 unread bits from each memory in the L group memory to form L imaginary bits.
  • the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and are mapped to one modulation symbol.
  • FIG. 8 is a schematic diagram of a mapping process according to an embodiment of the present invention.
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the first reliability level of the symbol are respectively 203, 219, 64, 0;
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol second reliability level are 167, 265, 4, 50, respectively;
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the third reliability level of the symbol are 255, 174, 9, and 48, respectively;
  • the number of bits of the corresponding column weights of 2, 3, 4, and 11 included in the memory corresponding to the symbol fourth reliability level are 266, 71, 4, and 145, respectively.
  • the order of the bits in each group of memory is independent of performance, and can be specifically arranged according to actual conditions.
  • one unread ratio is read sequentially from the L group memory.
  • the special bits form L real bits according to the reliability of the L group memories from high to low; then, the unread 1 bits are sequentially read from the L group memories, according to the L group.
  • the reliability corresponding to the memory is from high to low, forming L imaginary bits; finally, one modulation symbol is mapped according to the L real bits and the L imaginary bits.
  • one bit is sequentially read from the memory 1 to the memory 4, and four bits are obtained to form a real part of one bit sequence; then, one bit is sequentially read from the memory 1 to the memory 4, respectively.
  • each group of memory includes 2 r memories, r is a positive integer
  • each set of memory contains 2 r memories.
  • the mapping method is: the transmitting device reads one unread bit from the 2 r memories in the L group memory as A real bit, an unread bit as an imaginary bit, constitutes 2 r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits The L real bits and the L imaginary bits in each bit sequence are arranged in descending order of reliability corresponding to the L sets of memories, wherein each bit sequence is used to map a modulation symbol. Map 2 r modulation symbols.
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the first reliability level of the symbol are 203, 219, 64, 0, respectively;
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol second reliability level are 167, 265, 4, 50, respectively;
  • the number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol third reliability level are 255, 174, 9, 48, respectively;
  • the number of bits of the corresponding column weights of 2, 3, 4, and 11 included in the memory corresponding to the fourth reliability level of the symbol are 266, 71, 4, and 145, respectively.
  • how many bits are stored in each memory in each group of memory which is set according to the actual situation, and is not limited thereto.
  • the memory 1 and the memory 2 are included, wherein the memory The sum of the bits in 1 and the memory 2 is: the number of bits corresponding to the column weights of 2, 3, 4, and 11, is 203, 219, 64, and 0, respectively.
  • the number of bits corresponding to 2, 3, 4, and 11 is 100, 100, 10, and 0, respectively;
  • the number of bits corresponding to 2, 3, 4, and 11 is 103, 119, and 54, respectively.
  • bits can be read from any of the memories of the group. For example, one bit can be read from the memory 1 shown in FIG. One bit is read in the memory 4, one bit is read from the memory 5, one bit is read from the memory 7, and four bits are obtained to form a real part of one bit sequence; read from the memory 2 One bit is read from the memory 3, one bit is read from the memory 6, one bit is read from the memory 8, and four bits are obtained to form an imaginary part of one bit sequence, thereby constituting one bit.
  • a sequence of bits and maps the sequence of bits to a modulation symbol on the constellation. Since the sum of the bits of all memory stored in one memory bank is the same, the mapping can be done correctly.
  • the advantage of providing multiple memories in a memory bank in the above manner is that the multiple symbols can be mapped in parallel to increase the BICM gain.
  • the transmitting device in the embodiment of the present invention may further modulate and transmit the modulation symbol obtained in step 203 above.
  • the check matrix of the first LDPC code in the embodiment of the present invention may also be a check matrix having a Raptor like structure.
  • the mapping proportion in the mapping distribution has the following characteristics: according to the mapping The ratio of the shots is such that the majority of the bits corresponding to the smallest and largest columns of the check matrix of the first LDPC code are mapped to the lower reliability bits to obtain the second LDPC code.
  • an embodiment of the present invention further provides a data transmission method. As shown in FIG. 10, the method is performed by a receiving device, and the receiving device is configured to receive a modulation symbol from a sending device, where the method specifically includes the following step:
  • Step 1001 The receiving device acquires a second LDPC code by demodulating the received signal.
  • Step 1002 The receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a jth type of the modulation symbol in the second LDPC code.
  • the ratio of the position of the reliability level is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the signal received by the receiving device is encoded by the transmitting device to obtain a first LDPC code, and the first LDPC code is interleaved to obtain a second LDPC code, and the second LDPC code is mapped and modulated.
  • the signal is obtained and sent to the receiving device. Therefore, after receiving the signal sent by the transmitting device, the receiving device first performs demodulation (including demapping further) to obtain a second LDPC code.
  • the receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a jth type of the modulation symbol in the second LDPC code.
  • the ratio of the positions of the reliability series is m j,i , and optionally, the mapping ratio m j,i satisfies the constraints of the following equations:
  • the system of equations comprises L+K equations, L is a reliability level of a modulation symbol corresponding to the modulation mode, and K is a type of column weight in a base matrix of a check matrix of the first LDPC code
  • the number of ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the mapping ratio has the following feature: on the sending device side, according to the mapping ratio, the check matrix of the first LDPC code is listed. Most of the bits corresponding to the smallest and largest columns are mapped to locations with lower reliability to obtain a second LDPC code.
  • the receiving device further performs channel decoding on the first LDPC code to obtain decoded information data.
  • the embodiment of the present invention further provides a sending device 1100, where the sending device 1100 is configured to perform the data transmission on the sending device side, as shown in FIG.
  • the encoding unit 1101 is configured to: after encoding the information data, obtain an LDPC code;
  • the interleaving unit 1102 is configured to perform interleaving on the first LDPC code according to the mapping distribution to obtain a second LDPC code.
  • the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art.
  • a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution.
  • the mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code.
  • an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the interleaving method in the embodiment of the present invention is compared with the background technology. , a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
  • the mapping distribution includes at least one mapping ratio m j,i ,
  • a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i ,
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the interleaving unit 1102 is configured to: distribute, according to the mapping distribution, a bit with a weight of i in the first LDPC code to a jth reliability of a corresponding modulation symbol in the second LDPC code. Position of the series, such that the ratio of the bit of the second LDPC code whose weight is i is the position of the jth reliability level of the modulation symbol in the second LDPC code is m j,i ;
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the first LDPC code, dv.max and the first The maximum column weight of the parity check matrix of an LDPC code is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a base matrix corresponding to a check matrix of the first LDPC code
  • the number of column weight categories, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the sending device further includes a first mapping unit 1103, configured to separately obtain L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where, The real bits have L different reliability levels, the L imaginary bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • a first mapping unit 1103 configured to separately obtain L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where, The real bits have L different reliability levels, the L imaginary bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • the sending device further includes an L group of memories, configured to store bits of L reliability levels of the second LDPC code, where the total number of bits stored in any two groups in the L group of memories is the same.
  • the reliability of the memory in any one of the L group memories is the same, and the reliability of the memory between any two groups of the L group memories is different;
  • the transmitting device further includes a second mapping unit 1104, configured to read 1 bit from each memory in the L group of memory to form L real bits if each group of memories includes one memory.
  • Each memory in the L-group memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively according to the reliability of the L-group memory from high to low. Arrange, map to a modulation symbol; or,
  • each group of memories includes 2 r memories and r is a positive integer
  • one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed.
  • r bit sequences wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group
  • the reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the sending device further includes a sending unit 1105, configured to modulate and transmit the modulation symbol.
  • the embodiment of the present invention further provides a receiving device 1200, where the receiving device 1200 is configured to perform data transmission on the receiving device side, as shown in FIG. 12, including:
  • a receiving unit 1201, configured to receive a signal
  • a demapping unit 1202 configured to obtain a second LDPC code by demodulating the signal
  • the deinterleaving unit 1203 is configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code
  • the ratio of the positions of the j reliability levels is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code
  • the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode.
  • the reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained.
  • the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the receiving device further includes a decoding unit 1204, configured to perform channel decoding on the first LDPC code to obtain information data.
  • a decoding unit 1204 configured to perform channel decoding on the first LDPC code to obtain information data.
  • the embodiment of the present invention further provides a transmitting device 1300, as shown in FIG. 13, including an encoder 1301, an interleaver 1302, a mapper 1303, a transmitter 1304, and an L-group memory 1305;
  • the encoder 1301 is configured to encode the information data to obtain an LDPC code.
  • the interleaver 1302 is configured to interleave the first LDPC code according to a mapping distribution to obtain a second LDPC code.
  • the mapping distribution includes at least one mapping ratio m j,i ,
  • a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i ,
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • the interleaver 1302 is specifically configured to:
  • mapping distribution a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit of the column i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i ;
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the first LDPC code, dv.max and the first The maximum column weight of the parity check matrix of an LDPC code is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the mapper 1303 is configured to separately obtain L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where the L real bits have L different types.
  • the reliability level, the L imaginary bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
  • the L group of memories 1305 are respectively configured to store bits of L reliability levels of the second LDPC code, and the total number of bits stored in any two groups in the L group of memories is the same, the L group The reliability of the memory in any group in the memory is the same, and the reliability of the memory between any two groups of the L group memory is different;
  • the mapper 1303 is specifically configured to: if each group of memories includes one memory, read 1 bit from each of the L groups of memories to form L real bits, from the L group of memories. Each memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and the L real bits and the L imaginary bits are mapped into one modulation symbol; or
  • each group of memories includes 2 r memories and r is a positive integer
  • one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed.
  • r bit sequences wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group
  • the reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the transmitter 1304 is configured to modulate and transmit the modulation symbol.
  • an embodiment of the present invention further provides a receiving device 1400, including a receiver 1401, a demapper 1402, a deinterleaver 1403, and a decoder 1404;
  • the receiver 1401 is configured to receive a signal
  • the demapper 1402 is configured to obtain a second LDPC code by demodulating the signal
  • the deinterleaver 1403 is configured to perform deinterleaving on the second LDPC code to obtain a first LDPC code, where a bit of the second LDPC code with a weight of i is correspondingly modulated in the second LDPC code.
  • the ratio of the position of the jth reliability level of the symbol is m j,i , where
  • i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
  • j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  • mapping ratio m j,i satisfies the constraints of the following system of equations:
  • the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code
  • the number of weights, ⁇ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ⁇ m j, i ⁇ 1.
  • the check matrix of the first LDPC code has a Raptor like structure.
  • the decoder 1404 is configured to perform channel decoding on the first LDPC code to obtain information data.
  • embodiments of the present invention can be provided as a method, or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the flowchart The steps of a process or a plurality of processes and/or block diagrams of a function specified in a block or blocks.

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)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Disclosed are a data transmission method, a sending device and a receiving device, which are used for improving a gain obtained when LDPC codes are interleaved. The method comprises: a sending device encoding information data to obtain first LDPC codes, and then according to a mapping distribution, interleaving the first LDPC codes to obtain a second LDPC code. Compared with the method in the prior art of using a threshold for analysis, in the embodiments of the present invention, a mapping distribution is pre-calculated, and then according to the mapping distribution, first LDPC codes are interleaved. Since a mapping distribution is obtained according to a check matrix and a modulation mode of a first LDPC code, an optimal mapping distribution corresponding to the first LDPC code can be obtained through calculation, so that interleaved LDPC codes can obtain the maximum gain. By means of experimental result analysis, the interleaving method in the embodiments of the present invention, compared with that in the background art, can obtain a larger gain.

Description

一种数据传输的方法、发送设备及接收设备Data transmission method, transmitting device and receiving device 技术领域Technical field
本发明实施例涉及编码技术领域,尤其涉及一种数据传输的方法、发送设备及接收设备。The embodiments of the present invention relate to the field of coding technologies, and in particular, to a data transmission method, a sending device, and a receiving device.
背景技术Background technique
采用低密度奇偶校验码(Low Density Parity Check Code,LDPC)的BICM系统模型如图10所示,图中虚线表示采用迭代解调解码的比特交织编码调制(bit interleaved code modulation iterative decoding,BICM-ID)系统,如不考虑反馈环路则为普通的BICM系统。The BICM system model using Low Density Parity Check Code (LDPC) is shown in Figure 10. The dotted line in the figure indicates bit interleaved code modulation iterative decoding (BICM-). The ID) system, if not considering the feedback loop, is a normal BICM system.
在图1所示的采用LDPC的BICM系统中,BICM的增益基于两个事实:1)非规则LDPC码的码字中,对应校验矩阵不同列重的比特受保护程度不同;2)高阶调制符号中,处于高位的比特相比低位的比特具有更高的可靠度。因此,通过交织将LDPC码中受保护程度不同的比特,按照一定的比例分配到高阶符号的不同可靠度位置上,可以获得一定的性能增益。In the BICM system using LDPC shown in Figure 1, the gain of BICM is based on two facts: 1) In the codeword of the irregular LDPC code, the bits of the different checksums of the corresponding check matrix are differently protected; 2) high order Among the modulation symbols, the bit in the upper position has higher reliability than the lower bit. Therefore, by interleaving, the bits of different degrees of protection in the LDPC code are allocated to different reliability positions of the high-order symbols according to a certain ratio, and a certain performance gain can be obtained.
虽然通过修改星座图、重新设计校验矩阵可以获得更大的增益,但是这些改动牵涉面过大。在实际系统中,更可能被采纳的是在标准的高阶调制(如正交振幅调制(Quadrature Amplitude Modulation,QAM))和给定的校验矩阵条件下,通过比特交织器来获得BICM的性能增益。Although greater gains can be obtained by modifying the constellation diagram and redesigning the check matrix, these changes are too large. In practical systems, it is more likely to be adopted to obtain BICM performance through a bit interleaver under standard high-order modulation (such as Quadrature Amplitude Modulation (QAM)) and given parity check matrix conditions. Gain.
现有技术中,交织器中的交织方法主要为:参考文献“Vitale Giovanni,Mignone Vittoriag.Permutation of LDPC coded bits to be applied before QAM constellation mapping[P].EP 2294738B1,2006”中提出,将编码后的LDPC码字比特流按照列的顺序写入Ng(Ng是调试符号包含比特数的整数倍)个存储器组,进行列交换后再按照行的顺序读出。其中列交换的方案根据具体的LDPC码校验矩阵进行优化,优化的准则可以是门限分析或误码率仿真。In the prior art, the interleaving method in the interleaver is mainly proposed in the reference "Vitale Giovanni, Mignone Vittoriag. Permutation of LDPC coded bits to be applied before QAM constellation mapping [P]. EP 2294738 B1, 2006", after encoding The LDPC codeword bitstream writes Ng ( Ng is an integer multiple of the number of bits of the debug symbol) in the order of the columns, performs column swapping, and then reads in the order of the rows. The scheme of column exchange is optimized according to a specific LDPC code check matrix, and the optimization criterion may be threshold analysis or bit error rate simulation.
上述方法存在的缺陷是:不同保护能力的比特虽然按照一定的比例被映 射到不同可靠度的符号位置上,但是由于Ng的数量有限,即使进行列交换,也很难获得最优的映射比例,因此其获得的增益较为有限。The disadvantage of the above method is that although the bits of different protection capabilities are mapped to the symbol positions of different reliability according to a certain ratio, since the number of N g is limited, even if column switching is performed, it is difficult to obtain an optimal mapping ratio. Therefore, the gain it obtains is limited.
发明内容Summary of the invention
本发明实施例提供一种数据传输的方法、发送设备及接收设备,用以提高LDPC码交织时获得的增益。The embodiment of the invention provides a data transmission method, a sending device and a receiving device, which are used to improve the gain obtained when the LDPC code is interleaved.
第一方面,本发明实施例提供一种数据传输的方法,包括:In a first aspect, an embodiment of the present invention provides a data transmission method, including:
发送设备对信息数据编码后得到第一LDPC码;After the sending device encodes the information data, the first LDPC code is obtained;
所述发送设备根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。Transmitting, by the sending device, the first LDPC code according to a mapping distribution to obtain a second LDPC code.
本发明实施例,发送设备对信息数据进行编码后得到第一LDPC码,然后根据映射分布,对第一LDPC码进行交织得到第二LDPC码,相较于背景技术中使用门限分析的方式,本发明实施例中预先计算好一个映射分布,然后根据该映射分布对第一LDPC码进行交织,其中,本发明实施例中的映射分布可以是根据第一LDPC码的校验矩阵及调制方式得到的,因而可以通过计算得到一个与该第一LDPC码对应的一个最佳映射分布,从而使得交织后的LDPC码获得最大的增益,通过实验结果分析,本发明实施例相较于背景技术中的交织方法,可以得到更大的增益,从而提高了LDPC码交织时获取的增益。In the embodiment of the present invention, the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art. In the embodiment of the present invention, a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution. The mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code. Therefore, an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the experimental results are analyzed, and the embodiment of the present invention is compared with the interleaving in the background art. In this way, a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
结合第一方面,在第一方面的第一种可能的实现方式中,所述映射分布包括至少一个映射比例mj,iWith reference to the first aspect, in a first possible implementation manner of the first aspect, the mapping distribution includes at least one mapping ratio m j,i ,
所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等, i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
结合第一方面,在第一方面的第二种可能的实现方式中,所述发送设备根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码,包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, the sending, by using the mapping, the first LDPC code is interleaved to obtain a second LDPC code, including:
所述发送设备根据所述映射分布将所述第一LDPC码中列重为i的变量节点分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iTransmitting, by the sending device, a variable node whose weight is i in the first LDPC code to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code according to the mapping distribution, so that the The ratio of the bit having the column weight i in the second LDPC code to the position of the jth reliability level of the modulation symbol in the second LDPC code is m j,i .
结合第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束:In conjunction with the first possible implementation of the first aspect or the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the mapping ratio m j,i satisfies the following equation Group constraints:
Figure PCTCN2016107133-appb-000001
Figure PCTCN2016107133-appb-000001
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第一方面或第一方面的第一种至第三种可能的实现方式中任意一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:With reference to the first aspect, or any one of the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
发送设备从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部 比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。The transmitting device respectively obtains L real bits and L imaginary bits from the second LDPC code into one modulation symbol, wherein the L real bits have L different reliability levels, L imaginary parts The bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
结合第一方面或第一方面的第一种至第三种可能的实现方式中任意一种可能的实现方式,在第一方面的第五种可能的实现方式中,所述方法还包括:With reference to the first aspect, or any one of the first to the third possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
所述发送设备包括L组存储器分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;The transmitting device includes L groups of memories for storing L types of reliability level bits of the second LDPC code, and the total number of bits stored in any two groups of the L group memories is the same. The reliability of the memory within a group is the same, and the reliability of the memory between any two groups of the L group of memories is different;
若每一组存储器包括1个存储器,所述发送设备从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,所述发送设备从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,所述发送设备将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,If each set of memory includes one memory, the transmitting device reads 1 bit from each of the L sets of memories to form L real bits, and the transmitting device from each of the L sets of memories A memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and the transmitting device will Mapping the L real bits and the L imaginary bits into one modulation symbol; or
若每一组存储器包括2r个存储器,r为正整数,所述发送设备从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories, r is a positive integer, the transmitting device reads 1 bit from the 2 r memories in the L group memory as real bits, 1 bit as imaginary bits Constructing 2 r bit sequences, wherein each of the 2 r bit sequences is composed of L real bits and L imaginary bits, respectively, L real bits in each bit sequence From the L group of memories, and arranged in descending order of reliability of the L sets of memories, the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to The reliability of the L-group memories is ranked from high to low, and each bit sequence is used to map one modulation symbol.
上述实施例中,由于将保护程度不同的比特按照一定比例分配到符号不同可靠度位置,因而可获取最佳映射效果。In the above embodiment, since the bits with different degrees of protection are allocated to the different reliability positions of the symbols according to a certain ratio, the optimal mapping effect can be obtained.
结合第一方面或第一方面的第一种至第五种可能的实现方式中任意一种可能的实现方式,在第一方面的第六种可能的实现方式中,,所述第一LDPC码的校验矩阵具有Raptor like结构。 With reference to the first aspect, or any one of the possible implementation manners of the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the first LDPC code The check matrix has a Raptor like structure.
结合第一方面的第四种可能的实现方式或第一方面的第五种可能的实现方式,在第一方面的第七种实现方式中,所述方法还包括:所述发送设备对所述调制符号进行调制并发送。In conjunction with the fourth possible implementation of the first aspect, or the fifth possible implementation of the first aspect, in a seventh implementation manner of the first aspect, the method further includes: the sending device Modulation symbols are modulated and transmitted.
第二方面,本发明实施例还提供一种数据传输的方法,包括:In a second aspect, the embodiment of the present invention further provides a data transmission method, including:
接收设备通过解调接收信号获取第二LDPC码;The receiving device acquires the second LDPC code by demodulating the received signal;
所述接收设备对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,The receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code is reliable in the jth type of the corresponding modulation symbol in the second LDPC code. The ratio of the position of the degree series is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
上述发明实施例中,接收设备接收到的LDPC码是由第一LDPC码解交织得到的,且第二LDPC码是对第一LDPC码根据交织比例进行交织得到的,且交织比例是根据调制方式对应的调制符号的可靠度级数及LDPC码的列重得到的,该实施例,由于原则上可以通过计算得到最佳的交织比例,因而可以得到最佳的交织映效果,提高了交织时获取的增益。In the foregoing embodiment of the present invention, the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code, and the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode. The reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained. In this embodiment, since the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
结合第二方面,在第二方面的第一种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束:In conjunction with the second aspect, in a first possible implementation of the second aspect, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000002
Figure PCTCN2016107133-appb-000002
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例, 0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第一LDPC码的校验矩阵具有Raptor like结构。With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the check matrix of the first LDPC code has a Raptor like structure.
结合第二方面或第二方面的第一种可能的实现方式或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述方法还包括:所述接收设备对所述第一LDPC码进行信道译码得到信息数据。With reference to the second aspect or the first possible implementation manner of the second aspect, or the second possible implementation manner, in a third possible implementation manner of the second aspect, the method further includes: the receiving device pair The first LDPC code performs channel decoding to obtain information data.
第三方面,本发明实施例还提供一种发送设备,包括:In a third aspect, the embodiment of the present invention further provides a sending device, including:
编码单元,用于对信息数据编码后得到LDPC码;a coding unit, configured to encode the information data to obtain an LDPC code;
交织单元,用于根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。And an interleaving unit, configured to interleave the first LDPC code according to the mapping distribution to obtain a second LDPC code.
本发明实施例,发送设备对信息数据进行编码后得到第一LDPC码,然后根据映射分布,对第一LDPC码进行交织得到第二LDPC码,相较于背景技术中使用门限分析的方式,本发明实施例中预先计算好一个映射分布,然后根据该映射分布对第一LDPC码进行交织,其中,本发明实施例中的映射分布可以是根据第一LDPC码的校验矩阵及调制方式得到的,因而可以通过计算得到一个与该第一LDPC码对应的一个最佳映射分布,从而使得交织后的LDPC码获得最大的增益,通过实验结果分析,本发明实施例相较于背景技术中的交织方法,可以得到更大的增益,从而提高了LDPC码交织时获取的增益。In the embodiment of the present invention, the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art. In the embodiment of the present invention, a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution. The mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code. Therefore, an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the experimental results are analyzed, and the embodiment of the present invention is compared with the interleaving in the background art. In this way, a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
结合第三方面,在第三方面的第一种可能的实现方式中,所述映射分布包括至少一个映射比例mj,iWith reference to the third aspect, in a first possible implementation manner of the third aspect, the mapping distribution includes at least one mapping ratio m j,i ,
所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中, a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
结合第三方面,在第三方面的第二种可能的实现方式中,所述交织单元,具体用于:With reference to the third aspect, in a second possible implementation manner of the third aspect, the interleaving unit is specifically configured to:
根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iAnd distributing, according to the mapping distribution, a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i .
结合第三方面的第一种可能的实现方式或第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束:In conjunction with the first possible implementation of the third aspect or the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the mapping ratio m j,i satisfies the following equation Group constraints:
Figure PCTCN2016107133-appb-000003
Figure PCTCN2016107133-appb-000003
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵对应的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a base matrix corresponding to a check matrix of the first LDPC code The number of column weight categories, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第三方面或第三方面的第一种至第三种可能的实现方式中任意一种 可能的实现方式,在第三方面的第四种可能的实现方式中,所述发送设备还包括第一映射单元,用于从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。Combining any of the first to third possible implementations of the third aspect or the third aspect In a fourth possible implementation manner of the third aspect, the sending device further includes: a first mapping unit, configured to separately obtain L real bits and L imaginary parts from the second LDPC code The bit map is a modulation symbol, wherein L real bits have L different reliability levels, L imaginary bits have L different reliability levels, L real bits and L imaginary bits They are from different locations in the second LDCP code.
结合第三方面或第三方面的第一种至第三种可能的实现方式中任意一种可能的实现方式,在第三方面的第五种可能的实现方式中,所述发送设备还包括L组存储器,分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;With reference to the third aspect, or any one of the possible implementation manners of the first to the third possible implementation manners of the third aspect, in a fifth possible implementation manner of the third aspect, the sending device further includes L a group memory for storing L bits of the reliability level of the second LDPC code, wherein the total number of bits stored in any two groups of the L group memory is the same, and the memory in any one of the L group memories The reliability is the same, and the reliability of the memory between any two groups of the L group of memories is different;
所述发送设备还包括第二映射单元,用于若每一组存储器包括1个存储器,则从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,The transmitting device further includes a second mapping unit, configured to read 1 bit from each of the L sets of memory to form L real bits if each set of memory includes 1 memory, Each memory in the L group of memories reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories from high to low. Mapping the L real bits and the L imaginary bits into one modulation symbol; or
若每一组存储器包括2r个存储器,r为正整数,则从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories and r is a positive integer, one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed. r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group The reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
上述实施例中,由于将保护程度不同的比特按照一定比例分配到符号不同可靠度位置,因而可获取最佳映射效果。 In the above embodiment, since the bits with different degrees of protection are allocated to the different reliability positions of the symbols according to a certain ratio, the optimal mapping effect can be obtained.
结合第三方面或第三方面的第一种至第五种可能的实现方式中任意一种可能的实现方式,在第三方面的第六种可能的实现方式中,所述第一LDPC码的校验矩阵具有Raptor like结构。With reference to the third aspect, or any one of the possible implementation manners of the first to fifth possible implementation manners of the third aspect, in a sixth possible implementation manner of the third aspect, the first LDPC code The check matrix has a Raptor like structure.
结合第三方面的第四种可能的实现方式或第三方面的第五种可能的实现方式,在第三方面的第七种实现方式中,所述发送设备还包括发送单元,用于对所述调制符号进行调制并发送。With reference to the fourth possible implementation of the third aspect, or the fifth possible implementation manner of the third aspect, in a seventh implementation manner of the third aspect, the sending device further includes a sending unit, The modulation symbols are modulated and transmitted.
第四方面,本发明实施例还提供一种接收设备,包括:In a fourth aspect, the embodiment of the present invention further provides a receiving device, including:
接收单元,用于接收信号;a receiving unit, configured to receive a signal;
解映射单元,用于通过解调所述信号获取第二LDPC码;a demapping unit, configured to obtain a second LDPC code by demodulating the signal;
解交织单元,用于对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a deinterleaving unit, configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code The ratio of the positions of the reliability levels is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
上述发明实施例中,接收设备接收到的LDPC码是由第一LDPC码解交织得到的,且第二LDPC码是对第一LDPC码根据交织比例进行交织得到的,且交织比例是根据调制方式对应的调制符号的可靠度级数及LDPC码的列重得到的,该实施例,由于原则上可以通过计算得到最佳的交织比例,因而可以得到最佳的交织映效果,提高了交织时获取的增益。In the foregoing embodiment of the present invention, the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code, and the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode. The reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained. In this embodiment, since the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
结合第四方面,在第四方面的第一种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束: In conjunction with the fourth aspect, in a first possible implementation of the fourth aspect, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000004
Figure PCTCN2016107133-appb-000004
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述第一LDPC码的校验矩阵具有Raptor like结构。With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the check matrix of the first LDPC code has a Raptor like structure.
结合第四方面或第四方面的第一种可能的实现方式或第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述接收设备还包括译码单元,用于对所述第一LDPC码进行信道译码得到信息数据。With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, or the second possible implementation manner, in a third possible implementation manner of the fourth aspect, the receiving device further includes a decoding unit, Channel decoding is performed on the first LDPC code to obtain information data.
第五方面,本发明实施例还提供一种发送设备,包括:In a fifth aspect, the embodiment of the present invention further provides a sending device, including:
编码器,用于对信息数据编码后得到LDPC码;An encoder for encoding the information data to obtain an LDPC code;
交织器,用于根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。An interleaver is configured to interleave the first LDPC code according to a mapping distribution to obtain a second LDPC code.
本发明实施例,发送设备对信息数据进行编码后得到第一LDPC码,然后根据映射分布,对第一LDPC码进行交织得到第二LDPC码,相较于背景技术中使用门限分析的方式,本发明实施例中预先计算好一个映射分布,然后根据该映射分布对第一LDPC码进行交织,其中,本发明实施例中的映射分布可以是根据第一LDPC码的校验矩阵及调制方式得到的,因而可以通过计算得到一个与该第一LDPC码对应的一个最佳映射分布,从而使得交织后的LDPC码获得最大的增益,通过实验结果分析,本发明实施例相较于背景 技术中的交织方法,可以得到更大的增益,从而提高了LDPC码交织时获取的增益。In the embodiment of the present invention, the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art. In the embodiment of the present invention, a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution. The mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code. Therefore, an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the embodiment of the present invention compares with the background. The interleaving method in the technique can obtain a larger gain, thereby improving the gain obtained when the LDPC code is interleaved.
结合第五方面,在第五方面的第一种可能的实现方式中,所述映射分布包括至少一个映射比例mj,iWith reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the mapping distribution includes at least one mapping ratio m j,i ,
所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
结合第五方面,在第五方面的第二种可能的实现方式中,所述交织器具体用于:With reference to the fifth aspect, in a second possible implementation manner of the fifth aspect, the interleaver is specifically configured to:
根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iAnd distributing, according to the mapping distribution, a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i .
结合第五方面的第一种可能的实现方式或第五方面的第二种可能的实现方式,在第五方面的第三种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束:With reference to the first possible implementation of the fifth aspect or the second possible implementation of the fifth aspect, in a third possible implementation manner of the fifth aspect, the mapping ratio m j,i satisfies the following equation Group constraints:
Figure PCTCN2016107133-appb-000005
Figure PCTCN2016107133-appb-000005
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列 重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第五方面或第五方面的第一种至第三种可能的实现方式中任意一种可能的实现方式,在第五方面的第四种可能的实现方式中,所述发送设备还包括映射器,用于从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。With reference to the fifth aspect, or any one of the first to the third possible implementation manners of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the sending device further includes a mapping And for respectively obtaining L real bits and L imaginary bits from the second LDPC code into one modulation symbol, wherein the L real bits have L different reliability levels, L imaginary parts The bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
结合第五方面或第五方面的第一种至第三种可能的实现方式中任意一种可能的实现方式,在第五方面的第五种可能的实现方式中,所述发送设备还包括L组存储器,分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;With reference to the fifth aspect, or any one of the possible implementation manners of the first to the third possible implementation manners of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the sending device further includes L a group memory for storing L bits of the reliability level of the second LDPC code, wherein the total number of bits stored in any two groups of the L group memory is the same, and the memory in any one of the L group memories The reliability is the same, and the reliability of the memory between any two groups of the L group of memories is different;
所述发送设备还包括映射器,用于若每一组存储器包括1个存储器,则从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,The transmitting device further includes a mapper, configured to read 1 bit from each of the L sets of memory to form L real bits, if each set of memory includes 1 memory, from the L group Each memory in the memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and Mapping the L real bits and the L imaginary bits into one modulation symbol; or
若每一组存储器包括2r个存储器,r为正整数,则从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存 储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories and r is a positive integer, one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed. r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group The reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
上述实施例中,由于将保护程度不同的比特按照一定比例分配到符号不同可靠度位置,因而可获取最佳映射效果。In the above embodiment, since the bits with different degrees of protection are allocated to the different reliability positions of the symbols according to a certain ratio, the optimal mapping effect can be obtained.
结合第五方面或第五方面的第一种至第五种可能的实现方式中任意一种可能的实现方式,在第五方面的第六种可能的实现方式中,所述第一LDPC码的校验矩阵具有Raptor like结构。With reference to the fifth aspect, or any one of the possible implementation manners of the first to fifth possible implementation manners of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, the first LDPC code The check matrix has a Raptor like structure.
结合第五方面的第四种可能的实现方式或第五方面的第五种可能的实现方式,在第五方面的第七种实现方式中,所述发送设备还包括发射器,用于对所述调制符号进行调制并发送。With reference to the fourth possible implementation manner of the fifth aspect, or the fifth possible implementation manner of the fifth aspect, in a seventh implementation manner of the fifth aspect, the sending device further includes a transmitter, The modulation symbols are modulated and transmitted.
第六方面,本发明实施例还提供一种接收设备,包括:In a sixth aspect, the embodiment of the present invention further provides a receiving device, including:
接收器,用于接收信号;a receiver for receiving a signal;
解映射器,用于通过解调所述信号获取第二LDPC码;a demapper for obtaining a second LDPC code by demodulating the signal;
解交织器,用于对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a deinterleaver, configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code The ratio of the positions of the reliability levels is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
上述发明实施例中,接收设备接收到的LDPC码是由第一LDPC码解交织得到的,且第二LDPC码是对第一LDPC码根据交织比例进行交织得到的,且交织比例是根据调制方式对应的调制符号的可靠度级数及LDPC码的列重 得到的,该实施例,由于原则上可以通过计算得到最佳的交织比例,因而可以得到最佳的交织映效果,提高了交织时获取的增益。In the foregoing embodiment of the present invention, the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code, and the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode. The reliability level of the corresponding modulation symbol and the column weight of the LDPC code As a result, in this embodiment, since the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the gain obtained during interleaving is improved.
结合第六方面,在第六方面的第一种可能的实现方式中,所述映射比例mj,i满足下列方程组的约束:With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the mapping ratio m j,i satisfies the constraint of the following system group:
Figure PCTCN2016107133-appb-000006
Figure PCTCN2016107133-appb-000006
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,所述第一LDPC码的校验矩阵具有Raptor like结构。With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the check matrix of the first LDPC code has a Raptor like structure.
结合第六方面或第六方面的第一种可能的实现方式或第二种可能的实现方式,在第六方面的第三种可能的实现方式中,所述接收设备还包括译码器,用于对所述第一LDPC码进行信道译码得到信息数据。With reference to the sixth aspect or the first possible implementation manner or the second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect, the receiving device further includes a decoder, Channel decoding is performed on the first LDPC code to obtain information data.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below.
图1为现有技术中的采用LDPC码的BICM系统框图;1 is a block diagram of a BICM system using an LDPC code in the prior art;
图2为本发明实施例提供的数据传输的方法流程图;2 is a flowchart of a method for data transmission according to an embodiment of the present invention;
图3为本发明实施例提供的计算映射分布的方法流程图; FIG. 3 is a flowchart of a method for calculating a mapping distribution according to an embodiment of the present invention;
图4为本发明实施例提供的增益结果对比示意图一;4 is a schematic diagram 1 of a comparison of gain results according to an embodiment of the present invention;
图5为本发明实施例提供的增益结果对比示意图二;FIG. 5 is a second schematic diagram of gain comparison according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的增益结果对比示意图三;FIG. 6 is a schematic diagram 3 of a comparison of gain results according to an embodiment of the present invention; FIG.
图7为本发明实施例提供的数据传输的方法流程图;FIG. 7 is a flowchart of a method for data transmission according to an embodiment of the present invention;
图8为本发明实施例提供的映射过程示意图;FIG. 8 is a schematic diagram of a mapping process according to an embodiment of the present invention;
图9为本发明实施例提供的映射过程示意图;FIG. 9 is a schematic diagram of a mapping process according to an embodiment of the present invention;
图10为本发明实施例提供的数据传输的方法流程示意图;FIG. 10 is a schematic flowchart of a method for data transmission according to an embodiment of the present invention;
图11为本发明实施例提供的发送设备示意图;FIG. 11 is a schematic diagram of a sending device according to an embodiment of the present disclosure;
图12为本发明实施例提供的接收设备示意图;FIG. 12 is a schematic diagram of a receiving device according to an embodiment of the present disclosure;
图13为本发明实施例提供的发送设备示意图;FIG. 13 is a schematic diagram of a sending device according to an embodiment of the present disclosure;
图14为本发明实施例提供的接收设备示意图。FIG. 14 is a schematic diagram of a receiving device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供两种数据传输的方法,一种用于发送设备侧,另一种用于接收设备侧,对于发送设备,其具备编码功能、交织功能、映射功能及发送功能,对于接收设备,其具备接收功能、解映射功能、解交织功能及译码功能。本发明实施例提供的发送设备可以是集成编码器、交织器、映射器及发射器的设备,接收设备可以是集成接收器、解映射器、解交织器及译码器的设备。在通信系统中,发送设备可以是终端,则接收设备可以为基站或者其他网络设备,发送设备也可以是基站或者其他网络设备,则接收设备可以是终端。The embodiment of the present invention provides two methods for data transmission, one for a transmitting device side and the other for a receiving device side. For a transmitting device, it has an encoding function, an interleaving function, a mapping function, and a sending function, and is configured for a receiving device. It has a receiving function, a demapping function, a deinterleaving function, and a decoding function. The transmitting device provided by the embodiment of the present invention may be a device that integrates an encoder, an interleaver, a mapper, and a transmitter, and the receiving device may be a device that integrates a receiver, a demapper, a deinterleaver, and a decoder. In the communication system, the sending device may be a terminal, and the receiving device may be a base station or other network device, and the sending device may also be a base station or other network device, and the receiving device may be a terminal.
在实际应用中,为方便计算,LDPC码的校验矩阵通常可以被一个尺寸较小的基矩阵定义,该基矩阵也可以称之为LDPC码的校验矩阵对应的基矩阵,或者LDPC码的基矩阵。维度为JZ*LZ的二进制LDPC码的奇偶校验矩阵H 能够被描述为如下形式:In practical applications, for the convenience of calculation, the check matrix of the LDPC code can usually be defined by a base matrix of a smaller size, which may also be referred to as a base matrix corresponding to the check matrix of the LDPC code, or an LDPC code. Base matrix. Parity check matrix H of binary LDPC code with dimension JZ*LZ Can be described as follows:
Figure PCTCN2016107133-appb-000007
Figure PCTCN2016107133-appb-000007
其中每个元素hj,l,0≤j≤J,0≤l≤L为一个Z*Z大小的零矩阵或者是一个由多个单位循环移位阵(或者一个单位循环移位阵)叠加起来的循环移位阵。为了方便起见,可以用大小为J×L的基矩阵B(H)来描述H:Each of the elements h j,l ,0≤j≤J, 0≤l≤L is a zero matrix of Z*Z size or a superposition of multiple unit cyclic shift arrays (or one unit cyclic shift array) The cyclic shift array. For convenience, H can be described by a base matrix B(H) of size J × L:
Figure PCTCN2016107133-appb-000008
Figure PCTCN2016107133-appb-000008
其中,当hj,l是一个零矩阵时,bj,l定义为“-”;当hj,l是一个单位移位阵时,bj,l定义为hj,l的移位参数(其中,当hj,l是单位阵的循环右移时,bj,l>0;当hj,l是单位阵的循环左移时,bj,l<0;当hj,l是单位阵时,bj,l=0);当bj,l是一个由多个单位移位阵叠加起来的循环移位阵的时候,bj,l定义为将hj,l的移位参数组合起来的数组。Wherein, when h j,l is a zero matrix, b j,l is defined as "-"; when h j,l is a unit shift matrix, b j,l is defined as the shift parameter of h j,l (When h j,l is the right shift of the unit matrix, b j,l >0; when h j,l is the left shift of the unit matrix, b j,l <0; when h j,l When it is a unit matrix, b j,l =0); when b j,l is a cyclic shift array superimposed by multiple unit shift arrays, b j,l is defined as shifting h j,l An array of bit parameters combined.
上述矩阵B(H)即为LDPC码的原始基矩阵,进一步地,对上述原始基矩阵进行优化,得到LDPC码的基矩阵,具体方法为:针对LDPC码的原始基矩阵中的任一个元素,若该元素为零矩阵,则将LDPC码的基矩阵中与该元素的位置对应的元素设置为0;若该元素为非零矩阵,则将LDPC码的基矩阵中与该元素的位置对应的元素设置为1。The matrix B(H) is the original base matrix of the LDPC code. Further, the original base matrix is optimized to obtain a base matrix of the LDPC code, and the specific method is: for any element in the original base matrix of the LDPC code, If the element is a zero matrix, the element corresponding to the position of the element in the base matrix of the LDPC code is set to 0; if the element is a non-zero matrix, the base matrix of the LDPC code corresponds to the position of the element The element is set to 1.
举例来说,调制方式为256QAM,码字为IEEE802.11n中的(1944,972)准循环低密度奇偶校验码(Quasi Cyclic Low Density Parity-Check,QC-LDPC),通过上述优化方法,可将该码的校验矩阵优化为如下所示的基矩阵B'1(H): For example, the modulation mode is 256QAM, and the codeword is (1944,972) Quasi Cyclic Low Density Parity-Check (QC-LDPC) in IEEE802.11n. The check matrix of the code is optimized to the base matrix B' 1 (H) as shown below:
Figure PCTCN2016107133-appb-000009
Figure PCTCN2016107133-appb-000009
基矩阵B'1(H)是一个12*24的矩阵,其中每一个元素用于表示一个81*81的矩阵(即1944/24=81),并且若B'1(H)中的一个元素若为0,则表示LDPC码的基矩阵中相应位置是一个81*81的零矩阵;若B'1(H)中的一个元素若为1,则表示LDPC码的基矩阵中相应位置是一个81*81的非零矩阵。The base matrix B' 1 (H) is a 12*24 matrix in which each element is used to represent a matrix of 81*81 (ie 1944/24=81), and if an element in B' 1 (H) If it is 0, it means that the corresponding position in the base matrix of the LDPC code is a matrix of 81*81; if an element in B' 1 (H) is 1, it means that the corresponding position in the base matrix of the LDPC code is one. A non-zero matrix of 81*81.
对于一个校验矩阵(或者对于一个基矩阵),其唯一对应一种列重形式,以上述的LDPC码的基矩阵B'1(H)为例,其中列重种类共有4种,分别为:2、3、4、11,各自占的比例分别为:11/24、9/24、1/24、3/24。校验矩阵和其对应的基矩阵具有相同的列重种类,各列重值以及各列重所占的比例。For a check matrix (or for a base matrix), it uniquely corresponds to a column weight form, taking the base matrix B' 1 (H) of the above LDPC code as an example, wherein there are four types of column weights, respectively: 2, 3, 4, 11, each accounted for: 11/24, 9/24, 1/24, 3/24. The check matrix and its corresponding base matrix have the same column weight type, each column weight value and the proportion of each column weight.
并且对于一种给定的调制方式,其可靠度级数的数目也是确定的,举例来说,对于调制方式为256QAM,其对应的可靠度级数的数目为4,分别为可靠度级数1、可靠度级数2、可靠度级数3、可靠度级数4。And for a given modulation mode, the number of reliability levels is also determined. For example, for the modulation mode of 256QAM, the number of corresponding reliability levels is 4, respectively, the reliability level is 1 , reliability level 2, reliability level 3, reliability level 4.
基于上述描述,下面对发送设备侧数据传输的方法及接收设备侧数据传输的方法分别做详细说明。Based on the above description, the method of transmitting data on the transmitting device side and the method of transmitting data on the receiving device side will be described in detail below.
参考图2,为本发明实施例提供的数据传输的方法流程图,该方法执行主体为发送设备,具体包括如下步骤:2 is a flowchart of a method for data transmission according to an embodiment of the present invention. The method is performed by a sending device, and the method includes the following steps:
步骤201、发送设备对信息数据编码后得到第一LDPC码;Step 201: The sending device encodes the information data to obtain a first LDPC code.
步骤202、发送设备根据映射分布,对第一LDPC码进行交织得到第二 LDPC码。Step 202: The transmitting device interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code.
上述步骤201中,发送设备对信息数据进行编码,得到第一LDPC码,即该第一LDPC码为编码后的信息数据,其中,第一LDPC码对应一个校验矩阵,且对应一种调制方式,需要说明的是,这里的调制方式并不是任意的调制方式,而是在确定了信息数据的调制方式后,进而确定第一LDPC码的调制方式,即第一LDPC码的调制方式与信息数据的调制方式相同,调制方式有256QAM、64QAM、512QAM等等。LDPC码可以表示为一个比特序列,每一比特对应该LDPC码的校验矩阵中一个变量节点。如果LDPC码中一个比特对应该LDPC码校验矩阵中的变量节点的列重为i,则在本文各实施例中将该比特称之为列重为i的比特。每个比特所在的位置具有调制符号的一种可靠度级数,不同位置的比特可以具有相同的可靠度级数。映射比例mj,i可以是LDPC码中列重为i的比特在该LDPC码中可靠度级数为j的位置的比例。In the foregoing step 201, the sending device encodes the information data to obtain the first LDPC code, that is, the first LDPC code is the encoded information data, where the first LDPC code corresponds to a check matrix, and corresponds to a modulation mode. It should be noted that the modulation method herein is not an arbitrary modulation method, but after determining the modulation mode of the information data, the modulation mode of the first LDPC code, that is, the modulation mode and information data of the first LDPC code, is determined. The modulation method is the same, and the modulation modes are 256QAM, 64QAM, 512QAM, and the like. The LDPC code can be represented as a sequence of bits, each bit corresponding to a variable node in the check matrix of the LDPC code. If a bit in the LDPC code corresponds to a column of the variable node in the LDPC code check matrix, the bit is referred to as a bit with a column weight of i in the various embodiments herein. The position at which each bit is located has a level of reliability of the modulation symbols, and bits at different positions may have the same level of reliability. The mapping ratio m j,i may be a ratio of a bit whose weight is i in the LDPC code in the LDPC code where the reliability level is j.
上述步骤202中,映射分布由多个映射比例mj,i组成,映射分布可以是预先计算得到的,并将该映射分布存储至发送设备,发送设备根据存储的映射分布对第一LDPC码进行交织,从而得到交织后的第二LDPC码,其中映射分布可以是根据第一LDPC码的校验矩阵及调制方式得到的。可见,经过交织后,LDPC码的映射分布可能发生改变,也就是说第一LDPC码的映射分布可能和第二LDPC码的映射分布不同,例如,一个或者多个mj,i不同。In the foregoing step 202, the mapping distribution is composed of a plurality of mapping proportions m j,i , the mapping distribution may be pre-calculated, and the mapping distribution is stored to the sending device, and the transmitting device performs the first LDPC code according to the stored mapping distribution. Interleaving, thereby obtaining an interleaved second LDPC code, wherein the mapping distribution may be obtained according to a check matrix and a modulation mode of the first LDPC code. It can be seen that after the interleaving, the mapping distribution of the LDPC code may change, that is, the mapping distribution of the first LDPC code may be different from the mapping distribution of the second LDPC code, for example, one or more m j,i are different.
本发明的一个实施例中,对第一LDPC码交织所依据的映射分布是根据第一LDPC码的校验矩阵及调制方式得到的,因而可以通过计算得到一个与该第一LDPC码对应的映射分布,从而使得交织后的LDPC码获得最大的增益,通过实验结果分析,本发明实施例相较于背景技术中的交织方法,可以得到更大的增益,从而提高了LDPC码交织时获取的增益。In an embodiment of the present invention, the mapping distribution according to the first LDPC code is obtained according to the check matrix and the modulation mode of the first LDPC code, so that a mapping corresponding to the first LDPC code can be obtained by calculation. The distribution is such that the interleaved LDPC code obtains the maximum gain. By analyzing the experimental results, the embodiment of the present invention can obtain a larger gain than the interleaving method in the background art, thereby improving the gain obtained when the LDPC code is interleaved. .
本发明实施例中,第二LDPC码的基矩阵是通过对第一LDPC码的基矩阵列交换得到的,因而第二LDPC码的基矩阵与第一LDPC码的基矩阵具有相同的大小,且具有相同的列重种类,并且最大列重值和最小列重值也分别 相同,也就是说,在本发明实施例中,第一LDPC码的校验矩阵、基矩阵与第二LDPC码的校验矩阵、基矩阵均具有相同的列重种类、最大列重值及最小列重值。In the embodiment of the present invention, the base matrix of the second LDPC code is obtained by exchanging the base matrix column of the first LDPC code, and thus the base matrix of the second LDPC code has the same size as the base matrix of the first LDPC code, and Have the same column weight category, and the maximum column weight value and the minimum column weight value are also The same, that is, in the embodiment of the present invention, the check matrix, the base matrix of the first LDPC code, and the check matrix and the base matrix of the second LDPC code have the same column weight type, maximum column weight value, and minimum Column weight value.
本发明实施例中,使用dv.min表示最小列重值,使用dv.max表示最大列重值,并且使用L表示调制方式对应的调制符号的可靠度级数的数目。In the embodiment of the present invention, dv.min is used to represent the minimum column weight value, dv.max is used to represent the maximum column weight value, and L is used to indicate the number of reliability levels of the modulation symbols corresponding to the modulation mode.
基于上述表示方法,本发明实施例中的用于交织的映射分布具有如下结构特点:包括至少一个映射比例mj,i,且mj,i表示第二LDPC码中列重为i的比特在第二LDPC码中对应调制符号第j种可靠度级数的位置的比例,其中,Based on the above representation method, the mapping distribution for interleaving in the embodiment of the present invention has the following structural features: including at least one mapping ratio m j,i , and m j,i indicating that the bit with the column weight i in the second LDPC code is a ratio of a position of the jth reliability level corresponding to the modulation symbol in the second LDPC code, wherein
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the second LDPC The maximum column weight of the check matrix of the code is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
因此,基于上述映射分布的结构特点,发送设备将第一LDPC码交织为第二LDPC码的具体方法为:发送设备根据所述映射分布将第一LDPC码中列重为i的比特分布到第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得第二LDPC码中列重为i的比特在第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iTherefore, based on the structural characteristics of the mapping distribution, the specific method for the transmitting device to interleave the first LDPC code into the second LDPC code is: the transmitting device distributes the bits of the first LDPC code to the i according to the mapping distribution. The position of the jth reliability level corresponding to the modulation symbol in the two LDPC codes, such that the ratio of the bit of the second LDPC code whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol For m j,i .
在一种可能的实现方式中,各映射比例mj,i满足下列方程组的约束:In a possible implementation, each mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000010
Figure PCTCN2016107133-appb-000010
其中,所述方程组包含L+K个方程,L为所述第一LDPC码的调制方式对应的调制符号的可靠度级数,K为第一LDPC码的基矩阵中列重的种类,Λi为第一LDPC码的基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。 Wherein, the system of equations includes L+K equations, L is a reliability level of a modulation symbol corresponding to a modulation mode of the first LDPC code, and K is a type of column weight in a base matrix of the first LDPC code, i is the proportion of the variable nodes whose column weight is i in the base matrix of the first LDPC code, 0 ≤ m j, i ≤ 1.
需要说明的是,上述只是举例,本发明并不限于此。It should be noted that the above is merely an example, and the present invention is not limited thereto.
下面结合具体的例子来说明得到映射分布的方法,参照图3,为计算映射分布的步骤,包括:The following describes a method for obtaining a mapping distribution according to a specific example. Referring to FIG. 3, the steps for calculating a mapping distribution include:
步骤301、根据第一LDPC码的调制方式对应的调制符号的可靠度级数及第一LDPC码的基矩阵中每种列重的占比,得到方程组,所述方程组包含L+K个方程,L为所述第一LDPC码的调制方式对应的调制符号的可靠度级数,K为第一LDPC码的基矩阵中列重的种类。Step 301: Obtain a system of equations according to a reliability level of a modulation symbol corresponding to a modulation mode of the first LDPC code and a proportion of each column weight in a base matrix of the first LDPC code, where the equation group includes L+K Equation, L is the reliability level of the modulation symbol corresponding to the modulation mode of the first LDPC code, and K is the type of the column weight in the base matrix of the first LDPC code.
步骤302、确定方程组的优化空间。Step 302: Determine an optimization space of the system of equations.
步骤303、确定在优化空间内的最低收敛门限对应的交织比例,并将确定的交织比例作为所述第一LDPC码对应的交织比例,并根据交织比例得到映射分布。Step 303: Determine an interleaving ratio corresponding to a lowest convergence threshold in the optimization space, and use the determined interleaving ratio as an interleaving ratio corresponding to the first LDPC code, and obtain a mapping distribution according to the interleaving ratio.
上述步骤301~步骤303可使用具有计算能力的计算设备来执行,例如个人计算机、服务器等。The above steps 301 to 303 can be performed using a computing device having computing power, such as a personal computer, a server, or the like.
上述步骤301中,方程组具体为:In the above step 301, the equations are specifically:
Figure PCTCN2016107133-appb-000011
Figure PCTCN2016107133-appb-000011
其中,所述方程组包含L+K个方程,L为所述第一LDPC码的调制方式对应的调制符号的可靠度级数的数目,K为第一LDPC码的基矩阵中列重的种类,Λi为第一LDPC码的基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations includes L+K equations, L is the number of reliability levels of modulation symbols corresponding to the modulation mode of the first LDPC code, and K is the type of column weight in the base matrix of the first LDPC code. , Λ i is the proportion of the variable nodes whose column weight is i in the base matrix of the first LDPC code, 0 ≤ m j, i ≤ 1.
举例来说,以上述的LDPC码的基矩阵B'1(H)为例,其中列重种类共有4种,分别为:2、3、4、11,各自占的比例分别为:11/24、9/24、1/24、3/24;且256QAM的可靠度位置有4种(即L=4),因而得到的的方程组T1为: For example, taking the base matrix B' 1 (H) of the above LDPC code as an example, there are four types of column weights, namely: 2, 3, 4, and 11, respectively, and the respective proportions are: 11/24 , 9/24, 1/24, 3/24; and there are 4 kinds of reliability positions of 256QAM (ie, L=4), so the obtained system of equations T 1 is:
Figure PCTCN2016107133-appb-000012
Figure PCTCN2016107133-appb-000012
在得到如上所示的方程组之后,接下来需要对上述方程组进行求解,上述方程组中,由于方程的个数(8个)要小于未知数的个数(16个),因此需要首先选取优化空间,然后基于优化空间进行求解。After obtaining the system of equations shown above, it is necessary to solve the above equations. In the above equations, since the number of equations (8) is smaller than the number of unknowns (16), it is necessary to first select the optimization. Space is then solved based on the optimization space.
因此,在步骤302中,确定上述方程组的优化空间。对于一个方程组的优化空间的确定方法有很多种,且属于现有技术方案,本发明实施例中对此仅做简单的说明。Therefore, in step 302, the optimization space of the above system of equations is determined. There are many methods for determining the optimization space of a system of equations, and it belongs to the prior art solution, which is only briefly explained in the embodiment of the present invention.
针对上述方程组,选择一部分mj,i,使其构成优化空间,其中,选取的准则是:将剩下的mj,i作为未知数带入L+K个方程后,方程有解,并且方程组的解空间最大。通过这种方式,可以使得优化空间最小化,以达到降低优化计算量的目的。For the above equations, a part of m j,i is selected to form an optimization space, wherein the criterion is: after the remaining m j,i is taken as an unknown number into L+K equations, the equation has a solution and the equation The solution has the largest solution space. In this way, the optimization space can be minimized to achieve the purpose of reducing the amount of optimization calculation.
以上述方程组T1为例,其对应的优化空间为:(m32,m42,m13,m43,m14,m24,m44,m211,m311),其维度为9;未知数为m12,m22,m23,m33,m34,m1 11,m4 11。优化空间中各元素的初值设为[0,1]区间的实数,且未知数的解也必须落在[0,1]区间内。Taking the above equation group T 1 as an example, the corresponding optimization space is: (m 32 , m 42 , m 13 , m 43 , m 14 , m 24 , m 44 , m 211 , m 311 ), and the dimension is 9; The unknowns are m 12 , m 22 , m 23 , m 33 , m 34 , m 1 11 , m 4 11 . The initial value of each element in the optimization space is set to the real number in the interval [0,1], and the solution of the unknown number must also fall within the interval [0,1].
在得到方程组的优化空间之后,接下来将基于选定的优化空间,来对上述方程组求解。After obtaining the optimization space of the equations, the above equations will be solved based on the selected optimization space.
本发明实施例在上述步骤303中,基于优化空间得到优化空间内的最低收敛门限对应的交织比例的过程具体如下: In the foregoing step 303, the process of obtaining the interleaving ratio corresponding to the lowest convergence threshold in the optimized space based on the optimization space is as follows:
步骤A、对优化空间中的mj,i进行赋值。Step A: Assigning m j,i in the optimization space.
步骤B、根据优化空间中的mj,i的当前取值,确定方程组的一组目标解。Step B: Determine a set of target solutions of the equations according to the current values of m j,i in the optimization space.
该组目标解是否为最终的解,则需要根据后续步骤进行验证,若确定为最优解,则输出,否则需要重新确定目标解。If the target solution of the group is the final solution, it needs to be verified according to the subsequent steps. If it is determined to be the optimal solution, it is output, otherwise the target solution needs to be re-determined.
步骤C、确定在该目标解下,第一LDPC码的基矩阵的各变量节点的后验软信息对应的无法收敛的最大信噪比(Signal Noise Ratio,SNR)值,并将确定的所述无法收敛的最大SNR值作为当前代价值。Step C: determining, according to the target solution, a maximum signal-to-noise ratio (SNR) value of the non-convergence corresponding to the posterior soft information of each variable node of the base matrix of the first LDPC code, and determining the determined The maximum SNR value that cannot be converged is used as the current generation value.
在该步骤中,在给定的目标解下,找到一个使得基矩阵的各变量节点的后验软信息对应的无法收敛的最大的SNR值。即,基矩阵的各变量节点的后验软信息在当前SNR值下可收敛时,则减小SNR值,继续判断基矩阵的各变量节点的后验软信息在当前SNR值下是否可收敛,若可以收敛,则继续减小SNR值,直至基矩阵的各变量节点的后验软信息在当前SNR值下不可收敛。In this step, under a given target solution, a maximum SNR value that does not converge corresponding to the posterior soft information of each variable node of the base matrix is found. That is, when the a posteriori soft information of each variable node of the base matrix can converge under the current SNR value, the SNR value is decreased, and it is determined whether the posterior soft information of each variable node of the base matrix can converge under the current SNR value. If convergence is possible, the SNR value continues to decrease until the a posteriori soft information of each variable node of the base matrix does not converge at the current SNR value.
其中,第一LDPC码的基矩阵的各变量节点的后验软信息在当前SNR值下不可收敛指的是基矩阵的各变量节点的后验软信息在当前SNR值下满足预先设置的停止收敛条件,停止收敛条件例如可以是在规定的迭代次数内,收敛值都始终相同,没有改变;或者是在规定的迭代次数内,收敛值的变化范围小于预设的变化阈值;或者是总迭代次数达到了预设的迭代总次数阈值;当然还可以是其它预设的停止收敛条件。只要满足预设的停止收敛条件,则将停止收敛时的收敛值,作为最低收敛门限。The a posteriori soft information of each variable node of the base matrix of the first LDPC code is not converged under the current SNR value, and the a posteriori soft information of each variable node of the base matrix satisfies the preset stop convergence under the current SNR value. The condition that the convergence condition is stopped may be, for example, that the convergence value is always the same within the specified number of iterations, and there is no change; or the variation range of the convergence value is less than the preset change threshold within the specified number of iterations; or the total number of iterations The preset total number of iterations threshold is reached; of course, other preset stop convergence conditions may also be used. As long as the preset stop convergence condition is satisfied, the convergence value at the time of convergence is stopped as the lowest convergence threshold.
步骤D、判断当前目标解下的无法收敛的最大SNR值与上一目标解下的无法收敛的最大SNR值是否相同,若相同,则将当前目标解作为优化空间内的最低收敛门限对应的交织比例,若不相同,则进行步骤E。Step D: determining whether the maximum SNR value that cannot be converged under the current target solution is the same as the maximum SNR value that cannot be converged under the previous target solution. If they are the same, the current target solution is used as the interlace corresponding to the lowest convergence threshold in the optimization space. If the ratio is not the same, proceed to step E.
步骤E、根据当前代价值,调整优化空间中mj,i的取值,并返回到步骤B。Step E: Adjust the value of m j,i in the optimization space according to the current generation value, and return to step B.
在该步骤中,具体地,可根据差分优化算法和当前代价值来调整优化空间中mj,i的取值。In this step, specifically, the value of m j,i in the optimization space may be adjusted according to the difference optimization algorithm and the current generation value.
上述步骤A~步骤E中,为一个双重迭代法,其中,外层迭代用于调整交 织比例方程组的目标解,内层迭代用于确定在当前目标解下的使得基矩阵的各变量节点的后验软信息对应的无法收敛的最大的SNR值。举例来说,假设在目标解为a1时,得到的最大SNR值为b1;在目标解为a2时,可在b1的基础上继续往下迭代,得到一个比b1更小的b2;在目标解为a3时,可在b2的基础上继续往下迭代,得到一个比b2更小的b3;直至满足迭代停止条件,则将最终得到的SNR值作为输出结果。In the above steps A to E, it is a double iterative method, wherein the outer iteration is used to adjust the intersection The target solution of the scale equation system is used to determine the maximum SNR value that cannot be converged corresponding to the posterior soft information of each variable node of the base matrix under the current target solution. For example, suppose that when the target solution is a1, the maximum SNR value obtained is b1; when the target solution is a2, it can continue to iterate on the basis of b1 to obtain a smaller b2 than b1; For a3, it can continue to iterate on the basis of b2 to obtain a smaller b3 than b2; until the iteration stop condition is satisfied, the final SNR value is taken as the output result.
上述实施例中,在确定优化空间内的最低收敛门限对应的交织比例时,使用了双重迭代法,可实现可找到一组最优解,该最优解对应的SNR值为基矩阵的各变量节点的后验软信息对应的无法收敛的最大SNR值,并且将该最优解作为最终确定的交织比例,该实施例可实现通过收敛性迭代,来找到最优解,保证了交织比例的准确性,并经试验证明,可实现一定性能的BICM增益;并且该实施例通过数学运算的方法得到最佳的交织比例,相较于背景技术中的仿真方法,具有更快的计算速度。In the above embodiment, when determining the interleaving ratio corresponding to the lowest convergence threshold in the optimization space, a double iterative method is used, and an optimal solution can be found, and the SNR value corresponding to the optimal solution is the variable of the base matrix. The maximum SNR value of the a posteriori soft information corresponding to the node cannot be converged, and the optimal solution is used as the final determined interleaving ratio. This embodiment can implement the convergence solution to find the optimal solution and ensure the accuracy of the interleaving ratio. And it has been proved by experiments that a certain performance BICM gain can be achieved; and this embodiment obtains the best interleaving ratio by mathematical operation, and has a faster calculation speed than the simulation method in the background art.
可选地,本发明实施例还给出了上述步骤C的一种可能的实现方式,具体包含以下步骤:Optionally, the embodiment of the present invention further provides a possible implementation manner of the foregoing step C, which specifically includes the following steps:
步骤C1、根据当前SNR值,通过仿真得到第一LDPC码对应的调制符号各个可靠度位置的信道互信息;Step C1: Obtain channel mutual information of each reliability position of the modulation symbol corresponding to the first LDPC code by simulation according to the current SNR value;
其中,具体地,可通过Monte Carlo仿真获得高阶调制符号各个可靠度位置的信道互信息量。例如,64QAM符号有3种可靠度,分别用I1、I2、I3表示它们的信道互信息量。Specifically, the channel mutual information amount of each reliability position of the high-order modulation symbol can be obtained by Monte Carlo simulation. For example, the 64QAM symbol has three kinds of reliability, and their channel mutual information amounts are represented by I 1 , I 2 , and I 3 , respectively.
步骤C2、根据当前目标解及确定的第一LDPC码对应的高阶调制符号各个可靠度位置的信道互信息,确定第一LDPC码的基矩阵的变量节点分别通过解调从信道获得的互信息;Step C2: Determine, according to the current target solution and the channel mutual information of each reliability position of the high-order modulation symbol corresponding to the determined first LDPC code, determine, by demodulating the mutual information obtained from the channel, the variable nodes of the base matrix of the first LDPC code respectively ;
具体地,举例来说,假设B'(H)的第k列列的列重为i,则其对应的变量节点从信道获得的互信息可以通过如下计算得到:
Figure PCTCN2016107133-appb-000013
Specifically, for example, if the column weight of the kth column of B'(H) is i, the mutual information obtained by the corresponding variable node from the channel can be calculated as follows:
Figure PCTCN2016107133-appb-000013
步骤C3、根据基矩阵的各变量节点分别获得的互信息,得到基矩阵的变 量节点与校验节点之间的互信息;Step C3: Obtaining a change of the base matrix according to mutual information obtained by each variable node of the base matrix Mutual information between the quantity node and the check node;
具体地,可将上述步骤C3中得到的所有Ivk作为PEXIT算法的输入,然后根据PEXIT算法的计算步骤,迭代求解得到基矩阵的变量节点与校验节点之间的互信息。Specifically, all Iv k obtained in the above step C3 can be used as an input of the PEXIT algorithm, and then the mutual information between the variable node and the check node of the base matrix is iteratively solved according to the calculation step of the PEXIT algorithm.
步骤C4、根据第一LDPC码的基矩阵的各变量节点分别获得的互信息、第一LDPC码的基矩阵的变量节点与校验节点之间的互信息,得到第一LDPC码的基矩阵的各变量节点的后验软信息;Step C4: Obtain mutual information between each variable node of the base matrix of the first LDPC code, mutual information between the variable node of the base matrix of the first LDPC code, and the check node, to obtain a base matrix of the first LDPC code. A posteriori soft information of each variable node;
步骤C5、判断第一LDPC码的基矩阵的各变量节点的后验软信息在当前SNR值下是否收敛,若不收敛,则将确定的该无法收敛的最大SNR值作为当前代价值;若收敛,则将当前SNR值降低设定步长并转到步骤C1。Step C5: determining whether the a posteriori soft information of each variable node of the base matrix of the first LDPC code converges under the current SNR value, and if not, determining the determined maximum SNR value that cannot be converged as the current generation value; , the current SNR value is lowered by the set step size and the process proceeds to step C1.
其中,所有变量节点的后验软信息取值都趋近于1,实际操作时会设一个门限,在预设的迭代次数内,当所有取值与1的差小于这个门限时(比如0.0001),则认为收敛,否则认为不收敛。The value of the posterior soft information of all variable nodes approaches 1 and a threshold is set in the actual operation. When the difference between all the values and 1 is less than the threshold (for example, 0.0001) , it is considered to converge, otherwise it is considered not to converge.
上述实施例中,给出了针对一个确定的目标解时,确定第一LDPC码的基矩阵的各变量节点的后验软信息对应的无法收敛的最大SNR值的方法,其中,结合第一LDPC码的基矩阵的各变量节点分别获得的互信息、第一LDPC码的基矩阵的变量节点与校验节点之间的互信息,得到第一LDPC码的基矩阵的各变量节点的后验软信息,并通过不断减小SNR值,最终迭代找到一个对应的无法收敛的最大SNR值,该实施例使用迭代方法,可以准确确定一个目标解下的基矩阵的各变量节点的后验软信息对应的无法收敛的最大SNR值,具有较高的准确度,从而可以实现为最终确定交织比例提供保证。In the above embodiment, a method for determining a maximum SNR value that cannot be converged corresponding to a posteriori soft information of each variable node of a base matrix of the first LDPC code is provided for a certain target solution, wherein the first LDPC is combined The mutual information obtained by each variable node of the base matrix of the code, the mutual information between the variable node of the base matrix of the first LDPC code and the check node, and the posterior softness of each variable node of the base matrix of the first LDPC code is obtained. Information, and by continuously reducing the SNR value, the final iteration finds a corresponding maximum SNR value that cannot be converged. This embodiment uses an iterative method to accurately determine the posterior soft information corresponding to each variable node of the base matrix under a target solution. The maximum SNR value that cannot be converged has higher accuracy, which can guarantee the final determination of the interleaving ratio.
以上述方程组T1为例,得到的最优解(即映射分布)如下表1所示:Taking the above equation group T 1 as an example, the obtained optimal solution (ie, the map distribution) is as shown in Table 1 below:
mj,i m j,i i=2i=2 i=3i=3 i=4i=4 i=11i=11
j=1j=1 0.2269820.226982 0.3000000.300000 0.8000000.800000 0.001060.00106
j=2j=2 0.1874180.187418 0.3626490.362649 0.0577600.057760 0.205600.20560
j=3j=3 0.2856000.285600 0.2373510.237351 0.1222400.122240 0.200000.20000
j=4j=4 0.3000000.300000 0.1000000.100000 0.0200000.020000 0.593330.59333
表1Table 1
从而,可以使得发送设备根据表1所示的映射分布,对第一LDPC码进行交织得到第二LDPC码,其中,发送设备根据映射分布将第一LDPC码中列重为i的比特分布到第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得第二LDPC码中列重为i的比特在第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i。例如,根据表1,将第一LDPC码中列重为2的比特分布到第二LDPC码第1种可靠度级数的比例为0.226982,分布到第2种可靠度级数的位置的比例为0.187418,从而在第二LDPC码中列重为2的比特在第1种可靠度级数的位置的比例为0.226982,在第2种可靠度级数的位置的比例为0.187418。例如,第一LDPC码中列重为2的比特有100个,交织后,第二LDPC码中在第1种可靠度级数的位置上列重为2的比特为22或23个,第2种可靠度级数的位置上列重为2的比特由18或19个,比特数可以根据需要四舍五入或取整。需要说明的是,此处只是举例,并不以此为限制。Therefore, the transmitting device may be configured to interleave the first LDPC code according to the mapping distribution shown in Table 1, to obtain a second LDPC code, where the transmitting device distributes the bits of the first LDPC code with the i to the first according to the mapping distribution. The position of the jth reliability level corresponding to the modulation symbol in the two LDPC codes, such that the ratio of the bit of the second LDPC code whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol For m j,i . For example, according to Table 1, the ratio of the bit weighted to 2 in the first LDPC code to the first reliability level of the second LDPC code is 0.226982, and the ratio of the position distributed to the position of the second reliability level is 0.187418, so that the ratio of the bit having a column weight of 2 in the second LDPC code to the position of the first reliability level is 0.226982, and the ratio of the position of the second reliability level is 0.187418. For example, in the first LDPC code, there are 100 bits with a column weight of 2, and after interleaving, the number of bits in the second LDPC code that is 2 in the position of the first reliability level is 22 or 23, and the second The number of bits with a weight of 2 at the position of the reliability level is 18 or 19, and the number of bits can be rounded or rounded as needed. It should be noted that the examples herein are only examples and are not limited thereto.
对上述B'1(H)对应的第一LDPC码进行交织后得到第二LDPC码,通过优化方法中的PEXIT分析工具可计算得到交织后的收敛门限为7.697dB,而在非交织情况下收敛门限为8.097dB,因此理论上通过本发明实施例方法进行交织,可以获得约0.4dB的增益。The first LDPC code corresponding to the B' 1 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold after the interleaving is 7.697dB, and converges in the non-interleaving case. The threshold is 8.097 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.4 dB can be obtained.
参考图4,为本发明实施例提供的增益结果对比示意图,该图是根据表1所示的映射分布,对第一LDPC码进行交织得到第二LDPC码时获得的增益示意图。其中,仿真的信道环境为加性高斯白噪声(Additive White Gaussian Noise,AWGN)信道,解调方法为Log-MAP,BICM系统中,译码算法为误差反向传播(Error Back Propagation,BP)算法,最大迭代次数设为50次。BICM-ID方系统中,译码算法为BP算法,最大迭代次数设为50次,迭代解调解码的最大次数设为10次。 FIG. 4 is a schematic diagram of comparison of gain results according to an embodiment of the present invention. The figure is a schematic diagram of gain obtained when interleaving a first LDPC code to obtain a second LDPC code according to the mapping distribution shown in Table 1. The simulated channel environment is Additive White Gaussian Noise (AWGN) channel, and the demodulation method is Log-MAP. In BICM system, the decoding algorithm is Error Back Propagation (BP) algorithm. The maximum number of iterations is set to 50. In the BICM-ID side system, the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
从图4中可以看出,本发明实施例给出的优化的交织比例增益明显。BICM系统在FER为10-1处,其增益约为0.4dB,与PEXIT分析的结果非常接近。BICM-ID系统在FER为10-1处,其增益约为1dB。As can be seen from FIG. 4, the optimized interleaving ratio gain given by the embodiment of the present invention is significant. The BICM system has a gain of about 0.4 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis. The BICM-ID system has a gain of about 1 dB at a FER of 10 -1 .
下面再给出一个具体的实施例来说明本发明实施例的实施过程。A specific embodiment will be given below to illustrate the implementation process of the embodiment of the present invention.
调制方式为256QAM,码字为IEEE802.11n中的(1944,1296)QC-LDPC码。该码(即第一LDPC码)的基矩阵B2'(H)结构如下:The modulation mode is 256QAM, and the codeword is the (1944, 1296) QC-LDPC code in IEEE802.11n. The base matrix B 2 '(H) of the code (ie, the first LDPC code) is structured as follows:
Figure PCTCN2016107133-appb-000014
Figure PCTCN2016107133-appb-000014
该矩阵的列重有4种,分别是2、3、6、8,它们占的比例分别为7/24、12/24、1/24、4/24;256QAM的可靠度位置有4种(L=4)。There are four types of columns in the matrix, which are 2, 3, 6, and 8, respectively. They account for 7/24, 12/24, 1/24, and 4/24, respectively; there are 4 reliability positions for 256QAM ( L=4).
由约束条件获得的方程组T2为:The system of equations T 2 obtained from the constraints is:
Figure PCTCN2016107133-appb-000015
Figure PCTCN2016107133-appb-000015
对于上述方程组T2,设定优化空间为(m32,m42,m13,m43,m16,m26,m46,m28,m38),其维度为9;未知数为m12,m22,m23,m33,m36,m18,m48。优化空间中各元素的初值设为[0,1]区间的实数,且将其带入方程组T2后求得的未知数也必须落在[0,1]区间内。For the above equation T 2 , the optimization space is set to (m 32 , m 42 , m 13 , m 43 , m 16 , m 26 , m 46 , m 28 , m 38 ) with a dimension of 9; the unknown is m 12 m 22 , m 23 , m 33 , m 36 , m 18 , m 48 . The initial value of each element in the optimization space is set to the real number in the interval [0,1], and the unknown number obtained after bringing it into the equation group T 2 must also fall within the interval [0,1].
通过优化算法,得到的交织映射如下表2所示: The optimized interleaving map obtained by the optimization algorithm is shown in Table 2 below:
mj,i m j,i i=2i=2 i=3i=3 i=6i=6 i=8i=8
j=1j=1 0.0025110.002511 0.3275000.327500 0.4243750.424375 0.4070120.407012
j=2j=2 0.0027620.002762 0.4437530.443753 0.4456250.445625 0.0525000.052500
j=3j=3 0.5447270.544727 0.1653090.165309 0.0432030.043203 0.0400000.040000
j=4j=4 0.4500000.450000 0.0634380.063438 0.0867970.086797 0.50040.5004
表2Table 2
对上述B'2(H)对应的第一LDPC码进行交织后得到第二LDPC码,通过优化方法中的PEXIT分析工具可计算得到交织后的收敛门限为10.718dB,而在非交织情况下收敛门限为10.891dB,因此理论上通过本发明实施例方法进行交织,可以获得约0.17dB的增益。The first LDPC code corresponding to the B' 2 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold of the interleaving to be 10.718 dB, and converge in the non-interleaving case. The threshold is 10.891 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.17 dB can be obtained.
参考图5,为本发明实施例提供的增益结果对比示意图,其中,仿真的信道环境为AWGN信道,解调方法为Log-MAP,BICM系统中,译码算法为BP算法,最大迭代次数设为50次。BICM-ID方系统中,译码算法为BP算法,最大迭代次数设为50次,迭代解调解码的最大次数设为10次。5 is a schematic diagram of comparison of gain results according to an embodiment of the present invention. The simulated channel environment is an AWGN channel, and the demodulation method is Log-MAP. In the BICM system, the decoding algorithm is BP algorithm, and the maximum number of iterations is set. 50 times. In the BICM-ID side system, the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
从图5中可以看出,本发明实施例给出的优化的交织比例增益明显。BICM系统在FER为10-1处,其增益约为0.2dB,与PEXIT分析的结果非常接近。BICM-ID的增益约为0.4dB。As can be seen from FIG. 5, the optimized interleaving ratio gain given by the embodiment of the present invention is significant. The BICM system has a gain of approximately 0.2 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis. The gain of the BICM-ID is approximately 0.4 dB.
下面再给出一个具体的实施例来说明本发明实施例的实施过程。A specific embodiment will be given below to illustrate the implementation process of the embodiment of the present invention.
调制方式为256QAM,码字为IEEE802.11n中的(1944,1458)QC-LDPC码。该码(即第一LDPC码)的基矩阵B3'(H)结构如下:The modulation mode is 256QAM, and the codeword is the (1944, 1458) QC-LDPC code in IEEE802.11n. The base matrix B 3 '(H) of the code (ie, the first LDPC code) is structured as follows:
Figure PCTCN2016107133-appb-000016
Figure PCTCN2016107133-appb-000016
该矩阵的列重有3种,分别是2、3、6,它们占的比例分别为6/24、13/24、5/24;256QAM的可靠度位置有4种(L=4)。 There are three types of columns in the matrix, namely 2, 3, and 6, which account for 6/24, 13/24, and 5/24, respectively; there are 4 reliability positions for 256QAM (L=4).
由约束条件获得的方程组T3为:The system of equations T 3 obtained from the constraints is:
Figure PCTCN2016107133-appb-000017
Figure PCTCN2016107133-appb-000017
对于上述方程组T3,设定优化空间为(m32,m42,m13,m43,m16,m26),其维度为6;未知数为m12,m22,m23,m33,m36,m46。优化空间中各元素的初值设为[0,1]区间的实数,且将其带入方程组T3后求得的未知数也必须落在[0,1]区间内。For the above equation T 3 , the optimization space is set to (m 32 , m 42 , m 13 , m 43 , m 16 , m 26 ) with a dimension of 6; the unknown is m 12 , m 22 , m 23 , m 33 , m 36 , m 46 . The initial value of each element in the optimization space is set to the real number in the interval [0,1], and the unknown number obtained after bringing it into the equation group T 3 must also fall within the interval [0,1].
通过优化算法,得到的最优解(即交织映射)如下表3所示:The optimal solution (ie, the interleaving map) obtained by the optimization algorithm is shown in Table 3 below:
mj,i m j,i i=2i=2 i=3i=3 i=6i=6
j=1j=1 0.0001250.000125 0.2687500.268750 0.4176040.417604
j=2j=2 0.0127700.012770 0.3788430.378843 0.1685310.168531
j=3j=3 0.5253240.525324 0.2198850.219885 0.0858140.085814
j=4j=4 0.4617810.461781 0.1325220.132522 0.328050.32805
表3table 3
对上述B'3(H)对应的第一LDPC码进行交织后得到第二LDPC码,通过优化方法中的PEXIT分析工具可计算得到交织后的收敛门限为12.237dB,而在非交织情况下收敛门限为12.323dB,因此理论上通过本发明实施例方法进行交织,可以获得约0.086dB的增益。The first LDPC code corresponding to the B' 3 (H) is interleaved to obtain a second LDPC code, and the PEXIT analysis tool in the optimization method can calculate the convergence threshold of the interleaving to be 12.237 dB, and converge in the non-interleaving case. The threshold is 12.323 dB, so theoretically interleaving by the method of the embodiment of the present invention, a gain of about 0.086 dB can be obtained.
参考图6,为本发明实施例提供的增益结果对比示意图,其中,仿真的信道环境为AWGN信道,解调方法为Log-MAP,BICM系统中,译码算法为BP算法,最大迭代次数设为50次。BICM-ID方系统中,译码算法为BP算法,最大迭代次数设为50次,迭代解调解码的最大次数设为10次。6 is a schematic diagram of comparison of gain results according to an embodiment of the present invention. The simulated channel environment is an AWGN channel, and the demodulation method is Log-MAP. In the BICM system, the decoding algorithm is BP algorithm, and the maximum number of iterations is set. 50 times. In the BICM-ID side system, the decoding algorithm is BP algorithm, the maximum number of iterations is set to 50 times, and the maximum number of iterative demodulation decodings is set to 10 times.
从图6中可以看出,本发明实施例给出的优化的交织比例增益明显。BICM 系统在FER为10-1处,其增益约为0.12dB,与PEXIT分析的结果非常接近。BICM-ID的增益约为0.2dB。As can be seen from FIG. 6, the optimized interleaving ratio gain given by the embodiment of the present invention is significant. The BICM system has a gain of approximately 0.12 dB at a FER of 10 -1 , which is very close to the results of the PEXIT analysis. The gain of the BICM-ID is approximately 0.2 dB.
可选,在上述步骤202之后,还包括对第二LDPC码进行映射的操作,参照图7,为本发明实施例提供的数据传输的方法示意图,其中,在上述步骤202之后,还包括步骤203:Optionally, after the foregoing step 202, the method further includes the step of mapping the second LDPC code. Referring to FIG. 7, the method for data transmission according to the embodiment of the present invention is further provided. :
步骤203、发送设备从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。这里,如前述实施例所述,L为与所述调制方式对应的调制符号的可靠度级数的数目。Step 203: The transmitting device separately obtains L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where L real bits have L different reliability levels, L virtual The partial bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code. Here, as described in the foregoing embodiment, L is the number of reliability levels of modulation symbols corresponding to the modulation scheme.
如果第二LDPC码中包括2n*L个比特,发送设备每次从未映射的比特位置获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,且分别来自第二LDPC码中的不同位置,则第二LDPC码可以映射为n个调制符号。例如,第二LDPC码中可靠度级数的数目为2,第二LDPC码包括{a1,a2,a3,a4,a5,a6,a7,a8},其中具有第1种可靠度级数的比特为{a1,a2,a3,a4},具有第2种可靠度级数的比特为{a5,a6,a7,a8},则{a1,a5}作为实部序列,{a2,a6}作为虚部序列,一起映射为一个调制符号m1;{a3,a7}作为实部序列,{a4,a8}作为虚部序列,一起映射为一个调制符号m2。需要说明的是此处只是举例说明。If the second LDPC code includes 2n*L bits, the transmitting device acquires L real bits and L imaginary bits into a modulation symbol each time the unmapped bit position is obtained, wherein the L real bits have L For different reliability levels, the L imaginary bits have L different reliability levels and are respectively from different positions in the second LDPC code, and the second LDPC code can be mapped into n modulation symbols. For example, the number of reliability levels in the second LDPC code is 2, and the second LDPC code includes {a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 , a 8 }, wherein The bits of one reliability level are {a 1 , a 2 , a 3 , a 4 }, and the bits having the second reliability level are {a 5 , a 6 , a 7 , a 8 }, then { a 1 , a 5 } as the real part sequence, {a 2 , a 6 } as the imaginary part sequence, together mapped to one modulation symbol m 1 ; {a 3 , a 7 } as the real part sequence, {a 4 , a 8 } as an imaginary sequence, mapped together as a modulation symbol m 2 . It should be noted that this is just an example.
更进一步地,在进行映射前,还可以对实部序列和虚部序列中的比特分别按照可靠度级数从高到低排列,例如,基于前述举例的LDPC码,若第1种可靠度级数低于第2种可靠度级数,则{a5,a1}作为实部序列,{a6,a2}作为虚部序列,一起映射为一个调制符号m1;{a7,a3}作为实部序列,{a8,a4}作为虚部序列,一起映射为一个调制符号m2。需要说明的是此处均只是方便举例说明。Further, before the mapping, the bits in the real part sequence and the imaginary part sequence may be arranged in descending order of reliability level, for example, based on the LDPC code of the foregoing example, if the first reliability level The number is lower than the second reliability level, then {a 5 , a 1 } is the real part sequence, and {a 6 , a 2 } is used as the imaginary part sequence, and is mapped together as one modulation symbol m 1 ; {a 7 , a 3 } As a real part sequence, {a 8 , a 4 } is taken as an imaginary part sequence and mapped together as one modulation symbol m 2 . It should be noted that these are only convenient examples.
上述步骤203即为对交织后得到的第二LDPC码进行映射的过程。 The above step 203 is a process of mapping the second LDPC code obtained after interleaving.
可选地,下面给出一种对交织得到的第二LDPC码进行映射的具体过程,其中,发送设备包括L组存储器分别用于存储所述第二LDPC码的L种可靠度级数的比特,L组存储器中任意两组存储的比特总数相同,L组存储器中任一组内的存储器的可靠度相同,L组存储器任意两组之间的存储器的可靠度不同。Optionally, a specific process for mapping the second LDPC code obtained by interleaving is provided, where the sending device includes L sets of memory for storing bits of L reliability levels of the second LDPC code, respectively. The total number of bits stored in any two groups in the L group memory is the same, the reliability of the memory in any one of the L group memories is the same, and the reliability of the memory between any two groups in the L group memory is different.
下面分两种情形说明:The following two scenarios are explained:
情形一、每一组存储器包括1个存储器Case 1: Each group of memory includes 1 memory
发送设备从L组存储器中的每一存储器读取1个未读取比特构成L个实部比特,从L组存储器中的每一存储器再读取1个未读取比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,映射为一个调制符号。The transmitting device reads 1 unread bits from each memory in the L group memory to form L real bits, and reads 1 unread bits from each memory in the L group memory to form L imaginary bits. The L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and are mapped to one modulation symbol.
如图8所示,为本发明实施例提供的映射过程示意图,图8是基于上述表1所示的映射分布为例的示意图,其中,存储器的组数L=4,且每组中只包含一个存储器,因而总共有4个存储器,且4个存储器对应的可靠度不同。FIG. 8 is a schematic diagram of a mapping process according to an embodiment of the present invention. FIG. 8 is a schematic diagram based on the mapping distribution shown in Table 1 above, wherein the number of groups of the memory is L=4, and each group only includes One memory, thus a total of four memories, and four memories correspond to different degrees of reliability.
基于上述表1,可以得到4个存储器中每个存储器存储的比特数分别为(其中每组存储器中的比特总数为486(即1944/4=486)):Based on Table 1 above, it can be obtained that the number of bits stored in each of the four memories is respectively (where the total number of bits in each group of memories is 486 (ie, 1944/4=486)):
对应符号第一可靠度级别的存储器(即图8中的存储器1)中包含的对应列重为2、3、4、11的比特数量分别为203、219、64、0;The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the first reliability level of the symbol (ie, the memory 1 in FIG. 8) are respectively 203, 219, 64, 0;
对应符号第二可靠度级别的存储器(即图8中的存储器2)中包含的对应列重为2、3、4、11的比特数量分别为167、265、4、50;The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol second reliability level (ie, the memory 2 in FIG. 8) are 167, 265, 4, 50, respectively;
对应符号第三可靠度级别的存储器(即图8中的存储器3)中包含的对应列重为2、3、4、11的比特数量分别为255、174、9、48;The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the third reliability level of the symbol (ie, the memory 3 in FIG. 8) are 255, 174, 9, and 48, respectively;
对应符号第四可靠度级别的存储器(即图8中的存储器4)中包含的对应列重为2、3、4、11的比特数量分别为266、71、4、145。The number of bits of the corresponding column weights of 2, 3, 4, and 11 included in the memory corresponding to the symbol fourth reliability level (ie, the memory 4 in FIG. 8) are 266, 71, 4, and 145, respectively.
其中,每组存储器中的比特排列顺序与性能无关,可以根据实际情况具体安排。The order of the bits in each group of memory is independent of performance, and can be specifically arranged according to actual conditions.
基于上述存储器,首先从L组存储器中分别依序读取未读取过的1个比 特位,按照L组存储器对应的可靠度从高到低的顺序,构成L个实部比特位;然后从L组存储器中分别依序读取未读取过的1个比特位,按照L组存储器对应的可靠度从高到低的顺序,构成L个虚部比特位;最后根据L个实部比特位及所述L个虚部比特位,映射一个调制符号。Based on the above memory, firstly, one unread ratio is read sequentially from the L group memory. The special bits form L real bits according to the reliability of the L group memories from high to low; then, the unread 1 bits are sequentially read from the L group memories, according to the L group. The reliability corresponding to the memory is from high to low, forming L imaginary bits; finally, one modulation symbol is mapped according to the L real bits and the L imaginary bits.
以图8为例,依次从存储器1至存储器4中分别读取1个比特,得到4个比特,构成一个比特位序列的实部;然后依次从存储器1至存储器4中分别读取1个比特,得到4个比特,构成一个比特位序列的虚部;从而得到一个比特位序列,并将该比特位序列映射为星座图上的一个调制符号。Taking FIG. 8 as an example, one bit is sequentially read from the memory 1 to the memory 4, and four bits are obtained to form a real part of one bit sequence; then, one bit is sequentially read from the memory 1 to the memory 4, respectively. Obtaining 4 bits to form an imaginary part of a sequence of bits; thus obtaining a sequence of bits and mapping the sequence of bits to a modulation symbol on the constellation.
重复上述步骤,直至将所有的比特都读取出来,得到星座图上的多个调制符号。The above steps are repeated until all the bits are read out to obtain a plurality of modulation symbols on the constellation.
情形二、每一组存储器包括2r个存储器,r为正整数Case 2, each group of memory includes 2 r memories, r is a positive integer
该情形与情形一类似,只不过每组存储器中包含有2r个存储器,具体地,映射方法为:发送设备从L组存储器中2r个存储器中分别读取1个未读取的比特作为实部比特,1个未读取的比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特和L个虚部比特按照L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号,共映射2r个调制符号。This situation is similar to the case 1, except that each set of memory contains 2 r memories. Specifically, the mapping method is: the transmitting device reads one unread bit from the 2 r memories in the L group memory as A real bit, an unread bit as an imaginary bit, constitutes 2 r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits The L real bits and the L imaginary bits in each bit sequence are arranged in descending order of reliability corresponding to the L sets of memories, wherein each bit sequence is used to map a modulation symbol. Map 2 r modulation symbols.
举例来说,参照图9,为本发明实施例提供的映射过程示意图,其中以r=1为例进行说明,即第二LDPC码被划分到L组存储器,其中每组存储器中包含有2个存储器,同一组中的存储器具有相同的可靠度级别,不同组之间的存储器的可靠度级别不同。For example, referring to FIG. 9, FIG. 9 is a schematic diagram of a mapping process according to an embodiment of the present invention, where r=1 is taken as an example, that is, a second LDPC code is divided into L groups of memories, where each group of memory includes two Memory, the memory in the same group has the same level of reliability, and the reliability level of the memory between different groups is different.
以上述表1为例,可以得到L组存储器中每组存储器存储的比特数分别为(其中L=4,且每组存储器中的比特总数为486(即1944/4=486)):Taking the above Table 1 as an example, it can be obtained that the number of bits stored in each group of memories in the L group memory is (where L=4, and the total number of bits in each group of memories is 486 (ie, 1944/4=486)):
对应符号第一可靠度级别的存储器(即图9中的存储器1+存储器2)中包含的对应列重为2、3、4、11的比特数量分别为203、219、64、0; The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the first reliability level of the symbol (ie, the memory 1 + the memory 2 in FIG. 9) are 203, 219, 64, 0, respectively;
对应符号第二可靠度级别的存储器(即图9中的存储器3+存储器4)中包含的对应列重为2、3、4、11的比特数量分别为167、265、4、50;The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol second reliability level (ie, the memory 3 + the memory 4 in FIG. 9) are 167, 265, 4, 50, respectively;
对应符号第三可靠度级别的存储器(即图9中的存储器5+存储器6)中包含的对应列重为2、3、4、11的比特数量分别为255、174、9、48;The number of bits of the corresponding column weights of 2, 3, 4, 11 included in the memory corresponding to the symbol third reliability level (ie, the memory 5 + the memory 6 in FIG. 9) are 255, 174, 9, 48, respectively;
对应符号第四可靠度级别的存储器(即图9中的存储器7+存储器8)中包含的对应列重为2、3、4、11的比特数量分别为266、71、4、145。The number of bits of the corresponding column weights of 2, 3, 4, and 11 included in the memory corresponding to the fourth reliability level of the symbol (i.e., the memory 7 + the memory 8 in FIG. 9) are 266, 71, 4, and 145, respectively.
其中,在每组存储器内部的各个存储器分别存储多少比特,视实际情况而设定,对此没有限制,举例来说,以第一组存储器为例,其中包含存储器1和存储器2,其中,存储器1和存储器2中的比特总和为:对应列重为2、3、4、11的比特数量分别为203、219、64、0。例如,对于存储器1,对应2、3、4、11的比特数量分别为100、100、10、0;对于存储器2,对应2、3、4、11的比特数量分别为103、119、54、0,当然也可以是其它任意分配方式。Wherein, how many bits are stored in each memory in each group of memory, which is set according to the actual situation, and is not limited thereto. For example, taking the first group of memories as an example, the memory 1 and the memory 2 are included, wherein the memory The sum of the bits in 1 and the memory 2 is: the number of bits corresponding to the column weights of 2, 3, 4, and 11, is 203, 219, 64, and 0, respectively. For example, for the memory 1, the number of bits corresponding to 2, 3, 4, and 11 is 100, 100, 10, and 0, respectively; for the memory 2, the number of bits corresponding to 2, 3, 4, and 11 is 103, 119, and 54, respectively. 0, of course, can also be any other allocation method.
在进行映射时,当需要从一个组中读取比特时,可以从该组的任一个存储器中读取比特,举例来说,可以从图9所示的存储器1中读取1个比特,从存储器4中读取1个比特,从存储器5中读取1个比特,从存储器7中读取1个比特,得到4个比特,构成一个比特位序列的实部;从存储器2中读取1个比特,从存储器3中读取1个比特,从存储器6中读取1个比特,从存储器8中读取1个比特,得到4个比特,构成一个比特位序列的虚部,从而构成一个比特位序列,并将该比特位序列映射为星座图上的一个调制符号。由于一个存储器组内的所有存储器存储的比特位数之和是相同的,因此,最终可以正确地完成映射。When mapping is performed, when it is necessary to read a bit from a group, bits can be read from any of the memories of the group. For example, one bit can be read from the memory 1 shown in FIG. One bit is read in the memory 4, one bit is read from the memory 5, one bit is read from the memory 7, and four bits are obtained to form a real part of one bit sequence; read from the memory 2 One bit is read from the memory 3, one bit is read from the memory 6, one bit is read from the memory 8, and four bits are obtained to form an imaginary part of one bit sequence, thereby constituting one bit. A sequence of bits and maps the sequence of bits to a modulation symbol on the constellation. Since the sum of the bits of all memory stored in one memory bank is the same, the mapping can be done correctly.
通过上述方式在一个存储器组内设置多个存储器来实现映射的好处在于:可以并行映射多个符号,提高BICM增益。The advantage of providing multiple memories in a memory bank in the above manner is that the multiple symbols can be mapped in parallel to increase the BICM gain.
可选地,本发明实施例中的发送设备还可以对上述步骤203中得到的调制符号进行调制并发送。Optionally, the transmitting device in the embodiment of the present invention may further modulate and transmit the modulation symbol obtained in step 203 above.
可选地,本发明实施例中的第一LDPC码的校验矩阵还可以是具有Raptor like结构的校验矩阵,此时,映射分布中的映射比例具有以下特点:根据该映 射比例,将第一LDPC码的校验矩阵里重量最小和最大的列对应的大部分比特映射到可靠度较低的位置上,得到第二LDPC码。Optionally, the check matrix of the first LDPC code in the embodiment of the present invention may also be a check matrix having a Raptor like structure. In this case, the mapping proportion in the mapping distribution has the following characteristics: according to the mapping The ratio of the shots is such that the majority of the bits corresponding to the smallest and largest columns of the check matrix of the first LDPC code are mapped to the lower reliability bits to obtain the second LDPC code.
基于相同的发明构思,本发明实施例还提供一种数据传输的方法,如图10所示,该方法执行主体为接收设备,接收设备用于接收来自发送设备的调制符号,该方法具体包括以下步骤:Based on the same inventive concept, an embodiment of the present invention further provides a data transmission method. As shown in FIG. 10, the method is performed by a receiving device, and the receiving device is configured to receive a modulation symbol from a sending device, where the method specifically includes the following step:
步骤1001、接收设备通过解调接收信号获取第二LDPC码。Step 1001: The receiving device acquires a second LDPC code by demodulating the received signal.
步骤1002、接收设备对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,Step 1002: The receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a jth type of the modulation symbol in the second LDPC code. The ratio of the position of the reliability level is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
上述步骤1001中,接收设备接收到的信号是由发送设备对数据信号进行编码得到第一LDPC码,并对第一LDPC码进行交织得到第二LDPC码,对第二LDPC码进行映射并调制后,得到所述信号并发送至接收设备,因此接收设备在接收到发送设备发送的信号后,首先进行解调(其中还包括解映射),得到第二LDPC码。In the above step 1001, the signal received by the receiving device is encoded by the transmitting device to obtain a first LDPC code, and the first LDPC code is interleaved to obtain a second LDPC code, and the second LDPC code is mapped and modulated. The signal is obtained and sent to the receiving device. Therefore, after receiving the signal sent by the transmitting device, the receiving device first performs demodulation (including demapping further) to obtain a second LDPC code.
上述步骤1002中,接收设备对第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,可选地,映射比例mj,i满足下列方程组的约束:In the foregoing step 1002, the receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a jth type of the modulation symbol in the second LDPC code. The ratio of the positions of the reliability series is m j,i , and optionally, the mapping ratio m j,i satisfies the constraints of the following equations:
Figure PCTCN2016107133-appb-000018
Figure PCTCN2016107133-appb-000018
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a reliability level of a modulation symbol corresponding to the modulation mode, and K is a type of column weight in a base matrix of a check matrix of the first LDPC code The number of Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
可选地,所述第一LDPC码的校验矩阵具有Raptor like结构,此时,映射比例具有以下特点:在发送设备侧,根据该映射比例,将第一LDPC码的校验矩阵里列重最小和最大的列对应的大部分比特映射到可靠度较低的位置上,得到第二LDPC码。Optionally, the check matrix of the first LDPC code has a Raptor like structure. In this case, the mapping ratio has the following feature: on the sending device side, according to the mapping ratio, the check matrix of the first LDPC code is listed. Most of the bits corresponding to the smallest and largest columns are mapped to locations with lower reliability to obtain a second LDPC code.
可选地,所述接收设备还对第一LDPC码进行信道译码,得到译码后的信息数据。Optionally, the receiving device further performs channel decoding on the first LDPC code to obtain decoded information data.
基于相同的发明构思,本发明实施例还提供一种发送设备1100,该发送设备1100用于执行上述发送设备侧的数据传输的方法,如图11所示,包括:Based on the same inventive concept, the embodiment of the present invention further provides a sending device 1100, where the sending device 1100 is configured to perform the data transmission on the sending device side, as shown in FIG.
编码单元1101,用于对信息数据编码后得到LDPC码;The encoding unit 1101 is configured to: after encoding the information data, obtain an LDPC code;
交织单元1102,用于根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。The interleaving unit 1102 is configured to perform interleaving on the first LDPC code according to the mapping distribution to obtain a second LDPC code.
本发明实施例,发送设备对信息数据进行编码后得到第一LDPC码,然后根据映射分布,对第一LDPC码进行交织得到第二LDPC码,相较于背景技术中使用门限分析的方式,本发明实施例中预先计算好一个映射分布,然后根据该映射分布对第一LDPC码进行交织,其中,本发明实施例中的映射分布可以根据第一LDPC码的校验矩阵及调制方式得到的,因而可以通过计算得到一个与该第一LDPC码对应的一个最佳映射分布,从而使得交织后的LDPC码获得最大的增益,通过实验结果分析,本发明实施例相较于背景技术中的交织方法,可以得到更大的增益,从而提高了LDPC码交织时获取的增益。In the embodiment of the present invention, the transmitting device obtains the first LDPC code by encoding the information data, and then interleaves the first LDPC code according to the mapping distribution to obtain a second LDPC code, which is compared with the threshold analysis method in the background art. In the embodiment of the present invention, a mapping distribution is pre-calculated, and then the first LDPC code is interleaved according to the mapping distribution. The mapping distribution in the embodiment of the present invention may be obtained according to a check matrix and a modulation mode of the first LDPC code. Therefore, an optimal mapping distribution corresponding to the first LDPC code can be obtained by calculation, so that the interleaved LDPC code obtains the maximum gain, and the interleaving method in the embodiment of the present invention is compared with the background technology. , a larger gain can be obtained, thereby increasing the gain obtained when the LDPC code is interleaved.
可选地,所述映射分布包括至少一个映射比例mj,iOptionally, the mapping distribution includes at least one mapping ratio m j,i ,
所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号 第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
可选地,所述交织单元1102,具体用于:根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i;其中,Optionally, the interleaving unit 1102 is configured to: distribute, according to the mapping distribution, a bit with a weight of i in the first LDPC code to a jth reliability of a corresponding modulation symbol in the second LDPC code. Position of the series, such that the ratio of the bit of the second LDPC code whose weight is i is the position of the jth reliability level of the modulation symbol in the second LDPC code is m j,i ;
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第一LDPC码的校验矩阵的最小列重值相等,dv.max与所述第一LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the first LDPC code, dv.max and the first The maximum column weight of the parity check matrix of an LDPC code is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
可选地,所述映射比例mj,i满足下列方程组的约束:Optionally, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000019
Figure PCTCN2016107133-appb-000019
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵对应的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a base matrix corresponding to a check matrix of the first LDPC code The number of column weight categories, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
可选地,所述发送设备还包括第一映射单元1103,用于从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个 实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。Optionally, the sending device further includes a first mapping unit 1103, configured to separately obtain L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where, The real bits have L different reliability levels, the L imaginary bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
可选地,所述发送设备还包括L组存储器,分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;Optionally, the sending device further includes an L group of memories, configured to store bits of L reliability levels of the second LDPC code, where the total number of bits stored in any two groups in the L group of memories is the same. The reliability of the memory in any one of the L group memories is the same, and the reliability of the memory between any two groups of the L group memories is different;
所述发送设备还包括第二映射单元1104,用于若每一组存储器包括1个存储器,则从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,映射为一个调制符号;或者,The transmitting device further includes a second mapping unit 1104, configured to read 1 bit from each memory in the L group of memory to form L real bits if each group of memories includes one memory. Each memory in the L-group memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively according to the reliability of the L-group memory from high to low. Arrange, map to a modulation symbol; or,
若每一组存储器包括2r个存储器,r为正整数,则从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories and r is a positive integer, one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed. r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group The reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
可选地,所述第一LDPC码的校验矩阵具有Raptor like结构。Optionally, the check matrix of the first LDPC code has a Raptor like structure.
可选地,所述发送设备还包括发送单元1105,用于对所述调制符号进行调制并发送。Optionally, the sending device further includes a sending unit 1105, configured to modulate and transmit the modulation symbol.
基于相同的发明构思,本发明实施例还提供一种接收设备1200,该接收设备1200用于执行上述接收设备侧的数据传输的方法,如图12所示,包括:Based on the same inventive concept, the embodiment of the present invention further provides a receiving device 1200, where the receiving device 1200 is configured to perform data transmission on the receiving device side, as shown in FIG. 12, including:
接收单元1201,用于接收信号; a receiving unit 1201, configured to receive a signal;
解映射单元1202,用于通过解调所述信号获取第二LDPC码;a demapping unit 1202, configured to obtain a second LDPC code by demodulating the signal;
解交织单元1203,用于对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,The deinterleaving unit 1203 is configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code The ratio of the positions of the j reliability levels is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
上述发明实施例中,接收设备接收到的LDPC码是由第一LDPC码解交织得到的,且第二LDPC码是对第一LDPC码根据交织比例进行交织得到的,且交织比例是根据调制方式对应的调制符号的可靠度级数及LDPC码的列重得到的,该实施例,由于原则上可以通过计算得到最佳的交织比例,因而可以得到最佳的交织映效果,提高了交织时获取的增益。In the foregoing embodiment of the present invention, the LDPC code received by the receiving device is obtained by deinterleaving the first LDPC code, and the second LDPC code is obtained by interleaving the first LDPC code according to the interleaving ratio, and the interleaving ratio is according to the modulation mode. The reliability level of the corresponding modulation symbol and the column weight of the LDPC code are obtained. In this embodiment, since the optimal interleaving ratio can be obtained by calculation, the optimal interleaving effect can be obtained, and the interleaving is improved. Gain.
可选地,所述映射比例mj,i满足下列方程组的约束:Optionally, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000020
Figure PCTCN2016107133-appb-000020
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
上述发明实施例中,给出了映射分布中的映射比例满足的条件,通过解方程组可以得到一组最优的映射比例,从而可得到一个最优的映射分布,进而提高交织时获取的增益。 In the above embodiments of the invention, the conditions for satisfying the mapping proportion in the mapping distribution are given, and an optimal mapping ratio can be obtained by solving the equations, so that an optimal mapping distribution can be obtained, thereby improving the gain obtained during interleaving. .
可选地,所述第一LDPC码的校验矩阵具有Raptor like结构。Optionally, the check matrix of the first LDPC code has a Raptor like structure.
可选地,所述接收设备还包括译码单元1204,用于对所述第一LDPC码进行信道译码得到信息数据。Optionally, the receiving device further includes a decoding unit 1204, configured to perform channel decoding on the first LDPC code to obtain information data.
基于相同的发明构思,本发明实施例还提供一种发送设备1300,如图13所示,包括编码器1301,交织器1302,映射器1303、发射器1304及L组存储器1305;Based on the same inventive concept, the embodiment of the present invention further provides a transmitting device 1300, as shown in FIG. 13, including an encoder 1301, an interleaver 1302, a mapper 1303, a transmitter 1304, and an L-group memory 1305;
所述编码器1301,用于对信息数据编码后得到LDPC码;The encoder 1301 is configured to encode the information data to obtain an LDPC code.
所述交织器1302,用于根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。The interleaver 1302 is configured to interleave the first LDPC code according to a mapping distribution to obtain a second LDPC code.
可选地,所述映射分布包括至少一个映射比例mj,iOptionally, the mapping distribution includes at least one mapping ratio m j,i ,
所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
可选地,所述交织器1302具体用于:Optionally, the interleaver 1302 is specifically configured to:
根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i;其中,And distributing, according to the mapping distribution, a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit of the column i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i ;
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第一LDPC码的校验矩阵的最小列重值相等,dv.max与所述第一LDPC码的校验矩阵的最大列重值相等, i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the first LDPC code, dv.max and the first The maximum column weight of the parity check matrix of an LDPC code is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
可选地,所述映射比例mj,i满足下列方程组的约束:Optionally, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000021
Figure PCTCN2016107133-appb-000021
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
可选地,所述映射器1303,具体用于从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。Optionally, the mapper 1303 is configured to separately obtain L real bits and L imaginary bits into a modulation symbol from the second LDPC code, where the L real bits have L different types. The reliability level, the L imaginary bits have L different reliability levels, and the L real bits and the L imaginary bits are respectively from different positions in the second LDCP code.
可选地,所述L组存储器1305,分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;Optionally, the L group of memories 1305 are respectively configured to store bits of L reliability levels of the second LDPC code, and the total number of bits stored in any two groups in the L group of memories is the same, the L group The reliability of the memory in any group in the memory is the same, and the reliability of the memory between any two groups of the L group memory is different;
所述映射器1303,具体用于若每一组存储器包括1个存储器,则从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,The mapper 1303 is specifically configured to: if each group of memories includes one memory, read 1 bit from each of the L groups of memories to form L real bits, from the L group of memories. Each memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and the L real bits and the L imaginary bits are mapped into one modulation symbol; or
若每一组存储器包括2r个存储器,r为正整数,则从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r 个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories and r is a positive integer, one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed. r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group The reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
可选地,所述第一LDPC码的校验矩阵具有Raptor like结构。Optionally, the check matrix of the first LDPC code has a Raptor like structure.
可选地,所述发射器1304,用于对所述调制符号进行调制并发送。Optionally, the transmitter 1304 is configured to modulate and transmit the modulation symbol.
基于相同的发明构思,本发明实施例还提供一种接收设备1400,包括接收器1401、解映射器1402、解交织器1403及译码器1404;Based on the same inventive concept, an embodiment of the present invention further provides a receiving device 1400, including a receiver 1401, a demapper 1402, a deinterleaver 1403, and a decoder 1404;
所述接收器1401,用于接收信号;The receiver 1401 is configured to receive a signal;
所述解映射器1402,用于通过解调所述信号获取第二LDPC码;The demapper 1402 is configured to obtain a second LDPC code by demodulating the signal;
所述解交织器1403,用于对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,The deinterleaver 1403 is configured to perform deinterleaving on the second LDPC code to obtain a first LDPC code, where a bit of the second LDPC code with a weight of i is correspondingly modulated in the second LDPC code. The ratio of the position of the jth reliability level of the symbol is m j,i , where
i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
可选地,所述映射比例mj,i满足下列方程组的约束:Optionally, the mapping ratio m j,i satisfies the constraints of the following system of equations:
Figure PCTCN2016107133-appb-000022
Figure PCTCN2016107133-appb-000022
其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符 号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
可选地,所述第一LDPC码的校验矩阵具有Raptor like结构。Optionally, the check matrix of the first LDPC code has a Raptor like structure.
可选地,所述译码器1404,用于对所述第一LDPC码进行信道译码得到信息数据。Optionally, the decoder 1404 is configured to perform channel decoding on the first LDPC code to obtain information data.
本领域内的技术人员应明白,本发明的实施例可提供为方法、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the flowchart The steps of a process or a plurality of processes and/or block diagrams of a function specified in a block or blocks.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present invention without departing from the scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (26)

  1. 一种数据传输的方法,其特征在于,包括:A method for data transmission, comprising:
    发送设备对信息数据编码后得到第一低密度奇偶校验LDPC码;The transmitting device encodes the information data to obtain a first low density parity check LDPC code;
    所述发送设备根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。Transmitting, by the sending device, the first LDPC code according to a mapping distribution to obtain a second LDPC code.
  2. 根据权利要求1所述的方法,其特征在于,所述映射分布包括至少一个映射比例mj,iThe method according to claim 1, wherein said mapping distribution comprises at least one mapping ratio m j,i ,
    所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
    i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
    j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  3. 根据权利要求2所述的方法,其特征在于,所述发送设备根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码,包括:The method according to claim 2, wherein the transmitting device interleaves the first LDPC code according to a mapping distribution to obtain a second LDPC code, including:
    所述发送设备根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iTransmitting, by the sending device, a bit with a weight of i in the first LDPC code to a position of a jth reliability level of the corresponding modulation symbol in the second LDPC code according to the mapping distribution, so that the first The ratio of the bit whose weight is i in the two LDPC codes in the second LDPC code corresponds to the position of the jth reliability level of the modulation symbol is m j,i .
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述映射分布是根据所述第一LDPC码的校验矩阵及调制方式得到的。The method according to any one of claims 1 to 3, wherein the mapping distribution is obtained according to a check matrix and a modulation mode of the first LDPC code.
  5. 根据权利要求4所述的方法,其特征在于,所述映射比例mj,i满足下列方程组的约束: The method according to claim 4, wherein said mapping ratio m j,i satisfies the constraints of the following system of equations:
    Figure PCTCN2016107133-appb-100001
    Figure PCTCN2016107133-appb-100001
    其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, further comprising:
    发送设备从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。The transmitting device respectively obtains L real bits and L imaginary bits into a modulation symbol from the second LDPC code, wherein the L real bits have L different reliability levels, and the L imaginary bits have L different reliability levels, L real bits and L imaginary bits are respectively from different positions in the second LDCP code.
  7. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, further comprising:
    所述发送设备包括L组存储器分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;The transmitting device includes L groups of memories for storing L types of reliability level bits of the second LDPC code, and the total number of bits stored in any two groups of the L group memories is the same. The reliability of the memory within a group is the same, and the reliability of the memory between any two groups of the L group of memories is different;
    若每一组存储器包括1个存储器,所述发送设备从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,所述发送设备从所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,所述发送设备将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,If each set of memory includes one memory, the transmitting device reads 1 bit from each of the L sets of memories to form L real bits, and the transmitting device from each of the L sets of memories A memory reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits are respectively arranged according to the reliability of the L group of memories, and the transmitting device will Mapping the L real bits and the L imaginary bits into one modulation symbol; or
    若每一组存储器包括2r个存储器,r为正整数,所述发送设备从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比 特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories, r is a positive integer, the transmitting device reads 1 bit from the 2 r memories in the L group memory as real bits, 1 bit as imaginary bits Constructing 2 r bit sequences, wherein each of the 2 r bit sequences is composed of L real bits and L imaginary bits, respectively, L real bits in each bit sequence From the L group of memories, and arranged in descending order of reliability of the L sets of memories, the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to The reliability of the L-group memories is ranked from high to low, and each bit sequence is used to map one modulation symbol.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述第一LDPC码的校验矩阵具有Raptor like结构。The method according to any one of claims 1 to 7, wherein the check matrix of the first LDPC code has a Raptor like structure.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    所述发送设备对所述调制符号进行调制并发送。The transmitting device modulates and transmits the modulation symbol.
  10. 一种数据传输的方法,其特征在于,包括:A method for data transmission, comprising:
    接收设备通过解调接收信号获取第二LDPC码;The receiving device acquires the second LDPC code by demodulating the received signal;
    所述接收设备对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,The receiving device deinterleaves the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code is reliable in the jth type of the corresponding modulation symbol in the second LDPC code. The ratio of the position of the degree series is m j,i , where
    i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
    j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  11. 根据权利要求10所述的方法,其特征在于,所述映射比例mj,i满足下列方程组的约束:The method according to claim 10, characterized in that said mapping ratio m j,i satisfies the constraints of the following system of equations:
    Figure PCTCN2016107133-appb-100002
    Figure PCTCN2016107133-appb-100002
    其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
  12. 根据权利要求10或11所述的方法,其特征在于,所述第一LDPC码的校验矩阵具有Raptor like结构。The method according to claim 10 or 11, wherein the check matrix of the first LDPC code has a Raptor like structure.
  13. 根据权利要求10至12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10 to 12, wherein the method further comprises:
    所述接收设备对所述第一LDPC码进行信道译码得到信息数据。The receiving device performs channel decoding on the first LDPC code to obtain information data.
  14. 一种发送设备,其特征在于,包括:A transmitting device, comprising:
    编码单元,用于对信息数据编码后得到第一LDPC码;a coding unit, configured to encode the information data to obtain a first LDPC code;
    交织单元,用于根据映射分布,对所述第一LDPC码进行交织得到第二LDPC码。And an interleaving unit, configured to interleave the first LDPC code according to the mapping distribution to obtain a second LDPC code.
  15. 根据权利要求14所述的发送设备,其特征在于,所述映射分布包括至少一个映射比例mj,iThe transmitting device according to claim 14, wherein the mapping distribution comprises at least one mapping ratio m j,i ,
    所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a ratio of a bit of the second LDPC code whose weight is i in the second LDPC code corresponding to a position of the jth reliability level of the modulation symbol is m j,i , where
    i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
    j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  16. 根据权利要求14所述的发送设备,其特征在于,所述交织单元,具体用于:The transmitting device according to claim 14, wherein the interleaving unit is specifically configured to:
    根据所述映射分布将所述第一LDPC码中列重为i的比特分布到所述第二LDPC码中对应调制符号第j种可靠度级数的位置上,使得所述第二LDPC码 中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,iAnd distributing, according to the mapping distribution, a bit of the first LDPC code with a weight of i to a position of the jth reliability level of the corresponding modulation symbol in the second LDPC code, so that the second LDPC code is The ratio of the bit whose weight is i in the second LDPC code corresponding to the position of the jth reliability level of the modulation symbol is m j,i .
  17. 根据权利要求14至16任一项所述的发送设备,其特征在于,所述映射分布是根据所述第一LDPC码的校验矩阵及调制方式得到的。The transmitting device according to any one of claims 14 to 16, wherein the mapping distribution is obtained according to a check matrix and a modulation mode of the first LDPC code.
  18. 根据权利要求17所述的发送设备,其特征在于,所述映射比例mj,i满足下列方程组的约束:The transmitting device according to claim 17, wherein said mapping ratio m j,i satisfies a constraint of the following system of equations:
    Figure PCTCN2016107133-appb-100003
    Figure PCTCN2016107133-appb-100003
    其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
  19. 根据权利要求14至18任一项所述的发送设备,其特征在于,所述发送设备还包括第一映射单元,用于从第二LDPC码中分别获取L个实部比特和L个虚部比特映射为一个调制符号,其中,L个实部比特具有L种不同的可靠度级数,L个虚部比特具有L种不同的可靠度级数,L个实部比特和L个虚部比特分别来自第二LDCP码中不同的位置。The transmitting device according to any one of claims 14 to 18, wherein the transmitting device further comprises a first mapping unit, configured to respectively acquire L real bits and L imaginary parts from the second LDPC code The bit map is a modulation symbol, wherein L real bits have L different reliability levels, L imaginary bits have L different reliability levels, L real bits and L imaginary bits They are from different locations in the second LDCP code.
  20. 根据权利要求14至18任一项所述的发送设备,其特征在于,所述发送设备还包括L组存储器,分别用于存储所述第二LDPC码的L种可靠度级数的比特,所述L组存储器中任意两组存储的比特总数相同,所述L组存储器中任一组内的存储器的可靠度相同,所述L组存储器任意两组之间的存储器的可靠度不同;The transmitting device according to any one of claims 14 to 18, wherein the transmitting device further comprises an L group of memories for storing bits of L reliability levels of the second LDPC code, respectively. The total number of bits stored in any two groups in the L group memory is the same, the reliability of the memory in any one of the L group memories is the same, and the reliability of the memory between any two groups of the L group memories is different;
    所述发送设备还包括第二映射单元,用于若每一组存储器包括1个存储器,则从所述L组存储器中的每一存储器读取1个比特构成L个实部比特,从 所述L组存储器中的每一存储器读取1个比特构成L个虚部比特,所述L个实部比特和所述L个虚部比特分别按照所述L组存储器的可靠度从高到低排列,将所述L个实部比特和所述L个虚部比特映射为一个调制符号;或者,The transmitting device further includes a second mapping unit, configured to read 1 bit from each of the L sets of memory to form L real bits if each set of memory includes one memory, Each memory in the L group of memories reads 1 bit to form L imaginary bits, and the L real bits and the L imaginary bits respectively follow the reliability of the L group of memories from high to Low alignment, mapping the L real bits and the L imaginary bits into one modulation symbol; or
    若每一组存储器包括2r个存储器,r为正整数,则从所述L组存储器中2r个存储器中分别读取1个比特作为实部比特,1个比特作为虚部比特,构成2r个比特序列,其中所述2r个比特序列中的每一比特序列由L个实部比特和L个虚部比特构成,所述每一比特序列中的L个实部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列中的L个虚部比特分别来自所述L组存储器,且按照所述L组存储器对应的可靠度从高到低的顺序排列,所述每一比特序列用于映射一个调制符号。If each group of memories includes 2 r memories and r is a positive integer, one bit is read from the 2 r memories of the L group memories as real bits, and 1 bit is used as imaginary bits, and 2 is formed. r bit sequences, wherein each of the 2 r bit sequences consists of L real bits and L imaginary bits, the L real bits in each bit sequence are from the L group of memories, and arranged according to the reliability of the L group of memories from high to low, wherein the L imaginary bits in each bit sequence are respectively from the L group of memories, and according to the L group The reliability of the memory corresponds to a high to low order, and each bit sequence is used to map one modulation symbol.
  21. 根据权利要求14至20任一项所述的发送设备,其特征在于,所述第一LDPC码的校验矩阵具有Raptor like结构。The transmitting device according to any one of claims 14 to 20, characterized in that the check matrix of the first LDPC code has a Raptor like structure.
  22. 根据权利要求14或21所述的发送设备,其特征在于,所述发送设备还包括发送单元,用于对所述调制符号进行调制并发送。The transmitting device according to claim 14 or 21, wherein the transmitting device further comprises a transmitting unit configured to modulate and transmit the modulation symbol.
  23. 一种接收设备,其特征在于,包括:A receiving device, comprising:
    接收单元,用于接收信号;a receiving unit, configured to receive a signal;
    解映射单元,用于通过解调所述信号获取第二LDPC码;a demapping unit, configured to obtain a second LDPC code by demodulating the signal;
    解交织单元,用于对所述第二LDPC码进行解交织得到第一LDPC码,其中,所述第二LDPC码中列重为i的比特在所述第二LDPC码中对应调制符号第j种可靠度级数的位置的比例为mj,i,其中,a deinterleaving unit, configured to deinterleave the second LDPC code to obtain a first LDPC code, where a bit with a column weight i in the second LDPC code corresponds to a modulation symbol in the second LDPC code The ratio of the positions of the reliability levels is m j,i , where
    i为整数,且为[dv.min,dv.max]区间中任一列重值,dv.min与所述第二LDPC码的校验矩阵的最小列重值相等,dv.max与所述第二LDPC码的校验矩阵的最大列重值相等,i is an integer and is a value of any column in the interval [dv.min, dv.max], dv.min is equal to the minimum column weight of the check matrix of the second LDPC code, dv.max and the first The maximum column weight of the parity check matrix of the two LDPC codes is equal.
    j为正整数,且为[1,L]区间中任一可靠度级数,L为与所述调制方式对应的调制符号的可靠度级数的数目。 j is a positive integer and is any reliability level in the [1, L] interval, and L is the number of reliability levels of the modulation symbols corresponding to the modulation scheme.
  24. 根据权利要求23所述的接收设备,其特征在于,所述映射比例mj,i满足下列方程组的约束:The receiving device according to claim 23, characterized in that said mapping ratio m j,i satisfies the constraints of the following system of equations:
    Figure PCTCN2016107133-appb-100004
    Figure PCTCN2016107133-appb-100004
    其中,所述方程组包含L+K个方程,L为与所述调制方式对应的调制符号的可靠度级数的数目,K为与所述第一LDPC码的校验矩阵的基矩阵中列重种类的数目,Λi为所述基矩阵中列重为i的变量节点所占的比例,0≤mj,i≤1。Wherein, the system of equations comprises L+K equations, L is a number of reliability levels of modulation symbols corresponding to the modulation mode, and K is a column in a base matrix of a check matrix of the first LDPC code The number of weights, Λ i is the proportion of the variable nodes whose column weight is i in the base matrix, 0 ≤ m j, i ≤ 1.
  25. 根据权利要求23或24所述的接收设备,其特征在于,所述第一LDPC码的校验矩阵具有Raptor like结构。The receiving device according to claim 23 or 24, wherein the check matrix of the first LDPC code has a Raptor like structure.
  26. 根据权利要求23至25任一项所述的接收设备,其特征在于,所述接收设备还包括译码单元,用于对所述第一LDPC码进行信道译码得到信息数据。 The receiving device according to any one of claims 23 to 25, wherein the receiving device further comprises a decoding unit, configured to perform channel decoding on the first LDPC code to obtain information data.
PCT/CN2016/107133 2016-11-24 2016-11-24 Data transmission method, sending device and receiving device WO2018094658A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/107133 WO2018094658A1 (en) 2016-11-24 2016-11-24 Data transmission method, sending device and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/107133 WO2018094658A1 (en) 2016-11-24 2016-11-24 Data transmission method, sending device and receiving device

Publications (1)

Publication Number Publication Date
WO2018094658A1 true WO2018094658A1 (en) 2018-05-31

Family

ID=62194583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107133 WO2018094658A1 (en) 2016-11-24 2016-11-24 Data transmission method, sending device and receiving device

Country Status (1)

Country Link
WO (1) WO2018094658A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111384979A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Data processing method and device
CN113193874A (en) * 2021-05-06 2021-07-30 清华大学 LDPC code encoding method, LDPC code encoding device, electronic device, and storage medium
CN116436474A (en) * 2023-06-13 2023-07-14 武汉能钠智能装备技术股份有限公司四川省成都市分公司 Channel coding and decoding method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838543A (en) * 2005-03-11 2006-09-27 三星电子株式会社 Channel interleaving/deinterleaving for a communication system and control method thereof
CN101488819A (en) * 2008-01-15 2009-07-22 华为技术有限公司 LDPC code encoding modulation method and apparatus
US20150095744A1 (en) * 2013-09-26 2015-04-02 Samsung Electronics Co., Ltd. Transmitting apparatus and signal processing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838543A (en) * 2005-03-11 2006-09-27 三星电子株式会社 Channel interleaving/deinterleaving for a communication system and control method thereof
CN101488819A (en) * 2008-01-15 2009-07-22 华为技术有限公司 LDPC code encoding modulation method and apparatus
US20150095744A1 (en) * 2013-09-26 2015-04-02 Samsung Electronics Co., Ltd. Transmitting apparatus and signal processing method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOWAK, S. ET AL.: "An interleaving scheme for efficient binary LDPC coded higher-order modulation", SOURCE AND CHANNEL CODING (SCC), 2010 INTERNATIONAL ITG CONFERENCE ON (IEEE), 18 January 2010 (2010-01-18), XP031657423 *
ZHAO, WEITING ET AL.: "Design of interleaving scheme for LDPC-BICM systems with higher-order modulation", MICROPROCESSORS, no. 6, 21 March 2016 (2016-03-21), ISSN: 1002-2279 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111384979A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Data processing method and device
CN113193874A (en) * 2021-05-06 2021-07-30 清华大学 LDPC code encoding method, LDPC code encoding device, electronic device, and storage medium
CN113193874B (en) * 2021-05-06 2023-02-28 清华大学 LDPC code encoding method, LDPC code encoding device, electronic device, and storage medium
CN116436474A (en) * 2023-06-13 2023-07-14 武汉能钠智能装备技术股份有限公司四川省成都市分公司 Channel coding and decoding method
CN116436474B (en) * 2023-06-13 2023-11-17 武汉能钠智能装备技术股份有限公司四川省成都市分公司 Channel coding and decoding method

Similar Documents

Publication Publication Date Title
US8176383B2 (en) Method of constructing low density parity check code, method of decoding the same and transmission system for the same
KR101630442B1 (en) Method and Apparatus for Adapting a Bit Interleaver to LDPC Codes and Modulations under AWGN Channel Conditions Using Binary Erasure Surrogate Channels
KR101800413B1 (en) Transmitting apparatus and modulation method thereof
JP6820994B2 (en) Communication method
CN109194443B (en) APSK constellation mapping-based code modulation method, readable storage medium and terminal
TW201304431A (en) Method and apparatus for channel encoding and decoding in a communication system using low-density parity-check codes
TWI325259B (en) An interleaving scheme for an ldpc coded 16apsk system
CN103916216B (en) A kind of QC LDPC code modulating methods in optical communication system based on 8 qam modes
Cheng et al. EXIT-aided bit mapping design for LDPC coded modulation with APSK constellations
JP2012239241A (en) Apparatus and method for decoding channel in communication system using low-density parity-check codes
Gong et al. Improve the performance of LDPC coded QAM by selective bit mapping in terrestrial broadcasting system
Jin et al. Optimized variable degree matched mapping for protograph LDPC coded modulation with 16QAM
WO2018094658A1 (en) Data transmission method, sending device and receiving device
CN111478752B (en) Information coding method and device
US11817953B2 (en) Transmitting apparatus and signal processing method thereof
KR20150084308A (en) Apparatus and method for adaptively selecting channel code based on non-gaussianity of channel in wireless communication system
CN108900463B (en) APSK constellation mapping-based coding modulation system
KR20150040244A (en) transmitting apparatus and signal processing method thereof
Ionita et al. On the design of binary polar codes for high-order modulation
CN110445582B (en) Code interleaving method, system, device and computer readable storage medium
KR20150134505A (en) transmitter and signal processing method thereof
KR20150040243A (en) transmitting apparatus and signal processing method thereof
KR20150034667A (en) transmitting apparatus and signal processing method thereof
CN104780136B (en) Constellation mapping method, base band frame forming method and de-mapping method
Jellema Polynomial Calculation of Quasi-Gray code labelings for Irregular Signal Constellations

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: 16922252

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: 16922252

Country of ref document: EP

Kind code of ref document: A1