SCL PARALLEL DECODING METHOD AND APPARATUS AND DEVICE
20210184701 · 2021-06-17
Inventors
Cpc classification
H03M13/3927
ELECTRICITY
H03M13/45
ELECTRICITY
H04L1/0052
ELECTRICITY
H03M13/3966
ELECTRICITY
International classification
H03M13/39
ELECTRICITY
Abstract
Example successive cancellation list (SCL) parallel decoding methods and apparatus are described. One example method includes obtaining L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits after received data corresponds to P groups of to-be-decoded bits, where i is an integer, P is an integer greater than 1, 1<i≤P, and L.sub.1 is a positive integer. L.sub.3 third decoding paths is determined for each first decoding path, where a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, n is a positive integer greater than or equal to 1, L.sub.3 is a positive integer, and L.sub.3<2.sup.n. At least one reserved decoding path of the i.sup.th group of to-be-decoded bits is determined from L.sub.1×L.sub.3 third decoding paths, where the at least one reserved decoding path includes a decoding result of the i.sup.th group of to-be-decoded bits.
Claims
1. A successive cancellation list (SCL) parallel decoding method, wherein received data corresponds to P groups of to-be-decoded bits, and wherein the method comprises: obtaining L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, wherein i is an integer, wherein P is an integer greater than 1, wherein 1<i≤P, and wherein L.sub.1 is a positive integer; determining L.sub.3 third decoding paths for each first decoding path, wherein a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, wherein n is a positive integer greater than or equal to 1, wherein L.sub.3 is a positive integer, and wherein L.sub.3<2.sup.n; and determining at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from L.sub.1×L.sub.3 third decoding paths, wherein the at least one reserved decoding path comprises a decoding result of the i.sup.th group of to-be-decoded bits.
2. The method according to claim 1, wherein the determining L.sub.3 third decoding paths for each first decoding path comprises: determining L.sub.3 third decoding paths for each first decoding path when a preset condition is met.
3. The method according to claim 2, wherein L.sub.1×L.sub.3 is greater than or equal to a first preset threshold.
4. The method according to claim 3, wherein the preset condition is: L.sub.1×L.sub.2 is greater than the first preset threshold, wherein L.sub.2 represents a number of second decoding paths for each first decoding path.
5. The method according to claim 3, wherein the first preset threshold is any one of 2, 4, 8, 16, 32, 64, or 128.
6. The method according to claim 1, wherein the determining L.sub.3 third decoding paths for each first decoding path comprises: determining L.sub.2 second decoding paths for each first decoding path, wherein L.sub.2=2.sup.n; and determining the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
7. The method according to claim 3, wherein L.sub.3=2.sup.m-k, wherein k is a positive integer, wherein m is a quantity of to-be-decoded bits comprised in each group of to-be-decoded bits, wherein m is an integer greater than 1, and wherein 1≤k<m.
8. The method according to claim 7, wherein L.sub.3=2.sup.m-k comprises: if L.sub.1×2.sup.m-k is greater than or equal to the first preset threshold, L.sub.3=2.sup.m-k.
9. The method according to claim 1, wherein L.sub.3 is any one of 2, 4, 8, 16, 32, or 64.
10. The method according to claim 1, wherein when i=P, the method further comprises: determining, from the at least one reserved decoding path, a decoding path having a highest accuracy rate; and determining a decoding result of the P groups of to-be-decoded bits based on the decoding path having the highest accuracy rate.
11. An apparatus, comprising: at least one processor; and one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to: obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, wherein i is an integer, wherein P is an integer greater than 1, wherein 1<i≤P, and wherein L.sub.1 is a positive integer; determine L.sub.3 third decoding paths for each first decoding path, wherein a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, wherein n is a positive integer greater than or equal to 1, wherein L.sub.3 is a positive integer, and wherein L.sub.3<2.sup.n; and determine at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from L.sub.1×L.sub.3 third decoding paths, wherein the at least one reserved decoding path comprises a decoding result of the i.sup.th group of to-be-decoded bits.
12. The apparatus according to claim 11, wherein the determining L.sub.3 third decoding paths for each first decoding path comprises: determining L.sub.3 third decoding paths for each first decoding path when a preset condition is met.
13. The apparatus according to claim 12, wherein L.sub.1×L.sub.3 is greater than or equal to a first preset threshold.
14. The apparatus according to claim 13, wherein the preset condition is: L.sub.1×L.sub.2 is greater than the first preset threshold, wherein L.sub.2 represents a number of second decodine paths for each first decodine path.
15. The apparatus according to claim 13, wherein the first preset threshold is any one of 2, 4, 8, 16, 32, 64, or 128.
16. The apparatus according to claim 11, wherein the determining L.sub.3 third decoding paths for each first decoding path comprises: determining L.sub.2 second decoding paths for each first decoding path, wherein L.sub.2=2.sup.n; and determining the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
17. The apparatus according to claim 13, wherein L.sub.3=2.sup.m-k, wherein k is a positive integer, wherein m is a quantity of to-be-decoded bits comprised in each group of to-be-decoded bits, wherein m is an integer greater than 1, and wherein 1≤k<m.
18. The apparatus according to claim 17, wherein L.sub.3=2.sup.m-k comprises: if L.sub.1×2.sup.m-k is greater than or equal to the first preset threshold, L.sub.3=2.sup.m-k.
19. The apparatus according to claim 11, wherein L.sub.3 is any one of 2, 4, 8, 16, 32, or 64.
20. The apparatus according to claim 11, wherein when i=P, the method further comprises: determining, from the at least one reserved decoding path, a decoding path having a highest accuracy rate; and determining a decoding result of the P groups of to-be-decoded bits based on the decoding path having the highest accuracy rate.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
DESCRIPTION OF EMBODIMENTS
[0077] Embodiments of this application may be used in various fields in which polar coding is used, for example, a data storage field, an optical network communications field, and a wireless communications field. A wireless communications system mentioned in the embodiments of this application includes but is not limited to a narrowband internet of things (NB-IoT) system, Wimax, a long term evolution (LTE) system, and three major application scenarios: an enhanced mobile broadband (eMBB) scenario, an ultra-reliable low-latency communication (URLLC) scenario, and a massive machine-type communications (mMTC) scenario, of a next-generation 5G mobile communications system, namely, a new radio (NR) system. Certainly, there may be another field in which polar coding is used. This is not specifically limited in this application.
[0078] A communications apparatus in this application is mainly a network device or a terminal device. In this application, a sending device may be a network device, and a receiving device is a terminal device. In this application, if a sending device is a terminal device, a receiving device is a network device.
[0079] In the embodiments of this application, the terminal device includes but is not limited to a mobile station (MS), a mobile terminal (MT), a mobile telephone (MT), a handset, portable equipment, and the like. The terminal device may communicate with one or more core networks by using a radio access network (RAN). For example, the terminal device may be a mobile telephone (or referred to as a “cellular” telephone) or a computer having a wireless communication function. The terminal device may alternatively be a portable, pocket-sized, handheld, computer built-in, or in-vehicle mobile apparatus or device.
[0080] The embodiments are described with reference to the network device in this application. The network device may be an evolved NodeB (Evolutional Node B, eNB or eNodeB) in an LTE system, or may be a gNB, a transmission reception point (TRP), a micro base station, or the like in a 5G communications system, or may be a relay station, an access point, a vehicle-mounted device, a wearable device, a network device in a future evolved public land mobile network (PLMN), a network device in a network in which a plurality of other technologies are converged, a base station in various other evolved networks, or the like.
[0081]
[0082] Optionally, when the sending device 101 is a terminal device, the receiving device 102 is a network device; or when the sending device 101 is a network device, the receiving device is a terminal device.
[0083] Referring to
[0084] It should be noted that
[0085] In a communication process, a transmit end encodes an information bit and a frozen bit, to obtain a to-be-sent bit sequence, and sends the to-be-sent bit sequence. Optionally, the frozen bit is a padding bit, and the frozen bit may usually be 0. After rate matching, interleaving, and modulation, the to-be-sent bit sequence is transmitted to a receive end on a channel. The receive end performs processing such as demodulation on the received signal, to obtain a group of log likelihood ratios (LLR), where a quantity of LLRs included in the group of LLRs is the same as a quantity of bits included in the to-be-sent bit sequence. The receive end performs polar code decoding based on the received group of LLRs. The receive end may make a misjudgment regardless of whether the transmit end sends a bit 1 or a bit 0. For a transmit b, at the receive end, a ratio of a probability p(r|b=0) that a signal r is correctly determined as 0 to a probability p(r|b=)] that a signal r is correctly determined as 1 is a likelihood ratio. For ease of calculation and processing, a natural log is used for the likelihood ratio, so that a log likelihood ratio, that is, LLR=ln[p(r|b=0)/p(r|b=1)], can be obtained. The LLR may be a floating-point number.
[0086] The following describes in detail an SCL parallel decoding method shown in this application by using specific embodiments. It should be noted that the following several embodiments may be combined with each other, and same or similar content is not described repeatedly in different embodiments.
[0087]
[0088] S201: Obtain 2.sup.a LLRs, where
[0089] a is a positive integer greater than or equal to 1.
[0090] Optionally, a receiving device receives information, and then demodulates the information, to obtain the 2.sup.a LLRs.
[0091] Optionally, a quantity of LLRs obtained by the receiving device is the same as a quantity of bits sent by a sending device.
[0092] For example, assuming that a to-be-sent bit sequence sent by the sending device includes 2.sup.a bits, the receiving device obtains the 2.sup.a LLRs.
[0093] Optionally, a quantity of LLRs obtained by the receiving device is the same as a quantity of bits to be decoded by the receiving device.
[0094] For example, assuming that the receiving device obtains the 2.sup.a LLRs, the receiving device needs to decode 2.sup.a bits.
[0095] A decoder in the receiving device uses the 2.sup.a LLRs as input for decoding.
[0096] S202: Divide 2.sup.a to-be-decoded bits into P groups of to-be-decoded bits, where
[0097] each group of to-be-decoded bits includes m bits, 2.sup.a=P×m, P is a positive integer greater than 1, and m is a positive integer greater than or equal to 1.
[0098] Optionally, each group of to-be-decoded bits includes a to-be-decoded information bit and/or a to-be-decoded frozen bit, and the groups of to-be-decoded bits may include a same quantity of to-be-decoded information bits or different quantities of to-be-decoded information bits.
[0099] Optionally, the quantity m of bits included in each group of to-be-decoded bits may also be referred to as SCL parallel decoding parallelism.
[0100] For example, assuming that a quantity of to-be-decoded bits is 16 (that is, 2.sup.4), the to-be-decoded bits may be divided into P=4 groups, and each group of to-be-decoded bits includes four to-be-decoded bits.
[0101] S203: Perform P-step decoding based on the 2.sup.a LLRs by using the P groups of to-be-decoded bits as decoding objects, until a decoding result is obtained.
[0102] Optionally, a decoding result corresponding to first i groups of to-be-decoded bits may be obtained through i.sup.th-step decoding in the P-step decoding, where i is an integer greater than or equal to 1 and less than or equal to P. This may be implemented by performing the following step A to step C.
[0103] Step A: Calculate an (m+1).sup.th-layer LLR of each to-be-decoded information bit in an i.sup.th group of to-be-decoded bits based on the 2.sup.a LLRs, where
[0104] a polar code butterfly decoding network includes a+1 columns of LLRs, and the (m+1).sup.th-layer LLR is an LLR located in an (m+1).sup.th column from left to right in the polar code butterfly decoding network.
[0105] For example, referring to
[0106] Step B: Calculate, in parallel based on the (m+1).sup.th-layer LLR of each information bit in the i.sup.th group of to-be-decoded bits, path metric values of all possible decoding paths in the i.sup.th-step decoding.
[0107] Optionally, an LLR of each information bit in the i.sup.th group of to-be-decoded bits may be calculated in parallel by using a maximum likelihood (ML) algorithm or a simplified (simplify) successive cancellation (SC) algorithm, and then the path metric values of all the possible decoding paths in the i.sup.th-step decoding are calculated in parallel based on the LLR of each information bit in the i.sup.th group of to-be-decoded bits.
[0108] Optionally, a path metric value of a decoding path indicates a probability that the decoding path is a real decoding path.
[0109] Optionally, a smaller path metric value of a decoding path indicates a higher probability that the decoding path is a real decoding path.
[0110] Optionally, a path metric value of a decoding path may be calculated according to the following Formula 1.
where
[0111] l represents an index of a decoding path, m is a quantity of bits included in a current path, û.sub.jl is a decoding result (0 or 1) obtained by decoding a j.sup.th bit in the decoding path l, and α.sub.jl is an LLR of the j.sup.th bit in the decoding path l.
[0112] When i is greater than 1, all the possible decoding paths in the i.sup.th-step decoding may be determined based on a decoding path obtained through (i−1).sup.th-step decoding and a quantity n of information bits included in the i.sup.th group of to-be-decoded bits.
[0113] With reference to
[0114]
[0115] During third-step decoding, assuming that the third group of to-be-decoded bits includes two information bits, all possible decoding paths in the third-step decoding include 2.sup.2 decoding paths (0000, 0001, 0010, and 0011) obtained by extending the path 00 and 2.sup.2 decoding paths (1100, 1101, 1110, and 1111) obtained by extending the path 11. In other words, all the possible decoding paths in the third-step decoding include 0000, 0001, 0010, 0011, 1100, 1101, 1110, and 1111.
[0116] Step C: Select at least one reserved decoding path based on the path metric values of all the possible decoding paths.
[0117] Optionally, a quantity of reserved decoding paths is less than or equal to X, where
[0118] X is a quantity that is of reserved paths and that corresponds to the SCL parallel decoding method.
[0119] Optionally, the quantity X of reserved paths may be 4, 8, 16, or the like, and may be set based on an actual requirement.
[0120] It should be noted that, if a quantity of all possible decoding paths is greater than or equal to X, the quantity of reserved decoding paths is equal to X; or if a quantity of all possible decoding paths is less than X, the quantity of reserved decoding paths is less than X and is equal to the quantity of all possible decoding paths.
[0121] Optionally, when i is greater than 1, a decoding result in the (i−1).sup.th-step decoding needs to be used in the i.sup.th-step decoding.
[0122] For example, after first-step decoding, a plurality of reserved decoding paths in the first-step decoding may be obtained. The second-step decoding is performed based on the plurality of reserved decoding paths in the first-step decoding, to obtain a plurality of reserved decoding paths in the second-step decoding; the third-step decoding is performed based on the plurality of reserved decoding paths in the second-step decoding, to obtain a plurality of reserved decoding paths in the third-step decoding; and so on, until the P-step decoding is completed.
[0123] Optionally, when the i.sup.th-step decoding is completed, reserved decoding paths obtained through the i.sup.th-step decoding are decoding paths corresponding to the first to the i.sup.th groups of to-be-decoded bits. The decoding paths may be possible values of the first to the i.sup.th groups of to-be-decoded bits.
[0124] For example, it is assumed that a receive end receives 16 LLRs. Correspondingly, the quantity of to-be-decoded bits is 16, and the 16 to-be-decoded bits are respectively denoted as u0, u1, . . . , and u15. It is assumed that all the 16 to-be-decoded bits are to-be-decoded information bits. It is assumed that the 16 to-be-decoded bits are divided into four groups, each group of to-be-decoded bits includes four to-be-decoded bits, and to-be-decoded bits included in the four groups of to-be-decoded bits are shown in Table 1.
TABLE-US-00001 TABLE 1 First group of to-be-decoded bits u0, u1, u2, and u3 Second group of to-be-decoded bits U4, u5, u6, and u7 Third group of to-be-decoded bits U8, u9, u10, and u11 Fourth group of to-be-decoded bits U12, u13, u14, and u15
[0125] After the first-step decoding is completed, the reserved decoding paths obtained through the first-step decoding are decoding paths corresponding to the first group of to-be-decoded bits u0 to u3. A length of the plurality of decoding paths in the first-step decoding is 4. For example, the plurality of reserved decoding paths in the first-step decoding may be 0000, 0001, 0010, and 0011.
[0126] After the second-step decoding is completed, the reserved decoding paths obtained through the second-step decoding are decoding paths corresponding to the first and the second groups of to-be-decoded bits u0 to u7. A length of the plurality of decoding paths in the second-step decoding is 8. For example, the plurality of reserved decoding paths in the second-step decoding may be 00000000, 00000001, and 00000010.
[0127] After the third-step decoding is completed, the reserved decoding paths obtained through the third-step decoding are decoding paths corresponding to the first to the third groups of to-be-decoded bits u0 to u11. A length of the plurality of decoding paths in the third-step decoding is 12. For example, the plurality of reserved decoding paths in the third-step decoding may be 000000000000, 00000000001, and 000000000010.
[0128] After fourth-step decoding is completed, reserved decoding paths obtained through the fourth-step decoding are decoding paths corresponding to the first to the fourth groups of to-be-decoded bits u0 to u15. A length of the plurality of decoding paths in the fourth-step decoding is 16. For example, the plurality of reserved decoding paths in the fourth-step decoding may be 000000000000000 and 0000000000001.
[0129] Therefore, one decoding path may be selected from the plurality of reserved decoding paths obtained through the fourth-step decoding as the decoding result. For example, the foregoing description is used as an example, and the selected decoding path is 0000000000000001. In other words, the decoding result of the 16 bits u0 to u15 is 0000000000000001.
[0130] The following separately describes in detail a process of the first-step decoding and a process of the i.sup.th-step decoding (2≤i≤P). For details, refer to embodiments shown in
[0131]
[0132] S301: Calculate an (m+1).sup.th-layer LLR of each to-be-decoded information bit in the first group of to-be-decoded bits based on 2.sup.a LLRs.
[0133] S302: Calculate, in parallel based on the (m+1).sup.th-layer LLR of each to-be-decoded information bit in the first group of to-be-decoded bits, path metric values of all possible decoding paths in the first-step decoding.
[0134] Optionally, an LLR of each information bit in the first group of to-be-decoded bits may be calculated in parallel by using an ML algorithm or a simplified SC algorithm, and then the path metric values of all the possible decoding paths in the first-step decoding are calculated in parallel based on the LLR of each information bit in the first group of to-be-decoded bits.
[0135] For example, assuming that the first group of to-be-decoded bits includes two information bits, all the possible decoding paths in the first-step decoding include 22 decoding paths: 00, 01, 10, and 11.
[0136] For example, assuming that the first group of to-be-decoded bits includes four information bits, all the possible decoding paths in the first-step decoding include 24 decoding paths: 0000, 001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, and 1111.
[0137] S303: Determine, based on the path metric values of all the possible decoding paths in the first-step decoding, at least one reserved decoding path of the first group of to-be-decoded bits from all the possible decoding paths in the first-step decoding.
[0138] Optionally, the reserved decoding path of the first group of to-be-decoded bits may also be referred to as a first decoding path of the first group of to-be-decoded bits, or may be referred to as a reserved decoding path in the first-step decoding or a first decoding path in the first-step decoding.
[0139] Optionally, a quantity of reserved decoding paths in the first-step decoding is less than or equal to X, where X is a quantity that is of reserved paths and that corresponds to the SCL parallel decoding method.
[0140] Optionally, the quantity X of reserved paths may be 4, 8, 16, or the like, and may be set based on an actual requirement.
[0141] It should be noted that, if a quantity of all possible decoding paths in the first-step decoding is greater than or equal to X, X reserved decoding paths may be selected from all the possible decoding paths in the first-step decoding. In this case, the quantity of reserved decoding paths in the first-step decoding is equal to X. If a quantity of all possible decoding paths in the first-step decoding is less than X, all the possible decoding paths in the first-step decoding are determined as the reserved decoding paths in the first-step decoding. In this case, the quantity of reserved decoding paths obtained through the first-step decoding is less than X.
[0142] Optionally, a smaller path metric value of a decoding path indicates a higher probability that the decoding path is a real decoding path. In this case, if the quantity of all possible decoding paths in the first-step decoding is greater than X, the X reserved decoding paths may be selected in the following feasible implementation: determining, from all the possible decoding paths in the first-step decoding, X decoding paths having smallest path metric values as the X reserved decoding paths.
[0143]
[0144] S401: Obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, where
[0145] received data corresponds to P groups of to-be-decoded bits, 1<i≤P, P is an integer greater than 1, i is an integer, and L.sub.1 is a positive integer.
[0146] Optionally, L.sub.1≤X.
[0147] For example, when X is 8, L.sub.1 may be 2, 4, or 8.
[0148] It should be noted the L.sub.1 first decoding paths of the (i−1).sup.th group of to-be-decoded bits are reserved decoding paths of the (i−1).sup.th group of to-be-decoded bits.
[0149] It should be noted that, in the SCL parallel decoding method, decoding needs to be performed step by step. To be specific, first-step decoding is performed, to obtain a first decoding path (reserved decoding path) in the first-step decoding; then second-step decoding is performed based on the first decoding path in the first-step decoding, to obtain a first decoding path in the second-step decoding; then third-step decoding is performed based on the first decoding path in the second-step decoding, to obtain a first decoding path in the third-step decoding; and so on. Therefore, when i.sup.th-step decoding is performed, L.sub.1 first decoding paths in (i−1).sup.th-step decoding have been obtained.
[0150] Optionally, after the L.sub.1 first decoding paths in the (i−1).sup.th-step decoding are obtained, the L.sub.1 first decoding paths may be buffered. Correspondingly, during the i.sup.th-step decoding, the L.sub.1 first decoding paths may be directly obtained from the buffer.
[0151] S402: Determine L.sub.3 third decoding paths for each first decoding path, where
[0152] a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, L.sub.3 is a positive integer, and L.sub.3<2.sup.n.
[0153] Optionally, the L.sub.3 third decoding paths may be determined for each first decoding path by performing the following step A and step B.
[0154] Step A: Determine L.sub.2 second decoding paths for each first decoding path, where L.sub.2=2.sup.n.
[0155] Optionally, for any first decoding path, L.sub.2 second decoding paths corresponding to the first decoding path may be determined based on the first decoding path and the quantity n of information bits included in the i.sup.th group of to-be-decoded bits.
[0156] For example, assuming that a first decoding path is 0010, and n is 2, it may be determined that L.sub.2=2.sup.2=4 second decoding paths corresponding to the first decoding path 0010 include 001000, 001001, 001010, and 001011.
[0157] Step B: Determine the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
[0158] It should be noted that, L.sub.3 may be obtained before step B is performed, and S403 is performed only when L.sub.2>L.sub.3. When L.sub.2≤L.sub.3, step B does not need to be performed. Correspondingly, in S403, the at least one reserved decoding path can be directly determined from L.sub.1×L.sub.2 second decoding paths.
[0159] Optionally, L.sub.3 may be obtained in at least the following two feasible implementations.
[0160] In a feasible implementation, L.sub.3 may be a preset value.
[0161] In this feasible implementation, L.sub.3 is the preset value, and preset L.sub.3 may be pre-stored. Correspondingly, when L.sub.3 needs to be used, L.sub.3 only needs to be directly obtained.
[0162] For example, L.sub.3 may be any one of 2, 4, 8, 16, 32, or 64.
[0163] Certainly, in an actual application process, a value of L.sub.3 may be set based on an actual requirement. This is not specifically limited in this application.
[0164] In another feasible implementation, L.sub.3 is determined based on SCL decoding parallelism.
[0165] The SCL decoding parallelism refers to a quantity of bits included in a group of to-be-decoded bits in SCL parallel decoding.
[0166] Optionally, L.sub.3=2.sup.m-k, where m is the SCL parallel decoding parallelism, k is a positive integer, m is a positive integer, and 1≤k<m.
[0167] It should be noted that the foregoing merely shows, in a form of an example, a method for determining L.sub.3, and does not limit the method for determining L.sub.3. In an actual application process, L.sub.3 may be determined based on an actual requirement. This is not specifically limited in this application.
[0168] Optionally, the L.sub.3 third decoding paths are L.sub.3 decoding paths having highest probabilities that the L.sub.2 second decoding paths are real decoding paths.
[0169] Optionally, the L.sub.2 second decoding paths may be sorted based on path metric values of the L.sub.2 second decoding paths, and the L.sub.3 third decoding paths are selected from the L.sub.2 sorted second decoding paths.
[0170] For example, a smaller path metric value of a decoding path indicates a higher probability that the decoding path is a real decoding path. In this case, L.sub.3 decoding paths having smallest path metric values may be determined from the L.sub.2 second decoding paths as the L.sub.3 third decoding paths.
[0171] Because the L.sub.3 third decoding paths may be determined from the L.sub.2 second decoding paths corresponding to each first decoding path, a total of L.sub.1×L.sub.3 third decoding paths may be determined.
[0172] S403: Determine at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from the L.sub.1×L.sub.3 third decoding paths, where
[0173] the at least one reserved decoding path includes a decoding result of the i.sup.th group of to-be-decoded bits.
[0174] Optionally, a quantity of the at least one reserved decoding path is less than or equal to X, where
[0175] X is a quantity that is of reserved decoding paths and that corresponds to successive cancellation list SCL decoding, and X is a positive integer.
[0176] For example, X may be 4, 8, or 6.
[0177] Certainly, in an actual application process, X may be set based on an actual requirement.
[0178] Optionally, the L.sub.1×L.sub.3 third decoding paths may be sorted based on path metric values of the L.sub.1×L.sub.3 third decoding paths, and the at least one reserved decoding path is selected from the L.sub.1×L.sub.3 sorted third decoding paths.
[0179] For example, a smaller path metric value of a decoding path indicates a higher probability that the decoding path is a real decoding path. In this case, X decoding paths having smallest path metric values may be determined from the L.sub.1×L.sub.3 third decoding paths as the at least one reserved decoding path.
[0180] Optionally, when L.sub.1×L.sub.3<X, all the L.sub.1×L.sub.3 third decoding paths may be determined as the reserved decoding paths.
[0181] In S402, the L.sub.2 second decoding paths need to be sorted for L.sub.1 times, and the L.sub.3 third decoding paths are selected. Therefore, when a sorting method in which time complexity is O(n.sup.2) is used for sorting, sorting complexity in S402 is L.sub.1×L.sub.2×L.sub.3.
[0182] In S403, the L.sub.1×L.sub.3 third decoding paths need to be sorted once, and the reserved decoding path is selected. In most decoding steps, X reserved decoding paths are usually selected. Therefore, when the sorting method in which time complexity is O(n.sup.2) is used for sorting, sorting complexity in S404 is L.sub.1×L.sub.3×X.
[0183] In conclusion, sorting complexity of the i.sup.th-step decoding (2≤i≤P) in this application is L.sub.1×L.sub.2×L.sub.3+L.sub.1×L.sub.3×X.
[0184] Sorting complexity of the i.sup.th-step decoding (2≤i≤P) is usually L.sub.1×L.sub.2×X.
[0185] The sorting complexity is usually greater than the sorting complexity in this application. Details are described as follows:
[0186] Because L.sub.1 is usually equal to X, L.sub.2=2.sup.n, L.sub.3=2.sup.m-k, and m is usually equal to n, it can be learned that:
[0187] the sorting complexity in this application is X×2.sup.n×2.sup.n-k+X×2.sup.n-k×X; and
[0188] the sorting complexity is X×2.sup.n×X, where
X×2.sup.n×X−X×2.sup.n×2.sup.n-k−X×2.sup.n-k×X=X×2.sup.n-k×[X×(2.sup.k−1)−2.sup.n].
[0189] In an actual application process, a value of k is properly set, so that X×(2.sup.k−1)>2.sup.n. In this way, the sorting complexity in this application is lower.
[0190] For example, it may be determined that k=n−2, and it is assumed that X=2.sup.a. In this case, 2.sup.a×(2.sup.n-2−1)>2.sup.n provided that a>2, so that the sorting complexity in this application is lower.
[0191] With reference to
[0192]
[0193] In the i.sup.th-step decoding, for each decoding path in the (i−1).sup.th-step decoding, 16 decoding paths may be obtained through extension, so that a total of 16*8=128 decoding paths can be obtained through extension. Then, the 128 decoding paths are sorted based on path metric values of the decoding paths, and eight decoding paths in the i.sup.th-step decoding are selected from the 128 sorted decoding paths. In this case, sorting complexity is: 128*8=1024.
[0194] It can be learned from the foregoing that in this application, the sorting complexity can be greatly reduced, thereby improving decoding efficiency.
[0195] According to the SCL parallel decoding method provided in this application, in any i.sup.th-step decoding (i≥2) of SCL parallel decoding, the L.sub.1 first decoding paths of the (i−1).sup.th group of to-be-decoded bits are first obtained, and each first decoding path is extended, to obtain the L.sub.2 second decoding paths corresponding to each first decoding path. When L.sub.2>L.sub.3, the L.sub.3 third decoding paths are selected from the L.sub.2 second decoding paths corresponding to each first decoding path, to obtain the L.sub.1×L.sub.3 third decoding paths, and the at least one reserved decoding path is selected from the L.sub.1×L.sub.3 third decoding paths. In the foregoing process, the sorting complexity is reduced, thereby improving efficiency of the SCL parallel decoding method.
[0196]
[0197] S601: Obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, where
[0198] received data corresponds to P groups of to-be-decoded bits, P is an integer greater than 1, i is an integer, 1<i≤P, and L.sub.1 is a positive integer.
[0199] It should be noted that, for a process of performing S601, refer to S401. Details are not described herein again.
[0200] S602: Determine L.sub.3 third decoding paths for each first decoding path when a preset condition is met, where
[0201] L.sub.1×L.sub.3 is greater than or equal to a first preset threshold, a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, L.sub.3 is a positive integer, and L.sub.3<2.sup.n.
[0202] Optionally, the preset condition is: L.sub.1×L.sub.2 is greater than the first preset threshold, where L.sub.2=2.sup.n.
[0203] Optionally, L.sub.3 may be determined, and then the L.sub.3 third decoding paths are determined for each first decoding path.
[0204] Optionally, L.sub.3 may be determined in at least the following two feasible implementations.
[0205] In a feasible implementation,
[0206] a preset parameter (2.sup.p) is preset, and it is first determined whether a product of L.sub.1 and the preset parameter is greater than or equal to the first preset threshold. If the product of L.sub.1 and the preset parameter is greater than or equal to the first preset threshold, the preset parameter is determined as L.sub.3. If the product of L.sub.1 and the preset parameter is less than the first preset threshold, the preset parameter is updated. The updated preset parameter is determined as L.sub.3 until the product of L.sub.1 and the updated preset parameter is greater than or equal to the first preset threshold. For example, when the preset parameter is updated, p may be increased by 1 step by step.
[0207] In another feasible implementation,
[0208] it is determined that L.sub.3=2.sup.n-k, and a value of k is properly set, so that L.sub.1×L.sub.3 is greater than or equal to the first preset threshold.
[0209] Optionally, the L.sub.3 third decoding paths may be determined for each first decoding path by performing the following step A and step B.
[0210] Step A: Determine L.sub.2 second decoding paths for each first decoding path, where L.sub.2=2.sup.n.
[0211] It should be noted that, for any first decoding path, L.sub.2 second decoding paths corresponding to the first decoding path may be determined based on the first decoding path and the quantity n of information bits included in the i.sup.th group of to-be-decoded bits.
[0212] For example, assuming that a first decoding path is 0010, and n is 2, it may be determined that L.sub.2=2.sup.2=4 second decoding paths corresponding to the first decoding path 0010 include 001000, 001001, 001010, and 001011.
[0213] Step B: Determine the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
[0214] Optionally, the L.sub.3 third decoding paths are L.sub.3 decoding paths having highest probabilities that the L.sub.2 second decoding paths are real decoding paths.
[0215] Optionally, the L.sub.2 second decoding paths may be sorted based on path metric values of the L.sub.2 second decoding paths, and the L.sub.3 third decoding paths are selected from the L.sub.2 sorted second decoding paths.
[0216] For example, a smaller path metric value of a decoding path indicates a higher probability that the decoding path is a real decoding path. In this case, L.sub.3 decoding paths having smallest path metric values may be determined from the L.sub.2 second decoding paths as the L.sub.3 third decoding paths.
[0217] Because the L.sub.3 third decoding paths may be determined from the L.sub.2 second decoding paths corresponding to each first decoding path, a total of L.sub.1×L.sub.3 third decoding paths may be determined.
[0218] S603: Determine at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from the L.sub.1×L.sub.3 third decoding paths, where
[0219] the at least one reserved decoding path includes a decoding result of the i.sup.th group of to-be-decoded bits.
[0220] It should be noted that, for a process of performing S603, refer to the process of performing S403. Details are not described herein again.
[0221] It should be noted that sorting complexity shown in the embodiment shown in
[0222] According to the SCL parallel decoding method provided in this application, in any i.sup.th-step decoding (i≥2) of SCL parallel decoding, the L.sub.1 first decoding paths of the (i−1).sup.th group of to-be-decoded bits are first obtained, and each first decoding path is extended, to obtain the L.sub.2 second decoding paths corresponding to each first decoding path. When L.sub.1×L.sub.2 is greater than the first preset threshold, the L.sub.3 third decoding paths are determined for each first decoding path, to obtain the L.sub.1×L.sub.3 third decoding paths, and the at least one reserved decoding path is selected from the L.sub.1×L.sub.3 third decoding paths. In the foregoing process, the sorting complexity is reduced, thereby improving efficiency of the SCL parallel decoding method.
[0223] The following further describes the embodiment shown in
[0224]
[0225] S701. Obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits.
[0226] It should be noted that, for a process of performing S701, refer to the process of performing S401. Details are not described herein again in this application.
[0227] S702: Determine L.sub.2 second decoding paths corresponding to each first decoding path based on a quantity n of information bits included in an i.sup.th group of to-be-decoded bits.
[0228] It should be noted that, for a process of performing S702, refer to the process of performing step A in the embodiment shown in
[0229] S703: When L.sub.2>L.sub.3, determine whether L.sub.1×L.sub.2 is greater than a first preset threshold.
[0230] If L.sub.1×L.sub.2 is greater than the first preset threshold, S704 to S708 are performed; or
[0231] if L.sub.1×L.sub.2 is less than or equal to the first preset threshold, S709 is performed.
[0232] Optionally, the first preset threshold is a minimum quantity of decoding paths included in a reserved decoding path set in one-step decoding. The reserved decoding path set is a decoding path set from which at least one reserved decoding path is selected.
[0233] For example, the first preset threshold may be any one of 2, 4, 8, 16, 32, 64, or 128.
[0234] Certainly, in an actual application process, the first preset threshold may be set based on an actual requirement. This is not specifically limited in this application.
[0235] S704: Determine whether L.sub.1×L.sub.3 is greater than the first preset threshold.
[0236] If L.sub.1×L.sub.3 is greater than the first preset threshold, S705 and S706 are performed; or
[0237] if L.sub.1×L.sub.3 is less than or equal to the first preset threshold, S707 and S708 are performed.
[0238] S705: Determine L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
[0239] It should be noted that, for a process of performing S705, refer to the process of performing step B in the embodiment shown in
[0240] S706: Determine at least one reserved decoding path from L.sub.1×L.sub.3 third decoding paths.
[0241] It should be noted that, for a process of performing S706, refer to the process of performing S403. Details are not described herein again in this application.
[0242] S707: Determine L.sub.4 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path, where
L.sub.3<L.sub.4<L.sub.2.
[0243] Optionally, in S707, L.sub.4 may be first determined.
[0244] Optionally, assuming that L.sub.3=2.sup.q, because L.sub.2=2.sup.n, it may be determined that L.sub.4=2.sup.t, where q<t<n.
[0245] It should be noted that, for an execution process of determining the L.sub.4 third decoding paths from the L.sub.2 second decoding paths, refer to the process of determining the L.sub.3 third decoding paths from the L.sub.2 second decoding paths in step B in the embodiment shown in
[0246] S708: Determine at least one reserved decoding path from L.sub.1×L.sub.4 third decoding paths.
[0247] It should be noted that, for a process of performing S708, refer to the process of performing S403. Details are not described herein again in this application.
[0248] S709: Determine at least one reserved decoding path from L.sub.1×L.sub.2 second decoding paths.
[0249] It should be noted that, for a process of performing S709, refer to the process of performing S403. Details are not described herein again in this application.
[0250] In the embodiment shown in
[0251] With reference to
[0252]
[0253] Referring to
TABLE-US-00002 TABLE 2 First group of to-be-decoded bits u0, u1, u2, and u3 Second group of to-be-decoded bits U4, u5, u6, and u7 Third group of to-be-decoded bits U8, u9, u10, and u11 Fourth group of to-be-decoded bits U12, u13, u14, and u15
[0254] Referring to
[0255] Referring to
[0256] Referring to
[0257] The third-step decoding and the fourth-step decoding are performed by using a method similar to that of the second-step decoding. After the fourth-step decoding, eight reserved decoding paths may be obtained, and one decoding path is selected from the eight fourth decoding paths as a decoding result.
[0258]
[0259] the obtaining module 11 is configured to obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, where i is an integer, received data corresponds to P groups of to-be-decoded bits, P is an integer greater than 1, 1<i≤P, and L.sub.1 is a positive integer;
[0260] the first determining module 12 is configured to determine L.sub.3 third decoding paths for each first decoding path, where a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, n is a positive integer greater than or equal to 1, L.sub.3 is a positive integer, and L.sub.3<2.sup.n; and
[0261] the second determining module 13 is configured to determine at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from L.sub.1×L.sub.3 third decoding paths, where the at least one reserved decoding path includes a decoding result of the i.sup.th group of to-be-decoded bits.
[0262] Optionally, the obtaining module 11 may perform S401 in the embodiment shown in
[0263] Optionally, the first determining module 12 may perform S402 in the embodiment shown in
[0264] Optionally, the second determining module 13 may perform S403 in the embodiment shown in
[0265] It should be noted that the SCL parallel decoding apparatus shown in this application may perform the technical solutions shown in the foregoing method embodiments. Implementation principles and beneficial effects of the SCL parallel decoding apparatus are similar to those of the technical solutions. Details are not described herein again.
[0266] In a possible implementation, the first determining module 12 is specifically configured to:
[0267] determine L.sub.2 second decoding paths for each first decoding path, where L.sub.2=2.sup.n; and
[0268] determine the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
[0269] In another possible implementation, L.sub.3=2.sup.m-k, where k is a positive integer, m is a quantity of to-be-decoded bits included in each group of to-be-decoded bits, m is an integer greater than 1, and 1≤k<m.
[0270] In another possible implementation, L.sub.3 is any one of 2, 4, 8, 16, 32, or 64.
[0271]
[0272] the third determining module 14 is configured to: when i=P, determine, from the at least one reserved decoding path, a decoding path having a highest accuracy rate, and determine a decoding result of the P groups of to-be-decoded bits based on the decoding path.
[0273] It should be noted that the SCL parallel decoding apparatus shown in this application may perform the technical solutions shown in the foregoing method embodiments. Implementation principles and beneficial effects of the SCL parallel decoding apparatus are similar to those of the technical solutions. Details are not described herein again.
[0274]
[0275] the obtaining module 21 is configured to obtain L.sub.1 first decoding paths of an (i−1).sup.th group of to-be-decoded bits, where i is an integer, P is an integer greater than 1, received data corresponds to P groups of to-be-decoded bits, 1<i≤P, and L.sub.1 is a positive integer;
[0276] the first determining module 22 is configured to determine L.sub.3 third decoding paths for each first decoding path when a preset condition is met, where L.sub.1×L.sub.3 is greater than or equal to a first preset threshold, a quantity of information bits in an i.sup.th group of to-be-decoded bits is n, n is a positive integer greater than or equal to 1, L.sub.3 is a positive integer, and L.sub.3<2.sup.n; and
[0277] the second determining module 23 is configured to determine at least one reserved decoding path of the i.sup.th group of to-be-decoded bits from L.sub.1×L.sub.3 third decoding paths, where the at least one reserved decoding path includes a decoding result of the i.sup.th group of to-be-decoded bits.
[0278] Optionally, the obtaining module 21 may perform S601 in the embodiment shown in
[0279] Optionally, the first determining module 22 may perform S602 in the embodiment shown in
[0280] Optionally, the second determining module 23 may perform S603 in the embodiment shown in
[0281] It should be noted that the SCL parallel decoding apparatus shown in this application may perform the technical solutions shown in the foregoing method embodiments. Implementation principles and beneficial effects of the SCL parallel decoding apparatus are similar to those of the technical solutions. Details are not described herein again.
[0282] In another possible implementation, the first determining module 22 is specifically configured to:
[0283] determine L.sub.2 second decoding paths for each first decoding path, where L.sub.2=2.sup.n; and
[0284] determine the L.sub.3 third decoding paths from the L.sub.2 second decoding paths corresponding to each first decoding path.
[0285] In another possible implementation, the preset condition is:
[0286] L.sub.1×L.sub.2 is greater than the first preset threshold.
[0287] In another possible implementation, the first preset threshold is any one of 2, 4, 8, 16, 32, 64, or 128.
[0288] In another possible implementation, if L.sub.1×2.sup.m-k is greater than or equal to the first preset threshold, L.sub.3=2.sup.m-k, where k is a positive integer, m is a quantity of to-be-decoded bits included in each group of to-be-decoded bits, m is an integer greater than 1, and 1≤k<m.
[0289] In another possible implementation, L.sub.3 is any one of 2, 4, 8, 16, 32, or 64.
[0290]
[0291] the third determining module 24 is configured to: when i=P, determine, from the at least one reserved decoding path, a decoding path having a highest accuracy rate, and determine a decoding result of the P groups of to-be-decoded bits based on the decoding path.
[0292] It should be noted that the SCL parallel decoding apparatus shown in this application may perform the technical solutions shown in the foregoing method embodiments. Implementation principles and beneficial effects of the SCL parallel decoding apparatus are similar to those of the technical solutions. Details are not described herein again.
[0293]
[0294] Optionally, the SCL parallel decoding apparatus may further include a transmitter and/or a receiver.
[0295] Optionally, the processor may be a central processing unit (CPU), or may be another general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or the like. The general purpose processor may be a microprocessor, or the processor may be any conventional processor or the like. The steps (S201 to S203 in the embodiment shown in
[0296] This application provides a computer-readable storage medium. The computer-readable storage medium includes an instruction. When the instruction is run on a computer, the computer is enabled to perform the SCL parallel decoding method provided in any one of the foregoing method embodiments.
[0297] This application provides a chip. The chip is configured to support a receiving device (for example, a terminal device or a network device) in implementing a function (for example, obtaining a first decoding path, determining a second decoding path, determining a third decoding path, and determining a reserved decoding path) in the embodiments of this application. The chip is specifically used in a chip system. The chip system may include the chip, or may include the chip and another discrete device. When the chip in the receiving device implements the foregoing method, the chip includes a processing unit. Further, the chip may further include a communications unit. The processing unit may be, for example, a processor. When the chip includes the communications unit, the communications unit may be, for example, an input/output interface, a pin, or a circuit. The processing unit performs all or some actions performed by processing modules (for example, the obtaining module, the first determining module, the second determining module, and the third determining module in
[0298] All or some of the steps of the method embodiments may be implemented by hardware related to a program instruction. The foregoing program may be stored in a readable memory. When the program is executed, the steps in the foregoing method embodiments are performed. The foregoing memory (storage medium) includes: a read-only memory (ROM for short), a RAM, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.
[0299] The embodiments of this application are described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to the embodiments of this application. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a special-purpose computer, an embedded processor, or a processing unit of another programmable data processing device to generate a machine, so that instructions executed by the computer or the processing unit of the another programmable data processing device generate an apparatus for implementing a specified function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[0300] These computer program instructions may alternatively be stored in a computer-readable memory that can instruct a computer or another programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specified function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[0301] The computer program instructions may alternatively be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specified function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[0302] Apparently, a person skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. This application is intended to cover these modifications and variations provided that they fall within the scope of protection defined by the following claims and their equivalent technologies.
[0303] In this application, the term “including” and a variant thereof may refer to non-limitative inclusion; and the term “or” and a variant thereof may refer to “and/or”. In this application, the terms “first”, “second”, and the like are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence. In this application, “a plurality of” means two or more than two. The term “and/or” describes an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. The character “/” generally indicates an “or” relationship between the associated objects.