Decoding method, device and decoder

By setting the LDPC decoder design with variable parallelism and adopting information splitting and hierarchical-time-sharing decoding methods, the resource consumption problem caused by excessive decoder parallelism is solved, and application flexibility and performance adaptation are improved. sex, meeting the needs of different scenarios.

CN111224673BActive Publication Date: 2024-10-11ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811423725.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-26
Publication Date
2024-10-11
Estimated Expiration
2038-11-26

AI Technical Summary

Technical Problem

Excessive parallelism of existing LDPC decoders leads to high hardware resource consumption, making it difficult to apply flexibly, and it is difficult to meet system performance requirements in application scenarios with high traffic and low latency requirements.

Method used

By setting the decoder design with variable parallelism and adopting the methods of information splitting, hierarchical-time-sharing decoding and information reorganization, the degree of parallelism can be flexibly selected to adapt to the throughput and resource consumption requirements of different application scenarios.

Benefits of technology

It effectively reduces the resource consumption of the decoder, improves application flexibility, can meet performance requirements in different scenarios, and supports multiple expansion factors and matrix compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111224673B_ABST
    Figure CN111224673B_ABST
Patent Text Reader

Abstract

The present invention provides a decoding method, device and decoder, the decoding method comprising: setting the parallelism P of the decoder, and performing information splitting on the soft information of the to-be-decoded block according to the parallelism P; performing decoding calculation on the to-be-decoded block according to the split information, and outputting the decoded hard bit information; and reorganizing the hard bit information according to the parallelism P. In the present invention, since the parallelism of the decoder can be flexibly selected according to the required decoder throughput, acceptable resource consumption, hardware cost, etc. during the decoding design, the problem of large hardware resource consumption and difficulty in flexible application caused by excessive parallelism can be solved, thereby improving the application flexibility of the decoder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of decoding in wireless communications, and in particular to a decoding method, device and decoder. Background Art

[0002] With the continuous development of multimedia broadcasting, wireless communication, and Very Large Scale Integration (VLSI) technology, Low Density Parity Check (LDPC) has been widely used in communication standards such as Digital Video Broadcast (DVB), Wireless Local Area Network (WLAN), and Worldwide Interoperability for Microwave Access (WiMAX) as the forward error correction code closest to the Shannon limit. It has also been selected as the data channel coding scheme for enhanced Mobile Broadband (eMBB) in 5G mobile communication systems for the first time. Faced with the high-capacity, low-latency, and high-reliability business requirements in future 5G (Generation) mobile communication systems, as well as various application scenario requirements, designing high-performance, low-cost, and flexible LDPC decoders has become a major technical challenge in the field of wireless communications.

[0003] In terms of flexibility, in the data service channel of the 5G mobile communication system, the code length of its data service is flexible and changeable, including long codes and short codes. According to the 3GPP TS 38.212 Release15 protocol, the 5G baseband channel coding adopts the quasi-cyclic LDPC code (Quasi Cyclic Low Density Parity Check, QC-LDPC) coding method, which needs to be compatible with up to 51 expansion factors and 2 basic matrices. This brings great difficulty to the flexible design of the LDPC decoder.

[0004] In terms of cost, the parallelism of the LDPC decoder determines resource consumption. The parallelism of the decoder based on the "block parallel" architecture is proportional to the supported expansion factor. In order to support the maximum expansion factor in the 5G standard, the decoder parallelism is usually very large, resulting in large resource consumption of a single decoder. In some application scenarios with limited hardware resources and costs and small traffic requirements, such as smart terminals and the Internet of Things (IoT), the performance of the decoder will be over-designed, hardware resources will be wasted, and the cost performance will be low. Therefore, designing an LDPC decoder with low parallelism and low resource consumption is also an important research topic.

[0005] In terms of performance, most LDPC decoders in the industry currently use a "block parallel" architecture based on a layered-decoding method. The peak throughput performance of the decoder designed using this method and architecture is limited. In application scenarios with large traffic and low latency requirements, such as wireless communication base station equipment that needs to support multiple cells, multiple carriers, and multiple user equipment (UE), the decoding traffic demand may reach more than 10Gbps. At this time, whether it is based on digital signal processing (DSP), field programmable gate array (FPGA), graphics processing unit (GPU), or application specific integrated circuit (ASIC) chips, the single-core processing capability of the decoder is basically difficult to meet the system performance requirements, and multi-core parallel acceleration is required. Summary of the invention

[0006] The embodiments of the present invention provide a decoding method, device and decoder to at least solve the problem of large hardware resource consumption and difficulty in flexible application caused by excessive parallelism of the decoder in the related art.

[0007] According to an embodiment of the present invention, a decoding method is provided, which includes: setting the parallelism P of the decoder, and splitting the soft information of the block to be decoded according to the parallelism P; performing decoding calculations on the block to be decoded according to the split information, and outputting the decoded hard bit information; and reorganizing the hard bit information according to the parallelism P.

[0008] According to an embodiment of the present invention, a decoding device is also provided, which includes: an information splitting module, used to set the parallelism P of the decoder, and to split the soft information of the block to be decoded according to the parallelism P; a decoding module, used to perform decoding calculations on the block to be decoded according to the split information, and output the decoded hard bit information; an information reorganization module, used to reorganize the hard bit information according to the parallelism P.

[0009] According to an embodiment of the present invention, a decoder is further provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the method steps of the above embodiment.

[0010] According to an embodiment of the present invention, a storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the method steps of the above embodiment when running.

[0011] In the above-mentioned embodiment of the present invention, since the parallelism of the decoder can be flexibly selected according to the required decoder throughput, acceptable resource consumption, hardware cost, etc. during the decoding design, the problem of large hardware resource consumption and difficulty in flexible application caused by excessive parallelism can be solved, thereby improving the application flexibility of the decoder. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0013] Figure 1 is a flowchart of a decoding method according to an embodiment of the present invention;

[0014] Figure 2 is a schematic structural diagram of a decoding device according to an embodiment of the present invention;

[0015] Figure 3 is another structural schematic diagram of a decoding device according to an embodiment of the present invention;

[0016] Figure 4 A schematic diagram of an implementation method for information splitting according to an embodiment of the present invention;

[0017] Figure 5 is a schematic diagram of the structure of a decoding module according to an embodiment of the present invention;

[0018] Figure 6 Schematic diagram of a decoding method according to an embodiment of the present invention;

[0019] Figure 7 is a schematic diagram of the structure of a calculation module according to an embodiment of the present invention;

[0020] Figure 8 A schematic diagram of a verification process according to an embodiment of the present invention;

[0021] Fig. 9 A schematic diagram of an information reorganization implementation method according to an embodiment of the present invention;

[0022] Fig.10 Schematic diagram of the decoder structure of an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0024] In this embodiment, a decoding method is provided, and a LDPC decoder design with variable parallelism is provided to avoid the problems of large hardware resource consumption and difficulty in flexible application caused by excessive decoder parallelism, effectively improve the flexibility of the LDPC decoder in different application scenarios, and reduce the resource consumption of the decoder.

[0025] Figure 1 is a flowchart of decoding according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:

[0026] Step S102, setting the parallelism P of the decoder, and performing information splitting on the soft information of the to-be-decoded block according to the parallelism P;

[0027] Step S104, performing decoding calculation on the to-be-decoded block according to the split information, and outputting decoded hard bit information;

[0028] Step S106: reorganize the hard bit information according to the parallelism P.

[0029] In the above embodiment, the setting of the parallelism P of the decoder can be reasonably selected by the user according to different application scenarios, data service requirements for the throughput, delay and other indicators of the decoder, and the cost of hardware resources or chip area acceptable to the user, and P≤Max(Z set ), that is, P is less than or equal to the expansion factor set Z of the supported LDPC code set The maximum expansion factor in .

[0030] In step S102, the soft information to be decoded is split. According to the parallelism P and the expansion factor Z of the CB (Code Block) to be decoded, the soft information of the input CB block to be decoded is split according to certain rules. Information splitting mainly splits all "block" information of size Z in a CB into T "sub-block" information. The specific information splitting principle is described in detail in the technical solution.

[0031] In step S104, decoding calculation is performed. The decoding calculation process is based on the "layered decoding" method, and time-sharing is performed in the decoding calculation process of each layer, that is, "layered-time-sharing decoding". "Layered decoding" is to process each "block" of size Z in parallel in the decoding calculation process of each layer, and the "blocks" are processed serially in sequence. "Layered-time-sharing decoding" is to split each "block" of size Z into T "sub-blocks", and process the "sub-blocks" in parallel in the decoding calculation process of each layer, and the "sub-blocks" are processed serially in sequence, and the decoding of one layer is completed in T times. It is also equivalent to dividing the Z check rows in each layer into T parts, and completing the decoding calculation of the Z check rows in a time-sharing manner T times; if T is equal to 1, then each "block" of information is decoded, that is, the decoding calculation of the Z check rows is completed at one time in a fully parallel manner; if T is greater than 1, then each "sub-block" of information is decoded, that is, the calculation of Z / T check rows is completed each time in a partially parallel manner, and the calculation of a layer of Z check rows is completed in T times; after completing the decoding calculation of one layer, the decoding calculation of the next layer is carried out.

[0032] In step S106, the hard bit information after decoding is reorganized. According to the parallelism P and the expansion factor Z of the CB block to be decoded, the hard bit information output after decoding is reorganized. The hard bit information reorganization after decoding is the inverse process of the soft information splitting before decoding. Each hard bit "sub-block" information is reorganized into the corresponding hard bit "block" information, and then the "block" information is output in the form of CB blocks. The specific information reorganization principle is described in detail in the technical solution.

[0033] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product.

[0034] In the present embodiment, a decoding device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0035] Figure 2 is a structural block diagram of a decoding device according to an embodiment of the present invention. Figure 2 As shown, the decoding device includes an information splitting module 10, a decoding module 20 and an information reassembly module 30.

[0036] The information splitting module 10 is used to set the parallelism P of the decoder and split the soft information of the decoding block according to the parallelism P.

[0037] The decoding module 20 is used to perform decoding calculation on the to-be-decoded block according to the splitting information, and output the decoded hard bit information.

[0038] The information reorganization module 30 reorganizes the hard bit information according to the parallelism P.

[0039] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0040] The embodiment of the present invention further provides a decoder, which includes the above decoding device and necessary storage components. The decoder can be a structured Quasi-Cyclic Low Density Parity-check Code (QC-LDPC) decoder.

[0041] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in the above embodiment when running.

[0042] Example 1

[0043] The decoding implementation process of the present invention is described in detail below in conjunction with Example 1. To facilitate the description of the solution, the meanings of the relevant symbols are first defined as follows:

[0044] P: the hardware parallelism of the designed decoder;

[0045] Z set : The set of extension factors supported by the designed decoder;

[0046] Z: the actual expansion factor used by the code block to be decoded, Z∈Z set ;

[0047] T: decoding time division number of the code block to be decoded, i.e., time division number;

[0048] t: decoding time-sharing index number of the code block to be decoded, 0≤t≤T-1;

[0049] L: the number of rows or layers of the basic matrix used by the code block to be decoded;

[0050] l: decoding layer index of the code block to be decoded, 0≤l≤L-1;

[0051] K: the number of columns of the basic matrix used by the code block to be decoded;

[0052] k: the decoding column index of the code block to be decoded, 0≤k≤K-1;

[0053] S l,k : The shift value corresponding to the lth row and the kth column of the basic matrix of the code block to be decoded;

[0054] The time-sharing shift value corresponding to the time-sharing of the basic matrix of the code block to be decoded in row l and column k;

[0055] QC-LDPC code is an important code type in structured LDPC code. Its coding matrix is ​​generally represented by a basic matrix H (L×K) with L rows (layers) and K columns and an expansion factor Z. The non-"-1" elements in the basic matrix are replaced by a Z-dimensional unit matrix or its cyclic shift matrix. The shift value of the cyclic shift matrix is ​​the element value. The "-1" element in the basic matrix is ​​replaced by a Z×Z-dimensional 0 matrix. In this way, the matrix H (L*Z×K*Z) obtained by expanding the basic matrix with a Z×Z-dimensional "submatrix" has a total of L×Z rows and K×Z columns. The expanded matrix has a total of L layers, each with Z check rows, and is used as the coding matrix of the QC-LDPC code. The same matrix is ​​also used for decoding and verification.

[0056] In this embodiment, the decoding process mainly includes information splitting, decoding calculation and information reorganization. Each process is described in detail below.

[0057] 1. Information splitting:

[0058] Soft information of CB block to be decoded C=[B0,B1,B2,...,B K-1 ], contains K "blocks" B k , each "block" contains Z soft information Q, namely B k =[Q Z*k+0 ,Q Z*k+1 ,Q Z*k+2 ,...,Q Z*k+Z-1 ] and corresponds to the k-th column "sub-matrix" (or k-th variable node) of the basic matrix H (L×K).

[0059] Before decoding, each "block" needs to be split according to the set decoder parallelism P and the expansion factor Z configured for the CB block to be decoded. The key to this splitting method is that each "sub-block" obtained after the "block" is split using this splitting method still satisfies the cyclic shift characteristic. "Block" splitting steps: First, determine the decoding time division number T, T is the smallest positive integer that can divide Z and is not less than (Z / P); then, split each "block B k are split into T "sub-blocks" Where i represents the "sub-block" index, that is:

[0060]

[0061] Where each "sub-block" is represented as follows:

[0062]

[0063] Among them, 0≤i≤T-1, 0≤k≤K-1, each "sub-block" Contains Z / T soft information to be decoded.

[0064] In each time-sharing decoding process of each layer, for example, the first layer, for each "block" B k Each time-sharing decoding is performed according to the shift value S corresponding to the "block" in the layer. l,k Select the corresponding "sub-block" Participate in this time-sharing decoding, through the "sub-block" index i For addressing, the index i calculation rules are as follows:

[0065] The 0th time-sharing decoding of the lth layer: i = Mod(S l,k +0,T)

[0066] The first time-sharing decoding of the first layer: i = Mod(S l,k +1,T)

[0067] The second time-sharing decoding of the first layer: i = Mod(S l,k +2,T)

[0068] And so on:

[0069] The T-1th time-division decoding of the lth layer: i = Mod(S l,k +T-1,T)

[0070] That is, the "sub-block" that needs to be addressed in the t-th time-sharing decoding of the l-th layer is recorded as B k,t , B k,t Also called prior information, Where i = Mod(S l,k +t,T), t is the time-sharing index t=0,1,2,...,T-1.

[0071] At the same time, in each time-sharing decoding process of each layer, for example, the first layer, for each "block" B k Each time-sharing decoding is performed according to the shift value S corresponding to the "block" in the layer. l,k Calculate the sub-shift value required for time-sharing decoding Sub-shift value The calculation rules are as follows:

[0072] The 0th time-sharing decoding of layer l:

[0073] The first time-sharing decoding of layer l:

[0074] The second time-sharing decoding of layer 1:

[0075] And so on:

[0076] The T-1th time-division decoding of layer l:

[0077] That is: the sub-shift value required for the t-th time-sharing decoding of the l-th layer Wherein, t is the time-sharing index (t=0, 1, 2, ..., T-1).

[0078] 2. Decoding calculation:

[0079] After completing the information splitting from "block" information to "sub-block" information and completing the sub-shift value calculation, we can get After that, the prior information B can be obtained. k,t , for the prior information B k,t Perform "layered-time decoding". Taking the lth layer and the tth time division as an example, the "layered-time decoding" process is as follows:

[0080] Step 1: Addressing prior information B k,t According to the relationship between the time-sharing index t and the "sub-block" index i, i = Mod(S l,k +t,T), and the shift value S l,k , complete the prior information addressing, that is

[0081] At the same time, the sub-shift value is completed The calculation of

[0082] Step 2: Positive cyclic shift. k,t According to the sub-shift value Perform cyclic shift to obtain the prior information B′ after cyclic shift k,t ,Right now:

[0083]

[0084] Among them, k∈N(l), N(l) represents all the "blocks" B participating in the decoding of the lth layer k The set of index k of , that is, the set of column index k corresponding to all non-“-1” elements in the lth layer of the basic matrix H(L×K), cyclic_shift(,) represents the positive cyclic shift function.

[0085] Step 3: Calculate variable node information Variable node information

[0086]

[0087] Among them, k∈N(l), Indicates the kth variable node information of the lth layer and the tth time-sharing decoding, Indicates the kth old check node information of the lth layer and the tth time-sharing decoding. is initialized to 0;

[0088] Step 4: Calculate the verification node information Verify node information

[0089]

[0090] Among them, k∈N(l), It represents the kth new check node information of the lth layer and the tth time-sharing decoding, and N(l)\k represents the set of all variable node indexes k′ after removing k from the set N(l).

[0091] At the same time, use the newly calculated check node information Update old checkpoint information Right now:

[0092] Step 5: Calculate the posterior information new_B′ k,t . Posterior information

[0093] Among them, k∈N(l).

[0094] Step 6: Reverse shift. According to the sub-shift value For the posterior information new_B′ k,t Perform reverse cyclic shift to obtain the posterior information new_B after cyclic shift k,t ,Right now:

[0095]

[0096] Where k∈N(l), inv_cyclic_shift(,) represents the inverse cyclic shift function.

[0097] Step 7: Update the prior information. Use the shifted posterior information new_B k,t Update prior information B k,t The purpose is to use the posterior information output by this iteration as the initial prior information for the next iteration, that is, B k,t =new_B k,t , where k∈N(l). At the same time, use B k,tUpdate the corresponding "sub-block" That is where \(i = \text{Mod}(S l,k +t,T)\).

[0098] After completing the above steps, the decoding calculation for the \(l\)-th layer and the \(t\)-th time sharing in this decoding iteration is completed. If \(t < T - 1\), then \(t=t + 1\), and continue with the \((t + 1)\)-th time sharing calculation for the \(l\)-th layer; otherwise, complete the decoding calculation for the \(l\)-th layer. If \(l < L - 1\), then \(l=l + 1\), and continue with the calculation for the \((l + 1)\)-th layer; otherwise, complete this iteration calculation and perform the next iteration calculation until successful decoding or reaching the maximum number of iterations and then stop iterative decoding.

[0099] After each iteration is completed, hard decisions need to be made on the soft information to obtain hard bit information for termination detection or decoding output. After one iteration, each soft information "sub-block" is represented as follows:

[0100]

[0101] where \(0\leq i\leq T - 1\), \(0\leq k\leq K - 1\), and each soft information "sub-block" contains \(Z / T\) soft information. The soft information "sub-block" after hard decision results in a hard bit "sub-block" represented as follows:

[0102]

[0103] where the hard bit information \(S=\text{sign}(Q)\), \(\text{sign}()\) is the sign function, \(0\leq i\leq T - 1\), \(0\leq k\leq K - 1\), and each hard bit "sub-block" contains \(Z / T\) hard bit information.

[0104] III. Information Reorganization:

[0105] Information reorganization is to reorganize the hard bit "sub-block" data obtained from hard decisions into hard bit "block" data and output all the hard bit "block" data in the form of hard bit CB blocks. According to the number of time sharings \(T\), the \(T\) hard bit "sub-block" information is reorganized into hard bit "block" information \(H k ,H k and the information is represented as follows:

[0106] H k =[S Z*k+0 ,S Z*k+1 ,S Z*k+2 ,...,S Z*k+Z-1

[0107] ​Among them, 0≤k≤KL-1, that is, only the "blocks" corresponding to the first KL information columns of the basic matrix need to be reorganized and output, and the check column information is ignored. k The hard bit CB block data is combined into output, that is, the hard bit CB block information C = [H0, H1, H2, ..., H K-L-1 ].

[0108] Example 2

[0109] Embodiment 2 provides a decoder for implementing the above decoding process. Figure 3 FIG. 2 is a structural block diagram of the decoder of this embodiment. Figure 3 As shown, the decoder includes: an information splitting module 10, a decoding module 20 and an information reorganization module 30. The information splitting module 10 completes the soft information splitting function before decoding. The decoding module 20 completes the "layered-time-sharing decoding" iterative calculation function. The information reorganization module 30 completes the reorganization output of the hard bit information after decoding. Among them, the information splitting module and the information reorganization module can be located inside the decoding device or outside the decoding device.

[0110] A specific implementation of the information splitting module 10 is as follows Figure 4 As shown, the module first calculates the available decoding time-sharing number T according to the preset decoder parallelism P and the expansion factor Z of the CB block to be decoded. The time-sharing number T can also be calculated outside the decoder and obtained through parameter configuration. After obtaining the parameter T, first extract each "block" information in the CB block information storage space in turn according to the expansion factor Z. Each "block" information is stored in the storage space with a fixed storage bit width and continuously. Therefore, it is necessary to extract the "block" information before the information is split. After obtaining the entire "block" information, it is split according to the time-sharing number T to obtain T "sub-block" information, and stored in different address intervals of the "sub-block" information storage space according to the "sub-block" index number, and the splitting of each "block" information and the storage of the "sub-block" information are completed in turn.

[0111] An optional structural diagram of the decoding module 20 is shown in FIG. Figure 5 As shown, it includes: a decoding control module 201, a soft information storage module 202, a forward shift module 203, a calculation module 204, a reverse shift module 205, a hard decision module 206, a hard bit information storage module 207 and a check module 208. Each module completes the functions of storing, processing, calculating and the like the data information input to the module according to the parameter information required by the module.

[0112] Figure 6 It is a schematic diagram of the decoding process of the decoding module, such as Figure 6As shown, a loop nesting method is used to start the i-th decoding iteration, the first layer decoding calculation and the t-th time-sharing decoding calculation. First, all T time-sharing decodings of the first layer are completed, and then the decoding calculation of the second layer is performed until all L layers of decoding calculations are completed. Then, the loop is terminated by judging whether the decoding is successful and the number of decoding iterations. Among them, the t-th time-sharing decoding calculation includes the following steps:

[0113] Step 1, perform prior information addressing and calculate the sub-shift value;

[0114] Step 2, performing positive cyclic shift on the corresponding prior information according to the sub-shift value;

[0115] Step 3, calculate the variable node information, use the shifted prior information to subtract the old check node information, and initialize the check node information to 0 for the first iteration;

[0116] Step 4, calculate the check node information, use the variable node information obtained in step 3 to calculate the new check node information, and use the new check node information to update the old check node information;

[0117] Step 5, calculate the posterior information, using the variable node information obtained in step 3 plus the new check node information obtained in step 4 to obtain the posterior information;

[0118] Step 6, performing reverse cyclic shift on the posterior information obtained in step 5 according to the sub-shift value;

[0119] Step 7: Use the shifted posterior information obtained in step 6 to update the prior information.

[0120] After step 7, it is determined whether the maximum time-sharing number T is reached, and the next time-sharing decoding or the first time-sharing decoding of the next layer is performed according to the determination. The next time-sharing decoding or the time-sharing decoding process of the next layer is the same as the above decoding process, and will not be repeated here.

[0121] Soft information storage module 202: On the one hand, it receives the new CB block information to be decoded output by the information splitting module, and each CB block is stored in the "sub-block" information storage format after the information is split; on the other hand, it receives the a posteriori information of the CB block currently being decoded output by the reverse shift module, and stores and backs up the a posteriori information data updated in each iteration; the new CB and the CB being decoded are switched in a "ping-pong" manner. In addition, this module also reads and outputs the a priori information to be decoded according to the read-write address information output by the control module 201, and stores and updates the a posteriori information output by the newly calculated output, and its storage bit width is determined by the preset decoder parallelism.

[0122] Positive shift module 203 and reverse shift module 205: These two modules can be set separately or together. One optional solution is to use a QSN (QC-LDPC Shift Network) shift network to implement it. The advantage of the QSN shift network is that it can perform cyclic shifts on "sub-block" information of different sizes. This module performs corresponding shifts and outputs the input "sub-block" information to be shifted according to the shift value information input by the decoding control module 201. This module uses a P-input P-output shift network according to the preset parallelism P.

[0123] Calculation module 204: Based on the input a priori information, complete the calculation of variable node information, check node information, and a posteriori information, output the a posteriori information, and perform parallel calculation and storage according to a preset parallelism P. Figure 7 is an optional structural diagram of a computing module, such as Figure 7 As shown, the calculation module includes: P parallel variable node calculation units, P parallel check node calculation units, P parallel posterior information calculation units, and variable node storage units and check node storage units with a parallelism of P.

[0124] Variable node calculation unit: completes the calculation process of obtaining variable node information by subtracting the old check node information from the input prior information. In the first iterative calculation process, the old check node information is initialized to 0. According to the decoder parallelism P, at most P variable node calculation units are used to complete the calculation of the variable node information corresponding to each "sub-block" information in parallel.

[0125] Check node calculation unit: completes the calculation of the corresponding new check node information according to the input variable node information, wherein the calculation of the new check node information may adopt but is not limited to the minimum sum (MS, Min-Sum) algorithm, the normalized minimum sum (NMS, Normalised Offset) algorithm, the offset minimum sum (OMS, Offset Min-Sum) algorithm or other algorithms. According to the decoder parallelism P, at most P check node calculation units are used in parallel to complete the calculation of the check node information corresponding to each "sub-block" information.

[0126] A posteriori information calculation unit: completes the calculation process of obtaining the a posteriori information by adding the input variable node information to the new check node information. According to the decoder parallelism P, at most P a posteriori information calculation units are used to complete the calculation of the a posteriori information corresponding to each "sub-block" information in parallel.

[0127] Variable node information storage unit: completes the storage of variable node information output by the variable node calculation unit, and outputs the corresponding variable node information to the a posteriori information calculation unit for a posteriori information calculation. According to the decoder parallelism P, the variable node data output by at most P variable node calculation units are stored in parallel at the same address, and the storage bit width must ensure that the P variable node data can be written or read in parallel.

[0128] Verification node information storage unit: First, complete the output of the corresponding old verification node information and provide it to the variable node calculation unit for variable node information calculation. The old verification node information is initialized to 0 for the first decoding iteration calculation. Secondly, complete the update of the old verification node information cached in the previous iteration using the new verification node information output by the verification node calculation unit of this decoding iteration. According to the decoder parallelism P, the verification node data output by at most P verification node calculation units are stored in parallel at the same address, and the storage bit width must ensure that P verification node data can be written or read in parallel.

[0129] Hard decision module 206: performs hard decision on the a posteriori information output by the reverse shift module. The hard decision process is to hard-determine the a posteriori information represented in the form of soft information as hard bit information. An optional implementation scheme is to perform a sign function calculation on the soft information, that is, to obtain the hard bit information by taking the sign bit of the soft information. According to the preset parallelism P of the decoder, the hard decision module supports symbol calculation with a parallelism of P.

[0130] Hard bit information storage module 207: completes caching of hard decision information output from two consecutive decoding iterations, and performs ping-pong caching of the hard decision result output from this iteration and the hard decision result from the previous iteration. On the one hand, the hard decision storage module caches the hard decision result output from this iteration during this iteration; on the other hand, while calculating this iteration, it outputs the hard decision result from the previous iteration to the verification module and the information reorganization module respectively; the verification module verifies the hard decision result from the previous iteration; the information reorganization module caches and backs up the hard decision result from the previous iteration, and if the verification module passes the verification, the hard decision result from the previous iteration is reorganized and output, otherwise the cache of the hard decision result from the previous iteration is released; according to the decoder parallelism P, the storage bit width of the hard bit information storage module is P, and the depth can ping-pong store two maximum hard bit CB blocks.

[0131] Verification module 208: completes verification of the hard decision result after one iteration of decoding, determines whether the conditions for terminating iterative decoding are met, and outputs a decoding termination signal if it is met, otherwise does not output and continues to the next iteration; the decoding iteration termination conditions include but are not limited to the following: 1) H matrix parity check passes; 2) CRC check passes; 3) H matrix parity check and CRC check pass at the same time; 4) the minimum number of iterations is met and the maximum number of iterations is reached, etc. Figure 8 The figure is a decoding verification flow chart of an embodiment of the present invention.

[0132] Information reorganization module 30: This module first calculates the available decoding time-sharing number T according to the preset decoder parallelism P and the expansion factor Z of the CB block to be decoded. The time-sharing number T can also be calculated outside the decoder and obtained through parameter configuration. Fig. 9 An optional implementation method that can be used for information reorganization is as follows: Fig. 9 As shown, after the reorganization module obtains the parameter T, it indexes and reads the sub-blocks H belonging to the same “block” in the hard bit “sub-block” information storage space. k All "sub-block" information All T "sub-blocks" of information are reassembled to obtain the hard bit "block" information H k , complete the reorganization and splicing of the hard bit "block" information of all the first KL representative information columns in turn, and output the final decoded result in the form of CB blocks.

[0133] The embodiment of the present invention further provides a decoder 100, comprising a memory 110 and a processor 120, wherein the memory 110 stores a computer program, and the processor 120 is configured to run the computer program to execute the method steps of the above embodiment.

[0134] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the method steps of the above embodiment when running.

[0135] In the above-mentioned embodiments provided by the present invention, flexible setting of encoder parallelism can be supported. Users can select the optimal parallelism to design the decoder based on requirements such as traffic and latency and costs such as resource consumption and chip area, so as to minimize costs while meeting decoder performance requirements.

[0136] In addition, in the above-mentioned embodiments provided by the present invention, the decoder can be supported to be compatible with multiple expansion factors, multiple matrices, and multiple code rates online at different degrees of parallelism, and the decoder structure and resource consumption are independent of the matrix size, thereby improving the flexibility and compatibility of the decoder;

[0137] In the above embodiments provided by the present invention, in the decoding process, a single "block" can be processed in parallel, and a serial pipeline processing method between "blocks" can be adopted. All "block" information can be shared and stored, and there is no need to allocate storage for each "block" information independently, thereby reducing the consumption of storage resources;

[0138] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0139] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A decoding method, characterized in that: include: Setting the parallelism P of the decoder, and performing information splitting on the soft information of the to-be-decoded block according to the parallelism P; Performing decoding calculation on the to-be-decoded block according to the split information, and outputting decoded hard bit information; Reorganizing the hard bit information according to the parallelism P; The step of splitting the soft information of the block to be decoded according to the degree of parallelism P includes: According to the parallelism P and the expansion factor Z configured for the block to be decoded, all block information of size Z in the block to be decoded are respectively split into T sub-block information, where T is a positive integer; After all block information of size Z in the block to be decoded is split into T sub-block information respectively according to the parallelism P of the decoder and the expansion factor Z configured for the block to be decoded, the method includes: According to the shift value S corresponding to the block information at the decoding layer l,k Calculate the index i and sub-shift value of its sub-block information in: i=Mod(S l,k +t,T), Wherein, t is the time-sharing index t=0, 1, 2, ..., T-1, k is the block information number, and l is the decoding layer number.

2. The method according to claim 1, characterized in that Performing decoding calculation on the to-be-decoded block according to the split information and outputting decoded hard bit information, including: The to-be-decoded block is subjected to layered decoding calculation, and each layer of decoding calculation is completed in T time-sharing calculations. During each time-sharing calculation process, sub-block information is processed in parallel, and sub-blocks are processed serially. Hard decisions are made on the decoded sub-block information and hard bit sub-block information is output.

3. The method according to claim 2, characterized in that Reorganizing the hard bit information according to the parallelism P includes: According to the parallelism P and the expansion factor Z, the hard bit sub-block information output after decoding is reorganized into corresponding hard bit block information, and the hard bit block information is reorganized into a hard bit decoding block output.

4. The method according to claim 1, characterized in that: The parallelism P is less than or equal to the maximum expansion factor in the expansion factor set supported by the decoder.

5. The method according to claim 1, characterized in that According to the parallelism P of the decoder and the expansion factor Z configured for the block to be decoded, all block information of size Z in the block to be decoded are respectively split into T sub-block information including: Determine the decoding time-sharing number T according to the parallelism P of the decoder and the expansion factor Z configured for the block to be decoded, where T is the smallest positive integer that can divide Z and is not less than Z / P; All block information of size Z in the block to be decoded are divided into T sub-block information respectively.

6. The method according to claim 2, characterized in that Each layer of decoding calculation is completed in T times of time-sharing calculation. In each time-sharing calculation process, the sub-block information is processed in parallel, and the sub-blocks are processed serially, including: Perform a priori information addressing according to the index i of the sub-block information; Circularly shifting the addressed prior information according to the sub-shift value of the sub-block information; Used to calculate variable node information, check node information and a posteriori information according to the prior information, and output the a posteriori information; Performing a reverse cyclic shift on the a posteriori information according to the sub-shift value to obtain cyclically shifted a posteriori information; The shifted posterior information is used to update the prior information, and the updated prior information is used to update the corresponding sub-block information.

7. The method according to claim 6, characterized in that Calculate variable node information according to the following formula Among them, k∈N(l), Indicates the kth variable node information of the lth layer and the tth time-sharing decoding, Indicates the kth old check node information of the lth layer and the tth time-sharing decoding. Initialized to 0.

8. The method according to claim 6, characterized in that Calculate the check node information according to the following formula Among them, k∈N(l), represents the kth new check node information of the lth layer and the tth time-sharing decoding, N(l)\k represents the set of all variable node indexes k′ after removing k from the set N(l); Use the newly calculated check node information Update old checkpoint information 9. The method according to claim 6, characterized in that The posterior information new_B′ is calculated according to the following formula k,t : in, Represents the kth variable node information of the lth layer and the tth time-sharing decoding.

10. A decoding device, characterized in that: include: An information splitting module, used to set the parallelism P of the decoder, and split the soft information of the to-be-decoded block according to the parallelism P; A decoding module, used for performing decoding calculation on the to-be-decoded block according to the split information, and outputting decoded hard bit information; An information reorganization module, used for reorganizing the hard bit information according to the parallelism P; The information splitting module is further used to split all block information of size Z in the block to be decoded into T sub-block information respectively according to the parallelism P of the decoder and the expansion factor Z configured for the block to be decoded, where T is a positive integer; The information splitting module is also used to calculate the shift value S corresponding to the block information at the decoding layer. l,k Calculate the index i and sub-shift value of its sub-block information in: i=Mod(S l,k +t,T), Wherein, t is the time-sharing index t=0, 1, 2, ..., T-1, k is the block information number, and l is the decoding layer number.

11. The decoding device according to claim 10, characterized in that: The decoding module is further used to perform layered decoding calculations on the blocks to be decoded, each layer of decoding calculations is completed in T time-sharing calculations, sub-block information is processed in parallel during each time-sharing calculation process, sub-blocks are processed serially between sub-blocks, hard decisions are made on the decoded sub-block information, and hard bit sub-block information is output; The information reorganization module is also used to reorganize the hard bit sub-block information output after decoding into corresponding hard bit block information according to the parallelism P and the expansion factor Z, and reorganize the hard bit block information into a hard bit decoding block output.

12. The decoding device according to claim 11, characterized in that: The information splitting module is also used to determine the decoding time-sharing number T according to the parallelism P of the decoder and the expansion factor Z configured for the block to be decoded, where T is the smallest positive integer that can divide Z and is not less than Z / P.

13. The device according to claim 11, characterized in that The parallelism P is less than or equal to the maximum expansion factor in the expansion factor set supported by the decoder.

14. A decoder, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the method according to any one of claims 1 to 9.

15. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 9 when executed.