WO2019056941A1 - Decoding method and device, and decoder - Google Patents

Decoding method and device, and decoder Download PDF

Info

Publication number
WO2019056941A1
WO2019056941A1 PCT/CN2018/103736 CN2018103736W WO2019056941A1 WO 2019056941 A1 WO2019056941 A1 WO 2019056941A1 CN 2018103736 W CN2018103736 W CN 2018103736W WO 2019056941 A1 WO2019056941 A1 WO 2019056941A1
Authority
WO
WIPO (PCT)
Prior art keywords
decoding
key set
information
bit
bits
Prior art date
Application number
PCT/CN2018/103736
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 WO2019056941A1 publication Critical patent/WO2019056941A1/en

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a decoding method, device, and decoder.
  • the Polar code is the first channel coding method that can theoretically be said to "reach" the channel capacity.
  • the Polar code is a linear block code whose generating matrix is G N and its encoding process is Is a binary line vector of length N (ie code length);
  • B N is an N ⁇ N transposed matrix, such as a bit reverse transposed matrix;
  • the multiplied by the generator matrix G N gives the encoded bits, and the process of multiplication is the process of encoding.
  • a part of the bits are used to carry information, called information bits, and the set of index bits of information bits is recorded as
  • the other part of the bit is set to a fixed value pre-agreed by the transceiver, which is called a fixed bit, and the set of indexes is used.
  • the fixed bit is usually set to 0, and only needs to be pre-agreed by the transceiver.
  • the fixed bit sequence can be arbitrarily set.
  • the decoding process of the existing method of the Successive Cancellation is: after receiving the information to be decoded (including information bits and fixed bits), Decoding the information bits in the information, calculating the Log Likelihood Ratio (LLR) of each information bit one by one, and performing bit-by-bit decision.
  • SC Successive Cancellation
  • the decoding result is 0, if the information bit If the LLR ⁇ 0, the decoding result is 1, and for the fixed bit in the information to be decoded, no matter how many decoding results of the LLR are set to 0, all the bits are sequentially decoded in order, and the result of the previous decoding bit As an input to the calculation of the latter decoding bit, once the error is judged, the error is spread and there is no chance to recover, so the decoding performance is not high.
  • L the preset path width
  • PM path metric
  • the L paths save and continue to develop the path to decode subsequent decoding bits, wherein the PM value is used to judge whether the path is good or bad, and the PM value is calculated by the LLR. For each level of decoding bits, the PM values of the L paths are sorted from small to large, and the correct path is filtered by the PM value, and so on, until the last bit is translated.
  • the number of decoding bits is very large.
  • the PM value of all paths under each decoding bit is calculated, and all paths are based on the PM value. Performing a sort, its computational complexity and decoding delay due to sorting are high.
  • the present application provides a decoding method and apparatus, and a decoder to reduce the computational complexity of the decoding of the Polar code and the decoding delay due to the sorting.
  • the present application provides a decoding method, including: determining an information bit set according to a number of information bits K and a target code length N of information to be decoded; determining a key set according to the information bit set, K and N, in a key set The probability of including the first bit of the decoded bit position is greater than the first threshold, and the key set is a subset of the set of information bits; and the information to be decoded is subjected to polarization decoding according to the key set and the preset rule, and the preset rule is: The information bits in the set are split by the decoding path, and the information bits outside the key set are bit-by-bit-determined to generate a decoding path.
  • the path metric PM value is selected.
  • the largest L paths save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
  • the information bit set is first determined according to the information bit number of the information to be decoded and the target code length, and the key set is determined according to the information bit set, K and N, and the key set is greater than the first threshold.
  • the probability includes decoding the first wrong position bit, performing polarization decoding on the information to be decoded according to the key set during decoding, and decoding the information bit in the key set when the decoding path is generated, outside the key set
  • the information bits are subjected to a bit-by-bit decision. Since the first bit position bit is included in the key set with a high probability, the decoding path will be split with a high probability at the first decoding error position, so the correct path is high probability.
  • the information bits in the key set are split by the coding path, and the information bits outside the key set are determined bit by bit, including:
  • u i is the information bit in the information bit set
  • S is the key set
  • L(u i ) is the log likelihood ratio LLR of u i
  • h( ⁇ ) is a hard decision function
  • a key set is determined based on the set of information bits, K and N, including:
  • All sub-blocks with a ratio of 1 are determined from the full binary tree, the sub-blocks with a ratio of 1 are sub-trees with all the leaf nodes being information bits, and the sub-blocks with a ratio of 1 contain the number of leaf nodes greater than or equal to 1;
  • the elements constituting the key set are determined from all sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each sub-block of ratio 1.
  • a full binary tree of depth n is constructed according to the information bit set, K and N, and all sub-blocks with a ratio of 1 are determined from the full binary tree, and are determined from all sub-blocks with a ratio of 1.
  • the decoding path will be translated at the first probability with high probability.
  • the position of the code error is split, so the correct path is retained in the current decoding path with high probability, so that better decoding performance is obtained, and the number of path splits is greatly reduced, the computational complexity is reduced, and the ordering band is reduced.
  • the decoding delay Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
  • the elements that make up the key set further include at least one of the remaining information bits in all of the sub-blocks of ratio 1.
  • the probability that the key set contains the bits of the decoded first error position can be further improved.
  • a key set is determined based on the set of information bits, K and N, including:
  • a key set corresponding to the information bit set, K and N is queried from the stored key set table, and the key set table stores the information bit set, the correspondence between K and N and the key set.
  • the decoding method provided by the embodiment after pre-storing the key set table, determining the information bit set according to the number of information bits of the information to be decoded and the target code length, and querying the information bit set from the stored key set table, A key set corresponding to K and N, thereby determining a key set including the first bit of the decoded bit position with high probability, and finally performing polarization decoding on the information to be decoded according to the key set and the preset rule, without constructing a full binary tree to determine the key
  • the set can further reduce the decoding delay.
  • the first threshold is 99%.
  • the present application provides a decoding apparatus, including: a first determining module, configured to determine an information bit set according to a number of information bits K and a target code length N of information to be decoded; and a second determining module, configured to The information bit set, K and N determine a key set, the key set includes a probability that the first bit of the decoded bit position is greater than the first threshold, the key set is a subset of the information bit set, and the decoding module is configured to The preset rule performs polarization decoding on the information to be decoded.
  • the preset rule is: splitting the information path of the information bits in the key set, and performing bit-by-bit decision on the information bits outside the key set to generate a decoding path.
  • the L paths with the largest path metric PM value are selected to be saved and continue to develop the decoding path, and each level of decoding is obtained according to the decoding path of each level of decoding bits. Bit decoding result.
  • the information bits in the key set are split by the coding path, and the information bits outside the key set are determined bit by bit, including:
  • u i is the information bit in the information bit set
  • S is the key set
  • L(u i ) is the log likelihood ratio LLR of u i
  • h( ⁇ ) is a hard decision function
  • the sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 contains the number of leaf nodes greater than or equal to 1;
  • the elements constituting the key set are determined among all the sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each of the sub-blocks having a ratio of 1.
  • the elements that make up the key set further include at least one of the remaining information bits in all of the sub-blocks of ratio 1.
  • the second determining module is configured to: query a key set corresponding to the information bit set, K and N from the stored key set table, as a key set, and store the information bit set in the key set table, K And the correspondence between N and the key set.
  • the first threshold is 99%.
  • the application provides a decoder, including: a memory and a processor;
  • the memory is used to store program instructions
  • the processor is operative to invoke program instructions in the memory to perform the first aspect and the decoding method in any of the possible designs of the first aspect.
  • the present application provides a readable storage medium having stored therein an execution instruction, where the decoding apparatus performs the first aspect and the first aspect when at least one processor of the decoding apparatus executes the execution instruction A coding method in any of the possible designs.
  • the present application provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the decoding device can read the execution instructions from a readable storage medium, the at least one processor executing the execution instructions such that the decoding device implements the first aspect and the decoding in any of the possible designs of the first aspect method.
  • 1 is a schematic diagram of a decoding path in an SCL algorithm
  • FIG. 2 is a schematic structural diagram of a system of a sending device and a receiving device provided by the present application
  • FIG. 6 is a flowchart of another embodiment of a decoding method provided by the present application.
  • FIG. 7 is a flowchart of another embodiment of a decoding method provided by the present application.
  • FIG. 9 is a schematic diagram of delay and complexity gain at different code rates using a Split-reduced decoding method
  • 10a-10f are comparison diagrams of BLER performances under different code length code rate configurations using a Split-reduced decoding method and a conventional CA-SCL decoding method;
  • FIG. 11 is a schematic structural diagram of an embodiment of a decoding device provided by the present application.
  • FIG. 12 is a schematic structural diagram of a decoder provided by the present application.
  • FIG. 13 is a schematic structural diagram of another decoder provided by the present application.
  • the embodiments of the present application can be applied to a wireless communication system.
  • the wireless communication system mentioned in the embodiments of the present application includes but is not limited to: Narrow Band-Internet of Things (NB-IoT), global mobile Global System for Mobile Communications (GSM), Enhanced Data Rate for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA) 2000 System (Code Division Multiple Access, CDMA2000), Time Division-Synchronization Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), and Next Generation 5G Mobile Communication System
  • eMBB Enhanced Mobile Broad Band
  • uRLLC Ultra-reliable and low-latency communications
  • mMTC Massive Machine-Type Communications
  • the communication device involved in the present application mainly includes a network device or a terminal device.
  • the decoding method provided by the present application may be implemented by software or hardware on the network device side/terminal device side. If the sending device in the present application is a network device, the receiving device is a terminal device; if the sending device in the present application is a terminal device , the receiving device is a network device.
  • the terminal device includes, but is not limited to, a mobile station (MS, Mobile Station), a mobile terminal (Mobile Terminal), a mobile telephone (Mobile Telephone), a mobile phone (handset), and a portable device (portable equipment). And so on, the terminal device can communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal device can be a mobile phone (or "cellular" phone), with wireless communication Functional computers, etc., terminal devices can also be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices or devices.
  • RAN Radio Access Network
  • terminal devices can also be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices or devices.
  • the network device may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station in a WCDMA system (NodeB) , NB), may also be an evolved base station (Evolved Node B, eNB or eNodeB) in the LTE system, or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network side in a future 5G network. Equipment or network equipment in the future evolution of the Public Land Mobile Network (PLMN).
  • BTS Base Transceiver Station
  • eNB evolved Node B
  • eNodeB evolved Node B
  • eNodeB evolved Node B
  • the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network side in a future 5G network.
  • the wireless communication system of the present application may include a transmitting device and a receiving device.
  • FIG. 1 is a schematic diagram of a system architecture of a sending device and a receiving device provided by the present application.
  • the sending device is an encoding side, which may be used for Encoding and outputting the encoded information, the encoded information is transmitted to the decoding side on the channel;
  • the receiving device is the decoding side, and can be used to receive the encoded information sent by the transmitting device, and decode the encoded information.
  • FIG. 2 is a schematic flow chart of a wireless communication system.
  • the source is sequentially sent after source coding, channel coding, rate matching, and digital modulation.
  • the destination is sequentially output by digital demodulation, de-rate matching, channel decoding, and source decoding.
  • the channel coding code may use a Polar code, and the channel decoding may use the decoding method provided by the present application.
  • the decoding method provided by the present application mainly relates to the decoding process of the Polar code.
  • the existing decoding method SCL when decoding each information bit, the translation corresponding to 0 and 1 is performed.
  • the code results are saved as two branch decoding paths.
  • the L paths with the best PM value are selected to be saved and the path is further developed to decode the subsequent decoding bits.
  • For each decoding bit calculate the PM value of all the paths under each decoding bit, and sort all the paths according to the PM value, the computational complexity and the decoding delay due to the sorting. In the text, the decoding delay is high.
  • the present application provides a decoding method, which determines a key set according to a set of information bits of information to be decoded, a number of information bits K of information to be decoded, and a target code length N, and the key set includes a decoding first error.
  • the probability of the position bit (the first decoding error bit) is greater than the first threshold value, and the information bits in the key set are split by the coding path at the time of decoding, and information other than the information bits in the key set is decoded.
  • the bit uses a hard decision function for bit-by-bit decision. Since the first bit position bit is included in the key set with high probability, the decoding path will split at the first decoding error position with high probability, so the correct path is high.
  • the probability is preserved in the current decoding path, so that better decoding performance is obtained, and the number of path splits is greatly reduced, thereby reducing the total number of decoding paths, thus reducing the number of paths for which the PM value is to be calculated and participating.
  • the number of sorted paths reduces computational complexity and decoding delay due to sorting, thus achieving a reduction in decoding performance while ensuring better decoding performance Polar code decoding computational complexity and decoding delay.
  • the leaf nodes ⁇ D, E, F, G ⁇ correspond to the information bits ⁇ u 1 , u 2 , u 3 , u 4 ⁇ , respectively, and a full binary tree as shown in the middle of FIG.
  • leaf nodes are represented by black, belonging to a fixed set of bits
  • the leaf nodes are represented by white nodes, and then the nodes in the full binary tree are dyed.
  • the coloring rule is: for non-leaf nodes (such as A, B, C), if the left and right child nodes have the same color, the node color and its children The color of the nodes is the same, otherwise the node is dyed as a gray node, and the dyed full binary tree is a full binary tree as shown on the right side of Figure 3, which is the final constructed full binary tree.
  • the root node corresponding to the all black binary tree such as node C in the full binary tree is called a subblock of ratio 1 (because its leaf nodes are all information) Bit), that is, a sub-block of ratio 1 is a subtree in which all leaf nodes are information bits.
  • the root node of an all-white binary tree such as Node B is a sub-block with a ratio of 0 (because its leaf nodes are fixed bits).
  • a sub-block is a component polar code.
  • the executor of this embodiment may be a network device or a terminal device as a sending device. As shown in FIG. 4, the method in this embodiment may include:
  • the target code lengths N and R of the information to be decoded may be determined, and the target code length is also referred to as the code length of the polarization code, and the value of K may be based on the code rate R and the code.
  • K M*R, M passes determine.
  • the existing information bit set may be determined by any existing method for constructing the information bit set, for example, by Gaussian Approximation (GA), Density Evolution (DE), and polarization weight. (Polar Weight, PW) and other methods to determine, taking the Gaussian approximation method as an example, specifically calculating the reliability of the polarized channel according to the Gaussian approximation method, and ranking the high reliability according to the polarization channel reliability in ascending or descending order.
  • the polarized channel is used as a subchannel of the information bit, and the index of the subchannel of the information bit is the index of the information bit, that is, the information bit set is determined.
  • Other information bit set construction methods are not enumerated in this embodiment.
  • S102 Determine a key set according to the information bit set, K and N.
  • the probability that the key set includes the first bit of the decoded bit position is greater than the first threshold, and the key set is a subset of the information bit set.
  • the decoding first error location bit may specifically be the first wrong location bit in the SC decoding process, and the first threshold is such that the key set includes the decoding first error location bit with a higher probability, and the first threshold may be It is 99%.
  • determining a key set according to the information bit set, K, and N may specifically include:
  • the dyeing rules are dyed.
  • the leaf nodes are black with information bits, and the leaf nodes are white for fixed bits. For non-leaf nodes, if the left and right child nodes have the same color, the node color is the same as its child node color. Otherwise, the node It is colored as a gray node.
  • S1022 determining all sub-blocks with a ratio of 1 from a full binary tree, the sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1. .
  • each subblock is a component polarization code, but only contains information bits.
  • subtree A is a component code of length 4, which contains information bits ⁇ u 13 , u 14 , u 15 , u 16 ⁇
  • subtree B is a component code of length 2, containing information bits ⁇ u 11 , u 12 ⁇
  • subtree C is a component code of length 2, including Information bits ⁇ u 7 , u 8 ⁇
  • subtree D is a component code of length 1 containing the information bits ⁇ u 6 ⁇ .
  • the sub-block with a ratio of 1 includes A, B, C, and D sub-trees, and the elements constituting the key set are determined from the sub-trees of A, B, C, and D, respectively.
  • the elements constituting the key set may further include: at least all of the remaining information bits in the sub-blocks of all ratios 1 An information bit, or taking the full binary tree shown in Figure 5 as an example, after taking the first information bit from the A, B, C, and D subtrees, since the D subtree contains only one information bit, from A and B.
  • the key set S is a subset of the set of information bits.
  • determining a key set according to the information bit set, K, and N may specifically include:
  • a key set corresponding to the information bit set, K and N is queried from the stored key set table, and the key set table stores the information bit set, the correspondence between K and N and the key set.
  • the first set of implementable manners and the second implementable manner may be used to determine different sets of information bits, and key sets corresponding to K and N, which are pre-stored in the key set table and receive information to be decoded.
  • the information bit set is determined according to the information bit number K of the information to be decoded and the target code length N, and then the key set corresponding to the information bit set, K and N can be directly queried from the key set table, and the method can further Reduce the decoding delay.
  • S103 Perform polarization decoding on the information to be decoded according to the key set and the preset rule.
  • the preset rule is: performing coding path splitting on the information bits in the key set, and performing bit-by-bit decision on the information bits outside the key set. Generating a decoding path. When the total number of decoding paths exceeds a preset path width L, the L paths with the largest PM value are selected to be saved and continue to develop the decoding path, and each decoding bit of each decoding bit is obtained. The decoding result of the primary decoding bit.
  • the information bits in the key set are split by the decoding path, and the path splitting is to save the decoding results corresponding to 0 and 1 as the two branch decoding paths, and the information bits except the information bits in the key set.
  • the bit-by-bit decision is used to generate a decoding path, and the fixed bit is also subjected to bit-by-bit decision.
  • the bit-by-bit decision result of the fixed bit is set to 0.
  • the path metric is selected.
  • the L paths with the largest PM value are saved and continue to develop the decoding path.
  • the SCL decoding method or the Cyclic redundancy check Aided-SCL (CA-SCL) decoding method can be used.
  • the same process determines the decoding path of each level of decoding bits, for example, using the same process as the SCL decoding method, that is, calculating the PM values of all decoding paths of each level of decoding bits and sorting them, PM The one decoding path with the largest value is used as the decoding path of the decoding bits, and finally the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
  • the calculation of the PM value may be performed by using an existing calculation method, which is not limited in this application.
  • the same process as the CA-SCL decoding method is used, that is, the PM values of all decoding paths of each level of decoding bits are calculated and sorted, and a decoding path having the largest PM value is used as decoding of decoding bits.
  • the path is verified by Cyclic Redundancy Check (CRC) to verify the correctness of the decoding path.
  • CRC Cyclic Redundancy Check
  • next level of information bits in the key set is two.
  • the next level of information bits outside the key set is one, as an implementable method, specifically:
  • u i is the information bit in the information bit set
  • S is the key set
  • L(u i ) is the log likelihood ratio LLR of u i
  • h( ⁇ ) is a hard decision function
  • the N LLRs corresponding to the information to be decoded are obtained by calculation, and the bit-by-bit decision result of the fixed bits is 0 according to the LLR and the hard decision function.
  • the key set since the key set includes decoding the first mis-location bit (the first decoding error bit) with a high probability, the information bits in the key set are translated at the time of decoding.
  • the code path is split, and the information bits except the information bits in the key set are bit-by-bit-determined.
  • the L paths with the largest PM value are selected and saved. Decoding the path, and finally obtaining the decoding result of each level of decoding bits according to the decoding path of each level of decoding bits. Since the first bit position bit is included in the key set with high probability, the decoding path will be high.
  • the total number of decoding paths thus reducing the number of paths for which the PM value is to be calculated and the number of paths participating in the ordering, thus reducing computational complexity and decoding delay due to sequencing.
  • the decoding method provided in this embodiment first determines an information bit set according to the number of information bits of the information to be decoded and the target code length, and determines a key set according to the information bit set, K and N, and the key set is greater than the first threshold.
  • the probability includes decoding the first wrong position bit, performing polarization decoding on the information to be decoded according to the key set during decoding, and decoding the information bit in the key set when the decoding path is generated, outside the key set
  • the information bits are bit-by-bit, and since the first mis-location bit is included in the key set with a high probability, the decoding path will split at the first decoding error position with a high probability, so the correct path is reserved with high probability.
  • FIG. 6 is a flowchart of another embodiment of a decoding method provided by the present application.
  • the executor of this embodiment may be a network device or a terminal device as a sending device.
  • a key set is determined by constructing a full binary tree. As shown in FIG. 6, the method in this embodiment may include:
  • S202 Construct a full binary tree with a depth n according to the information bit set, K and N.
  • the information bits and the fixed bits in the full binary tree are leaf nodes.
  • Dyeing the black leaf node is the information bit
  • the white leaf node is the fixed bit.
  • the color of the node is the same as the color of the child node, otherwise the node is colored as a gray node.
  • the sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1.
  • S204 Determine, from all sub-blocks with a ratio of 1, an element that constitutes a key set, and the elements that make up the key set are the first information bits in each sub-block of ratio 1.
  • the sub-block with a ratio of 1 includes A, B, C, and D sub-trees, and the elements constituting the key set are determined from the sub-trees of A, B, C, and D, respectively.
  • the step may also be:
  • At least one information bit can be taken out as an element constituting a key set.
  • the preset rule is: performing coding path splitting on information bits in the key set, performing bit-by-bit decision on information bits outside the key set, and generating a decoding path, when the total number of decoding paths exceeds a preset path width L
  • the L paths with the largest PM value are selected to save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
  • the decoding method provided in this embodiment first determines an information bit set according to the number of information bits of the information to be decoded and the target code length, and constructs a full binary tree with a depth n according to the information bit set, K and N, and determines from the full binary tree. All sub-blocks with a ratio of 1 determine the elements that make up the key set from all sub-blocks with a ratio of 1, thereby determining the key set including the first bit of the decoded bit with high probability, and finally treating according to the key set and the preset rule.
  • the decoding information is subjected to polarization decoding, and when the decoding path is generated, the information bits in the key set are split by the decoding path, and the information bits outside the key set are determined bit by bit, because the first wrong position bit is included with high probability In the key set, the decoding path will split at the first decoding error position with high probability, so the correct path is retained in the current decoding path with high probability, thus obtaining better decoding performance.
  • the number of path splits is greatly reduced, which reduces computational complexity and decoding delay due to sorting. Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
  • FIG. 7 is a flowchart of another embodiment of a decoding method provided by the present application.
  • the executor of the present embodiment may be a network device or a terminal device that is a sending device.
  • a key set is determined by querying a key set table.
  • the key set can be determined in the manner shown in FIG. 6 and stored in the key set table in advance.
  • the key set cannot be determined by constructing a full binary tree on the line, and the decoding delay can be further reduced.
  • the method in this embodiment may include :
  • the preset rule is: performing coding path splitting on information bits in the key set, performing bit-by-bit decision on information bits outside the key set, and generating a decoding path, when the total number of decoding paths exceeds a preset path width L
  • the L paths with the largest PM value are selected to save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
  • the decoding method provided in this embodiment after pre-storing the key set table, determining the information bit set according to the number of information bits of the information to be decoded and the target code length, and querying the information bit set from the stored key set table, K And a key set corresponding to N, thereby determining a key set including decoding the first error position bit with high probability, and finally performing polarization decoding on the information to be decoded according to the key set and the preset rule, comparing the embodiment shown in FIG.
  • the method provided can further reduce the decoding delay without constructing a full binary tree online to determine a key set.
  • the first in the SC decoding process is counted by Monte Carlo simulation.
  • the probability that a decoding error bit falls into the key set S is shown in Table 2.
  • the “falling into the set S” represents the first wrong position.
  • the bits belong to the key set.
  • the number of occurrences of S, "number of error frames” is the total number of frames in which the SC decoding process always fails, and "probability” is the ratio between “falling into the set S” and “number of error frames", "S size” The number of information bits included in the key set S.
  • SCL decoding has a serial decoding delay inherent in SC decoding.
  • the sorting delay (Sorting Latency) generated by filtering the 2L decoding paths, and L is the preset path width.
  • the decoding delay due to the serial decoding feature is 2N-2.
  • the decoding delay of the SCL decoder is:
  • the decoding delay of the SCL decoding method is related to the information bit position when the maximum number of paths is reached, and the corresponding decoding delay can be reduced by extending the sequence number of the decoding information bits corresponding to the maximum number of paths.
  • the total decoding delay can be calculated using 2N-2+(K-log 2 (L)) ⁇ Latency sort (L). Therefore, the decoding delay of the SCL decoder relative to the SC decoder, that is, the delay due to the ordering is
  • Latency sorting (K-log 2 (L)) ⁇ Latency sort (L) (Equation 1)
  • Latency sort varies depending on the sorting algorithm used, and is generally a function of the maximum number of paths.
  • the computational complexity of the SCL decoding method can be calculated using the following formula:
  • the one-time f operation and the one-time g operation in SC decoding include five addition operations and one comparison operation.
  • Q is the average complexity of one-time f calculation or one-time g operation.
  • CAS(L) is the Compare-And-Select complexity of the sorting algorithm used, which varies according to the sorting network selected. The complexity due to sorting can be calculated by:
  • the CAS corresponding to the bitonic sorter and the simplified bubble sorter is:
  • the decoding method provided by the present application (hereinafter referred to as Split-reduced SCL) will split the decoding path if and only if the information bits belong to the key set S, that is, the maximum number of Lists is reached. The time will be delayed, and the sorting delay of the Split-reduced SCL decoder is:
  • the decoding complexity due to sorting is:
  • S is the number of information bits of the key set.
  • FIG. 8 shows the signal-to-noise ratio (SNR) required for CA-SCL decoding with Split-reduced decoding method to achieve 0.1% error block rate (BLER) and the performance of traditional CA-SCL decoding method.
  • the comparison chart, the traditional CA-SCL decoding method is represented by Direct splitting in Figure 8. From the simulation results in Figure 8, it can be seen that the Split-reduced decoding method is compared to the traditional CA-SCL decoding method in BLER performance. With almost no loss, a decoding performance similar to that of the CA-SCL decoding method can be obtained.
  • FIG. 9 is a schematic diagram of delay and complexity gain at different code rates by using a Split-reduced decoding method. It can be seen that the Split-reduced decoding method of the present application has a relative code rate and a code length configuration. The conventional SCL decoder has lower decoding delay and complexity.
  • 10a-10f are BLER performance comparison diagrams of a different code length code rate configuration using a Split-reduced decoding method and a conventional CA-SCL decoding method.
  • the conventional CA-SCL decoding method uses Direct in FIG. 10a-10f. Splitting indicates that the information bits K in Figures 10a-10f are 32, 48, 64, 80, 120, and 200, respectively. It can be seen from the simulation results that the Split-reduced decoding of the present application is performed under an arbitrary code length code rate configuration.
  • the method can obtain the BLER decoding performance similar to the traditional CA-SCL decoding method, and has lower decoding delay and decoding complexity than the traditional CA-SCL decoder in decoding delay and complexity. degree.
  • FIG. 11 is a schematic structural diagram of an embodiment of a decoding device provided by the present application.
  • the apparatus in this embodiment may include: a first determining module 11, a second determining module 12, and a decoding module 13, where a determining module 11 is configured to determine an information bit set according to the information bit number K and the target code length N of the information to be decoded, and the second determining module 12 is configured to determine a key set according to the information bit set, K and N, the key The probability that the set includes the first bit of the decoded bit position is greater than the first threshold.
  • the first threshold is 99%.
  • the key set is a subset of the information bit set
  • the decoding module 13 uses And performing polarization decoding on the information to be decoded according to the key set and a preset rule, where the preset rule is: performing coding path splitting on information bits in the key set, for the key set
  • the information bits outside are subjected to a bit-by-bit decision to generate a decoding path.
  • the preset path width L the L paths with the largest PM value are selected and saved, and the decoding path is continued, according to each Level decoding Patent obtain a decoding result of the decoding paths each decoding a bit.
  • the information path in the key set is split by a coding path, and the information bits outside the key set are determined bit by bit.
  • the information may be:
  • u i is the information bit in the information bit set
  • S is the key set
  • L(u i ) is the log likelihood ratio LLR of u i
  • h( ⁇ ) is a hard decision function
  • the second determining module 12 is configured to:
  • a sub-block of 1 a sub-block of ratio 1 is a sub-tree in which all leaf nodes are information bits, and a sub-block having a ratio of 1 includes a number of leaf nodes greater than or equal to 1, and is determined from all sub-blocks having a ratio of 1.
  • the elements constituting the key set, the elements constituting the key set are the first information bits in each of the sub-blocks having a ratio of 1.
  • the elements constituting the key set further include: at least one information bit of the remaining information bits in all the sub-blocks with a ratio of 1.
  • the second determining module 12 is configured to: query, from the stored key set table, a key set corresponding to the information bit set, K and N, as the key set, where the information set bits are stored in the key set table The correspondence between sets, K, and N and key sets.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the application may divide the function module into the decoding device according to the above method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
  • FIG. 12 is a schematic structural diagram of a decoder provided by the present application, where the decoder 700 includes:
  • the memory 701 is configured to store program instructions, and the memory may be a flash memory.
  • the processor 702 is configured to call and execute program instructions in the memory to implement various steps in the decoding method shown in FIG. 4. For details, refer to the related description in the foregoing method embodiments.
  • FIG. 13 is a schematic structural diagram of another decoder provided by the present application.
  • the memory 701 is integrated with the processor 702.
  • the decoder of Figures 12 and 13 also includes a transceiver (not shown) for transceiving signals through the antenna.
  • the decoder can be used to perform various steps and/or processes corresponding to the decoding device in the above method embodiments.
  • the present application also provides a readable storage medium having stored therein an execution instruction, when the at least one processor of the decoding device executes the execution instruction, the decoding device performs the decoding provided by the various embodiments described above. method.
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the decoding device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the decoding device implements the decoding methods provided by the various embodiments described above.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

A method and device for decoding channel coding in a wireless communication system, and a decoder. The method comprises: determining an information bit set according to information bit quantity K and a target code length N of information to be decoded (S101), and determining a key set according to the information bit set, K and N, wherein the probability that the key set comprises a decoding first error position bit is greater than a first threshold value, and the key set is a subset of the information bit set (S102). According to the key set and a preset rule, polarization decoding is carried out on the information to be decoded, the preset rule being as follows: performing decoding path splitting on information bits in the key set, performing bit-by-bit determination for information bits outside of the key set, generating a decoding path, selecting L paths having the largest PM values when the total number of decoding paths exceeds a preset path width L, saving the same and continuously developing decoding paths, and obtaining a decoding result of each level of decoding bits according to the decoding path of each level of decoding bits (S103). Thus, computing complexity and decoding time delays, which are caused by sequencing, are reduced.

Description

译码方法及设备、译码器Decoding method and device, decoder 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种译码方法及设备、译码器。The present application relates to the field of communications technologies, and in particular, to a decoding method, device, and decoder.
背景技术Background technique
通信系统通常采用信道编码提高数据传输的可靠性,保证通信的质量。Polar(极化)码是第一种在理论上能够被证明“达到”信道容量的信道编码方法。Polar码是一种线性块码,其生成矩阵为G N,其编码过程为
Figure PCTCN2018103736-appb-000001
是一个二进制的行矢量,长度为N(即码长);且
Figure PCTCN2018103736-appb-000002
这里
Figure PCTCN2018103736-appb-000003
B N是一个N×N的转置矩阵,例如比特逆序转置矩阵;
Figure PCTCN2018103736-appb-000004
定义为log 2N个矩阵F 2的克罗内克(Kronecker)乘积,x 1 N是编码后的比特(也叫码字),
Figure PCTCN2018103736-appb-000005
与生成矩阵G N相乘后就得到编码后的比特,相乘的过程就是编码的过程。在Polar码的编码过程中,
Figure PCTCN2018103736-appb-000006
中的一部分比特用来携带信息,称为信息比特,信息比特的索引的集合记作
Figure PCTCN2018103736-appb-000007
中另外的一部分比特置为收发端预先约定的固定值,称之为固定比特,其索引的集合用
Figure PCTCN2018103736-appb-000008
的补集
Figure PCTCN2018103736-appb-000009
表示。固定比特通常被设为0,只需要收发端预先约定,固定比特序列可以被任意设置。
Communication systems usually use channel coding to improve the reliability of data transmission and ensure the quality of communication. The Polar code is the first channel coding method that can theoretically be said to "reach" the channel capacity. The Polar code is a linear block code whose generating matrix is G N and its encoding process is
Figure PCTCN2018103736-appb-000001
Is a binary line vector of length N (ie code length);
Figure PCTCN2018103736-appb-000002
Here
Figure PCTCN2018103736-appb-000003
B N is an N×N transposed matrix, such as a bit reverse transposed matrix;
Figure PCTCN2018103736-appb-000004
Defined as the Kronecker product of log 2 N matrices F 2 , x 1 N is the encoded bit (also called the codeword),
Figure PCTCN2018103736-appb-000005
The multiplied by the generator matrix G N gives the encoded bits, and the process of multiplication is the process of encoding. In the encoding process of the Polar code,
Figure PCTCN2018103736-appb-000006
A part of the bits are used to carry information, called information bits, and the set of index bits of information bits is recorded as
Figure PCTCN2018103736-appb-000007
The other part of the bit is set to a fixed value pre-agreed by the transceiver, which is called a fixed bit, and the set of indexes is used.
Figure PCTCN2018103736-appb-000008
Complement
Figure PCTCN2018103736-appb-000009
Said. The fixed bit is usually set to 0, and only needs to be pre-agreed by the transceiver. The fixed bit sequence can be arbitrarily set.
在Polar码的译码方法中,现有的一种逐比特消除译码方法(Successive Cancellation,SC)的译码过程为:接收到待译码信息(包括信息比特和固定比特)后,对于待译码信息中信息比特,逐个计算每一个信息比特的对数似然比(Log Likelihood Ratio,LLR),进行逐比特判决,若信息比特的LLR>0,则译码结果为0,若信息比特的LLR<0,则译码结果为1,对于待译码信息中的固定比特,无论LLR为多少译码结果都置为0,按顺序依次译出所有的比特,前一个译码比特的结果作为后一个译码比特计算的一个输入,一旦判错,会导致错误扩散,且没有机会挽回,因此译码性能不高。为解决这一问题,在逐次消除列表算法(Successive Cancellation List,SCL)中,SCL算法在译码每个信息比特时,将0和1对应的译码结果都保存作为2个分支译码路径(简称路径分裂),图1为SCL算法中的译码路径示意图,如图1所示,每一层代表1个译码比特,若译码结果为0,则沿着左子树发展路径,若译码结果为1,则沿着右子树发展路径,当译码路径的总数超过预设的路径宽度L(一般L=2 l)时,选择出路径度量(Path Metric,PM)值最佳的L条路径保存并继续发展路径以译出后续的译码比特,其中的PM值用于判断路径的好坏,PM值通过LLR计算得出。对于每一级的译码比特,对L条路径的PM值按照从小到大排序,并通过PM值筛选出正确的路径,如此反复,直到译完最后一个比特。 In the decoding method of the Polar code, the decoding process of the existing method of the Successive Cancellation (SC) is: after receiving the information to be decoded (including information bits and fixed bits), Decoding the information bits in the information, calculating the Log Likelihood Ratio (LLR) of each information bit one by one, and performing bit-by-bit decision. If the LLR of the information bit is > 0, the decoding result is 0, if the information bit If the LLR<0, the decoding result is 1, and for the fixed bit in the information to be decoded, no matter how many decoding results of the LLR are set to 0, all the bits are sequentially decoded in order, and the result of the previous decoding bit As an input to the calculation of the latter decoding bit, once the error is judged, the error is spread and there is no chance to recover, so the decoding performance is not high. To solve this problem, in the Successive Cancellation List (SCL), the SCL algorithm saves the decoding results corresponding to 0 and 1 as two branch decoding paths when decoding each information bit ( Referred to as path splitting, Figure 1 is a schematic diagram of the decoding path in the SCL algorithm. As shown in Figure 1, each layer represents one decoding bit. If the decoding result is 0, the path is developed along the left subtree. If the decoding result is 1, the path is developed along the right subtree. When the total number of decoding paths exceeds the preset path width L (generally L=2 l ), the path metric (PM) value is selected to be the best. The L paths save and continue to develop the path to decode subsequent decoding bits, wherein the PM value is used to judge whether the path is good or bad, and the PM value is calculated by the LLR. For each level of decoding bits, the PM values of the L paths are sorted from small to large, and the correct path is filtered by the PM value, and so on, until the last bit is translated.
在实际应用中,译码比特的数目是非常大的,使用SCL译码方法,对于每一个译码比特,都要计算每一个译码比特下所有路径的PM值,并对所有路径根据PM值进行一次排序,其计算复杂度和由于排序带来的译码时延都很高。In practical applications, the number of decoding bits is very large. Using the SCL decoding method, for each decoding bit, the PM value of all paths under each decoding bit is calculated, and all paths are based on the PM value. Performing a sort, its computational complexity and decoding delay due to sorting are high.
发明内容Summary of the invention
本申请提供一种译码方法及设备、译码器,以降低Polar码译码的计算复杂度和由于排序带来的译码时延。The present application provides a decoding method and apparatus, and a decoder to reduce the computational complexity of the decoding of the Polar code and the decoding delay due to the sorting.
第一方面,本申请提供一种译码方法,包括:根据待译码信息的信息比特数量K和目标码长N确定信息比特集合;根据信息比特集合、K和N确定关键集合,关键集合中包含译码首错位置比特的概率大于第一门限值,关键集合为信息比特集合的子集;根据关键集合和预设规则对待译码信息进行极化译码,预设规则为:对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出路径度量PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。In a first aspect, the present application provides a decoding method, including: determining an information bit set according to a number of information bits K and a target code length N of information to be decoded; determining a key set according to the information bit set, K and N, in a key set The probability of including the first bit of the decoded bit position is greater than the first threshold, and the key set is a subset of the set of information bits; and the information to be decoded is subjected to polarization decoding according to the key set and the preset rule, and the preset rule is: The information bits in the set are split by the decoding path, and the information bits outside the key set are bit-by-bit-determined to generate a decoding path. When the total number of decoding paths exceeds the preset path width L, the path metric PM value is selected. The largest L paths save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
通过第一方面提供的译码方法,首先根据待译码信息的信息比特数量和目标码长确定信息比特集合,根据信息比特集合、K和N确定关键集合,关键集合以大于第一门限值的概率包括译码首错位置比特,在译码时根据关键集合对待译码信息进行极化译码,生成译码路径时对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,降低了计算复杂度和由于排序带来的译码时延。因此,实现了在保证较好的译码性能的同时降低Polar码译码的计算复杂度和译码时延。According to the decoding method provided by the first aspect, the information bit set is first determined according to the information bit number of the information to be decoded and the target code length, and the key set is determined according to the information bit set, K and N, and the key set is greater than the first threshold. The probability includes decoding the first wrong position bit, performing polarization decoding on the information to be decoded according to the key set during decoding, and decoding the information bit in the key set when the decoding path is generated, outside the key set The information bits are subjected to a bit-by-bit decision. Since the first bit position bit is included in the key set with a high probability, the decoding path will be split with a high probability at the first decoding error position, so the correct path is high probability. It is retained in the current decoding path, so that better decoding performance is obtained, and the number of path splits is greatly reduced, which reduces computational complexity and decoding delay due to sorting. Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
在一种可能的设计中,对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,包括:In a possible design, the information bits in the key set are split by the coding path, and the information bits outside the key set are determined bit by bit, including:
Figure PCTCN2018103736-appb-000010
Figure PCTCN2018103736-appb-000010
其中,u i为信息比特集合中的信息比特,S为关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
Figure PCTCN2018103736-appb-000011
Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
Figure PCTCN2018103736-appb-000011
在一种可能的设计中,根据信息比特集合、K和N确定关键集合,包括:In one possible design, a key set is determined based on the set of information bits, K and N, including:
根据信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,满二叉树中信息比特和固定比特均为叶子节点; Constructing a full binary tree of depth n according to the information bit set, K and N, n=log 2 N, and the information bits and fixed bits in the full binary tree are leaf nodes;
从满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1;All sub-blocks with a ratio of 1 are determined from the full binary tree, the sub-blocks with a ratio of 1 are sub-trees with all the leaf nodes being information bits, and the sub-blocks with a ratio of 1 contain the number of leaf nodes greater than or equal to 1;
从所有比率为1的子块中确定组成关键集合的元素,组成关键集合的元素为每一个比率为1的子块中的第一个信息比特。The elements constituting the key set are determined from all sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each sub-block of ratio 1.
通过该实施方式提供的译码方法,根据信息比特集合、K和N构造深度为n的满二叉树,从满二叉树中确定出所有比率为1的子块,从所有比率为1的子块中确定组成关键集合的元素,从而确定出以高概率包括译码首错位置比特的关键集合,最后根 据关键集合和预设规则对待译码信息进行极化译码,生成译码路径时对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,降低了计算复杂度和由于排序带来的译码时延。因此,实现了在保证较好的译码性能的同时降低Polar码译码的计算复杂度和译码时延。With the decoding method provided by this embodiment, a full binary tree of depth n is constructed according to the information bit set, K and N, and all sub-blocks with a ratio of 1 are determined from the full binary tree, and are determined from all sub-blocks with a ratio of 1. Forming the elements of the key set, thereby determining a key set including the first bit of the decoded bit position with high probability, and finally performing polarization decoding on the information to be decoded according to the key set and the preset rule, and generating the decoding path into the key set The information bits are split by the decoding path, and the information bits outside the key set are bit-by-bit-determined. Since the first wrong position bit is included in the key set with high probability, the decoding path will be translated at the first probability with high probability. The position of the code error is split, so the correct path is retained in the current decoding path with high probability, so that better decoding performance is obtained, and the number of path splits is greatly reduced, the computational complexity is reduced, and the ordering band is reduced. The decoding delay. Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
在一种可能的设计中,组成关键集合的元素还包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特。In one possible design, the elements that make up the key set further include at least one of the remaining information bits in all of the sub-blocks of ratio 1.
通过该实施方式提供的译码方法,可进一步提高关键集合包含译码首错位置比特的概率。With the decoding method provided by this embodiment, the probability that the key set contains the bits of the decoded first error position can be further improved.
在一种可能的设计中,根据信息比特集合、K和N确定关键集合,包括:In one possible design, a key set is determined based on the set of information bits, K and N, including:
从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,作为关键集合,关键集合表中存储信息比特集合、K和N与关键集合的对应关系。A key set corresponding to the information bit set, K and N is queried from the stored key set table, and the key set table stores the information bit set, the correspondence between K and N and the key set.
通过该实施方式提供的译码方法,通过预先存储关键集合表,根据待译码信息的信息比特数量和目标码长确定出信息比特集合后,从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,从而确定出以高概率包括译码首错位置比特的关键集合,最后根据关键集合和预设规则对待译码信息进行极化译码,不用在线构造满二叉树确定关键集合,可进一步降低译码时延。The decoding method provided by the embodiment, after pre-storing the key set table, determining the information bit set according to the number of information bits of the information to be decoded and the target code length, and querying the information bit set from the stored key set table, A key set corresponding to K and N, thereby determining a key set including the first bit of the decoded bit position with high probability, and finally performing polarization decoding on the information to be decoded according to the key set and the preset rule, without constructing a full binary tree to determine the key The set can further reduce the decoding delay.
在一种可能的设计中,第一门限值为99%。In one possible design, the first threshold is 99%.
第二方面,本申请提供一种译码设备,包括:第一确定模块,用于根据待译码信息的信息比特数量K和目标码长N确定信息比特集合;第二确定模块,用于根据信息比特集合、K和N确定关键集合,关键集合中包含译码首错位置比特的概率大于第一门限值,关键集合为信息比特集合的子集;译码模块,用于根据关键集合和预设规则对待译码信息进行极化译码,预设规则为:对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出路径度量PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。In a second aspect, the present application provides a decoding apparatus, including: a first determining module, configured to determine an information bit set according to a number of information bits K and a target code length N of information to be decoded; and a second determining module, configured to The information bit set, K and N determine a key set, the key set includes a probability that the first bit of the decoded bit position is greater than the first threshold, the key set is a subset of the information bit set, and the decoding module is configured to The preset rule performs polarization decoding on the information to be decoded. The preset rule is: splitting the information path of the information bits in the key set, and performing bit-by-bit decision on the information bits outside the key set to generate a decoding path. When the total number of decoding paths exceeds the preset path width L, the L paths with the largest path metric PM value are selected to be saved and continue to develop the decoding path, and each level of decoding is obtained according to the decoding path of each level of decoding bits. Bit decoding result.
在一种可能的设计中,对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,包括:In a possible design, the information bits in the key set are split by the coding path, and the information bits outside the key set are determined bit by bit, including:
Figure PCTCN2018103736-appb-000012
Figure PCTCN2018103736-appb-000012
其中,u i为信息比特集合中的信息比特,S为关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
Figure PCTCN2018103736-appb-000013
Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
Figure PCTCN2018103736-appb-000013
在一种可能的设计中,第二确定模块用于:根据信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,满二叉树中信息比特和固定比特均为叶子节点;从满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子 树,比率为1的子块所包含的叶子节点数目大于或等于1;从所有比率为1的子块中确定组成关键集合的元素,组成关键集合的元素为每一个比率为1的子块中的第一个信息比特。 In a possible design, the second determining module is configured to: construct a full binary tree with a depth n according to the information bit set, K and N, n=log 2 N, and the information bits and the fixed bits in the full binary tree are leaf nodes; All sub-blocks with a ratio of 1 are determined from the full binary tree. The sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 contains the number of leaf nodes greater than or equal to 1; The elements constituting the key set are determined among all the sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each of the sub-blocks having a ratio of 1.
在一种可能的设计中,组成关键集合的元素还包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特。In one possible design, the elements that make up the key set further include at least one of the remaining information bits in all of the sub-blocks of ratio 1.
在一种可能的设计中,第二确定模块用于:从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,作为关键集合,关键集合表中存储信息比特集合、K和N与关键集合的对应关系。In a possible design, the second determining module is configured to: query a key set corresponding to the information bit set, K and N from the stored key set table, as a key set, and store the information bit set in the key set table, K And the correspondence between N and the key set.
在一种可能的设计中,第一门限值为99%。In one possible design, the first threshold is 99%.
上述第二方面以及上述第二方面的各可能的设计所提供的译码设备,其有益效果可以参见上述第一方面和第一方面的各可能的设计所带来的有益效果,在此不再赘述。The beneficial effects of the decoding apparatus provided by the above second aspect and the possible designs of the above second aspect can be seen in the beneficial effects brought by the above first aspect and the possible designs of the first aspect, and no longer Narration.
第三方面,本申请提供一种译码器,包括:存储器和处理器;In a third aspect, the application provides a decoder, including: a memory and a processor;
存储器用于存储程序指令;The memory is used to store program instructions;
处理器用于调用存储器中的程序指令执行第一方面及第一方面任一种可能的设计中的译码方法。The processor is operative to invoke program instructions in the memory to perform the first aspect and the decoding method in any of the possible designs of the first aspect.
第四方面,本申请提供一种可读存储介质,可读存储介质中存储有执行指令,当译码装置的至少一个处理器执行该执行指令时,译码装置执行第一方面及第一方面任一种可能的设计中的译码方法。In a fourth aspect, the present application provides a readable storage medium having stored therein an execution instruction, where the decoding apparatus performs the first aspect and the first aspect when at least one processor of the decoding apparatus executes the execution instruction A coding method in any of the possible designs.
第五方面,本申请提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。译码装置的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得译码装置实施第一方面及第一方面任一种可能的设计中的译码方法。In a fifth aspect, the present application provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the decoding device can read the execution instructions from a readable storage medium, the at least one processor executing the execution instructions such that the decoding device implements the first aspect and the decoding in any of the possible designs of the first aspect method.
附图说明DRAWINGS
图1为SCL算法中的译码路径示意图;1 is a schematic diagram of a decoding path in an SCL algorithm;
图2为本申请提供的一种发送设备和接收设备的系统架构示意图;2 is a schematic structural diagram of a system of a sending device and a receiving device provided by the present application;
图3为N=4时构造满二叉树的过程示意图;3 is a schematic diagram of a process of constructing a full binary tree when N=4;
图4为本申请提供的一种译码方法实施例的流程图;4 is a flowchart of an embodiment of a decoding method provided by the present application;
图5为N=16时构造的满二叉树;Figure 5 is a full binary tree constructed with N = 16;
图6为本申请提供的另一种译码方法实施例的流程图;FIG. 6 is a flowchart of another embodiment of a decoding method provided by the present application;
图7为本申请提供的另一种译码方法实施例的流程图;FIG. 7 is a flowchart of another embodiment of a decoding method provided by the present application;
图8为采用Split-reduced译码方法的CA-SCL译码达到0.1%BLER所需的SNR与传统CA-SCL译码方法性能的对比图;8 is a comparison diagram of the SNR required for CA-SCL decoding to achieve 0.1% BLER using the Split-reduced decoding method and the performance of the conventional CA-SCL decoding method;
图9为采用Split-reduced译码方法在不同码率下的时延与复杂度增益示意图;9 is a schematic diagram of delay and complexity gain at different code rates using a Split-reduced decoding method;
图10a-图10f为采用Split-reduced译码方法与传统CA-SCL译码方法在不同码长码率配置下的BLER性能对比图;10a-10f are comparison diagrams of BLER performances under different code length code rate configurations using a Split-reduced decoding method and a conventional CA-SCL decoding method;
图11为本申请提供的译码设备实施例的结构示意图;FIG. 11 is a schematic structural diagram of an embodiment of a decoding device provided by the present application;
图12为本申请提供的一种译码器的结构示意图;12 is a schematic structural diagram of a decoder provided by the present application;
图13为本申请提供的另一种译码器的结构示意图。FIG. 13 is a schematic structural diagram of another decoder provided by the present application.
具体实施方式Detailed ways
本申请实施例可以应用于无线通信系统,需要说明的是,本申请实施例提及的无线通信系统包括但不限于:窄带物联网系统(Narrow Band-Internet of Things,NB-IoT)、全球移动通信系统(Global System for Mobile Communications,GSM)、增强型数据速率GSM演进系统(Enhanced Data rate for GSM Evolution,EDGE)、宽带码分多址系统(Wideband Code Division Multiple Access,WCDMA)、码分多址2000系统(Code Division Multiple Access,CDMA2000)、时分同步码分多址系统(Time Division-Synchronization Code Division Multiple Access,TD-SCDMA),长期演进系统(Long Term Evolution,LTE)以及下一代5G移动通信系统的三大应用场景增强型移动宽带(Enhanced Mobile Broad Band,eMBB)、超低时延超高可靠通信(Ultra-reliable and low-latency communications,uRLLC)以及大规模机器通信(Massive Machine-Type Communications,mMTC)。The embodiments of the present application can be applied to a wireless communication system. It should be noted that the wireless communication system mentioned in the embodiments of the present application includes but is not limited to: Narrow Band-Internet of Things (NB-IoT), global mobile Global System for Mobile Communications (GSM), Enhanced Data Rate for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA) 2000 System (Code Division Multiple Access, CDMA2000), Time Division-Synchronization Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), and Next Generation 5G Mobile Communication System The three major application scenarios: Enhanced Mobile Broad Band (eMBB), Ultra-reliable and low-latency communications (uRLLC), and Massive Machine-Type Communications (Massive Machine-Type Communications, mMTC).
本申请涉及的通信装置主要包括网络设备或者终端设备。本申请提供的译码方法可以在网络设备侧/终端设备侧由软件或硬件实现,若本申请中的发送设备为网络设备,则接收设备为终端设备;若本申请中的发送设备为终端设备,则接收设备为网络设备。The communication device involved in the present application mainly includes a network device or a terminal device. The decoding method provided by the present application may be implemented by software or hardware on the network device side/terminal device side. If the sending device in the present application is a network device, the receiving device is a terminal device; if the sending device in the present application is a terminal device , the receiving device is a network device.
在本申请实施例中,终端设备(terminal device)包括但不限于移动台(MS,Mobile Station)、移动终端(Mobile Terminal)、移动电话(Mobile Telephone)、手机(handset)及便携设备(portable equipment)等,该终端设备可以经无线接入网(RAN,Radio Access Network)与一个或多个核心网进行通信,例如,终端设备可以是移动电话(或称为“蜂窝”电话)、具有无线通信功能的计算机等,终端设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置或设备。In the embodiment of the present application, the terminal device includes, but is not limited to, a mobile station (MS, Mobile Station), a mobile terminal (Mobile Terminal), a mobile telephone (Mobile Telephone), a mobile phone (handset), and a portable device (portable equipment). And so on, the terminal device can communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal device can be a mobile phone (or "cellular" phone), with wireless communication Functional computers, etc., terminal devices can also be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices or devices.
在本申请实施例中,网络设备可以是用于与终端设备进行通信的设备,例如,可以是GSM系统或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolved Node B,eNB或eNodeB),或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络侧设备或未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。In the embodiment of the present application, the network device may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station in a WCDMA system (NodeB) , NB), may also be an evolved base station (Evolved Node B, eNB or eNodeB) in the LTE system, or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network side in a future 5G network. Equipment or network equipment in the future evolution of the Public Land Mobile Network (PLMN).
本申请的无线通信系统可以包括发送设备和接收设备,图1为本申请提供的一种发送设备和接收设备的系统架构示意图,如图1所示,其中,发送设备为编码侧,可以用于编码和输出编码信息,编码信息在信道上传输至译码侧;接收设备为译码侧,可以用于接收发送设备发送的编码信息,并对该编码信息译码。The wireless communication system of the present application may include a transmitting device and a receiving device. FIG. 1 is a schematic diagram of a system architecture of a sending device and a receiving device provided by the present application. As shown in FIG. 1 , the sending device is an encoding side, which may be used for Encoding and outputting the encoded information, the encoded information is transmitted to the decoding side on the channel; the receiving device is the decoding side, and can be used to receive the encoded information sent by the transmitting device, and decode the encoded information.
图2为一种无线通信系统的流程示意图,如图2所示,在发送设备侧,信源依次经过信源编码、信道编码、速率匹配和数字调制后发出。在接收设备侧,依次通过数字解调、解速率匹配、信道译码和信源译码输出信宿。信道编译码可以采用Polar码,信道译码可以采用本申请提供的译码方法。2 is a schematic flow chart of a wireless communication system. As shown in FIG. 2, on the transmitting device side, the source is sequentially sent after source coding, channel coding, rate matching, and digital modulation. On the receiving device side, the destination is sequentially output by digital demodulation, de-rate matching, channel decoding, and source decoding. The channel coding code may use a Polar code, and the channel decoding may use the decoding method provided by the present application.
本申请提供的译码方法主要涉及Polar码的译码过程,为得到较好的译码性能,现有的译码方法SCL中,在译码每个信息比特时,将0和1对应的译码结果都保存作为2个分支译码路径,当译码路径的总数超过预设的路径宽度L时,选择出PM值最佳的L条路径保存并继续发展路径以译出后续的译码比特,对于每一个译码比特,都 要计算每一个译码比特下所有路径的PM值,并对所有路径根据PM值进行一次排序,其计算复杂度和由于排序带来的译码时延(下文中简称译码时延)都很高。针对上述问题,本申请提供一种译码方法,根据待译码信息的信息比特集合、待译码信息的信息比特数量K和目标码长N确定出关键集合,关键集合中包含译码首错位置比特(第一个译码错误的比特)的概率大于第一门限值,在译码时对关键集合中的信息比特进行译码路径分裂,对除了关键集合中的信息比特之外的信息比特采用硬判决函数进行逐比特判决,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,从而减少了译码路径的总数,因此降低了所要计算PM值的路径数目以及参与排序的路径数目,降低计算复杂度和由于排序带来的译码时延,因此,实现了在保证较好的译码性能的同时降低Polar码译码的计算复杂度和译码时延。下面结合附图详细说明本申请提供的译码方法及设备、译码器。The decoding method provided by the present application mainly relates to the decoding process of the Polar code. In order to obtain better decoding performance, in the existing decoding method SCL, when decoding each information bit, the translation corresponding to 0 and 1 is performed. The code results are saved as two branch decoding paths. When the total number of decoding paths exceeds the preset path width L, the L paths with the best PM value are selected to be saved and the path is further developed to decode the subsequent decoding bits. For each decoding bit, calculate the PM value of all the paths under each decoding bit, and sort all the paths according to the PM value, the computational complexity and the decoding delay due to the sorting. In the text, the decoding delay is high. To solve the above problem, the present application provides a decoding method, which determines a key set according to a set of information bits of information to be decoded, a number of information bits K of information to be decoded, and a target code length N, and the key set includes a decoding first error. The probability of the position bit (the first decoding error bit) is greater than the first threshold value, and the information bits in the key set are split by the coding path at the time of decoding, and information other than the information bits in the key set is decoded. The bit uses a hard decision function for bit-by-bit decision. Since the first bit position bit is included in the key set with high probability, the decoding path will split at the first decoding error position with high probability, so the correct path is high. The probability is preserved in the current decoding path, so that better decoding performance is obtained, and the number of path splits is greatly reduced, thereby reducing the total number of decoding paths, thus reducing the number of paths for which the PM value is to be calculated and participating. The number of sorted paths reduces computational complexity and decoding delay due to sorting, thus achieving a reduction in decoding performance while ensuring better decoding performance Polar code decoding computational complexity and decoding delay. The decoding method, device and decoder provided by the present application are described in detail below with reference to the accompanying drawings.
为方便起见,首先给出本申请中可能用到的参数的定义,如表一所示:For the sake of convenience, the definitions of the parameters that may be used in this application are first given, as shown in Table 1:
表一Table I
Figure PCTCN2018103736-appb-000014
Figure PCTCN2018103736-appb-000014
下面对本申请中涉及的满二叉树、比率为1的子块和比率为0的子块做一简单介绍,以N=4,K=2,R=2/4的极化码为例进行说明,其中信息比特集合
Figure PCTCN2018103736-appb-000015
首先根据N构造一棵深度为n=log 2(N)=2的满二叉树,图3为N=4时构造满二叉树的过程示意图,如图3中左边所示的一棵满二叉树,其4个叶子节点{D,E,F,G}分别对应信息比特{u 1,u 2,u 3,u 4},如图3中中间所示的一棵满二叉树,对于属于信息比特集合
Figure PCTCN2018103736-appb-000016
的比特,叶子节点用黑色来表示,属于固定比特集合
Figure PCTCN2018103736-appb-000017
的叶子节点则用白色节点来表示,接着对满二叉树中的节点染色,染色规则为:对于非叶子节点(如A,B,C),如果其左右孩子节点颜色一致,则该节点颜色与其孩子节点颜色一致,否则该节点被染色为灰色节点,染色后的满二叉树如图3右边所示的一棵满二叉树,为最终构造的满二叉树。
The following is a brief introduction to the full binary tree, the sub-block with the ratio of 1, and the sub-block with the ratio of 0 in the present application. The polarization code of N=4, K=2, and R=2/4 is taken as an example. Information bit set
Figure PCTCN2018103736-appb-000015
First, a full binary tree with a depth of n=log 2 (N)=2 is constructed according to N. FIG. 3 is a schematic diagram of a process of constructing a full binary tree when N=4, as shown in the left side of FIG. 3, a full binary tree, 4 The leaf nodes {D, E, F, G} correspond to the information bits {u 1 , u 2 , u 3 , u 4 }, respectively, and a full binary tree as shown in the middle of FIG. 3, for belonging to the information bit set
Figure PCTCN2018103736-appb-000016
Bits, leaf nodes are represented by black, belonging to a fixed set of bits
Figure PCTCN2018103736-appb-000017
The leaf nodes are represented by white nodes, and then the nodes in the full binary tree are dyed. The coloring rule is: for non-leaf nodes (such as A, B, C), if the left and right child nodes have the same color, the node color and its children The color of the nodes is the same, otherwise the node is dyed as a gray node, and the dyed full binary tree is a full binary tree as shown on the right side of Figure 3, which is the final constructed full binary tree.
基于构造的满二叉树(图3右边所示的一棵满二叉树),称该满二叉树中节点C这样的全黑二叉树对应的根节点为一个比率为1的子块(因为其叶子节点都为信息比特),即就是,比率为1的子块为所有叶子节点均为信息比特的子树。称节点B这样的全白二叉树的根节点为一个比率为0的子块(因为其叶子结点都为固定比特)。子块(sub-block),就是一个分量极化码(component polar codes)。Based on the constructed full binary tree (a full binary tree shown on the right side of Figure 3), the root node corresponding to the all black binary tree such as node C in the full binary tree is called a subblock of ratio 1 (because its leaf nodes are all information) Bit), that is, a sub-block of ratio 1 is a subtree in which all leaf nodes are information bits. The root node of an all-white binary tree such as Node B is a sub-block with a ratio of 0 (because its leaf nodes are fixed bits). A sub-block is a component polar code.
图4为本申请提供的一种译码方法实施例的流程图,本实施例的执行主体可以是 作为发送设备的网络设备或者终端设备,如图4所示,本实施例的方法可以包括:4 is a flowchart of an embodiment of a decoding method provided by the present application. The executor of this embodiment may be a network device or a terminal device as a sending device. As shown in FIG. 4, the method in this embodiment may include:
S101、根据待译码信息的信息比特数量K和目标码长N确定信息比特集合。S101. Determine a set of information bits according to the number of information bits K of the information to be decoded and the target code length N.
具体地,接收到待译码信息后,待译码信息的目标码长N和R就可确定,目标码长也称为极化码的码长,K的值可以是根据码率R和编码后的序列长度M确定,K=M*R,M通过
Figure PCTCN2018103736-appb-000018
确定。
Specifically, after receiving the information to be decoded, the target code lengths N and R of the information to be decoded may be determined, and the target code length is also referred to as the code length of the polarization code, and the value of K may be based on the code rate R and the code. After the sequence length M is determined, K=M*R, M passes
Figure PCTCN2018103736-appb-000018
determine.
其中,确定信息比特集合时,可采用现有的任意一种构造信息比特集合的方法确定信息比特集合,例如通过高斯近似(Gaussian Approximation,GA)、密度演进(Density Evolution,DE)、极化权重(Polar Weight,PW)等方式来确定,以高斯近似方法为例,具体是根据高斯近似方法计算极化信道可靠度,根据极化信道可靠度按照升序或降序排列,将可靠度高的前K个极化信道作为信息比特的子信道,信息比特的子信道的索引即为信息比特的索引,即确定出了信息比特集合。其他的信息比特集合构造方法本实施例中不再一一列举。Wherein, when determining the information bit set, the existing information bit set may be determined by any existing method for constructing the information bit set, for example, by Gaussian Approximation (GA), Density Evolution (DE), and polarization weight. (Polar Weight, PW) and other methods to determine, taking the Gaussian approximation method as an example, specifically calculating the reliability of the polarized channel according to the Gaussian approximation method, and ranking the high reliability according to the polarization channel reliability in ascending or descending order. The polarized channel is used as a subchannel of the information bit, and the index of the subchannel of the information bit is the index of the information bit, that is, the information bit set is determined. Other information bit set construction methods are not enumerated in this embodiment.
S102、根据信息比特集合、K和N确定关键集合,关键集合中包含译码首错位置比特的概率大于第一门限值,关键集合为信息比特集合的子集。S102. Determine a key set according to the information bit set, K and N. The probability that the key set includes the first bit of the decoded bit position is greater than the first threshold, and the key set is a subset of the information bit set.
其中,译码首错位置比特具体可以为SC译码过程中的首错位置比特,第一门限值为使得关键集合以较高的概率包含译码首错位置比特,第一门限值可以为99%。The decoding first error location bit may specifically be the first wrong location bit in the SC decoding process, and the first threshold is such that the key set includes the decoding first error location bit with a higher probability, and the first threshold may be It is 99%.
具体地,作为第一种可实施的方式,根据信息比特集合、K和N确定关键集合,具体可以包括:Specifically, as a first implementation manner, determining a key set according to the information bit set, K, and N may specifically include:
S1021、根据信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,满二叉树中信息比特和固定比特均为叶子节点。 S1021: Construct a full binary tree with a depth n according to the information bit set, K and N, n=log 2 N, and the information bits and the fixed bits in the full binary tree are leaf nodes.
其中,信息比特和固定比特的位置根据S101中确定的信息比特集合确定,例如待译码信息的N=2 4,K=9,根据S101确定出信息比特集合
Figure PCTCN2018103736-appb-000019
固定比特集合相应为:
Figure PCTCN2018103736-appb-000020
以信息比特和固定比特为叶子节点,构造深度为n=log 2(N)=4的满二叉树,图5为N=16时构造的满二叉树,图5所示的满二叉树中根据上文中的染色规则进行了染色,叶子节点为黑色的是信息比特,叶子节点为白色的是固定比特,对于非叶子节点,如果其左右孩子节点颜色一致,则该节点颜色与其孩子节点颜色一致,否则该节点被染色为灰色节点。
The information bits and the positions of the fixed bits are determined according to the information bit set determined in S101, for example, N=2 4 and K=9 of the information to be decoded, and the information bit set is determined according to S101.
Figure PCTCN2018103736-appb-000019
The fixed set of bits corresponds to:
Figure PCTCN2018103736-appb-000020
A full binary tree with a depth of n=log 2 (N)=4 is constructed with information bits and fixed bits as leaf nodes, and a full binary tree constructed with N=16 is shown in FIG. 5 , and the full binary tree shown in FIG. 5 is according to the above. The dyeing rules are dyed. The leaf nodes are black with information bits, and the leaf nodes are white for fixed bits. For non-leaf nodes, if the left and right child nodes have the same color, the node color is the same as its child node color. Otherwise, the node It is colored as a gray node.
S1022、从满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1。S1022: determining all sub-blocks with a ratio of 1 from a full binary tree, the sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1. .
具体地,以图5所示的满二叉树为例,从该满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,为图5中所示的A、B、C、D子树,每个子块都是一个分量极化码,但是仅仅包含信息比特,如子树A是一个长度为4的分量码,包含了信息比特{u 13,u 14,u 15,u 16},子树B是一个长度为2的分量码,包含了信息比特{u 11,u 12},子树C是一个长度为2的分量码,包含了信息比特{u 7,u 8},子树D是一个长度为1的分量码,包含了信息比特{u 6}。 Specifically, taking the full binary tree shown in FIG. 5 as an example, all sub-blocks with a ratio of 1 are determined from the full binary tree, and the sub-blocks with a ratio of 1 are sub-trees in which all leaf nodes are information bits, as shown in FIG. 5 . In the A, B, C, and D subtrees shown, each subblock is a component polarization code, but only contains information bits. For example, subtree A is a component code of length 4, which contains information bits {u 13 , u 14 , u 15 , u 16 }, subtree B is a component code of length 2, containing information bits {u 11 , u 12 }, and subtree C is a component code of length 2, including Information bits {u 7 , u 8 }, subtree D is a component code of length 1 containing the information bits {u 6 }.
S1023、从所有比率为1的子块中确定组成关键集合的元素,组成关键集合的元素为每一个比率为1的子块中的第一个信息比特。S1023. Determine, from all the sub-blocks with a ratio of 1, an element that constitutes a key set, and the elements that make up the key set are the first information bits in each sub-block with a ratio of 1.
具体地,以图5所示的满二叉树为例,比率为1的子块包括A、B、C、D子树,从A、B、C、D子树中确定组成关键集合的元素,分别取出第一个信息比特放入关键集合,A、B、C、D子树中第一个信息比特分别为u 6、u 7、u 11、u 13,因此图5所示的满二叉树对应的关键集合S={u 6,u 7,u 11,u 13}。 Specifically, taking the full binary tree shown in FIG. 5 as an example, the sub-block with a ratio of 1 includes A, B, C, and D sub-trees, and the elements constituting the key set are determined from the sub-trees of A, B, C, and D, respectively. The first information bit is taken into the key set, and the first information bits in the subtrees A, B, C, and D are u 6 , u 7 , u 11 , and u 13 respectively , so the full binary tree shown in FIG. 5 corresponds to The key set S = {u 6 , u 7 , u 11 , u 13 }.
进一步地,作为第二种可实施的方式,为提高关键集合包含译码首错位置比特的概率,组成关键集合的元素还可以包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特,还是以图5所示的满二叉树为例,从A、B、C、D子树中分别取出第一个信息比特后,因为D子树只包含一个信息比特,从A、B、C子树包含的所有剩余信息特中,还可以取出至少一个信息比特作为组成关键集合的元素,例如,从C子树中取出u 8,则关键集合S={u 6,u 7,u 11,u 13,u 8};或者从B子树中取出u 12,关键集合S={u 6,u 7,u 11,u 13,u 12};或者,从A子树中取出u 14,关键集合S={u 6,u 7,u 11,u 13,u 14},或者,从每个子树中均取出一个信息比特,需要说明的是,为保证译码过程中路径分裂数减少,关键集合S为信息比特集合的子集。 Further, as a second implementable manner, in order to improve the probability that the key set includes the first bit of the decoded first bit position, the elements constituting the key set may further include: at least all of the remaining information bits in the sub-blocks of all ratios 1 An information bit, or taking the full binary tree shown in Figure 5 as an example, after taking the first information bit from the A, B, C, and D subtrees, since the D subtree contains only one information bit, from A and B. And all the remaining information contained in the C subtree, and at least one information bit may be taken out as an element constituting the key set, for example, u 8 is extracted from the C subtree, and the key set S={u 6 , u 7 , u 11 , u 13 , u 8 }; or take u 12 from the B subtree, the key set S={u 6 , u 7 , u 11 , u 13 , u 12 }; or, take u 14 from the A subtree The key set S={u 6 , u 7 , u 11 , u 13 , u 14 }, or one information bit is taken from each subtree. It should be noted that the number of path splits is reduced in the decoding process. The key set S is a subset of the set of information bits.
作为第三种可实施的方式,根据信息比特集合、K和N确定关键集合,具体可以包括:As a third implementation manner, determining a key set according to the information bit set, K, and N may specifically include:
从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,作为关键集合,关键集合表中存储信息比特集合、K和N与关键集合的对应关系。A key set corresponding to the information bit set, K and N is queried from the stored key set table, and the key set table stores the information bit set, the correspondence between K and N and the key set.
具体来说,可采用第一种可实施的方式和第二种可实施的方式确定出不同信息比特集合、K和N对应的关键集合,预先存储在关键集合表中,接收到待译码信息后,根据待译码信息的信息比特数量K和目标码长N确定信息比特集合,然后可直接从关键集合表中查询与信息比特集合、K和N对应的关键集合,采用该方式,可进一步降低译码时延。Specifically, the first set of implementable manners and the second implementable manner may be used to determine different sets of information bits, and key sets corresponding to K and N, which are pre-stored in the key set table and receive information to be decoded. After that, the information bit set is determined according to the information bit number K of the information to be decoded and the target code length N, and then the key set corresponding to the information bit set, K and N can be directly queried from the key set table, and the method can further Reduce the decoding delay.
S103、根据关键集合和预设规则对待译码信息进行极化译码,预设规则为:对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。S103. Perform polarization decoding on the information to be decoded according to the key set and the preset rule. The preset rule is: performing coding path splitting on the information bits in the key set, and performing bit-by-bit decision on the information bits outside the key set. Generating a decoding path. When the total number of decoding paths exceeds a preset path width L, the L paths with the largest PM value are selected to be saved and continue to develop the decoding path, and each decoding bit of each decoding bit is obtained. The decoding result of the primary decoding bit.
其中,对关键集合中的信息比特进行译码路径分裂,路径分裂就是将0和1对应的译码结果都保存作为2个分支译码路径,对除关键集合中的信息比特之外的信息比特采用逐比特判决,生成译码路径,对固定比特也采用逐比特判决,固定比特的逐比特判决结果都置为0,当译码路径的总数超过预设的路径宽度L时,选择出路径度量PM值最大的L条路径保存并继续发展译码路径,生成译码路径后,可采用与SCL译码方法或循环冗余辅助检查SCL(Cyclic redundancy check Aided-SCL,CA-SCL)译码方法相同的过程确定出每一级译码比特的译码路径,例如采用与SCL译码方法相同的过程,即就是计算每一级译码比特的所有译码路径的PM值并进行排序,将PM值最大的一条译码路径作为译码比特的译码路径,最后根据每一级译码比特的译码路径得到每一级译码比特的译码结果。需要说明的是,PM值的计算可采用现有的计算方式,本申请对此不作限制。例如采用与CA-SCL译码方法相同的过程,即就是计算每一级译码比特的所有译码路径的PM值并进行排序,将PM值最大的一条译码路径作为译码比特的译码路径,通过循环冗余码校验(Cyclic Redundancy Check,CRC)来验证该译码路径的正确性。最后根据每一级译码比特的译码路径得到每一级译码比特的译码结果。Wherein, the information bits in the key set are split by the decoding path, and the path splitting is to save the decoding results corresponding to 0 and 1 as the two branch decoding paths, and the information bits except the information bits in the key set. The bit-by-bit decision is used to generate a decoding path, and the fixed bit is also subjected to bit-by-bit decision. The bit-by-bit decision result of the fixed bit is set to 0. When the total number of decoding paths exceeds the preset path width L, the path metric is selected. The L paths with the largest PM value are saved and continue to develop the decoding path. After the decoding path is generated, the SCL decoding method or the Cyclic redundancy check Aided-SCL (CA-SCL) decoding method can be used. The same process determines the decoding path of each level of decoding bits, for example, using the same process as the SCL decoding method, that is, calculating the PM values of all decoding paths of each level of decoding bits and sorting them, PM The one decoding path with the largest value is used as the decoding path of the decoding bits, and finally the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits. It should be noted that the calculation of the PM value may be performed by using an existing calculation method, which is not limited in this application. For example, the same process as the CA-SCL decoding method is used, that is, the PM values of all decoding paths of each level of decoding bits are calculated and sorted, and a decoding path having the largest PM value is used as decoding of decoding bits. The path is verified by Cyclic Redundancy Check (CRC) to verify the correctness of the decoding path. Finally, the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,即就是在生成译码路径时,关键集合中的信息比特的下一级路径为2条,关键集合之外的信息比特的下一级路径为1条,作为一种可实施的方式,具体可以为:Decoding the information bits in the key set, and performing bit-by-bit decision on the information bits outside the key set, that is, when generating the decoding path, the next level of information bits in the key set is two. The next level of information bits outside the key set is one, as an implementable method, specifically:
Figure PCTCN2018103736-appb-000021
Figure PCTCN2018103736-appb-000021
其中,u i为信息比特集合中的信息比特,S为关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
Figure PCTCN2018103736-appb-000022
Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
Figure PCTCN2018103736-appb-000022
接收到待译码信息后,通过计算得到待译码信息对应的N个LLR,逐比特判决时根据LLR和硬判决函数判决,固定比特的逐比特判决结果都为0。After receiving the information to be decoded, the N LLRs corresponding to the information to be decoded are obtained by calculation, and the bit-by-bit decision result of the fixed bits is 0 according to the LLR and the hard decision function.
在本实施例的译码方法中,由于关键集合以较高的概率包括译码首错位置比特(第一个译码错误的比特),而在译码时对关键集合中的信息比特进行译码路径分裂,对除了关键集合中的信息比特之外的信息比特进行逐比特判决,当译码路径的总数超过预设的路径宽度L时,选择出PM值最大的L条路径保存并继续发展译码路径,最后根据每一级译码比特的译码路径得到每一级译码比特的译码结果,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,从而减少了译码路径的总数,因此降低了所要计算PM值的路径数目以及参与排序的路径数目,因此降低了计算复杂度和由于排序带来的译码时延。In the decoding method of this embodiment, since the key set includes decoding the first mis-location bit (the first decoding error bit) with a high probability, the information bits in the key set are translated at the time of decoding. The code path is split, and the information bits except the information bits in the key set are bit-by-bit-determined. When the total number of decoding paths exceeds the preset path width L, the L paths with the largest PM value are selected and saved. Decoding the path, and finally obtaining the decoding result of each level of decoding bits according to the decoding path of each level of decoding bits. Since the first bit position bit is included in the key set with high probability, the decoding path will be high. The probability splits at the position of the first decoding error, so the correct path is retained in the current decoding path with a high probability, thereby obtaining better decoding performance, and the number of path splitting is greatly reduced, thereby reducing the number of paths. The total number of decoding paths, thus reducing the number of paths for which the PM value is to be calculated and the number of paths participating in the ordering, thus reducing computational complexity and decoding delay due to sequencing.
本实施例提供的译码方法,首先根据待译码信息的信息比特数量和目标码长确定信息比特集合,根据信息比特集合、K和N确定关键集合,关键集合以大于第一门限值的概率包括译码首错位置比特,在译码时根据关键集合对待译码信息进行极化译码,生成译码路径时对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,降低了计算复杂度和由于排序带来的译码时延。因此,实现了在保证较好的译码性能的同时降低Polar码译码的计算复杂度和译码时延。The decoding method provided in this embodiment first determines an information bit set according to the number of information bits of the information to be decoded and the target code length, and determines a key set according to the information bit set, K and N, and the key set is greater than the first threshold. The probability includes decoding the first wrong position bit, performing polarization decoding on the information to be decoded according to the key set during decoding, and decoding the information bit in the key set when the decoding path is generated, outside the key set The information bits are bit-by-bit, and since the first mis-location bit is included in the key set with a high probability, the decoding path will split at the first decoding error position with a high probability, so the correct path is reserved with high probability. In the current decoding path, better decoding performance is obtained, and the number of path splits is greatly reduced, which reduces computational complexity and decoding delay due to sorting. Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
下面采用几个具体的实施例,对图4所示方法实施例的技术方案进行详细说明。The technical solutions of the method embodiment shown in FIG. 4 are described in detail below by using several specific embodiments.
图6为本申请提供的另一种译码方法实施例的流程图,本实施例的执行主体可以是作为发送设备的网络设备或者终端设备,本实施例中,以信息比特数量K=9,目标码长N=2 4为例,本实施例中通过构造满二叉树确定关键集合,如图6所示,本实施例的方法可以包括: FIG. 6 is a flowchart of another embodiment of a decoding method provided by the present application. The executor of this embodiment may be a network device or a terminal device as a sending device. In this embodiment, the number of information bits is K=9. The target code length is N=2 4 as an example. In this embodiment, a key set is determined by constructing a full binary tree. As shown in FIG. 6, the method in this embodiment may include:
S201、根据待译码信息的信息比特数量K和目标码长N确定信息比特集合。S201. Determine a set of information bits according to the number of information bits K of the information to be decoded and the target code length N.
本实施例中,K=9,N=2 4=16,根据K和N确定的信息比特集合例如为
Figure PCTCN2018103736-appb-000023
则固定比特集合相应为:
Figure PCTCN2018103736-appb-000024
In this embodiment, K=9, N=2 4 =16, and the information bit set determined according to K and N is, for example,
Figure PCTCN2018103736-appb-000023
The fixed bit set is accordingly:
Figure PCTCN2018103736-appb-000024
S202、根据信息比特集合、K和N构造深度为n的满二叉树,满二叉树中信息比特和固定比特均为叶子节点。S202. Construct a full binary tree with a depth n according to the information bit set, K and N. The information bits and the fixed bits in the full binary tree are leaf nodes.
以信息比特和固定比特为叶子节点,n=log 2(N)=4,构造深度为4的满二叉树,如图5所示,图5所示的满二叉树中根据上文中的染色规则进行了染色,黑色的叶子节 点是信息比特,白色的叶子节点是固定比特,对于非叶子节点,如果其左右孩子节点颜色一致,则该节点颜色与其孩子节点颜色一致,否则该节点被染色为灰色节点。 With the information bits and fixed bits as leaf nodes, n=log 2 (N)=4, construct a full binary tree with a depth of 4, as shown in FIG. 5, the full binary tree shown in FIG. 5 is performed according to the above dyeing rule. Dyeing, the black leaf node is the information bit, and the white leaf node is the fixed bit. For the non-leaf node, if the color of the left and right child nodes is the same, the color of the node is the same as the color of the child node, otherwise the node is colored as a gray node.
S203、从满二叉树中确定出所有比率为1的子块。S203. Determine, from the full binary tree, all sub-blocks with a ratio of 1.
其中,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1。The sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and the sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1.
S204、从所有比率为1的子块中确定组成关键集合的元素,组成关键集合的元素为每一个比率为1的子块中的第一个信息比特。S204. Determine, from all sub-blocks with a ratio of 1, an element that constitutes a key set, and the elements that make up the key set are the first information bits in each sub-block of ratio 1.
具体地,以图5所示的满二叉树为例,比率为1的子块包括A、B、C、D子树,从A、B、C、D子树中确定组成关键集合的元素,分别取出第一个信息比特放入关键集合,关键集合S={u 6,u 7,u 11,u 13}。 Specifically, taking the full binary tree shown in FIG. 5 as an example, the sub-block with a ratio of 1 includes A, B, C, and D sub-trees, and the elements constituting the key set are determined from the sub-trees of A, B, C, and D, respectively. The first information bit is taken into the key set, and the key set S={u 6 , u 7 , u 11 , u 13 }.
进一步地,作为第二种可实施的方式,为提高关键集合包含译码首错位置比特的概率,本步骤还可以为:Further, as a second implementation manner, in order to improve the probability that the key set includes the bit of the first error location, the step may also be:
S204’、从所有比率为1的子块中确定组成关键集合的元素,组成关键集合的元素为每一个比率为1的子块中的第一个信息比特和所有比率为1的子块中的剩余信息比特中的至少一个信息比特。S204', determining elements constituting the key set from all sub-blocks having a ratio of 1, the elements constituting the key set are the first information bits in each sub-block of ratio 1 and all sub-blocks of ratio 1 At least one of the remaining information bits.
具体地,从A、B、C、D子树中分别取出第一个信息比特后,因为D子树只包含一个信息比特,从A、B、C子树包含的所有剩余信息特中,还可以取出至少一个信息比特作为组成关键集合的元素。Specifically, after the first information bits are respectively taken out from the A, B, C, and D subtrees, since the D subtree contains only one information bit, from all the remaining information contained in the A, B, and C subtrees, At least one information bit can be taken out as an element constituting a key set.
S205、根据关键集合和预设规则对待译码信息进行极化译码。S205. Perform polarization decoding on the information to be decoded according to the key set and the preset rule.
预设规则为:对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。The preset rule is: performing coding path splitting on information bits in the key set, performing bit-by-bit decision on information bits outside the key set, and generating a decoding path, when the total number of decoding paths exceeds a preset path width L The L paths with the largest PM value are selected to save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
本实施例提供的译码方法,首先根据待译码信息的信息比特数量和目标码长确定信息比特集合,根据信息比特集合、K和N构造深度为n的满二叉树,从满二叉树中确定出所有比率为1的子块,从所有比率为1的子块中确定组成关键集合的元素,从而确定出以高概率包括译码首错位置比特的关键集合,最后根据关键集合和预设规则对待译码信息进行极化译码,生成译码路径时对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,由于首错位置比特以高概率被包含在关键集合中,译码路径将会以高概率在第一个译码错误的位置进行分裂,因此正确路径以高概率被保留在了当前的译码路径中,从而获得较好的译码性能,而路径分裂次数却大幅减少,降低了计算复杂度和由于排序带来的译码时延。因此,实现了在保证较好的译码性能的同时降低Polar码译码的计算复杂度和译码时延。The decoding method provided in this embodiment first determines an information bit set according to the number of information bits of the information to be decoded and the target code length, and constructs a full binary tree with a depth n according to the information bit set, K and N, and determines from the full binary tree. All sub-blocks with a ratio of 1 determine the elements that make up the key set from all sub-blocks with a ratio of 1, thereby determining the key set including the first bit of the decoded bit with high probability, and finally treating according to the key set and the preset rule. The decoding information is subjected to polarization decoding, and when the decoding path is generated, the information bits in the key set are split by the decoding path, and the information bits outside the key set are determined bit by bit, because the first wrong position bit is included with high probability In the key set, the decoding path will split at the first decoding error position with high probability, so the correct path is retained in the current decoding path with high probability, thus obtaining better decoding performance. However, the number of path splits is greatly reduced, which reduces computational complexity and decoding delay due to sorting. Therefore, the computational complexity and decoding delay of the Polar code decoding are reduced while ensuring better decoding performance.
图7为本申请提供的另一种译码方法实施例的流程图,本实施例的执行主体可以是作为发送设备的网络设备或者终端设备,本实施例中通过查询关键集合表确定关键集合,关键集合可通过图6所示的方式确定后预先存储在关键集合表中,不用在线构造满二叉树确定关键集合,可进一步降低译码时延,如图7所示,本实施例的方法可以包括:FIG. 7 is a flowchart of another embodiment of a decoding method provided by the present application. The executor of the present embodiment may be a network device or a terminal device that is a sending device. In this embodiment, a key set is determined by querying a key set table. The key set can be determined in the manner shown in FIG. 6 and stored in the key set table in advance. The key set cannot be determined by constructing a full binary tree on the line, and the decoding delay can be further reduced. As shown in FIG. 7, the method in this embodiment may include :
S301、根据待译码信息的信息比特数量K和目标码长N确定信息比特集合。S301. Determine a set of information bits according to the number of information bits K of the information to be decoded and the target code length N.
S302、从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,作为关键集合,关键集合表中存储信息比特集合、K和N与关键集合的对应关系。S302. Query a key set corresponding to the information bit set, K and N from the stored key set table, as a key set, and store the information bit set, the correspondence relationship between K and N and the key set in the key set table.
S303、根据关键集合和预设规则对待译码信息进行极化译码。S303. Perform polarization decoding on the information to be decoded according to the key set and the preset rule.
预设规则为:对关键集合中的信息比特进行译码路径分裂,对关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。The preset rule is: performing coding path splitting on information bits in the key set, performing bit-by-bit decision on information bits outside the key set, and generating a decoding path, when the total number of decoding paths exceeds a preset path width L The L paths with the largest PM value are selected to save and continue to develop the decoding path, and the decoding result of each level of decoding bits is obtained according to the decoding path of each level of decoding bits.
本实施例提供的译码方法,通过预先存储关键集合表,根据待译码信息的信息比特数量和目标码长确定出信息比特集合后,从存储的关键集合表中查询与信息比特集合、K和N对应的关键集合,从而确定出以高概率包括译码首错位置比特的关键集合,最后根据关键集合和预设规则对待译码信息进行极化译码,相比较图6所示实施例提供的方法,不用在线构造满二叉树确定关键集合,可进一步降低译码时延。The decoding method provided in this embodiment, after pre-storing the key set table, determining the information bit set according to the number of information bits of the information to be decoded and the target code length, and querying the information bit set from the stored key set table, K And a key set corresponding to N, thereby determining a key set including decoding the first error position bit with high probability, and finally performing polarization decoding on the information to be decoded according to the key set and the preset rule, comparing the embodiment shown in FIG. The method provided can further reduce the decoding delay without constructing a full binary tree online to determine a key set.
本申请实施例中,为了分析通过S202~S204所示方法得到的关键集合包含SC译码过程中第一个译码错误比特的能力,通过蒙特卡洛仿真统计了在SC译码过程中第一个译码错误比特落入关键集合S中的概率。具体仿真结果见表二,表二中,仿真采用的极化码码长N=1024,K=512,仿真次数为T=10 6,“落入集合S”代表了首错位置比特属于关键集合S发生的次数,“错误帧数目”为SC译码过程总发生错误的总帧数,“概率”为“落入集合S”与“错误帧数目”两者之间的比值,“S大小”为关键集合S所包含的信息比特数目。 In the embodiment of the present application, in order to analyze the capability of the key set obtained by the methods shown in S202 to S204 to include the first decoding error bit in the SC decoding process, the first in the SC decoding process is counted by Monte Carlo simulation. The probability that a decoding error bit falls into the key set S. The specific simulation results are shown in Table 2. In Table 2, the polarization code length used in the simulation is N=1024, K=512, and the simulation times are T=10 6 . The “falling into the set S” represents the first wrong position. The bits belong to the key set. The number of occurrences of S, "number of error frames" is the total number of frames in which the SC decoding process always fails, and "probability" is the ratio between "falling into the set S" and "number of error frames", "S size" The number of information bits included in the key set S.
表二Table II
Figure PCTCN2018103736-appb-000025
Figure PCTCN2018103736-appb-000025
从表二中可以看出,即使在低信噪比(E b/N 0)下,SC译码过程中关键集合包含译码首错位置比特的概率亦十分接近100%,随着信噪比的增加,关键集合包含译码首错位置比特的能力也在增加,甚至概率达到了100%,而且关键集合包含的信息比特数目相比于信息比特K而言只有K的25%左右,这意味着和传统CA-SCL译码器相比,本申请提供的译码方法将会减少75%的路径分裂数,从而大幅降低了CA-SCL译码由于排序(sorting)带来的译码时延与复杂度。 It can be seen from Table 2 that even at low signal-to-noise ratio (E b /N 0 ), the probability that the key set of the SC decoding process contains the first bit of the decoded bit position is very close to 100%, with the signal-to-noise ratio The increase, the ability of the key set to contain the bits of the first wrong position is also increased, even the probability reaches 100%, and the key set contains only 25% of the information bits compared to the information bit K, which means Compared with the traditional CA-SCL decoder, the decoding method provided by the present application will reduce the path splitting number by 75%, thereby greatly reducing the decoding delay caused by sorting by CA-SCL decoding. And complexity.
下面对SCL译码方法和本申请提供的译码方法的时延和复杂度进行分析,相对于SC译码,SCL译码除了具有SC译码固有的串行译码时延外,还具有对2L条译码路径进行筛选产生的排序时延(Sorting Latency),L为预设的路径宽度。对于一个N长的极化码,由于串行译码特性导致的译码时延为2N-2。当SC译码器译到第i个信息比特的时候,由于串行译码导致的串行译码时延可以用下式来近似:The following describes the delay and complexity of the SCL decoding method and the decoding method provided by the present application. Compared with SC decoding, SCL decoding has a serial decoding delay inherent in SC decoding. The sorting delay (Sorting Latency) generated by filtering the 2L decoding paths, and L is the preset path width. For an N-long polarization code, the decoding delay due to the serial decoding feature is 2N-2. When the SC decoder is translated to the i-th information bit, the serial decoding delay due to serial decoding can be approximated by:
Latency SC(i)≈2×i-2,i∈[1,N] Latency SC (i)≈2×i-2,i∈[1,N]
假设SCL译码器在译码第i个信息比特的时候,所有L条译码路径同时并行处理, 则SCL译码器的译码时延为:Assuming that the SCL decoder decodes the i-th information bit and all L decoding paths are processed in parallel at the same time, the decoding delay of the SCL decoder is:
Figure PCTCN2018103736-appb-000026
Figure PCTCN2018103736-appb-000026
通过上式可见,SCL译码方法的译码时延与达到最大路径数目时的信息比特位置有关,通过延长到达最大路径数目对应的译码信息比特的序号可以降低对应的译码时延。对于一般的SCL译码器,在译码到第log 2L个信息比特的时候就要对2L条路径进行排序,对于码长为N,码率为R=K/N的极化码而言,总共的译码时延可以利用2N-2+(K-log 2(L))·Latency sort(L)来计算。因此SCL译码器相对于SC译码器的译码时延,即由于排序带来的时延为 It can be seen from the above equation that the decoding delay of the SCL decoding method is related to the information bit position when the maximum number of paths is reached, and the corresponding decoding delay can be reduced by extending the sequence number of the decoding information bits corresponding to the maximum number of paths. For a general SCL decoder, 2L paths are sorted when decoding to the log 2 L information bits, for a polarization code with a code length of N and a code rate of R=K/N. The total decoding delay can be calculated using 2N-2+(K-log 2 (L))·Latency sort (L). Therefore, the decoding delay of the SCL decoder relative to the SC decoder, that is, the delay due to the ordering is
Latency sorting=(K-log 2(L))·Latency sort(L)        (公式1) Latency sorting =(K-log 2 (L))·Latency sort (L) (Equation 1)
其中Latency sort根据所使用的排序算法而异,一般是最大路径数目的函数。 The Latency sort varies depending on the sorting algorithm used, and is generally a function of the maximum number of paths.
SCL译码方法的计算复杂可以利用下式来计算:The computational complexity of the SCL decoding method can be calculated using the following formula:
Complexity SCL-based(N,K,L)=L·(Nlog 2N)·Q+(K-log 2(L))·CAS(L) Complexity SCL-based (N,K,L)=L·(Nlog 2 N)·Q+(K-log 2 (L))·CAS(L)
SC译码中的一次f运算和一次g运算共包含5次加法运算与1次比较运算,上式中Q为一次f计算或者一次g运算的平均复杂度。CAS(L)是所用排序算法的比较和选择(Compare-And-Select)复杂度,根据所选用的排序网络不同而有差别,由于排序带来的复杂度可以通过下式来计算:The one-time f operation and the one-time g operation in SC decoding include five addition operations and one comparison operation. In the above formula, Q is the average complexity of one-time f calculation or one-time g operation. CAS(L) is the Compare-And-Select complexity of the sorting algorithm used, which varies according to the sorting network selected. The complexity due to sorting can be calculated by:
Complexity sorting(N,K,L)=(K-log 2(L))·CAS(L)      (公式2) Complexity sorting (N, K, L) = (K-log 2 (L)) · CAS (L) (Formula 2)
其中,双调排序法(bitonic sorter)以及简化冒泡排序法(simplified bubble sorter)所对应的CAS为:Among them, the CAS corresponding to the bitonic sorter and the simplified bubble sorter is:
Figure PCTCN2018103736-appb-000027
Figure PCTCN2018103736-appb-000027
与传统的SCL译码方法不同,本申请提供的译码方法(下文中简称Split-reduced SCL)当且仅当信息比特属于关键集合S时译码路径才会分裂,也就是说达到最大List数目的时间将被推迟,Split-reduced SCL译码器的排序时延为:Unlike the conventional SCL decoding method, the decoding method provided by the present application (hereinafter referred to as Split-reduced SCL) will split the decoding path if and only if the information bits belong to the key set S, that is, the maximum number of Lists is reached. The time will be delayed, and the sorting delay of the Split-reduced SCL decoder is:
Latency sorting(N,K,L)=(|S|-log 2(L))·Latency sort(L)         (公式3) Latency sorting (N,K,L)=(|S|-log 2 (L))·Latency sort (L) (Equation 3)
由于排序带来的译码复杂度为:The decoding complexity due to sorting is:
Complexity sorting=(|S|-log 2(L))·CAS(L)            (公式4) Complexity sorting =(|S|-log 2 (L))·CAS(L) (Equation 4)
结合(公式1)-(公式4),Split-reduced SCL译码的时延与复杂度增益可以通过下式来计算:Combining (Equation 1)-(Equation 4), the delay and complexity gain of Split-reduced SCL decoding can be calculated by:
Figure PCTCN2018103736-appb-000028
Figure PCTCN2018103736-appb-000028
其中,S为关键集合的信息比特数目。Where S is the number of information bits of the key set.
下面结合仿真对比图来说明本申请提供的Split-reduced SCL译码方法的性能,仿真所用的具体参数如表三所示:The performance of the Split-reduced SCL decoding method provided by the present application is described below in conjunction with the simulation comparison diagram. The specific parameters used in the simulation are shown in Table 3:
表三Table 3
Figure PCTCN2018103736-appb-000029
Figure PCTCN2018103736-appb-000029
Figure PCTCN2018103736-appb-000030
Figure PCTCN2018103736-appb-000030
图8为采用Split-reduced译码方法的CA-SCL译码达到0.1%误块率(BLER)所需的信噪比(Signal-to-Noise Ratio,SNR)与传统CA-SCL译码方法性能的对比图,传统CA-SCL译码方法图8中用Direct splitting表示,从图8的仿真结果中可以看出,采用Split-reduced译码方法相对于传统的CA-SCL译码方法在BLER性能上几乎没有损失,即可获得与CA-SCL译码方法相似的译码性能。图9为采用Split-reduced译码方法在不同码率下的时延与复杂度增益示意图,可以看出本申请的Split-reduced译码方法在不同码率、码长配置下,都有相对于传统SCL译码器更低的译码时延与复杂度。Figure 8 shows the signal-to-noise ratio (SNR) required for CA-SCL decoding with Split-reduced decoding method to achieve 0.1% error block rate (BLER) and the performance of traditional CA-SCL decoding method. The comparison chart, the traditional CA-SCL decoding method is represented by Direct splitting in Figure 8. From the simulation results in Figure 8, it can be seen that the Split-reduced decoding method is compared to the traditional CA-SCL decoding method in BLER performance. With almost no loss, a decoding performance similar to that of the CA-SCL decoding method can be obtained. FIG. 9 is a schematic diagram of delay and complexity gain at different code rates by using a Split-reduced decoding method. It can be seen that the Split-reduced decoding method of the present application has a relative code rate and a code length configuration. The conventional SCL decoder has lower decoding delay and complexity.
图10a-图10f为采用Split-reduced译码方法与传统CA-SCL译码方法在不同码长码率配置下的BLER性能对比图,传统CA-SCL译码方法图10a-图10f中用Direct splitting表示,图10a-图10f中信息比特K分别为32、48、64、80、120和200,从仿真结果可以看出,在任意码长码率配置下,本申请的Split-reduced译码方法都能获得与传统CA-SCL译码方法相似的BLER译码性能,同时在译码时延与复杂度上比传统的CA-SCL译码器具有更低的译码时延与译码复杂度。10a-10f are BLER performance comparison diagrams of a different code length code rate configuration using a Split-reduced decoding method and a conventional CA-SCL decoding method. The conventional CA-SCL decoding method uses Direct in FIG. 10a-10f. Splitting indicates that the information bits K in Figures 10a-10f are 32, 48, 64, 80, 120, and 200, respectively. It can be seen from the simulation results that the Split-reduced decoding of the present application is performed under an arbitrary code length code rate configuration. The method can obtain the BLER decoding performance similar to the traditional CA-SCL decoding method, and has lower decoding delay and decoding complexity than the traditional CA-SCL decoder in decoding delay and complexity. degree.
图11为本申请提供的译码设备实施例的结构示意图,如图11所示,本实施例的装置可以包括:第一确定模块11、第二确定模块12和译码模块13,其中,第一确定模块11用于根据待译码信息的信息比特数量K和目标码长N确定信息比特集合,第二确定模块12用于根据所述信息比特集合、K和N确定关键集合,所述关键集合中包含译码首错位置比特的概率大于第一门限值,可选的,第一门限值为99%,所述关键集合为所述信息比特集合的子集,译码模块13用于根据所述关键集合和预设规则对所述待译码信息进行极化译码,所述预设规则为:对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。FIG. 11 is a schematic structural diagram of an embodiment of a decoding device provided by the present application. As shown in FIG. 11, the apparatus in this embodiment may include: a first determining module 11, a second determining module 12, and a decoding module 13, where a determining module 11 is configured to determine an information bit set according to the information bit number K and the target code length N of the information to be decoded, and the second determining module 12 is configured to determine a key set according to the information bit set, K and N, the key The probability that the set includes the first bit of the decoded bit position is greater than the first threshold. Optionally, the first threshold is 99%. The key set is a subset of the information bit set, and the decoding module 13 uses And performing polarization decoding on the information to be decoded according to the key set and a preset rule, where the preset rule is: performing coding path splitting on information bits in the key set, for the key set The information bits outside are subjected to a bit-by-bit decision to generate a decoding path. When the total number of decoding paths exceeds the preset path width L, the L paths with the largest PM value are selected and saved, and the decoding path is continued, according to each Level decoding Patent obtain a decoding result of the decoding paths each decoding a bit.
其中,对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,具体可以为:The information path in the key set is split by a coding path, and the information bits outside the key set are determined bit by bit. Specifically, the information may be:
Figure PCTCN2018103736-appb-000031
Figure PCTCN2018103736-appb-000031
其中,u i为所述信息比特集合中的信息比特,S为所述关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
Figure PCTCN2018103736-appb-000032
Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
Figure PCTCN2018103736-appb-000032
可选的,第二确定模块12用于:Optionally, the second determining module 12 is configured to:
根据所述信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,所述满二叉树中信息比特和固定比特均为叶子节点,从所述满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1,从所有比率为1的子块中确定组成所述关键集合的元素,组成所述关键集合的元素为每一个比率为1的子块中的第一个信息比特。 Constructing a full binary tree of depth n according to the information bit set, K and N, n=log 2 N, wherein the information bits and the fixed bits in the full binary tree are leaf nodes, and all ratios are determined from the full binary tree A sub-block of 1, a sub-block of ratio 1 is a sub-tree in which all leaf nodes are information bits, and a sub-block having a ratio of 1 includes a number of leaf nodes greater than or equal to 1, and is determined from all sub-blocks having a ratio of 1. The elements constituting the key set, the elements constituting the key set are the first information bits in each of the sub-blocks having a ratio of 1.
可选的,组成所述关键集合的元素还包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特。Optionally, the elements constituting the key set further include: at least one information bit of the remaining information bits in all the sub-blocks with a ratio of 1.
可选的,第二确定模块12用于:从存储的关键集合表中查询与所述信息比特集合、K和N对应的关键集合,作为所述关键集合,所述关键集合表中存储信息比特集合、K和N与关键集合的对应关系。Optionally, the second determining module 12 is configured to: query, from the stored key set table, a key set corresponding to the information bit set, K and N, as the key set, where the information set bits are stored in the key set table The correspondence between sets, K, and N and key sets.
本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
本申请可以根据上述方法示例对译码设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请各实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The application may divide the function module into the decoding device according to the above method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
图12为本申请提供的一种译码器的结构示意图,该译码器700包括:FIG. 12 is a schematic structural diagram of a decoder provided by the present application, where the decoder 700 includes:
存储器701,用于存储程序指令,该存储器可以是flash(闪存)。The memory 701 is configured to store program instructions, and the memory may be a flash memory.
处理器702,用于调用并执行存储器中的程序指令,以实现图4所示的译码方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。The processor 702 is configured to call and execute program instructions in the memory to implement various steps in the decoding method shown in FIG. 4. For details, refer to the related description in the foregoing method embodiments.
可选地,存储器701既可以是独立的,也可以如图13所示,图13为本申请提供的另一种译码器的结构示意图,存储器701跟处理器702集成在一起。Alternatively, the memory 701 may be independent or as shown in FIG. 13. FIG. 13 is a schematic structural diagram of another decoder provided by the present application. The memory 701 is integrated with the processor 702.
图12和图13的译码器还以包括收发器(图中未示出),用于通过天线收发信号。The decoder of Figures 12 and 13 also includes a transceiver (not shown) for transceiving signals through the antenna.
该译码器可以用于执行上述方法实施例中译码设备对应的各个步骤和/或流程。The decoder can be used to perform various steps and/or processes corresponding to the decoding device in the above method embodiments.
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当译码装置的至少一个处理器执行该执行指令时,译码装置执行上述的各种实施方式提供的译码方法。The present application also provides a readable storage medium having stored therein an execution instruction, when the at least one processor of the decoding device executes the execution instruction, the decoding device performs the decoding provided by the various embodiments described above. method.
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。译码装置的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得译码装置实施上述的各种实施方式提供的译码方法。The application also provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the decoding device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the decoding device implements the decoding methods provided by the various embodiments described above.
本领域普通技术人员可以理解:在上述实施例中,可以全部或部分地通过软件、 硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。It will be understood by those skilled in the art that in the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Claims (15)

  1. 一种译码方法,其特征在于,包括:A decoding method, comprising:
    根据待译码信息的信息比特数量K和目标码长N确定信息比特集合;Determining an information bit set according to the information bit number K of the information to be decoded and the target code length N;
    根据所述信息比特集合、K和N确定关键集合,所述关键集合中包含译码首错位置比特的概率大于第一门限值,所述关键集合为所述信息比特集合的子集;Determining, according to the information bit set, K and N, a key set, wherein the probability of decoding the first error location bit in the key set is greater than a first threshold, and the key set is a subset of the information bit set;
    根据所述关键集合和预设规则对所述待译码信息进行极化译码,所述预设规则为:对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出路径度量PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。And performing polarization decoding on the to-be-decoded information according to the key set and the preset rule, where the preset rule is: performing coding path splitting on information bits in the key set, where the key set is The outer information bits are bit-by-bit-determined to generate a decoding path. When the total number of decoding paths exceeds the preset path width L, the L paths with the largest path metric PM value are selected and saved, and the decoding path is continued, according to each The decoding path of the primary decoding bits results in the decoding result of each level of decoding bits.
  2. 根据权利要求1所述的方法,其特征在于,所述对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,包括:The method according to claim 1, wherein said performing coding path splitting on information bits in said key set, and performing bit-by-bit decision on information bits outside said key set comprises:
    Figure PCTCN2018103736-appb-100001
    Figure PCTCN2018103736-appb-100001
    其中,u i为所述信息比特集合中的信息比特,S为所述关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
    Figure PCTCN2018103736-appb-100002
    Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
    Figure PCTCN2018103736-appb-100002
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述信息比特集合、K和N确定关键集合,包括:The method according to claim 1, wherein said determining a key set according to said set of information bits, K and N comprises:
    根据所述信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,所述满二叉树中信息比特和固定比特均为叶子节点; Constructing a full binary tree of depth n according to the information bit set, K and N, n=log 2 N, wherein the information bits and the fixed bits in the full binary tree are leaf nodes;
    从所述满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1;All sub-blocks with a ratio of 1 are determined from the full binary tree, and a sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and a sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1. ;
    从所有比率为1的子块中确定组成所述关键集合的元素,组成所述关键集合的元素为每一个比率为1的子块中的第一个信息比特。The elements constituting the key set are determined from all sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each sub-block of ratio 1.
  4. 根据权利要求3所述的方法,其特征在于,组成所述关键集合的元素还包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特。The method of claim 3, wherein the elements constituting the key set further comprise: at least one of the remaining information bits in all sub-blocks of ratio 1.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述信息比特集合、K和N确定关键集合,包括:The method according to claim 1, wherein said determining a key set according to said set of information bits, K and N comprises:
    从存储的关键集合表中查询与所述信息比特集合、K和N对应的关键集合,作为所述关键集合,所述关键集合表中存储信息比特集合、K和N与关键集合的对应关系。As the key set, the key set table corresponding to the information bit set, K and N is queried as the key set, and the key set table stores the information bit set, the correspondence relationship between K and N and the key set.
  6. 根据权利要求1~5任一项所述的方法,其特征在于,所述第一门限值为99%。The method according to any one of claims 1 to 5, wherein the first threshold value is 99%.
  7. 一种译码设备,其特征在于,包括:A decoding device, comprising:
    第一确定模块,用于根据待译码信息的信息比特数量K和目标码长N确定信息比特集合;a first determining module, configured to determine an information bit set according to the information bit number K of the information to be decoded and the target code length N;
    第二确定模块,用于根据所述信息比特集合、K和N确定关键集合,所述关键集合中包含译码首错位置比特的概率大于第一门限值,所述关键集合为所述信息比特集合的子集;a second determining module, configured to determine, according to the information bit set, K and N, a key set, where the probability of decoding the first error location bit in the key set is greater than a first threshold, and the key set is the information a subset of the set of bits;
    译码模块,用于根据所述关键集合和预设规则对所述待译码信息进行极化译码,所述预设规则为:对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,生成译码路径,当译码路径的总数超过预设的路径宽度L时,选择出路径度量PM值最大的L条路径保存并继续发展译码路径,根据每一级译码比特的译码路径得到每一级译码比特的译码结果。a decoding module, configured to perform polarization decoding on the information to be decoded according to the key set and a preset rule, where the preset rule is: performing coding path splitting on information bits in the key set, Performing a bit-by-bit decision on the information bits outside the key set to generate a decoding path. When the total number of decoding paths exceeds a preset path width L, the L paths with the largest path metric PM value are selected and saved. The decoding path obtains the decoding result of each level of decoding bits according to the decoding path of each level of decoding bits.
  8. 根据权利要求7所述的设备,其特征在于,所述对所述关键集合中的信息比特进行译码路径分裂,对所述关键集合之外的信息比特进行逐比特判决,包括:The device according to claim 7, wherein the decoding of the information bits in the key set is performed, and the information bits outside the key set are determined bit by bit, including:
    Figure PCTCN2018103736-appb-100003
    Figure PCTCN2018103736-appb-100003
    其中,u i为所述信息比特集合中的信息比特,S为所述关键集合,L(u i)为u i的对数似然比LLR,h(·)为硬判决函数,
    Figure PCTCN2018103736-appb-100004
    Where u i is the information bit in the information bit set, S is the key set, L(u i ) is the log likelihood ratio LLR of u i , h(·) is a hard decision function,
    Figure PCTCN2018103736-appb-100004
  9. 根据权利要求7所述的设备,其特征在于,所述第二确定模块用于:The device according to claim 7, wherein the second determining module is configured to:
    根据所述信息比特集合、K和N构造深度为n的满二叉树,n=log 2N,所述满二叉树中信息比特和固定比特均为叶子节点; Constructing a full binary tree of depth n according to the information bit set, K and N, n=log 2 N, wherein the information bits and the fixed bits in the full binary tree are leaf nodes;
    从所述满二叉树中确定出所有比率为1的子块,比率为1的子块为所有叶子节点均为信息比特的子树,比率为1的子块所包含的叶子节点数目大于或等于1;All sub-blocks with a ratio of 1 are determined from the full binary tree, and a sub-block with a ratio of 1 is a sub-tree with all leaf nodes being information bits, and a sub-block with a ratio of 1 includes a number of leaf nodes greater than or equal to 1. ;
    从所有比率为1的子块中确定组成所述关键集合的元素,组成所述关键集合的元素为每一个比率为1的子块中的第一个信息比特。The elements constituting the key set are determined from all sub-blocks having a ratio of 1, and the elements constituting the key set are the first information bits in each sub-block of ratio 1.
  10. 根据权利要求9所述的设备,其特征在于,组成所述关键集合的元素还包括:所有比率为1的子块中的剩余信息比特中的至少一个信息比特。The apparatus of claim 9, wherein the elements constituting the key set further comprise: at least one of the remaining information bits in all of the sub-blocks having a ratio of one.
  11. 根据权利要求7所述的设备,其特征在于,所述第二确定模块用于:The device according to claim 7, wherein the second determining module is configured to:
    从存储的关键集合表中查询与所述信息比特集合、K和N对应的关键集合,作为所述关键集合,所述关键集合表中存储信息比特集合、K和N与关键集合的对应关系。As the key set, the key set table corresponding to the information bit set, K and N is queried as the key set, and the key set table stores the information bit set, the correspondence relationship between K and N and the key set.
  12. 根据权利要求7~11任一项所述的设备,其特征在于,所述第一门限值为99%。Apparatus according to any one of claims 7 to 11, wherein said first threshold value is 99%.
  13. 一种译码器,其特征在于,包括:A decoder, comprising:
    存储器,用于存储程序指令;a memory for storing program instructions;
    处理器,用于调用并执行所述存储器中的程序指令,以实现权利要求1~6任一项所述的译码方法。And a processor, configured to invoke and execute program instructions in the memory to implement the decoding method according to any one of claims 1 to 6.
  14. 一种计算机可读存储介质,其特征在于,所述存储介质用于存储计算机程序,当所述计算机运行时,用于执行如权利要求1-6中任一项所述的方法。A computer readable storage medium for storing a computer program for performing the method of any of claims 1-6 when the computer is running.
  15. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,当所述计算机运行时,用于执行如权利要求1-6中任一项所述的方法。A computer program product, comprising: a computer program for performing the method of any of claims 1-6 when the computer is running.
PCT/CN2018/103736 2017-09-22 2018-09-03 Decoding method and device, and decoder WO2019056941A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710867953.1 2017-09-22
CN201710867953.1A CN109547034B (en) 2017-09-22 2017-09-22 Decoding method and device, decoder

Publications (1)

Publication Number Publication Date
WO2019056941A1 true WO2019056941A1 (en) 2019-03-28

Family

ID=65809527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103736 WO2019056941A1 (en) 2017-09-22 2018-09-03 Decoding method and device, and decoder

Country Status (2)

Country Link
CN (1) CN109547034B (en)
WO (1) WO2019056941A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995278A (en) * 2019-12-16 2020-04-10 重庆邮电大学 Improved polar code serial elimination list bit flipping decoding method and system
CN111865487A (en) * 2019-04-29 2020-10-30 华为技术有限公司 Coding method and communication equipment
CN112187290A (en) * 2020-10-13 2021-01-05 中山大学 Multi-element code coding and decoding method and system based on Polar coding and decoding tree
CN112260697A (en) * 2019-07-22 2021-01-22 华为技术有限公司 Decoding method, device and equipment
CN112653475A (en) * 2019-10-12 2021-04-13 华为技术有限公司 SCL decoding method, device and equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396064B (en) * 2022-08-16 2023-11-24 网络通信与安全紫金山实验室 Detection decoding method, detection decoding device, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383484B2 (en) * 2004-03-12 2008-06-03 Seagate Technology Llc Cyclic redundancy check based message passing in turbo product code decoding
CN103368583A (en) * 2012-04-11 2013-10-23 华为技术有限公司 Polar code decoding method and decoding device
CN106803759A (en) * 2016-12-27 2017-06-06 南京邮电大学 Polar yards of effective adaptive decoding method based on Gauss construction
CN106877884A (en) * 2017-02-01 2017-06-20 东南大学 A kind of polarization code coding method for reducing decoding path division

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099411B1 (en) * 2000-10-12 2006-08-29 Marvell International Ltd. Soft-output decoding method and apparatus for controlled intersymbol interference channels
CN102694625B (en) * 2012-06-15 2014-11-12 北京邮电大学 Polarization code decoding method for cyclic redundancy check assistance
US10193578B2 (en) * 2014-07-10 2019-01-29 The Royal Institution For The Advancement Of Learning / Mcgill University Flexible polar encoders and decoders
CN106130690A (en) * 2016-06-21 2016-11-16 东南大学 Mimo system joint-detection interpretation method in conjunction with polarization code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383484B2 (en) * 2004-03-12 2008-06-03 Seagate Technology Llc Cyclic redundancy check based message passing in turbo product code decoding
CN103368583A (en) * 2012-04-11 2013-10-23 华为技术有限公司 Polar code decoding method and decoding device
CN106803759A (en) * 2016-12-27 2017-06-06 南京邮电大学 Polar yards of effective adaptive decoding method based on Gauss construction
CN106877884A (en) * 2017-02-01 2017-06-20 东南大学 A kind of polarization code coding method for reducing decoding path division

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865487A (en) * 2019-04-29 2020-10-30 华为技术有限公司 Coding method and communication equipment
CN111865487B (en) * 2019-04-29 2022-07-29 华为技术有限公司 Coding method and communication equipment
US11764812B2 (en) 2019-04-29 2023-09-19 Huawei Technologies Co., Ltd. Encoding method and communications device
CN112260697A (en) * 2019-07-22 2021-01-22 华为技术有限公司 Decoding method, device and equipment
CN112260697B (en) * 2019-07-22 2024-04-09 华为技术有限公司 Decoding method, device and equipment
CN112653475A (en) * 2019-10-12 2021-04-13 华为技术有限公司 SCL decoding method, device and equipment
CN112653475B (en) * 2019-10-12 2024-04-09 华为技术有限公司 SCL decoding method, device and equipment
CN110995278A (en) * 2019-12-16 2020-04-10 重庆邮电大学 Improved polar code serial elimination list bit flipping decoding method and system
CN110995278B (en) * 2019-12-16 2024-01-12 山东希尔信息技术有限公司 Improved polarity code serial elimination list bit overturning decoding method and system
CN112187290A (en) * 2020-10-13 2021-01-05 中山大学 Multi-element code coding and decoding method and system based on Polar coding and decoding tree

Also Published As

Publication number Publication date
CN109547034A (en) 2019-03-29
CN109547034B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
JP7026763B2 (en) Rate matching method, coding device, and communication device
WO2019056941A1 (en) Decoding method and device, and decoder
CN108365848B (en) Polar code decoding method and device
JP7471357B2 (en) Encoding method, decoding method, and device
WO2016172940A1 (en) Decoding method and decoding device for polar code
WO2018196786A1 (en) Rate matching method and apparatus for polar codes
US11239945B2 (en) Encoding method, decoding method, apparatus, and device
CN109257140B (en) Polarized channel reliability sequencing method, polarized code encoding method and polarized code encoding device
WO2020147526A1 (en) Polar code encoding method and device for concatenating crc code
WO2019206136A1 (en) Method and device for rate matching and de-rate matching polar code
CN109327280B (en) Segmented coding method and device
CN109391347B (en) Coding and decoding method and device
KR20200036338A (en) Apparatus and method for encoding and decoding unsing polar code in wireless communication system
WO2020088256A1 (en) Decoding method and device
TWI791023B (en) Method and apparatus for encoding input data as polar code, decoding method and apparatus for decoding code word
WO2016172937A1 (en) Method and device for transmitting data by utilizing multiple polar code
WO2020042089A1 (en) Scl parallel decoding method, apparatus, and device
WO2018141271A1 (en) Data processing method and device
US11362677B2 (en) Channel encoding method and encoding apparatus
Lin et al. Multi-bit sliding stack decoding algorithm for OVXDM
US11705990B2 (en) Channel encoding method and apparatus
CN113162633B (en) Method and device for decoding polarization code, decoder, equipment and storage medium
CN116073958B (en) Decoding method, decoding device, electronic equipment and storage medium
US20230208442A1 (en) Encoding method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1