Channel decoding method and device, computer equipment and storage medium

By introducing a fast termination strategy in the LDPC code decoding process and terminating redundant iterations in advance, the problems of high data delay and high power consumption caused by LDPC codes are solved, a more efficient decoding process is achieved, and the computational complexity is reduced. and power consumption, improving data transmission efficiency.

CN118713682APending Publication Date: 2024-09-27SUZHOU UNIONMEMORY INFORMATION SYST LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410762248.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

LDPC codes lead to high data delay and high power consumption during the data error correction process, especially in unsatisfactory signal-to-noise ratio scenarios. The iterative process takes up a lot of hardware resources, resulting in increased processing delays and power consumption, especially in mobile devices. accept.

Method used

By introducing a quick termination strategy in the LDPC code decoding process, redundant iterations are terminated in advance according to the initial SW value and the number of iterations, the number of iterations is controlled, the computational complexity and power consumption are reduced, and the codeword is stopped when it is determined that the codeword has a low probability of being correctable. Iterate to improve decoding efficiency.

Benefits of technology

While maintaining or improving the decoding accuracy, unnecessary iterations are reduced, the overall computational complexity and power consumption are reduced, the decoding efficiency is improved, and the delay in the data transmission process is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713682A
    Figure CN118713682A
Patent Text Reader

Abstract

The invention discloses a channel decoding method and device, computer equipment and a storage medium, and the method comprises the steps: carrying out the initial verification of a current code word after receiving the code word, so as to obtain an initial SW value of the current code word; if it is determined that the current codeword is within the error correction capability range according to the initial SW value, performing iterative error correction on the current codeword by using the LDPC code; when the number of times of iterative error correction exceeds a set minimum iteration lower limit, entering an LDPC code rapid termination stage; in the fast termination stage process of the LDPC code, counting the number of times that the difference value of the SWs of the current code word iterated for two times is smaller than a preset difference value; and if the counted number of times reaches a preset iteration trap upper limit number of times, stopping the iteration error correction of the current code word. According to the invention, unnecessary iteration is reduced, the overall calculation complexity is reduced, the power consumption is further reduced, and the delay in the data transmission process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more specifically to a channel decoding method, device, computer equipment and storage medium. Background Art

[0002] In modern communications, the reliability of data transmission is crucial. In order to improve the accuracy of data transmission, various error detection and correction techniques are used. As an effective error correction code, low-density parity check (LDPC) code is widely used in various communication standards due to its excellent performance. LDPC code achieves efficient error correction through iterative decoding algorithms, especially the belief propagation (BP) algorithm.

[0003] Although LDPC codes have achieved great success both in theory and practice, the process of LDPC codes correcting data errors will increase power consumption and bandwidth of the chip, resulting in certain losses. Especially in undesirable application scenarios, such as when the signal-to-noise ratio is poor, the iterative process will bring great time overhead and occupy a large amount of internal hardware resources, which may cause processing delays in high-speed data transmission scenarios. At the same time, in order to achieve ideal decoding performance, the LDPC code process may require a large number of iterations, resulting in redundant iterations, which not only increases the computational burden, but also increases power consumption, which is unacceptable, especially in power-sensitive application scenarios such as mobile devices. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a channel decoding method, apparatus, computer equipment and storage medium, aiming to solve the problems of high data delay and high power consumption in the process of error correction using LDPC codes.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] In one aspect, the present invention provides a channel decoding method, comprising:

[0007] After receiving the codeword, the current codeword is initially checked to obtain the initial SW value of the current codeword;

[0008] If the current codeword is determined to be within the error correction capability range according to the initial SW value, the LDPC code is used to perform iterative error correction on the current codeword;

[0009] When the number of iterative error correction exceeds the set minimum iteration limit, the LDPC code enters the fast termination stage;

[0010] During the LDPC code fast termination phase, the number of times the difference between the SW of two consecutive iterations of the current codeword is less than a preset difference is counted;

[0011] If the statistical number reaches the preset upper limit of the iterative trap number, the iterative error correction of the current codeword is terminated.

[0012] Furthermore, it also includes:

[0013] If the counted number of times does not reach the preset upper limit of the iteration trap number, but reaches the preset maximum number of iterations, the iterative error correction of the current codeword is terminated.

[0014] Further, after receiving the codeword, the current codeword is initially checked to obtain an initial SW value of the current codeword, including:

[0015] Obtain a predefined check matrix;

[0016] The current codeword is multiplied by the check matrix to obtain an initial check result in vector form, thereby obtaining an initial SW value of the current codeword.

[0017] Furthermore, if it is determined according to the initial SW value that the current codeword is within the error correction capability range, then the LDPC code is used to iteratively correct the current codeword, including:

[0018] The codeword is quantized bit by bit to obtain the LLR value of each bit of the codeword;

[0019] Update the nodes using LLR values;

[0020] After each iteration of node update, the updated LLR value is used to make a hard decision on each bit.

[0021] Further, the updating of the node by using the LLR value includes:

[0022] Send information to all check nodes connected to it through each variable node, where the variable node represents each bit in the codeword and the check node represents each row in the check matrix;

[0023] After receiving the information from the variable node, the check node processes the information and obtains the processed information;

[0024] The check node sends the processed information to the variable node connected to it.

[0025] In a second aspect, the present invention further provides a channel decoding device, comprising:

[0026] An initial verification unit, configured to perform an initial verification on a current codeword after receiving the codeword, so as to obtain an initial SW value of the current codeword;

[0027] an iterative error correction unit, configured to perform iterative error correction on the current codeword using an LDPC code if it is determined according to the initial SW value that the current codeword is within the error correction capability range;

[0028] A mode start unit, used to enter the LDPC code fast termination phase when the number of iterative error corrections exceeds a set minimum iteration limit;

[0029] A statistical unit, used for counting the number of times that the difference between the SW of two consecutive iterations of the current codeword is less than a preset difference during the LDPC code fast termination phase;

[0030] The first termination unit is used to terminate the iterative error correction of the current codeword if the statistical number reaches a preset upper limit of the iterative trap number.

[0031] Furthermore, it also includes:

[0032] The second termination unit is used to terminate the iterative error correction of the current codeword if the statistical number of times does not reach the preset upper limit of the iteration trap number but reaches the preset maximum number of iterations.

[0033] Furthermore, the initial verification unit includes:

[0034] An acquisition module, used for acquiring a predefined check matrix;

[0035] The operation module is used to perform a product operation on the current code word and the check matrix to obtain an initial check result in a vector form, and then obtain an initial SW value of the current code word.

[0036] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the channel decoding method as described above when executing the computer program.

[0037] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the channel decoding method as described above.

[0038] Compared with the prior art, the beneficial effects of the present invention are as follows: a channel decoding method, including performing an initial check on the current codeword after receiving the codeword to obtain the initial SW value of the current codeword; if the current codeword is determined to be within the error correction capability range according to the initial SW value, the current codeword is iteratively corrected using the LDPC code; when the number of iterative error corrections exceeds the set minimum iteration lower limit, the LDPC code fast termination phase is entered; during the LDPC code fast termination phase, the number of times the difference in SW of two consecutive iterations of the current codeword is less than the preset difference; if the number of statistics reaches the preset iteration trap upper limit, the iterative error correction of the current codeword is terminated. The present invention effectively controls the number of iterations through the strategy of terminating redundant iterations in advance, so that while maintaining or improving the decoding accuracy, unnecessary iterations are reduced, the overall computational complexity is reduced, and thus the power consumption is reduced. Moreover, under the premise of determining that the current codeword is correctable with a low probability, the current codeword error correction iteration process is stopped in time, and the next codeword error correction decoding is performed, thereby improving the decoding efficiency and reducing the delay in the data transmission process.

[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0041] Figure 1 The process of the channel decoding method provided by the specific embodiment of the present invention Figure 1 ;

[0042] Figure 2 The process of the channel decoding method provided by the specific embodiment of the present invention Figure 2 ;

[0043] Figure 3 A schematic block diagram of a channel decoding device provided in a specific embodiment of the present invention Figure 1 ;

[0044] Figure 4 A schematic block diagram of a channel decoding device provided in a specific embodiment of the present invention Figure 2 ;

[0045] Figure 5 A schematic block diagram of a computer device provided for a specific embodiment of the present invention;

[0046] Figure 6 A tanner graph of an LDPC code provided by a specific embodiment of the present invention;

[0047] Figure 7 A graph showing the relationship between the SW value and the number of error bits (error num) provided in a specific embodiment of the present invention;

[0048] Figure 8 A simulation result diagram of the lowest iteration limit of the ET mode provided by a specific embodiment of the present invention;

[0049] Fig. 9 A threshold simulation diagram of two consecutive SW differences in the ET mode provided by a specific embodiment of the present invention;

[0050] Fig.10 This is a simulation diagram of an ET mode trap counter provided in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0053] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0054] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0055] like Figure 1 As shown, an embodiment of the present invention provides a channel decoding method, which includes the following steps: S10-S50.

[0056] S10: After receiving the codeword, perform an initial check on the current codeword to obtain an initial SW value of the current codeword.

[0057] In communication and information theory, a "codeword" refers to a sequence of encoded bits converted from raw data (information bits) using specific coding rules. In simple terms, it means processing the raw data before sending it, adding redundant information so that errors can be detected and corrected when they occur during data transmission.

[0058] For LDPC codes, the original data is converted into codewords with additional check bits, which are calculated according to the construction algorithm of the LDPC code. The codeword contains not only the original information bits, but also additional check bits, so that the entire codeword satisfies certain mathematical conditions (for example, through the linear relationship of the check matrix). In this way, even if some bits change due to noise during transmission, the receiver can use the check bits and error correction algorithms to detect and correct these errors, thereby recovering the original data. When referring to "data codewords", it specifically refers to the entire data block after encoding, including information bits and check bits. During the LDPC decoding process, by checking whether the codeword satisfies the predetermined check equation constraints, the decoder can determine whether there are errors in the codeword and make corrections accordingly.

[0059] In one embodiment, step S10 specifically includes the following steps: S101 - S102 .

[0060] S101: Obtain a predefined check matrix.

[0061] S102: Perform a product operation on the current codeword and the check matrix to obtain an initial check result in a vector form, and then obtain an initial SW value of the current codeword.

[0062] First, the receiver receives the codeword transmitted through the channel. This codeword may contain errors due to channel noise or other interference. Next, the syndrome of the received codeword is calculated using a predefined check matrix (H matrix). The syndrome is obtained by multiplying the received codeword with the check matrix. If the received codeword is correct (i.e., there is no error), then the syndrome should be a zero vector. Mathematically, this process can be expressed as: [\text{Syndrome}=\text{ReceivedCodeword}\times H^T] where (H^T) is the transpose of the check matrix. Then, the syndrome weight (SW) is calculated. The syndrome weight (SW) is the number of non-zero elements in the syndrome vector. This value reflects the number of errors in the received codeword. If the SW value is zero, it means that no errors are detected and the received codeword is considered correct. If the SW value is not zero, it indicates that there is an error.

[0063] "SW" refers to Syndrome Weight, a key parameter used to evaluate the efficiency of error detection and correction in the LDPC decoding process. In communication systems and information theory, syndrome usually refers to the difference between the received codeword and an ideal (error-free) codeword. This difference is calculated by multiplying the received codeword with the check matrix, and the result reflects the error pattern that exists. Smaller SW values ​​mean fewer errors, while larger SW values ​​mean more errors. During the LDPC decoding process, these errors are corrected through an iterative process, and the value of SW gradually decreases. When SW reaches zero or a very low value, it can be assumed that all or most of the errors have been corrected. By observing the change in SW value, an intelligent decision can be made whether to continue iterative decoding. If the SW value does not change significantly or has dropped to a very low level after several consecutive iterations, this may indicate that further iterations are unlikely to significantly improve the decoding results, so the iteration process can be terminated early to save time and computing resources. This SW-based fast termination strategy helps improve the efficiency and performance of LDPC decoding.

[0064] The SW check equation parameters are the key basis for determining whether the codeword is correct or not. When the number of codeword errors is within a certain range, the number of codeword error bits is linearly related to the SW value. Beyond this range, the SW value growth rate slows down as the number of error bits increases; at the same time, the number of errors in this interval also exceeds the error correction capability of LDPC. Figure 7 The relationship curves of SW value and RBER of two different code rate check equations with signal-to-noise ratio SNR (Signal-to-Noise Ratio) are shown. Among them, the signal-to-noise ratio ranges from 1.0db to 10.0db, corresponding to a codeword error rate of 6.9% to 0.01%. The code rate of the check equation mtx1 is 0.909, and the code rate of the check equation mtx2 is 0.878. We can see from the part where the error correction capability range of different check arrays is above 4db that the SW value of the check equation mtx1 is positively correlated with the number of error bits err_num, and the SW value of the check equation mtx2 is positively correlated with the number of error bits err_num.

[0065] The so-called initial SW value: that is, in the initial verification phase, the SW value obtained is the initial SW value, which provides a preliminary estimate of the number of errors in the current codeword. This value will be used in the subsequent decoding iteration process to help decide whether to continue iteration and how to adjust the decoding strategy. This initial verification process is the starting point of LDPC decoding, which provides the decoder with important information about the status of the received codeword.

[0066] The so-called parity-check matrix (H): It is a core component in the design of low-density parity-check codes (LDPC). It is a matrix used to define the parity-check relationship of codewords, that is, how to generate additional parity bits from the original data and how to perform error detection and correction. The characteristics of the parity-check matrix directly affect the performance of LDPC codes, including their error correction ability.

[0067] The basic properties of the parity-check matrix are as follows: Low density: The parity-check matrix (H) is called "low density" because most of the elements in the matrix are 0, and only a few positions are 1. This means that each parity bit is only related to a few data bits, and each data bit only affects a few parity bits, thus simplifying the decoding process. Sparsity: The low-density characteristic also means that the matrix is sparse. This sparsity is the key to the realization of efficient decoding algorithms for LDPC codes (such as the belief propagation algorithm). Parity-check relationship: The parity-check matrix defines the parity-check relationship of codewords. For a valid codeword, its product with the parity-check matrix must be equal to the zero vector (in the corresponding number field, usually the binary field (\mathbb{F}_2)). This indicates that all parity-check constraints are satisfied, so no error is detected.

[0068] When the initial parity check is completed, an initial SW value will be obtained. The SW value is positively correlated with the number of error bits of this codeword within a certain range and can reflect to a certain extent the probability that this codeword can be corrected. Therefore, the following decisions can be made according to the SW value:

[0069] SW value = 0, the current codeword (CW) has not undergone bit flipping, output the data, and mark the correct CW. SW value >= the defined threshold, the current codeword has undergone too many bit flips and cannot be corrected, output the data, and mark the incorrect CW. 0 < SW value <= the defined threshold, the current codeword has undergone bit flipping within a suitable range, that is, within the error correction ability range, and iterative error correction update operations can be performed.

[0070] S20. If it is determined according to the initial SW value that the current codeword is within the error correction ability range, then use the LDPC code to perform iterative error correction on the current codeword.

[0071] When 0 < SW value <= the defined threshold meets this requirement, it means that the current codeword is within the error correction ability range, and iterative error correction can be performed.

[0072] In one embodiment, step S20 specifically includes the following steps: S201 - S203.

[0073] S201. Perform bit quantization on the codeword bit by bit to obtain the LLR value of each bit of the codeword.

[0074] S202: Update the node using the LLR value.

[0075] In one embodiment, step S202 specifically includes the following steps: S2021-S2023.

[0076] S2021. Send information to all check nodes connected to each variable node, where the variable node represents each bit in the codeword and the check node represents each row in the check matrix.

[0077] S2022. After receiving the information from the variable node, the check node processes the information to obtain processed information.

[0078] S2023. The verification node sends the processed information to the variable node connected to it.

[0079] S203 , after each iterative node is updated, a hard decision is made on each bit using the updated LLR value.

[0080] For steps S201-S203, the codeword is quantized bit by bit. The quantization operation is to quantize each 1-bit data into a signed LLR value (log-likelihood ratio) of multiple bits. The message passing algorithm (MP) is used to perform node update, iteration, and hard decision on the quantized data. One node update, one hard decision and one syndrome are collectively referred to as one iteration. The conversion process from multiple bits to single bit is a hard decision. Figure 6 is the link relationship diagram (tanner diagram) of the nodes, such as Figure 6 As shown in the figure, node updates involve two types of nodes: variable nodes and check nodes. Variable nodes will update their estimated values ​​based on the information received from adjacent check nodes, and check nodes will update their states based on the information received from all adjacent variable nodes. After each node update, a hard decision will be made on the current updated data, and the codeword after the hard decision will be checked. If all the check equations meet the constraints, the current codeword is considered correct and the current iteration is terminated. Otherwise, the decoder continues to iterate for error correction.

[0081] By repeating the above node update, hard decision and syndrome check process, the check condition is met or the preset maximum number of iterations is reached. This process is repeated continuously, and each round of iteration is aimed at getting closer to the original error-free codeword. Each iteration attempts to correct more errors until the data is "clean" enough, that is, it satisfies all the check equations, or the upper limit of the number of iterations is reached, at which time the codeword is output according to the best estimate.

[0082] S30: When the number of iterative error corrections exceeds the set minimum iteration limit, the LDPC code fast termination phase is entered.

[0083] The purpose of this design is to set a minimum iteration limit. In the early stage of Nand Flash particles, the number of error bits is very small, and the true codeword can be restored in 1 to 2 iterations. The minimum limit is set here to ensure that the codeword that can be corrected but was not corrected in the previous iterations is not missed. When the number of iterations exceeds the minimum iteration limit, the LDPC code fast termination stage is entered.

[0084] S40. During the LDPC code fast termination phase, count the number of times that the difference between the SWs of two consecutive iterations of the current codeword is less than a preset difference.

[0085] S50: If the statistical number reaches a preset upper limit of the iterative trap number, the iterative error correction of the current codeword is terminated.

[0086] For steps S40 and S50, after entering the LDPC code fast termination stage, the difference between the two SW (syndrome weight) before and after is compared at the end of each iteration, and an upper limit sw_diff_limit is set for the difference between two consecutive SW. If the difference between two consecutive SW is less than sw_diff_limit, the counter itr_trap_cnt is incremented by 1, and the corresponding iteration trap upper limit (iteration trap max num) is set. When the counter itr_trap_cnt reaches the iteration trap upper limit, the iteration is terminated, the data is output, and the codeword is marked as fail.

[0087] like Figure 2 As shown, in one embodiment, the channel decoding method further includes the following steps: S60.

[0088] S60: If the counted number of times does not reach the preset upper limit of the iteration trap number, but reaches the preset maximum number of iterations, then the iterative error correction of the current codeword is terminated.

[0089] If the iteration trap limit is not reached during the iteration, but the iteration limit (iteration maxnum) is reached, the iterative error correction process is also stopped immediately. The purpose of this design here is that in the LDPC decoding process, if multiple consecutive iterations do not significantly improve the error correction effect, it may mean that the bottleneck of decoding performance has been reached. At this time, continuing to iterate will not only waste computing resources, but also increase power consumption and delay. Setting the maximum number of iterations can prevent the decoding algorithm from continuing to iterate when it cannot be significantly improved, thereby maintaining a balance between efficiency and performance. At the same time, in the iterative decoding of LDPC codes, the so-called "iteration trap" (trapping sets) sometimes appear, and even if the iteration continues, some error patterns cannot be corrected. In this case, even if the iteration trap limit is not reached, the iteration should be stopped to avoid unnecessary calculations. By setting a clear upper limit on the number of iterations, the time and resource overhead of decoding can be effectively controlled, ensuring that decoding is completed within an acceptable time and improving the overall data transmission efficiency. Once the maximum number of iterations is reached, the algorithm can stop iterating and output the current result, thereby reducing the time complexity of the algorithm and the amount of calculation in practical applications.

[0090] Figure 8 This is the simulation result of the lowest iteration limit of the ET (LDPC code fast termination phase) mode. The test sample is 10,000 code words, the test code rate is 0.878; the signal-to-noise ratio range is 5.0db to 5.9db (covering the correctable to uncorrectable range of this set of checks); Figure 8 The middle left figure shows the average number of iterations under different signal-to-noise ratios. Figure 8 The middle right figure shows the frame error rate UFER (Uncorrectable Frame Error Rate) under different signal-to-noise ratios; it can be seen that the minimum iteration limit for starting the ET mode ranges from 5 to 15 times. When the signal-to-noise ratio is below 5.3db, the number of iterations exceeds ten times, and as the noise increases, the number of iterations increases to the maximum upper limit of 50 times, and UFER also rises sharply with the increase in noise. When the signal-to-noise ratio is above 5.3db, the number of iterations is less than 10 times, and converges rapidly as the noise energy decreases. Because most of the data in the correctable range is within 10 times, the number of iterations to start the LDPC ET mode is selected as 5. After turning on ET, a more accurate judgment is made as to whether the data is correctable and whether to stop the iteration early.

[0091] Fig. 9 This is the threshold simulation diagram of the difference between two consecutive SW values ​​in ET mode. The test sample is 10,000 codewords, the test code rate is 0.878; the signal-to-noise ratio range is 5.0db to 5.9db (covering the correctable to uncorrectable range of this set of verification); Fig. 9 The middle left figure shows the average number of iterations under different signal-to-noise ratios. Fig. 9The middle right figure shows the frame error rate UFER under different signal-to-noise ratios. If the number of errors in the current codeword is too large (i.e., when the signal-to-noise ratio is lower than 5.0db), the data goes through the bypass path and is determined to be uncorrectable. Fig. 9 In the middle left figure, the SNR is less than 5.0db and the number of iterations is 0. The content of this test is the threshold simulation of the syndrome weight difference after two consecutive iterations, with the threshold ranging from 10 to 100. When the LDPC control module detects that the SW difference exceeds the preset range, the iteration trap counter itr_trap_cnt increases by 1. Fig. 9 In the middle left figure, when the threshold is set to a minimum value of 10, when the SNR is between 5.2db and 5.6db, the high number of iterations indicates that the early stopping effect is not achieved. If the test threshold is set to 100, such as Fig. 9 In the middle right figure, a word that can be corrected after a few more iterations will be marked as an uncorrectable word. For example, when the SNR is 5.6 dB, after the threshold is changed from 50 to 100, the UFER doubles, causing a sharp drop in error correction capability. Therefore, the threshold of the difference between two consecutive SW values ​​in the LDPC ET mode is set to 50.

[0092] Fig.10 This is the simulation diagram of the ET mode trap counter. The test sample is 10,000 code words, the test code rate is 0.878; the signal-to-noise ratio range is 5.0db to 5.9db (covering the correctable range to the uncorrectable range of this set of verification); Fig.10 The middle left figure shows the average number of iterations under different signal-to-noise ratios. Fig.10 The middle right figure shows the frame error rate UFER under different signal-to-noise ratios; the content of this test is the trap counter threshold simulation, with thresholds ranging from 2 to 10. The trap counter indicates the number of times the number of consecutive iterative error corrections is less than the preset value. Fig.10 In the middle left figure, when the trap counter threshold is configured to 2, the minimum number of iterations can be achieved, but there will also be a high number of frame errors, resulting in unsatisfactory error correction capability; when the threshold is set to 10, the early stop effect is not obvious. Considering the error correction capability and error correction speed, the trap counter threshold is set to 6, the early stop effect is better, and the error correction performance loss is small.

[0093] Simulation test conclusion:

[0094] After performance simulation: using the current ET function and configuration, in most cases, no matter what the noise environment is, the average number of iterations of the entire system will not exceed 15 times in 99.9% of cases, and the probability of adding UFER to the system is very small. The ET function and configuration proposed by the present invention is a solution that dynamically determines the number of iterations based on the syndrome weight of each time, ensuring the computational efficiency of the decoder and the throughput of the high-speed data path. The fast early stopping mechanism (ET) itself is a set of circuit control logic, which uses the parameters in the iterative process to determine whether the data is worth continuing to correct errors and whether the decoder can be terminated early. No additional memory and timing delay will be introduced. It is a solution and circuit control logic that can improve system performance without sacrificing area and bandwidth.

[0095] The present invention effectively controls the number of iterations by adopting a strategy of terminating redundant iterations in advance, thereby reducing unnecessary iterations while maintaining or improving decoding accuracy, reducing the overall computational complexity, and further reducing power consumption. Moreover, under the premise of determining that the current codeword is correctable with a low probability, the current codeword error correction iteration process is stopped in time and the next codeword error correction decoding is performed, thereby improving decoding efficiency and reducing delays in the data transmission process.

[0096] The embodiment of the present application also provides a channel decoding device, which is used to perform the steps in any embodiment of the channel decoding method described above. Figure 3 , Figure 3 A schematic block diagram of a channel decoding device 100 provided in an embodiment of the present application is shown. The channel decoding device 100 specifically includes:

[0097] The initial verification unit 110 is used to perform an initial verification on the current codeword after receiving the codeword to obtain an initial SW value of the current codeword.

[0098] In one embodiment, the initial check unit includes an acquisition module for acquiring a predefined check matrix and an operation module for performing a product operation on the current codeword and the check matrix to obtain an initial check result in a vector form, thereby obtaining an initial SW value of the current codeword.

[0099] The iterative error correction unit 120 is configured to perform iterative error correction on the current codeword by using an LDPC code if it is determined according to the initial SW value that the current codeword is within the error correction capability range.

[0100] In one embodiment, the iterative error correction unit 120 includes a bit quantization module, which is used to perform bit quantization on the codeword bit by bit to obtain the LLR value of each bit of the codeword. An update module is used to update the node using the LLR value. A hard decision module is used to make a hard decision on each bit using the updated LLR value after each iteration of the node update.

[0101] In one embodiment, the update module includes a first update submodule, which is used to send information to all check nodes connected to it through each variable node, wherein the variable node represents each bit in the codeword and the check node represents each row in the check matrix. An information processing submodule is used for the check node to process the information after receiving the information from the variable node to obtain the processed information. In the first update submodule, the check node sends the processed information to the variable node connected to it.

[0102] The mode start unit 130 is used to enter the LDPC code fast termination phase when the number of iterative error correction exceeds the set minimum iteration limit.

[0103] The statistical unit 140 is used to count the number of times that the difference between the SW of two consecutive iterations of the current codeword is less than a preset difference during the LDPC code fast termination phase.

[0104] The first termination unit 150 is configured to terminate the iterative error correction of the current codeword if the statistical number reaches a preset upper limit of the iterative trap number.

[0105] like Figure 4 As shown, in one embodiment, the second termination unit 160 is used to terminate the iterative error correction of the current codeword if the statistical number of times does not reach the preset upper limit of the iteration trap number but reaches the preset maximum number of iterations.

[0106] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned channel decoding device 100 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0107] The above-mentioned decoding device can be implemented in the form of a computer program. The computer program can be Figure 5 Runs on the computer device shown.

[0108] See also Figure 5 , Figure 5 700 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 700 may be a server, wherein the server may be an independent server or a server cluster composed of multiple servers.

[0109] like Figure 5 As shown, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the channel decoding method described above are implemented.

[0110] The computer device 700 may be a terminal or a server. The computer device 700 includes a processor 720 , a memory, and a network interface 750 connected via a system bus 710 , wherein the memory may include a non-volatile storage medium 730 and an internal memory 740 .

[0111] The non-volatile storage medium 730 may store an operating system 731 and a computer program 732. When the computer program 732 is executed, the processor 720 may perform a channel decoding method.

[0112] The processor 720 is used to provide computing and control capabilities and support the operation of the entire computer device 700.

[0113] The internal memory 740 provides an environment for the operation of the computer program 732 in the non-volatile storage medium 730. When the computer program 732 is executed by the processor 720, the processor 720 can execute the channel decoding method.

[0114] The network interface 750 is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied. The specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. The processor 720 is used to run the program code stored in the memory to implement the above-mentioned channel decoding method steps.

[0115] Those skilled in the art will understand that Figure 5 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 5 The embodiments shown are consistent and will not be described again here.

[0116] It should be understood that in the embodiment of the present application, the processor 720 may be a central processing unit (CPU), and the processor 720 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0117] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the channel decoding method disclosed in the embodiment of the present invention is implemented.

[0118] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0119] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be electrical, mechanical or other forms of connection.

[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0121] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0122] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), disk or optical disk and other media that can store program codes.

[0123] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A channel decoding method, characterized in that: include: After receiving the codeword, the current codeword is initially checked to obtain the initial SW value of the current codeword; If the current codeword is determined to be within the error correction capability range according to the initial SW value, the LDPC code is used to perform iterative error correction on the current codeword; When the number of iterative error correction exceeds the set minimum iteration limit, the LDPC code enters the fast termination stage; During the LDPC code fast termination phase, the number of times the difference between the SW of two consecutive iterations of the current codeword is less than a preset difference is counted; If the statistical number reaches the preset upper limit of the iterative trap number, the iterative error correction of the current codeword is terminated.

2. The channel decoding method according to claim 1, characterized in that: Also includes: If the counted number of times does not reach the preset upper limit of the iteration trap number, but reaches the preset maximum number of iterations, the iterative error correction of the current codeword is terminated.

3. The channel decoding method according to claim 1, characterized in that: After receiving the codeword, the current codeword is initially checked to obtain the initial SW value of the current codeword, including: Obtain a predefined check matrix; The current codeword is multiplied by the check matrix to obtain an initial check result in vector form, thereby obtaining an initial SW value of the current codeword.

4. The channel decoding method according to claim 1, characterized in that: If it is determined according to the initial SW value that the current codeword is within the error correction capability range, then the LDPC code is used to perform iterative error correction on the current codeword, including: The codeword is quantized bit by bit to obtain the LLR value of each bit of the codeword; Update the nodes using LLR values; After each iteration of node update, the updated LLR value is used to make a hard decision on each bit.

5. The channel decoding method according to claim 4, characterized in that: The updating of the node by using the LLR value includes: Send information to all check nodes connected to it through each variable node, where the variable node represents each bit in the codeword and the check node represents each row in the check matrix; After receiving the information from the variable node, the check node processes the information and obtains the processed information; The check node sends the processed information to the variable node connected to it.

6. A channel decoding device, characterized in that include: An initial verification unit, configured to perform an initial verification on a current codeword after receiving the codeword, so as to obtain an initial SW value of the current codeword; an iterative error correction unit, configured to perform iterative error correction on the current codeword using an LDPC code if it is determined according to the initial SW value that the current codeword is within the error correction capability range; A mode start unit, used to enter the LDPC code fast termination phase when the number of iterative error corrections exceeds a set minimum iteration limit; A statistical unit, used for counting the number of times that the difference between the SW of two consecutive iterations of the current codeword is less than a preset difference during the LDPC code fast termination phase; The first termination unit is used to terminate the iterative error correction of the current codeword if the statistical number reaches a preset upper limit of the iterative trap number.

7. The channel decoding device according to claim 6, characterized in that: Also includes: The second termination unit is used to terminate the iterative error correction of the current codeword if the statistical number of times does not reach the preset upper limit of the iteration trap number but reaches the preset maximum number of iterations.

8. The channel decoding device according to claim 6, characterized in that: The initial verification unit comprises: An acquisition module, used for acquiring a predefined check matrix; The operation module is used to perform a product operation on the current code word and the check matrix to obtain an initial check result in a vector form, and then obtain an initial SW value of the current code word.

9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the channel decoding method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the channel decoding method according to any one of claims 1 to 7.

Citation Information

Cited By

  • LDPC (Low Density Parity Check) decoder and method, equipment and medium for stopping decoding in advance

    CN120223096A

  • Step-by-step decoding method and device, storage medium and electronic equipment

    CN120929301A

  • Decoding data processing method and device, decoder, medium and product

    CN122908773A