Layered decoding method, device, equipment and readable storage medium

By pre-sorting the check nodes of the base matrix and optimizing the layer update sequence, the problem of decoding performance loss caused by the top-down layer update sequence in the traditional hierarchical decoding method is solved, and more efficient decoding convergence is achieved. and resource utilization.

CN118473425BActive Publication Date: 2024-09-27汉江国家实验室 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410921407.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-27
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The traditional hierarchical decoding method causes decoding performance loss due to the top-down layer update sequence, making it difficult to effectively improve decoding speed and hardware resource utilization.

Method used

Sort the check nodes of the base matrix through preset sorting rules to determine the layer update order, so that variable nodes with large degrees are sorted first, and check nodes with small degrees are sorted later, thereby optimizing the layer update order and improving the decoding convergence speed. and reduce the number of iterations.

Benefits of technology

It accelerates the decoding convergence speed, reduces the decoding delay, effectively improves the performance of hierarchical decoding, and improves the utilization of hardware resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118473425B
    Figure CN118473425B
Patent Text Reader

Abstract

The present application provides a layered decoding method, device, equipment and readable storage medium, the method comprising: sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence, determining the sorting of the check nodes in the target sequence as the sorting of the corresponding layer in the layer update order, wherein the preset sorting rule comprises: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the sorting of the check node connected to the variable node, and for a single variable node of the base matrix, when the sorting of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the sorting; hierarchical decoding of the received vector according to the extended matrix and the layer update order. Hierarchical decoding through the layer update order optimized by the present application helps to speed up the decoding convergence speed, effectively reduce the number of iterations, and reduce the decoding delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a layered decoding method, device, equipment and readable storage medium. Background Art

[0002] The decoding of QC-LDPC code (Quasi-Cyclic Low-Density Parity-Check Code) often adopts the layered decoding method, which expands the base matrix to obtain the cyclic shift extension matrix, divides the number of rows of the extension matrix into several layers, and each layer corresponds to a check node of the base matrix. When decoding, the layers are updated sequentially to achieve a compromise between decoding speed and hardware resource overhead. However, the traditional layered decoding method is limited by the top-down layer update order, and the decoding will lose a certain performance. In the related technology, a certain strategy is used to optimize the layer update order to improve the decoding performance. Summary of the invention

[0003] The present application provides a layered decoding method, apparatus, device and readable storage medium, which can solve the technical problem in the prior art that the top-down layer update sequence causes decoding performance loss.

[0004] In a first aspect, an embodiment of the present application provides a layered decoding method, the layered decoding method comprising:

[0005] The check nodes of the base matrix are sorted according to a preset sorting rule to obtain a target sequence, and the sorting of the check nodes in the target sequence is determined as the sorting of the corresponding layer in the layer update order, wherein the preset sorting rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the sorting of the check node connected to the variable node; for a single variable node of the base matrix, when the sorting of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the sorting;

[0006] The received vector is hierarchically decoded according to the spreading matrix and the layer update order.

[0007] Furthermore, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0008] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0009] Determine the first variable node of the first sequence as the current variable node;

[0010] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0011] If the to-be-sorted set is not empty, the next variable node of the first sequence is determined as the current variable node, and the process returns to the step of performing the preset operation on the current variable node;

[0012] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0013] Furthermore, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0014] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0015] Determine the first variable node of the first sequence as the current variable node;

[0016] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0017] If there are multiple check nodes in the set to be sorted, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute. If there is one check node in the set to be sorted, the check node is taken out and added to the end of the second sequence;

[0018] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0019] Furthermore, in one embodiment, in the step of sorting the variable nodes of the base matrix from large to small according to the variable node degrees to obtain the first sequence, multiple variable nodes with equal degrees are sorted from small to large according to the variable node serial numbers.

[0020] Furthermore, in one embodiment, in the step of sorting the check nodes from small to large according to the check node degrees and then adding them to the tail of the second sequence, for multiple check nodes with equal degrees, they are sorted from small to large according to the check node sequence numbers.

[0021] Furthermore, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0022] For each check node of the base matrix, obtain the degree of each variable node connected to the check node, and record the maximum value of the degree as the first reference value of the check node;

[0023] The check nodes of the base matrix are sorted from large to small according to the first reference value, and multiple check nodes with equal first reference values ​​are sorted from small to large according to the check node degree to obtain a target sequence.

[0024] Furthermore, in one embodiment, in the step of sorting the check nodes from small to large according to their degrees, for multiple check nodes with equal degrees, they are sorted from small to large according to their check node serial numbers.

[0025] In a second aspect, an embodiment of the present application further provides a layered decoding device, the layered decoding device comprising:

[0026] A reordering module is used to order the check nodes of the base matrix according to a preset ordering rule to obtain a target sequence, and determine the order of the check nodes in the target sequence as the order of the corresponding layer in the layer update order, wherein the preset ordering rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the order of the check node connected to the variable node, and for a single variable node of the base matrix, when the order of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the order;

[0027] The decoding module is used for hierarchical decoding of the received vector according to the expansion matrix and the layer update order.

[0028] In a third aspect, an embodiment of the present application further provides a layered decoding device, comprising a processor, a memory, and a layered decoding program stored in the memory and executable by the processor, wherein when the layered decoding program is executed by the processor, the steps of the above-mentioned layered decoding method are implemented.

[0029] In a fourth aspect, an embodiment of the present application further provides a readable storage medium, on which a layered decoding program is stored, wherein when the layered decoding program is executed by a processor, the steps of the above-mentioned layered decoding method are implemented.

[0030] In this application, considering that variable nodes with large degrees can transmit useful information to more check nodes compared to variable nodes with small degrees, and accelerate the decoding convergence speed, it is required in the preset sorting rules that for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the ranking of the check node connected to the variable node, considering that the check node with small degree means that the number of bits connected to the check bit is small, the probability of correct decoding is large, and at the same time, compared with the check node with large degree, the decoding speed is faster due to the small number of connected bits. It is required in the preset sorting rules that for a single variable node of the base matrix, when the ranking of the check node connected to the variable node is not determined by the variable node with larger degree, the smaller the degree of the check node, the higher the ranking. Layered decoding through the layer update order optimized by this application helps to accelerate the decoding convergence speed, effectively reduce the number of iterations, and reduce decoding delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Schematic diagram of the process of a layered decoding method in an embodiment of the present application;

[0032] Figure 2 This is a schematic diagram of the process of constructing a target sequence in one embodiment of the present application;

[0033] Figure 3 This is a schematic diagram of a process for constructing a target sequence in another embodiment of the present application;

[0034] Figure 4 is a schematic diagram of a base matrix in one embodiment of the present application;

[0035] Figure 5 Schematic diagram of the hardware structure of the layered decoding device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0038] In a first aspect, an embodiment of the present application provides a layered decoding method.

[0039] Figure 1 A schematic diagram of the process of a layered decoding method in an embodiment of the present application is shown.

[0040] Reference Figure 1 In one embodiment, the layered decoding method includes the following steps:

[0041] S11. Sort the check nodes of the base matrix according to the preset sorting rules to obtain the target sequence, and determine the sorting of the check nodes in the target sequence as the sorting of the corresponding layer in the layer update order, wherein the preset sorting rules include: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the sorting of the check node connected to the variable node; for a single variable node of the base matrix, when the sorting of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the sorting.

[0042] Specifically, each column of the check matrix (eg, base matrix, extended matrix) represents a variable node, each row represents a check node, the position where the matrix element is 1 indicates that the corresponding variable node is connected to the check node, and the position where the matrix element is 0 indicates that the corresponding variable node is not connected to the check node.

[0043] For multiple variable nodes in the base matrix, the larger the degree of the variable node, the higher the ranking of the check node connected to the variable node. For example, suppose the variable node v in the base matrix 1 The degree of variable node v is the largest. 1 Connect to check node c 1 、c 2 、c 3 、c 4 , then check node c 1 、c 2 、c 3 、c 4 Ranked in the top 4 in the target sequence.

[0044] For a single variable node in the base matrix, when the order of the check nodes connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the order. 1 The degree of variable node v is the largest. 1 Connect to check node c 1 、c 2 、c 3 、c 4 , arranged in ascending order of degree as c 2 、c 3 、c 1 、c4 , then the first 4 bits of the target sequence are c 2 、c 3 、c 1 、c 4 , assuming that the variable node v in the basis matrix 2 The second largest degree, variable node v 2 Connect to check node c 1 、c 5 、c 6 , arranged in ascending order of degree as c 5 、c 6 、c 1 , where c 1 The sorting has been replaced by the variable node v with a greater degree 1 OK, so check node c 5 、c 6 Ranked 5th and 6th in the target sequence.

[0045] The order of the check nodes in the target sequence is determined as the order of the corresponding layers in the layer update sequence. For example, assuming that the third check node of the base matrix is ​​ranked first in the target sequence, the third layer of the extended matrix is ​​also ranked first in the layer update sequence.

[0046] S12. Perform hierarchical decoding on the received vector according to the expansion matrix and the layer update order.

[0047] Specifically, the operation of layered decoding is as follows:

[0048] Step 1: Parameter initialization, the number of iterations l = 1, and the initial value of m is the first layer in the layer update sequence;

[0049] Step 2: perform intra-layer decoding according to the layer update order;

[0050] Step 3: Form the decoded output vector , if the companion , then stop the iteration and as the decoding output, otherwise, m takes the next layer number in the layer update order, and then goes to step 4;

[0051] Step 4: If all the layers in the layer update sequence have been updated, then l=l+1, and m is re-taken as the first layer in the layer update sequence. If l is less than the maximum number of iterations, jump to step 2 to continue, otherwise the decoding fails and the decoding is terminated.

[0052] Therefore, in this embodiment, considering that variable nodes with large degrees can transmit useful information to more check nodes than variable nodes with small degrees, and accelerate the decoding convergence speed, it is required in the preset sorting rules that for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the ranking of the check node connected to the variable node, considering that the check node with small degree means that the number of bits connected to the check bit is small, and the probability of correct decoding is large, and at the same time, compared with the check node with large degree, the decoding speed is faster due to the small number of connected bits. In the preset sorting rules, it is required that for a single variable node of the base matrix, when the ranking of the check node connected to the variable node is not determined by the variable node with larger degree, the smaller the degree of the check node, the higher the ranking. Layered decoding is performed through the layer update order optimized by this embodiment, which helps to accelerate the decoding convergence speed, effectively reduce the number of iterations, and reduce the decoding delay.

[0053] Figure 2 A schematic diagram of the process of constructing a target sequence in an embodiment of the present application is shown.

[0054] Reference Figure 2 Further, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0055] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0056] Determine the first variable node of the first sequence as the current variable node;

[0057] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0058] If the to-be-sorted set is not empty, the next variable node of the first sequence is determined as the current variable node, and the process returns to the step of performing the preset operation on the current variable node;

[0059] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0060] In this embodiment, a sorting operation process that follows a preset sorting rule is provided. The processing order of the variable nodes is first determined through the first sequence. As the variable nodes are processed, the check nodes in the to-be-sorted set are gradually taken out and put into the second sequence. When the to-be-sorted set is empty, all check nodes are added to the second sequence to obtain the target sequence. This operation process has low complexity and small amount of calculation, and is convenient for quickly determining the layer update order.

[0061] Figure 3 A schematic diagram of the process of constructing a target sequence in another embodiment of the present application is shown.

[0062] Reference Figure 3 Further, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0063] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0064] Determine the first variable node of the first sequence as the current variable node;

[0065] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0066] If there are multiple check nodes in the set to be sorted, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute. If there is one check node in the set to be sorted, the check node is taken out and added to the end of the second sequence;

[0067] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0068] In this embodiment, a sorting operation process that follows a preset sorting rule is provided. The processing order of the variable nodes is first determined through the first sequence. As the variable nodes are processed, the check nodes in the to-be-sorted set are gradually taken out and put into the second sequence. When the to-be-sorted set is empty, all check nodes are added to the second sequence to obtain the target sequence. This operation process has low complexity and small amount of calculation, and is convenient for quickly determining the layer update order.

[0069] Figure 2and Figure 3 Most of the operations in the sorting operation flow shown are the same, except that Figure 2 The operation flow shown in the figure determines the next variable node of the first sequence as the current variable node when the to-be-sorted set is not empty, and Figure 3 The operation flow shown is further divided into two operations when the set to be sorted is not empty. One is that when there are multiple check nodes in the set to be sorted, the next variable node of the first sequence is determined as the current variable node. The other is that when there is one check node in the set to be sorted, the check node is taken out and added to the end of the second sequence. Because when there is only one check node, sorting is not required without the help of variable nodes, which helps to further speed up the processing speed.

[0070] Furthermore, in one embodiment, in the step of sorting the variable nodes of the base matrix from large to small according to the variable node degrees to obtain the first sequence, multiple variable nodes with equal degrees are sorted from small to large according to the variable node serial numbers.

[0071] In this embodiment, multiple variable nodes with equal degrees are sorted from small to large according to the variable node sequence numbers, which helps to simplify the algorithm. Of course, in other embodiments, multiple variable nodes with equal degrees can also be sorted randomly.

[0072] Furthermore, in one embodiment, in the step of sorting the check nodes from small to large according to the check node degrees and then adding them to the tail of the second sequence, for multiple check nodes with equal degrees, they are sorted from small to large according to the check node sequence numbers.

[0073] In this embodiment, multiple check nodes with equal degrees are sorted from small to large according to the check node sequence number, which helps to simplify the algorithm. Of course, in other embodiments, multiple check nodes with equal degrees can also be sorted randomly.

[0074] Figure 4 A schematic diagram of a base matrix in an embodiment of the present application is shown.

[0075] by Figure 4 Take the basis matrix shown in the figure as an example to explain Figure 2 , Figure 3 The operation flow shown.

[0076] Figure 4 In the basis matrix shown, the variable node v 5 、v 6 、v 8 、v 10 、v 12The degree of is 3, and they are arranged in the first 5 positions of the first sequence according to the variable node number from small to large. The degree of other variable nodes is 2, and they are arranged in the last 7 positions of the first sequence according to the variable node number from small to large. The first sequence is the variable node v 5 、v 6 、v 8 、v 10 、v 12 、v 1 、v 2 、v 3 、v 4 、v 7 、v 9 、v 11 In the initial state, the set to be sorted is the check node c 1 、c 2 、c 3 、c 4 、c 5 、c 6 , the second sequence is empty.

[0077] The first variable node of the first sequence (variable node v 5 ) is determined as the current variable node, variable node v 5 Connect to check node c 2 、c 4 、c 6 , are all in the set to be sorted, and check node c is taken out from the set to be sorted 2 、c 4 、c 6 , check node c 2 、c 4 、c 6 The degree of all of them is 5, then the check node numbers 2, 4, and 6 are arranged from small to large and added to the end of the second sequence. After the operation, the set to be sorted is the check node c 1 、c 3 、c 5 , the second sequence is the check node c 2 、c 4 、c 6 .

[0078] There are multiple check nodes in the set to be sorted. The second variable node of the first sequence (variable node v 6 ) is determined as the current variable node, variable node v 6 Connect to check node c 1 、c 3 、c 6 , check node c 1 、c 3 In the set to be sorted, take out the check node c from the set to be sorted 1 、c3 , check node c 1 、c 3 The degree of both is 5, then the check node numbers 1 and 3 are arranged from small to large and added to the end of the second sequence. After the operation, the set to be sorted is check node c 5 , the second sequence is the check node c 2 、c 4 、c 6 、c 1 、c 3 .

[0079] according to Figure 2 Operation steps: There is a check node in the set to be sorted. Change the third variable node of the first sequence (variable node v 8 ) is determined as the current variable node, variable node v 8 Connect to check node c 1 、c 3 、c 4 , are not in the set to be sorted, no action is taken; continue to sort the fourth variable node of the first sequence (variable node v 10 ) is determined as the current variable node, variable node v 10 Connect to check node c 2 、c 4 、c 6 , are not in the set to be sorted, no action is taken; continue to sort the fifth variable node of the first sequence (variable node v 12 ) is determined as the current variable node, variable node v 12 Connect to check node c 1 、c 4 、c 6 , are not in the set to be sorted, no action is taken; continue to sort the sixth variable node of the first sequence (variable node v 1 ) is determined as the current variable node, variable node v 1 Connect to check node c 1 、c 2 , are not in the set to be sorted, no action is taken; continue to sort the seventh variable node of the first sequence (variable node v 2 ) is determined as the current variable node, variable node v 2 Connect to check node c 1 、c 3 , are not in the set to be sorted, no action is taken; continue to sort the 8th variable node of the first sequence (variable node v 3 ) is determined as the current variable node, variable node v 3 Connect to check node c 3 、c 5 , check node c 5In the set to be sorted, take out the check node c from the set to be sorted 5 Add to the end of the second sequence. After the operation, the set to be sorted is empty and the second sequence is the check node c 2 、c 4 、c 6 、c 1 、c 3 、c 5 . Determine the target sequence as the check node c 2 、c 4 、c 6 、c 1 、c 3 、c 5 .

[0080] according to Figure 3 Operation steps: There is a check node in the set to be sorted, take out the check node c 5 And add it to the end of the second sequence. After the operation, the set to be sorted is empty, and the second sequence is the check node c 2 、c 4 、c 6 、c 1 、c 3 、c 5 . Determine the target sequence as the check node c 2 、c 4 、c 6 、c 1 、c 3 、c 5 .

[0081] Furthermore, in one embodiment, the step of sorting the check nodes of the base matrix according to a preset sorting rule to obtain a target sequence includes:

[0082] For each check node of the base matrix, obtain the degree of each variable node connected to the check node, and record the maximum value of the degree as the first reference value of the check node;

[0083] The check nodes of the base matrix are sorted from large to small according to the first reference value, and multiple check nodes with equal first reference values ​​are sorted from small to large according to the check node degree to obtain a target sequence.

[0084] In this embodiment, a sorting operation process that follows a preset sorting rule is provided. Figure 2 and Figure 3The operation flow shown is not limited to comparing the degree of the check nodes connected to a single variable node. When the degrees of multiple variable nodes are equal, the check nodes connected to these variable nodes will be compared and sorted together to obtain a better layer update order. However, this operation flow is relatively more complex and requires more computation.

[0085] Furthermore, in one embodiment, in the step of sorting the check nodes from small to large according to their degrees, for multiple check nodes with equal degrees, they are sorted from small to large according to their check node serial numbers.

[0086] In this embodiment, multiple check nodes with equal degrees are sorted from small to large according to the check node sequence number, which helps to simplify the algorithm. Of course, in other embodiments, multiple check nodes with equal degrees can also be sorted randomly.

[0087] by Figure 4 Taking the basis matrix shown in FIG. 1 as an example, this operation flow is specifically described.

[0088] Figure 4 In the basis matrix shown, the check node c 1 Connect variable node v 1 、v 2 、v 6 、v 8 、v 12 , the degrees of variable nodes are 2, 2, 3, 3, 3, respectively, and the check node c 1 The first reference value of is 3, check node c 2 Connect variable node v 1 、v 5 、v 7 、v 10 、v 11 , the degrees of variable nodes are 2, 3, 2, 3, 2, respectively, and the check node c 2 The first reference value of is 3, check node c 3 Connect variable node v 2 、v 3 、v 6 、v 8 、v 11 , the variable node degrees are 2, 2, 3, 3, 2, respectively, and the check node c 3 The first reference value of is 3, check node c 4 Connect variable node v 4 、v 5 、v 8 、v 10 、v 12 , the degrees of variable nodes are 2, 3, 3, 3, and 3 respectively, and the check node c 4 The first reference value of is 3, check node c5 Connect variable node v 3 、v 4 、v 7 、v 9 , the degrees of the variable nodes are 2, 2, 2, 2 respectively, and the check node c 5 The first reference value of is 2, check node c 6 Connect variable node v 5 、v 6 、v 9 、v 10 、v 12 , the variable node degrees are 3, 3, 2, 3, 3 respectively, and the check node c 6 The first reference value is 3.

[0089] Check Node c 1 、c 2 、c 3 、c 4 、c 6 The first reference value of is 3, and the degree of the check nodes is 5. The check nodes are arranged in the first 5 positions of the target sequence from small to large. The check node c 5 The first reference value of is 2, which is arranged at the 6th position of the target sequence. The target sequence is determined as the check node c 1 、c 2 、c 3 、c 4 、c 6 、c 5 .

[0090] In a second aspect, an embodiment of the present application also provides a layered decoding device.

[0091] In one embodiment, the layered decoding apparatus comprises:

[0092] A reordering module is used to order the check nodes of the base matrix according to a preset ordering rule to obtain a target sequence, and determine the order of the check nodes in the target sequence as the order of the corresponding layer in the layer update order, wherein the preset ordering rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the order of the check node connected to the variable node, and for a single variable node of the base matrix, when the order of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the order;

[0093] The decoding module is used for hierarchical decoding of the received vector according to the expansion matrix and the layer update order.

[0094] Furthermore, in one embodiment, the reordering module is used to:

[0095] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0096] Determine the first variable node of the first sequence as the current variable node;

[0097] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0098] If the to-be-sorted set is not empty, the next variable node of the first sequence is determined as the current variable node, and the process returns to the step of performing the preset operation on the current variable node;

[0099] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0100] Furthermore, in one embodiment, the reordering module is used to:

[0101] Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence;

[0102] Determine the first variable node of the first sequence as the current variable node;

[0103] Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty;

[0104] If there are multiple check nodes in the set to be sorted, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute. If there is one check node in the set to be sorted, the check node is taken out and added to the end of the second sequence;

[0105] If the set to be sorted is empty, the second sequence is determined as the target sequence.

[0106] Furthermore, in one embodiment, the reordering module is used to:

[0107] For multiple variable nodes with equal degrees, they are sorted from small to large according to the variable node numbers.

[0108] Furthermore, in one embodiment, the reordering module is used to:

[0109] For multiple check nodes with equal degrees, they are sorted from small to large according to the check node numbers.

[0110] Furthermore, in one embodiment, the reordering module is used to:

[0111] For each check node of the base matrix, obtain the degree of each variable node connected to the check node, and record the maximum value of the degree as the first reference value of the check node;

[0112] The check nodes of the base matrix are sorted from large to small according to the first reference value, and multiple check nodes with equal first reference values ​​are sorted from small to large according to the check node degree to obtain a target sequence.

[0113] Furthermore, in one embodiment, the reordering module is used to:

[0114] For multiple check nodes with equal degrees, they are sorted from small to large according to the check node numbers.

[0115] The functional implementation of each module in the above-mentioned layered decoding device corresponds to each step in the above-mentioned layered decoding method embodiment, and its functions and implementation processes are not described one by one here.

[0116] In a third aspect, an embodiment of the present application provides a layered decoding device, which may be a device with a data processing function, such as a personal computer (PC), a laptop computer, or a server.

[0117] Figure 5 A schematic diagram of the hardware structure of a layered decoding device involved in an embodiment of the present application is shown.

[0118] Reference Figure 5 In an embodiment of the present application, a layered decoding device may include a processor, a memory, a communication interface, and a communication bus.

[0119] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0120] Communication interfaces include input / output (I / O) interfaces, physical interfaces, and logical interfaces, which are used to interconnect devices within the layered decoding device, and interfaces used to interconnect the layered decoding device with other devices (such as other computing devices or user devices). Physical interfaces can be Ethernet interfaces, optical fiber interfaces, ATM interfaces, etc.; user devices can be display screens (Display), keyboards (Keyboard), etc.

[0121] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0122] The processor may be a general-purpose processor, and the general-purpose processor may call the layered decoding program stored in the memory and execute the layered decoding method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the layered decoding program is called may refer to the various embodiments of the layered decoding method of the present application, and will not be repeated here.

[0123] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0124] In a fourth aspect, an embodiment of the present application also provides a readable storage medium.

[0125] The readable storage medium of the present application stores a layered decoding program, wherein when the layered decoding program is executed by a processor, the steps of the layered decoding method described above are implemented.

[0126] Among them, the method implemented when the layered decoding program is executed can refer to the various embodiments of the layered decoding method of the present application, and will not be repeated here.

[0127] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0128] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0129] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0130] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0131] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0133] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A layered decoding method, characterized in that: The layered decoding method comprises: The check nodes of the base matrix are sorted according to a preset sorting rule to obtain a target sequence, and the sorting of the check nodes in the target sequence is determined as the sorting of the corresponding layer in the layer update order, wherein the preset sorting rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the sorting of the check node connected to the variable node; for a single variable node of the base matrix, when the sorting of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the sorting; hierarchically decode the received vector according to the spreading matrix and the layer update order; The step of sorting the check nodes of the base matrix according to the preset sorting rule to obtain the target sequence includes: Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence; Determine the first variable node of the first sequence as the current variable node; Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty; If the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted is not empty, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute; or, if the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted has multiple check nodes, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute, and if the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted has one check node, the check node is taken out and added to the end of the second sequence; If the set to be sorted is empty, the second sequence is determined as the target sequence.

2. The layered decoding method according to claim 1, wherein: In the step of sorting the variable nodes of the base matrix from large to small according to the variable node degrees to obtain the first sequence, multiple variable nodes with equal degrees are sorted from small to large according to the variable node sequence numbers.

3. The layered decoding method according to claim 1, wherein: In the step of sorting the check nodes from small to large according to the check node degrees and then adding them to the tail of the second sequence, for multiple check nodes with equal degrees, they are sorted from small to large according to the check node sequence numbers.

4. A layered decoding method, characterized in that: The layered decoding method comprises: The check nodes of the base matrix are sorted according to a preset sorting rule to obtain a target sequence, and the sorting of the check nodes in the target sequence is determined as the sorting of the corresponding layer in the layer update order, wherein the preset sorting rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the sorting of the check node connected to the variable node; for a single variable node of the base matrix, when the sorting of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the sorting; hierarchically decode the received vector according to the spreading matrix and the layer update order; The step of sorting the check nodes of the base matrix according to the preset sorting rule to obtain the target sequence includes: For each check node of the base matrix, obtain the degree of each variable node connected to the check node, and record the maximum value of the degree as the first reference value of the check node; The check nodes of the base matrix are sorted from large to small according to the first reference value, and for multiple check nodes with equal first reference values, they are sorted from small to large according to the check node degree to obtain a target sequence.

5. The layered decoding method according to claim 4, characterized in that: In the step of sorting the check nodes from small to large according to their degrees, for a plurality of check nodes with equal degrees, they are sorted from small to large according to their sequence numbers.

6. A layered decoding device, characterized in that: The layered decoding device comprises: A reordering module is used to order the check nodes of the base matrix according to a preset ordering rule to obtain a target sequence, and determine the order of the check nodes in the target sequence as the order of the corresponding layer in the layer update order, wherein the preset ordering rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the order of the check node connected to the variable node, and for a single variable node of the base matrix, when the order of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the order; A decoding module, for performing hierarchical decoding on the received vector according to the expansion matrix and the layer update order; The reordering module is used to: Sort the variable nodes of the base matrix from large to small according to the degree of the variable nodes to obtain the first sequence; Determine the first variable node of the first sequence as the current variable node; Performing a preset operation for the current variable node, the preset operation includes: if the set to be sorted does not have a check node connected to the current variable node, then no action is taken; if the set to be sorted has a check node connected to the current variable node, then the check node is taken out and added to the tail of the second sequence; if the set to be sorted has multiple check nodes connected to the current variable node, then these check nodes are taken out, sorted from small to large according to the check node degree, and then added to the tail of the second sequence, wherein the initial set to be sorted includes all the check nodes of the base matrix, and the initial second sequence is empty; If the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted is not empty, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute; or, if the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted has multiple check nodes, the next variable node of the first sequence is determined as the current variable node, and the step of performing the preset operation on the current variable node is returned to execute, and if the set to be sorted does not have a check node connected to the current variable node, and the set to be sorted has one check node, the check node is taken out and added to the end of the second sequence; If the set to be sorted is empty, the second sequence is determined as the target sequence.

7. A layered decoding device, characterized in that: The layered decoding device comprises: A reordering module is used to order the check nodes of the base matrix according to a preset ordering rule to obtain a target sequence, and determine the order of the check nodes in the target sequence as the order of the corresponding layer in the layer update order, wherein the preset ordering rule includes: for multiple variable nodes of the base matrix, the larger the degree of the variable node, the higher the order of the check node connected to the variable node, and for a single variable node of the base matrix, when the order of the check node connected to the variable node is not determined by the variable node with a larger degree, the smaller the degree of the check node, the higher the order; A decoding module, for performing hierarchical decoding on the received vector according to the expansion matrix and the layer update order; The reordering module is used to: For each check node of the base matrix, obtain the degree of each variable node connected to the check node, and record the maximum value of the degree as the first reference value of the check node; The check nodes of the base matrix are sorted from large to small according to the first reference value, and for multiple check nodes with equal first reference values, they are sorted from small to large according to the check node degree to obtain a target sequence.

8. A layered decoding device, characterized in that: The layered decoding device comprises a processor, a memory, and a layered decoding program stored in the memory and executable by the processor, wherein when the layered decoding program is executed by the processor, the steps of the layered decoding method according to any one of claims 1 to 5 are implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores a layered decoding program, wherein when the layered decoding program is executed by a processor, the steps of the layered decoding method according to any one of claims 1 to 5 are implemented.