[go: up one dir, main page]

CN114598330A - Quasi-cyclic low-density parity-check code decoding method, system, device and equipment - Google Patents

Quasi-cyclic low-density parity-check code decoding method, system, device and equipment Download PDF

Info

Publication number
CN114598330A
CN114598330A CN202210311331.1A CN202210311331A CN114598330A CN 114598330 A CN114598330 A CN 114598330A CN 202210311331 A CN202210311331 A CN 202210311331A CN 114598330 A CN114598330 A CN 114598330A
Authority
CN
China
Prior art keywords
value
current
decoding
signal
symptom
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210311331.1A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Dai Microelectronics Co ltd
Original Assignee
Shandong Dai Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Dai Microelectronics Co ltd filed Critical Shandong Dai Microelectronics Co ltd
Priority to CN202210311331.1A priority Critical patent/CN114598330A/en
Publication of CN114598330A publication Critical patent/CN114598330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, 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/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error 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/11Error 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
    • H03M13/1102Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
    • H03M13/1105Decoding
    • H03M13/1108Hard decision decoding, e.g. bit flipping, modified or weighted bit flipping
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, 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/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error 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/11Error 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
    • H03M13/1102Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
    • H03M13/1148Structural properties of the code parity-check or generator matrix
    • H03M13/116Quasi-cyclic LDPC [QC-LDPC] codes, i.e. the parity-check matrix being composed of permutation or circulant sub-matrices

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)

Abstract

本申请公开了一种准循环低密度奇偶校验码译码方法、系统、设备及装置,获取待译码的目标码字;获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转;获取目标码字在当前译码递回数时已计算得到的症状值;获取目标码字的行权重值;基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号;基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。本申请可以快速确定当前翻转讯号,进而可以快速基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,可以提高准循环低密度奇偶校验码的译码效率。

Figure 202210311331

The present application discloses a quasi-cyclic low-density parity-check code decoding method, system, equipment and device, which are used to obtain a target code word to be decoded; Whether to perform bit inversion on the previous recursion number representing the current decoding recursion number; obtain the symptom value that has been calculated for the target codeword at the current decoding recursion number; obtain the row weight value of the target codeword; based on the current decoding recursion The number of times, the previous inversion signal, the symptom value and the row weight value determine the current inversion signal; based on the current inversion signal and the symptom value, the current decoding result of the target codeword at the current decoding recursion is determined, so as to determine the target based on the current decoding result The target decoding result of the codeword. The present application can quickly determine the current inversion signal, and then can quickly determine the current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, and can improve the decoding efficiency of the quasi-cyclic low-density parity check code .

Figure 202210311331

Description

准循环低密度奇偶校验码译码方法、系统、装置及设备Quasi-Cyclic Low Density Parity Check Code Decoding Method, System, Apparatus and Equipment

技术领域technical field

本申请涉及译码技术领域,更具体地说,涉及准循环低密度奇偶校验码译码方法、系统、装置及设备。The present application relates to the technical field of decoding, and more particularly, to a quasi-cyclic low-density parity-check code decoding method, system, apparatus, and device.

背景技术Background technique

当前,在准循环低密度奇偶校验码译码过程中,每次均需计算出码字中每个位元的症状值后,才能由该症状值确定每个位元的翻转情况,即确定是否进行翻转操作,使得准循环低密度奇偶校验码译码方法的译码效率较低。At present, in the decoding process of quasi-cyclic low-density parity check code, the symptom value of each bit in the codeword needs to be calculated each time, and then the inversion of each bit can be determined from the symptom value, that is, to determine Whether to perform the flip operation makes the decoding efficiency of the quasi-cyclic low-density parity-check code decoding method low.

综上所述,如何提高准循环低密度奇偶校验码译码方法的译码效率是目前本领域技术人员亟待解决的问题。To sum up, how to improve the decoding efficiency of the quasi-cyclic low-density parity-check code decoding method is an urgent problem to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本申请的目的是提供一种准循环低密度奇偶校验码译码方法,其能在一定程度上解决如何提高准循环低密度奇偶校验码译码方法的译码效率的技术问题。本申请还提供了一种准循环低密度奇偶校验码译码系统、装置、设备。The purpose of the present application is to provide a quasi-cyclic low-density parity-check code decoding method, which can solve the technical problem of how to improve the decoding efficiency of the quasi-cyclic low-density parity-check code decoding method to a certain extent. The present application also provides a quasi-cyclic low-density parity-check code decoding system, device, and device.

为了实现上述目的,本申请提供如下技术方案:In order to achieve the above purpose, the application provides the following technical solutions:

一种准循环低密度奇偶校验码译码方法,包括:A quasi-cyclic low-density parity-check code decoding method, comprising:

获取待译码的目标码字;Obtain the target codeword to be decoded;

获取当前译码递回数及前次翻转讯号,所述前次翻转讯号用于表征所述当前译码递回数的前次递回数是否进行位元翻转;obtaining the current decoding recursion number and the previous inversion signal, the previous inversion signal is used to represent whether the previous recursive number of the current decoding recursion number is bit inverted;

获取所述目标码字在所述当前译码递回数时已计算得到的症状值;Obtain the symptom value that has been calculated for the target codeword at the current decoding recursion number;

获取所述目标码字的行权重值;Obtain the row weight value of the target codeword;

基于所述当前译码递回数、所述前次翻转讯号、所述症状值及所述行权重值确定当前翻转讯号;determining a current toggle signal based on the current decoding recursion number, the previous toggle signal, the symptom value, and the row weight value;

基于所述当前翻转信号及所述症状值确定所述目标码字在所述当前译码递回数时的当前译码结果,以基于所述当前译码结果确定所述目标码字的目标译码结果。A current decoding result of the target codeword at the current decoding recursion number is determined based on the current inversion signal and the symptom value, so as to determine a target decoding of the target codeword based on the current decoding result result.

优选的,所述基于所述当前译码递回数、所述前次翻转讯号、所述症状值及所述行权重值确定当前翻转讯号,包括:Preferably, the determining of the current inversion signal based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value includes:

基于所述当前译码递回数及所述前次翻转讯号确定所述当前译码递回数对应的翻转阈值;determining a rollover threshold corresponding to the current decoding rollover number based on the current decoding rollover number and the previous rollover signal;

基于所述症状值及所述行权重值确定所述当前译码递回数对应的翻转函数值;determining a flip function value corresponding to the current decoding recursion number based on the symptom value and the row weight value;

若所述翻转阈值大于所述翻转函数值,则确定所述当前翻转讯号表征不进行位元翻转;If the inversion threshold is greater than the inversion function value, determining that the current inversion signal indicates that no bit inversion is performed;

若所述翻转阈值小于等于所述翻转函数值,则确定所述当前翻转讯号表征进行位元翻转。If the inversion threshold is less than or equal to the inversion function value, it is determined that the current inversion signal represents a bit inversion.

优选的,所述基于所述当前译码递回数及所述前次翻转讯号确定所述当前译码递回数对应的翻转阈值,包括:Preferably, the determining of the inversion threshold corresponding to the current decoding recursion number based on the current decoding recursion number and the previous inversion signal includes:

若所述当前译码递回数的值为1,则确定所述翻转阈值为第一预设值;If the value of the current decoding recursion number is 1, it is determined that the rollover threshold is a first preset value;

若所述当前译码递回数的值为2,则确定所述翻转阈值为第二预设值;If the value of the current decoding recursion number is 2, then determining that the rollover threshold is a second preset value;

若所述当前译码递回数的值大于等于2,且所述前次翻转讯号表征进行了位元翻转,则确定所述翻转阈值为1;If the value of the current decoding recursion number is greater than or equal to 2, and the previous inversion signal indicates that a bit inversion has been performed, then determine that the inversion threshold is 1;

若所述当前译码递回数的值大于等于2,且所述前次翻转讯号表征未进行位元翻转,则确定所述翻转阈值为0。If the value of the current decoding recursion number is greater than or equal to 2, and the previous inversion signal indicates that bit inversion has not been performed, the inversion threshold is determined to be 0.

优选的,所述基于所述症状值及所述行权重值确定所述当前译码递回数对应的翻转函数值,包括:Preferably, the determining a flip function value corresponding to the current decoding recursion number based on the symptom value and the row weight value includes:

基于所述症状值、所述行权重值及所述翻转函数值间的已有对应关系,确定所述翻转函数值。The inversion function value is determined based on an existing correspondence between the symptom value, the row weight value, and the inversion function value.

优选的,所述基于所述症状值及所述行权重值确定所述当前译码递回数对应的翻转函数值,包括:Preferably, the determining a flip function value corresponding to the current decoding recursion number based on the symptom value and the row weight value includes:

通过翻转函数值运算公式,基于所述症状值、所述行权重值确定所述翻转函数值;Determine the inversion function value based on the symptom value and the row weight value by using an operation formula of the inversion function value;

所述翻转函数值运算公式包括:The calculation formula of the inversion function value includes:

Figure BDA0003568452210000021
Figure BDA0003568452210000021

其中,n表示所述目标码字中的第n个位元;En表示所述目标码字中第n个位元的所述翻转函数值;M(n)表示所述目标码字对应的奇偶校验矩阵中第n中1所在位置;Sk表示k对应的所述症状值;colwt(n)表示所述行权重值。Wherein, n represents the nth bit in the target codeword; E n represents the inversion function value of the nth bit in the target codeword; M(n) represents the corresponding value of the target codeword The position of 1 in the nth parity check matrix; Sk represents the symptom value corresponding to k; col wt(n) represents the row weight value.

一种准循环低密度奇偶校验码译码系统,包括:A quasi-cyclic low-density parity-check code decoding system, comprising:

第一获取模块,用于获取待译码的目标码字;The first acquisition module is used to acquire the target codeword to be decoded;

第二获取模块,用于获取当前译码递回数及前次翻转讯号,所述前次翻转讯号用于表征所述当前译码递回数的前次递回数是否进行位元翻转;The second acquisition module is used for acquiring the current decoding recursion number and the previous inversion signal, and the previous inversion signal is used to represent whether the previous recursion number of the current decoding recursion number is bit inverted;

第三获取模块,用于获取所述目标码字在所述当前译码递回数时已计算得到的症状值;A third acquisition module, configured to acquire the symptom value of the target codeword when the current decoding recursion number has been calculated;

第四获取模块,用于获取所述目标码字的行权重值;the fourth acquisition module, for acquiring the row weight value of the target codeword;

第一确定模块,用于基于所述当前译码递回数、所述前次翻转讯号、所述症状值及所述行权重值确定当前翻转讯号;a first determining module, configured to determine a current inversion signal based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value;

第二确定模块,用于基于所述当前翻转信号及所述症状值确定所述目标码字在所述当前译码递回数时的当前译码结果,以基于所述当前译码结果确定所述目标码字的目标译码结果。a second determining module, configured to determine a current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, so as to determine the current decoding result based on the current decoding result The target decoding result of the target codeword.

一种准循环低密度奇偶校验码译码设备,包括:A quasi-cyclic low-density parity-check code decoding device, comprising:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现如上任一所述准循环低密度奇偶校验码译码方法的步骤。The processor is configured to implement the steps of any of the above-mentioned quasi-cyclic low-density parity-check code decoding methods when executing the computer program.

一种准循环低密度奇偶校验码译码装置,包括:A quasi-cyclic low-density parity-check code decoding device, comprising:

输入暂存器,用于获取待译码的目标码字;The input temporary register is used to obtain the target codeword to be decoded;

选取多工器,用于获取当前译码递回数;Select the multiplexer to obtain the current decoding recursion number;

位元翻转及症状值更新器,用于获取前次翻转讯号,所述前次翻转讯号用于表征所述当前译码递回数的前次递回数是否进行位元翻转;获取所述目标码字在所述当前译码递回数时已计算得到的症状值;获取所述目标码字的行权重值;基于所述当前译码递回数、所述前次翻转讯号、所述症状值及所述行权重值确定当前翻转讯号;基于所述当前翻转信号及所述症状值确定所述目标码字在所述当前译码递回数时的当前译码结果,以基于所述当前译码结果确定所述目标码字的目标译码结果。A bit inversion and symptom value updater is used to obtain the previous inversion signal, and the previous inversion signal is used to represent whether the previous recursion of the current decoding recursion is bit inverted; to obtain the target codeword The symptom value that has been calculated at the current decoding recursion number; obtains the row weight value of the target codeword; based on the current decoding recursion number, the previous inversion signal, the symptom value and the The row weight value determines the current inversion signal; the current decoding result of the target codeword at the current decoding recursion is determined based on the current inversion signal and the symptom value, so as to determine the current decoding result based on the current decoding result. Describe the target decoding result of the target codeword.

优选的,所述位元翻转及症状值更新器包括:Preferably, the bit flip and symptom value updater includes:

翻转阈值选取器,用于基于所述当前译码递回数及所述前次翻转讯号确定所述当前译码递回数对应的翻转阈值;a rollover threshold selector, configured to determine a rollover threshold corresponding to the current number of decoding iterations based on the current number of decoding iterations and the previous rollover signal;

翻转函数值确定器,用于基于所述症状值及所述行权重值确定所述当前译码递回数对应的翻转函数值;a flip function value determiner, configured to determine a flip function value corresponding to the current decoding recursion number based on the symptom value and the row weight value;

位元翻转确定器,用于若所述翻转阈值大于所述翻转函数值,则确定所述当前翻转讯号表征不进行位元翻转;若所述翻转阈值小于等于所述翻转函数值,则确定所述当前翻转讯号表征进行位元翻转;A bit inversion determiner, configured to determine that the current inversion signal represents no bit inversion if the inversion threshold is greater than the inversion function value; if the inversion threshold is less than or equal to the inversion function value, determine the The current inversion signal indicates that bit inversion is performed;

位元翻转及症状值运算器,用于基于所述当前翻转信号及所述症状值确定所述目标码字在所述当前译码递回数时的当前译码结果,以基于所述当前译码结果确定所述目标码字的目标译码结果。a bit flip and symptom value operator for determining a current decoding result of the target codeword at the current decoding recursion number based on the current flip signal and the symptom value, so as to based on the current decoding The result determines the target decoding result of the target codeword.

优选的,所述位元翻转及症状值运算器包括:Preferably, the bit flip and symptom value calculator includes:

第一移位器,用于对所述症状值中的目标症状值进行移位,得到移位的症状值;a first shifter, configured to shift the target symptom value in the symptom value to obtain the shifted symptom value;

第一互斥或运算器,用于对所述移位的症状值及所述当前翻转信号进行互斥或运算,得到移位的更新的症状值;a first mutually exclusive OR operator, configured to perform a mutually exclusive OR operation on the shifted symptom value and the current flip signal to obtain the shifted updated symptom value;

第二移位器,用于对所述移位的更新的症状值进行移位,得到更新的症状值;a second shifter, configured to shift the shifted updated symptom value to obtain the updated symptom value;

第二互斥或运算器,用于对所述当前译码递回数对应的码字信息及所述当前翻转信号进行互斥或运算,得到所述当前译码递回数对应的翻转码字。The second mutually exclusive OR operator is configured to perform a mutually exclusive OR operation on the codeword information corresponding to the current decoding recursion number and the current inversion signal to obtain the inverted codeword corresponding to the current decoding recursion number.

本申请提供的一种准循环低密度奇偶校验码译码方法,获取待译码的目标码字;获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转;获取目标码字在当前译码递回数时已计算得到的症状值;获取目标码字的行权重值;基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号;基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。本申请中,可以基于当前译码递回数、前次翻转讯号、症状值及行权重值快速确定当前翻转讯号,进而可以快速基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,可以提高准循环低密度奇偶校验码的译码效率。本申请提供的一种准循环低密度奇偶校验码译码系统、装置及设备也解决了相应技术问题。A quasi-cyclic low-density parity-check code decoding method provided by the present application is to obtain the target codeword to be decoded; obtain the current decoding recursion number and the previous inversion signal, and the previous inversion signal is used to represent the current decoding process. Whether the previous recursion number of the round number is bit flipped; get the symptom value that has been calculated for the target codeword at the current decoding recursion number; get the row weight value of the target codeword; based on the current decoding recursion number, the previous flip signal , the symptom value and the row weight value determine the current inversion signal; determine the current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, so as to determine the target decoding of the target codeword based on the current decoding result result. In the present application, the current inversion signal can be quickly determined based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value, and then the target codeword can be quickly determined based on the current inverted signal and the symptom value when the current decoding recursion number is present. The current decoding result can improve the decoding efficiency of the quasi-cyclic low-density parity check code. The quasi-cyclic low-density parity-check code decoding system, device and device provided by the present application also solve the corresponding technical problems.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.

图1为本申请实施例提供的一种准循环低密度奇偶校验码译码方法的流程图;1 is a flowchart of a method for decoding a quasi-cyclic low-density parity-check code provided by an embodiment of the present application;

图2为本申请实施例提供的一种准循环低密度奇偶校验码译码系统的结构示意图;2 is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding system provided by an embodiment of the present application;

图3为本申请实施例提供的一种准循环低密度奇偶校验码译码装置的结构示意图;3 is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding apparatus provided by an embodiment of the present application;

图4为本申请实施例提供的一种准循环低密度奇偶校验码译码装置的另一结构示意图;4 is another schematic structural diagram of a quasi-cyclic low-density parity-check code decoding apparatus provided by an embodiment of the present application;

图5为本申请实施例提供的一种准循环低密度奇偶校验码译码设备的结构示意图;5 is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding device provided by an embodiment of the present application;

图6为本申请实施例提供的一种准循环低密度奇偶校验码译码设备的另一结构示意图。FIG. 6 is another schematic structural diagram of a quasi-cyclic low-density parity-check code decoding device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

为了便于理解本申请,先对准循环低密度奇偶校验码的快速译码法中的相应信息进行描述。(N,K)准循环低密度奇偶校验码是一种线性码,N为码字的长度,K为传输信息长度。藉由一个奇偶校验矩阵(Parity Check Matrix)H定义一个LDPC码。H的维度为M×N。接收到的码字(Received Word)R有长度N,R=[r0,r1,r2,...,rN-1]。定义翻转矢量(FlippedVector)

Figure BDA0003568452210000051
症状值(Syndrome)由算式
Figure BDA0003568452210000052
获得,RT代表待译码的码字R的转置矩阵(Transpose Matrix),且
Figure BDA0003568452210000053
的维度为M×1。In order to facilitate the understanding of the present application, the corresponding information in the fast decoding method of the aligned cyclic low density parity check code is described first. The (N, K) quasi-cyclic low-density parity-check code is a linear code, where N is the length of the codeword, and K is the length of the transmitted information. An LDPC code is defined by a Parity Check Matrix H. The dimension of H is M×N. The received code word (Received Word) R has length N, R=[r 0 , r 1 , r 2 , . . . , r N-1 ]. Define the flipped vector (FlippedVector)
Figure BDA0003568452210000051
The symptom value (Syndrome) is calculated by the formula
Figure BDA0003568452210000052
Obtain, R T represents the transpose matrix (Transpose Matrix) of the codeword R to be decoded, and
Figure BDA0003568452210000053
The dimension of is M×1.

请参阅图1,图1为本申请实施例提供的一种准循环低密度奇偶校验码译码方法的流程图。Please refer to FIG. 1. FIG. 1 is a flowchart of a method for decoding a quasi-cyclic low-density parity check code according to an embodiment of the present application.

本申请实施例提供的一种准循环低密度奇偶校验码译码方法,可以包括以下步骤:A quasi-cyclic low-density parity-check code decoding method provided by an embodiment of the present application may include the following steps:

步骤S101:获取待译码的目标码字。Step S101: Obtain a target codeword to be decoded.

实际应用中,可以先获取待译码的目标码字,目标码字的类型及内容等可以根据实际需要确定,本申请在此不做具体限定。In practical applications, the target codeword to be decoded may be obtained first, and the type and content of the target codeword may be determined according to actual needs, which is not specifically limited in this application.

步骤S102:获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转。Step S102 : Obtain the current decoding recursion number and the previous inversion signal. The previous inversion signal is used to represent whether the previous recursion number of the current decoding recursion is bit inverted.

实际应用中,在获取待译码的目标码字之后,便可以获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转,以便后续基于当前译码递回数及前次翻转讯号确定当前译码递回数的当前翻转讯号。In practical applications, after obtaining the target codeword to be decoded, the current decoding recursion number and the previous inversion signal can be obtained. Inversion, so that the current inversion signal of the current decoding recursion number is subsequently determined based on the current decoding recursion number and the previous inversion signal.

步骤S103:获取目标码字在当前译码递回数时已计算得到的症状值。Step S103: Acquire the symptom value of the target codeword that has been calculated at the current decoding recursion number.

步骤S104:获取目标码字的行权重值。Step S104: Obtain the row weight value of the target codeword.

实际应用中,在获取当前译码递回数及前次翻转讯号之后,还需获取目标码字在当前译码递回数时已计算得到的症状值,获取目标码字的行权重值。In practical applications, after obtaining the current decoding recursion number and the previous inversion signal, it is also necessary to obtain the symptom value calculated by the target codeword at the current decoding recursion number, and obtain the row weight value of the target codeword.

需要说明的是,目标码字在当前译码递回数时已计算得到的症状值为当前译码递回数对应的译码过程开始时已得到的症状值,其可以根据具体计算过程来确定,且行权重值可以根据实际需要来确定,本申请在此不做具体限定。It should be noted that the symptom value obtained by the target codeword at the current decoding recursion number is the symptom value obtained at the beginning of the decoding process corresponding to the current decoding recursion number, which can be determined according to the specific calculation process, and the line The weight value can be determined according to actual needs, which is not specifically limited in this application.

步骤S105:基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号。Step S105: Determine the current inversion signal based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value.

实际应用中,在获取当前译码递回数、前次翻转讯号、症状值及行权重值之后,便可以基于当前译码递回数、前次翻转讯号、症状值及行权重值来快速确定当前翻转讯号。In practical applications, after obtaining the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value, the current inversion can be quickly determined based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value. signal.

具体应用场景中,在基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号的过程中,可以基于当前译码递回数及前次翻转讯号确定当前译码递回数对应的翻转阈值;基于症状值及行权重值确定当前译码递回数对应的翻转函数值;若翻转阈值大于翻转函数值,则确定当前翻转讯号表征不进行位元翻转;若翻转阈值小于等于翻转函数值,则确定当前翻转讯号表征进行位元翻转。In a specific application scenario, in the process of determining the current inversion signal based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value, the current decoding recurrence number can be determined based on the current decoding recurrence number and the previous inversion signal Corresponding flip threshold; determine the flip function value corresponding to the current decoding recursion based on the symptom value and the row weight value; if the flip threshold is greater than the flip function value, it is determined that the current flip signal characterizes no bit flip; if the flip threshold is less than or equal to flip If the function value is set, it is determined that the current flip signal characterizes the bit flip.

具体应用场景中,在基于当前译码递回数及前次翻转讯号确定当前译码递回数对应的翻转阈值的过程中,若当前译码递回数的值为1,则可以确定翻转阈值为第一预设值;若当前译码递回数的值为2,则确定翻转阈值为第二预设值;若当前译码递回数的值大于等于2,且前次翻转讯号表征进行了位元翻转,则确定翻转阈值为1;若当前译码递回数的值大于等于2,且前次翻转讯号表征未进行位元翻转,则确定翻转阈值为0。In a specific application scenario, in the process of determining the inversion threshold corresponding to the current decoding recursion number based on the current decoding recursion number and the previous inversion signal, if the value of the current decoding recursion number is 1, it can be determined that the inversion threshold is the first Default value; if the value of the current decoding recursion number is 2, the flip threshold is determined to be the second default value; if the current decoding recursion number is greater than or equal to 2, and the previous flip signal indicates that the bit flip has been performed, The flip threshold is determined to be 1; if the value of the current decoding recursion number is greater than or equal to 2, and the previous flip signal indicates that no bit flip has been performed, the flip threshold is determined to be 0.

需要说明的是,第一预设值及第二预设值的具体值可以根据实际需要确定,比如可以根据行权重值来确定,比如在行权重值为3或4的情况下,可以设定第一预设值为4,第二预设值为1等,本申请在此不做具体限定。It should be noted that the specific values of the first preset value and the second preset value can be determined according to actual needs, for example, can be determined according to the row weight value, for example, when the row weight value is 3 or 4, it can be set. The first preset value is 4, the second preset value is 1, etc., which are not specifically limited in this application.

具体应用场景中,在基于症状值及行权重值确定当前译码递回数对应的翻转函数值的过程中,可以基于症状值、行权重值及翻转函数值间的已有对应关系,确定翻转函数值。In a specific application scenario, in the process of determining the inversion function value corresponding to the current decoding recursion number based on the symptom value and the row weight value, the inversion function can be determined based on the existing correspondence between the symptom value, the row weight value and the inversion function value. value.

为便于理解,假设行权重值为4,则症状值、行权重值及翻转函数间的对应关系可以如表1所示,假设行权重值为4,则症状值、行权重值及翻转函数间的对应关系可以如表2所示,其中,#(s_k=1)表示症状值的综合,En表示翻转函数值。For ease of understanding, assuming that the row weight value is 4, the corresponding relationship between the symptom value, the row weight value and the flip function can be shown in Table 1. Assuming that the row weight value is 4, the relationship between the symptom value, the row weight value and the flip function is as follows: The corresponding relationship of can be shown in Table 2, where #( s_k =1) represents the synthesis of symptom values, and En represents the value of the inversion function.

表1行权重值为4时症状值、行权重值及翻转函数间的对应关系Table 1 Correspondence between symptom value, row weight value and flip function when the row weight value is 4

#(s_k=1)#(s_k=1) E<sub>n</sub>E<sub>n</sub> 00 -4-4 11 -2-2 22 00 33 22 44 44

表2行权重值为3时症状值、行权重值及翻转函数间的对应关系Table 2 Correspondence between symptom value, row weight value and flip function when the row weight value is 3

#(s_k=1)#(s_k=1) E<sub>n</sub>E<sub>n</sub> 00 -3-3 11 -1-1 22 11 33 33

具体应用场景中,在基于症状值及行权重值确定当前译码递回数对应的翻转函数值的过程中,也可以通过翻转函数值运算公式,基于症状值、行权重值确定翻转函数值;In a specific application scenario, in the process of determining the inversion function value corresponding to the current decoding recursion number based on the symptom value and the row weight value, the inversion function value can also be determined based on the symptom value and the row weight value through the calculation formula of the inversion function value;

翻转函数值运算公式包括:The formula for flipping the function value includes:

Figure BDA0003568452210000081
Figure BDA0003568452210000081

其中,n表示目标码字中的第n个位元;En表示目标码字中第n个位元的翻转函数值;M(n)表示目标码字对应的奇偶校验矩阵中第n中1所在位置;Sk表示k对应的症状值;colwt(n)表示行权重值。Among them, n represents the nth bit in the target codeword; E n represents the flip function value of the nth bit in the target codeword; M(n) represents the nth bit in the parity check matrix corresponding to the target codeword 1 is the location; Sk represents the symptom value corresponding to k; col wt(n) represents the row weight value.

步骤S106:基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。Step S106: Determine the current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, so as to determine the target decoding result of the target codeword based on the current decoding result.

实际应用中,在基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号之后,便可以基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。In practical applications, after the current inversion signal is determined based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value, the target codeword can be determined based on the current inversion signal and the symptom value at the current decoding recursion number. The current decoding result to determine the target decoding result of the target codeword based on the current decoding result.

本申请提供的一种准循环低密度奇偶校验码译码方法,获取待译码的目标码字;获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转;获取目标码字在当前译码递回数时已计算得到的症状值;获取目标码字的行权重值;基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号;基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。本申请中,可以基于当前译码递回数、前次翻转讯号、症状值及行权重值快速确定当前翻转讯号,进而可以快速基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,可以提高准循环低密度奇偶校验码的译码效率。A quasi-cyclic low-density parity-check code decoding method provided by the present application is to obtain the target codeword to be decoded; obtain the current decoding recursion number and the previous inversion signal, and the previous inversion signal is used to represent the current decoding process. Whether the previous recursion number of the round number is bit flipped; get the symptom value that has been calculated for the target codeword at the current decoding recursion number; get the row weight value of the target codeword; based on the current decoding recursion number, the previous flip signal , the symptom value and the row weight value determine the current inversion signal; determine the current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, so as to determine the target decoding of the target codeword based on the current decoding result result. In the present application, the current inversion signal can be quickly determined based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value, and then the target codeword can be quickly determined based on the current inverted signal and the symptom value when the current decoding recursion number is present. The current decoding result can improve the decoding efficiency of the quasi-cyclic low-density parity check code.

请参阅图2,图2为本申请实施例提供的一种准循环低密度奇偶校验码译码系统的结构示意图。Please refer to FIG. 2 , which is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding system provided by an embodiment of the present application.

本申请实施例提供的一种准循环低密度奇偶校验码译码系统,可以包括:A quasi-cyclic low-density parity-check code decoding system provided by an embodiment of the present application may include:

第一获取模块101,用于获取待译码的目标码字;The first obtaining module 101 is used to obtain the target codeword to be decoded;

第二获取模块102,用于获取当前译码递回数及前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转;The second obtaining module 102 is used to obtain the current decoding recursion number and the previous inversion signal, and the previous inversion signal is used to represent whether the previous recursive number of the current decoding recursion number is bit inverted;

第三获取模块103,用于获取目标码字在当前译码递回数时已计算得到的症状值;The third acquisition module 103 is used to acquire the symptom value that the target codeword has calculated when the current decoding recursion number;

第四获取模块104,用于获取目标码字的行权重值;the fourth obtaining module 104, for obtaining the row weight value of the target codeword;

第一确定模块105,用于基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号;The first determining module 105 is configured to determine the current inversion signal based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value;

第二确定模块106,用于基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。The second determining module 106 is configured to determine the current decoding result of the target codeword at the current decoding recursion number based on the current inversion signal and the symptom value, so as to determine the target decoding result of the target codeword based on the current decoding result.

本申请实施例提供的一种准循环低密度奇偶校验码译码系统中各个模块的相关描述可以参阅上述实施例,在此不再赘述。For the relevant description of each module in the quasi-cyclic low-density parity-check code decoding system provided by the embodiment of the present application, reference may be made to the foregoing embodiment, and details are not repeated here.

请参阅图3,图3为本申请实施例提供的一种准循环低密度奇偶校验码译码装置的结构示意图。Please refer to FIG. 3 , which is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding apparatus provided by an embodiment of the present application.

本申请实施例提供的一种准循环低密度奇偶校验码译码装置,可以包括:A quasi-cyclic low-density parity-check code decoding apparatus provided by an embodiment of the present application may include:

输入暂存器11,用于获取待译码的目标码字;Input the temporary register 11, for obtaining the target codeword to be decoded;

选取多工器12,用于获取当前译码递回数;The multiplexer 12 is selected for obtaining the current decoding recursion number;

位元翻转及症状值更新器13,用于获取前次翻转讯号,前次翻转讯号用于表征当前译码递回数的前次递回数是否进行位元翻转;获取目标码字在当前译码递回数时已计算得到的症状值;获取目标码字的行权重值;基于当前译码递回数、前次翻转讯号、症状值及行权重值确定当前翻转讯号;基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。The bit inversion and symptom value updater 13 is used to obtain the previous inversion signal, and the previous inversion signal is used to represent whether the previous recursion number of the current decoding recursion is bit inverted; the acquired target codeword is in the current decoding process. The symptom value that has been calculated during the number of rounds; the row weight value of the target codeword is obtained; the current inversion signal is determined based on the current decoding recursion number, the previous inversion signal, the symptom value and the row weight value; the target is determined based on the current inversion signal and the symptom value The current decoding result of the codeword at the current decoding recursion number, so as to determine the target decoding result of the target codeword based on the current decoding result.

实际应用中,本申请实施例提供的准循环低密度奇偶校验码译码装置中还可以包括症状值暂存器14、资料暂存器15、译码终止逻辑器16等,本申请在此不做具体限定。In practical applications, the quasi-cyclic low-density parity-check code decoding device provided in the embodiment of the present application may further include a symptom value temporary register 14, a data temporary register 15, a decoding termination logic 16, etc. No specific limitation is made.

需要说明的是,选取多工器需与资料暂存器相连接,以在需要时将资料暂存器中的资料传至位元翻转及症状值更新器中,此外,在有外部递回数源的情况下,选取多工器还需与外部递回数源相连接,以便获取当前译码递回数等;位元翻转及症状值更新器双向连接症状值暂存器,亦即位元翻转及症状值更新器可传更新的症状值给症状值暂存器进行存储,且症状值暂存器可传资料给位元翻转及症状值更新器;资料暂存器50有一端连接位元翻转及症状值更新器,用于存储位元翻转及症状值更新器计算得到的翻转码字。译码终止逻辑器连接症状值暂存器,以基于症状值暂存器存储的症状值判断译码状态是继续译码、译码成功、译码几乎成功、或译码失败,然后,译码终止逻辑器提供一个译码状态讯号给一个外部译码流程控制模块,最后,译码流程控制模块依译码状态讯号控制译码流程。It should be noted that the selection multiplexer needs to be connected to the data register to transmit the data in the data register to the bit flip and symptom value updater when needed. In addition, when there is an external recursive data source Under the circumstance, the selection multiplexer also needs to be connected with the external recursive number source in order to obtain the current decoding recursive number, etc.; the bit flip and symptom value updater are bidirectionally connected to the symptom value register, that is, the bit flip and symptom value The updater can transmit the updated symptom value to the symptom value register for storage, and the symptom value register can transmit data to the bit flip and symptom value updater; the data register 50 has one end connected to the bit flip and the symptom value The updater is used to store the bit flip and the flip code word calculated by the symptom updater. The decoding termination logic is connected to the symptom value register to determine whether the decoding state is continued decoding, decoding success, decoding almost success, or decoding failure based on the symptom value stored in the symptom value register, and then decoding The termination logic provides a decoding state signal to an external decoding process control module, and finally, the decoding process control module controls the decoding process according to the decoding state signal.

请参阅图4,图4为本申请实施例提供的一种准循环低密度奇偶校验码译码装置的另一结构示意图。Please refer to FIG. 4 , which is another schematic structural diagram of a quasi-cyclic low-density parity-check code decoding apparatus provided by an embodiment of the present application.

具体应用场景中,位元翻转及症状值更新器可以包括:In specific application scenarios, the bit flip and symptom value updater can include:

翻转阈值选取器131,用于基于当前译码递回数及前次翻转讯号确定当前译码递回数对应的翻转阈值;The flip threshold selector 131 is used to determine the flip threshold corresponding to the current decoding recursion number based on the current decoding recursion number and the previous flip signal;

翻转函数值确定器132,用于基于症状值及行权重值确定当前译码递回数对应的翻转函数值;a flip function value determiner 132, configured to determine a flip function value corresponding to the current decoding recursion number based on the symptom value and the row weight value;

位元翻转确定器133,用于若翻转阈值大于翻转函数值,则确定当前翻转讯号表征不进行位元翻转;若翻转阈值小于等于翻转函数值,则确定当前翻转讯号表征进行位元翻转;The bit flip determiner 133 is used to determine that the current flip signal characterizes not to perform bit flip if the flip threshold is greater than the flip function value; if the flip threshold is less than or equal to the flip function value, then determine that the current flip signal represents a bit flip;

位元翻转及症状值运算器,用于基于当前翻转信号及症状值确定目标码字在当前译码递回数时的当前译码结果,以基于当前译码结果确定目标码字的目标译码结果。The bit flip and symptom value operator is used to determine the current decoding result of the target codeword at the current decoding recursion number based on the current flip signal and the symptom value, so as to determine the target decoding result of the target codeword based on the current decoding result .

具体应用场景中,位元翻转及症状值运算器可以包括:In specific application scenarios, the bit flip and symptom value operators can include:

第一移位器134,用于对症状值中的目标症状值进行移位,得到移位的症状值;a first shifter 134, configured to shift the target symptom value in the symptom value to obtain the shifted symptom value;

第一互斥或运算器135,用于对移位的症状值及当前翻转信号进行互斥或运算,得到移位的更新的症状值;a first mutually exclusive OR operator 135, configured to perform a mutually exclusive OR operation on the shifted symptom value and the current flip signal to obtain the shifted updated symptom value;

第二移位器136,用于对移位的更新的症状值进行移位,得到更新的症状值;The second shifter 136 is configured to shift the shifted updated symptom value to obtain the updated symptom value;

第二互斥或运算器137,用于对当前译码递回数对应的码字信息及当前翻转信号进行互斥或运算,得到当前译码递回数对应的翻转码字。The second mutually exclusive OR operator 137 is configured to perform a mutually exclusive OR operation on the codeword information corresponding to the current decoding recursion number and the current inverted signal to obtain the inverted codeword corresponding to the current decoding recursion number.

需要说明的是,翻转阈值选取器有一端透过资料选取多工器而连接输入暂存器或外部的前次翻转讯号源,另一端连接该外部递回数源,还有一端连接位元翻转确定器,运作时,翻转阈值选取器基于当前译码递回数及前次翻转讯号确定当前译码递回数对应的翻转阈值。位元翻转确定器还连接第一互斥或运算器及第二互斥或运算器。第一移位器有一端连接上述之症状值暂存器,另一端连接翻转函数值确定器,还有一端连接第一互斥或运算器。第一互斥或运算器还有一端连接第二互斥或运算器。第二移位器连接第一互斥或运算器,还连接症状值暂存器。第二互斥或运算器连接资料暂存器。且具体应用场景中,本申请中的移位器均可以为桶移位器等,本申请在此不做具体限定。It should be noted that the toggle threshold selector has one end connected to the input register or the external previous toggle signal source through the data selection multiplexer, the other end is connected to the external recursive number source, and the other end is connected to the bit toggle determination. During operation, the inversion threshold selector determines the inversion threshold corresponding to the current decoding recursion number based on the current decoding recursion number and the previous inversion signal. The bit flip determiner is also connected to the first exclusive OR operator and the second exclusive OR operator. One end of the first shifter is connected to the above-mentioned symptom value register, the other end is connected to the inversion function value determiner, and the other end is connected to the first mutually exclusive OR operator. The first mutually exclusive OR operator also has one end connected to the second mutually exclusive OR operator. The second shifter is connected to the first exclusive OR operator and is also connected to the symptom register. The second mutually exclusive OR operator is connected to the data register. And in specific application scenarios, the shifters in this application can all be barrel shifters, etc., which are not specifically limited in this application.

本申请还提供了一种准循环低密度奇偶校验码译码设备及计算机可读存储介质,其均具有本申请实施例提供的一种准循环低密度奇偶校验码译码方法具有的对应效果。请参阅图5,图5为本申请实施例提供的一种准循环低密度奇偶校验码译码设备的结构示意图。The present application also provides a quasi-cyclic low-density parity-check code decoding device and a computer-readable storage medium, both of which have the corresponding quasi-cyclic low-density parity-check code decoding methods provided by the embodiments of the present application. Effect. Please refer to FIG. 5 , which is a schematic structural diagram of a quasi-cyclic low-density parity-check code decoding device provided by an embodiment of the present application.

本申请实施例提供的一种准循环低密度奇偶校验码译码设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如上任一实施例所描述准循环低密度奇偶校验码译码方法的步骤。A quasi-cyclic low-density parity-check code decoding device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the method described in any of the above embodiments is implemented. Describe the steps of a quasi-cyclic low-density parity-check code decoding method.

请参阅图6,本申请实施例提供的另一种准循环低密度奇偶校验码译码设备中还可以包括:与处理器202连接的输入端口203,用于传输外界输入的命令至处理器202;与处理器202连接的显示单元204,用于显示处理器202的处理结果至外界;与处理器202连接的通信模块205,用于实现准循环低密度奇偶校验码译码设备与外界的通信。显示单元204可以为显示面板、激光扫描使显示器等;通信模块205所采用的通信方式包括但不局限于移动高清链接技术(HML)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线连接:无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术。Referring to FIG. 6 , another quasi-cyclic low-density parity-check code decoding device provided by an embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting externally inputted commands to the processor 202; the display unit 204 connected with the processor 202 is used to display the processing result of the processor 202 to the outside world; the communication module 205 connected with the processor 202 is used to realize the quasi-cyclic low-density parity-check code decoding device and the outside world Communication. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), Wireless connection: wireless fidelity technology (WiFi), Bluetooth communication technology, Bluetooth low energy communication technology, communication technology based on IEEE802.11s.

本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如上任一实施例所描述准循环低密度奇偶校验码译码方法的步骤。A computer-readable storage medium provided by an embodiment of the present application, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the quasi-cyclic low-density parity-check code decoding described in any of the preceding embodiments is implemented steps of the method.

本申请所涉及的计算机可读存储介质包括随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质。The computer-readable storage medium referred to in this application includes random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs , or any other form of storage medium known in the art.

本申请实施例提供的一种准循环低密度奇偶校验码译码系统、设备、装置及计算机可读存储介质中相关部分的说明请参见本申请实施例提供的准循环低密度奇偶校验码译码方法中对应部分的详细说明,在此不再赘述。另外,本申请实施例提供的上述技术方案中与现有技术中对应技术方案实现原理一致的部分并未详细说明,以免过多赘述。For the description of the relevant parts of a quasi-cyclic low-density parity-check code decoding system, device, device, and computer-readable storage medium provided by the embodiments of the present application, please refer to the quasi-cyclic low-density parity-check code provided by the embodiments of the present application The detailed description of the corresponding part in the decoding method will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail, so as to avoid redundant descriptions.

还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply those entities or operations There is no such actual relationship or order between them. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A quasi-cyclic low density parity check code decoding method is characterized by comprising the following steps:
acquiring a target code word to be decoded;
acquiring a current decoding recurrence number and a previous overturning signal, wherein the previous overturning signal is used for representing whether the previous recurrence number of the current decoding recurrence number carries out bit overturning or not;
acquiring a symptom value calculated when the target code word is returned from the current decoding;
acquiring a line weight value of the target code word;
determining a current rollover signal based on the current decoding pass number, the previous rollover signal, the symptom value, and the line weight value;
determining a current coding result of the target codeword at the current coding pass count based on the current rollover signal and the syndrome value to determine a target coding result of the target codeword based on the current coding result.
2. The method of claim 1, wherein said determining a current rollover signal based on the current coded pass back number, the previous rollover signal, the symptom value, and the line weight value comprises:
determining a rollover threshold corresponding to the current decoding iteration number based on the current decoding iteration number and the last rollover signal;
determining a rollover function value corresponding to the current coding recurrence number based on the symptom value and the line weight value;
if the turning threshold value is larger than the turning function value, determining that the current turning signal representation does not carry out bit turning;
and if the turning threshold value is less than or equal to the turning function value, determining that the representation of the current turning signal is subjected to bit turning.
3. The method of claim 2, wherein determining a rollover threshold corresponding to the current decoded recursion number based on the current decoded recursion number and the previous rollover signal comprises:
if the value of the current decoding recurrence number is 1, determining that the turning threshold value is a first preset value;
if the value of the current decoding recurrence number is 2, determining that the turning threshold value is a second preset value;
if the value of the current decoding recurrence number is more than or equal to 2 and the representation of the last turning signal carries out bit turning, determining that the turning threshold value is 1;
and if the value of the current decoding recurrence number is more than or equal to 2 and the last-time upset signal represents that no bit upset is carried out, determining that the upset threshold is 0.
4. The method of claim 3, wherein determining a rollover function value corresponding to the current coding pass back number based on the symptom value and the line weight value comprises:
and determining the turnover function value based on the existing corresponding relation among the symptom value, the line weight value and the turnover function value.
5. The method of claim 3, wherein determining a rollover function value corresponding to the current coding pass back number based on the symptom value and the line weight value comprises:
determining the roll-over function value based on the symptom value and the line weight value through a roll-over function value operation formula;
the inversion function value operation formula comprises:
Figure FDA0003568452200000021
wherein n represents the nth bit in the target codeword; enThe flipping function value representing the nth bit in the target codeword; m (n) represents the position of 1 in the n-th parity check matrix corresponding to the target code word; skRepresenting the symptom value corresponding to k; colwt(n)Representing the line weight value.
6. A quasi-cyclic low density parity check code decoding system, comprising:
the first acquisition module is used for acquiring a target code word to be decoded;
a second obtaining module, configured to obtain a current decoding pass count and a previous roll-over signal, where the previous roll-over signal is used to indicate whether a previous pass count of the current decoding pass count performs bit roll-over or not;
a third obtaining module, configured to obtain a symptom value obtained by calculation when the target codeword is the current decoding number of pass;
a fourth obtaining module, configured to obtain a line weight value of the target codeword;
a first determining module for determining a current rollover signal based on the current decoding pass count, the previous rollover signal, the symptom value, and the line weight value;
a second determining module, configured to determine a current coding result of the target codeword at the current coding pass count based on the current flipping signal and the syndrome value, so as to determine a target coding result of the target codeword based on the current coding result.
7. A quasi-cyclic low density parity check code decoding apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for decoding quasi-cyclic low density parity check codes according to any one of claims 1 to 5 when executing the computer program.
8. An apparatus for decoding a quasi-cyclic low-density parity-check code, comprising:
the input temporary storage is used for acquiring a target code word to be decoded;
selecting a multiplexer for acquiring the current decoding return number;
a bit flipping and symptom value updater for obtaining a previous flipping signal, wherein the previous flipping signal is used for representing whether the previous recursion number of the current decoding recursion number carries out bit flipping; acquiring a symptom value calculated when the target code word is returned from the current decoding; acquiring a line weight value of the target code word; determining a current rollover signal based on the current decode number of passes, the last rollover signal, the syndrome value, and the line weight value; determining a current coding result of the target codeword at the current coding pass count based on the current rollover signal and the syndrome value to determine a target coding result of the target codeword based on the current coding result.
9. The apparatus of claim 8, wherein the bit flip and syndrome updater comprises:
a rolling threshold selector for determining a rolling threshold corresponding to the current decoding recurrence number based on the current decoding recurrence number and the previous rolling signal;
a roll-over function value determiner for determining a roll-over function value corresponding to the current coding recurrence number based on the symptom value and the line weight value;
a bit flipping determiner, configured to determine that the current flipping signal represents no bit flipping if the flipping threshold is greater than the flipping function value; if the turning threshold value is less than or equal to the turning function value, determining that the current turning signal represents to carry out bit turning;
a bit flipping and syndrome value operator for determining a current decoding result of the target codeword when the current decoding is performed based on the current flipping signal and the syndrome value, so as to determine a target decoding result of the target codeword based on the current decoding result.
10. The apparatus of claim 9 wherein the bit flip and syndrome operator comprises:
the first shifter is used for shifting a target symptom value in the symptom values to obtain a shifted symptom value;
a first exclusive-or operator, configured to perform exclusive-or operation on the shifted symptom value and the current inversion signal to obtain a shifted updated symptom value;
a second shifter for shifting the shifted updated symptom value to obtain an updated symptom value;
and the second exclusive OR operator is used for carrying out exclusive OR operation on the code word information corresponding to the current decoding recursion number and the current overturning signal to obtain an overturning code word corresponding to the current decoding recursion number.
CN202210311331.1A 2022-03-28 2022-03-28 Quasi-cyclic low-density parity-check code decoding method, system, device and equipment Pending CN114598330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210311331.1A CN114598330A (en) 2022-03-28 2022-03-28 Quasi-cyclic low-density parity-check code decoding method, system, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210311331.1A CN114598330A (en) 2022-03-28 2022-03-28 Quasi-cyclic low-density parity-check code decoding method, system, device and equipment

Publications (1)

Publication Number Publication Date
CN114598330A true CN114598330A (en) 2022-06-07

Family

ID=81819894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210311331.1A Pending CN114598330A (en) 2022-03-28 2022-03-28 Quasi-cyclic low-density parity-check code decoding method, system, device and equipment

Country Status (1)

Country Link
CN (1) CN114598330A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI863310B (en) * 2023-05-26 2024-11-21 睿寬智能科技有限公司 Speedy decoder of qc ldpc codes

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8677225B1 (en) * 2011-02-11 2014-03-18 Marvell International Ltd. Low-density parity-check decoder
US20160335160A1 (en) * 2014-04-03 2016-11-17 Empire Technology Development Llc Memory device with speculated bit flip threshold
US20190158115A1 (en) * 2017-11-21 2019-05-23 Silicon Motion Inc. Method employed in ldpc decoder and the decoder
CN110572164A (en) * 2019-09-29 2019-12-13 深圳忆联信息系统有限公司 LDPC decoding method, apparatus, computer device and storage medium
CN110661532A (en) * 2019-11-12 2020-01-07 西安电子科技大学 A Symbol Flip Decoding Method Based on Noise Enhancement of Multivariate LDPC Codes
US20210175900A1 (en) * 2019-12-09 2021-06-10 Silicon Motion, Inc. Memory controller and method of accessing flash memory
US20210250045A1 (en) * 2020-02-06 2021-08-12 SK Hynix Inc. Ldpc decoder, operating method of ldpc decoder, and semiconductor memory system
CN113612485A (en) * 2021-08-03 2021-11-05 深圳宏芯宇电子股份有限公司 Decoding method, decoding device, equipment and storage device
CN114157308A (en) * 2021-12-07 2022-03-08 大唐联诚信息系统技术有限公司 Decoding method and device applied to semi-parallel LDPC decoder

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8677225B1 (en) * 2011-02-11 2014-03-18 Marvell International Ltd. Low-density parity-check decoder
US20160335160A1 (en) * 2014-04-03 2016-11-17 Empire Technology Development Llc Memory device with speculated bit flip threshold
US20190158115A1 (en) * 2017-11-21 2019-05-23 Silicon Motion Inc. Method employed in ldpc decoder and the decoder
CN110572164A (en) * 2019-09-29 2019-12-13 深圳忆联信息系统有限公司 LDPC decoding method, apparatus, computer device and storage medium
CN110661532A (en) * 2019-11-12 2020-01-07 西安电子科技大学 A Symbol Flip Decoding Method Based on Noise Enhancement of Multivariate LDPC Codes
US20210175900A1 (en) * 2019-12-09 2021-06-10 Silicon Motion, Inc. Memory controller and method of accessing flash memory
US20210250045A1 (en) * 2020-02-06 2021-08-12 SK Hynix Inc. Ldpc decoder, operating method of ldpc decoder, and semiconductor memory system
CN113612485A (en) * 2021-08-03 2021-11-05 深圳宏芯宇电子股份有限公司 Decoding method, decoding device, equipment and storage device
CN114157308A (en) * 2021-12-07 2022-03-08 大唐联诚信息系统技术有限公司 Decoding method and device applied to semi-parallel LDPC decoder

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BIN DAI: "Noisy Gradient Descent Bit-Flipping Decoder Based on Adjustment Factor for LDPC Codes", 《IEEE COMMUNICATIONS LETTERS 》, 9 April 2018 (2018-04-09), pages 1152 *
马克祥: "用于LDPC码快速译码的改进加权比特翻转算法", 《北京邮电大学学报》, 15 April 2014 (2014-04-15), pages 109 - 112 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI863310B (en) * 2023-05-26 2024-11-21 睿寬智能科技有限公司 Speedy decoder of qc ldpc codes

Similar Documents

Publication Publication Date Title
US8996972B1 (en) Low-density parity-check decoder
KR101535225B1 (en) Decoding method and memory system device using the method
US8954828B2 (en) Memory controller
US11159178B2 (en) Method and apparatus for quasi-cyclic low-density parity-check
WO2015139160A1 (en) Hard decision decoding method for ldpc code of dynamic threshold bit-flipping
CN106330203B (en) LDPC decoding method
CN109586731B (en) System and method for decoding error correction codes
KR101625273B1 (en) Apparatus, system, and method for generating and decoding a longer linear block codeword using a shorter block length
US20200044668A1 (en) Method for ldpc decoding, ldpc decoder and storage device
US20170041024A1 (en) Method and apparatus for reducing idle cycles during ldpc decoding
US20170134049A1 (en) Decoding method, memory storage device and memory control circuit unit
JP5723975B2 (en) Method, system, and program for decoding of LDPC code
KR20160090054A (en) Flash memory system and operating method thereof
CN109120275B (en) Encoding method and device and computer storage medium
RU2369008C2 (en) Device and method for coding/decoding block code for low density parity check with variable block length
US10700708B2 (en) Permutation network designing method, and permutation circuit of QC-LDPC decoder
US20100185913A1 (en) Method for decoding ldpc code and the circuit thereof
CN114598330A (en) Quasi-cyclic low-density parity-check code decoding method, system, device and equipment
CN114745005A (en) Quasi-cyclic low-density parity-check code decoding method, system, device and medium
KR101657912B1 (en) Method of Decoding Non-Binary Low Density Parity Check Codes
CN113590377A (en) Decoding device, decoding method, storage medium and computer equipment
JP4832447B2 (en) Decoding apparatus and method using channel code
TWI487290B (en) Readdressing decoder for quasi-cyclic low-density parity-check and method thereof
CN114785353B (en) Low-density parity-check code decoding method, system, device, apparatus and medium
US20220329350A1 (en) Apparatus and method for successive cancellation flip decoding of polar code

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination