CN107273088B - Rapid sequencing method and device for polarization codes - Google Patents
Rapid sequencing method and device for polarization codes Download PDFInfo
- Publication number
- CN107273088B CN107273088B CN201710456345.1A CN201710456345A CN107273088B CN 107273088 B CN107273088 B CN 107273088B CN 201710456345 A CN201710456345 A CN 201710456345A CN 107273088 B CN107273088 B CN 107273088B
- Authority
- CN
- China
- Prior art keywords
- paths
- candidate
- sorting
- candidate paths
- network
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/22—Arrangements for sorting or merging computer data on continuous record carriers, e.g. tape, drum, disc
- G06F7/24—Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers sorting methods in general
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0045—Arrangements at the receiver end
- H04L1/0054—Maximum-likelihood or sequential decoding, e.g. Viterbi, Fano, ZJ algorithms
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a rapid sequencing method and device for a polarization code, and belongs to the technical field of wireless communication. The invention firstly carries out pre-sorting on M paths which are expanded by different types of nodes when the width is L and are searched in a Fast-SSC List decoding algorithm, then carries out simplification on the pre-sorted M paths according to the method provided by the invention, deletes part of redundant candidate paths, then inputs the rest candidate paths into an MSR module for sorting, and finally outputs the minimum L candidate paths. Finally, the invention designs a sequencing architecture compatible with four nodes, and compared with a sequencing method without deletion, the invention greatly saves the resource consumption.
Description
Technical Field
The invention belongs to the technical field of wireless communication.
Background
The polarization code is the only theoretically proven coding scheme that can reach Shannon (Shannon) limit at present and becomes an error correction code for the control channel of 5G communication. Gabi Sarkis, Pascal Giard propose Fast-SSC (Fast simplified serial cancellation) algorithm, which can decode a plurality of code words in one clock cycle, compared with SC (serial cancellation algorithm), improving throughput. To reduce the error rate, they propose a Fast-SSC List (Fast simplified serial cancellation List) algorithm that improves the decoding performance of Fast-SSC, reducing the BLER (ratio of erroneous blocks to the total number of blocks received by the digital circuit). But the number of candidate paths of Fast-SSC List extension is much larger than 2L of SC List (serial cancellation List algorithm), resulting in large resource consumption and path delay of the sorting network.
The Fast-SSC List leaf nodes comprise a plurality of types which are divided into four types, each layer expands a plurality of paths according to the type of the leaf node in the decoding process, each path corresponds to a PM value, the paths are sequenced by utilizing a sequencing network after being expanded each time, L most reliable paths are selected, and L paths with smaller PM absolute values are reserved, namely the searching width is L. It is known that the REP node, the Rate-1 node, and the SPC node extend 2,4, and 8 paths (M is 2,4, and 8), respectively, while the Rate-0 node does not extend the path. Because the upper stage reserves L paths, after expansion, the total number of M X L candidate paths is obtained, corresponding to M X L PM values, and the absolute value of the PM value is usedIs shown in whichThe PM absolute value of the mth path of the l path extension retained by the previous stage is represented.
At present, a Bitonic (Bitonic) network is mainly used as a sorting network for the List algorithm, and L candidate paths with the highest reliability can be selected from 2L candidate paths. A tailored Bitonic network may save 14% of resources when L is 32, relative to a Bitonic network. The simplified Odd-Even (Odd-Even) sorting network divides the sequence to be sorted into two Odd-Even sequences, wherein the Odd sequence is an ordered sequence, the sorted Even sequence is more than or equal to the corresponding Odd sequence unit, the HC (half-cleaner) network in the ordered Even sequence can be deleted, and the number of comparison units (CASU, compare and select unit) is effectively reduced. The sorting networks are designed aiming at the SCL algorithm, the characteristic that the number of candidate paths generated by Fast-SSC List nodes is different is not considered, and the direct application of the sorting networks to the Fast-SSC List causes larger network delay and resource consumption.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a quick sorting method for the polar codes, and partial candidate paths can be deleted through pre-sorting according to the property of Fast-SSC List extended paths, so that the number of the candidate paths participating in subsequent sorting is reduced, the hardware complexity is reduced, the sorting speed and the resource utilization rate are improved, and the quick sorting method has good practical value.
The technical scheme of the invention is as follows:
the sorting method adopted according to different node types in the Fast-SSC List decoding algorithm is as follows:
rate-0 node
Since the path is not expanded by the Rate-0 node, the candidate path does not need to be selected, and the L paths are directly reserved to the next stage.
B.REP node
Each REP node expands two paths, and the expanded paths have 2L paths in total, from which L paths need to be selected. The sorting method uses Odd-even and Bitonic mixed sorting, namely the first half sorting uses two L-input Odd-even sorting networks to sort L candidate paths respectively to obtain two monotonic L sequences, then uses HC network in Bitonic to select L minimum values, and CASU and sorting series (stage) used by the L-input Odd-even sorting network can be expressed by formulas (1) and (2).
WhereinRepresenting the number of CASUs used by the parity-ordered network for the L input,representing the sorting progression used by the parity sorting network of the L input;
rate-1 node
For the Rate-1 type nodes, the four paths extended by each node satisfy equation (3),
1) it is first pre-ordered: sorting the mth path expanded by each path in the L paths reserved at the previous stage into four groups by an Odd-even sorting network, respectively sorting the mth path by a comparator I, a comparator II, a comparator III and a comparator IV by using CASU and stage as formulas (1) and (2), respectively outputting L candidate paths meeting the requirement (4),
it is worth noting that when L is<In M, all the candidate paths do not need to be pre-ordered, and only the candidate paths need to be pre-orderedAndpre-sorting is performed, and the other four candidate paths do not belong to the minimum 2 candidate paths, so that the two candidate paths need not be considered, and M is equal to L:
wherein the content of the first and second substances,the mth path representing the expansion of the mth node; formula (3): l is more than or equal to 1 and less than or equal to L, M is more than or equal to 1 and less than or equal to M-1; formula (4): l is more than or equal to 1 and less than or equal to L-1, M is more than or equal to 1 and less than or equal to M, and M is the number of paths expanded by each node.
2) And then deleting candidate paths obtained by pre-sorting: the matrix composed of the candidate paths and the columns and rows satisfying (3) and (4) respectively is called an ordered candidate path matrix. And constructing an ordered candidate path matrix by using the candidate paths obtained by pre-ordering. Deleting paths which do not need to be sorted according to a deleting method, which comprises the following specific steps: the first line isAll candidate paths are retained and recordedThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate path
Note ALThe number of the total candidate paths is,the number of the remaining candidate paths in the ith row after the ordered candidate path matrix is pruned,the number of the remaining candidate paths after being deleted by the deletion algorithm is
AL=M*L (5)
3) And finally, sequencing the deleted residual candidate paths: the first row and the second row are sharedInputting the data into a simplified Odd-even merging network, and outputting L minimum values after the data are sequenced by a comparator V; inputting the rest data of the third row and the fourth row into another simplified Odd _ even merging network, and outputting monotonous data after being sorted by a comparator VIThe smallest sequence. And inputting the candidate paths sequenced by the comparator V and the comparator VI into a half-cleaner in the Bitonic algorithm, and outputting L minimum values.
SPC node
For SPC type nodes, the 8 paths each node extends satisfy equation (7):
1) It first needs to be pre-ordered: first to each otherAnd (6) sorting. Then sorting the mth path expanded by each path in the L paths reserved in the previous stage through an Odd _ even sorting network. All data can meet the simplification conditions, namely the data can be written into the form of an ordered candidate path matrix;
the CASU and the stage used by the Odd _ even sequencing network can be obtained by the formulas (1) and (2);
if the search width L is smaller than the path number M of the node expansion, the method comprises the following steps: when L is 4, it can be deleted directlyAndwhen L is 1 or 2, it is only necessary toAnd performing pre-sorting, wherein other data are not in the minimum L rows, and M is equal to L.
2) And then deleting candidate paths obtained by pre-sorting: the candidate paths are constructed into an ordered candidate path matrix. Deleting paths which do not need to be sorted according to a deleting method, which comprises the following specific steps: the first line isAll candidate paths are retained and recordedThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate pathThe fifth element isOnly reserve(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); in the seventh rowRetention(lambda is an integer) candidate paths delete the remaining candidate paths, andin the eighth lineReserve lessDeleting the rest of the candidate paths from the candidate path
Note ALThe number of the total candidate paths is,the number of the remaining candidate paths in the ith row after the ordered candidate path matrix is pruned,for the number of candidate paths remaining after deletion by the pruning algorithm,
AL=M*L (5)
3) and then sorting the deleted residual candidate paths: merging and sorting the rest paths of the ordered candidate path matrix, wherein the first row and the second row are sharedInputting the data into a simplified Odd _ even merging network, and outputting L minimum values; inputting the rest data of the third row and the fourth row into the simplified Odd _ even merging network and outputting the data in orderA minimum value; the fifth, sixth and seventh, eighth rows use Odd _ even merge network merge sort; the candidate paths sorted and output by the merging network still satisfy the formulas (3) and (4), can be written into a form of an ordered candidate path matrix, are deleted according to a deletion algorithm, are input into a subsequent simplified Odd _ even merging network for sorting again, and output results are output by a Bitonic half-cleaner and then L minimum values are output.
In practical application, in order to save resources to a greater extent, on the basis of the deletion algorithm provided by the invention, a sorting framework is designed, so that the sorting framework is compatible with sorting networks required by different types of nodes at the same time, and the sorting framework is obtained under the condition that M is 8 and L is more than or equal to 8 and comprises a pre-sorting module (presorter) and a deleted sorting Module (MSR).
Wherein the pre-ordering module (presorter) is configured to perform the following steps:
aiming at M paths which are expanded according to node types, firstly, two 2L input first-level sequences are ordered, and sequences are respectively orderedAndsorting to obtain output Andafter the sorting, the input candidate path can satisfy the formula (3). Then on the basis of the above-mentionedPerforming secondary sorting through the Odd _ even sorting network, deleting part of candidate paths, and respectively outputting the most reliable pathsAnd the ordered candidate paths are used as the ith row of the ordered candidate paths to form a pruned ordered candidate path matrix, and the specific pruning method comprises the following steps:
1) the first row of the candidate path matrixAll reserve and rememberThe second line isThe L/2 path candidates with smaller number are reserved, the other path candidates are deleted and recorded
2) The third row of the candidate path matrixReserve less(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the fourth line isOnly remain smallDeleting the other candidate paths and recording
3) The fifth row of the candidate path matrixOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); in the seventh rowOnly reserve(λ is an integer) candidate paths, prune the remaining candidate paths,(λ is an integer); in the eighth lineOnly remain smallDeleting the other candidate paths and recording
The Odd _ even sorting network of the secondary sorting L input satisfies (1) and (2) by using CASU and sorting stage number (stage),
a post-pruning ranking Module (MSR) is configured to perform the steps of:
a. outputting a first row and a second row of an ordered candidate path matrixEach data is input to the simplified Odd _ even merging network, and L minimum values are output.
b. Merging and sorting the output of the third row and the rest of the fourth row of the ordered candidate path matrix, wherein the output is not more thanA sequential minimum.
c. Merging and sorting the outputs of the rest part of the fifth row and the sixth row of the ordered candidate path matrix, and outputtingA sequential minimum.
d. Merging and sorting the outputs of the rest of the seventh row and the eighth row of the ordered candidate path matrix, and outputtingA sequential minimum.
e. And (c) inputting the data output by the step (a) and the step (b) into a simplified Odd _ even merging network for merging and sorting, and outputting L minimum values.
f. Inputting the data output by the step c and the step d into a simplified Odd _ even merging network for merging and sorting, and outputting only a smaller data
g. And e, inputting the data output in the step e and the step f into the HC network for Bitonic sorting and outputting L minimum values.
The invention has the beneficial effects that: compared with the non-deleted sorting algorithm, the method can effectively reduce the number of comparison units, thereby reducing the hardware use area and further saving corresponding hardware resources. The different ranking algorithms use CASU and stage data comparisons as shown in table 1, where the parity and Bitonic ranking columns are the resources used to rank all M x L candidate paths. When M is 8 and L is 16, the algorithm provided herein can reduce CASU by 57% and stage by 29% compared with the parity sorting algorithm, and can reduce CASU by 65% and stage by 29% compared with the Bitonic sorting algorithm.
TABLE 1
Drawings
FIG. 1 is a block diagram of the sequencing of REP type nodes in the present invention
FIG. 2 is a schematic diagram of the basic CASU function of the present invention
FIG. 3 is a sequencing network of REP type nodes in the present invention
Fig. 4 is a schematic diagram of the present invention with L-4 and M-4 being omitted
FIG. 5 is a block diagram of the ordering of the type of Rate-1 node in the present invention
FIG. 6 is a block diagram of the ordering of SPC node types in the present invention
FIG. 7 is a diagram of the sorter0 sorting network of FIG. 6
FIG. 8 is a diagram of an 8-input Odd _ even ranking network
FIG. 9 is a block diagram of an ordering scheme compatible with four node types
FIG. 10 is a sorter01, sorter02 pre-ordered network
Fig. 11 is an Odd _ even ranking network with L ═ 16 inputs
Fig. 12 shows the merging and sorting network of the 1 st and 2 nd rows after the deletion when L is 16
Fig. 13 shows the merging and sorting network of the 3 rd and 4 th rows after the deletion when L is 16
Fig. 14 shows the sorted network of the 5 th and 6 th rows after the deletion when L is 16
Fig. 15 shows the 7 th and 8 th row sorting networks after the deletion when L is 16
FIG. 16 is a merging and sorting network of the output data of FIGS. 12 and 13
FIG. 17 is a merging and sorting network of the output data of FIGS. 14 and 15
FIG. 18 is a sequencing network of the output data of FIGS. 16 and 17
Detailed Description
The sorting method according to different node types is concretely as follows:
rate-0 node
Since the path is not expanded by the Rate-0 node, the candidate path does not need to be selected, and the L paths are directly reserved to the next stage.
B.REP node
When two paths are expanded when a REP node is encountered, the expanded paths have 2L paths in total, and L paths need to be selected from the expanded paths. The sorting method uses Odd-even and Bitonic mixed sorting, namely the first half sorting uses two L-input Odd-even sorting networks to sort L candidate paths respectively to obtain two monotonous L sequences, then uses HC networks in the Bitonic sorting to select L minimum values, and the sorting block diagram is shown in FIG. 1. Taking L ═ 4 as an example, the detailed sorting network is shown in fig. 3, the sorting network is composed of three parts, namely, a comparator I (sorter1), a comparator II (sorter2) and a half-cleaner (HC), 4 minimum values are output, the comparator I (sorter1) and the comparator II (sorter2) are Odd-even sorting networks, and CASU and sorting stages (stage) used by the L-input Odd-even sorting network can be represented by expressions (1) and (2).
Rate-1 node
For the Rate-1 type node, the four paths extended by each node satisfy equation (3), which is first pre-ordered:
the mth path expanded by each path in the L paths reserved at the previous stage is sorted by an Odd-even sorting network, and is divided into four groups, which respectively correspond to the sorter1, the sorter2, the sorter3 and the sorter4 in fig. 5, and the mth path is divided into four groups, and uses CASU and stage such as CASU and stageAnd (3) respectively outputting L candidate paths meeting the requirement (4) by the formulas (1) and (2). It is worth noting that when L is<In M, all the candidate paths do not need to be pre-ordered, and only the candidate paths need to be pre-orderedAndpre-sorting is performed, and the other four candidate paths do not belong to the minimum 2 candidate paths, so that the four candidate paths need not be considered, and M is equal to L:
wherein formula (3): l is more than or equal to 1 and less than or equal to L, M is more than or equal to 1 and less than or equal to M-1; formula (4): l is more than or equal to 1 and less than or equal to l-1, M is more than or equal to 1 and less than or equal to M
And then deleting candidate paths obtained by pre-sorting: writing the candidate paths into the form shown in fig. 4 refers to the matrix shown in fig. 4, which is composed of the candidate paths and has columns and rows satisfying (3) and (4), respectively, as an ordered candidate path matrix. Deleting the elements which do not need to be sorted according to a deleting method, which comprises the following specific steps: the first row of the ordered candidate path matrixAll candidate paths are retained and recordedThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate path
In the ordered candidate path matrix ① shown in fig. 4, the deleted first part data is represented, the deleted second part data is represented by a block ②, and the deletion module is represented by a Pruned module in fig. 5;
the AL is expressed as the number of all candidate data,the number of the remaining candidate paths in the ith row after the ordered candidate path matrix is pruned,for the number of candidate paths remaining after deletion by the pruning algorithm,
AL=M*L (5)
finally, the deleted residual candidate paths are sorted, and the first row and the second row are sharedInputting the data into a simplified Odd-even merging network, corresponding to a sorter5 in FIG. 5, and outputting L minimum values; inputting the data of the third row and the fourth row into the simplified Odd _ even merging network and outputting the data which is monotonousThe smallest sequence, corresponding to sorter6 in fig. 5. And inputting the candidate paths sorted by the sorter5 and the sorter6 into an HC network in the Bitonic sorting, and outputting L minimum values.
SPC node
For SPC type nodes, the 8 paths each node extends satisfy equation (7):
To satisfy the simplification conditions, it is first pre-ordered: first to each otherSorting is performed as in fig. 7. Denoted sorter0 throughout the ranking network, as shown in fig. 6. Then, the mth path expanded by each path in the L paths reserved at the previous stage is sorted through the Odd _ even sorting network, which is represented as sorter 11-sorter 18. All data can meet the simplification conditions, namely the data can be written into the form of ordered candidate paths; the CASU and the stage used by the sorters 11-18 can be obtained from the formulas (1) and (2); if L is<M, when L is 4, can be deleted directlyAndwhen L is 1, 2, only need to be pairedAnd performing pre-sorting, wherein other data are not in the minimum L rows, and M is equal to L.
Writing the pre-ordered candidate paths into an ordered candidate path matrix form, and deleting paths which do not need to be ordered according to a deletion method, wherein the method specifically comprises the following steps: the first line isAll candidate paths are retained and recordedThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate pathThe fifth element isOnly reserve(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); in the seventh rowRetention(lambda is an integer) candidate paths delete the remaining candidate paths, andin the eighth lineReserve lessDeleting the rest of the candidate paths from the candidate path
And then sorting the deleted residual candidate paths: merging and sorting the rest paths of the ordered candidate path matrix, wherein the first row and the second row are sharedInputting the data into a simplified Odd _ even merging network, corresponding to a sorter21 in FIG. 6, and outputting L minimum values; inputting the rest data of the third row and the fourth row into the simplified Odd _ even merging network and outputting the data in orderA minimum value, corresponding to sorter22 in fig. 6; the merging networks used in the fifth line, the sixth line, the seventh line and the eight line respectively correspond to the sorter23 and the sorter 24; the candidate paths sorted and output by the sorter2i (i is more than or equal to 1 and less than or equal to 4) still satisfy the formulas (3) and (4), can be written into the form of an ordered candidate path matrix, are deleted according to a deletion algorithm, and are input into a subsequent simplified Odd _ even merging network, namely the sorter31 and the sorter32 respectively, and the sorting methods of the sorter21 and the sorter22 are completely the same. The outputs of sorters 31 and 32 are then passed through a Bitonic sorted half cleaner HC to output L minimum values.
The above is a simple description of the sorting architecture of different node types, the number of the extension paths of different nodes is shown in table 2, and the comparison between the number of different node types needing sorting after being deleted from the network and the total number of data before deletion is shown in table 3.
TABLE 2
TABLE 3
In practical applications, in order to save resources to a greater extent, on the basis of the deletion algorithm provided by the present invention, a sorting architecture is designed to be compatible with the sorting networks required by different types of nodes, and the overall architecture is as shown in fig. 9, and includes a pre-sorting module (presorter) and a deleted sorting Module (MSR). The compatible structure provided by the present invention is obtained under the condition that L is greater than or equal to 8, and when L is 2,4, it is known that all candidate paths do not need to be pre-sorted according to the sorting method of SPC and Rate-1 type nodes, so that the number of CASU used is correspondingly reduced, which is not described in detail, and the sorting structure thereof is analyzed in detail below.
The pre-ordering module (presorter) is used for executing the following steps:
firstly, for M paths which are expanded according to node types, two 2L input first-level sequences are respectively expanded for each node corresponding to sorters 01 and 02 in FIG. 9To correspond toAndto correspond toAnd (4) sorting, wherein after primary sorting, the input candidate path can satisfy the formula (3). Then, on the basis, the M-th (M is more than or equal to 1 and less than or equal to M) path expanded by each path in the L paths reserved at the previous stage is subjected to secondary sorting through an Odd _ even sorting network, and corresponding to sorter1i in FIG. 9, the most reliable candidate paths are respectively output by deleting part of candidate pathsAnd (3) forming a pruned ordered candidate path matrix by taking the ordered candidate paths as the ith row of the ordered candidate paths, wherein i is more than or equal to 1 and less than or equal to 8, the sorter1i satisfies (1) and (2) by using resources, and when L is 8, the sorter1i sorts the network as shown in fig. 8. The method for pruning the ordered candidate path matrix specifically comprises the following steps:
1) the first row of the candidate path matrixAll reserve and rememberThe second line isThe L/2 path candidates with smaller number are reserved, the other path candidates are deleted and recorded
2) The third row of the candidate path matrixReserve less(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the fourth line isOnly remain smallDeleting the other candidate paths and recording
3) The fifth row of the candidate path matrixOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); in the seventh rowOnly reserve(λ is an integer) candidate paths, prune the remaining candidate paths,(λ is an integer); in the eighth lineOnly remain smallDeleting the other candidate paths and recording
A post-pruning ranking Module (MSR) is configured to perform the steps of:
the ordered candidate path matrix after the deletion can be obtained through the steps, the candidate path after the deletion is input into the MSR module, and L minimum values are finally output, wherein the MSR module comprises the following steps:
a. the first row and the second row of the ordered candidate path matrix, namely the sorters 11 and 12 are output togetherEach data is input to a simplified Odd _ even merging network, corresponding to the sorter21 network in fig. 9, and L minimum values are output.
b. Sorting the outputs of sorters 13, 14 for the remaining third and fourth rows of the ordered candidate path matrixAnd sorting, outputting no more thanThe ordered minimum, corresponding to the sorter22 network in fig. 9.
c. Merging and sorting the outputs of the remaining parts of the fifth row and the sixth row of the ordered candidate path matrix, namely sorter15 and sorter16, and outputtingThe ordered minimum, corresponding to the sorter23 network in fig. 9.
d. Merging and sorting the outputs of the seventh row and the residual parts of the eighth row of the ordered candidate path matrix, namely sorter17 and sorter18, and outputtingThe ordered minimum, corresponding to the sorter24 network in fig. 9.
Note that: a. b, c and d sequencing data have no dependency relationship and can be executed in parallel, the output of the sorter2i can be written into the form of an ordered candidate path matrix, redundant candidate paths are deleted continuously according to the deletion method provided by the invention, or the sorter2i directly outputsA sequential minimum.
e. The sorters 21 and 22 output togetherEach data is input to a simplified Odd _ even merging network, corresponding to the sorter31 network in fig. 9, and L minimum values are output.
f. The outputs of the sorters 23 and 24 are input into the simplified Odd _ even merging network, and only a small output is neededCorresponding to the sorter32 network in fig. 9.
Note that: e. the f sorting data has no dependency relationship and can be executed in parallel.
g. And the outputs of the sorters 31 and 32 are input into the HC network bitonic ordering and output L minimum values.
It is noted that sorters 1i-sorter3i in the sorting network all evolve on the basis of the Odd _ even sorting algorithm, and only the HC network used by the last stage is from the Bitonic sorting algorithm. The compatible sorting architecture may input all M × L candidate paths when M is 8, and when M is 8<When the pressure is higher than 8 times, the pressure is lower than the reference pressure,the input ports have (8-M) × L input supplementary max values, and max is the maximum value which can be input. The sequencing network using stage provided by the invention consists of two parts of pre-sequencing and deletion-and-post-sequencingAndthe stages used for pre-sorting and post-deletion sorting are represented by equations (8) and (9), respectively.
The working principle is as follows: all sequencing networks of the invention are composed of one or more CASUs (coherent access units), as shown in FIG. 2, the inputs of the CASUs are in1 and in2 on the left side, the right side is output, and the data is large downlink and small uplink. The output of the previous stage in the sequencing framework is used as the input of the next stage and is connected with the input of the next stage by a wire.
In order to make the objects, technical solutions and advantages of the present invention more clear, the following takes L ═ 16 as an example to describe in detail the sequencing method proposed by the present invention with reference to the accompanying drawings and specific examples:
step one, pre-sequencing:
the input is two 2L input first-level sorting networks, corresponding to sorter01 and sorter01 in FIG. 9, the sorting networks are respectively shown in FIGS. 10(a) and (b), the output elements respectively satisfy W01_2i-1 ≤ W01_2i, and W02_2i-1 ≤ W02_2 i. Each network needs 16 CASUs, and stage is 1;
sequencing the mth path expanded by each path in the L paths reserved at the previous stage through an Odd _ even sequencing network, corresponding to sorter1i in fig. 9, where the sequencing network is as shown in fig. 11, each path needs 63 CASUs, and stage is 10, and the calculation method satisfies equations (1) and (2). The input of the Sorter11 is W01_2i-1 output by the Sorter01, and the input of the Sorter12 is W01_2i output by the Sorter 01; the input to Sorter13 isThe input of the Sorter14 is W02_2i-1 output by the Sorter02, the input of the Sorter15 is W01_2i output by the Sorter02, and the inputs of the Sorter16 to the Sorter18 are respectively Each network input is all 16 paths, and according to the deletion algorithm, the network corresponding to the sorter1i deletes part of candidate paths and respectively outputs the most reliable pathsForming a pruned ordered candidate path matrix by ordered candidate paths, and recording the output as W1i _ j, wherein i is more than or equal to 1 and less than or equal to 8,
the second step is that: sorting after deletion:
A1. the sorting network shown in fig. 12 corresponds to the sorter21 network in fig. 9, the left inputs are the outputs of sorter11 and sorter12, the sorting method is to simplify Odd _ even merging sorting network, the solid circles in fig. 12 are CASUs actually used, and the open circles represent deletable CASUs;
B1. the sorting network shown in fig. 13 corresponds to the sorter22 network in fig. 9, the left inputs are the outputs of the sorter13 and the sorter14, the sorting method is to simplify the Odd _ even merging sorting network, total 8 CASUs, stage is 3, and the open circles indicate deletable CASUs;
C1. the sorting network shown in fig. 14 corresponds to the sorter23 network in fig. 9, the left inputs are the outputs of the sorter15 and the sorter16, the sorting method is to simplify the Odd _ even merging sorting network, 3 CASUs are used, the stage is 2, and the open circles indicate deletable CASUs;
D1. the sorting network shown in fig. 15 corresponds to the sorter24 network in fig. 9, the left inputs are the outputs of the sorter17 and the sorter18, the sorting method is to simplify the Odd _ even merging sorting network, 1 CASU is provided, stage is 1, and the open circles indicate deletable CASUs, which satisfy the equations (15) and (16);
since A1, B1, C1 and D1 have no dependency relationship in the ordering data, the data are executed in parallel, and the stage is the most used item, namely the stage
Stage used in A1 was 4, for a total of 44 CASUs.
E1. Fig. 16 shows that the sorting network is the sorter31 network in fig. 9, and the left inputs are the outputs of sorter21 and sorter22 in fig. 9, that is, the outputs of the merging networks in fig. 12 and 13, which are sorted and output smaller 16 ordered values, which totally require 32 CASUs, and have 4 stages;
F1. fig. 17 shows that the sorting network is the sorter32 network in fig. 9, the left inputs are the outputs of sorter23 and sorter24 in fig. 9, that is, the outputs of the merging networks in fig. 14 and 15, sorting the outputs and outputting 8 ordered values, which require 8 CASUs in total, and stage is 3;
the data in E1 and F1 have no dependency relationship, and can be executed in parallel, and the maximum stage is used, namely stage is 4, and CASU is the sum of the two, and the total number of the two is 40 CASUs.
G1. The sorting network shown in fig. 18 is the HC network in fig. 9, and the left inputs are the outputs of sorter31 and sorter32 in fig. 9, that is, the outputs of the merging networks in fig. 16 and 17, which are sorted and output smaller L-16 sorted values. A total of 8 CASUs, 1 stage are required.
Outputting 16 minimum values through the sequencing of A1-G1, using 92 CASU, taking the maximum value in each step by stage, and 9 stages in total; while the undeleted Odd even ranking network uses 207 CASUs. The sequencing network uses 628 CASUs in total and has 20 sequencing stages, while the Odd _ even sequencing network without deletion uses 727 CASUs in total and has 23 sequencing stages; compared with the undeleted sequencing network, the deleted sequencing network not only reduces the CASU, but also reduces the CASU stage.
Claims (2)
1. A rapid ordering method for a polar code is disclosed, which specifically comprises the following steps according to the ordering method adopted by different node types in a rapid simplified serial offset list algorithm:
rate-0 node
Directly reserving the L paths to the next stage;
B.REP node
Each REP node expands two paths, 2L paths are shared after expansion, and L paths need to be selected from the extended paths; the ordering method uses odd-even ordering and double-tone mixed ordering, namely the first half ordering uses two L-input odd-even ordering networks to respectively order L candidate paths to obtain two monotonous L sequences, then L minimum values are selected by using a half cleaner network in the double-tone ordering, and the CASU and the ordering series used by the L-input odd-even ordering network can be represented by formulas (1) and (2);
whereinRepresenting the number of CASUs used by the parity-ordered network for the L input,representing the sorting progression used by the parity sorting network of the L input;
rate-1 node
For the Rate-1 type nodes, the four paths extended by each node satisfy equation (3),
1) it is first pre-ordered: the mth path expanded by each path in the L paths reserved at the previous stage is sorted into four groups by an odd-even sorting network, the mth path is sorted by a comparator I, a comparator II, a comparator III and a comparator IV respectively, the mth path is sorted by using CASU and sorting progression formula (1) and (2), L candidate paths meeting the requirement (4) are output respectively,
it is worth noting that when L is<In M, all the candidate paths do not need to be pre-ordered, and only the candidate paths need to be pre-orderedAndpre-sorting is performed, and the other four candidate paths do not belong to the two smallest candidate paths, so that the two smallest candidate paths do not need to be considered, and M is equal to L:
wherein the content of the first and second substances,the mth path representing the expansion of the mth node; formula (3): l is more than or equal to 1 and less than or equal to L, M is more than or equal to 1 and less than or equal to M-1; formula (4): l is more than or equal to 1 and less than or equal to L-1, M is more than or equal to 1 and less than or equal to M, and M is the number of paths expanded by each node;
2) and then deleting candidate paths obtained by pre-sorting: writing the candidate path into an ordered candidate path matrix of a matrix which consists of the candidate paths and satisfies (3) and (4) in columns and rows respectively; deleting paths which do not need to be sorted according to a deleting method, which comprises the following specific steps: the first line isReserve allPartial candidate route, memoryThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate path
Note ALThe number of the total candidate paths is,the number of the remaining candidate paths in the ith row after the ordered candidate path matrix is pruned,after being deleted by a deletion algorithmThe number of remaining candidate paths is
AL=M*L (5)
3) And finally, sequencing the deleted residual candidate paths: the first row and the second row are sharedInputting the data into a simplified Odd-even merging network, and outputting L minimum values after the data are sequenced by a comparator V; inputting the rest data of the third row and the fourth row into another simplified Odd _ even merging network, and outputting monotonous data after being sorted by a comparator VIA minimum sequence; inputting the candidate paths sequenced by the comparator V and the comparator VI into a semi-cleaner network, and outputting L minimum values;
SPC node
For SPC type nodes, the 8 paths each node extends satisfy equation (7):
1) It first needs to be pre-ordered: first to each otherSorting is carried out; then, sequencing the mth path expanded by each path in the L paths reserved at the previous stage through an odd-even sequencing network; all data can meet the simplification conditions, namely the data can be written into the form of an ordered candidate path matrix; CASU and sorting used by parity sorting networks can be of the following formulas(1) And (2) obtaining;
if the search width L is smaller than the path number M of the node expansion; the method comprises the following steps: when L is 4, it can be deleted directlyAndwhen L is 1 or 2, it is only necessary toPre-sorting, wherein other data are not in the minimum L rows, and M is equal to L;
2) and then deleting candidate paths obtained by pre-sorting: writing the candidate path into an ordered candidate path matrix of a matrix which consists of the candidate paths and satisfies (3) and (4) in columns and rows respectively; deleting paths which do not need to be sorted according to a deleting method, which comprises the following specific steps: the first row of the ordered candidate path matrixAll candidate paths are retained and recordedThe second line isThe L/2 path candidates with smaller number are retained to delete the rest path candidates and recordThe third line isReserve less(lambda is an integer) candidate paths delete remaining candidate pathsRadial and radical memory(λ is an integer); the fourth line isOnly remain smallDeleting the rest of the candidate paths from the candidate pathThe fifth element isOnly reserve (lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths delete the remaining candidate paths, and(λ is an integer); in the seventh rowRetention(lambda is an integer) candidate paths delete the remaining candidate paths, andin the eighth lineReserve lessDeleting the rest of the candidate paths from the candidate path
Note ALThe number of the total candidate paths is,the number of the remaining candidate paths in the ith row after the ordered candidate path matrix is pruned,for the number of candidate paths remaining after deletion by the pruning algorithm,
AL=M*L (5)
3) and then sorting the deleted residual candidate paths: merging and sorting the rest paths of the ordered candidate path matrix, wherein the first row and the second row are sharedInputting the data into a simplified odd-even merging network, and outputting L minimum values; inputting the remaining data of the third and fourth rows to the reduced parityParallel network, output orderedA minimum value; the fifth line, the sixth line and the seventh line and the eight lines are merged and sorted by using a merging network; the candidate paths sorted and output by the merging network still satisfy the formulas (3) and (4), can be written into a form of an ordered candidate path matrix, are deleted according to a deletion algorithm, are input into a subsequent simplified odd-even merging network for sorting again, and output results are sorted by a half-cleaner and then output L minimum values.
2. An apparatus for implementing the method for fast sequencing for polar codes according to claim 1, wherein the sequencing network compatible with different node types comprises a pre-sequencing module and a post-puncturing sequencing module;
wherein, the pre-ordering module is used for executing the following steps:
for M paths which are expanded according to node types, firstly, two 2L input first-level sequences are arranged, and each node is expandedTo correspond toAndto correspond toSorting is carried out, and after primary sorting, the input candidate path can satisfy the formula (3); then, on the basis, the M (M is more than or equal to 1 and less than or equal to M) th path expanded by each path in the L paths reserved at the previous stage is subjected to secondary sorting through a parity sorting network, and meanwhile, the most reliable paths are respectively output by deleting part of candidate pathsForming a pruned ordered candidate path matrix by taking the ordered candidate paths as the ith row of the ordered candidate path matrix; the specific method for deleting the candidate paths is as follows:
1) the first row of the candidate path matrixAll reserve and rememberThe second line isThe L/2 path candidates with smaller number are reserved, the other path candidates are deleted and recorded
2) The third row of the candidate path matrixReserve less(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the fourth line isOnly remain smallDeleting the other candidate paths and recording
3) The fifth row of the candidate path matrixOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); the sixth line isOnly reserve(lambda is an integer) candidate paths, and deleting and recording the rest of the candidate paths(λ is an integer); in the seventh rowOnly reserve(λ is an integer) candidate paths, prune the remaining candidate paths,(λ is an integer); in the eighth lineOnly remain smallDeleting the other candidate paths and recording
The parity sorting network of the L input uses CASU and the sorting order number satisfies (1) and (2),
the post-pruning sorting module is used for executing the following steps:
a. outputting a first row and a second row of an ordered candidate path matrixInputting the data into a simplified odd-even merging network for merging and sorting, and outputting L minimum values;
b. inputting the output of the third row and the rest of the fourth row of the ordered candidate path matrix into the simplified odd-even merging network for merging and sorting, and outputting the output not more thanA number of ordered minima;
c. the outputs of the rest parts of the fifth row and the sixth row of the ordered candidate path matrix are input into the simplified odd-even merging network for merging and sorting, and the outputA number of ordered minima;
d. the outputs of the rest parts of the seventh row and the eighth row of the ordered candidate path matrix are input into the simplified odd-even merging network for merging and sorting, and the outputA number of ordered minima;
e. inputting the data output in the step a and the step b into a simplified odd-even merging network for merging and sequencing, and outputting L minimum values;
f. inputting the data output in the step c and the step d into a simplified odd-even merging network for merging and sorting, and outputting only a small quantity
g. And e, inputting the data output in the step e and the step f into the half-cleaner network and outputting L minimum values to finish the sequencing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710456345.1A CN107273088B (en) | 2017-06-16 | 2017-06-16 | Rapid sequencing method and device for polarization codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710456345.1A CN107273088B (en) | 2017-06-16 | 2017-06-16 | Rapid sequencing method and device for polarization codes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107273088A CN107273088A (en) | 2017-10-20 |
CN107273088B true CN107273088B (en) | 2020-04-24 |
Family
ID=60066570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710456345.1A Active CN107273088B (en) | 2017-06-16 | 2017-06-16 | Rapid sequencing method and device for polarization codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273088B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995382B (en) * | 2017-12-29 | 2021-01-05 | 华为技术有限公司 | Polar code decoder |
US10581465B2 (en) * | 2018-01-11 | 2020-03-03 | Samsung Electronics Co., Ltd | Special node (constituent code) processing for fast/simplified polar successive cancellation list (SCL) decoder |
CN110635808B (en) * | 2018-06-22 | 2021-11-30 | 华为技术有限公司 | Polar code decoding method and decoding device |
CN110620587B (en) * | 2019-09-20 | 2023-02-17 | 上海大学 | Polarization code BP decoding unit based on different data type transmission |
CN111076736B (en) * | 2020-01-02 | 2020-10-27 | 清华大学 | Vehicle-mounted system based on FPGA design and A star path searching method |
CN113630126B (en) * | 2020-05-07 | 2023-11-14 | 大唐移动通信设备有限公司 | Polar code decoding processing method, device and equipment |
CN112104412B (en) * | 2020-11-17 | 2021-02-02 | 四川九洲电器集团有限责任公司 | Accelerator suitable for low-orbit satellite broadband communication |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122966A (en) * | 2011-04-15 | 2011-07-13 | 北京邮电大学 | Channel-polarization-based encoder for staggered structure duplication code, and encoding and decoding methods thereof |
CN102318288B (en) * | 2011-07-29 | 2014-11-05 | 华为技术有限公司 | Method, equipment and system of node sorting and selection |
CN105281814A (en) * | 2014-07-23 | 2016-01-27 | 重庆重邮信科通信技术有限公司 | Basic odd-even merge grid unit and survivor path selection and construction method and device |
CN105281785A (en) * | 2015-10-22 | 2016-01-27 | 东南大学 | List successive cancellation decoding method and apparatus for polar codes |
CN106656214A (en) * | 2016-12-22 | 2017-05-10 | 东南大学 | Dynamic distribution sorting algorithm based on successive cancellation list polarization code decoding |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020169835A1 (en) * | 2000-12-30 | 2002-11-14 | Imarcsgroup.Com,Llc | E-mail communications system, method and program |
-
2017
- 2017-06-16 CN CN201710456345.1A patent/CN107273088B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122966A (en) * | 2011-04-15 | 2011-07-13 | 北京邮电大学 | Channel-polarization-based encoder for staggered structure duplication code, and encoding and decoding methods thereof |
CN102318288B (en) * | 2011-07-29 | 2014-11-05 | 华为技术有限公司 | Method, equipment and system of node sorting and selection |
CN105281814A (en) * | 2014-07-23 | 2016-01-27 | 重庆重邮信科通信技术有限公司 | Basic odd-even merge grid unit and survivor path selection and construction method and device |
CN105281785A (en) * | 2015-10-22 | 2016-01-27 | 东南大学 | List successive cancellation decoding method and apparatus for polar codes |
CN106656214A (en) * | 2016-12-22 | 2017-05-10 | 东南大学 | Dynamic distribution sorting algorithm based on successive cancellation list polarization code decoding |
Non-Patent Citations (1)
Title |
---|
极化码的译码算法研究及其应用;张亮;《中国博士学位论文全文数据库信息科技辑》;20170215(第02期) * |
Also Published As
Publication number | Publication date |
---|---|
CN107273088A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273088B (en) | Rapid sequencing method and device for polarization codes | |
CN109325032B (en) | Index data storage and retrieval method, device and storage medium | |
CN109889205A (en) | Encoding method and system, decoding method and system, and encoding and decoding method and system | |
CN110138390A (en) | A kind of polarization code SSCL algorithm decoder based on deep learning | |
CN114697654B (en) | Neural network quantization compression method and system | |
CN103270699B (en) | For determining the apparatus and method of search starting point | |
CN111275186A (en) | Micro-structure searching method based on grouping and layering mechanism | |
CN113076312A (en) | Merging tree form sorting device, sorting system and sorting method | |
CN108833052B (en) | Channel polarization decoding path metric value sorting method | |
Wang et al. | Improved metric sorting for successive cancellation list decoding of polar codes | |
CN115391553A (en) | Method for automatically searching time sequence knowledge graph complement model | |
CN107896137A (en) | A kind of sort method suitable for the division of polarization code decoding path | |
US20100057809A1 (en) | Information storing/retrieving method and device for state transition table, and program | |
CN113691993A (en) | Method and system for predicting 5G connected cluster base station group flow based on graph neural network | |
CN103761298B (en) | Distributed-architecture-based entity matching method | |
Mohan et al. | A multiprocessor architecture for the (M, L)-algorithm suitable for VLSI implementation | |
CN106708532B (en) | Multilevel regular expression matching method based on TCAM | |
CN110765730A (en) | Method for simplifying combined logic circuit | |
CN102456073A (en) | Partial extremum inquiry method | |
Reisizadeh et al. | Sub-linear time stochastic threshold group testing via sparse-graph codes | |
Das | A new non-recursive algorithm for reconstructing a binary tree from its traversals | |
CN111404558B (en) | Polar code decoding method, decoder and computer storage medium | |
CN111444180B (en) | Double-layer structure index and query method thereof | |
CN105281814B (en) | Basic odd-even merging grid unit and survival path selection construction method and device | |
Mishra et al. | P-ENS: parallelism in efficient non-dominated sorting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |