WO2018137519A1 - Encoding method and communication apparatus - Google Patents

Encoding method and communication apparatus Download PDF

Info

Publication number
WO2018137519A1
WO2018137519A1 PCT/CN2018/072904 CN2018072904W WO2018137519A1 WO 2018137519 A1 WO2018137519 A1 WO 2018137519A1 CN 2018072904 W CN2018072904 W CN 2018072904W WO 2018137519 A1 WO2018137519 A1 WO 2018137519A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
bit
fixed
coding
sub
Prior art date
Application number
PCT/CN2018/072904
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 华为技术有限公司
Publication of WO2018137519A1 publication Critical patent/WO2018137519A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • 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 present application relates to the field of wireless communication technologies, and in particular, to a coding method and a communication device.
  • the communication system employs coding to ensure communication reliability through the noisy communication channel.
  • the bits of each symbol have a corresponding capacity under a certain Signal-Noise Ratio (SNR), and a theoretical upper limit (Shannon limit) can be defined for this.
  • SNR Signal-Noise Ratio
  • Shannon limit a theoretical upper limit
  • the coding scheme aims to achieve a rate close to this Shannon limit, one of which is close to the Shannon limit is the Low-Density Parity-Check (LDPC).
  • LDPC Low-Density Parity-Check
  • LDPC is a class of linear block codes with sparse check matrices proposed in 1962. That is, only a small number of elements in the check matrix are "1", and most of them are "0".
  • the LDPC utilizes the sparseness of the matrix, so that the decoding complexity is only linearly related to the code length, and can be effectively decoded in the case of a long code length, and has a simpler decoding algorithm.
  • 3GPP (3rd Generation Partnership Project) RAN (Radio Access Network) 1 the LDPC officially received 5G (English full name: 5 th generation; Chinese full name: Five generations)
  • 5G International full name: 5 th generation
  • Chinese full name: Five generations One of the channel coding schemes for communication technology.
  • the base matrix H b is That is, H b is a 2 ⁇ 3 matrix, and is expanded by a spreading factor of 2, wherein the element "1" in H b is replaced by a matrix obtained by rotating a 2 ⁇ 2 unit array by one bit right, and the element "0" is 2 ⁇ 2 Substituting the unit matrix, the element "-1" is replaced by a 2x2 0 matrix, that is, the extended 4x6 LDPC check matrix is:
  • an LDPC encoded codeword is obtained. Since the code length of the LDPC code check matrix is generally finite length, the information bit length is also finite length, and the length of the transport block does not match the information bit length of the LDPC. In some cases, after the transport block is divided into multiple coded blocks, the length of the coded block may also not match the information bit length of the LDPC, which requires bit stuffing, that is, some known fixed bits need to be filled into the coded block. The padding code block length is matched with the information bit length of the LDPC.
  • the current bit stuffing method uniformly specifies the position of the padding bits.
  • the padding position is either at the head of the coding block or at the end of the coding block.
  • Such a unified processing is very likely to put the padding bits at a higher bit or The block position is higher, and the information bits are placed at a lower bit or lower block position, and the LDPC code is not fully integrated. In view of this, it is necessary to find a more reasonable bit filling method to take advantage of the LDPC code.
  • the present application describes a data transmitting and receiving method, apparatus and system.
  • a first aspect of the embodiments of the present application provides a data sending method. After acquiring a transport block of information bits, the transmitting device divides the transport block to be sent into one or at least two coding blocks; The bit with the smallest bit size or the smallest block size in the one or at least two coding blocks is filled with fixed bits, and the low-density parity check LDPC coding is performed on the coded block filled with the fixed bits to obtain LDPC-encoded data bits. a sequence; the transmitting device transmits the sequence of data bits. In this way, the fixed bits are padded to a position with low reliability, and the information bits are prevented from being placed at a position with low reliability, the coding performance of the LDPC can be effectively improved, and the advantages of the LDPC code are repeatedly played.
  • the transmitting device fills the fixed bit in a position with the smallest bit or the smallest block in the one or at least two coding blocks, optionally, if the transmission block to be transmitted is divided into At least two coding blocks include, but are not limited to, a filling manner of any one of the following fixed bits: 1) filling a fixed bit with a minimum bit size or a minimum block size in all coding blocks; 2) concentrating fixed bits into multiple In a coding block of the coding block that is agreed with the receiving device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit strength or a sub-block with a low sub-block degree is selected for filling; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position with a low bit degree in the coding block agreed by the other
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the sending device divides the transport block to be sent into one or at least two coding blocks, including:
  • the transmitting device acquires a maximum information bit length of an LDPC code used to encode the transport block
  • the sending device determines whether the length of the transport block is greater than the maximum information bit length
  • the transport block is divided into at least two coded blocks, otherwise the transport block is divided into one coded block.
  • the method further includes:
  • the transmitting device sends padding information, where the padding information is used to indicate a coding block that is filled with the fixed bits.
  • the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
  • the fixed bit is 0 or empty.
  • the transmitting device determines, before the fixed bit is filled in a bit with the smallest bit or the smallest block in the at least one of the one or at least two coding blocks, the sending device determines The number of fixed bits.
  • a second aspect of the embodiments of the present application provides a data receiving method, including:
  • the receiving device performs LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
  • the receiving device removes fixed bits from the coded block in which the fixed bits are filled in the one or at least two coding blocks.
  • the method before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
  • the receiving device determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
  • it also includes:
  • the receiving device determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
  • the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
  • the receiving device removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit length or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and selecting only a low bit degree in the coding block agreed by the other part and the transmitting device Sub-blocks with low bit positions or
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block-degree value is the least reliable sub-block.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the method before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
  • the receiving device determines the number of the fixed bits.
  • a third aspect of the embodiments of the present application provides a data sending apparatus, including:
  • a processing module configured to divide the transport block to be transmitted into one or at least two coding blocks; the processing module has a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks Position filling a fixed bit, performing low-density parity check LDPC encoding on the coded block filled with the fixed bit, to obtain an LDPC-encoded data bit sequence;
  • a sending module configured to send the data bit sequence.
  • the processing module fills a fixed bit in a position with a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks, optionally, if to be sent
  • the transport block is divided into at least two coding blocks, including but not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bits with the smallest bit or the smallest block in all the coding blocks; 2) fixing the bits Concentrating into one coding block of a plurality of coding blocks that is agreed by the receiving device, filling at a position where the bit degree is the smallest or the smallest block degree; 3) equally distributing the fixed bits to be filled into the respective coding blocks, and then In each coding block, a bit position with a low bit strength or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and only selects the bit degree in the coding block agreed by the other part and the receiving device.
  • Sub-blocks with low bit positions or low sub-blockiness are padded; 5) fill all blocks in the code block with the smallest bit or the sub-block with the lowest sub-block Fixed bit; 6) concentrating fixed bits into the first coding block of the plurality of coding blocks, filling at a position where the bit degree is the smallest or the smallest block degree; 7) concentrating the fixed bits into a plurality of coding blocks In the last coding block, padding is performed at a position where the bit size is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the device further includes:
  • An obtaining module configured to obtain a maximum information bit length of an LDPC code used to encode the transport block
  • the processing module determines whether the length of the transport block is greater than the maximum information bit length
  • the processing module divides the transport block into at least two coded blocks, otherwise the processing module divides the transport block into one coded block.
  • the device further includes:
  • the processing module determines, according to a predetermined rule, a coded block filled with fixed bits in the one or at least two coding blocks;
  • the processing module sends padding information for indicating a coded block that is filled with the fixed bits.
  • the padding information is sent by the sending module by using unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
  • the fixed bit is 0 or Null.
  • the processing module determines the number of fixed bits.
  • a fourth aspect of the embodiments of the present application provides a data receiving apparatus, including:
  • a receiving module configured to receive at least one data bit sequence sent by the sending device
  • a processing module configured to perform LDPC decoding on each data bit sequence, to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
  • the processing module is further configured to remove fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks.
  • the processing module is further configured to: before removing the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
  • the processing module determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
  • the processing module determines the coded block that is filled with fixed bits in the one or at least two coding blocks, including:
  • the processing module determines, according to a predetermined rule, a coded block that is filled with fixed bits in the one or at least two coding blocks;
  • the receiving module is further configured to receive the padding information sent by the sending device, where the padding information is used to indicate a coded block that is filled with the fixed bit;
  • the processing module determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
  • the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
  • the processing module removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit length or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and selecting only a low bit degree in the coding block agreed by the other part and the transmitting device Sub-blocks with low bit positions or
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is the least reliable Subblock.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the apparatus before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the apparatus further includes:
  • the processing module determines the number of fixed bits.
  • a fifth aspect of the embodiments of the present application provides a data sending device, including:
  • a processor configured to divide a transport block to be transmitted into one or at least two coded blocks; the processor fills a fixed bit in a position with a minimum bit size or a minimum block size in the one or at least two code blocks, Encapsulating the fixed bit to perform low-density parity check LDPC encoding to obtain an LDPC-encoded data bit sequence;
  • a transmitter for transmitting the sequence of data bits.
  • the processor fills a fixed bit in a position with a minimum bit size or a minimum block size in the one or at least two coding blocks, optionally, if the transmission block to be transmitted is divided into at least two
  • the coding blocks include, but are not limited to, the following filling manners of any fixed bits: 1) filling the fixed bits with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block that is agreed with the receiving device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding block Selecting a bit position with a low bit length or a sub-block with a low sub-blockiness for padding; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position or a sub-bit with a low bit length in another coding block agreed by the receiving device Sub-
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the device further includes:
  • An obtaining module configured to obtain a maximum information bit length of an LDPC code used to encode the transport block
  • the processor divides the transport block into at least two coded blocks, otherwise the processor divides the transport block into one coded block.
  • the device further includes:
  • the processor sends padding information for indicating a coded block that is filled with the fixed bits.
  • the padding information is transmitted by the transmitter by broadcast or unicast signaling such as RRC signaling, PDCCH signaling, or the like.
  • the fixed bit is 0 or empty.
  • the processor determines the number of fixed bits.
  • the device further includes a memory for storing execution instructions; the processor is configured to execute execution instructions of the memory storage, such that the transmitting device performs data interaction with the receiving device through the communication interface to perform the above A method of transmitting data provided by various embodiments.
  • a sixth aspect of the embodiments of the present application provides a data receiving device, including:
  • a receiver configured to receive at least one data bit sequence sent by the sending device
  • a processor configured to perform LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
  • the processor is further configured to remove fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks.
  • the processor is further configured to: before removing the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
  • the processor determines a coded block that is filled with fixed bits in the one or at least two coded blocks.
  • the processor determines, in the one or at least two coding blocks, a coding block that is filled with fixed bits, including:
  • the receiver is further configured to receive padding information sent by the sending device, where the padding information is used to indicate a coded block that is filled with the fixed bit;
  • the processor determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
  • the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
  • the processor removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding block Selecting a bit position with a low bit strength or a sub-block with a low sub-blockiness for padding; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position or a sub-bit with a low bit length in another coding block agreed by the transmitting device Sub-blocks with low
  • each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is the least reliable Subblock.
  • the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
  • the fixed bits are evenly distributed between different sub-blocks.
  • the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
  • the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
  • the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
  • the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  • the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
  • the device before the processor removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the device further includes:
  • the processor determines the number of fixed bits.
  • the device further includes a memory for storing execution instructions; the processor is configured to execute execution instructions of the memory storage, such that the receiving device performs data interaction with the transmitting device through the communication interface to perform the above A method of receiving data provided by various embodiments.
  • a seventh aspect of the present application provides a readable storage medium, where an execution instruction is stored, and when at least one processor of a transmitting device executes the execution instruction, the sending device performs the first aspect or the first aspect.
  • a method of transmitting data provided by an embodiment.
  • An eighth aspect of the present application provides a readable storage medium, where an execution instruction is stored, and when at least one processor of a receiving device executes the execution instruction, the receiving device performs the second aspect or the second aspect.
  • a method of receiving data provided by an embodiment.
  • a ninth aspect of the present application provides a program product, the program product comprising an execution instruction stored in a readable storage medium.
  • the at least one processor of the transmitting device can read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction such that the transmitting device implements the method of transmitting the data provided by the first aspect or the various embodiments of the first aspect.
  • a tenth aspect of the present application provides a program product, the program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the receiving device may read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction such that the receiving device implements the data receiving method provided by the second aspect or the various embodiments of the second aspect .
  • the sending device in the embodiment of the present application may be a network device or a terminal.
  • the receiving device may also be a terminal or a network device.
  • the method for transmitting data, the receiving method, the device and the device provided by the application divides the transport block to be transmitted into at least one coding block, and the bit position or block with the lowest bit degree among one or at least two coding blocks
  • the lowest sub-block is filled with fixed bits
  • each coding block is LDPC-encoded to obtain a plurality of data bit sequences
  • the transmitting device transmits the data bit sequences
  • the receiving device decodes the data bit sequences after receiving the data bit sequences.
  • the fixed bits are removed from the coded block filled with fixed bits. In this way, the fixed bits are filled to the position with the lowest reliability, which effectively improves the reliability of the LDPC encoding.
  • FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for transmitting data provided by the present application
  • FIG. 3a is a schematic diagram of filling a fixed bit of data provided in the first coding block in the present application
  • FIG. 3b is a schematic diagram of filling a fixed bit of data provided in the present application in a last coding block
  • Figure 3c is a schematic diagram of the fixed bits of data provided in the present application filled in all coding blocks;
  • FIG. 5 is a schematic structural diagram of an apparatus for transmitting data provided by the present application.
  • FIG. 6 is a schematic structural diagram of a data receiving apparatus provided by the present application.
  • FIG. 7 is a schematic structural diagram of an embodiment of a sending device provided by the present application.
  • FIG. 8 is a schematic structural diagram of an embodiment of a receiving device provided by the present application.
  • the check matrix of an exemplary LDPC code is as follows:
  • RBs radio resource blocks
  • the length is also different.
  • a base matrix H b of m b ⁇ n b may be generated in advance, and then the spreading factor z corresponding to the code length of each LDPC is preset, after the code length of the LDPC is determined.
  • the data transmission device first obtains a spreading factor corresponding to the code length, and then performs expansion using the base matrix of the spreading factor, thereby obtaining a parity check matrix H corresponding to the code length, and H is a matrix of m ⁇ n .
  • different check matrices can be obtained on the basis of the base matrix when the code lengths of the LDPCs are different, so that the wireless communication device can support LDPCs of different code lengths.
  • the element "0" is replaced by a 2 ⁇ 2 unit matrix
  • the LDPC encoding After the LDPC encoding is performed on the information bit sequence to be transmitted, it can be sent to the receiving device after subsequent steps such as constellation modulation and resource mapping.
  • the embodiment of the present application is based on FIG.
  • a solution is proposed according to the blockiness or bit degree of each bit in the coding block to improve the transmission efficiency of the LDPC code.
  • FIG. 1 is a schematic structural diagram of a system for transmitting or receiving data according to an embodiment of the present disclosure.
  • the system architecture includes a network device and a terminal.
  • the network device is used. That is, the Wifi access point, the terminal is a Wifi terminal or the like.
  • the number of network devices and terminals in this solution is not limited.
  • the network device transmits downlink data to the terminal, where the data is LDPC coded, and the LDPC coded data is transmitted to the terminal after being modulated and the like; the terminal transmits uplink data to the base station, and the uplink data may also be LDPC coded, and the LDPC coded data is modulated. After transmission to the base station.
  • the process of transmitting uplink data or downlink data a subsequently provided method can be adopted.
  • the network device is a base station on the network side or another device capable of providing a base station function, and provides communication services for the terminal device; for example, the network device may be a Radio Access Network (RAN) device, or may be global.
  • Base System in Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA), or Wideband Code Division Multiple Access (Wideband Code Division Multiple Access,
  • a base station (NodeB, NB) in WCDMA) may also be an evolved base station (Evolved Node B, eNB or eNodeB) in Long Term Evolution (LTE), or a relay station or an access point, or a 5G network.
  • the base station or the like is not limited herein.
  • the network device may also be a terminal that assumes the function of the base station.
  • the terminal is a device that needs to perform uplink and downlink data interaction on the user side, for example, a mobile phone, a user device, a tablet computer, and the like.
  • the LDPC base matrix H b and the LDPC check matrix H involved in the embodiments of the present application are further described.
  • the base matrix H b in this embodiment may first construct a bit rate according to the number of rows m b and the number of columns n b , and then adopt density evolution theory or progressive edge growth (PEG) method.
  • Base matrix The value of the number of rows m b and the number of columns may be determined according to data transmission requirements of wireless communication. The generation method or construction method of the base matrix H b will not be described here.
  • the construction of the LDPC check matrix H is based on a base matrix H b and is extended by a cyclic permutation matrix, which is expressed as follows:
  • the permutation matrix, z is the actual expansion factor.
  • the permutation matrix may be obtained by cyclically shifting an identity matrix according to a corresponding number of displacements, and the number of displacements corresponds to the value of the element.
  • the element value may be transformed according to the following formula (1) to obtain the number of displacements.
  • z 0 is the maximum value of the expansion factor
  • z f is the actual expansion factor
  • p(i, j) is the value of the element of the i-th row and the j-th column in the base matrix. Indicates rounding down, p(f, i, j) indicates the number of shifts.
  • the element "0" is replaced by the unit matrix
  • the element "-1” is replaced by the all 0 matrix
  • the elements other than "0" and non - "-1" are based on the identity matrix.
  • the unit matrix of the permutation element "0" is:
  • the all-zero matrix of the permutation element "-1" is:
  • the matrix of the permutation element "1" is obtained by looping the unit matrix to the left or right by 1 bit.
  • the loop to the right is taken as an example:
  • the matrix of the permutation element "2" is obtained by looping 2 bits to the left or right through the unit matrix.
  • the loop to the right is taken as an example:
  • the parity check matrix H is a matrix composed of a plurality of 3 ⁇ 3 permutation matrices, the code length of the LDPC is 18, and the number of parity bits of the LDPC code is 9.
  • column weight refers to the number of non-"-1" elements in each column, such as the base matrix H b described above, and its column weight is calculated as shown in Table 1:
  • the column weight refers to the number of elements "1" in each column, such as the check matrix H described above, and the column weight is calculated as shown in Table 2 below:
  • the check matrix can be obtained by calculating the column weight value of each column of the base matrix H b according to the principle that the column weight value of the extended z column is equal to the column weight value of the original column.
  • Block degree The block degree involved in the embodiment of the present application refers to an LDPC check matrix H, where each column corresponds to one bit, wherein the first k columns correspond one-to-one to the bits in the coding block to be encoded, and the last m columns are one by one.
  • H is divided into a plurality of sub-blocks, for example, dividing H into a plurality of sub-blocks by using a spreading factor of z; calculating the degree of each sub-block, and obtaining the block degree, sometimes referred to as a sub-block Block degree.
  • the block degree of the Gth bit refers to the number of 1s in any one of the corresponding sub-blocks of the G-th bit in the check matrix H, 0 ⁇ G ⁇ n, G is a positive integer, when the value of G is When the range is 0 ⁇ G ⁇ k, the block degree of the bits in the coding block to be coded is indicated. In the present application, since the fixed bits discussed are also in the coding block, the value range of G in the present application is 0 ⁇ G ⁇ k unless otherwise specified.
  • the bits in the coding block to be coded may also correspond to any k columns in the check matrix, and the remaining m columns correspond to check bits, and the corresponding manner only needs to be unified at the transmitting end and the receiving end. This application does not limit it.
  • the manner of calculating the block degree may be flexible, and may include at least the following two types:
  • the column weight of each column of the check matrix H is calculated, and the degree of the sub-block corresponding thereto is calculated according to the column weight of each column.
  • One way of blocks corresponding to each bit of the sub-block is calculated, the calculation of each column by the column base matrix H b of the weight, i.e. the number of base matrix H b is calculated than "-1" element, to obtain the corresponding
  • the column weight of the first column of the base matrix H b is 2
  • the definition of the column weight and the definition of the sub-block are obtained
  • the block degree of the sub-block 1 is obtained as 2.
  • Another way of calculating the blockiness of the sub-block corresponding to each bit is to calculate the column weight of each column of the base matrix H b and then multiply the column by the expansion factor to obtain the corresponding sub-block. For example, if the column weight of the first column of the base matrix H b is 2 and multiplied by the expansion factor 3, the block degree of the sub-block 1 is obtained, and in the present application, without special declaration, The embodiments also define the block degree by taking the column weight of a single column as an example.
  • Another way of calculating the blockiness of the sub-block corresponding to each bit is to obtain the column of each column of the check matrix H by calculating the number of elements "1" in each column of the check matrix H corresponding thereto.
  • the block degree of the sub-block can be obtained; for example, after the column weight value of the 1-3th column of the check matrix H is obtained, the block degree of the sub-block 1 is obtained as 2;
  • Another way of calculating the block degree of the sub-block corresponding to each bit is to add the column of the corresponding column of each sub-block in the H-check matrix or multiply the column of the single column by the expansion factor to obtain the sub-block.
  • each embodiment in the present application defines the block degree by taking the column weight of a single column as an example.
  • the LDPC coded code sequence is divided into 6 sub-blocks, and the block degree of each sub-block is: the block degree of the sub-block 1 is 2, the block degree of the sub-block 2 is 3, and the block degree of the sub-block 3 is 1.
  • the sub-block 4 has a blockiness of 3
  • the sub-block 5 has a blockiness of 1
  • the sub-block 6 has a blockiness of 2.
  • Each dashed box in the formula is a sub-block, which is not difficult to understand.
  • the sub-block 2 and the sub-block 3 correspond to bits in the coding block to be encoded
  • the sub-block 4, the sub-block 5, and the sub-block 6 correspond to parity bits;
  • the block value of each sub-block is the same as the column weight of each column of the base matrix H b , and is equal to the column weight of the corresponding column of the expanded check matrix H.
  • the reliability of each bit is high or low, and the reliability here refers to the probability that the bit is detected correctly.
  • the reliability of the bit is associated with the block degree of the sub-block to which it belongs, and the block degree of the sub-block is proportional to the value of the column weight of the base matrix H b or the check matrix H.
  • the higher the value of the column weight of the base matrix H b , the higher the reliability of the sub-block corresponding to the column, the higher the reliability of the bits belonging to the sub-block, and the error of transmission after modulation The lower the code rate; conversely, the lower the value of the column weight of a column of the base matrix H b , the lower the reliability of the sub-block in the code sequence corresponding to the column, and the lower the reliability of the bits belonging to the sub-block, The bit error rate transmitted after modulation is lower.
  • the bit degree of each bit in the LDPC coded block may be defined as the LDPC corresponding to the bit.
  • the number of 1s in the column of the check matrix, that is, the block degree of the Gth bit is the number of 1s in the corresponding Gth column of the Gth bit in the check matrix H, 0 ⁇ G ⁇ n, G is a positive integer, and when the value of G ranges from 0 ⁇ G ⁇ k, the bit degree of the bit in the coding block to be coded is indicated.
  • the value range of G in the present application is 0 ⁇ G ⁇ k unless otherwise specified.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for transmitting data provided by the present application.
  • a base station or a terminal may be used as a sending device or a receiving device, optionally, The method includes the following steps:
  • the transmitting device determines a code rate and a code length of an LDPC code of the transport block used for encoding.
  • the code rate is equal to the information bit length of the LDPC code divided by the code length of the LDPC code.
  • the commonly used code rate is 1/2, 2/3, 3/4, 5/6, etc., and is not limited herein.
  • S202 Determine a maximum information bit length at a code rate of the LDPC code according to the code rate of the LDPC code.
  • the maximum information bit length may be directly determined, and the maximum information bit length may be determined according to a code rate of the LDPC code and a maximum LDPC code length of the code rate, that is, the maximum information bit length is equal to The code rate of the LDPC code is multiplied by the maximum LDPC code length.
  • S204 Calculate the number of fixed bits to be padded according to the length of the transport block and the maximum information bit length of the LDPC at the code rate, and determine a corresponding fixed bit position; generally, the number of fixed bits filled is equal to the maximum information bit of the LDPC at the code rate.
  • the length is subtracted from the length of the transport block, and the flow goes to step S207.
  • S206 Calculate a coding block, a fixed number of bits, and a location that need to be filled with fixed bits according to the number of the coded blocks, the length of the coding block, and the maximum information bit length at the code rate.
  • the length of the transport block is L, and the maximum information bit length of the LDPC is P, and L>P, the transport block is segmented, divided into multiple coding blocks, and the coding blocks are Number is Said Indicates rounding up. If the number of coded blocks is K, the number of fixed bits that need to be padded is
  • the number of coding blocks whose coding block length is K1 is Num1
  • the number of coding blocks whose coding block length is K2 is Num2
  • the transmitting device determines the fixed number of bits to be filled
  • the corresponding fixed bit position is also determined.
  • the fixed bit is filled in the LDPC code
  • the padded fixed bit is filled in the LDPC code with low bit length.
  • the padding fixed bits mentioned herein may be any known bits or Null, without loss of generality, and the fixed bits may be set to zero.
  • S207 Perform bit filling according to the number of padding bits and padding bit positions determined in S204 or S206.
  • the filling may be performed in a uniform filling order on both sides of the transmitting end and the receiving end.
  • the padding principle is:
  • step c) if the number Y of these bit positions is greater than or equal to X, then optionally X is filled, skip to step d), otherwise to step c);
  • the padding position is selected according to the block degree, since one sub-block contains a plurality of columns, and the column weights of the plurality of columns are equal, the corresponding block degree of each column in the same sub-block is the same, so the filling principle and the bit-by-bit The degree is similar, that is, to ensure that the padding bit position is the position with the lowest sub-blockiness. Once the number of bits that need to be filled in the sub-block is confirmed, there can be a corresponding number of columns in the sub-block.
  • the sub-block with the lowest block degree is sub-block 3 and sub-block 5, so one can be selected, and the sub-block 3 is selected as an example, and can be left to right.
  • sub-block 3 and sub-block 5 1) One way is to fill two fixed bits in sub-block 3 and sub-block 5 with a fixed bit, which can be filled according to the above-mentioned 1-bit padding, and each sub-block is selected from left to right or pressed. Select from right to left can be independent or unified;
  • Another way is to fill 2 bits into sub-block 3 or sub-block 5, and still fill in sub-block 3 as an example, and fill 2 fixed bits in the order from left to right. Blocking the leftmost first and second bit positions of block 3, or filling the 2 fixed bits in the right and left bit positions of the sub-block 3 in right-to-left order, and also 2 fixed bits The first and third bit positions of the sub-block 3 are filled.
  • Another way is to fill the 3 bits into the sub-block 3 or the sub-block 5, and still fill the sub-block 3 as an example, and fill the 3 fixed bits in the first and second of the sub-block 3 respectively. , the third bit position.
  • a coded block filled with fixed bits may include, but is not limited to, a broadcast PBCH (English full name: Physical Broadcasting Channel; Chinese full name: physical Broadcast channel) signaling or unicast RRC (English full name: Radio Resource Control; Chinese full name: radio resource control) signaling, PDCCH (English full name: Physical Downlink Control Channel; Chinese full name: physical downlink control channel) signaling, PUCCH (English full name: Physical Uplink Control Channel; Chinese full name: physical uplink control channel) signaling
  • the position selection of the padding bits includes but is not limited to the following ways:
  • all the fixed bits are padded in the last coding block, and the padding fixed bits are filled in the bit position with the low bit degree of the last coding block, or the sub-block with the low sub-block degree in the last coding block is pressed.
  • the filling method in one of the above coding blocks is filled.
  • each coding block is subjected to LDPC coding to obtain an LDPC codeword.
  • the fixed bits are grouped into a plurality of coding blocks that are padded with a minimum bit size or a minimum block size in a coding block agreed upon by the receiving device.
  • all fixed bits are filled in the coded block in which the bit with the least bit or the sub-block with the lowest sub-block is located.
  • all fixed bit distributions are filled in a plurality of coding blocks, including but not limited to the following filling manners of any fixed bits: 1) padding fixed at the least bit or minimum block size in all coding blocks Bits; 2) equally distribute the fixed bits to be filled into the respective coding blocks, and then select a bit position with a low bit degree or a sub-block with a low sub-block degree for padding in each coding block; 3) select a part of the coding block Filling the fixed bits and selecting only the bit positions with low bit width or sub-blocks with low sub-blocks in the coding block agreed by the other part and the receiving device to fill; 4) filling the fixed bits with any one of the transmitting device and the receiving device The way to fill.
  • the information bit occupation bit can be avoided by filling a bit position with a low bit degree or a plurality of sub block bits having a low coding block sub-blockiness in a bit position of a low bit of information of an LDPC code or a sub-block position having a low sub-blockiness.
  • a low bit position or a sub-block position with a low sub-blockiness results in poor LDPC encoding performance, thereby improving the encoding performance of the LDPC encoding.
  • the transmitting device performs LDPC encoding on the coding block bit sequence filled with the fixed bits and the coding block bit sequence that does not need to be filled with the fixed bits, and transmits the encoded data (that is, the encoded multiple data bit sequences).
  • the receiving device receives the LDPC encoded data sent by the transmitting device, that is, receives a plurality of data bit sequences.
  • the receiving device performs LDPC decoding on the data bit sequence, and the decoding uses the LDPC check matrix to perform decoding, and obtains the bit sequence of the decoded coded block.
  • the decoded coded block may be referred to as translation. Code blocks, of course, can be called code blocks without causing confusion;
  • the receiving device removes the fixed bits from the decoded block filled with fixed bits in the decoded bit sequence, an exemplary description is shown in FIG. 4:
  • S402 Determine a maximum information bit length at a code rate of the LDPC code according to the code rate of the LDPC code.
  • the maximum information bit length may be directly determined, and the maximum information bit length may be determined according to a code rate of the LDPC code and a maximum LDPC code length of the code rate, that is, the maximum information bit length is equal to The code rate of the LDPC code is multiplied by the maximum LDPC code length.
  • S405 Divide the decoded bit sequence into at least two decoding blocks.
  • S406 Determine, according to the number of the decoded coding blocks, the length of the decoded bit sequence, the maximum information bit length at the code rate, and/or the received control signaling, the translation of the fixed bits that need to be removed. Code block, fixed number of bits and location. The method is the same as the method in S206 of the foregoing sending end, and is not described again.
  • the receiving device removes the padded fixed bit according to the decoding block where the fixed bit determined in step S404 or S406, the fixed bit, and the position, to obtain the decoded information bit sequence.
  • the location information of the fixed bit of the receiving device may be determined according to a predetermined rule, such as a 3GPP protocol, etc., or may be determined by receiving, by using a padding information sent by the sending device by using a broadcast or a unicast, the padding information is used to indicate the following information.
  • a coding block filled with fixed bits a number and location of fixed bits, wherein the transmission manner includes but is not limited to PBCH signaling, RRC signaling, PDCCH signaling, PUCCH signaling, and the like.
  • the filling manner of the fixed bits includes, but is not limited to, any one of the following: 1) filling the fixed bits with the smallest bit or the smallest block in all the coding blocks; 2) concentrating the fixed bits into the plurality of coding blocks and the transmitting device In a predetermined coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then the bit degree is selected in each coding block.
  • Sub-blocks with low bit positions or low sub-blocks are padded; 4) selecting a part of the coding blocks without filling the fixed bits and selecting only the bit positions with low bit-degree or sub-blocks with low bit positions in the coding blocks agreed by the other part and the transmitting device Blocking is performed; 5) filling all fixed bits in the coding block in which the bit with the smallest bit or the sub-block with the lowest sub-block is located; 6) concentrating the fixed bits into the first coding block of the plurality of coding blocks, Filling at a position where the bit size is the smallest or the blockiness is the smallest; 7) concentrating the fixed bits into the last one of the plurality of coded blocks, with the least bit or Minimum filling degree of the position of the block; 8) in any of a fixed transmission bit stuffing unified manner and receiving devices are filled. Since the receiving device has already agreed with the sending device to fill the fixed bits, it is only necessary to remove the padding fixed bits at the corresponding position according to the filling rule.
  • FIG. 5 is a schematic structural diagram of an apparatus for sending data according to the present application. As shown in FIG. 5, the data sending apparatus 10 includes:
  • the processing module 11 is configured to obtain, according to the flow shown in FIG. 2 and various methods in the foregoing embodiments, code rate information of the LDPC code, a maximum information bit length at a code rate of the LDPC code, and a coding block split (ie, whether Dividing into a plurality of coding blocks) information, filling the number and position of fixed bits, performing a padding fixed bit operation, and after filling the fixed bits, performing LDPC coding on each coding block to obtain an LDPC coded data bit sequence;
  • the sending module 12 is configured to send the data bit sequence.
  • the processing module 11 is configured to include, but is not limited to, a filling manner of any one of the following fixed bits: 1) filling a fixed bit in a position with the smallest bit size or the smallest block size in all coding blocks.
  • the coding block selects a bit position with a low bit rate or a sub-block with a low sub-block degree for padding; 5) filling all fixed bits in a coding block in which the bit bit minimum or the sub-block with the lowest sub-block is located; 6) The fixed bits are concentrated into the first coding block of the plurality of coding blocks, and padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 7) the fixed bits are concentrated to a maximum In the last coding block in the coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
  • the sending device further includes:
  • An obtaining module configured to obtain a maximum information bit length for performing LDPC encoding on the transport block
  • the transport block is divided into at least two coded blocks.
  • processing module 11 is further configured to:
  • a maximum information bit length of the LDPC code is equal to a product of a code rate and a code length of the LDPC code.
  • the sending module 12 is further configured to send the padding information of the fixed bit in a unicast or broadcast manner, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, and a fixed bit Number and location.
  • the data sending apparatus provided in this embodiment is used to implement the technical solution of the sending device in any of the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of an apparatus for receiving data according to the present application. As shown in FIG. 6, the data receiving apparatus 20 includes:
  • the receiving module 21 is configured to receive a data bit sequence sent by the sending device.
  • the processing module 22 is configured to perform LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence;
  • the processing module 22 is further configured to remove fixed bits from the coded block that is filled with fixed bits.
  • the processing module 22 is further configured to:
  • the coded block that has been coded is determined to be a coded block filled with fixed bits, the number and location of fixed bits.
  • processing module 22 is configured to determine, according to a predetermined rule, a coded block filled with fixed bits
  • the receiving module 21 is further configured to receive the padding information of the fixed bit sent by the sending device, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, a number and a position of fixed bits;
  • the processing module 22 is further configured to determine, according to the padding information, a coded block that is filled with fixed bits.
  • the processing module 22 is configured to remove the fixed bit according to the filling position specified by the protocol or the padding information sent by the sending device.
  • the data receiving device provided in this embodiment is used to implement the technical solution of the receiving device in any of the foregoing method embodiments, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of an embodiment of a sending device provided by the present application. As shown in FIG. 7, the sending device 30 includes:
  • the processor 31 is configured to obtain, according to the flow shown in FIG. 2 and various methods in the foregoing embodiments, code rate information of the LDPC code, a maximum information bit length at a code rate of the LDPC code, and a coding block partition (ie, whether Dividing into a plurality of coding blocks) information, filling the number and position of fixed bits, performing a padding fixed bit operation, and after filling the fixed bits, performing LDPC coding on each coding block to obtain an LDPC coded data bit sequence;
  • the transmitter 32 is configured to send the data bit sequence.
  • the memory 33 is configured to store an execution instruction.
  • the processor 31 is operative to execute execution instructions for memory storage.
  • the transmitting device is caused to perform data interaction between the communication device and the receiving device to perform the data sending method provided by the various embodiments.
  • the processor 31 is configured to include, but is not limited to, a filling manner of any one of the following fixed bits: 1) minimum bit size or block degree in all coding blocks The minimum position is filled with fixed bits; 2) the fixed bits are concentrated into one coding block of the plurality of coding blocks that is agreed upon by the receiving device, and padding is performed at a position where the bit degree is the smallest or the blockiness is the smallest; 3) is to be filled The fixed bits are evenly distributed into the respective coding blocks, and then the bit positions with low bit strength or sub-blocks with low sub-blockiness are selected for filling in each coding block; 4) selecting a part of coding blocks does not fill fixed bits but only in another Part of the coding block agreed by the receiving device is padded with a bit position with a low bit rate or a sub-block with a low sub-block degree; 5) filling all the coding blocks with the smallest bit or the sub-block with the lowest sub-block Fixed bits;
  • the processor 31 is further configured to:
  • the transport block is divided into at least two coded blocks.
  • the processor 31 is further configured to:
  • a maximum information bit length of the LDPC code is equal to a product of a code rate and a code length of the LDPC code.
  • the sender 32 is further configured to send the padding information of the fixed bit in a unicast or broadcast manner, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, and a fixed bit Number and location.
  • the data sending apparatus provided in this embodiment is used to implement the technical solution of the sending device in any of the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of an embodiment of a receiving device provided by the present application. As shown in FIG. 8, the receiving device 40 includes:
  • a receiver 41 configured to receive a data bit sequence sent by the sending device
  • the processor 42 is configured to perform LDPC decoding on each data bit sequence to obtain a coded block corresponding to each data bit sequence;
  • the memory 43 is configured to store an execution instruction.
  • the processor 41 is operative to execute execution instructions for memory storage.
  • the receiving device is configured to perform data receiving by the various embodiments described above by performing data interaction between the receiving device and the transmitting device.
  • the processor 42 is also operative to remove fixed bits from coded blocks that are filled with fixed bits.
  • the processor 42 before the processor 42 removes fixed bits from the coded block filled with fixed bits, the processor 42 is further configured to:
  • the coded block that has been coded is determined to be a coded block filled with fixed bits, the number and location of fixed bits.
  • the processor 42 is configured to determine, according to a predetermined rule, a coded block filled with fixed bits
  • the receiver 41 is further configured to receive the padding information of the fixed bit sent by the sending device; the padding information is used to indicate at least one of the following information: a code filled with fixed bits The number and location of blocks, fixed bits;
  • the processor 42 is further configured to determine, according to the fixed information, a coded block that is filled with fixed bits.
  • the present application further provides a readable storage medium, where the readable storage medium stores execution instructions, and when the at least one processor of the transmitting device executes the execution instruction, the sending device executes the data sending method provided by the various embodiments described above. .
  • the present application further provides a readable storage medium, where the readable storage medium stores execution instructions, and when the at least one processor of the receiving device executes the execution instruction, the receiving device performs the data receiving method provided by the various embodiments described above. .
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the transmitting device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the transmitting device implements the method of transmitting data provided by the various embodiments described above.
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the receiving device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the receiving device implements the method of receiving data provided by the various embodiments described above.
  • the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or may be other general-purpose processors, digital signal processors (English: Digital) Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the present application may be directly embodied by hardware processor execution or by a combination of hardware and software modules in a processor.
  • All or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions.
  • the aforementioned program can be stored in a readable memory.
  • the steps including the foregoing method embodiments are performed; and the foregoing memory (storage medium) includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, Solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

Abstract

Disclosed is a method for inserting a fixed bit during encoding of an LDPC code. The method comprises: a sending device divides a transmission block to be sent into at least one code block; insert a fixed bit at a bit position with the lowest bitness or a sub-block with the lowest blockness in at least one of the code block, and perform LDPC encoding on each code block to obtain a plurality of data bit sequences; the sending device sends the data bit sequences; a receiving device decodes after receiving the data bit sequences, and removes the fixed bit from the code block where the fixed bit is inserted. By means of the method, fixed bits are inserted to positions with the lowest reliability, thereby effectively improving the reliability of LDPC encoding.

Description

一种编码的方法和通信装置Coding method and communication device 技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种编码的方法和通信装置。The present application relates to the field of wireless communication technologies, and in particular, to a coding method and a communication device.
背景技术Background technique
通信系统采用编码来确保通过有噪声通信信道的通信可靠性。在这些通信信道中,在某个信噪比(Signal-Noise Ratio,SNR)下每个码元的比特有相应的容量,对此可以定义一个理论上的上限(香农极限)。编码方案旨在获得接近此香农极限的速率,其中一种接近香农极限的码就是低密度奇偶校验码(Low-Density Parity-Check,LDPC)。The communication system employs coding to ensure communication reliability through the noisy communication channel. In these communication channels, the bits of each symbol have a corresponding capacity under a certain Signal-Noise Ratio (SNR), and a theoretical upper limit (Shannon limit) can be defined for this. The coding scheme aims to achieve a rate close to this Shannon limit, one of which is close to the Shannon limit is the Low-Density Parity-Check (LDPC).
LDPC是1962年提出的一类具有稀疏校验矩阵的线性分组码,即校验矩阵中只有数量很少的元素是“1”,大部分都是“0”。LDPC利用矩阵的稀疏性,使得译码复杂度只与码长成线性关系,在码长较长的情况下仍然可以有效的进行译码,并具有更简单的译码算法。经研究表明,LDPC具有逼近香农极限的编码性能。在3GPP(3rd Generation Partnership Project,第三代合作伙伴计划)RAN(Radio Access Network:无线接入网)1的86b次会议上,LDPC正式接收为5G(英文全称:5 th generation;中文全称:第五代)通信技术的信道编码方案之一。 LDPC is a class of linear block codes with sparse check matrices proposed in 1962. That is, only a small number of elements in the check matrix are "1", and most of them are "0". The LDPC utilizes the sparseness of the matrix, so that the decoding complexity is only linearly related to the code length, and can be effectively decoded in the case of a long code length, and has a simpler decoding algorithm. Studies have shown that LDPC has coding performance close to the Shannon limit. At the 86b meeting of the 3GPP (3rd Generation Partnership Project) RAN (Radio Access Network) 1, the LDPC officially received 5G (English full name: 5 th generation; Chinese full name: Five generations) One of the channel coding schemes for communication technology.
现有的LDPC校验矩阵构造的一种方法是基于一个m b×n b基矩阵的基矩阵H b,通过扩展因子z,扩展为m×n的LDPC校验矩阵H,即m=z×m b,n=z×n b,其中n为LDPC码的码长,m为LDPC码校验比特数,m b和n b分别是基矩阵的行数和列数,相应地LDPC码信息比特长度为k=n-m。例如基矩阵H b
Figure PCTCN2018072904-appb-000001
即H b为2×3矩阵,以扩展因子2进行扩展,其中H b中的元素“1”用2×2的单位阵右旋转一位得到的矩阵代替,元素“0”用2×2的单位阵代替,元素“-1”用2×2的0矩阵代替,即扩展后的4×6的LDPC校验矩阵为:
One method of constructing an existing LDPC check matrix is based on a base matrix H b of a m b ×n b basis matrix, and is extended to an m×n LDPC check matrix H by a spreading factor z, that is, m=z× m b , n=z×n b , where n is the code length of the LDPC code, m is the number of parity bits of the LDPC code, and m b and n b are the number of rows and columns of the base matrix, respectively, and correspondingly the LDPC code information bits The length is k=nm. For example, the base matrix H b is
Figure PCTCN2018072904-appb-000001
That is, H b is a 2 × 3 matrix, and is expanded by a spreading factor of 2, wherein the element "1" in H b is replaced by a matrix obtained by rotating a 2 × 2 unit array by one bit right, and the element "0" is 2 × 2 Substituting the unit matrix, the element "-1" is replaced by a 2x2 0 matrix, that is, the extended 4x6 LDPC check matrix is:
Figure PCTCN2018072904-appb-000002
Figure PCTCN2018072904-appb-000002
一般地,一个传输块经过LDPC编码模块后,得到LDPC编码后的码字。由于LDPC码校验矩阵的码长一般是有限长度的,信息比特长度也是有限长度的,而传输块的长度与LDPC的信息比特长度不匹配。在某些情况下,传输块分成多个编码块后,编码块的长度也可能与LDPC的信息比特长度不匹配,这就需要进行比特填充,即需要将一些已知的固定比特填充到编码块中,使得填充后的编码块长度与LDPC的信息比特长度相匹配。Generally, after a transport block passes through the LDPC encoding module, an LDPC encoded codeword is obtained. Since the code length of the LDPC code check matrix is generally finite length, the information bit length is also finite length, and the length of the transport block does not match the information bit length of the LDPC. In some cases, after the transport block is divided into multiple coded blocks, the length of the coded block may also not match the information bit length of the LDPC, which requires bit stuffing, that is, some known fixed bits need to be filled into the coded block. The padding code block length is matched with the information bit length of the LDPC.
当前的比特填充方法都统一规定了填充比特的位置,填充位置要么是在编码块的头部,要么是在编码块的尾部,这样的统一处理极有可能将填充比特放到了比特度较高或者块度较高的比特位置,而将信息比特放在了比特度较低或者块度较低的位置,没有充分结合LDPC码的特点。有鉴于此,需要找到更为合理的比特填充方法发挥LDPC码的优势。The current bit stuffing method uniformly specifies the position of the padding bits. The padding position is either at the head of the coding block or at the end of the coding block. Such a unified processing is very likely to put the padding bits at a higher bit or The block position is higher, and the information bits are placed at a lower bit or lower block position, and the LDPC code is not fully integrated. In view of this, it is necessary to find a more reasonable bit filling method to take advantage of the LDPC code.
发明内容Summary of the invention
本申请描述了一种数据发送及接收方法、装置及系统。The present application describes a data transmitting and receiving method, apparatus and system.
本申请实施例的第一方面,提供了一种数据发送方法,在获取到信息比特的传输块后,发送设备将待发送的传输块分为一个或者至少两个编码块;所述发送设备在所述一个或者至少两个编码块中比特度最小或者块度最小的位置填充固定比特,对填充了所述固定比特后的编码块进行低密度奇偶校验LDPC编码,得到LDPC编码后的数据比特序列;所述发送设备发送所述数据比特序列。通过这种方式,将固定比特填充到可靠度低的位置,避免了将信息比特放到可靠度低的位置,可以有效地提升LDPC的编码性能,重复发挥LDPC码的优势。A first aspect of the embodiments of the present application provides a data sending method. After acquiring a transport block of information bits, the transmitting device divides the transport block to be sent into one or at least two coding blocks; The bit with the smallest bit size or the smallest block size in the one or at least two coding blocks is filled with fixed bits, and the low-density parity check LDPC coding is performed on the coded block filled with the fixed bits to obtain LDPC-encoded data bits. a sequence; the transmitting device transmits the sequence of data bits. In this way, the fixed bits are padded to a position with low reliability, and the information bits are prevented from being placed at a position with low reliability, the coding performance of the LDPC can be effectively improved, and the advantages of the LDPC code are repeatedly played.
在一种可能的设计中,所述发送设备在所述一个或者至少两个编码块中比特度最小或者块度最小的位置填充所述固定比特,可选地,若待发送的传输块分为至少两个编码块,则包 括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与接收设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the transmitting device fills the fixed bit in a position with the smallest bit or the smallest block in the one or at least two coding blocks, optionally, if the transmission block to be transmitted is divided into At least two coding blocks include, but are not limited to, a filling manner of any one of the following fixed bits: 1) filling a fixed bit with a minimum bit size or a minimum block size in all coding blocks; 2) concentrating fixed bits into multiple In a coding block of the coding block that is agreed with the receiving device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit strength or a sub-block with a low sub-block degree is selected for filling; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position with a low bit degree in the coding block agreed by the other part and the receiving device Or sub-blocks with low sub-blockiness are padded; 5) all fixed bits are filled in the coding block where the bit with the least bit or the sub-block with the lowest sub-block is located; 6) The fixed bits are concentrated into the first coding block of the plurality of coding blocks, and padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 7) the fixed bits are concentrated into the last coding block among the plurality of coding blocks Filling is performed at a position where the bit size is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度,其中块度值最小的子块为可靠性最低的子块,每个子块中的每个比特的块度相同。In a possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
在一种可能的设计中,每个子块的块度根据所述LDPC码的基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In a possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix. .
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述发送设备将待发送的传输块分为一个或者至少两个编码块,包括:In a possible design, the sending device divides the transport block to be sent into one or at least two coding blocks, including:
所述发送设备获取用于编码所述传输块的LDPC码的最大信息比特长度;The transmitting device acquires a maximum information bit length of an LDPC code used to encode the transport block;
所述发送设备判断所述传输块的长度是否大于所述最大信息比特长度;The sending device determines whether the length of the transport block is greater than the maximum information bit length;
若所述传输块的长度大于所述最大信息比特长度,则将所述传输块分为至少两个编码块,否则所述传输块分为一个编码块。If the length of the transport block is greater than the maximum information bit length, the transport block is divided into at least two coded blocks, otherwise the transport block is divided into one coded block.
在一种可能的设计中,所述方法还包括:In one possible design, the method further includes:
所述发送设备根据预先规定的规则确定所述一个或者至少两个编码块中填充固定比特的编码块;Determining, by the sending device, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
或者,or,
所述发送设备发送填充信息,所述填充信息用于指示填充了所述固定比特的编码块。The transmitting device sends padding information, where the padding information is used to indicate a coding block that is filled with the fixed bits.
在一种可能的设计中,所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令发送。In one possible design, the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述固定比特为0或空。In one possible design, the fixed bit is 0 or empty.
在一种可能的设计中,所述发送设备在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充所述固定比特之前,所述发送设备确定所述固定比特的数目。In a possible design, the transmitting device determines, before the fixed bit is filled in a bit with the smallest bit or the smallest block in the at least one of the one or at least two coding blocks, the sending device determines The number of fixed bits.
本申请实施例的第二方面,提供了一种数据的接收方法,其特征在于,包括:A second aspect of the embodiments of the present application provides a data receiving method, including:
接收设备接收发送设备发送的至少一个数据比特序列;Receiving, by the receiving device, at least one data bit sequence sent by the sending device;
所述接收设备对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块,所述至少一个数据比特序列对应一个或者至少两个编码块;The receiving device performs LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除固定比特。The receiving device removes fixed bits from the coded block in which the fixed bits are filled in the one or at least two coding blocks.
在一种可能的设计中,所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除固定比特之前,所述方法还包括:In a possible design, before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
所述接收设备确定所述一个或者至少两个编码块中填充了固定比特的编码块。The receiving device determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,还包括:In one possible design, it also includes:
所述接收设备根据预先规定的规则确定所述一个或者至少两个编码块中填充了固定比特的编码块;Determining, by the receiving device, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
或者,or,
所述接收设备接收所述发送设备发送的填充信息;所述填充信息用于指示填充了所述固定比特的编码块;Receiving, by the receiving device, padding information sent by the sending device, where the padding information is used to indicate a coding block that is filled with the fixed bit;
所述接收设备根据所述填充信息确定所述一个或者至少两个编码块中填充了固定比特的编码块。The receiving device determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令发送。The padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述接收设备从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特,可选地,若所述一个或者至少两个编码块数目大于等于2,则包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与所述发送设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与所述发送设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the receiving device removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit length or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and selecting only a low bit degree in the coding block agreed by the other part and the transmitting device Sub-blocks with low bit positions or low sub-blocks are padded; 5) padding all fixed ratios in the code block in which the bit with the least bit or the sub-block with the lowest sub-block is located ; 6) concentrating fixed bits into the first coding block of the plurality of coding blocks, filling at the position where the bit degree is the smallest or the smallest block degree; 7) concentrating the fixed bits to the last of the plurality of coding blocks In a coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。In one possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block-degree value is the least reliable sub-block.
在一种可能的设计中,每个子块的块度根据所述基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In one possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除所述固定比特之前,所述方法还包括:In a possible design, before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
所述接收设备确定所述固定比特的数目。The receiving device determines the number of the fixed bits.
本申请实施例的第三方面,提供了一种数据发送装置,包括:A third aspect of the embodiments of the present application provides a data sending apparatus, including:
处理模块,用于将待发送的传输块分为一个或者至少两个编码块;所述处理模块在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特,对填充了所述固定比特后的编码块进行低密度奇偶校验LDPC编码,得到LDPC编码后的数据比特序列;a processing module, configured to divide the transport block to be transmitted into one or at least two coding blocks; the processing module has a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks Position filling a fixed bit, performing low-density parity check LDPC encoding on the coded block filled with the fixed bit, to obtain an LDPC-encoded data bit sequence;
发送模块,用于发送所述数据比特序列。And a sending module, configured to send the data bit sequence.
在一种可能的设计中,所述处理模块在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特,可选地,若待发送的传输块分为至少两个编码块,则包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与接收设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the processing module fills a fixed bit in a position with a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks, optionally, if to be sent The transport block is divided into at least two coding blocks, including but not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bits with the smallest bit or the smallest block in all the coding blocks; 2) fixing the bits Concentrating into one coding block of a plurality of coding blocks that is agreed by the receiving device, filling at a position where the bit degree is the smallest or the smallest block degree; 3) equally distributing the fixed bits to be filled into the respective coding blocks, and then In each coding block, a bit position with a low bit strength or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and only selects the bit degree in the coding block agreed by the other part and the receiving device. Sub-blocks with low bit positions or low sub-blockiness are padded; 5) fill all blocks in the code block with the smallest bit or the sub-block with the lowest sub-block Fixed bit; 6) concentrating fixed bits into the first coding block of the plurality of coding blocks, filling at a position where the bit degree is the smallest or the smallest block degree; 7) concentrating the fixed bits into a plurality of coding blocks In the last coding block, padding is performed at a position where the bit size is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度,其中块度值最小的子块为可靠性最低的子块,每个子块中的每个比特的块度相同。In a possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
在一种可能的设计中,每个子块的块度根据所述LDPC码的基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In a possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix. .
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述装置还包括:In one possible design, the device further includes:
获取模块,用于获取用于编码所述传输块的LDPC码的最大信息比特长度;An obtaining module, configured to obtain a maximum information bit length of an LDPC code used to encode the transport block;
所述处理模块判断所述传输块的长度是否大于所述最大信息比特长度;The processing module determines whether the length of the transport block is greater than the maximum information bit length;
若所述传输块的长度大于所述最大信息比特长度,则所述处理模块将所述传输块分为至少两个编码块,否则所述处理模块将所述传输块分为一个编码块。If the length of the transport block is greater than the maximum information bit length, the processing module divides the transport block into at least two coded blocks, otherwise the processing module divides the transport block into one coded block.
在一种可能的设计中,所述装置还包括:In one possible design, the device further includes:
所述处理模块根据预先规定的规则确定所述一个或者至少两个编码块中填充固定比特的编码块;The processing module determines, according to a predetermined rule, a coded block filled with fixed bits in the one or at least two coding blocks;
或者,or,
所述处理模块发送填充信息,所述填充信息用于指示填充了所述固定比特的编码块。The processing module sends padding information for indicating a coded block that is filled with the fixed bits.
在一种可能的设计中,所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令由所述发送模块发送。In a possible design, the padding information is sent by the sending module by using unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述固定比特为0或Null。In one possible design, the fixed bit is 0 or Null.
在一种可能的设计中,所述处理模块确定所述固定比特的数目。In one possible design, the processing module determines the number of fixed bits.
本申请实施例的第四方面,提供了一种数据接收装置,包括:A fourth aspect of the embodiments of the present application provides a data receiving apparatus, including:
接收模块,用于接收发送设备发送的至少一个数据比特序列;a receiving module, configured to receive at least one data bit sequence sent by the sending device;
处理模块,用于对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块,所述至少一个数据比特序列对应一个或者至少两个编码块;a processing module, configured to perform LDPC decoding on each data bit sequence, to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
所述处理模块还用于从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特。The processing module is further configured to remove fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,所述处理模块还用于从所述一个或者至少两个编码块中填充了固 定比特的编码块中去除固定比特之前,还包括:In a possible design, the processing module is further configured to: before removing the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
所述处理模块确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processing module determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,所述处理模块确定所述一个或者至少两个编码块中填充了固定比特的编码块,包括:In a possible design, the processing module determines the coded block that is filled with fixed bits in the one or at least two coding blocks, including:
所述处理模块根据预先规定的规则确定所述一个或者至少两个编码块中填充了固定比特的编码块;The processing module determines, according to a predetermined rule, a coded block that is filled with fixed bits in the one or at least two coding blocks;
或者,or,
所述接收模块还用于接收所述发送设备发送的填充信息;所述填充信息用于指示填充了所述固定比特的编码块;The receiving module is further configured to receive the padding information sent by the sending device, where the padding information is used to indicate a coded block that is filled with the fixed bit;
所述处理模块根据所述填充信息确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processing module determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令发送。In one possible design, the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述处理模块从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特,可选地,若所述一个或者至少两个编码块数目大于等于2,则包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与所述发送设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与所述发送设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the processing module removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding In the block, a bit position with a low bit length or a sub-block with a low sub-block degree is selected for padding; 4) selecting a part of the coding block does not fill the fixed bit and selecting only a low bit degree in the coding block agreed by the other part and the transmitting device Sub-blocks with low bit positions or low sub-blocks are padded; 5) padding all fixed ratios in the code block in which the bit with the least bit or the sub-block with the lowest sub-block is located ; 6) concentrating fixed bits into the first coding block of the plurality of coding blocks, filling at the position where the bit degree is the smallest or the smallest block degree; 7) concentrating the fixed bits to the last of the plurality of coding blocks In a coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。In a possible design, in one possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is the least reliable Subblock.
在一种可能的设计中,每个子块的块度根据所述基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In one possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除所述固定比特之前,所述装置还包括:In a possible design, before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the apparatus further includes:
所述处理模块确定所述固定比特的数目。The processing module determines the number of fixed bits.
本申请实施例的第五方面,提供了一种数据发送设备,包括:A fifth aspect of the embodiments of the present application provides a data sending device, including:
处理器,用于将待发送的传输块分为一个或者至少两个编码块;所述处理器在所述一个或者至少两个编码块中比特度最小或者块度最小的位置填充固定比特,对填充了所述固定比特后的编码块进行低密度奇偶校验LDPC编码,得到LDPC编码后的数据比特序列;a processor, configured to divide a transport block to be transmitted into one or at least two coded blocks; the processor fills a fixed bit in a position with a minimum bit size or a minimum block size in the one or at least two code blocks, Encapsulating the fixed bit to perform low-density parity check LDPC encoding to obtain an LDPC-encoded data bit sequence;
发送器,用于发送所述数据比特序列。a transmitter for transmitting the sequence of data bits.
在一种可能的设计中,所述处理器在所述一个或者至少两个编码块中比特度最小或者块度最小的位置填充固定比特,可选地,若待发送的传输块分为至少两个编码块,则包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与接收设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the processor fills a fixed bit in a position with a minimum bit size or a minimum block size in the one or at least two coding blocks, optionally, if the transmission block to be transmitted is divided into at least two The coding blocks include, but are not limited to, the following filling manners of any fixed bits: 1) filling the fixed bits with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block that is agreed with the receiving device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding block Selecting a bit position with a low bit length or a sub-block with a low sub-blockiness for padding; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position or a sub-bit with a low bit length in another coding block agreed by the receiving device Sub-blocks with low blockiness are padded; 5) all fixed bits are filled in the coding block where the bit with the smallest bit or the sub-block with the lowest sub-block is located; 6) the fixed ratio Concentrating into the first coding block of the plurality of coding blocks, filling at a position where the bit degree is the smallest or the smallest block degree; 7) concentrating the fixed bits into the last coding block of the plurality of coding blocks, in The padding is performed at a position with the smallest bit size or the smallest block size; 8) padding is performed by a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度,其中块度值最小的子块为可靠性最低的子块,每个子块中的每个比特的块度相同。In a possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block, and each sub-block The block size of each bit is the same.
在一种可能的设计中,每个子块的块度根据所述LDPC码的基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In a possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or the block degree of each sub-block is calculated according to the column weight of each column of the check matrix. .
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述设备还包括:In a possible design, the device further includes:
获取模块,用于获取用于编码所述传输块的LDPC码的最大信息比特长度;An obtaining module, configured to obtain a maximum information bit length of an LDPC code used to encode the transport block;
所述处理器判断所述传输块的长度是否大于所述最大信息比特长度;Determining, by the processor, whether a length of the transport block is greater than a maximum information bit length;
若所述传输块的长度大于所述最大信息比特长度,则所述处理器将所述传输块分为至少两个编码块,否则所述处理器将所述传输块分为一个编码块。If the length of the transport block is greater than the maximum information bit length, the processor divides the transport block into at least two coded blocks, otherwise the processor divides the transport block into one coded block.
在一种可能的设计中,所述设备还包括:In a possible design, the device further includes:
所述处理器根据预先规定的规则确定所述一个或者至少两个编码块中填充固定比特的编码块;Determining, by the processor, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
或者,or,
所述处理器发送填充信息,所述填充信息用于指示填充了所述固定比特的编码块。The processor sends padding information for indicating a coded block that is filled with the fixed bits.
在一种可能的设计中,所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令由所述发送器发送。In one possible design, the padding information is transmitted by the transmitter by broadcast or unicast signaling such as RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述固定比特为0或空。In one possible design, the fixed bit is 0 or empty.
在一种可能的设计中,所述处理器确定所述固定比特的数目。In one possible design, the processor determines the number of fixed bits.
在一种可能的设计中,所述设备还包括存储器,用于存储执行指令;所述处理器用来执行存储器存储的执行指令,使得发送设备通过通信接口与接收设备之间进行数据交互来执行上述各种实施方式提供的数据的发送方法。In a possible design, the device further includes a memory for storing execution instructions; the processor is configured to execute execution instructions of the memory storage, such that the transmitting device performs data interaction with the receiving device through the communication interface to perform the above A method of transmitting data provided by various embodiments.
本申请实施例的第六方面,提供了一种数据接收设备,包括:A sixth aspect of the embodiments of the present application provides a data receiving device, including:
接收器,用于接收发送设备发送的至少一个数据比特序列;a receiver, configured to receive at least one data bit sequence sent by the sending device;
处理器,用于对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块,所述至少一个数据比特序列对应一个或者至少两个编码块;a processor, configured to perform LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
所述处理器还用于从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特。The processor is further configured to remove fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,所述处理器还用于从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特之前,还包括:In a possible design, the processor is further configured to: before removing the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further includes:
所述处理器确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processor determines a coded block that is filled with fixed bits in the one or at least two coded blocks.
在一种可能的设计中,所述处理器确定所述一个或者至少两个编码块中填充了固定比特的编码块,包括:In a possible design, the processor determines, in the one or at least two coding blocks, a coding block that is filled with fixed bits, including:
所述处理器根据预先规定的规则确定所述一个或者至少两个编码块中填充了固定比特的编码块;Determining, by the processor, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
或者,or,
所述接收器还用于接收所述发送设备发送的填充信息;所述填充信息用于指示填充了所述固定比特的编码块;The receiver is further configured to receive padding information sent by the sending device, where the padding information is used to indicate a coded block that is filled with the fixed bit;
所述处理器根据所述填充信息确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processor determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
在一种可能的设计中,所述填充信息通过广播或者RRC信令、PDCCH信令等单播信令发送。In one possible design, the padding information is sent by unicast signaling such as broadcast or RRC signaling, PDCCH signaling, or the like.
在一种可能的设计中,所述处理器从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特,可选地,若所述一个或者至少两个编码块数目大于等于2,则包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与发送设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与发送设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In a possible design, the processor removes fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks, optionally if the number of the one or at least two coding blocks If it is greater than or equal to 2, it includes but is not limited to the filling manner of any one of the following fixed bits: 1) filling the fixed bit with the smallest bit or the smallest block in all coding blocks; 2) concentrating the fixed bits into multiple coding blocks In a coding block agreed with the transmitting device, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then in each coding block Selecting a bit position with a low bit strength or a sub-block with a low sub-blockiness for padding; 4) selecting a part of the coding block to fill a fixed bit and selecting only a bit position or a sub-bit with a low bit length in another coding block agreed by the transmitting device Sub-blocks with low blockiness are padded; 5) all fixed bits are filled in the coding block where the bit with the least bit or the sub-block with the lowest sub-block is located; 6) will be fixed Bits are concentrated into a first one of the plurality of coded blocks, padded at a position where the bit degree is the smallest or the blockiness is the smallest; 7) the fixed bits are grouped into the last code block of the plurality of coded blocks, The padding is performed at a position where the bit size is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
在一种可能的设计中,在一种可能的设计中,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。In a possible design, in one possible design, each of the coding blocks includes a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is the least reliable Subblock.
在一种可能的设计中,每个子块的块度根据所述基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。In one possible design, the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is calculated according to the column weight of each column of the check matrix.
在一种可能的设计中,在不同子块间所述固定比特均匀分布。In one possible design, the fixed bits are evenly distributed between different sub-blocks.
在一种可能的设计中,所述固定比特依次填充到块度值最小的同一子块中。In one possible design, the fixed bits are sequentially padded into the same sub-block with the smallest blockiness value.
在一种可能的设计中,所述固定比特依次填充到块度值最小的不同子块中。In one possible design, the fixed bits are sequentially padded into different sub-blocks with the smallest blockiness value.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序填充到块度值最小的子块中。In one possible design, the fixed bits are padded into sub-blocks with the smallest blockiness value in order from left to right or right to left.
在一种可能的设计中,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。In one possible design, the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
在一种可能的设计中,所述固定比特按照从左至右的顺序或者从右至左的顺序在比特度最小的位置填充。In one possible design, the fixed bits are filled at the position with the smallest bit length in order from left to right or from right to left.
在一种可能的设计中,所述处理器从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除所述固定比特之前,所述设备还包括:In a possible design, before the processor removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the device further includes:
所述处理器确定所述固定比特的数目。The processor determines the number of fixed bits.
在一种可能的设计中,所述设备还包括存储器,用于存储执行指令;所述处理器用来执行存储器存储的执行指令,使得接收设备通过通信接口与发送设备之间进行数据交互来执行上 述各种实施方式提供的数据的接收方法。In a possible design, the device further includes a memory for storing execution instructions; the processor is configured to execute execution instructions of the memory storage, such that the receiving device performs data interaction with the transmitting device through the communication interface to perform the above A method of receiving data provided by various embodiments.
本申请第七方面提供一种可读存储介质,可读存储介质中存储有执行指令,当发送设备的至少一个处理器执行该执行指令时,发送设备执行上述第一方面或者第一方面的各种实施方式提供的数据的发送方法。A seventh aspect of the present application provides a readable storage medium, where an execution instruction is stored, and when at least one processor of a transmitting device executes the execution instruction, the sending device performs the first aspect or the first aspect. A method of transmitting data provided by an embodiment.
本申请第八方面提供一种可读存储介质,可读存储介质中存储有执行指令,当接收设备的至少一个处理器执行该执行指令时,接收设备执行上述第二方面或者第二方面的各种实施方式提供的数据的接收方法。An eighth aspect of the present application provides a readable storage medium, where an execution instruction is stored, and when at least one processor of a receiving device executes the execution instruction, the receiving device performs the second aspect or the second aspect. A method of receiving data provided by an embodiment.
本申请第九方面提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。发送设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得发送设备实施第一方面或者第一方面的各种实施方式提供的数据的发送方法。A ninth aspect of the present application provides a program product, the program product comprising an execution instruction stored in a readable storage medium. The at least one processor of the transmitting device can read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction such that the transmitting device implements the method of transmitting the data provided by the first aspect or the various embodiments of the first aspect.
本申请第十方面提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。接收设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得接收设备实施上述第二方面或者第二方面的各种实施方式提供的数据的接收方法。A tenth aspect of the present application provides a program product, the program product comprising an execution instruction stored in a readable storage medium. At least one processor of the receiving device may read the execution instruction from a readable storage medium, and the at least one processor executes the execution instruction such that the receiving device implements the data receiving method provided by the second aspect or the various embodiments of the second aspect .
本申请实施例中的发送设备既可以是网络设备,也可以是终端,相应地,接收设备也既可以是终端,也可以是网络设备。The sending device in the embodiment of the present application may be a network device or a terminal. Correspondingly, the receiving device may also be a terminal or a network device.
本申请提供的数据的发送方法、接收方法、装置和设备,发送设备将待发送的传输块分成至少1个编码块,并在其中一个或者至少两个编码块中比特度最低的比特位置或块度最低的子块填充固定比特,并将每个编码块进行LDPC编码得到多个数据比特序列,发送设备发送这些数据比特序列,接收设备在接收到该些数据比特序列后进行译码,并从填充了固定比特的编码块中去除固定比特。通过这种方法,将固定比特填充到可靠度最低的位置,有效提升了LDPC编码的可靠性。The method for transmitting data, the receiving method, the device and the device provided by the application, the transmitting device divides the transport block to be transmitted into at least one coding block, and the bit position or block with the lowest bit degree among one or at least two coding blocks The lowest sub-block is filled with fixed bits, and each coding block is LDPC-encoded to obtain a plurality of data bit sequences, and the transmitting device transmits the data bit sequences, and the receiving device decodes the data bit sequences after receiving the data bit sequences. The fixed bits are removed from the coded block filled with fixed bits. In this way, the fixed bits are filled to the position with the lowest reliability, which effectively improves the reliability of the LDPC encoding.
附图说明DRAWINGS
为了更清楚地说明本申请实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, which are common in the art. For the skilled person, other drawings can be obtained from these drawings without paying for creative labor.
图1为本申请实施例提供的一种通信系统的一个示意图;1 is a schematic diagram of a communication system according to an embodiment of the present application;
图2为本申请提供的数据的发送方法的流程示意图;2 is a schematic flowchart of a method for transmitting data provided by the present application;
图3a为本申请提供的数据的固定比特填充在第一个编码块的示意图;FIG. 3a is a schematic diagram of filling a fixed bit of data provided in the first coding block in the present application; FIG.
图3b为本申请提供的数据的固定比特填充在最后一个编码块的示意图;FIG. 3b is a schematic diagram of filling a fixed bit of data provided in the present application in a last coding block;
图3c为本申请提供的数据的固定比特填充在所有编码块的示意图;Figure 3c is a schematic diagram of the fixed bits of data provided in the present application filled in all coding blocks;
图4为本申请提供的数据的接收方法的流程示意图;4 is a schematic flowchart of a method for receiving data provided by the present application;
图5为本申请提供的数据的发送装置的结构示意图示例;FIG. 5 is a schematic structural diagram of an apparatus for transmitting data provided by the present application; FIG.
图6为本申请提供的数据的接收装置的的结构示意图;6 is a schematic structural diagram of a data receiving apparatus provided by the present application;
图7为本申请提供的发送设备实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of a sending device provided by the present application;
图8为本申请提供的接收设备实施例的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of a receiving device provided by the present application.
具体实施方式detailed description
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
在对待传输的信息比特序列进行LDPC编码时,首先需要为无线通信设备构造一个LDPC校验矩阵。一个示例性的LDPC码的校验矩阵如下:When performing LDPC encoding on the information bit sequence to be transmitted, it is first necessary to construct an LDPC check matrix for the wireless communication device. The check matrix of an exemplary LDPC code is as follows:
Figure PCTCN2018072904-appb-000003
Figure PCTCN2018072904-appb-000003
由于在无线通信系统中,根据传输需求的不同可能会为无线通信设备分配不同大小的无线资源块(resource block,RB),而在不同大小的RB下,无线通信设备所能支持的LDPC的码长也各不相同。In the wireless communication system, different sizes of radio resource blocks (RBs) may be allocated to the wireless communication device according to different transmission requirements, and the LDPC codes that the wireless communication device can support under different RBs. The length is also different.
为使无线通信设备能够兼容不同码长的LDPC,可以预先生成一个m b×n b的基矩阵H b,然后预先设置于各个LDPC的码长相对应的扩展因子z,在LDPC的码长确定之后,数据传输设备首先获取与所述码长对应的扩展因子,然后使用所述扩展因子所述基矩阵进行展开,从而得到与所述码长对应的校验矩阵H,H为m×n的矩阵。采用该方式,可以在LDPC的码长不同时,在基矩阵的基础上得到不同的校验矩阵,从而使得无线通信设备能够支持不同码长的LDPC。 In order to enable the wireless communication device to be compatible with LDPCs of different code lengths, a base matrix H b of m b ×n b may be generated in advance, and then the spreading factor z corresponding to the code length of each LDPC is preset, after the code length of the LDPC is determined. The data transmission device first obtains a spreading factor corresponding to the code length, and then performs expansion using the base matrix of the spreading factor, thereby obtaining a parity check matrix H corresponding to the code length, and H is a matrix of m×n . In this manner, different check matrices can be obtained on the basis of the base matrix when the code lengths of the LDPCs are different, so that the wireless communication device can support LDPCs of different code lengths.
例如基矩阵H b
Figure PCTCN2018072904-appb-000004
即m b=2,n b=3,H b为2×3的基矩阵,以扩展因子z=2对基矩阵H b进行扩展,其中H b中的元素“1”用2×2的单位阵右旋转一位得到的矩阵代替,元素“0”用2×2的单位阵代替,元素“-1”用2×2的0矩阵代替,即扩展后的H=m×n=(z×m b)×(z×n b)=(2×2)×(2×3)=4×6的LDPC校验矩阵为:
For example, the base matrix H b is
Figure PCTCN2018072904-appb-000004
That is, m b = 2, n b = 3, H b is a 2 × 3 base matrix, and the base matrix H b is expanded by a spreading factor z = 2, where the element "1" in H b is in units of 2 × 2 Instead of the matrix obtained by rotating one bit right, the element "0" is replaced by a 2 × 2 unit matrix, and the element "-1" is replaced by a 2 × 2 0 matrix, that is, the expanded H = m × n = (z × m b ) × (z × n b ) = (2 × 2) × (2 × 3) = 4 × 6 LDPC check matrix is:
Figure PCTCN2018072904-appb-000005
Figure PCTCN2018072904-appb-000005
在对待传输的信息比特序列进行LDPC编码后,再经过后续星座调制、资源映射等步骤后即可向接收设备发送。After the LDPC encoding is performed on the information bit sequence to be transmitted, it can be sent to the receiving device after subsequent steps such as constellation modulation and resource mapping.
为了解决现有技术中经过上述LDPC编码中固定比特的填充方式过于单一的问题,即统一将填充比特放在信息比特后面,没有结合LDPC码本身的特性的问题,本申请实施例基于图1所示的通信系统中根据编码块中的每个比特的块度或者比特度提出了一种解决方案,用以提高LDPC码的传输效率。In order to solve the problem that the filling manner of the fixed bits in the LDPC encoding is too singular in the prior art, that is, the padding bits are uniformly placed after the information bits, and the characteristics of the LDPC code itself are not combined, the embodiment of the present application is based on FIG. In the illustrated communication system, a solution is proposed according to the blockiness or bit degree of each bit in the coding block to improve the transmission efficiency of the LDPC code.
本申请的技术方案可应用于Wifi、2G、3G、4G、5G等各种通信系统中。图1为本申请实施例提供的数据的发送方法或接收方法的一种系统架构示意图,如图1所示,该系统架构中包括网络设备以及终端,类似地,在Wifi系统中,该网络设备即为Wifi的接入点,该终端为Wifi终端等。该方案中网络设备和终端的数量不做限制。网络设备向终端传输下行数据,其中数 据采用LDPC编码,LDPC编码后的数据经过调制等操作后传输给终端;终端向基站传输上行数据,上行数据也可以采用LDPC编码,LDPC编码后的数据经过调制后传输给基站。在上行数据或者下行数据的传输过程中,均可采用后续提供的方法。The technical solution of the present application can be applied to various communication systems such as Wifi, 2G, 3G, 4G, and 5G. FIG. 1 is a schematic structural diagram of a system for transmitting or receiving data according to an embodiment of the present disclosure. As shown in FIG. 1 , the system architecture includes a network device and a terminal. Similarly, in a Wifi system, the network device is used. That is, the Wifi access point, the terminal is a Wifi terminal or the like. The number of network devices and terminals in this solution is not limited. The network device transmits downlink data to the terminal, where the data is LDPC coded, and the LDPC coded data is transmitted to the terminal after being modulated and the like; the terminal transmits uplink data to the base station, and the uplink data may also be LDPC coded, and the LDPC coded data is modulated. After transmission to the base station. In the process of transmitting uplink data or downlink data, a subsequently provided method can be adopted.
上述架构中,网络设备为网络侧的基站或者其他能够提供基站功能的设备,为终端设备提供通信服务;例如,网络设备可以是无线接入网(Radio Access Network,RAN)设备,还可以是全球移动通讯(Global System for Mobile communication,GSM)或码分多址(Code Division Multiple Access,CDMA)中的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)中的基站(NodeB,NB),还可以是长期演进(Long Term Evolution,LTE)中的演进型基站(Evolved Node B,eNB或eNodeB),或者中继站或接入点,或者5G网络中的基站等,在此并不限定。特别地,在D2D(英文名称:Device-to-Device;中文名称:设备对设备通信)通信中,网络设备还可以是承担基站功能的终端。终端为用户侧需要进行上下行数据交互的设备,例如:手机、用户设备、平板电脑等。In the above architecture, the network device is a base station on the network side or another device capable of providing a base station function, and provides communication services for the terminal device; for example, the network device may be a Radio Access Network (RAN) device, or may be global. Base System (BTS) in Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA), or Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, A base station (NodeB, NB) in WCDMA) may also be an evolved base station (Evolved Node B, eNB or eNodeB) in Long Term Evolution (LTE), or a relay station or an access point, or a 5G network. The base station or the like is not limited herein. In particular, in D2D (English name: Device-to-Device; Chinese name: device-to-device communication) communication, the network device may also be a terminal that assumes the function of the base station. The terminal is a device that needs to perform uplink and downlink data interaction on the user side, for example, a mobile phone, a user device, a tablet computer, and the like.
为了便于描述,在此首先对本申请实施例中所涉及的概念及符号的含义进行说明:For the convenience of description, the meanings of the concepts and symbols involved in the embodiments of the present application are first described herein:
为进一步说明在本申请提供的通信系统中实现的数据发送方法,再对本申请实施例所涉及的LDPC基矩阵H b和LDPC校验矩阵H做一些阐述。 To further illustrate the data transmission method implemented in the communication system provided by the present application, the LDPC base matrix H b and the LDPC check matrix H involved in the embodiments of the present application are further described.
本实施例中的基矩阵H b,可以首先根据其行数m b及列数n b,然后再采用密度进化理论或渐进边生长(progressive edge growth,简称PEG)方法构造一个码率为
Figure PCTCN2018072904-appb-000006
的基矩阵。其中,其中行数m b及所述列数的取值可以根据无线通信的数据传输需求确定。基矩阵H b的生成方法或构造方法在此就不再赘述。
The base matrix H b in this embodiment may first construct a bit rate according to the number of rows m b and the number of columns n b , and then adopt density evolution theory or progressive edge growth (PEG) method.
Figure PCTCN2018072904-appb-000006
Base matrix. The value of the number of rows m b and the number of columns may be determined according to data transmission requirements of wireless communication. The generation method or construction method of the base matrix H b will not be described here.
LDPC校验矩阵H的构造基于一个基矩阵H b,用循环置换矩阵进行扩展得到,表示如下: The construction of the LDPC check matrix H is based on a base matrix H b and is extended by a cyclic permutation matrix, which is expressed as follows:
Figure PCTCN2018072904-appb-000007
Figure PCTCN2018072904-appb-000007
其中,P表示置换矩阵。Where P represents a permutation matrix.
对基矩阵H b进行扩展的时候,将其中所有值为-1的元素进行扩展后得到一个z×z大小的全0矩阵,其他非“-1”的元素进行扩展后得到一个z×z大小的置换矩阵,z为实际的扩展因子。所述的置换矩阵可以由一个单位矩阵根据相应的位移次数进行循环位移获得,位移次数与该元素的值相对应。可选的,可根据下述公式(1)对该元素值进行变换,得到位移次数。 When the base matrix H b is expanded, all the elements with a value of -1 are expanded to obtain an all-zero matrix of z × z size, and other elements other than "-1" are expanded to obtain a z × z size. The permutation matrix, z is the actual expansion factor. The permutation matrix may be obtained by cyclically shifting an identity matrix according to a corresponding number of displacements, and the number of displacements corresponds to the value of the element. Alternatively, the element value may be transformed according to the following formula (1) to obtain the number of displacements.
Figure PCTCN2018072904-appb-000008
Figure PCTCN2018072904-appb-000008
在公式(1)中,z 0为扩展因子的最大值,z f为实际的扩展因子,p(i,j)为基矩阵中第i行第j列的元素的值,
Figure PCTCN2018072904-appb-000009
表示向下取整,p(f,i,j)表示位移次数。
In formula (1), z 0 is the maximum value of the expansion factor, z f is the actual expansion factor, and p(i, j) is the value of the element of the i-th row and the j-th column in the base matrix.
Figure PCTCN2018072904-appb-000009
Indicates rounding down, p(f, i, j) indicates the number of shifts.
下面以如下基矩阵H b为例说明本申请提供的技术方案。 The following provides a technical solution provided by the present application by taking the following base matrix H b as an example.
Figure PCTCN2018072904-appb-000010
Figure PCTCN2018072904-appb-000010
上述基矩阵H b的行数m b=3,列数n b=6,即为3×6的矩阵。 The base matrix H b has the number of rows m b = 3 and the number of columns n b = 6, that is, a matrix of 3 × 6.
对该基矩阵H b进行扩展的时候,其中的元素“0”用单位矩阵置换,元素“-1”用全0矩阵置换,而非“0”和非“-1”的元素则根据单位矩阵进行循环置换。例如,第2行第2个元素为2, 假设实际的扩展因子z=3,那么则可以通过对单位矩阵向右或者向左循环位移2次,得到对应的置换矩阵。 When the base matrix H b is expanded, the element "0" is replaced by the unit matrix, the element "-1" is replaced by the all 0 matrix, and the elements other than "0" and non - "-1" are based on the identity matrix. Perform a cyclic replacement. For example, the second element in the second row is 2, and if the actual expansion factor is z=3, then the corresponding permutation matrix can be obtained by cyclically shifting the unit matrix to the right or left twice.
置换元素“0”的单位矩阵为:The unit matrix of the permutation element "0" is:
Figure PCTCN2018072904-appb-000011
Figure PCTCN2018072904-appb-000011
置换元素“-1”的全0矩阵为:The all-zero matrix of the permutation element "-1" is:
Figure PCTCN2018072904-appb-000012
Figure PCTCN2018072904-appb-000012
置换元素“1”的矩阵是通过单位矩阵向左或向右循环1位得到,这里以向右循环为例:The matrix of the permutation element "1" is obtained by looping the unit matrix to the left or right by 1 bit. Here, the loop to the right is taken as an example:
Figure PCTCN2018072904-appb-000013
Figure PCTCN2018072904-appb-000013
置换元素“2”的矩阵是通过单位矩阵向左或向右循环2位得到,这里以向右循环为例:The matrix of the permutation element "2" is obtained by looping 2 bits to the left or right through the unit matrix. Here, the loop to the right is taken as an example:
Figure PCTCN2018072904-appb-000014
Figure PCTCN2018072904-appb-000014
扩展后的LDPC校验矩阵为m×n的矩阵,m=z×m b=3×3=9, The extended LDPC check matrix is a matrix of m×n, m=z×m b =3×3=9,
n=z×n b=3×6=18,即为9×18的矩阵,如下: n=z×n b =3×6=18, which is a matrix of 9×18, as follows:
Figure PCTCN2018072904-appb-000015
Figure PCTCN2018072904-appb-000015
即校验矩阵H为多个3×3的置换矩阵构成的矩阵,LDPC的码长为18,LDPC编码的校验比特数为9。That is, the parity check matrix H is a matrix composed of a plurality of 3×3 permutation matrices, the code length of the LDPC is 18, and the number of parity bits of the LDPC code is 9.
为进一步描述本申请实施例提供的数据发送方法和装置,下面先对本申请实施例涉及到的技术术语列重、块度、比特度做一些阐述。In order to further describe the data transmission method and apparatus provided by the embodiments of the present application, the following describes the technical terms, weights, and degrees of bits involved in the embodiments of the present application.
列重:对于基矩阵H b来讲,其列重是指每列中,非“-1”元素的个数,例如上述的基矩阵H b,其列重计算如下表1: Column weight: For the base matrix H b , the column weight refers to the number of non-"-1" elements in each column, such as the base matrix H b described above, and its column weight is calculated as shown in Table 1:
表1:基矩阵H b列重 Table 1: Base matrix H b column weight
列数Number of columns 第1列Column 1 第2列Column 2 第3列Column 3 第4列Column 4 第5列Column 5 第6列Column 6
列重Column weight 22 33 11 33 11 22
Figure PCTCN2018072904-appb-000016
Figure PCTCN2018072904-appb-000016
对于校验矩阵H来讲,其列重是指每列中,元素“1”的个数,例如上述的校验矩阵H,其列重计算如下表2:For the check matrix H, the column weight refers to the number of elements "1" in each column, such as the check matrix H described above, and the column weight is calculated as shown in Table 2 below:
表2:校验矩阵H的列重Table 2: Column weight of check matrix H
Figure PCTCN2018072904-appb-000017
Figure PCTCN2018072904-appb-000017
Figure PCTCN2018072904-appb-000018
Figure PCTCN2018072904-appb-000018
成所述LDPC校验矩阵H后,根据扩展后的z列的列重值与原始列的列重值相等的原则,即可通过计算基矩阵H b的每列的列重值得到校验矩阵H相应列的列重值。例如,上述基矩阵H b的第1列的列重值为2,经过扩展因子z=3对基矩阵H b进行扩展后,第1列在校验矩阵H被扩展为第1列,第2列,第3列,且第1列,第2列,第3列的列重值与基矩阵H b的第1列的列重值2相等。 After the LDPC check matrix H is formed, the check matrix can be obtained by calculating the column weight value of each column of the base matrix H b according to the principle that the column weight value of the extended z column is equal to the column weight value of the original column. H column weight value of the corresponding column. For example, after a first column of the matrix H of the base B of the weight is 2, z = 3 after spreading factor H to the base matrix B to extend, the first column in the check matrix H is extended to the first column, the second column, 3 column, and the first column, second column, the column weight values of column 3 and column base matrix H b of a weight value equal to 2.
块度:本申请实施例中涉及的块度,是指LDPC校验矩阵H中,每一列对应一个比特,其中前k列一一对应于待编码的编码块中的比特,后m列一一对应于校验比特,将H分为多个子块,例如以扩展因子z个为单位,将H分为多个子块;计算每个子块的度,即可得到其块度,有时也称为子块度。第G个比特的块度是指第G个比特在校验矩阵H中对应的所在子块中任意一列中的1的个数,0<G≤n,G为正整数,当G的取值范围为0<G≤k时,指待编码的编码块中的比特的块度。,在本申请中,由于讨论的固定比特也在编码块中,因此,如不做特别说明,本申请中的G的取值范围为0<G≤k。Block degree: The block degree involved in the embodiment of the present application refers to an LDPC check matrix H, where each column corresponds to one bit, wherein the first k columns correspond one-to-one to the bits in the coding block to be encoded, and the last m columns are one by one. Corresponding to the check bit, H is divided into a plurality of sub-blocks, for example, dividing H into a plurality of sub-blocks by using a spreading factor of z; calculating the degree of each sub-block, and obtaining the block degree, sometimes referred to as a sub-block Block degree. The block degree of the Gth bit refers to the number of 1s in any one of the corresponding sub-blocks of the G-th bit in the check matrix H, 0<G≤n, G is a positive integer, when the value of G is When the range is 0 < G ≤ k, the block degree of the bits in the coding block to be coded is indicated. In the present application, since the fixed bits discussed are also in the coding block, the value range of G in the present application is 0 < G ≤ k unless otherwise specified.
可选地,待编码的编码块中的比特也可以和校验矩阵中的任意k列对应,剩下的m列对应校验比特,这种对应方式只需在发射端和接收端统一即可,本申请中不做限定。Optionally, the bits in the coding block to be coded may also correspond to any k columns in the check matrix, and the remaining m columns correspond to check bits, and the corresponding manner only needs to be unified at the transmitting end and the receiving end. This application does not limit it.
本申请实施例中,计算块度的方式可以灵活多变,至少可以包含如下两种:In the embodiment of the present application, the manner of calculating the block degree may be flexible, and may include at least the following two types:
第一种,计算所述基矩阵H b各列的列重,根据所述各列的列重计算与该比特对应的子块的度; First, calculating a column weight of each column of the base matrix H b , and calculating a degree of the sub-block corresponding to the bit according to the column weight of each column;
第二种,计算所述校验矩阵H各列的列重,根据所述各列的列重计算与之对应的子块的度。Second, the column weight of each column of the check matrix H is calculated, and the degree of the sub-block corresponding thereto is calculated according to the column weight of each column.
以经过上述9×18校验矩阵H为例,以z=3个比特为一组,分为6块,即子块1、子块2、子块3、子块4、子块5和子块6,如表3和矩阵结合示意如下:Taking the above 9×18 check matrix H as an example, z=3 bits are grouped into six groups, that is, sub-block 1, sub-block 2, sub-block 3, sub-block 4, sub-block 5, and sub-block. 6, as shown in Table 3 and matrix combination is as follows:
上述两种计算块度的方式在具体实现中有多种可能形式:The above two ways of calculating the blockiness have many possible forms in the specific implementation:
一种计算每一个比特对应的子块的块度的方式是,通过计算基矩阵H b的每一列的列重,即计算基矩阵H b非“-1”元素的个数,即可得到对应的子块的块度;例如计算得到基矩阵H b第1列的列重值为2之后,由列重的定义和子块的定义,即可得到子块1的块度为2。 One way of blocks corresponding to each bit of the sub-block is calculated, the calculation of each column by the column base matrix H b of the weight, i.e. the number of base matrix H b is calculated than "-1" element, to obtain the corresponding For example, if the column weight of the first column of the base matrix H b is 2, the definition of the column weight and the definition of the sub-block are obtained, and the block degree of the sub-block 1 is obtained as 2.
另一种计算每一个比特对应的子块的块度的方式是,通过计算计算基矩阵H b的每一列的列重之后,将该列重乘以扩展因子,即可得到对应的子块的块度;例如计算得到基矩阵H b第1 列的列重值为2之后乘以扩展因子3,即可得到子块1的块度为6,在不加特别申明的情况下,本申请中各实施例还是以单列的列重为例来定义块度。 Another way of calculating the blockiness of the sub-block corresponding to each bit is to calculate the column weight of each column of the base matrix H b and then multiply the column by the expansion factor to obtain the corresponding sub-block. For example, if the column weight of the first column of the base matrix H b is 2 and multiplied by the expansion factor 3, the block degree of the sub-block 1 is obtained, and in the present application, without special declaration, The embodiments also define the block degree by taking the column weight of a single column as an example.
又一种计算每一个比特对应的子块的块度的方式是,通过与其对应的计算校验矩阵H的每一列中,元素“1”的个数,得到校验矩阵H的每一列的列重值之后,即可得到子块的块度;例如得到校验矩阵H第1-3列的列重值为2之后,即可得到子块1的块度为2;Another way of calculating the blockiness of the sub-block corresponding to each bit is to obtain the column of each column of the check matrix H by calculating the number of elements "1" in each column of the check matrix H corresponding thereto. After the multivalued value, the block degree of the sub-block can be obtained; for example, after the column weight value of the 1-3th column of the check matrix H is obtained, the block degree of the sub-block 1 is obtained as 2;
再一种计算每一个比特对应的的子块的块度的方式是,将H校验矩阵中与各个子块对应列的列重相加或者单列的列重乘以扩展因子,即可得到子块的块度。例如得到校验矩阵H第1-3列的列重值均为2,则子块1的块度还可以是2+2+2=6,或者2×3=6;依次类推,在不加特别申明的情况下,本申请中各实施例还是以单列的列重为例来定义块度。Another way of calculating the block degree of the sub-block corresponding to each bit is to add the column of the corresponding column of each sub-block in the H-check matrix or multiply the column of the single column by the expansion factor to obtain the sub-block. The blockiness of the block. For example, if the column weights of the 1-3 columns of the check matrix H are both 2, the block degree of the sub-block 1 may also be 2+2+2=6, or 2×3=6; and so on, without adding In the case of a special statement, each embodiment in the present application defines the block degree by taking the column weight of a single column as an example.
表3:子块的块度Table 3: Block size of sub-blocks
子块Subblock 子块1Sub block 1 子块2Subblock 2 子块3Subblock 3 子块4Subblock 4 子块5Subblock 5 子块6Subblock 6
块度Blockiness 22 33 11 33 11 22
Figure PCTCN2018072904-appb-000019
Figure PCTCN2018072904-appb-000019
如上示意,经过LDPC编码后的码序列分成的6个子块,各个子块的块度为:子块1的块度为2,子块2的块度为3,子块3的块度为1,子块4的块度为3,子块5的块度为1,子块6的块度为2,该公式中每个虚线框即为一个子块,不难理解,这里子块1、子块2、子块3对应待编码的编码块中的比特,子块4、子块5、子块6对应校验比特;As shown above, the LDPC coded code sequence is divided into 6 sub-blocks, and the block degree of each sub-block is: the block degree of the sub-block 1 is 2, the block degree of the sub-block 2 is 3, and the block degree of the sub-block 3 is 1. The sub-block 4 has a blockiness of 3, the sub-block 5 has a blockiness of 1, and the sub-block 6 has a blockiness of 2. Each dashed box in the formula is a sub-block, which is not difficult to understand. Here, the sub-block 1 The sub-block 2 and the sub-block 3 correspond to bits in the coding block to be encoded, and the sub-block 4, the sub-block 5, and the sub-block 6 correspond to parity bits;
对比表1和表2可知,各个子块的块度值与基矩阵H b各列的列重值相同,与扩展后的校验矩阵H的相应列的列重值相等。 Comparing Table 1 and Table 2, the block value of each sub-block is the same as the column weight of each column of the base matrix H b , and is equal to the column weight of the corresponding column of the expanded check matrix H.
用上述的LDPC校验矩阵对应的各个比特中,各个比特的可靠性有高有低,这里的可靠性是指被检测正确的概率。本申请实施例中将比特的可靠性的高低与其所属子块的块度相关联,而子块的块度与基矩阵H b或校验矩阵H的列重的值成正比例关系。 Among the bits corresponding to the LDPC check matrix described above, the reliability of each bit is high or low, and the reliability here refers to the probability that the bit is detected correctly. In the embodiment of the present application, the reliability of the bit is associated with the block degree of the sub-block to which it belongs, and the block degree of the sub-block is proportional to the value of the column weight of the base matrix H b or the check matrix H.
具体来讲,基矩阵H b的列重的值越高,与该列对应的子块的可靠性越高,属于该子块的比特的可靠性也越高,对其进行调制后传输的误码率越低;反之,基矩阵H b的某列的列重的值越低,与该列对应的码序列中子块的可靠性越低,属于该子块的比特的可靠性越低,对其进行调制后传输的误码率越低。 Specifically, the higher the value of the column weight of the base matrix H b , the higher the reliability of the sub-block corresponding to the column, the higher the reliability of the bits belonging to the sub-block, and the error of transmission after modulation The lower the code rate; conversely, the lower the value of the column weight of a column of the base matrix H b , the lower the reliability of the sub-block in the code sequence corresponding to the column, and the lower the reliability of the bits belonging to the sub-block, The bit error rate transmitted after modulation is lower.
以上给出了LDPC编码块中每个比特的子块度的计算方法以及与可靠性之间的关系,类似地,还可以定义LDPC编码块中的每个比特的比特度为该比特对应的LDPC校验矩阵的列中1的个数,也即第G个比特的块度是指第G个比特在校验矩阵H中对应的第G列中的1的个数,0<G≤n,G为正整数,当G的取值范围为0<G≤k时,指待编码的编码块中的比特的比特度。与子块度高从而可靠性高、子块度低从而可靠性低的特点类似,比特度高则可靠性高、比特度低从而可靠性低,这里不再赘述。同样地,在本申请中,由于讨论的固定比特也在编码块中,因此,如不做特别说明,本申请中的G的取值范围为0<G≤k。The calculation method of the sub-blockiness of each bit in the LDPC coded block and the relationship with the reliability are given above. Similarly, the bit degree of each bit in the LDPC coded block may be defined as the LDPC corresponding to the bit. The number of 1s in the column of the check matrix, that is, the block degree of the Gth bit is the number of 1s in the corresponding Gth column of the Gth bit in the check matrix H, 0<G≤n, G is a positive integer, and when the value of G ranges from 0 < G ≤ k, the bit degree of the bit in the coding block to be coded is indicated. Similar to the feature that the sub-block is high, the reliability is high, the sub-block is low, and the reliability is low, the bit-bit degree is high, the reliability is high, the bit degree is low, and the reliability is low, which will not be described here. Similarly, in the present application, since the fixed bits discussed are also in the coding block, the value range of G in the present application is 0 < G ≤ k unless otherwise specified.
以下将结合附图和上述表格描述本申请实施例提供的数据发送方法应用于前述通信系统的实现过程。The implementation process of applying the data sending method provided by the embodiment of the present application to the foregoing communication system will be described below with reference to the accompanying drawings and the above table.
图2为本申请提供的数据的发送方法实施例流程示意图,如图2所示,在图1所示的应用示意图的基础上,基站或者终端均可以作为发送设备或者接收设备,可选的,该方法包括以下步骤:2 is a schematic flowchart of an embodiment of a method for transmitting data provided by the present application. As shown in FIG. 2, on the basis of the application diagram shown in FIG. 1, a base station or a terminal may be used as a sending device or a receiving device, optionally, The method includes the following steps:
S201:发送设备确定用于编码的传输块的LDPC码的码率和码长。S201: The transmitting device determines a code rate and a code length of an LDPC code of the transport block used for encoding.
所述码率等于LDPC编码的信息比特长度除以LDPC码的码长,一般常用的码率有1/2,2/3,3/4,5/6等,这里不做限制。The code rate is equal to the information bit length of the LDPC code divided by the code length of the LDPC code. Generally, the commonly used code rate is 1/2, 2/3, 3/4, 5/6, etc., and is not limited herein.
S202:根据上述的LDPC码的码率,确定该LDPC码的码率下的最大的信息比特长度。可以直接确定所述最大的信息比特长度,也可以根据所述LDPC码的码率和该码率下的最大LDPC码长来确定所述最大的信息比特长度,即所述最大的信息比特长度等于所述LDPC码的码率乘以所述最大的LDPC码长。S202: Determine a maximum information bit length at a code rate of the LDPC code according to the code rate of the LDPC code. The maximum information bit length may be directly determined, and the maximum information bit length may be determined according to a code rate of the LDPC code and a maximum LDPC code length of the code rate, that is, the maximum information bit length is equal to The code rate of the LDPC code is multiplied by the maximum LDPC code length.
S203:如果传输块长度不大于该码率下的LDPC码最大信息比特长度,则执行S204,否则执行S205。S203: If the transport block length is not greater than the maximum information bit length of the LDPC code at the code rate, then execute S204, otherwise execute S205.
S204:根据传输块长度、该码率下的LDPC最大信息比特长度计算需要填充的固定比特数目并确定相应的固定比特位置;一般地,填充的固定比特数等于该码率下的LDPC最大信息比特长度减去传输块长度,跳至步骤S207。S204: Calculate the number of fixed bits to be padded according to the length of the transport block and the maximum information bit length of the LDPC at the code rate, and determine a corresponding fixed bit position; generally, the number of fixed bits filled is equal to the maximum information bit of the LDPC at the code rate. The length is subtracted from the length of the transport block, and the flow goes to step S207.
S205:将传输块分为至少两个编码块。S205: Divide the transport block into at least two coding blocks.
S206:根据所分的编码块的个数、编码块的长度、该码率下的最大信息比特长度计算需要填充固定比特的编码块、固定比特数目及位置。S206: Calculate a coding block, a fixed number of bits, and a location that need to be filled with fixed bits according to the number of the coded blocks, the length of the coding block, and the maximum information bit length at the code rate.
可选地,记传输块的长度为L,所述码率下的LDPC最大信息比特长度为P,且L>P,则对传输块进行分段,分为多个编码块,编码块的个数为
Figure PCTCN2018072904-appb-000020
所述
Figure PCTCN2018072904-appb-000021
表示向上取整。如果所分的多个编码块长度都为K,则需要填充的固定比特数为
Optionally, the length of the transport block is L, and the maximum information bit length of the LDPC is P, and L>P, the transport block is segmented, divided into multiple coding blocks, and the coding blocks are Number is
Figure PCTCN2018072904-appb-000020
Said
Figure PCTCN2018072904-appb-000021
Indicates rounding up. If the number of coded blocks is K, the number of fixed bits that need to be padded is
F=Num*K-LF=Num*K-L
如果分为多个编码块,且具有2种不同的长度,分为K1和K2,编码块长度为K1的编码块个数为Num1,编码块长度为K2的编码块个数为Num2,则需要填充的比特数为:If it is divided into multiple coding blocks and has two different lengths, which are divided into K1 and K2, the number of coding blocks whose coding block length is K1 is Num1, and the number of coding blocks whose coding block length is K2 is Num2, then The number of bits filled is:
F=Num1*K1+Num2*K2-LF=Num1*K1+Num2*K2-L
在S204或S206中,发送设备确定需要填充的固定比特数后,还要确定相应的固定比特位置,可选地,LDPC编码中填充固定比特时,将填充的固定比特填在LDPC码比特度低的比特位置,或者LDPC子块度低的子块。通过这样的填充方法,可以充分利用LDPC码的编码增益,达到增强编码效率的效果。In S204 or S206, after the transmitting device determines the fixed number of bits to be filled, the corresponding fixed bit position is also determined. Optionally, when the fixed bit is filled in the LDPC code, the padded fixed bit is filled in the LDPC code with low bit length. The bit position, or a sub-block with a low LDPC sub-block. With such a filling method, the coding gain of the LDPC code can be fully utilized to achieve an effect of enhancing coding efficiency.
可选地,这里所说的填充的固定比特可以是任意已知的比特或者Null(中文翻译:空),不失一般性,固定比特可以设为零。Optionally, the padding fixed bits mentioned herein may be any known bits or Null, without loss of generality, and the fixed bits may be set to zero.
S207:根据S204或者S206中确定的填充比特数和填充比特位置进行比特填充。S207: Perform bit filling according to the number of padding bits and padding bit positions determined in S204 or S206.
可选地,可以按照发射端和接收端两侧统一的填充顺序进行填充。Optionally, the filling may be performed in a uniform filling order on both sides of the transmitting end and the receiving end.
在一个编码块内部,或者不分块而只有一个编码块的情况下,当填充的固定比特数目X确认后,当根据比特度选择填充位置时,填充原则为:In the case of a coded block, or without a block and only one code block, when the padded fixed bit number X is confirmed, when the padding position is selected according to the bit degree, the padding principle is:
a)首先确定比特度最低的比特位置;a) first determining the bit position with the lowest bit strength;
b)如果这些比特位置的个数Y大于等于X,则在其中任选X个进行填充,跳至步骤d),否则到步骤c);b) if the number Y of these bit positions is greater than or equal to X, then optionally X is filled, skip to step d), otherwise to step c);
c)将该Y个比特位置确定为填充固定比特的位置,并更新X=X-Y;再确定余下的比特位置中比特度最低的比特位置,其数目为Y,跳至步骤b),c) determining the Y bit positions as the position filling the fixed bits, and updating X=X-Y; determining the bit position with the lowest bit degree among the remaining bit positions, the number of which is Y, skipping to step b),
d)结束d) end
其中X和Y为正整数。Where X and Y are positive integers.
当根据块度选择填充位置时,由于一个子块中含有多个列,且多个列的列重相等,所以同一子块中每一列对应的块度都是一样的,因此填充原则与按比特度类似,即确保填充比特位置是子块度最低的位置。一旦确认在子块中需要填充的比特数,则在子块中可以相应数目的列数。When the padding position is selected according to the block degree, since one sub-block contains a plurality of columns, and the column weights of the plurality of columns are equal, the corresponding block degree of each column in the same sub-block is the same, so the filling principle and the bit-by-bit The degree is similar, that is, to ensure that the padding bit position is the position with the lowest sub-blockiness. Once the number of bits that need to be filled in the sub-block is confirmed, there can be a corresponding number of columns in the sub-block.
例如,如表3所示,如果要填充1个固定比特,块度最低的子块为子块3和子块5,因此可任选一个,以选取子块3为例,可按照从左至右的顺序,将该1个固定比特填充在子块3最左边的第一比特位置,或者按照从右至左的顺序,将该1个固定比特填充在子块3最右边的第一比 特位置,甚至还可以填充在子块3中间的比特位置。For example, as shown in Table 3, if one fixed bit is to be filled, the sub-block with the lowest block degree is sub-block 3 and sub-block 5, so one can be selected, and the sub-block 3 is selected as an example, and can be left to right. The order of filling the 1 fixed bit at the leftmost first bit position of the sub-block 3, or filling the 1 fixed bit at the rightmost first bit position of the sub-block 3 in order from right to left, It is even possible to fill the bit positions in the middle of the sub-block 3.
如果要填充2个固定比特,块度最低的子块为子块3和子块5,这时候有两种填充方式:If you want to fill 2 fixed bits, the lowest block is the sub-block 3 and sub-block 5, there are two ways to fill:
1)一种方式是将2个固定比特在子块3和子块5上各填充一个固定比特,分别按上述1比特填充的方式填充即可,且各子块中按从左至右选还是按从右至左选可以独立也可以统一;1) One way is to fill two fixed bits in sub-block 3 and sub-block 5 with a fixed bit, which can be filled according to the above-mentioned 1-bit padding, and each sub-block is selected from left to right or pressed. Select from right to left can be independent or unified;
2)另一种方式是将2个比特集中填充到子块3或者子块5上,仍以填充到子块3为例,可按照从左至右的顺序,将2个固定比特填充在子块3最左边的第一、第二比特位置,或者按照从右至左的顺序,将2个固定比特填充在子块3最右边的第一、第二比特位置,还可以将2个固定比特填充在子块3的第一、第三比特位置。2) Another way is to fill 2 bits into sub-block 3 or sub-block 5, and still fill in sub-block 3 as an example, and fill 2 fixed bits in the order from left to right. Blocking the leftmost first and second bit positions of block 3, or filling the 2 fixed bits in the right and left bit positions of the sub-block 3 in right-to-left order, and also 2 fixed bits The first and third bit positions of the sub-block 3 are filled.
如果要填充3个固定比特,块度最低的子块为子块3和子块5,这时候有两种填充方式:If you want to fill 3 fixed bits, the lowest block size is sub-block 3 and sub-block 5, then there are two ways to fill:
1)一种方式是将3个固定比特在子块3上填充两个,子块5上填充一个(或者子块3上填充1个,子块5上填充2个,原则一致),填充1个固定比特和2个固定比特的方式和上述方法一致;1) One way is to fill 3 fixed bits on sub-block 3, and fill one on sub-block 5 (or fill one on sub-block 3, fill two on sub-block 5, the principle is the same), fill 1 The manner of fixing bits and 2 fixed bits is consistent with the above method;
2)另一种方式是将3个比特集中填充到子块3或者子块5上,仍以填充到子块3为例,将3个固定比特分别填充在子块3的第一、第二、第三比特位置。2) Another way is to fill the 3 bits into the sub-block 3 or the sub-block 5, and still fill the sub-block 3 as an example, and fill the 3 fixed bits in the first and second of the sub-block 3 respectively. , the third bit position.
如果有更多固定比特需要填充,原则和方法是一致的,不再赘述。比如如果需要填充7个固定比特,那么在子块3和子块5均已填满后,需要进一步找余下子块中块度最小的子块,并以此类推。If there are more fixed bits to fill, the principles and methods are the same and will not be described again. For example, if 7 fixed bits need to be filled, after sub-block 3 and sub-block 5 are filled, it is necessary to further find the sub-block with the smallest blockiness among the remaining sub-blocks, and so on.
类似地,在比特度最小的位置填充固定比特。Similarly, fixed bits are padded at locations where the bitrate is minimal.
无论按照哪一种方式哪一种顺序或者任意一种固定比特的填充方式,只需在发射设备和接收设备两侧统一规定即可。可选地,可以按照预先规定的方式确定,例如3GPP协议等,也可以临时确定后由网络设备以广播或者单播等方式将填充信息通知终端或者由终端通过控制信令通知网络设备,该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置,而传送方式可以包括但不限于广播的PBCH(英文全称:Physical Broadcasting Channel;中文全称:物理广播信道)信令或者单播的RRC(英文全称:Radio Resource Control;中文全称:无线资源控制)信令、PDCCH(英文全称:Physical Downlink Control Channel;中文全称:物理下行控制信道)信令、PUCCH(英文全称:Physical Uplink Control Channel;中文全称:物理上行控制信道)信令等。这样,接收设备在根据相应参数确定好填充比特的数目后就可以明确地知道填充比特的位置。Regardless of which order or which of any fixed bit is filled, it is only necessary to uniformly define both sides of the transmitting device and the receiving device. Alternatively, it may be determined in a predetermined manner, for example, a 3GPP protocol, etc., or may be temporarily determined by the network device to notify the terminal of the padding information by means of broadcast or unicast, or the terminal may notify the network device by using control signaling, the padding The information is used to indicate at least one of the following information: a coded block filled with fixed bits, the number and location of fixed bits, and the transmission mode may include, but is not limited to, a broadcast PBCH (English full name: Physical Broadcasting Channel; Chinese full name: physical Broadcast channel) signaling or unicast RRC (English full name: Radio Resource Control; Chinese full name: radio resource control) signaling, PDCCH (English full name: Physical Downlink Control Channel; Chinese full name: physical downlink control channel) signaling, PUCCH (English full name: Physical Uplink Control Channel; Chinese full name: physical uplink control channel) signaling. In this way, the receiving device can clearly know the position of the padding bit after determining the number of padding bits according to the corresponding parameters.
可选地,当一个传输块分为至少两个编码块后,以分为3个编码块为例,如图3a、图3b、图3c所示,编码块1,编码块2,编码块3,则填充比特的位置选择包括但不限于如下几种方式:Optionally, when a transport block is divided into at least two coded blocks, the process is divided into three code blocks, as shown in FIG. 3a, FIG. 3b, and FIG. 3c, code block 1, code block 2, and code block 3. , the position selection of the padding bits includes but is not limited to the following ways:
如图3a所示,所有的固定比特填充在第一个编码块,将填充的固定比特填在第一个编码块比特度低的比特位置,或者第一个编码块中子块度低的子块,按上述一个编码块中的填充方式进行填充。然后对每个编码块进行LDPC编码,得到LDPC码字;As shown in Figure 3a, all the fixed bits are padded in the first coding block, and the padding fixed bits are padded in the bit position where the first coding block has a low bit length, or the sub-block degree in the first coding block is low. The block is filled in the padding manner in one of the above coding blocks. Then performing LDPC coding on each coding block to obtain an LDPC codeword;
如图3b所示,所有的固定比特填充在最后一个编码块,将填充的固定比特填在最后一个编码块比特度低的比特位置,或者最后一个编码块中子块度低的子块,按上述一个编码块中的填充方式进行填充。然后对每个编码块进行LDPC编码,得到LDPC码字。As shown in FIG. 3b, all the fixed bits are padded in the last coding block, and the padding fixed bits are filled in the bit position with the low bit degree of the last coding block, or the sub-block with the low sub-block degree in the last coding block is pressed. The filling method in one of the above coding blocks is filled. Then, each coding block is subjected to LDPC coding to obtain an LDPC codeword.
可选地,将固定比特集中到多个编码块中的与接收设备约定的一个编码块中比特度最小或者块度最小的位置上进行填充。或者,在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特。Optionally, the fixed bits are grouped into a plurality of coding blocks that are padded with a minimum bit size or a minimum block size in a coding block agreed upon by the receiving device. Alternatively, all fixed bits are filled in the coded block in which the bit with the least bit or the sub-block with the lowest sub-block is located.
如图3c所示,所有的固定比特分布填充在多个编码块,包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;3)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。As shown in FIG. 3c, all fixed bit distributions are filled in a plurality of coding blocks, including but not limited to the following filling manners of any fixed bits: 1) padding fixed at the least bit or minimum block size in all coding blocks Bits; 2) equally distribute the fixed bits to be filled into the respective coding blocks, and then select a bit position with a low bit degree or a sub-block with a low sub-block degree for padding in each coding block; 3) select a part of the coding block Filling the fixed bits and selecting only the bit positions with low bit width or sub-blocks with low sub-blocks in the coding block agreed by the other part and the receiving device to fill; 4) filling the fixed bits with any one of the transmitting device and the receiving device The way to fill.
通过将比特度低的比特位置,或者多个编码块子块度低的子块比特填充在LDPC码的信息比特度低的比特位置或子块度低的子块位置,可以避免信息比特占用比特度低的比特位置或子块度低的子块位置而导致LDPC编码性能变差,从而提升LDPC编码的编码性能。The information bit occupation bit can be avoided by filling a bit position with a low bit degree or a plurality of sub block bits having a low coding block sub-blockiness in a bit position of a low bit of information of an LDPC code or a sub-block position having a low sub-blockiness. A low bit position or a sub-block position with a low sub-blockiness results in poor LDPC encoding performance, thereby improving the encoding performance of the LDPC encoding.
S208:发送设备对填充了固定比特后的编码块比特序列以及不需要进行填充固定比特的编码块比特序列进行LDPC编码,并发送编码后的数据(即编码得到的多个数据比特序列)。S208: The transmitting device performs LDPC encoding on the coding block bit sequence filled with the fixed bits and the coding block bit sequence that does not need to be filled with the fixed bits, and transmits the encoded data (that is, the encoded multiple data bit sequences).
在接收端,接收设备接收发送设备发送的LDPC编码数据,即接收到多个数据比特序列。At the receiving end, the receiving device receives the LDPC encoded data sent by the transmitting device, that is, receives a plurality of data bit sequences.
接收设备对数据比特序列进行LDPC译码,所述译码采用LDPC校验矩阵进行译码,得到译码后的编码块的比特序列,为做区分,不妨将译码后的编码块称为译码块,当然,在不引起混淆的情况下,还是可以称之为编码块;The receiving device performs LDPC decoding on the data bit sequence, and the decoding uses the LDPC check matrix to perform decoding, and obtains the bit sequence of the decoded coded block. For distinguishing, the decoded coded block may be referred to as translation. Code blocks, of course, can be called code blocks without causing confusion;
接收设备从译码后的比特序列中填充了固定比特的译码块中去除固定比特,一个示例性的描述如图4所示:The receiving device removes the fixed bits from the decoded block filled with fixed bits in the decoded bit sequence, an exemplary description is shown in FIG. 4:
S401:获取传输块的LDPC码的码率和码长S401: Acquire a code rate and a code length of an LDPC code of a transport block
S402:根据上述的LDPC码的码率,确定该LDPC码的码率下的最大的信息比特长度。可以直接确定所述最大的信息比特长度,也可以根据所述LDPC码的码率和该码率下的最大LDPC码长来确定所述最大的信息比特长度,即所述最大的信息比特长度等于所述LDPC码的码率乘以所述最大的LDPC码长。S402: Determine a maximum information bit length at a code rate of the LDPC code according to the code rate of the LDPC code. The maximum information bit length may be directly determined, and the maximum information bit length may be determined according to a code rate of the LDPC code and a maximum LDPC code length of the code rate, that is, the maximum information bit length is equal to The code rate of the LDPC code is multiplied by the maximum LDPC code length.
S403:如果传输块长度不大于该码率下的LDPC码最大信息比特长度,则执行S404,否则执行S405。S403: If the transport block length is not greater than the maximum information bit length of the LDPC code at the code rate, execute S404, otherwise execute S405.
S404:根据传输块长度、该码率下的LDPC最大信息比特长度计算需要去除的填充固定比特数目并确定相应的固定比特位置;一般地,填充的固定比特数等于该码率下的LDPC最大信息比特长度减去传输块长度。方法与前述发送端的S204中的方法一致,不再赘述。跳至步骤S407。S404: Calculate the number of padding fixed bits to be removed according to the length of the transport block and the maximum information bit length of the LDPC at the code rate, and determine a corresponding fixed bit position; generally, the fixed number of bits filled is equal to the maximum information of the LDPC at the code rate. The bit length minus the transport block length. The method is the same as the method in S204 of the foregoing sending end, and details are not described herein again. Go to step S407.
S405:将译码后的比特序列分为至少两个译码块。S405: Divide the decoded bit sequence into at least two decoding blocks.
S406:根据所分的译码块的个数、译码后的比特序列的长度、该码率下的最大信息比特长度和/或接收到的控制信令确定需要去除的填充了固定比特的译码块、固定比特数目和位置。方法与前述发送端的S206中的方法一致,不再赘述。S406: Determine, according to the number of the decoded coding blocks, the length of the decoded bit sequence, the maximum information bit length at the code rate, and/or the received control signaling, the translation of the fixed bits that need to be removed. Code block, fixed number of bits and location. The method is the same as the method in S206 of the foregoing sending end, and is not described again.
S407:接收设备根据步骤S404或者S406中确定的固定比特所在的译码块、固定比特的数目和位置去除填充的固定比特,得到译码后的信息比特序列。S407: The receiving device removes the padded fixed bit according to the decoding block where the fixed bit determined in step S404 or S406, the fixed bit, and the position, to obtain the decoded information bit sequence.
可选地,接收设备的固定比特的位置信息可以根据预先规定的规则确定,例如3GPP协议等,也可以通过接收发送设备通过广播或者单播发送的填充信息确定,该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置,其中传送方式包括但不限于PBCH信令、RRC信令、PDCCH信令、PUCCH信令等。Optionally, the location information of the fixed bit of the receiving device may be determined according to a predetermined rule, such as a 3GPP protocol, etc., or may be determined by receiving, by using a padding information sent by the sending device by using a broadcast or a unicast, the padding information is used to indicate the following information. At least one of: a coding block filled with fixed bits, a number and location of fixed bits, wherein the transmission manner includes but is not limited to PBCH signaling, RRC signaling, PDCCH signaling, PUCCH signaling, and the like.
固定比特的填充方式包括但不限于以下任意一种:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与发送设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与发送设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。由于接收设备已经和发送设备约定好固定比特的填充规则,因此只需要根据填充规则在相应的位置去除填充的固定比特即可。The filling manner of the fixed bits includes, but is not limited to, any one of the following: 1) filling the fixed bits with the smallest bit or the smallest block in all the coding blocks; 2) concentrating the fixed bits into the plurality of coding blocks and the transmitting device In a predetermined coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 3) the fixed bits to be padd are equally distributed to the respective coding blocks, and then the bit degree is selected in each coding block. Sub-blocks with low bit positions or low sub-blocks are padded; 4) selecting a part of the coding blocks without filling the fixed bits and selecting only the bit positions with low bit-degree or sub-blocks with low bit positions in the coding blocks agreed by the other part and the transmitting device Blocking is performed; 5) filling all fixed bits in the coding block in which the bit with the smallest bit or the sub-block with the lowest sub-block is located; 6) concentrating the fixed bits into the first coding block of the plurality of coding blocks, Filling at a position where the bit size is the smallest or the blockiness is the smallest; 7) concentrating the fixed bits into the last one of the plurality of coded blocks, with the least bit or Minimum filling degree of the position of the block; 8) in any of a fixed transmission bit stuffing unified manner and receiving devices are filled. Since the receiving device has already agreed with the sending device to fill the fixed bits, it is only necessary to remove the padding fixed bits at the corresponding position according to the filling rule.
一些可选的填充方法可以参见S207中的相关描述,由于原理完全一致,因此不再赘述。For some optional filling methods, refer to the related description in S207. Since the principles are completely consistent, they will not be described again.
图5为本申请提供的数据的发送装置实施例的结构示意图,如图5所示,该数据的发送装置10包括:FIG. 5 is a schematic structural diagram of an apparatus for sending data according to the present application. As shown in FIG. 5, the data sending apparatus 10 includes:
处理模块11,用于按照图2所示的流程以及上述实施例中的各种方法,获取LDPC编码的码率信息、该LDPC码的码率下的最大信息比特长度、编码块分割(即是否分为多个编码块)信息、填充固定比特的数量和位置,进行填充固定比特的操作,并在填充固定比特后,对每个编码块进行LDPC编码,得到LDPC编码后的数据比特序列;The processing module 11 is configured to obtain, according to the flow shown in FIG. 2 and various methods in the foregoing embodiments, code rate information of the LDPC code, a maximum information bit length at a code rate of the LDPC code, and a coding block split (ie, whether Dividing into a plurality of coding blocks) information, filling the number and position of fixed bits, performing a padding fixed bit operation, and after filling the fixed bits, performing LDPC coding on each coding block to obtain an LDPC coded data bit sequence;
发送模块12,用于发送所述数据比特序列。The sending module 12 is configured to send the data bit sequence.
在上述数据的发送装置的实现中,所述处理模块11用于包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与接收设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In the implementation of the sending device of the foregoing data, the processing module 11 is configured to include, but is not limited to, a filling manner of any one of the following fixed bits: 1) filling a fixed bit in a position with the smallest bit size or the smallest block size in all coding blocks. 2) concentrating fixed bits into one coding block of a plurality of coding blocks agreed upon by the receiving device, filling at a position where the bit degree is the smallest or the smallest block degree; 3) equally allocating the fixed bits to be filled to In each coding block, a bit position with a low bit strength or a sub-block with a low sub-block degree is selected in each coding block for filling; 4) selecting a part of the coding block does not fill the fixed bit but only agrees with the receiving device in another part. The coding block selects a bit position with a low bit rate or a sub-block with a low sub-block degree for padding; 5) filling all fixed bits in a coding block in which the bit bit minimum or the sub-block with the lowest sub-block is located; 6) The fixed bits are concentrated into the first coding block of the plurality of coding blocks, and padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 7) the fixed bits are concentrated to a maximum In the last coding block in the coding block, padding is performed at a position where the bit degree is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
可选的,所述发送装置还包括:Optionally, the sending device further includes:
获取模块,用于获取对所述传输块进行LDPC编码的最大信息比特长度;An obtaining module, configured to obtain a maximum information bit length for performing LDPC encoding on the transport block;
判断所述传输块的长度是否大于所述最大信息比特长度;Determining whether the length of the transport block is greater than the maximum information bit length;
若所述传输块的长度大于所述最大信息比特长度,则将所述传输块的分为至少两个编码块。If the length of the transport block is greater than the maximum information bit length, the transport block is divided into at least two coded blocks.
可选的,所述处理模块11还用于:Optionally, the processing module 11 is further configured to:
确定所述用于编码所述传输块的LDPC码的码率和码长;Determining a code rate and a code length of the LDPC code used to encode the transport block;
根据所述码率和码长确定所述最大信息比特长度;其中,所述LDPC码的最大信息比特长度等于所述LDPC码的码率和码长的乘积。Determining the maximum information bit length according to the code rate and code length; wherein a maximum information bit length of the LDPC code is equal to a product of a code rate and a code length of the LDPC code.
可选的,所述发送模块12还用于以单播或者广播方式发送固定比特的填充信息,该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置。Optionally, the sending module 12 is further configured to send the padding information of the fixed bit in a unicast or broadcast manner, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, and a fixed bit Number and location.
本实施例提供的数据的发送装置,用于实现前述任一方法实施例中发送设备的技术方案,其实现原理和技术效果类似,在此不再赘述。The data sending apparatus provided in this embodiment is used to implement the technical solution of the sending device in any of the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图6为本申请提供的数据的接收装置实施例的结构示意图,如图6所示,该数据的接收装置20包括:FIG. 6 is a schematic structural diagram of an apparatus for receiving data according to the present application. As shown in FIG. 6, the data receiving apparatus 20 includes:
接收模块21,用于接收发送设备发送的数据比特序列;The receiving module 21 is configured to receive a data bit sequence sent by the sending device.
处理模块22,用于对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块;The processing module 22 is configured to perform LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence;
所述处理模块22还用于从填充了固定比特的编码块中去除固定比特。The processing module 22 is further configured to remove fixed bits from the coded block that is filled with fixed bits.
所述处理模块22从填充了固定比特的的编码块中去除固定比特之前,所述处理模块22还用于:Before the processing module 22 removes the fixed bits from the coded block filled with the fixed bits, the processing module 22 is further configured to:
确定已经译码的编码块中填充了固定比特的编码块、固定比特的数目和位置。The coded block that has been coded is determined to be a coded block filled with fixed bits, the number and location of fixed bits.
进一步地,所述处理模块22用于根据预先规定的规则确定填充了固定比特的编码块;Further, the processing module 22 is configured to determine, according to a predetermined rule, a coded block filled with fixed bits;
或者,or,
所述接收模块21还用于接收所述发送设备发送的固定比特的填充信息,该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置;The receiving module 21 is further configured to receive the padding information of the fixed bit sent by the sending device, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, a number and a position of fixed bits;
所述处理模块22还用于根据所述填充信息确定填充了固定比特的编码块。The processing module 22 is further configured to determine, according to the padding information, a coded block that is filled with fixed bits.
可选的,所述处理模块22用于根据协议规定或者发送设备发送的填充信息规定的填充位置去除固定比特。Optionally, the processing module 22 is configured to remove the fixed bit according to the filling position specified by the protocol or the padding information sent by the sending device.
本实施例提供的数据的接收装置,用于实现前述任一方法实施例中接收设备的技术方案, 其实现原理和技术效果类似,在此不再赘述。The data receiving device provided in this embodiment is used to implement the technical solution of the receiving device in any of the foregoing method embodiments, and the implementation principle and the technical effect are similar, and details are not described herein again.
图7为本申请提供的发送设备实施例的结构示意图,如图7所示,该发送设备30包括:FIG. 7 is a schematic structural diagram of an embodiment of a sending device provided by the present application. As shown in FIG. 7, the sending device 30 includes:
处理器31,用于按照图2所示的流程以及上述实施例中的各种方法,获取LDPC编码的码率信息、该LDPC码的码率下的最大信息比特长度、编码块分割(即是否分为多个编码块)信息、填充固定比特的数量和位置,进行填充固定比特的操作,并在填充固定比特后,对每个编码块进行LDPC编码,得到LDPC编码后的数据比特序列;The processor 31 is configured to obtain, according to the flow shown in FIG. 2 and various methods in the foregoing embodiments, code rate information of the LDPC code, a maximum information bit length at a code rate of the LDPC code, and a coding block partition (ie, whether Dividing into a plurality of coding blocks) information, filling the number and position of fixed bits, performing a padding fixed bit operation, and after filling the fixed bits, performing LDPC coding on each coding block to obtain an LDPC coded data bit sequence;
发送器32,用于发送所述数据比特序列。The transmitter 32 is configured to send the data bit sequence.
存储器33,用于存储执行指令。所述处理器31用来执行存储器存储的执行指令。使得所述发送设备通过通信接口与接收设备之间进行数据交互来执行上述各种实施方式提供的数据的发送方法。The memory 33 is configured to store an execution instruction. The processor 31 is operative to execute execution instructions for memory storage. The transmitting device is caused to perform data interaction between the communication device and the receiving device to perform the data sending method provided by the various embodiments.
在上述数据的发送装置的可选的一种实现方式中,所述处理器31用于包括但不限于以下任意一种固定比特的填充方式:1)在所有编码块中比特度最小或者块度最小的位置填充固定比特;2)将固定比特集中到多个编码块中的与接收设备约定的一个编码块中,在其比特度最小或者块度最小的位置上进行填充;3)将待填充的固定比特平均分配到各个编码块中,然后在每个编码块中选取比特度低的比特位置或者子块度低的子块进行填充;4)选取一部分编码块不填充固定比特而只在另一部分与接收设备约定的编码块中选取比特度低的比特位置或者子块度低的子块进行填充;5)在比特度最小的比特或者子块度最低的子块所在的编码块中填充所有固定比特;6)将固定比特集中到多个编码块中的第一个编码块中,在其比特度最小或者块度最小的位置上进行填充;7)将固定比特集中到多个编码块中的最后一个编码块中,在其比特度最小或者块度最小的位置上进行填充;8)以任意一种发送设备和接收设备统一的固定比特填充方式进行填充。In an optional implementation manner of the sending apparatus of the foregoing data, the processor 31 is configured to include, but is not limited to, a filling manner of any one of the following fixed bits: 1) minimum bit size or block degree in all coding blocks The minimum position is filled with fixed bits; 2) the fixed bits are concentrated into one coding block of the plurality of coding blocks that is agreed upon by the receiving device, and padding is performed at a position where the bit degree is the smallest or the blockiness is the smallest; 3) is to be filled The fixed bits are evenly distributed into the respective coding blocks, and then the bit positions with low bit strength or sub-blocks with low sub-blockiness are selected for filling in each coding block; 4) selecting a part of coding blocks does not fill fixed bits but only in another Part of the coding block agreed by the receiving device is padded with a bit position with a low bit rate or a sub-block with a low sub-block degree; 5) filling all the coding blocks with the smallest bit or the sub-block with the lowest sub-block Fixed bits; 6) concentrating fixed bits into the first coding block of multiple coding blocks, filling at the position with the smallest bit size or the smallest block size; 7) fixed The bits are concentrated into the last coding block of the plurality of coding blocks, and are padded at a position where the bit size is the smallest or the block degree is the smallest; 8) padding is performed in a fixed bit filling manner unified by any one of the transmitting device and the receiving device.
可选的,所述处理器31还用于:Optionally, the processor 31 is further configured to:
获取用于对所述传输块进行LDPC编码的最大信息比特长度;Obtaining a maximum information bit length used for LDPC encoding the transport block;
判断所述传输块的长度是否大于所述最大信息比特长度;Determining whether the length of the transport block is greater than the maximum information bit length;
若所述传输块的长度大于所述最大信息比特长度,则将所述传输块的分为至少两个编码块。If the length of the transport block is greater than the maximum information bit length, the transport block is divided into at least two coded blocks.
可选的,所述处理器31还用于:Optionally, the processor 31 is further configured to:
确定所述用于编码所述传输块的LDPC码的码率和码长;Determining a code rate and a code length of the LDPC code used to encode the transport block;
根据所述码率和码长确定所述最大信息比特长度;其中,所述LDPC码的最大信息比特长度等于所述LDPC码的码率和码长的乘积。Determining the maximum information bit length according to the code rate and code length; wherein a maximum information bit length of the LDPC code is equal to a product of a code rate and a code length of the LDPC code.
可选的,所述发送器32还用于以单播或者广播方式发送固定比特的填充信息,该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置。Optionally, the sender 32 is further configured to send the padding information of the fixed bit in a unicast or broadcast manner, where the padding information is used to indicate at least one of the following information: a coding block filled with fixed bits, and a fixed bit Number and location.
本实施例提供的数据的发送装置,用于实现前述任一方法实施例中发送设备的技术方案,其实现原理和技术效果类似,在此不再赘述。The data sending apparatus provided in this embodiment is used to implement the technical solution of the sending device in any of the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图8为本申请提供的接收设备实施例的结构示意图,如图8所示,该接收设备40包括:FIG. 8 is a schematic structural diagram of an embodiment of a receiving device provided by the present application. As shown in FIG. 8, the receiving device 40 includes:
接收器41,用于接收发送设备发送的数据比特序列;a receiver 41, configured to receive a data bit sequence sent by the sending device;
处理器42,用于对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块;The processor 42 is configured to perform LDPC decoding on each data bit sequence to obtain a coded block corresponding to each data bit sequence;
存储器43,用于存储执行指令。所述处理器41用来执行存储器存储的执行指令。使得所述接收设备通过通信接口与发送设备之间进行数据交互来执行上述各种实施方式提供的数据的接收方法。The memory 43 is configured to store an execution instruction. The processor 41 is operative to execute execution instructions for memory storage. The receiving device is configured to perform data receiving by the various embodiments described above by performing data interaction between the receiving device and the transmitting device.
所述处理器42还用于从填充了固定比特的编码块中去除固定比特。The processor 42 is also operative to remove fixed bits from coded blocks that are filled with fixed bits.
在一种实现方式中,所述处理器42从填充了固定比特的编码块中去除固定比特之前,所述处理器42还用于:In one implementation, before the processor 42 removes fixed bits from the coded block filled with fixed bits, the processor 42 is further configured to:
确定已经译码的编码块中填充了固定比特的编码块、固定比特的数目和位置。The coded block that has been coded is determined to be a coded block filled with fixed bits, the number and location of fixed bits.
进一步地,所述处理器42用于根据预先规定的规则确定填充了固定比特的编码块;Further, the processor 42 is configured to determine, according to a predetermined rule, a coded block filled with fixed bits;
或者,or,
当所述接收设备为终端时,所述接收器41还用于接收所述发送设备发送的固定比特的填充信息;该填充信息用于指示以下信息中的至少一种:填充了固定比特的编码块、固定比特的数目和位置;When the receiving device is a terminal, the receiver 41 is further configured to receive the padding information of the fixed bit sent by the sending device; the padding information is used to indicate at least one of the following information: a code filled with fixed bits The number and location of blocks, fixed bits;
所述处理器42还用于根据所述固定信息确定填充了固定比特的编码块。The processor 42 is further configured to determine, according to the fixed information, a coded block that is filled with fixed bits.
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当发送设备的至少一个处理器执行该执行指令时,发送设备执行上述的各种实施方式提供的数据的发送方法。The present application further provides a readable storage medium, where the readable storage medium stores execution instructions, and when the at least one processor of the transmitting device executes the execution instruction, the sending device executes the data sending method provided by the various embodiments described above. .
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当接收设备的至少一个处理器执行该执行指令时,接收设备执行上述的各种实施方式提供的数据的接收方法。The present application further provides a readable storage medium, where the readable storage medium stores execution instructions, and when the at least one processor of the receiving device executes the execution instruction, the receiving device performs the data receiving method provided by the various embodiments described above. .
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。发送设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得发送设备实施上述的各种实施方式提供的数据的发送方法。The application also provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the transmitting device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the transmitting device implements the method of transmitting data provided by the various embodiments described above.
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。接收设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得接收设备实施上述的各种实施方式提供的数据的接收方法。The application also provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the receiving device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the receiving device implements the method of receiving data provided by the various embodiments described above.
在上述发送设备或者接收设备的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the above embodiment of the transmitting device or the receiving device, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or may be other general-purpose processors, digital signal processors (English: Digital) Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the present application may be directly embodied by hardware processor execution or by a combination of hardware and software modules in a processor.
实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一可读取存储器中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储器(存储介质)包括:只读存储器(英文:read-only memory,缩写:ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(英文:magnetic tape)、软盘(英文:floppy disk)、光盘(英文:optical disc)及其任意组合。All or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps including the foregoing method embodiments are performed; and the foregoing memory (storage medium) includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, Solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.
最后应说明的是:尽管参照前述各实施例对本方案进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不能使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that although the present solution has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or All of the technical features are equivalently substituted; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (42)

  1. 一种数据的传输方法,其特征在于,包括:A data transmission method, comprising:
    发送设备将待发送的传输块分为一个或者至少两个编码块;The transmitting device divides the transport block to be transmitted into one or at least two code blocks;
    所述发送设备在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特;Transmitting, by the transmitting device, a fixed bit in a position with a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks;
    所述发送设备对所述一个或者至少两个编码块进行低密度奇偶校验LDPC编码,得到LDPC编码后的数据比特序列;Transmitting, by the sending device, low density parity check LDPC encoding on the one or at least two coding blocks, to obtain an LDPC coded data bit sequence;
    所述发送设备发送所述数据比特序列。The transmitting device transmits the sequence of data bits.
  2. 根据权利要求1中所述的方法,其特征在于,所述发送设备在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充所述固定比特为,若待发送的传输块分为至少两个编码块,则:The method according to claim 1, wherein said transmitting device fills said fixed bit with a bit with a minimum bit size or a minimum block size in at least one of said one or at least two coded blocks If the transport block to be transmitted is divided into at least two code blocks, then:
    所述发送设备在所述至少两个编码块中的第一个编码块中填充所述固定比特;或者,Transmitting, by the transmitting device, the fixed bit in a first one of the at least two coding blocks; or
    所述发送设备在所述至少两个编码块中的最后一个编码块中填充所述固定比特;或者,Transmitting, by the transmitting device, the fixed bit in a last one of the at least two coding blocks; or
    所述发送设备在所述至少两个编码块中的与接收设备约定的一个编码块中填充所述固定比特;或者Transmitting, by the transmitting device, the fixed bit in one coding block of the at least two coding blocks that is agreed with the receiving device; or
    所述发送设备在所述至少两个编码块中的与接收设备约定的两个或两个以上编码块中填充所述固定比特而不在余下的编码块中填充所述固定比特;或者Transmitting, by the transmitting device, the fixed bit in two or more coding blocks of the at least two coding blocks that are agreed with the receiving device, without filling the fixed bit in the remaining coding block; or
    所述发送设备在所述至少两个编码块中的每一个编码块中比特度最小或者块度最小的位置填充所述固定比特。The transmitting device fills the fixed bit at a position where the bit degree is the smallest or the block degree is the smallest in each of the at least two coding blocks.
  3. 如权利要求1或2所述的方法,其特征在于,每一所述编码块包括多个子块;每个子块都有相应的块度,其中块度值最小的子块为可靠性最低的子块。The method according to claim 1 or 2, wherein each of said coding blocks comprises a plurality of sub-blocks; each sub-block has a corresponding block degree, wherein the sub-block with the smallest block-degree value is the least reliable sub-block Piece.
  4. 如权利要求3所述的方法,其特征在于,每个子块的块度根据LDPC码的基矩阵各列的列重计算得到;或者The method according to claim 3, wherein the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix of the LDPC code; or
    每个子块的块度根据所述LDPC码的校验矩阵各列的列重计算得到。The blockiness of each sub-block is calculated from the column weight of each column of the check matrix of the LDPC code.
  5. 如权利要求1或2所述的方法,其特征在于,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。The method according to claim 1 or 2, characterized in that the position of each bit of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the bit position with the lowest reliability.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述发送设备将待发送的传输块分为一个或者至少两个编码块,包括:The method according to any one of claims 1 to 5, wherein the transmitting device divides the transport block to be transmitted into one or at least two coded blocks, including:
    所述发送设备获取用于编码所述传输块的LDPC码的最大信息比特长度;The transmitting device acquires a maximum information bit length of an LDPC code used to encode the transport block;
    所述发送设备确定所述传输块的长度是否大于所述最大信息比特长度,若所述传输块的长度大于所述最大信息比特长度,则将所述传输块分为至少两个编码块,否则所述传输块分为一个编码块。Determining, by the sending device, whether the length of the transport block is greater than the maximum information bit length, and if the length of the transport block is greater than the maximum information bit length, dividing the transport block into at least two coding blocks, otherwise The transport block is divided into one code block.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    所述发送设备根据预先规定的规则确定所述一个或者至少两个编码块中填充固定比特的编码块;Determining, by the sending device, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
    或者,or,
    所述发送设备发送填充信息,所述填充信息用于指示填充了所述固定比特的编码块。The transmitting device sends padding information, where the padding information is used to indicate a coding block that is filled with the fixed bits.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述固定比特为0或空。The method according to any one of claims 1 to 7, wherein the fixed bit is 0 or null.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述发送设备在所述一个或者至少两个编码块中比特度最小或者块度最小的位置填充所述固定比特之前,所述发送设备确定所述固定比特的数目。The method according to any one of claims 1 to 8, wherein the transmitting device fills the fixed bit at a position where the bit size is the smallest or the blockiness is the smallest among the one or at least two coding blocks. The transmitting device determines the number of the fixed bits.
  10. 一种数据的接收方法,其特征在于,包括:A method for receiving data, comprising:
    接收设备接收发送设备发送的至少一个数据比特序列;Receiving, by the receiving device, at least one data bit sequence sent by the sending device;
    所述接收设备对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块, 所述至少一个数据比特序列对应一个或者至少两个编码块;The receiving device performs LDPC decoding on each data bit sequence to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
    所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除所述固定比特。The receiving device removes the fixed bit from a coding block in which the fixed bit is filled in the one or at least two coding blocks.
  11. 根据权利要求10所述的方法,其特征在于,所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除固定比特之前,所述方法还包括:The method according to claim 10, wherein the method further comprises: before the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, the method further comprises:
    所述接收设备确定所述一个或者至少两个编码块中填充了固定比特的编码块。The receiving device determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method of claim 11 wherein the method further comprises:
    所述接收设备根据预先规定的规则确定所述一个或者至少两个编码块中填充了固定比特的编码块;Determining, by the receiving device, a coded block filled with fixed bits in the one or at least two coding blocks according to a predetermined rule;
    或者,or,
    所述接收设备接收所述发送设备发送的填充信息;所述填充信息用于指示填充了所述固定比特的编码块;Receiving, by the receiving device, padding information sent by the sending device, where the padding information is used to indicate a coding block that is filled with the fixed bit;
    所述接收设备根据所述填充信息确定所述一个或者至少两个编码块中填充了固定比特的编码块。The receiving device determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
  13. 根据权利要求10-12中任意一项所述的方法,其特征在于,所述接收设备从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特为,若所述一个或者至少两个编码块数目大于等于2,则:The method according to any one of claims 10 to 12, wherein the receiving device removes the fixed bit from the coded block filled with fixed bits in the one or at least two coding blocks, if If the number of one or at least two coding blocks is greater than or equal to 2, then:
    所述固定比特在第一个编码块中;或者,The fixed bit is in the first coding block; or,
    所述固定比特在最后一个编码块中;或者,The fixed bit is in the last code block; or,
    所述固定比特在与所述发送设备约定的一个编码块中;或者The fixed bit is in a coding block agreed with the transmitting device; or
    所述固定比特在与所述发送设备约定的两个或两个以上编码块中而不在所述一个或者至少两个编码块中余下的编码块中;或者The fixed bits are in two or more coded blocks agreed with the transmitting device and not in the remaining code blocks in the one or at least two code blocks; or
    所述固定比特在所述一个或者至少两个编码块中的每一个编码块中。The fixed bits are in each of the one or at least two coded blocks.
  14. 如权利要求10-13中任一项所述的方法,其特征在于,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。The method according to any one of claims 10 to 13, wherein each of the coding blocks comprises a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is reliable The least sub-block.
  15. 如权利要求14所述的方法,其特征在于,每个子块的块度根据所述基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。The method according to claim 14, wherein the blockiness of each sub-block is calculated according to the column weight of each column of the base matrix; or the blockiness of each sub-block is based on the column weight of each column of the check matrix Calculated.
  16. 如权利要求10-13中任一项所述的方法,其特征在于,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。The method according to any one of claims 10 to 13, wherein each bit position of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  17. 如权利要求10-16中任一项所述的方法,其特征在于,所述接收设备从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除所述固定比特之前,所述方法还包括:The method according to any one of claims 10 to 16, wherein the receiving device removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks The method further includes:
    所述接收设备确定所述固定比特的数目。The receiving device determines the number of the fixed bits.
  18. 一种数据的发送装置,其特征在于,包括:A data transmitting device, comprising:
    处理模块,用于将待发送的传输块分为一个或者至少两个编码块;所述处理模块在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特,对填充了所述固定比特后的编码块进行低密度奇偶校验LDPC编码,得到LDPC编码后的数据比特序列;a processing module, configured to divide the transport block to be transmitted into one or at least two coding blocks; the processing module has a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks Position filling a fixed bit, performing low-density parity check LDPC encoding on the coded block filled with the fixed bit, to obtain an LDPC-encoded data bit sequence;
    发送模块,用于发送所述数据比特序列发送设备。And a sending module, configured to send the data bit sequence sending device.
  19. 根据权利要求18中所述的装置,其特征在于,所述处理模块在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特为,若待发送的传输块分为至少两个编码块,则:The apparatus according to claim 18, wherein said processing module fills a fixed bit with a bit with a minimum bit size or a minimum block size in at least one of said one or at least two coded blocks, if The transport block to be transmitted is divided into at least two code blocks, then:
    所述处理模块在至少两个编码块中的第一个编码块中填充所述固定比特;或者,The processing module fills the fixed bit in a first one of the at least two coding blocks; or
    所述处理模块在至少两个编码块中的最后一个编码块中填充所述固定比特;或者,The processing module fills the fixed bit in a last one of the at least two coding blocks; or
    所述处理模块在至少两个编码块中的与接收设备约定的一个编码块中填充所述固定比特;或者The processing module fills the fixed bit in one of the at least two coding blocks that is agreed with the receiving device; or
    所述处理模块在至少两个编码块中的与接收设备约定的两个或两个以上编码块中填充所 述固定比特而不在余下的编码块中填充所述固定比特;或者The processing module fills the fixed bits in two or more coded blocks of the at least two coded blocks that are agreed with the receiving device without filling the fixed bits in the remaining coded blocks; or
    所述处理模块在至少两个编码块中的每一个编码块中填充所述固定比特。The processing module fills the fixed bits in each of the at least two coding blocks.
  20. 如权利要求18或19所述的装置,其特征在于,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。The apparatus according to claim 18 or 19, wherein each of said coding blocks comprises a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block-degree value is the least reliable sub-block Piece.
  21. 如权利要求20所述的装置,其特征在于,每个子块的块度根据所述LDPC码的基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。The apparatus according to claim 20, wherein a block degree of each sub-block is calculated according to a column weight of each column of a base matrix of the LDPC code; or a block degree of each sub-block is according to each column of the check matrix The column is calculated by weight.
  22. 如权利要求18或19所述的装置,其特征在于,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。The apparatus according to claim 18 or 19, wherein each bit position of said coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the bit position with the lowest reliability.
  23. 根据权利要求18至22中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 18 to 22, wherein the device further comprises:
    获取模块,用于获取用于编码所述传输块的LDPC码的最大信息比特长度;An obtaining module, configured to obtain a maximum information bit length of an LDPC code used to encode the transport block;
    所述处理模块确定所述传输块的长度是否大于所述最大信息比特长度,若所述传输块的长度大于所述最大信息比特长度,则所述处理模块将所述传输块分为至少两个编码块,否则所述处理模块将所述传输块分为一个编码块。The processing module determines whether the length of the transport block is greater than the maximum information bit length, and if the length of the transport block is greater than the maximum information bit length, the processing module divides the transport block into at least two Encoding blocks, otherwise the processing module divides the transport block into one coded block.
  24. 根据权利要求18至23中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 18 to 23, wherein the device further comprises:
    所述处理模块根据预先规定的规则确定所述一个或者至少两个编码块中填充固定比特的编码块;The processing module determines, according to a predetermined rule, a coded block filled with fixed bits in the one or at least two coding blocks;
    或者,or,
    所述处理模块发送填充信息,所述填充信息用于指示填充了所述固定比特的编码块。The processing module sends padding information for indicating a coded block that is filled with the fixed bits.
  25. 根据权利要求18至24中任一项所述的装置,其特征在于,所述固定比特为0或Null。The apparatus according to any one of claims 18 to 24, wherein the fixed bit is 0 or Null.
  26. 根据权利要求18至25中任一项所述的装置,其特征在于,所述处理模块在所述一个或者至少两个编码块中的至少一个编码块中比特度最小或者块度最小的位置填充固定比特之前,所述处理模块确定所述固定比特的数目。The apparatus according to any one of claims 18 to 25, wherein the processing module fills a position with a minimum bit size or a minimum block size in at least one of the one or at least two coding blocks The processing module determines the number of fixed bits before the bits are fixed.
  27. 一种数据接收装置,其特征在于,包括:A data receiving device, comprising:
    接收模块,用于接收发送设备发送的至少一个数据比特序列;a receiving module, configured to receive at least one data bit sequence sent by the sending device;
    处理模块,用于对每个数据比特序列进行LDPC译码,得到每个数据比特序列对应的编码块,所述至少一个数据比特序列对应一个或者至少两个编码块;a processing module, configured to perform LDPC decoding on each data bit sequence, to obtain a coding block corresponding to each data bit sequence, where the at least one data bit sequence corresponds to one or at least two coding blocks;
    所述处理模块还用于从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特。The processing module is further configured to remove fixed bits from the coded block filled with fixed bits in the one or at least two coding blocks.
  28. 根据权利要求27所述的装置,其特征在于,所述处理模块还用于从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特之前,还包括:The apparatus according to claim 27, wherein the processing module is further configured to: before removing the fixed bits from the coded block in which the fixed bits are filled in the one or at least two coding blocks, further comprising:
    所述处理模块确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processing module determines a coding block that is filled with fixed bits in the one or at least two coding blocks.
  29. 根据权利要求28所述的装置,其特征在于,所述处理模块确定所述一个或者至少两个编码块中填充了固定比特的编码块,包括:The apparatus according to claim 28, wherein the processing module determines the coded block filled with fixed bits in the one or at least two coding blocks, including:
    所述处理模块根据预先规定的规则确定所述一个或者至少两个编码块中填充了固定比特的编码块;The processing module determines, according to a predetermined rule, a coded block that is filled with fixed bits in the one or at least two coding blocks;
    或者,or,
    所述接收模块还用于接收所述发送设备发送的填充信息;所述填充信息用于指示填充了所述固定比特的编码块;The receiving module is further configured to receive the padding information sent by the sending device, where the padding information is used to indicate a coded block that is filled with the fixed bit;
    所述处理模块根据所述填充信息确定所述一个或者至少两个编码块中填充了固定比特的编码块。The processing module determines, according to the padding information, a coded block that is filled with fixed bits in the one or at least two coding blocks.
  30. 根据权利要求27-29中任意一项所述的装置,其特征在于,所述处理模块从所述一个或者至少两个编码块中填充了固定比特的编码块中去除固定比特为,若所述一个或者至少两个编码块数目大于等于2,则:The apparatus according to any one of claims 27 to 29, wherein the processing module removes the fixed bit from the coded block in which the fixed bit is filled in the one or at least two coding blocks, if If the number of one or at least two coding blocks is greater than or equal to 2, then:
    所述固定比特在第一个编码块中;或者,The fixed bit is in the first coding block; or,
    所述固定比特在最后一个编码块中;或者,The fixed bit is in the last code block; or,
    所述固定比特在与所述发送设备约定的一个编码块中;或者The fixed bit is in a coding block agreed with the transmitting device; or
    所述固定比特在与所述发送设备约定的两个或两个以上编码块中而不在所述一个或者至少两个编码块中余下的编码块中;或者The fixed bits are in two or more coded blocks agreed with the transmitting device and not in the remaining code blocks in the one or at least two code blocks; or
    所述固定比特在所述一个或者至少两个编码块中的每一个编码块中。The fixed bits are in each of the one or at least two coded blocks.
  31. 如权利要求27-30中任一项所述的装置,其特征在于,每一所述编码块包括多个子块;每个子块都有相应的块度;其中块度值最小的子块为可靠性最低的子块。The apparatus according to any one of claims 27 to 30, wherein each of said coding blocks comprises a plurality of sub-blocks; each sub-block has a corresponding block degree; wherein the sub-block with the smallest block value is reliable The least sub-block.
  32. 如权利要求31所述的装置,其特征在于,每个子块的块度根据所述基矩阵各列的列重计算得到;或者每个子块的块度根据所述校验矩阵各列的列重计算得到。The apparatus according to claim 31, wherein a blockiness of each sub-block is calculated according to a column weight of each column of the base matrix; or a block degree of each sub-block is weighted according to a column of each column of the check matrix Calculated.
  33. 如权利要求27-30中任一项所述的装置,其特征在于,所述编码块的每个比特的位置都有相应的比特度,其中比特度值最小的比特位置为可靠性最低的比特位置。The apparatus according to any one of claims 27 to 30, wherein each bit position of the coding block has a corresponding bit degree, wherein the bit position with the smallest bit value is the least reliable bit position.
  34. 如权利要求27-33中任一项所述的装置,其特征在于,所述处理模块从所述一个或者至少两个编码块中填充了所述固定比特的编码块中去除固定比特之前,所述装置还包括:The apparatus according to any one of claims 27 to 33, wherein the processing module removes fixed bits from the coded block in which the fixed bits are filled in the one or at least two coding blocks, The device also includes:
    所述处理模块确定所述固定比特的数目。The processing module determines the number of fixed bits.
  35. 一种数据的发送设备,其特征在于,所述设备包括:A data transmitting device, characterized in that the device comprises:
    处理器,用于实现权利要求1至9任一项所述的数据的传输方法;a processor for implementing the data transmission method according to any one of claims 1 to 9;
    发送器,用于发送所述数据比特序列。a transmitter for transmitting the sequence of data bits.
  36. 如权利要求35所述的设备,其特征在于,所述设备还包括:The device of claim 35, wherein the device further comprises:
    存储器,用于存储执行指令;所述存储器与所述处理器耦合。a memory for storing execution instructions; the memory being coupled to the processor.
  37. 一种数据接收设备,其特征在于,所述设备包括:A data receiving device, characterized in that the device comprises:
    接收器,用于接收发送设备发送的至少一个数据比特序列;a receiver, configured to receive at least one data bit sequence sent by the sending device;
    处理器,用于实现权利要求10至17任一项所述的数据的接收方法Processor for receiving data according to any one of claims 10 to 17
  38. 如权利要求35所述的设备,其特征在于,所述设备还包括:The device of claim 35, wherein the device further comprises:
    存储器,用于存储执行指令;所述存储器与所述处理器耦合。a memory for storing execution instructions; the memory being coupled to the processor.
  39. 一种可读存储介质,其特征在于,所述可读存储介质包括执行指令,所述执行指令用于实现权利要求1至9任一项所述的数据的传输方法。A readable storage medium, characterized in that the readable storage medium comprises an execution instruction for implementing the data transmission method according to any one of claims 1 to 9.
  40. 一种可读存储介质,其特征在于,所述可读存储介质包括执行指令,所述执行指令用于实现权利要求10至17任一项所述的数据的接收方法。A readable storage medium, characterized in that the readable storage medium comprises an execution instruction for implementing the data receiving method according to any one of claims 10 to 17.
  41. 一种程序产品,其特征在于,所述程序产品包括执行指令,所述执行指令用于发送设备执行权利要求1到9所述的方法。A program product, characterized in that the program product comprises an execution instruction for a transmitting device to perform the method of claims 1 to 9.
  42. 一种程序产品,其特征在于,所述程序产品包括执行指令,所述执行指令用于接收设备执行权利要求10到17所述的方法。A program product, characterized in that the program product comprises an execution instruction for a receiving device to perform the method of claims 10 to 17.
PCT/CN2018/072904 2017-01-24 2018-01-16 Encoding method and communication apparatus WO2018137519A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710060393.9A CN108347298B (en) 2017-01-24 2017-01-24 Coding method and communication device
CN201710060393.9 2017-01-24

Publications (1)

Publication Number Publication Date
WO2018137519A1 true WO2018137519A1 (en) 2018-08-02

Family

ID=62961958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072904 WO2018137519A1 (en) 2017-01-24 2018-01-16 Encoding method and communication apparatus

Country Status (2)

Country Link
CN (1) CN108347298B (en)
WO (1) WO2018137519A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114499758B (en) * 2022-01-10 2023-10-13 哲库科技(北京)有限公司 Channel coding method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242530A1 (en) * 2005-03-31 2006-10-26 Nec Laboratories America, Inc. Method for constructing finite-length low density parity check codes
CN101667884A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and device for coding channel and method and device for decoding channel
WO2015184914A1 (en) * 2014-09-10 2015-12-10 中兴通讯股份有限公司 Data packet processing method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026430B (en) * 2006-02-20 2013-11-06 华为技术有限公司 Method and system for removing interferences
CN101150378B (en) * 2006-09-18 2011-11-23 国家广播电影电视总局广播科学研究院 Interleaving scheme of 32APSK system for low-density checksum coding
US7644339B2 (en) * 2006-10-02 2010-01-05 Broadcom Corporation Overlapping sub-matrix based LDPC (low density parity check) decoder
JP5354979B2 (en) * 2007-07-12 2013-11-27 パナソニック株式会社 Low density parity check convolutional code (LDPC-CC) encoder and LDPC-CC decoder
CN100589327C (en) * 2007-09-25 2010-02-10 华为技术有限公司 Coding, decoding method and encoder, decoder
CN101141133B (en) * 2007-10-23 2011-09-14 北京邮电大学 Method of encoding structured low density check code
CN101764621B (en) * 2009-12-30 2012-12-26 西安空间无线电技术研究所 Method for realizing compatibility of short code and subcode in satellite-based (8176, 7156) LDPC coder
CN103684474B (en) * 2012-08-31 2016-08-17 中国科学院上海高等研究院 A kind of implementation method of high speed LDPC decoder
CN104143992B (en) * 2014-07-23 2017-05-10 西安空间无线电技术研究所 LDPC encoding method based on bit stuffing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242530A1 (en) * 2005-03-31 2006-10-26 Nec Laboratories America, Inc. Method for constructing finite-length low density parity check codes
CN101667884A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and device for coding channel and method and device for decoding channel
WO2015184914A1 (en) * 2014-09-10 2015-12-10 中兴通讯股份有限公司 Data packet processing method and device

Also Published As

Publication number Publication date
CN108347298B (en) 2021-01-15
CN108347298A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
RU2730434C1 (en) Speed matching methods for ldpc-codes
JP2023106572A (en) Subblock-wise interleaving for polar coding systems, procedures and signaling
CN107888198B (en) Quasi-cyclic LDPC (low density parity check) coding and decoding method and device and LDPC coder and decoder
CN108365848B (en) Polar code decoding method and device
WO2018099196A1 (en) Encoding and modulation method and communication device
US10608665B2 (en) Method and apparatus for error correction coding in communication
CN108347301B (en) Data transmission method and device
WO2019158031A1 (en) Encoding method, decoding method, encoding device, and decoding device
KR20170102173A (en) Data transfer method and device
JP7448594B2 (en) CRC interleaving pattern for polar codes
RU2725430C1 (en) Mcs for long ldpc codes
RU2739718C2 (en) Data transmission method, receiving side device and transmitting side device
WO2018076733A1 (en) Puncturing and retransmission techniques for encoded transmissions
EP3692637A1 (en) Interleaving before crc coding a nr pbch payload including known bits to enhance polar code performance
WO2022161201A1 (en) Methods and apparatus for coding modulation and demodulation decoding
CN107733439B (en) LDPC (Low Density parity check) coding method, coding device and communication equipment
WO2018137519A1 (en) Encoding method and communication apparatus
EP3602797A1 (en) Puncturing of polar codes with complementary sequences
CN111447042B (en) Polarization coding and decoding method and device
CN114079530A (en) Encoding method and device
US8751908B2 (en) Decoding device and method, and program
KR102438982B1 (en) Method and apparutus for encoding and decoding in a wireless communication system
CN108322285B (en) Data sending method, receiving method and device
US20190181882A1 (en) Determining elements of base matrices for quasi-cyclic ldpc codes having variable code lengths
CN110034851B (en) Encoding method, encoding device and system

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

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

Country of ref document: EP

Kind code of ref document: A1