WO2024065978A1 - Check confidence-based ldpc decoding method and apparatus - Google Patents
Check confidence-based ldpc decoding method and apparatus Download PDFInfo
- Publication number
- WO2024065978A1 WO2024065978A1 PCT/CN2022/131682 CN2022131682W WO2024065978A1 WO 2024065978 A1 WO2024065978 A1 WO 2024065978A1 CN 2022131682 W CN2022131682 W CN 2022131682W WO 2024065978 A1 WO2024065978 A1 WO 2024065978A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- verification
- decoding
- check
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012795 verification Methods 0.000 claims abstract description 203
- 238000004590 computer program Methods 0.000 claims description 17
- 239000011159 matrix material Substances 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000010365 information processing Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/11—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
Definitions
- the present disclosure relates to the field of information processing technology, and in particular to an LDPC decoding method and device based on verification confidence.
- LDPC Low Density Parity Check Code
- LDPC codes can be defined by a check matrix.
- H parity check matrix
- Tanner bipartite graph
- the Tanner graph contains two types of nodes, namely VN (variable node) and CN (check node).
- VN represents a column in H
- CN represents a row of H; when an element in a row or column of H is 1, the corresponding VN and CN in the Tanner graph are connected by an "edge".
- LDPC code decoding multiple numbers need to be summed and multiplied. In this way, the calculation of each number requires multiple data read operations, which greatly reduces the decoding speed.
- the row processing and column processing methods are used. First, the product of the row or the sum of the column is calculated, and then each element is subtracted to obtain the confidence of each element in the row or column. As a result, the calculation and evaluation of each confidence only requires 2 delay units, which greatly improves the decoding throughput.
- This decoding method still requires a large number of registers to maintain the intermediate calculated values, which consumes a lot of register resources, increases the chip area, and increases power consumption.
- the present disclosure aims to solve one of the technical problems in the related art at least to some extent.
- the first aspect of the present disclosure proposes an LDPC decoding method based on verification confidence, including: S1: obtaining the check nodes and variable nodes of the LDPC code, initializing the check nodes and variable nodes, and initializing the number of iterations to 0; S2: performing verification confidence iterative decoding on the LDPC code to obtain a decoding decision result, and increasing the number of iterations by one; S3: performing verification verification according to the decoding decision result; S4: if the verification verification passes, end the decoding, and output the decoding decision result as the decoding result. If the verification verification fails and the number of iterations does not reach the preset number of iterations, repeat steps S2-S4 until the verification verification passes.
- initializing the check nodes and the variable nodes includes:
- the LDPC code is iteratively decoded to obtain a decoding decision result, including:
- the check nodes are taken as target check nodes in turn to update the check confidence until the update of the check confidence of all check nodes is completed, and the decoding judgment result is obtained.
- the update of the check confidence of the target check node is completed by updating the check node to the check node information of the target check node.
- updating the target check node from check node to check node information includes:
- variable nodes connected to the target check node are used as the target variable nodes in sequence
- the updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
- calculating the confidence from the first check node to the target check node to obtain the decoding decision value of the target variable node includes:
- the updated posterior information of the target variable node is calculated
- the decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
- recursively calculating the updated verification confidence of the target verification node includes:
- the verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information from the external information of the target variable node to the target verification node as the updated verification confidence of the target verification node.
- the decoding decision result includes a decoding decision value of the target variable node, and verification is performed according to the decoding decision result, including:
- HT represents the transposed form of the LDPC code check matrix
- the method further includes:
- the decoding stops and the decoding failure is output.
- an LDPC decoding device based on verification confidence comprising:
- An initialization module used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0;
- An iterative decoding module is used to perform iterative decoding on the LDPC code to verify the confidence level, obtain a decoding decision result, and increase the number of iterations by one;
- a verification module is used to perform verification based on the decoding judgment result
- the output module is used to end the decoding if the verification is passed, and output the decoding judgment result as the decoding result. If the verification is not passed and the number of iterations does not reach the preset number of iterations, the iterative decoding module and the verification module are repeatedly called until the verification is passed.
- the third aspect embodiment of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the processor executes the computer program, it can execute the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure.
- the fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium.
- the instructions in the storage medium are executed by a processor, the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure can be executed.
- the fifth aspect embodiment of the present disclosure proposes a computer program product, including a computer program or instructions, which, when executed by a processor, can execute the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure.
- FIG1 is a flow chart of an LDPC decoding method based on verification confidence provided in Embodiment 1 of the present disclosure
- FIG2 is an example diagram of updating information from a check node to a check node for a target check node in an LDPC decoding method based on check confidence according to an embodiment of the present disclosure
- FIG3 is a schematic diagram of the structure of an LDPC decoding device based on verification confidence provided in Embodiment 2 of the present disclosure
- FIG. 4 is another schematic diagram of the structure of an LDPC decoding device based on verification confidence according to an embodiment of the present disclosure.
- FIG1 is a flow chart of an LDPC decoding method based on verification confidence provided in the first embodiment of the present disclosure.
- the LDPC decoding method based on verification confidence includes the following steps S1 to S4:
- steps S2-S4 are repeated until the verification is passed.
- the LDPC decoding method based on verification confidence of the embodiment of the present disclosure includes: S1: obtaining the verification nodes and variable nodes of the LDPC code, initializing the verification nodes and variable nodes, and initializing the number of iterations to 0; S2: iterative decoding of the LDPC code with verification confidence to obtain the decoding decision result, and increasing the number of iterations by one; S3: verification verification according to the decoding decision result; S4: if the verification verification passes, the decoding is terminated, and the decoding decision result is output as the decoding result. If the verification verification fails and the number of iterations does not reach the preset number of iterations, steps S2-S4 are repeated until the verification verification passes.
- the LDPC decoding method based on verification confidence disclosed by the present invention completes LDPC decoding through iterative decoding, and completes each iterative decoding by updating the verification confidence of each check node in turn; completes the verification confidence update of each check node by recursively updating the information from check node to check node; after each iterative decoding, the verification verification of the decision bit is performed to determine whether to continue the iteration; wherein, the verification confidence update of each check node is completed by recursively updating the information from check node to check node, including first calculating the update information from check node cj to variable node va , then calculating the updated external information of variable node va and completing the posterior information update and decoding decision of variable node va , and finally completing the calculation of the information update of variable node va external information to check node c i .
- initializing the check nodes and the variable nodes includes:
- the LDPC code is iteratively decoded to verify the confidence level, and a decoding decision result is obtained, including:
- the check nodes are taken as target check nodes in turn to update the check confidence until the update of the check confidence of all check nodes is completed, and the decoding judgment result is obtained.
- the update of the check confidence of the target check node is completed by updating the check node to the check node information of the target check node.
- Performing verification confidence iterative decoding on the LDPC code includes the following steps S21 to S23:
- updating the information of the target check node from the check node to the check node includes:
- variable nodes connected to the target check node are used as the target variable nodes in sequence
- the updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
- the check node to check node information update is performed on the check node c i , including the following steps S221 to S226:
- the confidence from the first check node to the target check node is calculated to obtain the decoding decision value of the target variable node, including:
- the updated posterior information of the target variable node is calculated
- the decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
- Calculating the confidence of the check node cj to the check node ci includes the following steps S2241 to S2244:
- the deproduct operation is expressed as:
- ⁇ - (x, y) sgn(x) sgn(y) ⁇ (
- Verification confidence of verification node cj Exclude external information of variable node v a That is the information from the check node c j to the variable node va .
- Decoding decision is made according to the updated a posteriori information of the variable node va . If the updated a posteriori information of the variable node va is greater than or equal to 0, the decoding decision value of the variable node va is 0. If the updated a posteriori information of the variable node va is less than 0, the decoding decision value of the variable node va is 1.
- the decoding decision is expressed as follows:
- recursively calculating the updated verification confidence of the target verification node includes:
- the verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information from the external information of the target variable node to the target verification node as the updated verification confidence of the target verification node.
- the method comprises the following steps:
- the decoding decision result includes the decoding decision value of the target variable node, and verification is performed according to the decoding decision result, including:
- HT represents the transposed form of the LDPC code check matrix
- the decoding stops and the decoding failure is output.
- FIG2 is an example diagram of updating information from a check node to a check node for a target check node in an LDPC decoding method based on check confidence according to an embodiment of the present disclosure.
- variable node va connected to the check node ci is obtained; the most recently updated check node cj other than ci connected to the variable node va is found; and the update information from the check node cj to the variable node va is calculated.
- Calculate the updated external information of the variable node v a According to the external information of variable node v a and update information from check node c j to variable node v a
- the verification confidence of the verification node c i Update external information with variable node v a Perform product operation to calculate the verification confidence of verification node c i
- FIG3 is a schematic diagram of the structure of an LDPC decoding device based on verification confidence provided in Embodiment 2 of the present disclosure.
- the LDPC decoding device based on verification confidence includes an initialization module 10, an iterative decoding module 20, a verification verification module 30 and an output module 40.
- the initialization module 10 is used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0.
- the iterative decoding module 20 is used to perform iterative decoding of the LDPC code to verify the confidence, obtain a decoding decision result, and increase the number of iterations by one. ;
- the verification module 30 is used to perform verification according to the decoding judgment result. ;
- the output module 40 is used to end decoding if the verification is passed, and output the decoding judgment result as the decoding result. If the verification is not passed and the number of iterations does not reach the preset number of iterations, the iterative decoding module and the verification module are repeatedly called until the verification is passed.
- the LDPC decoding device based on the verification confidence of the embodiment of the present disclosure includes an initialization module, an iterative decoding module, a verification verification module, and an output module.
- the initialization module is used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0.
- the iterative decoding module is used to perform verification confidence iterative decoding on the LDPC code to obtain a decoding decision result, and increase the number of iterations by one.
- the verification verification module is used to perform verification verification according to the decoding decision result.
- the output module is used to end the decoding if the verification verification passes, and output the decoding decision result as the decoding result.
- the iterative decoding module and the verification verification module are repeatedly called until the verification verification passes.
- the technical problems that the existing LDPC decoding method consumes more register resources and consumes more power can be solved.
- the register consumption and decoding resources are reduced, and there is basically no decoding loss, which effectively improves the decoding efficiency.
- FIG. 4 is another schematic diagram of the structure of an LDPC decoding device based on verification confidence according to an embodiment of the present disclosure.
- the check node c i corresponds to the i-th row of the LDPC code check matrix.
- the i-th row of the check matrix has multiple 1s, and each 1 corresponds to a variable node.
- the variable node va corresponds to the a-th column of the LDPC code check matrix; if the i-th row and a-th column of the check matrix is 1, the check node c i is connected to the variable node va .
- the updated external information of the variable node v a is calculated by the V2C module
- the verification confidence of the verification node c i is converted into Update external information with variable node v a Perform product operation to calculate the verification confidence of verification node c i
- the present disclosure also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the verification confidence-based LDPC method of the above embodiments when executed by the processor.
- the present disclosure also proposes a non-temporary computer-readable storage medium, on which a computer program is stored.
- the computer program is executed by a processor, the LDPC method based on verification confidence of the above embodiment is implemented.
- the present disclosure also proposes a computer program product, including a computer program or instructions, which, when executed by a processor, implements the LDPC method based on verification confidence of the above embodiments.
- first and second are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
- a feature defined as “first” or “second” may explicitly or implicitly include at least one of the features.
- “plurality” means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
- Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.
- the logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses.
- "computer-readable medium” can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses.
- computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM).
- the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
- any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
- PGA programmable gate array
- FPGA field programmable gate array
- each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
- the above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
- the storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
Abstract
A check confidence-based LDPC decoding method, relating to the technical field of information processing. The method comprises: S1, acquiring check nodes and variable nodes of an LDPC code, initializing the check nodes and the variable nodes, and initializing the number of iterations to 0; S2, performing check confidence-based iterative decoding on the LDPC code to obtain a decoding decision result, and increasing the number of iterations by one; S3, performing check verification according to the decoding decision result; and S4, if the check verification is passed, ending the decoding and outputting the decoding decision result as a decoding result, and if the check verification is not passed and the number of iterations does not reach a preset number of iterations, repeating steps S2-S4 until check verification is passed.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202211182509.3、申请日为2022年9月27日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with application number 202211182509.3 and application date September 27, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference.
本公开涉及信息处理技术领域,尤其涉及一种基于校验置信度的LDPC译码方法和装置。The present disclosure relates to the field of information processing technology, and in particular to an LDPC decoding method and device based on verification confidence.
LDPC(Low Density Parity Check Code,低密度奇偶校验)码是最新的优秀信道纠错编码技术,已在5G移动通信标准中得到应用,并是未来6G移动通信的候选信道编码技术之一。LDPC码可以用校验矩阵来定义。每一个奇偶校验矩阵H,存在一个对应的Tanner(bipartitle Tanner graph,二分图)。Tanner图中包含两种节点,分别是VN(variable node,变量节点)和CN(check node,校验节点)。每个VN代表H中的一列,每个CN则表示H的一行;当H中某行某列的元素为1时,Tanner图中对应的VN和CN用一条“边”连接。LDPC (Low Density Parity Check Code) code is the latest excellent channel error correction coding technology. It has been applied in the 5G mobile communication standard and is one of the candidate channel coding technologies for future 6G mobile communications. LDPC codes can be defined by a check matrix. For each parity check matrix H, there is a corresponding Tanner (bipartite graph). The Tanner graph contains two types of nodes, namely VN (variable node) and CN (check node). Each VN represents a column in H, and each CN represents a row of H; when an element in a row or column of H is 1, the corresponding VN and CN in the Tanner graph are connected by an "edge".
LDPC码译码中,需要多个数进行求和及求积,这样,每个数的计算都需要多个数据读操作,大大降低了译码速度。通常采用行处理及列处理的方法,首先求出该行的积或列的和,然后再减去每一个元素,得到行中或列中各个元素的置信度,从而使得每一个置信度的计算评价只需要2个时延单元,大大提高了译码吞吐率。这种译码方法,仍然需要大量的寄存器保持中间计算的值,消耗寄存器资源极多,增大了芯片面积,提高了功耗。In LDPC code decoding, multiple numbers need to be summed and multiplied. In this way, the calculation of each number requires multiple data read operations, which greatly reduces the decoding speed. Usually, the row processing and column processing methods are used. First, the product of the row or the sum of the column is calculated, and then each element is subtracted to obtain the confidence of each element in the row or column. As a result, the calculation and evaluation of each confidence only requires 2 delay units, which greatly improves the decoding throughput. This decoding method still requires a large number of registers to maintain the intermediate calculated values, which consumes a lot of register resources, increases the chip area, and increases power consumption.
发明内容Summary of the invention
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
为达上述目的,本公开第一方面实施例提出了一种基于校验置信度的LDPC译码方法,包括:S1:获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0;S2:对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;S3:根据译码判决结果进行校验验证;S4:若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复步骤S2-S4,直到校验验证通过。To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes an LDPC decoding method based on verification confidence, including: S1: obtaining the check nodes and variable nodes of the LDPC code, initializing the check nodes and variable nodes, and initializing the number of iterations to 0; S2: performing verification confidence iterative decoding on the LDPC code to obtain a decoding decision result, and increasing the number of iterations by one; S3: performing verification verification according to the decoding decision result; S4: if the verification verification passes, end the decoding, and output the decoding decision result as the decoding result. If the verification verification fails and the number of iterations does not reach the preset number of iterations, repeat steps S2-S4 until the verification verification passes.
在一些实施例中,对校验节点和变量节点进行初始化,包括:In some embodiments, initializing the check nodes and the variable nodes includes:
将校验节点的校验置信度初始化为无穷;Initialize the verification confidence of the verification node to infinity;
将变量节点的外信息初始化为信道输入软信息;Initialize the external information of the variable node to the channel input soft information;
将校验节点到变量节点的信息初始化为0。Initialize the information from the check node to the variable node to 0.
在一些实施例中,对LDPC码进行校验置信度迭代译码,得到译码判决结果,包括:In some embodiments, the LDPC code is iteratively decoded to obtain a decoding decision result, including:
依次将校验节点作为目标校验节点进行校验置信度更新,直至完成所有校验节点校验置信度的更新,得到译码判决结果,通过对目标校验节点进行校验节点到校验节点的信息更新,完成对目标校验节点校验置信度的更新。The check nodes are taken as target check nodes in turn to update the check confidence until the update of the check confidence of all check nodes is completed, and the decoding judgment result is obtained. The update of the check confidence of the target check node is completed by updating the check node to the check node information of the target check node.
在一些实施例中,对目标校验节点进行校验节点到校验节点的信息更新,包括:In some embodiments, updating the target check node from check node to check node information includes:
依次将与目标校验节点连接的变量节点作为目标变量节点;The variable nodes connected to the target check node are used as the target variable nodes in sequence;
获取与目标变量节点连接的除目标校验节点之外的最近更新的校验节点作为第一校验节点,计算第一校验节点到目标校验节点的置信度,得到目标变量节点的译码判决值;Obtaining a most recently updated check node other than the target check node connected to the target variable node as a first check node, calculating the confidence from the first check node to the target check node, and obtaining a decoding decision value of the target variable node;
递归计算目标校验节点的更新校验置信度,直至完成所有通过变量节点传递的信息的置信度更新。The updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
在一些实施例中,计算第一校验节点到目标校验节点的置信度,得到目标变量节点的译码判决值,包括:In some embodiments, calculating the confidence from the first check node to the target check node to obtain the decoding decision value of the target variable node includes:
根据第一校验节点的校验置信度和目标变量节点的外信息,得到第一校验节点到目标变量节点的更新信息;Obtaining update information from the first check node to the target variable node according to the check confidence of the first check node and the external information of the target variable node;
根据目标变量节点的外信息、第一校验节点到目标变量节点的更新信息,和目标校验节点到目标变量节点的信息,计算得到目标变量节点的更新外信息;Calculate updated external information of the target variable node according to external information of the target variable node, updated information from the first check node to the target variable node, and information from the target check node to the target variable node;
根据更新信息和目标变量节点的外信息,计算得到目标变量节点的更新后验信息;According to the updated information and the external information of the target variable node, the updated posterior information of the target variable node is calculated;
根据目标变量节点的更新后验信息进行译码判决,若目标变量节点的更新后验信息大于等于0,则目标变量节点的译码判决值为0,否则,目标变量节点的译码判决值为1。The decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
在一些实施例中,递归计算目标校验节点的更新校验置信度,包括:In some embodiments, recursively calculating the updated verification confidence of the target verification node includes:
将目标校验节点的校验置信度和目标变量节点的更新外信息进行积运算,得到目标变量节点外信息到目标校验节点的更新信息,作为目标校验节点的更新校验置信度。The verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information from the external information of the target variable node to the target verification node as the updated verification confidence of the target verification node.
在一些实施例中,译码判决结果包括目标变量节点的译码判决值,根据译码判决结果进行校验验证,包括:In some embodiments, the decoding decision result includes a decoding decision value of the target variable node, and verification is performed according to the decoding decision result, including:
若译码判决结果满足校验方程,则校验验证通过;If the decoding judgment result satisfies the verification equation, the verification is passed;
若译码判决结果不满足校验方程,则校验验证未通过;If the decoding judgment result does not satisfy the verification equation, the verification fails;
其中,校验方程表示为:Among them, the verification equation is expressed as:
其中,
表示译码判决,H
T表示LDPC码校验矩阵的转置形式。
in, represents the decoding decision, and HT represents the transposed form of the LDPC code check matrix.
在一些实施例中,在根据译码判决结果进行校验验证之后,还包括:In some embodiments, after verification is performed according to the decoding decision result, the method further includes:
若校验验证未通过且迭代次数达到预设迭代次数,停止译码,输出译码失败。If the verification fails and the number of iterations reaches the preset number of iterations, the decoding stops and the decoding failure is output.
为达上述目的,本公开第二方面实施例提出了一种基于校验置信度的LDPC译码装置,包括:To achieve the above-mentioned purpose, the second aspect of the present disclosure proposes an LDPC decoding device based on verification confidence, comprising:
初始化模块,用于获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0;An initialization module, used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0;
迭代译码模块,用于对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;An iterative decoding module is used to perform iterative decoding on the LDPC code to verify the confidence level, obtain a decoding decision result, and increase the number of iterations by one;
校验验证模块,用于根据译码判决结果进行校验验证;A verification module is used to perform verification based on the decoding judgment result;
输出模块,用于若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复调用迭代译码模块、校验验证模块,直到校验验证通过。The output module is used to end the decoding if the verification is passed, and output the decoding judgment result as the decoding result. If the verification is not passed and the number of iterations does not reach the preset number of iterations, the iterative decoding module and the verification module are repeatedly called until the verification is passed.
为达上述目的,本公开第三方面实施例提出了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,能够执行本公开第一方面实施例的基于校验置信度的LDPC译码方法。To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can execute the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure.
为了实现上述目的,本公开第四方面实施例提出了一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器被执行时,能够执行本公开第一方面实施例的基于校验置信度的LDPC译码方法。In order to achieve the above-mentioned objectives, the fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor, the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure can be executed.
为达上述目的,本公开第五方面实施例提出了一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,能够执行本公开第一方面实施例的基于校验置信度的LDPC译码方法。To achieve the above-mentioned purpose, the fifth aspect embodiment of the present disclosure proposes a computer program product, including a computer program or instructions, which, when executed by a processor, can execute the LDPC decoding method based on verification confidence of the first aspect embodiment of the present disclosure.
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure.
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为本公开实施例一所提供的一种基于校验置信度的LDPC译码方法的流程示意图;FIG1 is a flow chart of an LDPC decoding method based on verification confidence provided in Embodiment 1 of the present disclosure;
图2为本公开实施例的基于校验置信度的LDPC译码方法的对目标校验节点进行校验节点到校验节点的信息更新的示例图;FIG2 is an example diagram of updating information from a check node to a check node for a target check node in an LDPC decoding method based on check confidence according to an embodiment of the present disclosure;
图3为本公开实施例二所提供的一种基于校验置信度的LDPC译码装置的结构示意图;FIG3 is a schematic diagram of the structure of an LDPC decoding device based on verification confidence provided in Embodiment 2 of the present disclosure;
图4为本公开实施例的基于校验置信度的LDPC译码装置的另一个结构示意图。FIG. 4 is another schematic diagram of the structure of an LDPC decoding device based on verification confidence according to an embodiment of the present disclosure.
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本申请的限制。Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present application.
下面参考附图描述本公开实施例的基于校验置信度的LDPC译码方法和装置。The following describes an LDPC decoding method and apparatus based on verification confidence according to an embodiment of the present disclosure with reference to the accompanying drawings.
图1为本公开实施例一所提供的一种基于校验置信度的LDPC译码方法的流程示意图。FIG1 is a flow chart of an LDPC decoding method based on verification confidence provided in the first embodiment of the present disclosure.
如图1所示,该基于校验置信度的LDPC译码方法包括以下步骤S1至S4:As shown in FIG1 , the LDPC decoding method based on verification confidence includes the following steps S1 to S4:
S1:获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0;S1: Obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0;
S2:对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;S2: Perform iterative decoding of the LDPC code to verify the confidence level, obtain a decoding decision result, and increase the number of iterations by one;
S3:根据译码判决结果进行校验验证;S3: Perform verification based on the decoding judgment result;
S4:若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复步骤S2-S4,直到校验验证通过。S4: If the verification is passed, the decoding is terminated and the decoding decision result is output as the decoding result. If the verification is not passed and the number of iterations does not reach the preset number of iterations, steps S2-S4 are repeated until the verification is passed.
本公开实施例的基于校验置信度的LDPC译码方法,通过S1:获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0;S2:对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;S3:根据译码判决结果进行校验验证;S4:若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复步骤S2-S4,直到校验验证通过。由此,能够解决现有LDPC译码方法消耗寄存器资源较多,功耗较大的技术问题,通过消除LDPC译码算法中的累加和累乘运算,减少了寄存器消耗和译码资源,同时基本无译码损失,有效提高了译码效率。The LDPC decoding method based on verification confidence of the embodiment of the present disclosure includes: S1: obtaining the verification nodes and variable nodes of the LDPC code, initializing the verification nodes and variable nodes, and initializing the number of iterations to 0; S2: iterative decoding of the LDPC code with verification confidence to obtain the decoding decision result, and increasing the number of iterations by one; S3: verification verification according to the decoding decision result; S4: if the verification verification passes, the decoding is terminated, and the decoding decision result is output as the decoding result. If the verification verification fails and the number of iterations does not reach the preset number of iterations, steps S2-S4 are repeated until the verification verification passes. Thus, the technical problems of the existing LDPC decoding method consuming more register resources and high power consumption can be solved. By eliminating the accumulation and multiplication operations in the LDPC decoding algorithm, the register consumption and decoding resources are reduced, and there is basically no decoding loss, which effectively improves the decoding efficiency.
本公开公开的基于校验置信度的LDPC译码方法,通过迭代译码完成LDPC译码,通过依次更新各个校验节点的校验置信度完成每一次迭代译码;通过递归进行校验节点到校验节点的信息更新完成每一个校验节点的校验置信度更新;每一次迭代译码后,进行判决比特的校验验证,从而决定是否继续进行迭代;其中,通过递归进行校验节点到校验节点的信息更新完成每一个校验节点的校验置信度更新,包括首先计算校验节点c
j到变量节点v
a的更新信息,然后计算变量节点v
a的更新外信息并完成变量节点v
a的后验信息更新及译码判决,最后完成计算变量节点v
a外信息到校验节点c
i的信息更新。
The LDPC decoding method based on verification confidence disclosed by the present invention completes LDPC decoding through iterative decoding, and completes each iterative decoding by updating the verification confidence of each check node in turn; completes the verification confidence update of each check node by recursively updating the information from check node to check node; after each iterative decoding, the verification verification of the decision bit is performed to determine whether to continue the iteration; wherein, the verification confidence update of each check node is completed by recursively updating the information from check node to check node, including first calculating the update information from check node cj to variable node va , then calculating the updated external information of variable node va and completing the posterior information update and decoding decision of variable node va , and finally completing the calculation of the information update of variable node va external information to check node c i .
进一步地,在本公开实施例中,对校验节点和变量节点进行初始化,包括:Furthermore, in the embodiment of the present disclosure, initializing the check nodes and the variable nodes includes:
将校验节点的校验置信度初始化为无穷;Initialize the verification confidence of the verification node to infinity;
将变量节点的外信息初始化为信道输入软信息;Initialize the external information of the variable node to the channel input soft information;
将校验节点到变量节点的信息初始化为0。Initialize the information from the check node to the variable node to 0.
将所有校验节点的校验置信度
初始化为∞,表示为:
Set the verification confidence of all verification nodes Initialized to ∞, expressed as:
将所有变量节点的外信息
初始化为信道输入软信息,表示为:
The external information of all variable nodes Initialize the channel input soft information, expressed as:
其中,
是变量节点v
a的编码值,
是变量节点v
a的接收值,
in, is the encoded value of the variable node v a , is the received value of the variable node v a ,
将所有校验节点c
i到变量节点v
a的信息
初始化为0,表示为:
Transfer all the information from check nodes c i to variable nodes v a Initialized to 0, expressed as:
进一步地,在本公开实施例中,对LDPC码进行校验置信度迭代译码,得到译码判决结果,包括:Furthermore, in the embodiment of the present disclosure, the LDPC code is iteratively decoded to verify the confidence level, and a decoding decision result is obtained, including:
依次将校验节点作为目标校验节点进行校验置信度更新,直至完成所有校验节点校验置信度的更新,得到译码判决结果,通过对目标校验节点进行校验节点到校验节点的信息更新,完成对目标校验节点校验置信度的更新。The check nodes are taken as target check nodes in turn to update the check confidence until the update of the check confidence of all check nodes is completed, and the decoding judgment result is obtained. The update of the check confidence of the target check node is completed by updating the check node to the check node information of the target check node.
对LDPC码进行校验置信度迭代译码,包括以下步骤S21至S23:Performing verification confidence iterative decoding on the LDPC code includes the following steps S21 to S23:
S21:初始化校验节点c
i为第0个校验节点;
S21: Initialize the check node c i as the 0th check node;
S22:对校验节点c
i进行校验节点到校验节点的信息更新;
S22: Update the information of the check node to the check node for the check node c i ;
S23:如果完成所有校验节点的信息更新,则结束该次迭代译码;否则校验节点增加到下一个校验节点,返回S22。S23: If the information update of all check nodes is completed, the iterative decoding is ended; otherwise, the check node is added to the next check node and the process returns to S22.
进一步地,在本公开实施例中,对目标校验节点进行校验节点到校验节点的信息更新,包括:Further, in the embodiment of the present disclosure, updating the information of the target check node from the check node to the check node includes:
依次将与目标校验节点连接的变量节点作为目标变量节点;The variable nodes connected to the target check node are used as the target variable nodes in sequence;
获取与目标变量节点连接的除目标校验节点之外的最近更新的校验节点作为第一校验节点,计算第一校验节点到目标校验节点的置信度,得到目标变量节点的译码判决值;Obtaining a most recently updated check node other than the target check node connected to the target variable node as a first check node, calculating the confidence from the first check node to the target check node, and obtaining a decoding decision value of the target variable node;
递归计算目标校验节点的更新校验置信度,直至完成所有通过变量节点传递的信息的置信度更新。The updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
对校验节点c
i进行校验节点到校验节点的信息更新,包括以下步骤S221至S226:
The check node to check node information update is performed on the check node c i , including the following steps S221 to S226:
S222:初始化与校验节点c
i连接的变量节点v
a为c
i的第0个邻节点;
S222: Initialize the variable node v a connected to the check node c i as the 0th neighbor node of c i ;
S223:寻找到与变量节点v
a相连的c
i之外的最近更新的校验节点c
j;
S223: Find the most recently updated check node c j other than c i connected to the variable node va ;
S224:计算校验节点c
j到校验节点c
i的置信度;
S224: Calculate the confidence level from check node cj to check node ci ;
S226:如果完成对校验节点c
i的所有通过相邻变量节点传递的信息的置信度更新,即递归得到
其中,|N(c
i)|表示校验节点c
i的邻节点数量,则完成校验节点c
i的置信度计算,即
否则,返回S222继续递归计算校验节点c
i的校验置信度。
S226: If the confidence update of all the information transmitted by the check node c i through the adjacent variable nodes is completed, then recursively obtain Where |N( ci )| represents the number of neighboring nodes of the check node c , then the confidence calculation of the check node c is completed, that is, Otherwise, return to S222 to continue recursively calculating the verification confidence of the verification node c i .
进一步地,在本公开实施例中,计算第一校验节点到目标校验节点的置信度,得到目标变量节点的译码判决值,包括:Further, in the embodiment of the present disclosure, the confidence from the first check node to the target check node is calculated to obtain the decoding decision value of the target variable node, including:
根据第一校验节点的校验置信度和目标变量节点的外信息,得到第一校验节点到目标变量节点的更新信息;Obtaining update information from the first check node to the target variable node according to the check confidence of the first check node and the external information of the target variable node;
根据目标变量节点的外信息、第一校验节点到目标变量节点的更新信息,和目标校验节点到目标变量节点的信息,计算得到目标变量节点的更新外信息;Calculate updated external information of the target variable node according to external information of the target variable node, updated information from the first check node to the target variable node, and information from the target check node to the target variable node;
根据更新信息和目标变量节点的外信息,计算得到目标变量节点的更新后验信息;According to the updated information and the external information of the target variable node, the updated posterior information of the target variable node is calculated;
根据目标变量节点的更新后验信息进行译码判决,若目标变量节点的更新后验信息大于等于0,则目标变量节点的译码判决值为0,否则,目标变量节点的译码判决值为1。The decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
计算校验节点c
j到校验节点c
i的置信度,包括以下步骤S2241至S2244:
Calculating the confidence of the check node cj to the check node ci includes the following steps S2241 to S2244:
S2241:根据校验节点c
j的校验置信度
和变量节点v
a的外信息
计算得到校验节点c
j到变量节点v
a的更新信息,其中,校验节点c
j到变量节点v
a的更新信息的计算公式表示为:
S2241: Verify the confidence level of the verification node cj and the external information of the variable node v a The update information from the check node cj to the variable node v a is calculated, where the calculation formula for the update information from the check node cj to the variable node v a is expressed as:
其中,
表示校验节点c
j到变量节点v
a的更新信息,
为去积运算,
表示校验节点c
i的校验置信度,
表示变量节点v
a的外信息,
in, represents the update information from the check node c j to the variable node v a , is the deproduct operation, represents the verification confidence of the verification node c i , Represents the external information of the variable node v a ,
其中,去积运算表示为:The deproduct operation is expressed as:
ψ
-(x,y)=sgn(x)·sgn(y)·φ(|φ(|x|)-φ(|y|)|),
ψ - (x, y) = sgn(x) sgn(y) φ(|φ(|x|) - φ(|y|)|),
校验节点c
j的校验置信度
排除变量节点v
a的外信息
即为校验节点c
j到变量节点v
a的信息。
Verification confidence of verification node cj Exclude external information of variable node v a That is the information from the check node c j to the variable node va .
S2242:将变量节点v
a的外信息
加上校验节点c
j到变量节点v
a的更新信息
再减去校验节点c
i到变量节点v
a的信息
计算得到变量节点v
a的更新外信息,其中,变量节点v
a的更新外信息的计算公式表示为
S2242: The external information of the variable node v a Add the update information from the check node cj to the variable node v a Then subtract the information from the check node c i to the variable node v a The updated external information of the variable node v a is calculated, where the calculation formula of the updated external information of the variable node v a is expressed as
其中,
表示变量节点v
a的更新外信息,
表示变量节点v
a的外信息,
表示校验节点c
j到变量节点v
a的更新信息,
表示校验节点c
i到变量节点v
a的信息。
in, represents the updated external information of the variable node v a , Represents the external information of the variable node v a , represents the update information from the check node c j to the variable node v a , Represents the information from check node c i to variable node v a .
S2243:根据变量节点v
a的外信息
和校验节点c
j到变量节点v
a的更新信息
计算得到变量节点v
a的更新后验信息,其中,变量节点v
a的更新后验信息的计算公式表示为:
S2243: Based on the external information of variable node v a and update information from check node c j to variable node v a The updated posterior information of the variable node v a is calculated, where the calculation formula of the updated posterior information of the variable node v a is expressed as:
其中,
表示变量节点v
a的更新后验信息,
表示变量节点v
a的外信息,
表示校验节点c
j到变量节点v
a的更新信息。
in, represents the updated posterior information of the variable node v a , Represents the external information of the variable node v a , Represents the update information from check node c j to variable node va .
S2244:根据变量节点v
a的更新后验信息进行译码判决,若变量节点v
a的更新后验信息大于等于0,则变量节点v
a的译码判决值为0,若变量节点v
a的更新后验信息小于0,则变量节点v
a的译码判决值为1,其中,根据变量节点v
a的更新后验信息进行译码判决表示为:
S2244: Decoding decision is made according to the updated a posteriori information of the variable node va . If the updated a posteriori information of the variable node va is greater than or equal to 0, the decoding decision value of the variable node va is 0. If the updated a posteriori information of the variable node va is less than 0, the decoding decision value of the variable node va is 1. The decoding decision is expressed as follows:
其中,
表示译码判决,
表示变量节点v
a的更新后验信息。
in, Denotes the decoding decision, Represents the updated posterior information of the variable node v a .
进一步地,在本公开实施例中,递归计算目标校验节点的更新校验置信度,包括:Further, in the embodiment of the present disclosure, recursively calculating the updated verification confidence of the target verification node includes:
将目标校验节点的校验置信度和目标变量节点的更新外信息进行积运算,得到目标变量节点外信息到目标校验节点的更新信息,作为目标校验节点的更新校验置信度。The verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information from the external information of the target variable node to the target verification node as the updated verification confidence of the target verification node.
递归计算校验节点c
i的置信度
包括步骤S2251:
Recursively calculate the confidence of the check node c i The method comprises the following steps:
S2251:将部分校验置信度
与变量节点v
a更新外信息
进行积运算,计算得到变量节点v
a更新外信息
到校验节点c
i的更新信息,作为校验节点c
i的校验置信度
计算公式表示为:
S2251: Verify the confidence level of some parts Update external information with variable node v a Perform product operation to calculate the variable node v a update external information Update information to the verification node c i , as the verification confidence of the verification node c i The calculation formula is expressed as:
其中,
表示校验节点c
i进行n次递归更新的部分校验置信度,ψ
+()表示积运算,
表示n-1次递归更新的部分校验置信度,
表示变量节点v
a更新外信息,
in, represents the partial verification confidence of the verification node c i after n recursive updates, ψ + () represents the product operation, represents the partial verification confidence of n-1 recursive updates, Indicates that the variable node v a updates external information,
其中,积运算表示为:The product operation is expressed as:
ψ
+(x,y)=sgn(x)·sgn(y)·φ(|φ(|x|)-φ(|y|)|),
ψ + (x, y) = sgn(x)·sgn(y)·φ(|φ(|x|)-φ(|y|)|),
进一步地,在本公开实施例中,译码判决结果包括目标变量节点的译码判决值,根据译码判决结果进行校验验证,包括:Further, in the embodiment of the present disclosure, the decoding decision result includes the decoding decision value of the target variable node, and verification is performed according to the decoding decision result, including:
若译码判决结果满足校验方程,则校验验证通过;If the decoding judgment result satisfies the verification equation, the verification is passed;
若译码判决结果不满足校验方程,则校验验证未通过;If the decoding judgment result does not satisfy the verification equation, the verification fails;
其中,校验方程表示为:Among them, the verification equation is expressed as:
其中,
表示译码判决,H
T表示LDPC码校验矩阵的转置形式。
in, represents the decoding decision, and HT represents the transposed form of the LDPC code check matrix.
如果译码判断
组成的矢量
满足校验方程
则译码校验验证通过;否则译码校验验证未通过。
If the decoding judgment Composition of vector Satisfy the verification equation If the decoding check is successful, the verification is passed; otherwise, the decoding check is failed.
进一步地,在本公开实施例中,在根据译码判决结果进行校验验证之后,还包括:Furthermore, in the embodiment of the present disclosure, after verification and validation are performed according to the decoding decision result, the following is further included:
若校验验证未通过且迭代次数达到预设迭代次数,停止译码,输出译码失败。If the verification fails and the number of iterations reaches the preset number of iterations, the decoding stops and the decoding failure is output.
图2为本公开实施例的基于校验置信度的LDPC译码方法的对目标校验节点进行校验 节点到校验节点的信息更新的示例图。FIG2 is an example diagram of updating information from a check node to a check node for a target check node in an LDPC decoding method based on check confidence according to an embodiment of the present disclosure.
如图2所示,获取与校验节点c
i连接的变量节点v
a;寻找到与变量节点v
a相连的c
i之外的最近更新的校验节点c
j;计算得到校验节点c
j到变量节点v
a的更新信息
计算得到变量节点v
a的更新外信息
根据变量节点v
a的外信息
和校验节点c
j到变量节点v
a的更新信息
计算得到变量节点v
a的更新后验信息
将校验节点c
i的校验置信度
与变量节点v
a更新外信息
进行积运算,计算得到校验节点c
i的校验置信度
As shown in FIG2 , the variable node va connected to the check node ci is obtained; the most recently updated check node cj other than ci connected to the variable node va is found; and the update information from the check node cj to the variable node va is calculated. Calculate the updated external information of the variable node v a According to the external information of variable node v a and update information from check node c j to variable node v a Calculate the updated posterior information of the variable node v a The verification confidence of the verification node c i Update external information with variable node v a Perform product operation to calculate the verification confidence of verification node c i
图3为本公开实施例二所提供的一种基于校验置信度的LDPC译码装置的结构示意图。FIG3 is a schematic diagram of the structure of an LDPC decoding device based on verification confidence provided in Embodiment 2 of the present disclosure.
如图3所示,该基于校验置信度的LDPC译码装置,包括初始化模块10、迭代译码模块20、校验验证模块30和输出模块40。初始化模块10用于获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0。As shown in Fig. 3, the LDPC decoding device based on verification confidence includes an initialization module 10, an iterative decoding module 20, a verification verification module 30 and an output module 40. The initialization module 10 is used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0.
迭代译码模块20用于对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次。;The iterative decoding module 20 is used to perform iterative decoding of the LDPC code to verify the confidence, obtain a decoding decision result, and increase the number of iterations by one. ;
校验验证模块30用于根据译码判决结果进行校验验证。;The verification module 30 is used to perform verification according to the decoding judgment result. ;
输出模块40用于若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复调用迭代译码模块、校验验证模块,直到校验验证通过。The output module 40 is used to end decoding if the verification is passed, and output the decoding judgment result as the decoding result. If the verification is not passed and the number of iterations does not reach the preset number of iterations, the iterative decoding module and the verification module are repeatedly called until the verification is passed.
本公开实施例的基于校验置信度的LDPC译码装置,包括初始化模块、迭代译码模块、校验验证模块、输出模块。初始化模块用于获取LDPC码的校验节点和变量节点,对校验节点和变量节点进行初始化,并将迭代次数初始化为0。迭代译码模块用于对LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次。校验验证模块用于根据译码判决结果进行校验验证。输出模块用于若校验验证通过,结束译码,将译码判决结果作为译码结果输出,若校验验证未通过且迭代次数未达到预设迭代次数,重复调用迭代译码模块、校验验证模块,直到校验验证通过。由此,能够解决现有LDPC译码方法消耗寄存器资源较多,功耗较大的技术问题,通过消除LDPC译码算法中的累加和累乘运算,减少了寄存器消耗和译码资源,同时基本无译码损失,有效提高了译码效率。The LDPC decoding device based on the verification confidence of the embodiment of the present disclosure includes an initialization module, an iterative decoding module, a verification verification module, and an output module. The initialization module is used to obtain the check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0. The iterative decoding module is used to perform verification confidence iterative decoding on the LDPC code to obtain a decoding decision result, and increase the number of iterations by one. The verification verification module is used to perform verification verification according to the decoding decision result. The output module is used to end the decoding if the verification verification passes, and output the decoding decision result as the decoding result. If the verification verification fails and the number of iterations does not reach the preset number of iterations, the iterative decoding module and the verification verification module are repeatedly called until the verification verification passes. In this way, the technical problems that the existing LDPC decoding method consumes more register resources and consumes more power can be solved. By eliminating the accumulation and multiplication operations in the LDPC decoding algorithm, the register consumption and decoding resources are reduced, and there is basically no decoding loss, which effectively improves the decoding efficiency.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
图4为本公开实施例的基于校验置信度的LDPC译码装置的另一个结构示意图。FIG. 4 is another schematic diagram of the structure of an LDPC decoding device based on verification confidence according to an embodiment of the present disclosure.
如图4所示,校验节点c
i对应LDPC码校验矩阵的第i行,校验矩阵第i行有多个1,每一个1对应一个变量节点。变量节点v
a对应LDPC码校验矩阵的第a列;校验矩阵第i行第a列为1则校验节点c
i连接变量节点v
a。依次获取与校验节点c
i连接的变量节点v
a;寻找到与变量节点v
a相连的c
i之外的最近更新的校验节点c
j;通过B2V模块计算得到校验节点c
j到变量节点v
a的更新信息
通过V2C模块计算得到变量节点v
a的更新外信息
同时根据变量节点v
a的外信息
和校验节点c
j到变量节点v
a的更新信息
计算得到变量节点v
a的更新后验信息
通过C2B模块将校验节点c
i的校验置信度
与变量节点v
a更新外信息
进行积运算,计算得到校验节点c
i的校验置信度
As shown in Figure 4, the check node c i corresponds to the i-th row of the LDPC code check matrix. The i-th row of the check matrix has multiple 1s, and each 1 corresponds to a variable node. The variable node va corresponds to the a-th column of the LDPC code check matrix; if the i-th row and a-th column of the check matrix is 1, the check node c i is connected to the variable node va . Obtain the variable nodes va connected to the check node c i in sequence; find the most recently updated check node c j other than c i connected to the variable node va; calculate the update information from the check node c j to the variable node va through the B2V module The updated external information of the variable node v a is calculated by the V2C module At the same time, according to the external information of the variable node v a and update information from check node c j to variable node v a Calculate the updated posterior information of the variable node v a The verification confidence of the verification node c i is converted into Update external information with variable node v a Perform product operation to calculate the verification confidence of verification node c i
为了实现上述实施例,本公开还提出了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被处理器执行时实现上述实施例的基于校验置信度的LDPC方法。In order to implement the above embodiments, the present disclosure also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the verification confidence-based LDPC method of the above embodiments when executed by the processor.
为了实现上述实施例,本公开还提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例的基于校验置信度的LDPC方法。In order to implement the above embodiment, the present disclosure also proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the LDPC method based on verification confidence of the above embodiment is implemented.
为了实现上述实施例,本公开还提出了一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现上述实施例的基于校验置信度的LDPC方法。In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program or instructions, which, when executed by a processor, implements the LDPC method based on verification confidence of the above embodiments.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各 个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.
Claims (19)
- 一种基于校验置信度的LDPC译码方法,包括:An LDPC decoding method based on verification confidence includes:S1:获取LDPC码的校验节点和变量节点,对所述校验节点和变量节点进行初始化,并将迭代次数初始化为0;S1: Obtain check nodes and variable nodes of the LDPC code, initialize the check nodes and variable nodes, and initialize the number of iterations to 0;S2:对所述LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;S2: Performing iterative decoding of the LDPC code to verify confidence, obtaining a decoding decision result, and increasing the number of iterations by one;S3:根据所述译码判决结果进行校验验证;S3: Perform verification according to the decoding judgment result;S4:若所述校验验证通过,结束译码,将所述译码判决结果作为译码结果输出,若所述校验验证未通过且所述迭代次数未达到所述预设迭代次数,重复步骤S2-S4,直到所述校验验证通过。S4: If the verification is passed, the decoding is terminated and the decoding decision result is output as the decoding result; if the verification is not passed and the number of iterations does not reach the preset number of iterations, steps S2-S4 are repeated until the verification is passed.
- 如权利要求1所述的方法,其中,所述对所述校验节点和变量节点进行初始化,包括:The method of claim 1, wherein the initializing the check nodes and the variable nodes comprises:将所述校验节点的校验置信度初始化为无穷;Initializing the verification confidence of the verification node to infinity;将所述变量节点的外信息初始化为信道输入软信息;Initializing the external information of the variable node as channel input soft information;将所述校验节点到所述变量节点的信息初始化为0。Initialize the information from the check node to the variable node to 0.
- 如权利要求2所述的方法,其中,所述对所述LDPC码进行校验置信度迭代译码,得到译码判决结果,包括:The method according to claim 2, wherein the performing verification confidence iterative decoding on the LDPC code to obtain a decoding decision result comprises:依次将所述校验节点作为目标校验节点进行校验置信度更新,直至完成所有所述校验节点校验置信度的更新,得到译码判决结果,通过对所述目标校验节点进行校验节点到校验节点的信息更新,完成对所述目标校验节点校验置信度的更新。The verification confidence of the check nodes is updated in sequence as the target check nodes until the update of the verification confidence of all the check nodes is completed, and the decoding judgment result is obtained. The update of the verification confidence of the target check node is completed by updating the information from the check node to the check node of the target check node.
- 如权利要求3所述的方法,其中,所述对所述目标校验节点进行校验节点到校验节点的信息更新,包括:The method of claim 3, wherein the updating of information from check node to check node on the target check node comprises:依次将与所述目标校验节点连接的变量节点作为目标变量节点;sequentially taking variable nodes connected to the target check node as target variable nodes;获取与所述目标变量节点连接的除所述目标校验节点之外的最近更新的校验节点作为第一校验节点,计算所述第一校验节点到所述目标校验节点的置信度,得到所述目标变量节点的译码判决值;Acquire a most recently updated check node other than the target check node connected to the target variable node as a first check node, calculate the confidence from the first check node to the target check node, and obtain a decoding decision value of the target variable node;递归计算目标校验节点的更新校验置信度,直至完成所有通过所述变量节点传递的信息的置信度更新。The updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
- 如权利要求4所述的方法,其中,所述计算所述第一校验节点到所述目标校验节点的置信度,得到所述目标变量节点的译码判决值,包括:The method of claim 4, wherein the calculating the confidence from the first check node to the target check node to obtain the decoding decision value of the target variable node comprises:根据所述第一校验节点的校验置信度和所述目标变量节点的外信息,得到所述第一校验节点到所述目标变量节点的更新信息;Obtaining update information from the first check node to the target variable node according to the check confidence of the first check node and the external information of the target variable node;根据所述目标变量节点的外信息、所述第一校验节点到所述目标变量节点的更新信息,和所述目标校验节点到所述目标变量节点的信息,计算得到所述目标变量节点的更新外信息;Calculate updated external information of the target variable node according to the external information of the target variable node, the updated information from the first check node to the target variable node, and the information from the target check node to the target variable node;根据所述更新信息和所述目标变量节点的外信息,计算得到所述目标变量节点的更新后验信息;Calculate updated posterior information of the target variable node according to the updated information and the external information of the target variable node;根据所述目标变量节点的更新后验信息进行译码判决,若所述目标变量节点的更新后验信息大于等于0,则所述目标变量节点的译码判决值为0,否则,所述目标变量节点的译码判决值为1。A decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
- 如权利要求5所述的方法,其中,所述递归计算目标校验节点的更新校验置信度,包括:The method of claim 5, wherein the recursive calculation of the updated verification confidence of the target verification node comprises:将所述目标校验节点的校验置信度和所述目标变量节点的更新外信息进行积运算,得到所述目标变量节点外信息到所述目标校验节点的更新信息,作为所述目标校验节点的更新校验置信度。The verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information of the target variable node external information to the target verification node as the updated verification confidence of the target verification node.
- 如权利要求5所述的方法,其中,所述译码判决结果包括所述目标变量节点的译码判决值,所述根据所述译码判决结果进行校验验证,包括:The method of claim 5, wherein the decoding decision result includes a decoding decision value of the target variable node, and the verification based on the decoding decision result includes:若所述译码判决结果满足校验方程,则校验验证通过;If the decoding judgment result satisfies the verification equation, the verification is passed;若所述译码判决结果不满足校验方程,则校验验证未通过;If the decoding judgment result does not satisfy the verification equation, the verification fails;其中,所述校验方程表示为:Wherein, the verification equation is expressed as:
- 如权利要求1所述的方法,其中,在所述根据所述译码判决结果进行校验验证之后,还包括:The method according to claim 1, wherein after the verification is performed according to the decoding decision result, the method further comprises:若所述校验验证未通过且所述迭代次数达到预设迭代次数,停止译码,输出译码失败。If the verification fails and the number of iterations reaches a preset number of iterations, decoding is stopped and a decoding failure is output.
- 一种基于校验置信度的LDPC译码装置,其中,包括:An LDPC decoding device based on verification confidence, comprising:初始化模块,用于获取LDPC码的校验节点和变量节点,对所述校验节点和变量节点进行初始化,并将迭代次数初始化为0;An initialization module, used for obtaining a check node and a variable node of an LDPC code, initializing the check node and the variable node, and initializing the number of iterations to 0;迭代译码模块,用于对所述LDPC码进行校验置信度迭代译码,得到译码判决结果,并将迭代次数增加一次;An iterative decoding module, used for performing iterative decoding of the LDPC code to verify the confidence, obtain a decoding decision result, and increase the number of iterations by one;校验验证模块,用于根据所述译码判决结果进行校验验证;A verification module, used for performing verification according to the decoding judgment result;输出模块,用于若所述校验验证通过,结束译码,将所述译码判决结果作为译码结果输出,若所述校验验证未通过且所述迭代次数未达到所述预设迭代次数,重复调用迭代译码模块、校验验证模块,直到所述校验验证通过。The output module is used to end the decoding if the verification is passed and output the decoding judgment result as the decoding result; if the verification is not passed and the number of iterations does not reach the preset number of iterations, repeatedly call the iterative decoding module and the verification module until the verification is passed.
- 如权利要求9所述的装置,其中,所述初始化模块用于:The apparatus according to claim 9, wherein the initialization module is used to:将所述校验节点的校验置信度初始化为无穷;Initializing the verification confidence of the verification node to infinity;将所述变量节点的外信息初始化为信道输入软信息;Initializing the external information of the variable node as channel input soft information;将所述校验节点到所述变量节点的信息初始化为0。Initialize the information from the check node to the variable node to 0.
- 如权利要求10所述的装置,其中,所述迭代译码模块用于:The apparatus of claim 10, wherein the iterative decoding module is configured to:依次将所述校验节点作为目标校验节点进行校验置信度更新,直至完成所有所述校验节点校验置信度的更新,得到译码判决结果,通过对所述目标校验节点进行校验节点到校验节点的信息更新,完成对所述目标校验节点校验置信度的更新。The verification confidence of the check nodes is updated in sequence as the target check nodes until the update of the verification confidence of all the check nodes is completed, and the decoding judgment result is obtained. The update of the verification confidence of the target check node is completed by updating the information from the check node to the check node of the target check node.
- 如权利要求11所述的装置,其中,所述迭代译码模块用于:The apparatus of claim 11, wherein the iterative decoding module is configured to:依次将与所述目标校验节点连接的变量节点作为目标变量节点;sequentially taking variable nodes connected to the target check node as target variable nodes;获取与所述目标变量节点连接的除所述目标校验节点之外的最近更新的校验节点作为第一校验节点,计算所述第一校验节点到所述目标校验节点的置信度,得到所述目标变量节点的译码判决值;Acquire a most recently updated check node other than the target check node connected to the target variable node as a first check node, calculate the confidence from the first check node to the target check node, and obtain a decoding decision value of the target variable node;递归计算目标校验节点的更新校验置信度,直至完成所有通过所述变量节点传递的信息的置信度更新。The updated verification confidence of the target verification node is recursively calculated until the confidence update of all information transmitted through the variable nodes is completed.
- 如权利要求12所述的装置,其中,所述迭代译码模块用于:The apparatus of claim 12, wherein the iterative decoding module is configured to:根据所述第一校验节点的校验置信度和所述目标变量节点的外信息,得到所述第一校验节点到所述目标变量节点的更新信息;Obtaining update information from the first check node to the target variable node according to the check confidence of the first check node and the external information of the target variable node;根据所述目标变量节点的外信息、所述第一校验节点到所述目标变量节点的更新信息,和所述目标校验节点到所述目标变量节点的信息,计算得到所述目标变量节点的更新外信 息;Calculating updated external information of the target variable node according to the external information of the target variable node, the updated information from the first check node to the target variable node, and the information from the target check node to the target variable node;根据所述更新信息和所述目标变量节点的外信息,计算得到所述目标变量节点的更新后验信息;Calculate updated posterior information of the target variable node according to the updated information and the external information of the target variable node;根据所述目标变量节点的更新后验信息进行译码判决,若所述目标变量节点的更新后验信息大于等于0,则所述目标变量节点的译码判决值为0,否则,所述目标变量节点的译码判决值为1。A decoding decision is made according to the updated a posteriori information of the target variable node. If the updated a posteriori information of the target variable node is greater than or equal to 0, the decoding decision value of the target variable node is 0; otherwise, the decoding decision value of the target variable node is 1.
- 如权利要求13所述的装置,其中,所述迭代译码模块用于:The apparatus of claim 13, wherein the iterative decoding module is configured to:将所述目标校验节点的校验置信度和所述目标变量节点的更新外信息进行积运算,得到所述目标变量节点外信息到所述目标校验节点的更新信息,作为所述目标校验节点的更新校验置信度。The verification confidence of the target verification node and the updated external information of the target variable node are multiplied to obtain the updated information of the target variable node external information to the target verification node as the updated verification confidence of the target verification node.
- 如权利要求13所述的装置,其中,所述译码判决结果包括所述目标变量节点的译码判决值,所述校验验证模块用于:The apparatus of claim 13, wherein the decoding decision result comprises a decoding decision value of the target variable node, and the verification module is used to:若所述译码判决结果满足校验方程,则校验验证通过;If the decoding judgment result satisfies the verification equation, the verification is passed;若所述译码判决结果不满足校验方程,则校验验证未通过;If the decoding judgment result does not satisfy the verification equation, the verification fails;其中,所述校验方程表示为:Wherein, the verification equation is expressed as:
- 如权利要求9所述的装置,其中,所述输出模块用于:The apparatus of claim 9, wherein the output module is used to:若所述校验验证未通过且所述迭代次数达到预设迭代次数,停止译码,输出译码失败。If the verification fails and the number of iterations reaches a preset number of iterations, decoding is stopped and a decoding failure is output.
- 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1至8中任一项所述的方法。An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
- 一种非临时性计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时,实现如权利要求1至8中任一所述的方法。A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
- 一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现如权利要求1至8中任一项所述的方法。A computer program product comprises a computer program or instructions, wherein when the computer program or instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211182509.3 | 2022-09-27 | ||
CN202211182509.3A CN115603761A (en) | 2022-09-27 | 2022-09-27 | LDPC decoding method and device based on check confidence |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024065978A1 true WO2024065978A1 (en) | 2024-04-04 |
Family
ID=84845734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/131682 WO2024065978A1 (en) | 2022-09-27 | 2022-11-14 | Check confidence-based ldpc decoding method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115603761A (en) |
WO (1) | WO2024065978A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102545913A (en) * | 2012-02-07 | 2012-07-04 | 中兴通讯股份有限公司 | Iterative decoding method and iterative decoding system |
CN109302267A (en) * | 2018-09-26 | 2019-02-01 | 西安科技大学 | Interpretation method, equipment and the storage medium of mimo system based on LDPC |
CN111245444A (en) * | 2020-03-20 | 2020-06-05 | 清华大学 | Normalized minimum sum LDPC decoding method and decoder |
CN112953553A (en) * | 2021-01-27 | 2021-06-11 | 武汉梦芯科技有限公司 | Improved multi-system LDPC decoding method, device and medium in GNSS system |
CN112953554A (en) * | 2021-01-27 | 2021-06-11 | 武汉梦芯科技有限公司 | LDPC decoding method, system and medium based on layered confidence propagation |
WO2022062406A1 (en) * | 2020-09-24 | 2022-03-31 | 浙江三维通信科技有限公司 | Packet error correction code decoding method, apparatus, storage medium, and electronic device |
-
2022
- 2022-09-27 CN CN202211182509.3A patent/CN115603761A/en active Pending
- 2022-11-14 WO PCT/CN2022/131682 patent/WO2024065978A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102545913A (en) * | 2012-02-07 | 2012-07-04 | 中兴通讯股份有限公司 | Iterative decoding method and iterative decoding system |
CN109302267A (en) * | 2018-09-26 | 2019-02-01 | 西安科技大学 | Interpretation method, equipment and the storage medium of mimo system based on LDPC |
CN111245444A (en) * | 2020-03-20 | 2020-06-05 | 清华大学 | Normalized minimum sum LDPC decoding method and decoder |
WO2022062406A1 (en) * | 2020-09-24 | 2022-03-31 | 浙江三维通信科技有限公司 | Packet error correction code decoding method, apparatus, storage medium, and electronic device |
CN112953553A (en) * | 2021-01-27 | 2021-06-11 | 武汉梦芯科技有限公司 | Improved multi-system LDPC decoding method, device and medium in GNSS system |
CN112953554A (en) * | 2021-01-27 | 2021-06-11 | 武汉梦芯科技有限公司 | LDPC decoding method, system and medium based on layered confidence propagation |
Also Published As
Publication number | Publication date |
---|---|
CN115603761A (en) | 2023-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10567010B2 (en) | Flexible polar encoders and decoders | |
KR100703271B1 (en) | Decoding Method and Apparatus of Low Density Parity Code Using Unified processing | |
KR100846869B1 (en) | Apparatus for Decoding LDPC with Low Computational Complexity Algorithms and Method Thereof | |
TWI699977B (en) | Method employed in ldpc decoder and the decoder | |
US6448910B1 (en) | Method and apparatus for convolution encoding and viterbi decoding of data that utilize a configurable processor to configure a plurality of re-configurable processing elements | |
KR100804793B1 (en) | Method for updating Check Node in Low Density Parity Check Decoder | |
US7571375B2 (en) | Methods for message passing decoding using simultaneous memory accesses | |
JP5483875B2 (en) | Method and apparatus for LDPC code block and rate independent decoding | |
CN102835032B (en) | For the non-integral multiple quasi-cyclic LDPC Code And Decode of cyclic determinant size | |
US20060005105A1 (en) | Decoder and decoding method for decoding low-density parity-check codes with parity check matrix | |
JP2006121686A (en) | Method and device for effectively decoding low density parity check code | |
WO2018045788A1 (en) | Partial sum computation for polar code decoding | |
US9195536B2 (en) | Error correction decoder and error correction decoding method | |
JP2002353946A (en) | Method for evaluating error-correcting code for data block of finite size | |
US20200044668A1 (en) | Method for ldpc decoding, ldpc decoder and storage device | |
WO2017113507A1 (en) | Set decoding method and set decoder | |
US20200091933A1 (en) | Iterative decoding with early termination criterion that permits errors in redundancy part | |
Hatami et al. | A threshold-based min-sum algorithm to lower the error floors of quantized LDPC decoders | |
CN115642918A (en) | Encoding optimization method, device and equipment of double-prototype-graph LDPC code and storage medium | |
WO2024065978A1 (en) | Check confidence-based ldpc decoding method and apparatus | |
KR20140099820A (en) | Ldpc decoder with a variable node updater which uses a scaling constant | |
JP5148586B2 (en) | Decoding device and decoding method | |
CN107872231B (en) | LDPC decoding method and device | |
Hashemipour-Nazari et al. | Pipelined Architecture for Soft-Decision Iterative Projection Aggregation Decoding for RM Codes | |
CN111740747B (en) | Construction method of low-rank cyclic matrix and associated multi-element LDPC code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22960575 Country of ref document: EP Kind code of ref document: A1 |