Coding method and device for non-binary quasi-cyclic low density parity check (LDPC) code

By expanding the basic matrix of the non-binary quasi-cyclic LDPC code, obtaining the parity check matrix and encoding it, the problem of high storage space and complex encoding process of the non-binary LDPC code is solved, and a more efficient encoding process is achieved.

WO2024221963A1PCT designated stage expired Publication Date: 2024-10-31ZTE CORP

Patent Information

Application Number
PCT/CN2023/137968
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-27
Filing Date
2023-12-11
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

The application of non-binary LDPC codes in communication systems is limited by the problems of high storage space and complex encoding process.

Method used

Obtain the parity check of the non-binary quasi-cyclic LDPC code by determining the basic matrix of the non-binary quasi-cyclic LDPC code, including elements used to indicate the all-zero square matrix and unit matrix cyclic shift values, and obtaining the expansion matrix according to the lifting factor expansion A matrix based on which the input information is encoded.

Benefits of technology

The storage space requirement of non-binary LDPC codes is reduced, the encoding process is simplified, and the encoding efficiency and speed are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137968_31102024_PF_FP_ABST
    Figure CN2023137968_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present invention provide a coding method and device for a non-binary quasi-cyclic low density parity check (LDPC) code. The method comprises: determining a base matrix of a non-binary quasi-cyclic LDPC code, wherein the base matrix comprises a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; extending the base matrix according to a lifting factor to obtain an extended matrix; obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-binary values of non-zero positions in the extended matrix; and performing non-binary quasi-cyclic LDPC code coding on an input information bit sequence on the basis of the parity check matrix to obtain a sequence of codewords to be sent.
Need to check novelty before this filing date? Find Prior Art

Description

Non-binary quasi-cyclic low-density parity-check code LDPC encoding method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure is based on Chinese patent application CN202310481751.9, filed on April 27, 2023, entitled “Non-binary quasi-cyclic low-density parity-check code LDPC encoding method and device”, and claims the priority of the patent application, and all the contents disclosed therein are incorporated into this disclosure by reference. Technical Field

[0003] The present disclosure relates to the field of communications, and more particularly to a method and apparatus for encoding a non-binary quasi-cyclic low-density parity-check (LDPC) code. Background Art

[0004] With the development of wireless digital communications and the emergence of various high-speed, highly bursty services, communication systems have placed increasingly stringent requirements on error correction coding technologies. Low-density parity-check (LDPC) codes are a class of linear block codes defined using a sparse parity check matrix or bipartite graph. They possess the following characteristics: near-Shannon-limit performance, linear-time encoding, low decoding complexity, parallel decoding capability, and superiority over Turbo codes under long code length conditions. Due to their superior performance, the fifth-generation mobile communication (5G) standard developed by the 3rd Generation Mobile Communication Partnership Project (3GPP) adopted binary quasi-cyclic LDPC codes as the coding scheme for 5G New Radio (NR) data channels.

[0005] The non-zero elements in the parity check matrix of a binary LDPC code are all "1". If the non-zero elements of the parity check matrix are taken from a larger Galois field set, a linear block code over a larger symbol set is defined, and this type of code is called a non-binary LDPC code. Research has shown that at medium and short code lengths, compared to binary LDPC codes of the same bit length, non-binary LDPC codes have the following advantages: more coding gain (1 to 1.3 dB), a lower error floor, stronger resistance to burst errors, and easier integration with high-order modulation. Therefore, non-binary LDPC codes are expected to be applied to communication systems with strict delay requirements and extremely high reliability requirements, such as the scenarios that will be targeted at the next stage of standardization to simultaneously meet the requirements of real-time, reliability, throughput, and massive connections.

[0006] However, non-binary LDPC codes in some cases have many problems, including higher storage space and more complex encoding process, which to some extent hinder their application in practical communication systems.

[0007] Summary of the Invention

[0008] The embodiments of the present application provide a non-binary quasi-cyclic low-density parity-check code (LDPC) encoding method and apparatus to at least solve the problems of high storage space and complex encoding process of non-binary LDPC codes in related technologies.

[0009] According to one embodiment of the present disclosure, a non-binary quasi-cyclic low-density parity-check code (LDPC) encoding method is provided, comprising: determining a base matrix of a non-binary quasi-cyclic LDPC code, wherein the base matrix comprises a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; expanding the base matrix according to a lifting factor to obtain an extended matrix; obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-binary values ​​of non-zero positions in the extended matrix; and performing non-binary quasi-cyclic LDPC code encoding on an input information bit sequence based on the parity check matrix to obtain a codeword sequence to be transmitted.

[0010] According to another embodiment of the present disclosure, a non-binary quasi-cyclic low-density parity-check code LDPC encoding device is provided, including: a determination module, configured to determine a basic matrix of a non-binary quasi-cyclic LDPC code, wherein the basic matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; an expansion module, configured to expand the basic matrix according to a lifting factor to obtain an extended matrix; an acquisition module, configured to obtain a parity check matrix of the non-binary quasi-cyclic LDPC code based on non-binary values ​​of non-zero positions in the extended matrix; and an encoding module, configured to perform non-binary quasi-cyclic LDPC code encoding on an input information bit sequence based on the parity check matrix to obtain a codeword sequence to be transmitted.

[0011] According to yet another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute any one of the above methods when running.

[0012] According to yet another embodiment of the present disclosure, an electronic device is provided, including 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 perform any one of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] FIG1 is a hardware structure block diagram of a computer terminal for a non-binary quasi-cyclic LDPC code encoding method according to an embodiment of the present disclosure;

[0014] FIG2 is a diagram of a network architecture for applying a non-binary quasi-cyclic LDPC code encoding method according to an embodiment of the present disclosure;

[0015] FIG3 is a flowchart of a non-binary quasi-cyclic LDPC code encoding method according to an embodiment of the present disclosure;

[0016] FIG4 is a structural block diagram of a non-binary quasi-cyclic LDPC code encoding apparatus according to an embodiment of the present disclosure;

[0017] FIG5 is a schematic diagram of a diagonal structure according to an embodiment of the present disclosure;

[0018] FIG6 is a schematic diagram of a dual diagonal structure according to an embodiment of the present disclosure;

[0019] FIG7 is a schematic diagram of an approximately double diagonal structure according to an embodiment of the present disclosure;

[0020] FIG8 is a schematic diagram of a triangular matrix structure according to an embodiment of the present disclosure;

[0021] FIG9 is a schematic diagram of a combined structure according to an embodiment of the present disclosure;

[0022] FIG10 is a schematic diagram of a basic matrix structure according to an embodiment of the present disclosure;

[0023] FIG11 is a schematic diagram of the overall structure of a basic matrix in which a first sub-matrix block has a lower double diagonal structure according to an embodiment of the present disclosure;

[0024] FIG12 is a schematic diagram of the overall structure of a basic matrix in which a first sub-matrix block has an upper double diagonal structure according to an embodiment of the present disclosure;

[0025] FIG13 is a schematic diagram of the overall structure of a basic matrix having a lower double-opposite diagonal structure in a first sub-matrix block according to an embodiment of the present disclosure;

[0026] FIG14 is a schematic diagram of the overall structure of a basic matrix having a first sub-matrix block with an upper double anti-diagonal structure according to an embodiment of the present disclosure;

[0027] FIG15 is a schematic diagram of the overall structure of a basic matrix in which a first sub-matrix block has an approximately lower double right diagonal structure according to an embodiment of the present disclosure;

[0028] FIG16 is a schematic diagram of the overall structure of a basic matrix in which a first sub-matrix block has an approximately upper double right diagonal structure according to an embodiment of the present disclosure;

[0029] FIG17 is a schematic diagram of the overall structure of a basic matrix having a first sub-matrix block with an approximately lower double anti-diagonal structure according to an embodiment of the present disclosure;

[0030] FIG18 is a schematic diagram of the overall structure of a basic matrix having a first sub-matrix block having an approximately upper double anti-diagonal structure according to an embodiment of the present disclosure;

[0031] FIG19 is a schematic diagram of the overall structure of a basic matrix having a lower equilateral triangular matrix structure in a first sub-matrix block according to an embodiment of the present disclosure;

[0032] FIG20 is a schematic diagram of the overall structure of a basic matrix having an upper equilateral triangular matrix structure in a first sub-matrix block according to an embodiment of the present disclosure;

[0033] FIG21 is a schematic diagram of the overall structure of a basic matrix having an upper inverse triangular matrix structure in which a first sub-matrix block is provided according to an embodiment of the present disclosure;

[0034] FIG22 is a schematic diagram of the overall structure of a basic matrix having a lower inverse triangular matrix structure in which a first sub-matrix block is provided according to an embodiment of the present disclosure;

[0035] FIG23 is a schematic diagram of the overall structure of a basic matrix having a combined structure of first sub-matrix blocks according to an embodiment of the present disclosure;

[0036] FIG24 is a schematic diagram of the overall structure of a basic matrix according to an embodiment of the present disclosure;

[0037] FIG25 is a schematic diagram of the overall structure of a basic matrix according to an embodiment of the disclosed scenario. DETAILED DESCRIPTION

[0038] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0039] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0040] The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a computer terminal of the non-binary quasi-cyclic LDPC code encoding method of the embodiment of the present disclosure. As shown in FIG1 , the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. The structure shown in FIG1 is for illustration only and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .

[0041] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the non-binary quasi-cyclic LDPC code encoding method in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] The transmission device 106 is used to receive or send data via a network. Examples of such networks may include wireless networks provided by the mobile terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0043] First, the technical terms involved in the embodiments of the present disclosure are explained.

[0044] Quasi-cyclic LDPC code:

[0045] The parity check matrix H of the quasi-cyclic LDPC code is set to (M b ×Z)×(N b ×Z) matrix, as shown below:

[0046] It is made by M b ×N b Each block matrix is ​​a different power of the Z×Z basic permutation matrix P or a Z×Z all-zero square matrix. When the basic permutation matrix is ​​the unit matrix, its different powers correspond to the cyclic shift matrices of the unit matrix (the default in the embodiment of the present disclosure is right shift). The block matrix can be uniquely represented by the power To express, the typical form is as follows: When , the block matrix is ​​a square matrix of all zeros; when When is a non-negative integer, the block matrix is ​​the basic permutation matrix P The Z×Z basic permutation matrix P is a square matrix obtained by cyclically right shifting the unit matrix by one column, as shown below.

[0047] In this way, the power of each block matrix It constitutes an M b ×N b The power matrix H b , where i and j correspond to H b The row index and column index of the power matrix H can be seen in the typical form. b The elements in can be divided into two categories: elements indicating all-zero square matrices and elements indicating cyclic shift values ​​of the identity matrix. Define H b is the fundamental matrix of H, H is H b The expansion matrix, and Z is the expansion factor. In actual encoding,

[0048] Therefore, the quasi-cyclic LDPC code can be represented by the basic matrix H b , expansion factor Z and the selected basic permutation matrix P are uniquely generated. In the embodiment of the present disclosure, the default basic permutation matrix P is a square matrix after the unit matrix is ​​cyclically shifted by 1 column. The basic matrix H b Each element of corresponds to a Z×Z square matrix in its extended matrix H, which includes two elements: an element indicating an all-zero square matrix and an element indicating the cyclic shift value of the identity matrix. This extended matrix is ​​the parity check matrix of the quasi-cyclic LDPC code.

[0049] Quasi-cyclic LDPC code encoding:

[0050] Quasi-cyclic LDPC codes are systematic codes, where the LDPC codeword [u, p] is composed of the information sequence u to be encoded and the check sequence p. The LDPC code information sequence u is known, and the LDPC encoding process is the process of obtaining the check sequence p.

[0051] An M b ×Nb The LDPC encoding process of the basic matrix is ​​as follows:

[0052] First, the positions of the elements indicating the all-zero square matrix in the basic matrix are replaced with the all-zero square matrix, and the positions of the elements indicating the cyclic shift value of the unit matrix are replaced with the cyclic shift matrix of the unit matrix, where the dimension of the all-zero square matrix or the unit matrix is ​​equal to the lifting factor Z, thereby obtaining the LDPC code parity check matrix H.

[0053] Secondly, the LDPC code parity check matrix H can also be divided into two parts: the system block H u Sum check block H p , where H=[H u ,H p ], that is, H u is the first K in the parity check matrix H b ×Z columns (dimension is (M b ×Z)×(K b ×Z)),H p is the last M in the parity check matrix H b ×Z columns (dimension is (M b ×Z)×(M b ×Z)), K b =N b -M b The LDPC codeword satisfies the following equation: H [u, p] T =[H u ,H p ]·[u,p] T =0

[0054] Furthermore, H p p T =H u u T

[0055] Finally, the LDPC code check bit sequence p is calculated by the following formula to complete the LDPC encoding:

[0056] After obtaining the LDPC codeword [u, p], bit selection (or rate matching) can be performed from the LDPC codeword [u, p] based on the desired encoding rate to output a transmission bit sequence of corresponding length. LDPC encoding or decoding can utilize parallel encoding or decoding due to the inherent parallel nature of LDPC codes, resulting in higher encoding or decoding throughput. In view of this, the disclosed embodiments propose a non-binary quasi-cyclic LDPC code construction and encoding method to reduce encoding complexity.

[0057] The embodiments of the present disclosure can operate on the network architecture shown in FIG2 . FIG2 is a diagram of a network architecture for applying a non-binary quasi-cyclic LDPC code encoding method according to an embodiment of the present disclosure. As shown in FIG2 , the network architecture includes: a first transmission node and a second transmission node, and the second transmission node and the first transmission node can transmit, receive, and interact with each other via wireless signals. The first transmission node performs non-binary LDPC code encoding on a bit sequence to be encoded to obtain a codeword sequence to be transmitted. After performing signal processing such as modulation, the first transmission node transmits the transmission signal containing the codeword sequence to be transmitted to the second transmission node via a channel. The second transmission node performs signal processing such as demodulation on the received signal to obtain codeword sequence information. The second transmission node recovers the information bit sequence through non-binary LDPC decoding.

[0058] In a feasible implementation manner, the first transmission node and the second transmission node may include, but are not limited to, one of the following devices: a base station (BS), an access point (AP), a node B, a g node B (g node B, generalized node B), a radio network controller (RNC), an evolved Node B (eNB), a base station controller (BSC), a base transceiver station (BTS), a transceiver function (TF), a radio router, a radio transceiver, a basic service set (BSS), an extended service set (ESS) or a radio base station (RBS). This embodiment does not specifically limit this.

[0059] In a feasible implementation, the first transmission node and the second transmission node may be referred to as an access terminal, user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user device. For example, the first transmission node may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a 5G network or a future 5G or higher network, etc. This embodiment does not specifically limit this.

[0060] In this embodiment, a non-binary quasi-cyclic LDPC code encoding method running on the above-mentioned computer terminal or network architecture is provided. FIG3 is a flow chart of the non-binary quasi-cyclic LDPC code encoding method according to an embodiment of the present disclosure. As shown in FIG3 , the flow chart includes the following steps:

[0061] Step S302, determining a basic matrix of a non-binary quasi-cyclic LDPC code, wherein the basic matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix;

[0062] In an exemplary embodiment, the dimension of the basic matrix is ​​Mb×Nb, and the first M1 rows and the first N1 columns of the basic matrix constitute a first submatrix, where Mb, Nb, M1, and N1 are all integers greater than 0, and M1<Mb, N1<Nb.

[0063] In an exemplary embodiment, the first M1 rows and Kb+1 to N1 columns of the base matrix form a first submatrix block, where Kb is the number of system columns, Kb=N1-M1, and the structural features of the first submatrix block or the first submatrix block after row exchange include at least one of the following: diagonal structure, dual diagonal structure, approximately dual diagonal structure, triangular matrix structure, and combined structure.

[0064] The structural characteristics of the approximate dual diagonal structure are: there is a column with structural characteristics different from the corresponding column of the dual diagonal structure, while the remaining columns remain the same as the dual diagonal structure, and the columns with different structural characteristics are: the first submatrix block with the dual diagonal structure always has a column (the first column or the last column) containing only one second element and the remaining elements are first elements, while the first submatrix block with the approximate dual diagonal structure contains at least two second elements in this column, wherein the first and last elements of the column are second elements, and the elements at the remaining positions of the column can be the first element or the second element.

[0065] The second element in the basis matrix is ​​expanded to the cyclic shift matrix of the identity matrix of dimension Z×Z Get the extended matrix, where the dimension of the basic matrix is ​​Mb×Nb, the dimension of the extended matrix is ​​(Mb×Z)×(Nb×Z), Z is the lifting factor, Mb, Nb, and Z are all positive integers. is the second element, i is the row index of the second element in the base matrix, and j is the column index of the second element in the base matrix.

[0066] Step S306, obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to the non-binary values ​​of the non-zero positions in the extended matrix;

[0067] In actual implementation, there are different ways to obtain the parity check matrix of the non-binary quasi-cyclic LDPC code according to the non-binary values ​​of the non-zero positions in the extended matrix, as follows:

[0068] In an exemplary embodiment, a parity check matrix of a non-binary quasi-cyclic LDPC code is obtained based on non-binary values ​​of non-zero positions in an extended matrix, including: determining non-binary values ​​of non-zero positions in the extended matrix, replacing elements at the non-zero positions with a corresponding non-zero element in a non-binary Galois field number set, and obtaining the parity check matrix.

[0069] In an exemplary embodiment, elements at non-zero positions in an extended matrix are replaced with corresponding non-zero elements in a non-binary Galois Field number set according to a determined parameter, wherein the determined parameter includes at least one of the following: the size of the non-binary Galois Field number set; the primitive element of the non-binary Galois Field number set; the second element; the lifting factor of the base matrix; the row index of the second element in the base matrix; the column index of the second element in the base matrix; the row index of the non-zero position in the extended matrix; and the column index of the non-zero position in the extended matrix.

[0070] In an exemplary embodiment, a parity check matrix of a non-binary quasi-cyclic LDPC code is obtained based on the non-binary values ​​of the non-zero positions in the extended matrix, including: converting the extended matrix into a cyclic shift matrix of a unit matrix with a dimension of Z×Z Replace with x is a non-zero element of the non-binary Galois Field number set.

[0071] In an exemplary embodiment, a parity check matrix of a non-binary quasi-cyclic LDPC code is obtained based on the non-binary values ​​of the non-zero positions in the extended matrix, including: converting the extended matrix into a cyclic shift matrix of a unit matrix with a dimension of Z×Z Replace with Obtain a parity check matrix, where Z(x)=diag{x,αx,α 2 x,…,α Z-1 x}, diag{} represents a diagonal matrix, α is a primitive element of the non-binary Galois field number set, and x is a non-zero element of the non-binary Galois field number set.

[0072] Step S308 : performing non-binary quasi-cyclic LDPC code encoding on the input information bit sequence based on the parity check matrix to obtain a codeword sequence to be transmitted.

[0073] Through the above steps, a basic matrix of a non-binary quasi-cyclic LDPC code is determined, wherein the basic matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; the basic matrix is ​​expanded according to a lifting factor to obtain an extended matrix; a parity check matrix of the non-binary quasi-cyclic LDPC code is obtained based on the non-binary values ​​of non-zero positions in the extended matrix; and a non-binary quasi-cyclic LDPC code is encoded on the input information bit sequence based on the parity check matrix to obtain a codeword sequence to be transmitted. The problem of high storage space and complex encoding process of non-binary LDPC codes in some cases is solved, thereby achieving the effect of reducing the storage space of non-binary LDPC codes and simplifying the encoding process.

[0074] The execution entity of the above steps may be a base station, a terminal, etc., but is not limited thereto.

[0075] Through the description of the above implementation methods, the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD-ROM), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the method described in the embodiment of the present disclosure.

[0076] In this embodiment, a non-binary quasi-cyclic LDPC code encoding device is also provided, which is used to implement the above-mentioned embodiments. The details already described will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0077] Figure 4 is a structural block diagram of a non-binary quasi-cyclic LDPC code encoding device according to an embodiment of the present disclosure. As shown in Figure 4, the encoding device 40 includes: a determination module 410, used to determine a basic matrix of a non-binary quasi-cyclic LDPC code, wherein the basic matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; an expansion module 420, used to expand the basic matrix according to a lifting factor to obtain an extended matrix; an acquisition module 430, used to obtain a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-binary values ​​of non-zero positions in the extended matrix; and an encoding module 440, used to perform non-binary quasi-cyclic LDPC code encoding on an input information bit sequence based on the parity check matrix to obtain a codeword sequence to be transmitted.

[0078] It should be noted that the above modules can be implemented through 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.

[0079] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0080] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0081] An embodiment of the present disclosure further provides an electronic device, including 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 steps in any one of the above method embodiments.

[0082] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0083] In this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0084] Obviously, the modules or steps of the above-mentioned embodiments of the present disclosure can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented using program code executable by the 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 performed in a different order than herein, or they can be made into separate integrated circuit modules, or multiple modules or steps can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.

[0085] In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the following is an elaboration with reference to scenario embodiments.

[0086] Scenario Example 1

[0087] This embodiment of the scenario provides a non-binary quasi-cyclic LDPC code encoding method applied to the network architecture shown in FIG2 , including the following steps:

[0088] 1. Determine the basic matrix Hb;

[0089] The dimension of the basic matrix is ​​Mb×Nb, where Mb and Nb are both integers greater than 0. The basic matrix Hb includes two elements: an element indicating an all-zero square matrix and an element indicating a cyclic shift value of the unit matrix. The dimensions of the all-zero square matrix and the unit matrix are both Z×Z, where Z is the lifting factor and Z is a positive integer. The dimension of the extended matrix H is (Mb×Z)×(Nb×Z), which is obtained by expanding the basic matrix based on the lifting factor; the "1" elements in the extended matrix H are replaced by non-zero elements in the non-binary Galois field number set to obtain the parity check matrix H of the non-binary quasi-cyclic LDPC code. q .

[0090] In the first submatrix composed of the first M1 rows and the first N1 columns of the basic matrix Hb of the non-binary quasi-cyclic LDPC code (M1=N1-Kb, Kb is the number of system columns), its check column part, that is, the submatrix block composed of the first M1 rows and columns Kb+1 to N1 of the basic matrix Hb, or after row exchange, has at least one of the following characteristics: diagonal structure, dual diagonal structure, approximately dual diagonal structure, triangular matrix structure, and combined structure.

[0091] The forms of the above structural features are introduced below.

[0092] Figure 5 is a schematic diagram of the diagonal structure according to an embodiment of the scenario of the present disclosure. As shown in Figure 5, the elements on the positive diagonal or anti-diagonal lines of the submatrix composed of check columns are elements indicating the cyclic shift values ​​of the unit matrix, and the remaining elements are elements indicating the all-zero square matrix.

[0093] Figure 6 is a schematic diagram of a dual diagonal structure according to an embodiment of a scenario of the present disclosure. As shown in Figure 6, the elements on the positive (negative) diagonal of the submatrix composed of the check column are elements indicating the cyclic shift value of the unit matrix, and the elements in the same column as the positive (negative) diagonal elements and with a row index value greater than 1 are also elements indicating the cyclic shift value of the unit matrix, while the remaining elements are elements indicating an all-zero square matrix, which is called a lower positive (negative) dual diagonal structure; alternatively, the elements on the positive (negative) diagonal of the check column part are elements indicating the cyclic shift value of the unit matrix, and the elements in the same column as the positive (negative) diagonal elements and with a row index value less than 1 are also elements indicating the cyclic shift value of the unit matrix, while the remaining elements are elements indicating an all-zero square matrix, which is called an upper positive (negative) dual diagonal structure.

[0094] FIG7 is a schematic diagram of an approximate dual-diagonal structure according to an embodiment of the present disclosure. As shown in FIG7 , a submatrix composed of parity columns has one column with structural characteristics different from the corresponding column of the dual-diagonal structure, while the remaining columns remain the same as the dual-diagonal structure. The columns with different structural characteristics are: a submatrix with a dual-diagonal structure always has a column (the first or last column) containing only one element indicating the cyclic shift value of the unit matrix, and the remaining elements are all-zero square matrix elements. However, a submatrix with an approximate dual-diagonal structure contains at least two elements indicating the cyclic shift value of the unit matrix in this column, where the first and last elements of the column are elements indicating the cyclic shift value of the unit matrix, while the elements at the remaining positions of the column can be all-zero square matrix elements or elements indicating the cyclic shift value of the unit matrix. This column is referred to as a column with structural characteristics different from the dual-diagonal structure, as shown in FIG7 . Furthermore, the matrix obtained after expansion of the parity column portion having the approximate dual-diagonal structure based on the lifting factor is full rank. There are some typical forms. For example, in the column embodying the structural feature different from the dual diagonal structure, the cyclic shift value of only one element indicating the cyclic shift value of the unit matrix cyclic shift value is different from the cyclic shift values ​​of the remaining elements indicating the cyclic shift value of the unit matrix cyclic shift value in the column, while the cyclic shift value elements indicating the unit matrix cyclic shift value in the same column in the remaining columns have the same cyclic shift value, and the cyclic shift value elements indicating the unit matrix cyclic shift value with the same cyclic shift value are also the same submatrix on the Z×Z Galois Field obtained after expansion based on the lifting factor. For example, in the column embodying the structural feature different from the dual diagonal structure, there is always one element indicating the cyclic shift value of the unit matrix cyclic shift value that is different from the cyclic shift values ​​of the other elements indicating the cyclic shift value, while every even number of the remaining elements indicating the cyclic shift value in the column have the same cyclic shift value, the cyclic shift value elements indicating the unit matrix cyclic shift value in the same column in the remaining columns have the same cyclic shift value, and the cyclic shift value elements indicating the unit matrix cyclic shift value with the same cyclic shift value are also the same submatrix on the Z×Z Galois Field obtained after expansion based on the lifting factor. For example, in the columns that embody the structural feature different from the dual diagonal structure, an odd number of elements indicating unit matrix cyclic shift values ​​have the same cyclic shift value, and an even number of elements indicating unit matrix cyclic shift values ​​in the column have the same cyclic shift value, and the elements indicating unit matrix cyclic shift value in the same column in the remaining columns have the same cyclic shift value, and the submatrices of the elements indicating unit matrix cyclic shift value with the same cyclic shift value on the Z×Z Galois field obtained after expansion based on the lifting factor are also the same.

[0095] Figure 8 is a schematic diagram of a triangular matrix structure according to an embodiment of a scenario of the present disclosure. As shown in Figure 8, the elements on the positive (negative) diagonal of the submatrix composed of check columns are elements indicating the cyclic shift value of the unit matrix, all elements in the same column as the positive (negative) diagonal and with a larger row index are elements indicating an all-zero square matrix, and the elements at other positions may be elements indicating the cyclic shift value of the unit matrix or elements indicating an all-zero square matrix, which is referred to as an upper positive (negative) triangular matrix structure; alternatively, the elements on the positive (negative) diagonal of the submatrix composed of check columns are elements indicating the cyclic shift value of the unit matrix, all elements in the same column as the positive (negative) diagonal and with a smaller row index are elements indicating an all-zero square matrix, and the elements at other positions may be elements indicating the cyclic shift value of the unit matrix or elements indicating an all-zero square matrix, which is referred to as a lower positive (negative) triangular matrix structure.

[0096] Figure 9 is a schematic diagram of the combined structure according to an embodiment of the scenario of the present disclosure. As shown in Figure 9, the M1×M1 matrix composed of check columns is divided into four sub-matrix blocks, two of which have any of the above-mentioned structural features, and at least one of the two rectangular matrixes is an all-zero matrix.

[0097] In this scenario embodiment, the second submatrix composed of the first M1 rows and the last Nb-N1 columns of the basic matrix of the non-binary quasi-cyclic LDPC code is an all-zero matrix. The M1+1th row to the Mbth row (i.e., the last Mb-M1 rows) and all columns of the basic matrix of the non-binary quasi-cyclic LDPC code constitute a third submatrix, and the third submatrix is ​​used to support low-code-rate non-binary quasi-cyclic LDPC coding. The dimension of the third submatrix is ​​M2×Nb, where M2=Mb-M1. All rows and the last M2 columns of the third submatrix have at least one of the following structural features, or have at least one of the following structural features after row transformation: diagonal structure; dual diagonal structure; approximately dual diagonal structure; triangular matrix structure; combined structure.

[0098] 2. Determine the expansion matrix H based on the basic matrix and the lifting factor;

[0099] The base matrix is ​​expanded based on the lifting factor to obtain the extended matrix H, which is: the element indicating the all-zero square matrix in the base matrix Hb is expanded to a Z×Z all-zero square matrix; the element indicating the unit matrix cyclic shift value in the base matrix Hb is expanded to a Z×Z unit matrix cyclic shift matrix. Furthermore, given the element indicating the unit matrix cyclic shift value located in the i-th row and j-th column of Hb, The position index of "1" in the expanded matrix in H is recorded as (m, n) (the default index in the disclosed embodiment starts from 0), and m = i*Z + it. Where it is the row index of the current "1" in the corresponding Z×Z unit matrix cyclic shift matrix, and mod(x,y) represents the remainder of x divided by y. The superscript b in is only used as a marker, indicating that the element is an element in the basic matrix Hb and has no actual physical meaning.

[0100] 3. Determine the non-binary values ​​of the non-zero positions in the extended matrix H to obtain the parity check matrix H of the non-binary quasi-cyclic LDPC code q ;

[0101] After the base matrix is ​​expanded based on the lifting factor to obtain the extended matrix H, its non-zero element "1" is replaced by the non-zero element in the non-binary Galois field number set to obtain the parity check matrix H of the non-binary quasi-cyclic LDPC code q Assuming that the Galois Field (GF) is GF(q), its primitive element is α, and the corresponding primitive polynomial is p(x), then the non-zero element replacement method is to replace the "1" in the extended matrix H with a non-zero element in the Galois Field non-zero element set {1,2,3,…,q-1}, where there is a one-to-one mapping relationship between the element value of the Galois Field non-zero element and the power of the primitive element. In some cases, the i-th power α of the primitive element i The corresponding non-zero value is X i The decimal representation of the coefficients of the remainder polynomial obtained by dividing the primitive polynomial p(x). For example, given the primitive polynomial of the Galois Field GF(8) is p(x) = x 3 +x+1, the corresponding relationship between the various powers of its primitive elements and the various non-zero element values ​​is shown in Table 1.

[0102] Table 1 GF(8) in the primitive polynomial p(x)=x 3 The corresponding relationship between the non-zero elements generated under +x+1 and the power of α

[0103] In the method of replacing "1" in the extended matrix H with a non-zero element in the Galois field non-zero element set {1,2,3,…,q-1}, the non-zero element is determined by at least one of the following parameters: the size q of the Galois field; the primitive element α of the Galois field; the element indicating the cyclic shift value of the unit matrix Lifting factor Z; indicates the cyclic shift value element of the unit matrix Row index i in the base matrix Hb; indicates the cyclic shift value element of the identity matrix The row index j in the basic matrix Hb; the row index m of the "1" to be replaced in the extended matrix H; the column index n of the "1" to be replaced in the extended matrix H.

[0104] In this embodiment, three methods are listed to replace the "1" in the extended matrix H with a non-zero element in the Galois Field non-zero element set {1, 2, 3, ..., q-1}, including:

[0105] (1) The cyclic shift matrix of each Z×Z unit matrix in the extended matrix H ( The indicator unit matrix cyclic shift value element in the base matrix Hb is replaced by Wherein, x is an element in the Galois Field non-zero number set {1, 2, 3, …, q-1}, and is determined by at least one of the above-mentioned determination parameters. Depending on different determination parameters, x has different forms, for example:

[0106] Among them, addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0107] or, Among them, α is the primitive element in GF(q), and addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0108] Or, x=mod(|i±j|,q-1)+1, where i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0109] Alternatively, x = α mod (|i ± j |, q - 1), where α is the primitive element in GF (q), i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0110] Or, x=mod(|i±n r |,q-1)+1, where i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0111] or, Among them, α is the primitive element in GF(q), i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0112] Or, x = mod (|j ± m r |,q-1)+1, where j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0113] or, Among them, α is the primitive element in GF(q), j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0114] Or, x = mod (|m r ±n r |,q-1)+1, where m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0115] or, Among them, α is the primitive element in GF(q), m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0116] Or, x=mod(m r ,q-1)+1, where m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, m r , q and 1 are all integers in the real number field;

[0117] or, Among them, α is the primitive element in GF(q), m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, m r , q and 1 are all integers in the real number field;

[0118] Or, x=mod(n r ,q-1)+1, where n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, n r , q and 1 are all integers in the real number field;

[0119] or, Among them, α is the primitive element in GF(q), n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, n r , q and 1 are all integers in the real number field.

[0120] (2) The cyclic shift matrix of each Z×Z unit matrix in the extended matrix H Replace with Where Z(x)=diag{x,αx,α 2 x,…,α Z-1 x}, diag{} represents a diagonal matrix, α is a primitive element in GF(q), and x is an element in the set of non-zero elements in the Galois Field {1,2,3,…,q-1}, determined by at least one of the above parameters, for example:

[0121] Among them, addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0122] or, Among them, α is the primitive element in GF(q), and addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0123] Or, x=mod(|i±j|,q-1)+1, where i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0124] Alternatively, x = α mod (|i ± j |, q - 1), where α is the primitive element in GF (q), i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0125] Or, x=mod(|i±n r |,q-1)+1, where i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0126] or, Among them, α is the primitive element in GF(q), i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0127] Or, x = mod (|j ± m r |,q-1)+1, where j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0128] or, Among them, α is the primitive element in GF(q), j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0129] Or, x = mod (|m r ±n r |,q-1)+1, where m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0130] or, Among them, α is the primitive element in GF(q), m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0131] Or, x=mod(m r ,q-1)+1, where m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, m r , q and 1 are all integers in the real number field;

[0132] or, Among them, α is the primitive element in GF(q), m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, m r , q and 1 are all integers in the real number field;

[0133] Or, x=mod(n r ,q-1)+1, where n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, n r , q and 1 are all integers in the real number field;

[0134] or, Among them, α is the primitive element in GF(q), n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, n r , q and 1 are all integers in the real number field.

[0135] (3) Each non-zero element "1" in the extended matrix H is replaced by a non-zero element in the Galois field number set, where the non-zero element is determined by at least one of the above parameters, for example:

[0136] h m,n =mod(|m±n|,q-1)+1, where m and n represent the non-zero elements h m,n The row and column indices of the "1" to be replaced in the expanded matrix H, |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, and m, n, q and 1 are all integers on the real number field;

[0137] Or, h m,n =αmod(|m±n|,q-1), where α is the primitive element in GF(q), m and n represent the non-zero elements h m,n The row and column indices of the "1" to be replaced in the expanded matrix H, |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, and m, n, q and 1 are all integers on the real number field;

[0138] Or, h m,n =mod(n,q-1)+1, where n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, the addition and subtraction operations are operations on the real number field, and n, q and 1 are all integers in the real number field;

[0139] Or, h m,n =αmod(n,q-1), where α is the primitive element in GF(q), and n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, the subtraction operation is an operation on the real number field, and n, q and 1 are all integers on the real number field;

[0140] Or, h m,n =mod(|n±i|,q-1)+1, where n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, i represents the non-zero element h m,n The Z×Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The row index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and n, i, q and 1 are all integers on the real number field;

[0141] Or, h m,n =αmod(|n±i|,q-1), where α is the primitive element in GF(q), and n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, i represents the non-zero element h m,n The Z×Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The row index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and n, i, q and 1 are all integers on the real number field;

[0142] Or, h m,n =mod(m,q-1)+1, where m represents a non-zero element h m,n The row index of the "1" to be replaced in the expanded matrix H, the addition and subtraction operations are operations on the real number field, and m, q and 1 are all integers in the real number field;

[0143] Or, h m,n =αmod(m,q-1), where α is the primitive element in GF(q), and m represents the non-zero element h m,n The row index of the "1" to be replaced in the expanded matrix H, the subtraction operation is an operation on the real number field, and m, q and 1 are all integers on the real number field;

[0144] Or, h m,n =mod(|m±j|,q-1)+1, where m represents a non-zero element h m,n The row index of the "1" to be replaced in the extended matrix H, j represents the non-zero element h m,n The Z×Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The column index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and m, j, q and 1 are all integers on the real number field;

[0145] Or, h m,n =αmod(|m±j|,q-1), where α is the primitive element in GF(q) and m represents the non-zero element h m,n The row index of the "1" to be replaced in the extended matrix H, j represents the non-zero element h m,n The Z×Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The column index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and m, j, q and 1 are all integers on the real number field.

[0146] 4. Based on the parity check matrix H q The input information bit sequence is encoded with a non-binary LDPC code to obtain a codeword sequence to be sent.

[0147] Scenario Example 2

[0148] FIG10 is a schematic diagram of the basic matrix structure according to an embodiment of the present disclosure. As shown in FIG10 , in the first submatrix composed of the first M1 rows and the first N1 columns of the basic matrix Hb of the non-binary quasi-cyclic LDPC code (M1=N1-Kb, Kb is the number of system columns), its check column part, that is, the M1×M1 square matrix composed of the first M1 rows and Kb+1 columns to N1 columns of the basic matrix Hb, has a diagonal structure, or has a diagonal structure after row exchange. The first M1 rows and the last N1 columns of the basic matrix of the non-binary quasi-cyclic LDPC code are the first submatrix (M1=N1-Kb, Kb is the number of system columns). b The second sub-matrix composed of -N1 is an all-zero matrix. The M1+1th row to the Mth row of the basic matrix of the non-binary quasi-cyclic LDPC code b row (ie, after M b -M1 rows) and all columns constitute a third submatrix, which is used to support low-rate non-binary quasi-cyclic LDPC coding. The dimension of the third submatrix is ​​M2×Nb, where M2=Mb-M1, and the M2×M2 block composed of all rows and the last M2 columns has a diagonal structure, or has a diagonal structure after row swapping.

[0149] The basic matrix shown in FIG10 is expanded based on the lifting factor to obtain the extended matrix H, which is: the element indicating the all-zero square matrix in the basic matrix Hb is expanded to a Z×Z all-zero square matrix; the element indicating the unit matrix cyclic shift value in the basic matrix Hb is expanded to a Z×Z unit matrix cyclic shift matrix. Furthermore, given the element indicating the unit matrix cyclic shift value located in the i-th row and j-th column of Hb, The position index of the "1" in the expanded matrix in H is recorded as (m, n) (the default index in the disclosed embodiment starts from 0), and m = i*Z+it, Where it is the row index of the current "1" in the corresponding Z×Z unit matrix cyclic shift matrix, and mod(x,y) represents the remainder of x divided by y.

[0150] After the basic matrix is ​​expanded based on the lifting factor to obtain the extended matrix H, its non-zero element "1" is replaced by the non-zero element in the non-binary Galois Field number set to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. Assuming that the set Galois Field (GF) is GF(q), its primitive element is α, and the corresponding primitive polynomial is p(x), then the non-zero element replacement method is to replace the "1" in the extended matrix H with a non-zero element in the Galois Field non-zero element set {1,2,3,…,q-1}, wherein there is a one-to-one mapping relationship between the element value of the Galois Field non-zero element and the power of the primitive element. In some cases, the i-th power α of the primitive element i The corresponding non-zero value is X iThe decimal representation of the coefficients of the remainder polynomial obtained by dividing the primitive polynomial p(x). In the method of replacing the "1" in the extended matrix H with a non-zero element in the Galois field non-zero element set {1,2,3,...,q-1}, the non-zero element is determined by at least one of the following parameters: the size q of the Galois field; the primitive element α of the Galois field; the element indicating the cyclic shift value of the unit matrix Lifting factor Z; indicates the cyclic shift value element of the unit matrix Row index i in the base matrix Hb; indicates the cyclic shift value element of the identity matrix The row index j in the basic matrix Hb; the row index m of the "1" to be replaced in the extended matrix H; the column index n of the "1" to be replaced in the extended matrix H.

[0151] According to the different structural features of the basic matrix in this embodiment, this embodiment also provides three methods for replacing the "1" in the extended matrix H with a non-zero element in the Galois Field non-zero element set {1, 2, 3, ..., q-1}, as follows:

[0152] (1) The cyclic shift matrix of each Z×Z unit matrix in the extended matrix H ( The indicator unit matrix cyclic shift value element in the base matrix Hb is replaced by Where x is an element in the set of non-zero numbers in the Galois Field {1, 2, 3, …, q-1}, and is determined by at least one of the above parameters, for example:

[0153] Among them, addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0154] or, Among them, α is the primitive element in GF(q), and addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0155] Or, x=mod(|i±j|,q-1)+1, where i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0156] Alternatively, x = α mod (|i ± j |, q - 1), where α is the primitive element in GF (q), i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0157] Or, x=mod(|i±n r |,q-1)+1, where i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0158] or, Among them, α is the primitive element in GF(q), i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0159] Or, x = mod (|j ± m r |,q-1)+1, where j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0160] or, Among them, α is the primitive element in GF(q), j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0161] Or, x = mod (|m r ±n r |,q-1)+1, where m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0162] or, Among them, α is the primitive element in GF(q), m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0163] Or, x=mod(m r ,q-1)+1, where m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, m r , q and 1 are all integers in the real number field;

[0164] or, Among them, α is the primitive element in GF(q), m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, m r , q and 1 are all integers in the real number field;

[0165] Or, x=mod(n r ,q-1)+1, where n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, n r , q and 1 are all integers in the real number field;

[0166] or, Among them, α is the primitive element in GF(q), n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, n r , q and 1 are all integers in the real number field.

[0167] (2) The cyclic shift matrix of each Z×Z unit matrix in the extended matrix H Replace with Where Z(x)=diag{x,αx,α 2 x,…,α Z-1 x}, diag{} represents a diagonal matrix, α is a primitive element in GF(q), and x is an element in the set of non-zero elements in the Galois Field {1,2,3,…,q-1}, determined by at least one of the above parameters, for example:

[0168] Among them, addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0169] or, Among them, α is the primitive element in GF(q), and addition and subtraction operations are operations on the real number field. Both q and 1 are integers in the real number field;

[0170] Or, x=mod(|i±j|,q-1)+1, where i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0171] Alternatively, x = α mod (|i ± j |, q - 1), where α is the primitive element in GF (q), i and j represent In the row and column indices of the basic matrix Hb, |·| represents absolute value operations, addition and subtraction operations are operations on the real number field, and i, j, q, and 1 are all integers on the real number field;

[0172] Or, x=mod(|i±nr |,q-1)+1, where i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0173] or, Among them, α is the primitive element in GF(q), i represents The row index in the base matrix Hb, n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, i, n r , q and 1 are all integers in the real number field;

[0174] Or, x = mod (|j ± m r |,q-1)+1, where j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0175] or, Among them, α is the primitive element in GF(q), j represents Column index in the base matrix Hb, m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, j, m r , q and 1 are all integers in the real number field;

[0176] Or, x = mod (|m r ±n r |,q-1)+1, where m r and n rDenote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0177] or, Among them, α is the primitive element in GF(q), m r and n r Denote the identity matrix cyclic shift matrix The row index and column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the transmitting and receiving ends of the communication system, such as fixed to 0), |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, m r 、n r , q and 1 are all integers in the real number field;

[0178] Or, x=mod(m r ,q-1)+1, where m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, m r , q and 1 are all integers in the real number field;

[0179] or, Among them, α is the primitive element in GF(q), m r represents the cyclic shift matrix of the identity matrix The row index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, m r , q and 1 are all integers in the real number field;

[0180] Or, x=mod(n r ,q-1)+1, where n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), the addition and subtraction operations are operations on the real number field, n r , q and 1 are all integers in the real number field;

[0181] or, Among them, α is the primitive element in GF(q), n r represents the cyclic shift matrix of the identity matrix The column index of the "1" to be replaced in the rth row in the extended matrix H (the selection rule of r is agreed upon by the communication system's transceiver, such as fixed to 0), |·| represents absolute value operation, subtraction operation is an operation on the real number field, n r , q and 1 are all integers in the real number field.

[0182] (3) Each non-zero element "1" in the extended matrix H is replaced by a non-zero element in the Galois field number set, where the non-zero element is determined by at least one of the above parameters, for example:

[0183] h m,n =mod(|m±n|,q-1)+1, where m and n represent the non-zero elements h m,n The row and column indices of the "1" to be replaced in the expanded matrix H, |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, and m, n, q and 1 are all integers on the real number field;

[0184] Or, h m,n =αmod(|m±n|,q-1), where α is the primitive element in GF(q), m and n represent the non-zero elements h m,n The row and column indices of the "1" to be replaced in the expanded matrix H, |·| represents absolute value operation, addition and subtraction operations are operations on the real number field, and m, n, q and 1 are all integers on the real number field;

[0185] Or, h m,n =mod(n,q-1)+1, where n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, the addition and subtraction operations are operations on the real number field, and n, q and 1 are all integers in the real number field;

[0186] Or, h m,n =αmod(n,q-1), where α is the primitive element in GF(q), and n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, the subtraction operation is an operation on the real number field, and n, q and 1 are all integers on the real number field;

[0187] Or, h m,n =mod(|n±i|,q-1)+1, where n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, i represents the non-zero element h m,n The Z*Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The row index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and n, i, q and 1 are all integers on the real number field;

[0188] Or, h m,n =αmod(|n±i|,q-1), where α is the primitive element in GF(q), and n represents the non-zero element h m,n The column index of the "1" to be replaced in the expanded matrix H, i represents the non-zero element h m,n The Z*Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The row index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real field, and n, i, q and 1 are all integers on the real field.

[0189] Or, h m,n =mod(m,q-1)+1, where m represents the non-zero element h m,n The row index of the "1" to be replaced in the expanded matrix H, the addition and subtraction operations are operations on the real number field, and m, q and 1 are all integers in the real number field;

[0190] Or, h m,n =αmod(m,q-1), where α is the primitive element in GF(q), and m represents the non-zero element h m,n The row index of the "1" to be replaced in the expanded matrix H, the subtraction operation is an operation on the real number field, and m, q and 1 are all integers on the real number field;

[0191] Or, h m,n =mod(|m±j|,q-1)+1, where m represents a non-zero element h m,n The row index of the "1" to be replaced in the extended matrix H, j represents the non-zero element h m,n The Z*Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The column index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and m, j, q and 1 are all integers on the real number field;

[0192] Or, h m,n =αmod(|m±j|,q-1), where α is the primitive element in GF(q), and m represents the non-zero element h m,n The row index of the "1" to be replaced in the extended matrix H, j represents the non-zero element h m,nThe Z×Z unit matrix cyclic shift matrix where the "1" to be replaced is located The corresponding indicator unit matrix cyclic shift value element The column index in the basic matrix Hb, |·| represents the absolute value operation, the addition and subtraction operations are operations on the real number field, and m, j, q and 1 are all integers on the real number field.

[0193] Afterwards, non-binary quasi-cyclic LDPC coding is performed based on the parity check matrix Hq of the non-binary quasi-cyclic LDPC code and the non-binary sequence to be encoded, which is:

[0194] Let the bit sequence to be encoded be converted into the non-binary sequence to be encoded u=[u0,u1,…,u K-1 ], where u i ∈{0,1,2,…,q-1}, then the lifting factor Z=K / Kb. Let the encoded codeword sequence be c=[u,p]=[u0,u1,…,u K-1 ,p0,p1,…,p M-1 ], where M=Mb*Z, K+M=N=Nb×Z, then H q ·[u,p] T =[H u ,H p ]·[u,p] T =0

[0195] That is, H p p T =H u u T , where H u and H p They represent the system block and check block in the parity check matrix Hq, that is, Hq = [H u ,H p ], that is, H u It is composed of the first K columns in the parity check matrix Hq (dimension is M×K), H p It is composed of the last M columns in the parity check matrix Hq (the dimension is M×M).

[0196] Based on the above structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the first M1×Z rows of Hq are all single-check rows, and the check element of the current row can be directly obtained from the current row vector of Hq and the sequence to be encoded. Furthermore, the last M2×Z rows of Hq also have only one unknown check bit, which is called a single unknown check row. The check element of the current row can be directly obtained from the current row vector of Hq, the sequence to be encoded, and the known check elements of the first M1×Z. Therefore, the encoding method based on Hq avoids the matrix inversion operation on the Galois field, can speed up the encoding speed, and reduce the complexity. The algorithm is as follows:

[0197] Scenario Implementation Three

[0198] The difference between the third scenario embodiment and the second scenario embodiment is that the check column part of the first submatrix, that is, the first submatrix square matrix M1×M1 composed of the first M1 rows and Kb+1 columns to N1 columns of the basic matrix Hb has a dual diagonal structure, or has a dual diagonal structure after row exchange. The dual diagonal structure of the first submatrix block of the basic matrix can have different forms, wherein Figure 11 is a structural diagram of the basic matrix with a lower dual positive diagonal structure according to the first submatrix block of the scenario embodiment of the present disclosure. As shown in Figure 11, all rows and the last M1 columns of the first submatrix of the basic matrix have a lower dual positive diagonal structure. Figure 12 is a structural diagram of the basic matrix with an upper dual positive diagonal structure according to the first submatrix block of the scenario embodiment of the present disclosure. As shown in Figure 12, all rows and the last M1 columns of the first submatrix of the basic matrix have an upper dual positive diagonal structure. FIG13 is a schematic diagram of the structure of a basic matrix according to an embodiment of the present disclosure, wherein the first submatrix block has a lower double-opposite diagonal structure. As shown in FIG13 , all rows and the last M1 columns of the first submatrix of the basic matrix have a lower double-opposite diagonal structure. FIG14 is a schematic diagram of the structure of a basic matrix according to an embodiment of the present disclosure, wherein the first submatrix block has an upper double-opposite diagonal structure. As shown in FIG14 , all rows and the last M1 columns of the first submatrix of the basic matrix have an upper double-opposite diagonal structure.

[0199] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0200] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0201] Based on the above structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the first sub-matrix block always has a single check row in the first row or the last row. After the row is expanded, the corresponding check element can be directly obtained from the row vector corresponding to Hq and the sequence to be encoded. Then, the remaining rows of the first sub-matrix block are single unknown check rows in turn. Similarly, all rows of the third sub-matrix block are single unknown check rows. After expansion, the single unknown check element of each row can be directly obtained from the current row vector of Hq, the known check element and the sequence to be encoded. Therefore, the encoding method based on Hq avoids the matrix inversion operation on the Galois field, can speed up the encoding speed, and reduce the complexity. The algorithm is as follows:

[0202] Scenario Example 4

[0203] The difference between this embodiment and the second scenario embodiment is that the M1×M1 block composed of all rows and the last M1 columns of the first submatrix has an approximate dual diagonal structure, or has an approximate dual diagonal structure after row exchange. The approximate dual diagonal structure of the first submatrix block of the basic matrix can have different forms. Figure 15 is a structural diagram of a basic matrix according to an embodiment of the scenario of the present disclosure, in which the first submatrix block has an approximate lower dual positive diagonal structure. As shown in Figure 15, all rows and the last M1 columns of the first submatrix of the basic matrix have an approximate lower dual positive diagonal structure. Figure 16 is a structural diagram of a basic matrix according to an embodiment of the scenario of the present disclosure, in which the first submatrix block has an approximate upper dual positive diagonal structure. As shown in Figure 16, all rows and the last M1 columns of the first submatrix of the basic matrix have an approximate upper dual positive diagonal structure. Figure 17 is a structural diagram of a basic matrix according to an embodiment of the scenario of the present disclosure, in which the first submatrix block has an approximate lower dual anti-diagonal structure. As shown in Figure 17, all rows and the last M1 columns of the first submatrix of the basic matrix have an approximate lower dual anti-diagonal structure. Figure 18 is a structural diagram of a basic matrix in which the first sub-matrix block has an approximately upper double anti-diagonal structure according to an embodiment of the present disclosure scenario. As shown in Figure 18, all rows and the last M1 columns of the first sub-matrix of the basic matrix have an approximately upper double anti-diagonal structure.

[0204] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0205] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0206] Based on the above-mentioned structural features of the base matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can implement encoding based on Hq. The difference between this embodiment and the second embodiment is that the first submatrix block does not have a single parity check row in the first row or the last row. In this embodiment, the parity check column portion of the first submatrix block of the base matrix Hb is a full-rank matrix obtained after expansion based on the lifting factor. Its typical form is, for example, in a column that reflects the structural feature different from the dual diagonal structure, there is only one element indicating the cyclic shift value of the unit matrix cyclic shift value, and the cyclic shift value of the remaining elements indicating the unit matrix cyclic shift value in the column is different from the cyclic shift value of the remaining elements indicating the unit matrix cyclic shift value, while the elements indicating the unit matrix cyclic shift value in the same column in the remaining columns have the same cyclic shift value, and the elements indicating the unit matrix cyclic shift value with the same cyclic shift value are also the same submatrix on the Z×Z Galois field obtained after expansion based on the lifting factor. Based on this, the Hq-based encoding method described in the embodiment of the present disclosure is as follows. The Hq-based encoding method avoids matrix inversion operations on the Galois field, can speed up encoding, and reduce complexity:

[0207] Scenario Example 5

[0208] The difference between this embodiment and the second scenario embodiment is that the M1×M1 square matrix composed of all rows and the last M1 columns of the first sub-matrix has a triangular matrix structure, or has a triangular matrix structure after row exchange. Among them, the triangular matrix structure of the first sub-matrix block of the basic matrix can have different forms. Figure 19 is a structural diagram of a basic matrix according to the embodiment of the scenario of the present disclosure, in which the first sub-matrix block has a lower positive triangular matrix structure. As shown in Figure 19, all rows and the last M1 columns of the first sub-matrix have a lower positive triangular matrix structure. Figure 20 is a structural diagram of a basic matrix according to the embodiment of the scenario of the present disclosure, in which the first sub-matrix block has an upper positive triangular matrix structure. As shown in Figure 20, all rows and the last M1 columns of the first sub-matrix have an upper positive triangular matrix structure. Figure 21 is a structural diagram of a basic matrix according to the embodiment of the scenario of the present disclosure, in which the first sub-matrix block has an upper inverse triangular matrix structure. As shown in Figure 21, all rows and the last M1 columns of the first sub-matrix have an upper inverse triangular matrix structure. Figure 22 is a structural diagram of a basic matrix in which the first sub-matrix block has a lower inverse triangular matrix structure according to an embodiment of the present disclosure. As shown in Figure 22, all rows and the back M1 of the first sub-matrix have a lower inverse triangular matrix structure.

[0209] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0210] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0211] Based on the above structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the first sub-matrix block always has a single check row in the first row or the last row. After the row is expanded, the corresponding check element can be directly obtained from the row vector corresponding to Hq and the sequence to be encoded. Then, the remaining rows of the first sub-matrix block are single unknown check rows in turn. Similarly, all rows of the third sub-matrix block are single unknown check rows. After expansion, the single unknown check element of each row can be directly obtained from the current row vector of Hq, the known check element and the sequence to be encoded. Therefore, the encoding method based on Hq avoids the matrix inversion operation on the Galois field, can speed up the encoding speed, and reduce the complexity. The algorithm is as follows:

[0212] Scenario Example 6

[0213] The difference between this embodiment and scenario embodiment 2 is that: Figure 23 is a structural diagram of the basic matrix according to the scenario embodiment of the present disclosure, in which the first sub-matrix block has a combined structure. As shown in Figure 23, the check column part of the first sub-matrix, that is, the M1*M1 block composed of the first M1 and Kb+1 to N1 columns of the basic matrix Hb, has a combined structure.

[0214] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0215] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0216] Based on the above-mentioned structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the M1×M1 square matrix composed of check columns in the first sub-matrix block is divided into four sub-matrix blocks, among which the sub-matrix in the same row as the all-zero sub-matrix has a diagonal structure, or a double diagonal structure, or an approximately double diagonal structure, or a triangular structure, and the corresponding check elements can be calculated by the encoding methods similar to the second to fifth scenario embodiments; furthermore, the remaining position check elements in the M1×M1 square matrix exist in another sub-matrix, and according to its diagonal structure, or double diagonal structure, or approximately double diagonal structure, or triangular structure, the corresponding check elements can also be calculated by the encoding methods similar to the second to fifth scenario embodiments; furthermore, the solution algorithm for the unknown check elements in the third sub-matrix block is the same as that in the second scenario embodiment, and will not be repeated.

[0217] Scenario Example 7

[0218] FIG24 is a schematic diagram of the overall structure of a base matrix according to an embodiment of the present disclosure. As shown in FIG24 , in the first submatrix consisting of the first M1 rows and the first N1 columns of the base matrix Hb of a non-binary quasi-cyclic LDPC code, the parity columns, namely the first M1 rows and columns Kb+1 to N1 of the base matrix Hb, have a diagonal structure, or a dual diagonal structure, or an approximately dual diagonal structure, or a triangular matrix structure, or a combination thereof, or have a diagonal structure, a dual diagonal structure, an approximately dual diagonal structure, a triangular matrix structure, or a combination thereof after row swapping. The second submatrix consisting of the first M1 rows and the last Nb-N1 rows of the base matrix of the non-binary quasi-cyclic LDPC code is an all-zero matrix. The third submatrix consisting of the M1+1th to Mbth rows (i.e., the last Mb-M1 rows) and all columns of the base matrix of the non-binary quasi-cyclic LDPC code is used to support low-rate non-binary quasi-cyclic LDPC coding. The dimension of the third submatrix is ​​M2×Nb, where M2=Mb−M1, and all rows and the last M2 columns have a dual diagonal structure, or have a dual diagonal structure after row exchange.

[0219] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0220] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0221] Based on the above-mentioned structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the M1×M1 square matrix composed of check columns in the first sub-matrix block has a diagonal structure, or a dual diagonal structure, or an approximately dual diagonal structure, or a triangular structure, or a combined structure, and the corresponding check elements can be calculated using the encoding methods of similar scenario embodiments two to six; furthermore, the unknown check column part in the third sub-matrix block has a dual diagonal structure, and the corresponding check elements can be solved using the encoding method of similar scenario embodiment three, which will not be repeated here.

[0222] Scenario Example 8

[0223] Figure 25 is a schematic diagram of the overall structure of the basic matrix according to the embodiment of the scenario of the present disclosure. As shown in Figure 25, the difference between this embodiment and scenario embodiment seven is that all rows and the last M2 columns of the third submatrix have an approximate dual diagonal structure, or a triangular matrix structure, or a combined structure, or have an approximate dual diagonal structure, or a triangular matrix structure, or a combined structure after row exchange.

[0224] The basic matrix is ​​expanded to obtain an extended matrix, which is then expanded based on the lifting factor Z to obtain an extended matrix H. The expansion process is the same as that in the second scenario embodiment and will not be described in detail.

[0225] According to the above-mentioned extended matrix, assuming that the set Galois field is GF(q), the "1" in the extended matrix H is replaced with a non-zero element in the Galois field non-zero element set {1, 2, 3, ..., q-1} to obtain the parity check matrix Hq of the non-binary quasi-cyclic LDPC code. The replacement method is the same as that in the second scenario embodiment and will not be repeated here.

[0226] Based on the above-mentioned structural features of the basic matrix of the parity check matrix Hq of the non-binary quasi-cyclic LDPC code, the encoding method described in the embodiment of the present disclosure can realize encoding based on Hq, that is, the M1×M1 square matrix composed of check columns in the first sub-matrix block has a diagonal structure, or a double diagonal structure, or an approximate double diagonal structure, or a triangular structure, or a combined structure, and the corresponding check elements can be calculated by the encoding methods of similar scenario embodiments two to six; furthermore, the unknown check column part in the third sub-matrix block has an approximate double diagonal structure, or a triangular matrix structure, or a combined structure, and the corresponding check elements can be solved by the encoding methods of similar scenario embodiments four to six, which will not be repeated here.

[0227] In summary, based on the above embodiments, the present disclosure proposes a non-binary quasi-cyclic LDPC code encoding method, which includes the following steps: determining a base matrix Hb; determining an extended matrix H based on the base matrix and a lifting factor; determining non-binary values ​​for non-zero positions in the extended matrix H to obtain a parity check matrix Hq for the non-binary quasi-cyclic LDPC code; and performing non-binary LDPC code encoding on an input information bit sequence based on the parity check matrix Hq to obtain a codeword sequence to be transmitted. The technical solution provided by the present disclosure can support efficient and fast encoding algorithms, reducing their storage space and encoding complexity.

[0228] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure should be included within the scope of protection of the present disclosure.

Claims

1. A non-binary quasi-cyclic low-density parity check code LDPC encoding method, comprising: Determine a base matrix of a non-binary quasi-cyclic LDPC code, wherein the base matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; Expanding the basic matrix according to the lifting factor to obtain an expanded matrix; Obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-binary values ​​of non-zero positions in the extended matrix; The input information bit sequence is encoded with a non-binary quasi-cyclic LDPC code based on the parity check matrix to obtain a codeword sequence to be sent.

2. The method according to claim 1, wherein: The dimension of the basic matrix is ​​Mb×Nb, and the first M1 rows and the first N1 columns of the basic matrix constitute a first submatrix, wherein Mb, Nb, M1, and N1 are all integers greater than 0, and M1<Mb, N1<Nb.

3. The method according to claim 2, wherein: The first M1 rows and Kb+1 to N1 columns of the basic matrix constitute a first submatrix block, wherein Kb is the number of system columns, Kb=N1-M1, and the structural features of the first submatrix block or the first submatrix block after row exchange include at least one of the following: diagonal structure, dual diagonal structure, approximate dual diagonal structure, triangular matrix structure, and combined structure.

4. The method according to claim 2, wherein: The first M1 rows and the last Nb-N1 columns of the basic matrix form a second sub-matrix, and the second sub-matrix is ​​an all-zero matrix.

5. The method according to claim 2, wherein: The M1+1th row to the Mbth row of the basic matrix and all the columns of the basic matrix constitute a third submatrix for supporting low-code-rate non-binary quasi-cyclic LDPC code encoding.

6. The method according to claim 5, wherein: The dimension of the third submatrix is ​​M2×Nb, all rows and the last M2 columns of the third submatrix form a third submatrix block, and the structural features of the third submatrix block or the third submatrix block after row exchange include at least one of the following: diagonal structure, dual diagonal structure, approximate dual diagonal structure, triangular matrix structure, and combined structure. Among them, M2=Mb-M1.

7. The method according to claim 1, wherein: The step of expanding the basic matrix according to the lifting factor to obtain an expanded matrix includes: The first element in the basic matrix is ​​expanded into a square matrix of all zeros with a dimension of Z×Z, and the second element in the basic matrix is ​​expanded into a circular shift matrix of a unit matrix with a dimension of Z×Z. The extended matrix is ​​obtained, wherein the dimension of the basic matrix is ​​Mb×Nb, the dimension of the extended matrix is ​​(Mb×Z)×(Nb×Z), Z is a lifting factor, and Mb, Nb, and Z are all positive integers. is the second element, i is the row index of the second element in the basic matrix, and j is the column index of the second element in the basic matrix.

8. The method according to claim 1, wherein: The step of obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-zero positions in the extended matrix comprises: The non-binary values ​​of the non-zero positions in the extended matrix are determined, and the elements of the non-zero positions are replaced by a corresponding non-zero element in the non-binary Galois field number set to obtain the parity check matrix.

9. The method according to claim 8, wherein: The elements at non-zero positions in the extended matrix are replaced with a corresponding non-zero element in the non-binary Galois Field number set according to a determined parameter, wherein the determined parameter includes at least one of the following: The size of the non-binary Galois Field number set; The primitive element of the non-binary Galois Field number set; the second element; A lifting factor of the base matrix; The row index of the second element in the base matrix; The column index of the second element in the base matrix; The row index of the non-zero position in the extended matrix; The column index of the non-zero position in the extended matrix.

10. The method according to claim 7 or 9, wherein: The step of obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-zero positions in the extended matrix comprises: The dimension of the extended matrix is ​​the cyclic shift matrix of the unit matrix Z×Z Replace with x is a non-zero element of the non-binary Galois Field number set.

11. The method according to claim 7 or 9, wherein: The step of obtaining a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-zero positions in the extended matrix comprises: The dimension of the extended matrix is ​​the cyclic shift matrix of the unit matrix Z×Z Replace with Obtain the parity check matrix, where Z(x)=diag{x,αx,α 2 x,…,α Z-1 x}, diag{} represents a diagonal matrix, α is the primitive element of the non-binary Galois Field number set, and x is the non-zero element of the non-binary Galois Field number set.

12. A non-binary quasi-cyclic low-density parity-check code LDPC encoding device, comprising: A determination module, configured to determine a basic matrix of a non-binary quasi-cyclic LDPC code, wherein the basic matrix includes a first element for indicating an all-zero square matrix and a second element for indicating a cyclic shift value of a unit matrix; An expansion module, configured to expand the basic matrix according to a lifting factor to obtain an expanded matrix; An acquisition module, configured to obtain a parity check matrix of the non-binary quasi-cyclic LDPC code according to non-binary values ​​of non-zero positions in the extended matrix; The encoding module is configured to perform non-binary quasi-cyclic LDPC code encoding on the input information bit sequence based on the parity check matrix to obtain a codeword sequence to be sent.

13. A computer-readable storage medium having a computer program stored therein, wherein: When the computer program is executed by a processor, the method described in any one of claims 1 to 11 is implemented.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 11 when executing the computer program.

Citation Information

Patent Citations

  • Quasi-cyclic LDPC encoding and decoding method and apparatus, and LDPC encoding and decoding device

    CN107888198A

  • Information processing method and device and communication equipment

    CN109150197A

  • Non-binary LDPC code construction method and device, equipment and storage medium

    CN115865102A

  • Encoding method and transmission device

    WO2009060627A1

Cited By

  • LDPC encoder based on DVB-S2 protocol, transmitting terminal and test platform

    CN120185622A