WO2019144862A1 - Method and device for low density parity check, and communication device - Google Patents

Method and device for low density parity check, and communication device Download PDF

Info

Publication number
WO2019144862A1
WO2019144862A1 PCT/CN2019/072660 CN2019072660W WO2019144862A1 WO 2019144862 A1 WO2019144862 A1 WO 2019144862A1 CN 2019072660 W CN2019072660 W CN 2019072660W WO 2019144862 A1 WO2019144862 A1 WO 2019144862A1
Authority
WO
WIPO (PCT)
Prior art keywords
check
ldpc
verification
crc
check matrix
Prior art date
Application number
PCT/CN2019/072660
Other languages
French (fr)
Chinese (zh)
Inventor
梁继业
李�根
卢小康
刘华斌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019144862A1 publication Critical patent/WO2019144862A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/25Error detection or forward error correction by signal space coding, i.e. adding redundancy in the signal constellation, e.g. Trellis Coded Modulation [TCM]
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/25Error detection or forward error correction by signal space coding, i.e. adding redundancy in the signal constellation, e.g. Trellis Coded Modulation [TCM]
    • H03M13/255Error detection or forward error correction by signal space coding, i.e. adding redundancy in the signal constellation, e.g. Trellis Coded Modulation [TCM] with Low Density Parity Check [LDPC] codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy

Abstract

Provided in the embodiments of the present application are a method and related device for low density parity check (LDPC), which are used by a receiving device to check received data, and which reduce the complexity of the receiving device checking the received data, thereby reducing the power consumption of the receiving device checking data. The method comprises: performing rate de-matching on received data to obtain an encoded codeword to be decoded; decoding the encoded codeword to obtain a decoding result; determining a check mode according to a transport block size (TBS), the check mode being a joint check consisting of an LDPC matrix check and a cyclic redundancy check (CRC) or being an LDPC matrix check; and checking the decoding result according to the determined check mode.

Description

应用于低密度奇偶校检LDPC的校验方法及装置、通信设备Calibration method and device for low density parity check LDPC, communication device
本申请要求于2018年01月23日提交中国专利局、申请号为201810065301.0、申请名称为“应用于低密度奇偶校检LDPC的校验方法及装置、通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on January 23, 2018, the Chinese Patent Office, the application number is 201810065301.0, and the application is entitled "Verification method and device for low-density parity check LDPC, communication equipment". The entire contents of this application are incorporated herein by reference.
技术领域Technical field
本申请涉及通信领域,特别涉及一种应用于低密度奇偶校检(low density parity check,LDPC)的校验方法及装置、通信设备。The present application relates to the field of communications, and in particular, to a verification method and apparatus for low density parity check (LDPC), and a communication device.
背景技术Background technique
随着通信技术的发展,各通信系统中都需要进行数据传输,例如,基站与核心网网元之间,基站内部模块之间,基站与终端设备之间等,都需要进行数据传输,在进行数据传输时,将涉及到数据的编码以及译码。With the development of communication technologies, data transmission is required in each communication system. For example, between the base station and the core network element, between the internal modules of the base station, between the base station and the terminal device, data transmission is required. When data is transmitted, it involves the encoding and decoding of the data.
现有方案中,发送设备对传输块(transport block,TB)进行附加循环冗余检测(cyclic redundancy check,CRC),即为该TB增加预置长度的校验位;随后发送设备对附加CRC之后的TB进行切分,可以切分为多个编码块(code block,CB),也可以仅切分为1个CB,之后发送设备再对每个CB附加CRC校验码,若附加CRC后的TB仅切分为一个CB,则无需再对该一个CB附加CRC;随后发送设备对每个附加CRC之后的CB进行前向纠错(forward error correction,FEC)编码;完成FEC编码后进行速率匹配,之后发送至接收设备。接收设备在接收到发送设备发送的数据后,进行解速率匹配,然后进行译码以及校验。In the existing solution, the transmitting device performs an additional cyclic redundancy check (CRC) on the transport block (TB), that is, adds a preset length check bit to the TB; and then sends the device pair to attach the CRC. The TB is divided into a plurality of coding blocks (CBs), or can be divided into only one CB, and then the transmitting device adds a CRC check code to each CB, if a CRC is attached. TB is only divided into one CB, then there is no need to attach a CRC to the one CB; then the transmitting device performs forward error correction (FEC) encoding on the CB after each additional CRC; rate matching is performed after FEC encoding is completed. And then sent to the receiving device. After receiving the data sent by the transmitting device, the receiving device performs de-rate matching, and then performs decoding and verification.
例如,第五代(5th-Generation,5G)通信系统提供的数据传输过程包括,发送设备传输块大小(Transport Block Size,TBS)大于3824位的TB附加24位的CRC,TBS不大于3824的TB附加16位的CRC,然后将TB切分为多个CB或一个CB。并对该多个CB中的每个CB进行附加CRC,之后进行FEC编码以及速率匹配后,发送至接收设备;若附加CRC后的TB仅被切分为一个CB,则无需对该一个CB进行附加CRC,在进行FEC编码以及速率匹配后,发送至接收设备。若接收设备接收到的数据为编码以及速率匹配后的CB,则接收设备对该编码以及速率匹配后的CB进行解速率匹配、译码、校验以及TB重组,在迭代译码的一个译码过程中,需要对该一个译码过程得到的译码结果进行LDPC校验和CRC校验。其中,CRC校验可以包括CRC_16校验,或CRC_24校验等,CRC_16校验即16位的CRC校验,CRC_24校验即24位的CRC校验。因此,在接收设备接收到发送设备发送的数据后,接收设备需要对该数据进行解速率匹配,之后进行译码以得到译码结果,然后对译码结果进行校验,由于校验过程中包含LDPC校验和CRC校验,实现复杂度高。For example, the data transmission process provided by the fifth-generation (5th-generation, 5G) communication system includes: a TB additional 24-bit CRC with a transmission block size (TBS) greater than 3824 bits, and a TB with a TBS not greater than 3824. A 16-bit CRC is appended, and then the TB is sliced into multiple CBs or one CB. And performing additional CRC on each CB of the plurality of CBs, and then performing FEC coding and rate matching, and then transmitting to the receiving device; if the TB after the CRC is added is only divided into one CB, the CB need not be performed on the CB. The additional CRC is sent to the receiving device after performing FEC encoding and rate matching. If the data received by the receiving device is the coded and rate-matched CB, the receiving device performs de-rate matching, decoding, check, and TB recombination on the coded and rate-matched CB, and decodes in the iterative decoding. In the process, the decoding result obtained by the decoding process needs to be subjected to LDPC check and CRC check. The CRC check may include a CRC_16 check, or a CRC_24 check, etc., the CRC_16 check is a 16-bit CRC check, and the CRC_24 check is a 24-bit CRC check. Therefore, after the receiving device receives the data sent by the transmitting device, the receiving device needs to perform rate de-matching on the data, and then performs decoding to obtain a decoding result, and then performs verification on the decoding result, which is included in the verification process. The LDPC checksum and CRC check have high complexity.
发明内容Summary of the invention
本申请实施例提供了一种应用于LDPC的校验方法以及相关设备,用于接收设备对接收到的数据进行校验,减少接收设备对接收到的数据进行校验的复杂度,进而降低接收设备校验数据的功耗。The embodiment of the present application provides a verification method and related device applied to an LDPC, where the receiving device performs verification on the received data, reduces the complexity of the receiving device for verifying the received data, and further reduces the receiving. The device verifies the power consumption of the data.
有鉴于此,本申请第一方面提供一种应用于LDPC的校验方法,包括:In view of this, the first aspect of the present application provides a verification method applied to an LDPC, including:
对接收的数据进行解速率匹配以得到待译码的编码码字;然后对该编码码字进行译码以得到译码结果,根据TBS确定校验方式,该TBS为TB的长度,该TB包括该编码码字所对应的CB,即该CB为该TB所切分的一个或多个CB中的一个,该校验方式为由LDPC校验矩阵校验和循环冗余检测CRC校验组成的联合检验或LDPC校验矩阵校验;根据确定的校验方式对该译码结果进行校验,在校验通过后可以确定对编码码字译码成功。Performing de-rate matching on the received data to obtain an encoded codeword to be decoded; then decoding the encoded codeword to obtain a decoding result, determining a verification mode according to the TBS, the TBS is a length of the TB, and the TB includes The CB corresponding to the coded codeword, that is, the CB is one of one or more CBs that are segmented by the TB, and the check mode is composed of an LDPC check matrix checksum and a cyclic redundancy check CRC check. Joint test or LDPC check matrix check; the decoding result is verified according to the determined check mode, and after the check is passed, the coding code word can be successfully decoded.
在本申请实施例中,可以根据TBS确定校验方式,校验方式可以包括由LDPC校验矩阵校验和CRC校验组成的联合检验或LDPC校验矩阵校验,其中可以包括仅进行LDPC校验矩阵校验的情况,可以降低对译码结果进行校验的复杂度。In the embodiment of the present application, the verification mode may be determined according to the TBS, and the verification manner may include a joint test consisting of an LDPC check matrix check and a CRC check, or an LDPC check matrix check, which may include performing only LDPC calibration. In the case of matrix check, the complexity of verifying the decoded result can be reduced.
结合本申请第一方面,在本申请第一方面的第一种实施方式中,该根据传输块大小TBS确定校验方式包括:With reference to the first aspect of the present application, in the first implementation manner of the first aspect of the application, the determining the verification manner according to the transport block size TBS includes:
将该TBS和阈值进行比较,该TBS为CB对应的TB的长度,该CB为该TB所切分的多个CB中的一个;在该TBS不大于该阈值时,确定该校验方式为由该LDPC校验矩阵校验和该CRC校验组成的联合检验,当LDPC校验矩阵校验与CRC校验都通过后,可以确定译码成功;在该TBS大于该阈值时,确定该校验方式为该LDPC校验矩阵校验,在该LDPC校验矩阵校验通过后,可以确定译码成功。The TBS is compared with a threshold, where the TBS is the length of the TB corresponding to the CB, and the CB is one of the plurality of CBs that are divided by the TB; when the TBS is not greater than the threshold, determining the verification mode is The joint test of the LDPC check matrix checksum and the CRC check composition, after the LDPC check matrix check and the CRC check are both passed, the decoding success can be determined; when the TBS is greater than the threshold, the check is determined. The mode is the LDPC check matrix check. After the LDPC check matrix check is passed, the decoding success can be determined.
在本申请实施例中,在TBS小于阈值时,对译码结果进行LDPC校验矩阵校验和CRC校验,当TBS大于阈值时,对译码结果进行LDPC校验矩阵校验,相对于现有方案中都进行LDPC校验矩阵校验与CRC校验,本申请实施例可以降低对数据校验的复杂度。In the embodiment of the present application, when the TBS is less than the threshold, the LDPC check matrix check and the CRC check are performed on the decoding result, and when the TBS is greater than the threshold, the LDPC check matrix check is performed on the decoding result, as compared with the current In the solution, the LDPC check matrix check and the CRC check are performed. The embodiment of the present application can reduce the complexity of data check.
结合本申请第一方面的第一种实施方式,在本申请第一方面的第二种实施方式中,该阈值为3824。In conjunction with the first embodiment of the first aspect of the present application, in a second embodiment of the first aspect of the present application, the threshold is 3824.
结合本申请第一方面的第一种实施方式或本申请第一方面的第二种实施方式,在本申请第一方面的第三种实施方式中,该联合校验由该LDPC校验矩阵校验和长度为16位的CRC校验组成。With reference to the first embodiment of the first aspect of the present application or the second implementation manner of the first aspect of the present application, in the third implementation manner of the first aspect of the present application, the joint verification is performed by the LDPC check matrix. The test consists of a 16-bit CRC check.
结合本申请第一方面、本申请第一方面的第一种实施方式至本申请第一方面的第三种实施方式中的任一实施方式,在本申请第一方面的第四种实施方式中,该校验方式为该联合校验时,该根据确定的校验方式对该译码结果进行校验包括:With reference to the first aspect of the present application, the first embodiment of the first aspect of the present application, or any one of the third embodiment of the first aspect of the present application, in the fourth embodiment of the first aspect of the present application When the verification mode is the joint verification, the verification of the decoding result according to the determined verification manner includes:
对该译码结果分时进行该LDPC校验矩阵校验和该CRC校验。可以先执行LDPC校验矩阵校验,后执行CRC校验,也可以先执行CRC校验,后执行LDPC校验矩阵校验,具体此处不作限定。The LDPC check matrix checksum and the CRC check are performed on the decoding result in a time division manner. The LDPC check matrix check may be performed first, and then the CRC check may be performed. The CRC check may be performed first, and then the LDPC check matrix check is performed, which is not limited herein.
在本申请实施例中,对译码结果分时进行LDPC校验矩阵校验和CRC校验,即在不同的时间执行LDPC校验矩阵校验与CRC校验,进一步降低了对译码结果进行校验的复杂度。In the embodiment of the present application, the LDPC check matrix check and the CRC check are performed on the decoding result in a time division manner, that is, the LDPC check matrix check and the CRC check are performed at different times, thereby further reducing the decoding result. The complexity of the check.
结合本申请第一方面、本申请第一方面的第一种实施方式至本申请第一方面的第四种实施方式中的任一实施方式,在本申请第一方面的第五种实施方式中,该LDPC校验矩阵校验包括采用该LDPC校验矩阵的部分校验式进行校验。With reference to the first aspect of the present application, the first embodiment of the first aspect of the present application, or any one of the fourth embodiment of the first aspect of the present application, in the fifth embodiment of the first aspect of the present application The LDPC check matrix check includes performing a check using the partial check formula of the LDPC check matrix.
在本申请实施方式中,可以只采用LDPC校验矩阵中的部分校验式进行校验,例如,采用LDPC校验矩阵中的第一行或第一列的校验结果作为LDPC校验的校验结果,可以提高LDPC 校验矩阵校验的效率,特别在虚警概率较大的情况下,可以进一步提高LDPC校验矩阵校验的效率。In the embodiment of the present application, the check may be performed only by using a partial check formula in the LDPC check matrix. For example, the check result of the first row or the first column in the LDPC check matrix is used as the calibration of the LDPC check. The test result can improve the efficiency of the LDPC check matrix check, especially in the case of a large false alarm probability, which can further improve the efficiency of the LDPC check matrix check.
本申请第二方面提供一种校验装置,可以包括:The second aspect of the present application provides a verification apparatus, which may include:
解速率模块,用于对接收的数据进行解速率匹配以得到编码码字B;a rate decoding module, configured to perform rate de-matching on the received data to obtain an encoded codeword B;
译码模块,用于对该解速率模块得到的编码码字进行译码以得到译码结果;a decoding module, configured to decode the coded codeword obtained by the solution rate module to obtain a decoding result;
确定模块,用于根据传输块大小TBS确定校验方式,该校验方式为由LDPC校验矩阵校验和循环冗余检测CRC校验组成的联合检验或LDPC校验矩阵校验,该TBS为TB的长度,该TB包括该编码码字所对应的CB,即该CB为该TB所切分的一个或多个CB中的一个;a determining module, configured to determine a verification mode according to a transport block size TBS, where the check mode is a joint test consisting of an LDPC check matrix check and a cyclic redundancy check CRC check, or an LDPC check matrix check, where the TBS is a length of the TB, where the TB includes a CB corresponding to the coded codeword, that is, the CB is one of one or more CBs that are segmented by the TB;
校验模块,用于根据该确定模块确定的校验方式对该译码模块译码的译码结果进行校验。And a verification module, configured to perform verification on the decoding result decoded by the decoding module according to the verification manner determined by the determining module.
结合本申请第二方面,在本申请第二方面的第一种实施方式中,该确定模块具体用于:With reference to the second aspect of the present application, in the first implementation manner of the second aspect of the application, the determining module is specifically configured to:
将该TBS和阈值进行比较;Comparing the TBS with a threshold;
在该TBS不大于该阈值时,确定该校验方式为由该LDPC校验矩阵校验和该CRC校验组成的联合检验;When the TBS is not greater than the threshold, determining that the verification mode is a joint test consisting of the LDPC check matrix checksum and the CRC check;
在该TBS大于该阈值时,确定该校验方式为该LDPC校验矩阵校验。When the TBS is greater than the threshold, it is determined that the verification mode is the LDPC check matrix check.
结合本申请第二方面的第一种实施方式,在本申请第二方面的第二种实施方式中,该阈值为3824。In conjunction with the first embodiment of the second aspect of the present application, in the second embodiment of the second aspect of the present application, the threshold is 3824.
结合本申请第二方面的第一种实施方式或本申请第二方面的第二种实施方式,在本申请第二方面的第三种实施方式中,该联合校验由该LDPC校验矩阵校验和长度为16位的CRC校验组成。With reference to the first embodiment of the second aspect of the present application or the second embodiment of the second aspect of the present application, in the third implementation manner of the second aspect of the present application, the joint check is verified by the LDPC check matrix. The test consists of a 16-bit CRC check.
结合本申请第二方面、本申请第二方面的第一种实施方式至本申请第二方面的第三种实施方式,在本申请第二方面的第四种实施方式中,该校验模块具体用于:With reference to the second aspect of the present application, the first embodiment of the second aspect of the present application, and the third embodiment of the second aspect of the present application, in the fourth implementation manner of the second aspect of the present application, the verification module is specific Used for:
在该校验方式为该联合校验时,对该译码结果分时进行该LDPC校验矩阵校验和该CRC校验。When the check mode is the joint check, the LDPC check matrix check and the CRC check are performed on the decoding result in a time division manner.
结合本申请第二方面、本申请第二方面的第一种实施方式至本申请第二方面的第四种实施方式,在本申请第二方面的第五种实施方式中,该LDPC校验矩阵校验包括采用该LDPC校验矩阵的部分校验式进行校验。With reference to the second aspect of the present application, the first implementation manner of the second aspect of the present application, and the fourth implementation manner of the second aspect of the present application, in the fifth implementation manner of the second aspect of the application, the LDPC check matrix The verification includes verification using a partial check pattern of the LDPC check matrix.
本申请实施例第三方面提供一种通信设备,可以包括:A third aspect of the embodiments of the present application provides a communications device, which may include:
处理器以及存储器,该处理器与该存储器连接;a processor and a memory, the processor being coupled to the memory;
该存储器,用于存储程序代码;The memory for storing program code;
该处理器调用该存储器中的程序代码时执行本申请第一方面或第一方面任一实施方式提供的接收设备执行的步骤。The processor performs the steps performed by the receiving device provided by the first aspect or the first aspect of the first aspect when the processor calls the program code in the memory.
本申请实施例第四方面提供一种存储介质,需要说明的是,本发的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产口的形式体现出来,该计算机软件产品存储在一个存储介质中,用于储存为上述设备所用的计算机软件指令,其包含用于执行上述第一方面为接收设备所设计的程序。A fourth aspect of the present application provides a storage medium. It should be noted that the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be implemented by software. Formally embodied, the computer software product is stored in a storage medium for storing computer software instructions for use in the above apparatus, comprising a program designed to perform the first aspect described above for a receiving device.
该存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存 取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
本申请实施例第五方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如本申请第一方面或第一方面任一可选实施方式中所述的方法。A fifth aspect of the embodiments of the present application provides a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method as described in the first aspect of the present application or any of the alternative embodiments of the first aspect.
在本申请实施例中,在对编码码字进行译码得到译码结果之后,根据TBS确定校验方式,该校验方式可以包括联合检验或LDPC校验矩阵校验,该联合校验包括LDPC校验与CRC校验,然后根据确定的校验方式对译码结果进行校验。因此,在本申请实施例中,可以根据TBS来确定校验方式,不同的TBS可以对应不同的校验方式,包括只进行LDPC校验矩阵校验的场景,可以降低对译码结果进行校验的复杂度。In the embodiment of the present application, after the coded codeword is decoded to obtain a decoding result, the check mode is determined according to the TBS, and the check mode may include a joint check or an LDPC check matrix check, where the joint check includes the LDPC. The checksum is checked with the CRC, and then the decoded result is verified according to the determined check mode. Therefore, in the embodiment of the present application, the verification mode may be determined according to the TBS, and different TBSs may be corresponding to different verification modes, including a scenario in which only the LDPC check matrix is verified, and the decoding result may be verified. The complexity.
附图说明DRAWINGS
图1为本申请实施例中的系统框架图;1 is a system frame diagram in an embodiment of the present application;
图2为本申请实施例中发送设备实现数据传输的一个流程示意图;2 is a schematic flowchart of a data transmission performed by a sending device according to an embodiment of the present application;
图3为本申请实施例中接收设备实现数据传输的一个流程示意图;FIG. 3 is a schematic flowchart of a data transmission performed by a receiving device according to an embodiment of the present application;
图4为本申请实施例中应用于低密度奇偶校检LDPC的校验方法的一个实施例示意图;4 is a schematic diagram of an embodiment of a verification method applied to a low-density parity check LDPC according to an embodiment of the present application;
图5为本申请实施例中应用于低密度奇偶校检LDPC的校验方法的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a verification method applied to a low density parity check LDPC according to an embodiment of the present application; FIG.
图6为本申请实施例中校验装置的一个实施例示意图;6 is a schematic diagram of an embodiment of a calibration apparatus in an embodiment of the present application;
图7为本申请实施例中通信设备的一个实施例示意图。FIG. 7 is a schematic diagram of an embodiment of a communication device in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种应用于LDPC的校验方法以及相关设备,用于接收设备对接收到的数据进行校验,减少接收设备对接收到的数据进行校验的复杂度,进而降低接收设备校验数据的功耗。The embodiment of the present application provides a verification method and related device applied to an LDPC, where the receiving device performs verification on the received data, reduces the complexity of the receiving device for verifying the received data, and further reduces the receiving. The device verifies the power consumption of the data.
本申请实施例提供的方案可以应用的系统架构如图1所示,主要由终端设备、基站以及核心网组成,多个基站之间可以有X2或Xn接口连接,并接入核心网。终端设备接入基站,通过基站与核心网建立连接,例如,终端设备1接入基站1,基站1、基站2以及基站3之间建立X2/Xn接口连接,终端设备2接入基站3,终端设备1与终端设备2可通过基站1以及基站3与核心网建立连接,并进行通信以及数据传输。本申请实施例提供的应用于低密度奇偶校检LDPC的校验方法可以适用于核心网网元之间传输数据时的数据校验,也可以是核心网网元内部各个模块之间的数据传输时的数据校验,也可以是基站与核心网网元之间的数据传输时的数据校验,也可以是基站内部各个模块间数据传输时的数据校验,还可以是终端设备内部各个模块之间的数据传输时的数据校验。The system architecture applicable to the solution provided by the embodiment of the present application is as shown in FIG. 1 , and is mainly composed of a terminal device, a base station, and a core network. The multiple base stations may have an X2 or Xn interface connected to each other and access the core network. The terminal device accesses the base station, and establishes a connection with the core network through the base station. For example, the terminal device 1 accesses the base station 1, the base station 1, the base station 2, and the base station 3 establish an X2/Xn interface connection, and the terminal device 2 accesses the base station 3, and the terminal device The device 1 and the terminal device 2 can establish a connection with the core network through the base station 1 and the base station 3, and perform communication and data transmission. The verification method applied to the low-density parity check LDPC provided by the embodiment of the present application may be applicable to data verification when data is transmitted between network elements of the core network, or may be data transmission between modules in the core network element. The data check at the time may also be data verification during data transmission between the base station and the core network element, or may be data verification during data transmission between each module in the base station, or may be internal modules of the terminal device. Data verification between data transfers.
本申请实施例提供的方案可以适用于LTE系统,还可以适用于其他采用LDPC校验矩阵校验进行数据校验的通信系统,例如采用码分多址,频分多址,时分多址,正交频分多址,单载波频分多址等接入技术的系统,以及第五代5G新的无线接入网(new radio,NR)系统等。The solution provided by the embodiment of the present application can be applied to an LTE system, and can also be applied to other communication systems that use LDPC check matrix check for data check, for example, using code division multiple access, frequency division multiple access, time division multiple access, and positive A system of access frequency division multiple access, single carrier frequency division multiple access and other access technologies, and a fifth generation 5G new radio access network (new radio, NR) system.
本申请实施例提供的应用于低密度奇偶校检LDPC的校验方法适用于接收设备对接收到 的数据进行校验,接收设备接收到的数据由发送设备发送,下面对发送设备与接收设备数据处理的流程进行说明。需要说明的是,本申请实施例中的发送设备和接收设备可以是基站、终端设备、核心网网元或这些设备的内部器件或模块,该发送设备与接收设备还可以是同一基站、同一终端设备或同一核心网网元内等的不同设备,具体根据实际设计场景调整,具体此处不作限定。The verification method applied to the low-density parity check LDPC provided by the embodiment of the present application is applicable to the receiving device for verifying the received data, and the data received by the receiving device is sent by the sending device, and the following is for the sending device and the receiving device. The flow of data processing is explained. It should be noted that the sending device and the receiving device in the embodiment of the present application may be a base station, a terminal device, a core network element, or an internal device or a module of the device. The sending device and the receiving device may also be the same base station and the same terminal. The device or the different devices in the network element of the same core network are adjusted according to the actual design scenario.
请参阅图2,本申请实施例中发送设备实现数据传输的流程示意图。Referring to FIG. 2, a schematic diagram of a process for implementing data transmission by a transmitting device in an embodiment of the present application.
首先,发送设备将TB进行附加CRC,即附加一个预置长度的校验码,该校验码可以由发送设备通过TB与约定的生成多项式进行计算得到,该校验码可以附加在TB的末尾,用于后续接收设备对TB进行校验,以使接收设备得到准确的数据。例如,在5G接入网(New Radio,NR)系统中,当TB的长度大于3824位时,约定一个24位生成多项式,校验码可以由未进行附加的TB与该24位生成多项式计算得到,该校验码的长度也为24位,该校验码附加在TB的末尾,附加校验码后的TB可以被约定的生成多项式整除;当TB的长度不大于3824位时,约定一个16位的生成多项式,校验码可以由未进行附加的TB与该24位生成多项式计算得到,该校验码的长度可以为16位,该校验码附加在TB的末尾,附加校验码后的可以被约定的生成多项式整除。具体例如,约定的24位生成多项式以及约定的16位生成多项式分别可以是:First, the transmitting device adds a CRC to the TB, that is, adds a preset length check code, which can be calculated by the transmitting device through the TB and the agreed generator polynomial, and the check code can be attached to the end of the TB. For subsequent receiving devices to verify the TB, so that the receiving device obtains accurate data. For example, in a 5G access network (New Radio, NR) system, when the length of the TB is greater than 3824 bits, a 24-bit generator polynomial is agreed, and the check code can be calculated from the unattached TB and the 24-bit generator polynomial. The length of the check code is also 24 bits. The check code is appended to the end of the TB. The TB after the check code is added can be divisible by the agreed generator polynomial. When the length of the TB is not greater than 3824, a 16 is agreed. The generator polynomial of the bit can be calculated by the un-added TB and the 24-bit generator polynomial. The check code can be 16 bits in length. The check code is appended to the end of the TB, and the check code is appended. Can be divisible by the agreed generator polynomial. Specifically, for example, the agreed 24-bit generator polynomial and the agreed 16-bit generator polynomial may be:
G CRC_24(D)=D 24+D 23+D 18+D 17+D 14+D 11+D 10+D 7+D 6+D 5+D 4+D 3+D+1, G CRC_24 (D)=D 24 +D 23 +D 18 +D 17 +D 14 +D 11 +D 10 +D 7 +D 6 +D 5 +D 4 +D 3 +D+1,
G CRC_16(D)=D 16+D 12+D 5+1。 G CRC_16 (D) = D 16 + D 12 + D 5 +1.
之后发送设备判断附加CRC校验位的TB的长度是否大于阈值,即TBS是否大于阈值,若附加CRC校验码的TB的长度大于阈值,则发送设备将该TB切分为多个CB,具体的切分CB的方法可以是1个TB平均切分为多个CB,也可以是发送设备根据预置的规则将TB切分为预置数量的CB,具体此处不作限定。发送设备在将TB切分为多个CB后,为每个CB附加CRC校验码,用于后续对CB数据的CRC校验,附加CRC校验码的方式与TB附加CRC校验码的方式类似,该CRC校验码的长度可以是4位,也可以是16位,还可以是24位,具体此处不作限定。例如,在5G NR系统中,为每个CB附加CRC的长度为24位,且约定的生成多项式可以为:G(D)=D 24+D 23+D 6+D 5+D+1。发送设备为每个CB附加CRC校验码后,发送设备内对附加CRC校验码后CB进行FEC编码,该FEC编码包括LDPC编码,该LDPC编码中包括了预置的校验方式,或包括了预置的LDPC校验矩阵校验码等,可用于接收设备对接收到的数据进行LDPC校验矩阵校验。然后发送设备对CB进行FEC编码,为CB添加纠错码,发送设备对进行附加CRC以及编码后的CB进行速率匹配,以匹配发送设备与接收设备之间的信道的承载能力。发送设备在进行速率匹配后将该进行附加CRC、编码以及速率匹配后的CB发送至接收设备。发送设备将数据发送至接收设备具体发送方式可以是通过无线信号发送,也可以是通过连接的其他通道发送,具体此处不作限定。 The sending device determines whether the length of the TB of the additional CRC check bit is greater than a threshold, that is, whether the TBS is greater than a threshold. If the length of the TB to which the CRC is added is greater than the threshold, the sending device divides the TB into multiple CBs. The method for segmenting the CB may be that the TB is divided into a plurality of CBs in a mean manner, or the transmitting device may divide the TB into a preset number of CBs according to a preset rule, which is not limited herein. After the TB divides the TB into multiple CBs, it adds a CRC check code for each CB, and is used for subsequent CRC check of CB data, a method of adding a CRC check code, and a method of adding a CRC check code to the TB. Similarly, the length of the CRC may be 4 bits, 16 bits, or 24 bits, which is not limited herein. For example, in a 5G NR system, the length of the CRC appended to each CB is 24 bits, and the agreed generator polynomial can be: G(D) = D 24 + D 23 + D 6 + D 5 + D + 1. After the sending device adds a CRC check code to each CB, the CB performs FEC encoding on the CB after the additional CRC check code is included in the sending device, where the FEC encoding includes LDPC encoding, and the LDPC encoding includes a preset verification manner, or includes The preset LDPC check matrix check code, etc., can be used by the receiving device to perform LDPC check matrix check on the received data. Then, the transmitting device performs FEC encoding on the CB, adds an error correcting code to the CB, and the transmitting device performs rate matching on the additional CRC and the encoded CB to match the carrying capacity of the channel between the transmitting device and the receiving device. The transmitting device sends the CB with the additional CRC, coding, and rate matching to the receiving device after performing rate matching. The transmitting device sends the data to the receiving device, and the sending manner may be sent by using a wireless signal, or may be sent through other channels of the connection, which is not limited herein.
此外,若附加CRC校验位的TB的长度不大于阈值,可以认为TB仅切分为一个CB,发送设备直接将该附加CRC校验位后的TB进行FEC编码,之后对FEC编码后的TB进行速率匹配后发送到接收设备。其中,在对TB无需进行切分的场景中,对无切分的TB进行FEC编码以及FEC编码后的速率匹配过程,与前述图2中的附加CRC校验位后的CB进行的FEC编 码以及速率匹配过程类似,具体此处不再赘述。In addition, if the length of the TB to which the CRC check bit is added is not greater than the threshold, it can be considered that the TB is only divided into one CB, and the transmitting device directly performs FEC encoding on the TB after the additional CRC check bit, and then the TB after the FEC encoding. After rate matching, it is sent to the receiving device. In the scenario where the TB is not required to be split, the FEC encoding and the FEC encoding rate matching process are performed on the undivided TB, and the FEC encoding performed by the CB after adding the CRC check bit in FIG. 2 and The rate matching process is similar, and will not be described here.
在实际应用中,该阈值可以根据需求调整,例如,在5G系统中,该阈值可以是3824位。In practical applications, the threshold can be adjusted as needed, for example, in a 5G system, the threshold can be 3824 bits.
本申请实施例对接收设备接收到发送设备发送的数据后的译码的流程进行了改进,在本申请实施例中,接收设备可以接收到的发送设备发送的进行FEC附加、编码以及速率匹配后的CB,下面对接收设备的处理流程进行说明,请参阅图3。The embodiment of the present application improves the decoding process after the receiving device receives the data sent by the sending device. In the embodiment of the present application, the receiving device may receive the FEC attachment, encoding, and rate matching sent by the sending device. The CB, the following describes the processing flow of the receiving device, please refer to Figure 3.
接收设备在接收到发送设备发送的数据,该数据可以是附加CRC、FEC编码以及速率匹配后的CB,对该附加CRC、FEC编码以及速率匹配后的CB进行解速率匹配,得到待译码的编码码字,该编码码字为附加CRC以及编码后的CB,然后对该编码码字进行LDPC译码,得到译码结果,然后对该译码结果进行校验。具体的校验方式可以包括LDPC校验矩阵校验或CRC校验。The receiving device receives the data sent by the sending device, and the data may be an additional CRC, a FEC encoding, and a rate-matched CB, and perform de-rate matching on the additional CRC, the FEC encoding, and the rate-matched CB, to obtain a to-be-decoded An encoded codeword, which is an additional CRC and an encoded CB, is then LDPC-decoded to obtain a decoding result, and then the decoded result is verified. The specific check mode may include an LDPC check matrix check or a CRC check.
当校验通过后,可以得到准确的由TB所切分的CB,在实际应用中,若附加CRC后的TB被切分为至少两个CB,因此,当该至少两个CB都通过译码以及校验确定后,可以对TB进行重组,得到完整的TB。因发送设备对完整的TB进行了附加CRC,因此还需对重组得到的TB进行CRC校验,当重组得到的TB进行CRC校验的结果为通过时,确认TB完成,此时接收设备可以生成一个ACK消息,并发送至发送设备,该ACK可以用于通知发送设备对成功得到TB。当重组得到的TB进行LDPC校验矩阵校验未通过时,可以再次进行LDPC译码,也可以确认LDPC译码失败,当LDPC译码失败或CRC校验的结果为不通过时,接收设备可以生成NACK消息,并发送至发送设备,以通知发送设备TB或CB接收失败或译码失败等,发送设备可根据实际情况重新发送数据,包括导致TB重组失败的CB或由TB切分得到的所有经过编码以及速率匹配后的CB。When the check is passed, an accurate CB split by the TB can be obtained. In practical applications, if the TB after the CRC is added is divided into at least two CBs, when the at least two CBs are decoded After the verification is confirmed, the TB can be reorganized to obtain a complete TB. Since the transmitting device adds an CRC to the complete TB, it is also necessary to perform CRC check on the TB obtained by the reassembly. When the result of the CRC check by the reassembled TB is passed, it is confirmed that the TB is completed, and the receiving device can generate the TB. An ACK message is sent to the sending device, and the ACK can be used to notify the sending device that the TB is successfully obtained. When the TB obtained by the reassembly does not pass the LDPC check matrix check, the LDPC decoding may be performed again, and the LDPC decoding may be confirmed. When the LDPC decoding fails or the CRC check result is not passed, the receiving device may Generating a NACK message and sending it to the sending device to notify the sending device TB or CB of the failure of receiving or decoding, etc., and the transmitting device may resend the data according to the actual situation, including the CB that caused the TB reorganization to fail or all that is obtained by the TB segmentation. Encoded and rate matched CB.
前述对本申请实施例中发送设备与接收设备的数据传输流程进行了说明,下面对本申请实施例中校验的具体流程进行详细说明,请参阅图4,本申请实施例中数据校验方法的一个实施例示意图,包括:The foregoing describes the data transmission process of the sending device and the receiving device in the embodiment of the present application. The specific process of the verification in the embodiment of the present application is described in detail below. Referring to FIG. 4, a data verification method in the embodiment of the present application is described. A schematic diagram of an embodiment comprising:
401、对接收的数据进行解速率匹配以得到编码码字;401. De-rate matching the received data to obtain an encoded codeword.
接收设备接收发送设备发送的数据,因接收设备还对该数据进行了速率匹配,因此接收设备还需要对该数据进行解速率匹配,以得到编码码字,该编码码字为附加CRC以及编码后的CB。The receiving device receives the data sent by the sending device, and the receiving device also performs rate matching on the data, so the receiving device also needs to perform rate de-matching on the data to obtain an encoded codeword, where the encoded codeword is an additional CRC and encoded. CB.
402、对编码码字进行译码以得到译码结果;402. Decode the encoded codeword to obtain a decoding result.
接收设备对解速率匹配后得到编码码字,即编码以及附加CRC校验位后的CB,并对该编码码字进行译码,可以是对该编码码字进行LDPC译码,并通过LDPC译码得到译码结果。After receiving the demodulation rate, the receiving device obtains the encoded codeword, that is, the CB after encoding and adding the CRC check bit, and decodes the encoded codeword, which may be LDPC decoding the encoded codeword and translated by LDPC. The code gets the decoded result.
403、判断传输块大小TBS是否大于阈值,若是,则执行步骤406,若否,则执行步骤404;403, determining whether the transport block size TBS is greater than a threshold, and if so, executing step 406, and if not, executing step 404;
发送设备除了将附加CRC校验、编码以及速率匹配后的CB发送至接收设备外,还可以通过控制信道向接收设备发送控制信息,以通知接收设备该CB对应的TB的长度,即TBS,接收设备可以判断TBS是否大于阈值,若该TBS大于阈值,则执行步骤406,若该TBS不大于阈值,则执行步骤404。The sending device may send the control information to the receiving device by using the control channel to notify the receiving device of the length of the TB corresponding to the CB, that is, the TBS, and the receiving device sends the control information to the receiving device. The device may determine whether the TBS is greater than a threshold. If the TBS is greater than the threshold, step 406 is performed. If the TBS is not greater than the threshold, step 404 is performed.
404、对译码结果进LDPC校验矩阵校验;404. Perform an LDPC check matrix check on the decoding result.
在接收设备确定TBS不大于阈值后,接收设备对译码结果进行联合检验,即进行LDPC校验矩阵校验与CRC校验,进一步地,LDPC校验矩阵校验与CRC校验可以分时进行,可以先执行LDPC校验矩阵校验,之后执行CRC校验。在实际应用场景中,若未通过LDPC校验矩阵校验,接收设备后续可以无需进行CRC校验,进一步减少LDPC校验矩阵校验未通过后的校验流程,降低对译码结果进行校验的复杂度。After the receiving device determines that the TBS is not greater than the threshold, the receiving device performs a joint check on the decoding result, that is, performs an LDPC check matrix check and a CRC check. Further, the LDPC check matrix check and the CRC check may be performed in a time-sharing manner. The LDPC check matrix check can be performed first, followed by the CRC check. In the actual application scenario, if the LDPC check matrix is not verified, the receiving device may not need to perform CRC check, and further reduce the check process after the LDPC check matrix check fails, and reduce the decoding result. The complexity.
405、对译码结果进行CRC校验;405. Perform a CRC check on the decoding result.
接收设备在对译码结果进行LDPC校验矩阵校验,且LDPC校验矩阵校验通过之后,对译码结果进行CRC校验。若LDPC校验矩阵校验与CRC都通过,则可以确定译码结果为成功,且得到的译码结果准确。The receiving device performs LDPC check matrix check on the decoding result, and after the LDPC check matrix check passes, performs CRC check on the decoding result. If both the LDPC check matrix check and the CRC pass, it can be determined that the decoding result is successful, and the obtained decoding result is accurate.
需要说明的是,在本申请实施例中,可以先执行步骤404,也可以先执行步骤405,即可以先对译码结果进行LDPC校验矩阵校验,LDPC校验矩阵通过后执行CRC校验,也可以先对译码结果进行CRC校验,CRC校验通过后再执行LDPC校验矩阵,具体根据实际设计需求调整,此处不作限定。It should be noted that, in the embodiment of the present application, step 404 may be performed first, or step 405 may be performed first, that is, the LDPC check matrix check may be performed on the decoding result, and the CRC check may be performed after the LDPC check matrix is passed. The CRC check may be performed on the decoding result, and the LDPC check matrix is executed after the CRC check is passed, which is specifically adjusted according to actual design requirements, and is not limited herein.
具体地,CRC校验具体方式可以是,接收设备用约定的生成多项式除译码结果,若有余数,则接收设备确定CRC校验未通过,以及接收到的数据错误或译码失败,若没有余数,则接收设备确定对接收到的译码结果校验通过,以及对接收到的数据译码成功。Specifically, the specific manner of the CRC check may be: the receiving device divides the decoding result by using a predetermined generator polynomial, and if there is a remainder, the receiving device determines that the CRC check fails, and the received data error or decoding fails, if not For the remainder, the receiving device determines to pass the verification of the received decoding result, and successfully decodes the received data.
406、对译码结果进LDPC校验矩阵校验。406. Perform an LDPC check matrix check on the decoding result.
若TBS大于阈值,则仅对译码结果进行LDPC校验矩阵校验,不进行CRC校验,若LDPC校验矩阵校验通过,则确定对编码码字的译码结果为成功。If the TBS is greater than the threshold, only the LDPC check matrix check is performed on the decoding result, and the CRC check is not performed. If the LDPC check matrix check passes, it is determined that the decoding result of the coded codeword is successful.
在本申请实施例中,在接收设备接收到发送设备发送的数据,并进行解速率匹配得到编码码字,即附加CRC以及编码后的CB,以及对该编码以及附加CRC后的CB进行译码得到译码结果后,可以根据TBS与阈值进行对比选择对译码结果的校验方式,包括由LDPC校验矩阵校验与CRC校验组成的联合检验与LDPC校验矩阵校验。不同大小的TBS可以选择不同的校验方式,TBS大于阈值的可以仅进行LDPC校验矩阵校验,可以降低接收设备对译码结果进行校验的复杂度,进而降低接收设备对译码结果进行校验的功耗。且在进行联合检验时,可以分时执行LDPC校验矩阵校验与CRC校验,即在不同的时间执行LDPC校验矩阵校验与CRC校验,可以进一步降低对译码结果进行校验的复杂度。In the embodiment of the present application, the receiving device receives the data sent by the sending device, performs de-rate matching to obtain the encoded codeword, that is, adds the CRC and the encoded CB, and decodes the CB after the encoding and the CRC. After the decoding result is obtained, the verification manner of the decoding result may be selected according to the comparison between the TBS and the threshold, including a joint test consisting of an LDPC check matrix check and a CRC check, and an LDPC check matrix check. Different TBSs can select different check modes. If the TBS is greater than the threshold, only the LDPC check matrix check can be performed, which can reduce the complexity of the decoding result of the receiving device, and thus reduce the decoding result of the receiving device. Verify the power consumption. In the joint test, the LDPC check matrix check and the CRC check can be performed in a time-sharing manner, that is, the LDPC check matrix check and the CRC check are performed at different times, which can further reduce the verification of the decoding result. the complexity.
前述对本申请实施例中应用于LDPC的校验方法的流程进行了说明,该CRC校验可以是CRC_16,即16位的校验,且在TBS大于阈值时,在进行LDPC校验矩阵校验并通过后,还可以进行CRC_24,即24位的CRC校验,以确定译码结果的准确性。The foregoing describes the flow of the verification method applied to the LDPC in the embodiment of the present application. The CRC check may be CRC_16, that is, a 16-bit check, and when the TBS is greater than the threshold, the LDPC check matrix is verified. After passing, CRC_24, which is a 24-bit CRC check, can also be performed to determine the accuracy of the decoding result.
在实际应用中,通常在通信速率较低的场景下,接收设备可进行CRC_16校验,例如,在NR系统中,当TBS不大于3824位时,为CB附加16位的CRC校验位,因此,当接收设备对该TB进行校验时,还需要对译码结果进行CRC_16校验。在通信速率较高的场景下,例如,当CB长度大于3824位时,发送设备为CB附加24位的CRC校验位,因此,当接收设备对译码结果进行校验时,对译码结果进行CRC_24校验。In practical applications, the receiving device can perform CRC_16 check in a scenario where the communication rate is low. For example, in the NR system, when the TBS is not greater than 3824 bits, a 16-bit CRC check bit is added to the CB. When the receiving device checks the TB, it also needs to perform a CRC_16 check on the decoding result. In a scenario where the communication rate is high, for example, when the CB length is greater than 3824 bits, the transmitting device adds a 24-bit CRC check bit to the CB. Therefore, when the receiving device checks the decoding result, the decoding result is performed. Perform CRC_24 check.
下面以一个具体实施例的方式对本申请实施例中应用于LDPC的校验方法进行进一步地 说明。请参阅图5,本申请实施例中应用于LDPC的校验方法的另一个实施例示意图,包括:The verification method applied to the LDPC in the embodiment of the present application is further described below in a specific embodiment. Referring to FIG. 5, a schematic diagram of another embodiment of a verification method applied to an LDPC in the embodiment of the present application includes:
501、对接收的数据进行解速率匹配以得到编码码字;501, performing de-rate matching on the received data to obtain an encoded codeword;
本申请实施例中的步骤501与前述图4中的步骤401类似,具体此处不再赘述。The step 501 in the embodiment of the present application is similar to the step 401 in the foregoing FIG. 4, and details are not described herein again.
502、对编码码字进行译码以得到译码结果;502. Decode an encoded codeword to obtain a decoding result.
接收设备对接收到的数据进行解速率匹配得到编码码字后,该编码码字进行LDPC译码,得到译码结果,该译码结果还需要进行校验才能确定该译码结果为该目标数据的正确译码结果。After the receiving device performs de-rate matching on the received data to obtain an encoded codeword, the encoded codeword is LDPC-decoded to obtain a decoding result, and the decoding result needs to be verified to determine the decoding result as the target data. The correct decoding result.
接收设备在对该目标数据进行迭代译码时,可以使用上一次译码失败时的部分参数,例如,使用相同的码长、码率或归一化因子等。也可以重新对目标数据进行迭代译码,具体可根据实际设计需求调整,具体此处不作限定。When the receiving device performs iterative decoding on the target data, some parameters when the previous decoding fails may be used, for example, using the same code length, code rate, or normalization factor. It is also possible to perform iterative decoding on the target data, which can be adjusted according to actual design requirements, which is not limited herein.
接收设备可以对目标数据进行多次LDPC迭代译码,在每一次的LDPC迭代译码过程中,都对译码结果进行LDPC校验矩阵校验,若LDPC校验矩阵校验以及CRC_16校验都通过,则后续无需再进行LDPC译码。若LDPC校验矩阵校验以及CRC_16的其中一个未通过,且迭代次数小于预置次数时,可继续进行LDPC迭代译码,以LDPC校验矩阵校验以及CRC_16都通过,或迭代次数达到预置次数为止,即当LDPC校验矩阵校验以及CRC_16的其中一个未通过,且迭代次数达到预置的次数,则接收设备无需继续进行LDPC译码,接收设备确定对译码结果为失败。The receiving device may perform LDPC iterative decoding on the target data multiple times. In each LDPC iterative decoding process, the LDPC check matrix check is performed on the decoding result, and if the LDPC check matrix check and the CRC_16 check are both After passing, there is no need to perform LDPC decoding later. If the LDPC check matrix check and one of the CRC_16 fail, and the number of iterations is less than the preset number of times, the LDPC iterative decoding may be continued, the LDPC check matrix check and the CRC_16 are all passed, or the number of iterations reaches the preset. Up to the number of times, that is, when the LDPC check matrix check and one of the CRC_16 fail, and the number of iterations reaches a preset number of times, the receiving device does not need to continue LDPC decoding, and the receiving device determines that the decoding result is a failure.
503、判断传输块大小TBS是否大于阈值,若是,则执行步骤507,若否,则执行步骤504;503, determining whether the transport block size TBS is greater than a threshold, and if so, proceeding to step 507, and if not, executing step 504;
接收设备可以根据TBS的大小来确定对译码结果的校验方式,该TBS为接收设备当前接收到的数据所包括的CB对应的TB附加CRC后的长度,若该TBS大于阈值,则执行步骤507,若该TBS不大于阈值,则执行步骤504。The receiving device may determine the verification mode of the decoding result according to the size of the TBS, where the TBS is the length of the TB after the TB corresponding to the CB included in the data currently received by the receiving device, and if the TBS is greater than the threshold, the step is performed. 507. If the TBS is not greater than the threshold, perform step 504.
其中,该阈值可以是3824,即若该TBS大于3824,则执行步骤507,若该TBS不大于3824,则执行步骤504。The threshold may be 3824, that is, if the TBS is greater than 3824, step 507 is performed, and if the TBS is not greater than 3824, step 504 is performed.
504、对译码结果进行LDPC校验矩阵校验,若通过,则执行步骤505,若未通过,则执行步骤502;504, the LDPC check matrix check is performed on the decoding result, if yes, step 505 is performed, if not, step 502 is performed;
在进行LDPC译码,得到译码结果后,接收设备首先对该译码结果进行LDPC校验矩阵校验,并判断LDPC校验矩阵校验是否通过,若LDPC校验矩阵校验通过,则执行步骤505,即进行下一步的CRC_16校验,若LDPC校验矩阵校验未通过,则可以执行步骤502,即可以继续进行LDPC译码。在实际应用中,当进行LDPC译码的迭代次数达到预置的次数时,也可以确定LDPC译码失败,无需再继续进行LDPC译码。After performing the LDPC decoding to obtain the decoding result, the receiving device first performs an LDPC check matrix check on the decoding result, and determines whether the LDPC check matrix check passes, and if the LDPC check matrix check passes, the execution is performed. In step 505, the next CRC_16 check is performed. If the LDPC check matrix check fails, step 502 may be performed, that is, LDPC decoding may be continued. In practical applications, when the number of iterations of LDPC decoding reaches a preset number of times, the LDPC decoding failure may also be determined, and the LDPC decoding does not need to be continued.
接收设备对译码结果进行LDPC校验矩阵校验时,该LDPC校验矩阵校验可以为校验矩阵校验,可以包括一个或多个校验矩阵,并通过该一个或多个校验矩阵对译码结果进行校验。例如,使用校验矩阵进行校验以及判定校验结果的具体过程可以是,使用校验矩阵乘一个预置的向量,得到一个结果向量,若该结果向量中的值都为0,则可以确定LDPC校验矩阵校验通过,若该结果向量中的值不都为0,则可以确定LDPC校验矩阵校验未通过。When the receiving device performs the LDPC check matrix check on the decoding result, the LDPC check matrix check may be a check matrix check, may include one or more check matrices, and pass the one or more check matrices. The decoding result is verified. For example, the specific process of using the check matrix for verifying and determining the check result may be: using a check matrix to multiply a preset vector to obtain a result vector, if the values in the result vector are all 0, then it may be determined The LDPC check matrix check passes. If the values in the result vector are not all 0, it can be determined that the LDPC check matrix check fails.
更进一步地,接收设备存在一定的虚警概率(False Alarm Ratio,FAR),即接收设备 上实际没有信号存在,却做出“有信号”的错误判决的概率,使用LDPC校验矩阵校验的校验矩阵中的所有校验节点对译码结果进行译码,将降低对译码结果校验的效率,存在无法获取正确校验结果的情况。因此,为进一步提高进行LDPC校验矩阵校验的效率,当FAR在预置范围时,接收设备可以只采用校验矩阵中的目标校验式对译码结果进行校验得到校验结果,并将该校验结果作为LDPC校验矩阵校验的校验结果,例如,接收设备可以采用校验矩阵中的第一行的校验式的校验结果作为LDPC校验矩阵校验结果,或采用校验矩阵中的第五行的校验式的校验结果作为LDPC校验矩阵校验结果等,可根据实际设计需求调整,具体此处不作限定。在本申请实施例中,接收设备可以使用校验矩阵中的部分校验式的校验结果作为LDPC校验矩阵校验的校验结果,而无需将所有校验式的校验结果作为LDPC校验矩阵校验的校验结果。并通过该LDPC校验矩阵校验中目标校验式的校验结果判断LDPC校验矩阵校验是否通过,可以进一步提高接收设备进行LDPC校验矩阵校验的效率,降低LDPC校验矩阵校验的实现复杂度。Further, the receiving device has a certain False Alarm Ratio (FAR), that is, the probability that the receiving device does not actually have a signal, but makes a "signal" error decision, and uses the LDPC check matrix to verify the probability. All the check nodes in the check matrix decode the decoding result, which will reduce the efficiency of verifying the decoding result, and there is a case where the correct check result cannot be obtained. Therefore, in order to further improve the efficiency of performing the LDPC check matrix check, when the FAR is in the preset range, the receiving device can verify the decoding result by using only the target check formula in the check matrix, and The check result is used as a check result of the LDPC check matrix check. For example, the receiving device may use the check result of the first row in the check matrix as the check result of the LDPC check matrix, or adopt the check result. The check result of the checksum of the fifth row in the check matrix is used as the check result of the LDPC check matrix, and can be adjusted according to actual design requirements, which is not limited herein. In the embodiment of the present application, the receiving device may use the check result of the partial check formula in the check matrix as the check result of the LDPC check matrix check, without using the check result of all check patterns as the LDPC school. Check the verification result of the matrix check. And determining whether the LDPC check matrix check is passed by the check result of the target check formula in the LDPC check matrix check, which can further improve the efficiency of the LDPC check matrix check by the receiving device, and reduce the LDPC check matrix check. Implementation complexity.
505、对译码结果进行CRC_16校验,若通过,则执行步骤506,若未通过,则执行步骤502;505, the CRC_16 check is performed on the decoding result, if yes, step 506 is performed, if not, step 502 is performed;
接收设备对译码结果进行CRC_16校验,得到一个校验结果。并通过该校验结果判断第一CRC校验是否通过,若CRC_16校验通过,则执行步骤506,即接收设备确定对目标数据译码的结果为成功,且译码结果准确,若CRC_16校验未通过,则执行步骤502,即继续进行LDPC译码。在实际应用中,当进行LDPC译码的迭代次数达到预置的次数时,也可以确定LDPC译码失败,无需再继续进行LDPC译码。The receiving device performs a CRC_16 check on the decoding result to obtain a verification result. And determining, by the check result, whether the first CRC check is passed. If the CRC_16 check passes, step 506 is performed, that is, the receiving device determines that the result of decoding the target data is successful, and the decoding result is accurate, if the CRC_16 is verified. If not, step 502 is performed, that is, LDPC decoding is continued. In practical applications, when the number of iterations of LDPC decoding reaches a preset number of times, the LDPC decoding failure may also be determined, and the LDPC decoding does not need to be continued.
其中,进行CRC_16校验的具体步骤可以是,接收设备用于发送设备约定的16位生成多项式除译码结果,若有余数,则接收设备确定CRC_16校验未通过,以及接收到的数据错误或译码失败,若没有余数,则接收设备确定对接收到的译码结果校验通过,以及对接收到的数据译码成功,且译码结果准确。The specific step of performing the CRC_16 check may be: the receiving device is configured to send the 16-bit generation polynomial division decoding result agreed by the device, and if there is a remainder, the receiving device determines that the CRC_16 check fails, and the received data is incorrect or If the decoding fails, if there is no remainder, the receiving device determines to pass the verification of the received decoding result, and successfully decodes the received data, and the decoding result is accurate.
此外,在本申请实施例中,可以先执行步骤504,后执行步骤505,也可以先执行步骤505,后执行步骤504,即可以先进行LDPC校验矩阵校验,之后进行CRC_16校验,也可以先进行CRC_16校验,之后进行LDPC校验矩阵校验,具体可以根据实际设计需求调整,此处不作限定。In addition, in the embodiment of the present application, step 504 may be performed first, and then step 505 may be performed, or step 505 may be performed first, and then step 504 may be performed, that is, the LDPC check matrix check may be performed first, and then the CRC_16 check may be performed. The CRC_16 check may be performed first, and then the LDPC check matrix check may be performed, which may be adjusted according to actual design requirements, which is not limited herein.
506、确定译码成功,且译码结果准确;506. Determine that the decoding is successful, and the decoding result is accurate.
在接收设备对译码结果进行CRC_16校验并通过后,接收设备可以确定进行LDPC译码的结果为成功,即成功对编码码字进行译码,且译码的结果准确,即译码结果与发送设备进行编码以及附加CRC前的CB匹配,接收设备获取到准确的CB。After the receiving device performs CRC_16 check on the decoding result and passes, the receiving device may determine that the result of performing LDPC decoding is successful, that is, successfully decoding the encoded codeword, and the decoding result is accurate, that is, the decoding result is The transmitting device performs encoding and CB matching before the CRC is added, and the receiving device acquires an accurate CB.
507、对译码结果进行LDPC校验矩阵校验,若通过,则执行步骤508,若未通过,则执行步骤502;507, the LDPC check matrix check is performed on the decoding result, if yes, step 508 is performed, if not, step 502 is performed;
在TBS大于阈值,包括TBS大于3824的情况,接收设备仅需对译码结果进行LDPC校验矩阵校验,以确定译码结果是否成功,若LDPC校验矩阵校验通过,则执行步骤508,若LDPC校验矩阵校验未通过,则执行步骤502。When the TBS is greater than the threshold, including the TBS greater than 3824, the receiving device only needs to perform an LDPC check matrix check on the decoding result to determine whether the decoding result is successful. If the LDPC check matrix check passes, step 508 is performed. If the LDPC check matrix check fails, step 502 is performed.
在实际应用中,当进行LDPC译码的迭代次数达到预置的次数时,也可以确定LDPC译 码失败,无需再继续进行LDPC译码。In practical applications, when the number of iterations of LDPC decoding reaches a preset number of times, it can also be determined that the LDPC decoding fails, and the LDPC decoding does not need to be continued.
508、确定译码成功;508. Determine that the decoding is successful.
在LDPC校验矩阵校验通过后,接收设备可以确定LDPC译码的结果为成功。此外,接收设备在确定译码成功后,还需要确认译码结果是否准确,即译码结果是否与发送设备进行编码以及附加CRC前的CB匹配,因此,还可以进行CRC_24校验。After the LDPC check matrix check is passed, the receiving device can determine that the result of the LDPC decoding is successful. In addition, after determining that the decoding is successful, the receiving device also needs to confirm whether the decoding result is accurate, that is, whether the decoding result is encoded with the transmitting device and the CB before the CRC is added. Therefore, the CRC_24 check can also be performed.
509、对译码结果进行CRC_24校验。509. Perform CRC_24 verification on the decoding result.
当TBS大于阈值,即TBS大于3824,接收设备在对译码结果进行LDPC校验矩阵校验通过,确定译码成功后,接收设备可以继续对译码结果进行CRC_24校验,以确定译码结果是否与发送设备进行编码以及附加CRC前的CB匹配。若CRC_24校验通过,则接收设备可以确定译码结果准确,获取到准确的CB。When the TBS is greater than the threshold, that is, the TBS is greater than 3824, the receiving device performs LDPC check matrix check on the decoding result, and after determining that the decoding is successful, the receiving device may continue to perform CRC_24 check on the decoding result to determine the decoding result. Whether to encode with the sending device and to match the CB before the CRC. If the CRC_24 check passes, the receiving device can determine that the decoding result is accurate and obtain an accurate CB.
若该CB为TB切分的多个CB中的一个,则接收设备在获取到该多个CB中的所有CB后,还需要使用该多个CB对该TB进行重组,以得到完整的TB。If the CB is one of the multiple CBs that are TB-segmented, the receiving device needs to recombine the TBs by using the multiple CBs after obtaining all the CBs in the multiple CBs to obtain a complete TB.
在实际通信系统中,在通信速率较低的情况下,即TBS小于3824,仅对译码结果进行LDPC校验矩阵校验产生的误差太大,且时间充足,可以通过LDPC校验矩阵校验与CRC_16校验共同确认目标数据是否译码成功,而在通信速率较高的情况下,进行LDPC校验矩阵校验的结果稳定,因此在LDPC校验矩阵校验通过后,接收设备可以确定对目标数据的译码成功。在确定对目标数据译码成功之后,接收设备再对译码结果进行CRC_24校验,以确定目标数据是否接收准确。因此,在实际通信场景中,CRC_16通常可以是当通信速率较低的情况下执行的,即当TB的长度不大于3824位时执行CRC_16校验。CRC_24校验通常可以是当通信速率较高的情况下执行的,当TB的长度大于3824位时,接收设备可以在LDPC矩阵校验通过,并确定译码成功后再进行CRC_24校验。In the actual communication system, when the communication rate is low, that is, the TBS is less than 3824, only the error caused by the LDPC check matrix check on the decoding result is too large, and the time is sufficient, and the LDPC check matrix can be verified. The CRC_16 check confirms whether the target data is successfully decoded, and when the communication rate is high, the result of performing the LDPC check matrix check is stable. Therefore, after the LDPC check matrix is verified, the receiving device can determine the pair. The decoding of the target data is successful. After determining that the target data is successfully decoded, the receiving device performs a CRC_24 check on the decoded result to determine whether the target data is received accurately. Therefore, in an actual communication scenario, CRC_16 can generally be performed when the communication rate is low, that is, when the length of the TB is not greater than 3824 bits, the CRC_16 check is performed. The CRC_24 check can be performed normally when the communication rate is high. When the length of the TB is greater than 3824 bits, the receiving device can pass the LDPC matrix check and determine that the decoding is successful before performing the CRC_24 check.
在本申请实施例中,接收设备在对译码结果进行校验时,在TBS大于3824时,仅进行LDPC校验矩阵校验,以确定译码成功,可以在确定译码成功时减少进行CRC_24校验的流程,在确定译码成功后,再进行CRC_24校验,已确保获取到的CB的准确性。在TBS大于3824时,进行LDPC校验矩阵校验与CRC_16校验,以确定译码成功,且LDPC校验矩阵校验与CRC_16校验为分时进行,且在不同时间执行LDPC校验矩阵校验与CRC_16校验,可以降低接收设备对译码结果进行校验的复杂度,进而降低接收设备在进行校验时的功耗。In the embodiment of the present application, when the decoding device performs verification on the decoding result, when the TBS is greater than 3824, only the LDPC check matrix check is performed to determine that the decoding is successful, and the CRC_24 may be reduced when determining that the decoding is successful. The verification process, after determining the successful decoding, performs the CRC_24 check to ensure the accuracy of the acquired CB. When the TBS is greater than 3824, the LDPC check matrix check and the CRC_16 check are performed to determine that the decoding is successful, and the LDPC check matrix check and the CRC_16 check are time-division, and the LDPC check matrix is performed at different times. The verification and CRC_16 check can reduce the complexity of the receiving device to verify the decoding result, thereby reducing the power consumption of the receiving device when performing verification.
前述对本申请实施例提供的应用于LDPC的校验方法的具体流程进行了详细说明,下面对本申请实施例中的装置进行说明,请参阅图6,本申请实施例中校验装置的一个实施例示意图,包括:The specific process of the LDPC verification method provided by the embodiment of the present application is described in detail. The following describes the device in the embodiment of the present application. Referring to FIG. 6, an embodiment of the verification device in the embodiment of the present application is described. Schematic diagram, including:
解速率模块601,用于对接收的数据进行解速率匹配以得到编码码字,该编码码字为附加CRC以及编码后的CB,该接收的数据为由发送设备发送;The rate deciding module 601 is configured to perform rate de-matching on the received data to obtain an encoded codeword, where the encoded codeword is an additional CRC and an encoded CB, and the received data is sent by the sending device;
译码模块602,用于对解速率模块601得到的编码码字进行译码以得到译码结果;The decoding module 602 is configured to decode the encoded codeword obtained by the de-rate module 601 to obtain a decoding result;
确定模块603,用于根据TBS确定校验方式,该校验方式为由LDPC校验矩阵校验和循环冗余检测CRC校验组成的联合检验或LDPC校验矩阵校验,该TBS可以由发送设备发送得到,该TBS为TB的长度,该TB被切分为一个或多个CB,该编码码字中的CB为该TB所切分的CB中的一个;The determining module 603 is configured to determine, according to the TBS, a check mode, where the check mode is a joint check consisting of an LDPC check matrix check and a cyclic redundancy check CRC check, or an LDPC check matrix check, where the TBS can be sent by The device sends, the TBS is the length of the TB, the TB is divided into one or more CBs, and the CB in the encoded codeword is one of the CBs divided by the TB;
校验模块604,用于根据该确定模块603确定的校验方式对该译码模块译码的译码结果进行校验。The verification module 604 is configured to verify the decoding result decoded by the decoding module according to the verification manner determined by the determining module 603.
可选地,在一些可能的实施方式中,确定模块603具体用于:Optionally, in some possible implementations, the determining module 603 is specifically configured to:
将所述TBS和阈值进行比较;Comparing the TBS with a threshold;
在所述TBS不大于所述阈值时,确定所述校验方式为由所述LDPC校验矩阵校验和所述CRC校验组成的联合检验;When the TBS is not greater than the threshold, determining that the verification mode is a joint test consisting of the LDPC check matrix checksum and the CRC check;
在所述TBS大于所述阈值时,确定所述校验方式为所述LDPC校验矩阵校验。When the TBS is greater than the threshold, determining that the verification mode is the LDPC check matrix check.
可选地,在一些可能的实施方式中,该阈值为3824。Optionally, in some possible implementations, the threshold is 3824.
可选地,在一些可能的实施方式中,该联合校验由LDPC校验矩阵校验和长度为16位的CRC校验组成。Optionally, in some possible implementations, the joint check consists of an LDPC check matrix checksum and a 16-bit CRC check.
可选地,在一些可能的实施方式中,校验模块604具体用于:Optionally, in some possible implementations, the verification module 604 is specifically configured to:
在该校验方式为所述联合校验时,对译码结果分时进行LDPC校验矩阵校验和CRC校验,即在不同的时间进行LDPC校验矩阵校验和CRC校验。When the check mode is the joint check, the LDPC check matrix check and the CRC check are performed on the decoding result in a time division manner, that is, the LDPC check matrix check and the CRC check are performed at different times.
可选地,在一些可能的实施方式中,LDPC校验矩阵校验可以包括采用LDPC校验矩阵的部分校验式进行校验。Optionally, in some possible implementation manners, the LDPC check matrix check may include performing a check using a partial check formula of the LDPC check matrix.
图7是本发明实施例提供的一种通信设备结构示意图,该通信设备700可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)722(例如,一个或一个以上处理器),一个或一个以上存储应用程序742或数据744的存储介质730(例如一个或一个以上海量存储设备)。其中,存储介质730可以是短暂存储或持久存储。存储在存储介质730的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对通信设备中的一系列指令操作。更进一步地,中央处理器722可以设置为与存储介质730通信,在通信设备700上执行存储介质730中的一系列指令操作。FIG. 7 is a schematic structural diagram of a communication device according to an embodiment of the present invention. The communication device 700 may have a large difference due to different configurations or performances, and may include one or more central processing units (CPUs) 722. (eg, one or more processors), one or more storage media 730 that store application 742 or data 744 (eg, one or one storage device in Shanghai). Wherein, the storage medium 730 can be short-term storage or persistent storage. The program stored on storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations in the communication device. Still further, central processor 722 can be configured to communicate with storage medium 730, executing a series of instruction operations in storage medium 730 on communication device 700.
该中央处理器722可以根据指令操作执行如下步骤:The central processing unit 722 can perform the following steps according to the instruction operation:
在接收到发送设备发送的数据,该数据可以是附加CRC、FEC编码以及速率匹配后的CB,对该附加CRC、FEC编码以及速率匹配后的CB进行解速率匹配,得到发送设备进行速率匹配前的附加CRC以及编码后的CB,然后对该附加CRC以及编码后的CB进行LDPC译码,得到译码结果,之后根据TBS确定对该译码结果的校验方式,该校验方式可以是联合校验,也可以是LDPC校验矩阵校验,该联合校验包括LDPC校验矩阵校验与CRC校验。TBS为接收设备解速率匹配后的CB所对应的完整的附加CRC校验位后的TB的长度,该TBS可以是由发送设备通过控制信道发送的。After receiving the data sent by the sending device, the data may be an additional CRC, a FEC code, and a rate-matched CB, and perform de-rate matching on the additional CRC, the FEC code, and the rate-matched CB, so that the sending device performs rate matching. The additional CRC and the encoded CB are then LDPC-decoded to the additional CRC and the encoded CB to obtain a decoding result, and then the verification mode of the decoding result is determined according to the TBS, and the verification mode may be a joint The check may also be an LDPC check matrix check, which includes an LDPC check matrix check and a CRC check. The TBS is the length of the TB after receiving the complete additional CRC check bit corresponding to the CB after the rate dematching of the device, and the TBS may be sent by the sending device through the control channel.
通信设备700还可以包括一个或一个以上电源726,一个或一个以上有线或无线网络接口750,一个或一个以上输入输出接口758,和/或,一个或一个以上操作系统741,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Communication device 700 may also include one or more power sources 726, one or more wired or wireless network interfaces 750, one or more input and output interfaces 758, and/or one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
上述实施例中由校验装置所执行的步骤可以基于该图7所示的通信设备结构。The steps performed by the verification device in the above embodiments may be based on the communication device structure shown in FIG.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例图3至图5所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in connection with Figures 3 through 5 of various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。The above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the embodiments are modified, or equivalent to some of the technical features are replaced; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (14)

  1. 一种应用于低密度奇偶校检LDPC的校验方法,其特征在于,包括:A verification method applied to a low-density parity check LDPC, comprising:
    对接收的数据进行解速率匹配以得到编码码字;Performing de-rate matching on the received data to obtain an encoded codeword;
    对所述编码码字进行译码以得到译码结果;Decoding the encoded codeword to obtain a decoded result;
    根据传输块大小TBS确定校验方式,所述校验方式为由LDPC校验矩阵校验和循环冗余检测CRC校验组成的联合检验或LDPC校验矩阵校验;Determining a check mode according to a transport block size TBS, where the check mode is a joint check or an LDPC check matrix check consisting of an LDPC check matrix check and a cyclic redundancy check CRC check;
    根据所述确定的校验方式对所述译码结果进行校验。The decoding result is verified according to the determined verification manner.
  2. 如权利要求1所述的校验方法,其特征在于,所述根据传输块大小TBS确定校验方式包括:The verification method according to claim 1, wherein the determining the verification manner according to the transport block size TBS comprises:
    将所述TBS和阈值进行比较;Comparing the TBS with a threshold;
    在所述TBS不大于所述阈值时,确定所述校验方式为由所述LDPC校验矩阵校验和所述CRC校验组成的联合检验;When the TBS is not greater than the threshold, determining that the verification mode is a joint test consisting of the LDPC check matrix checksum and the CRC check;
    在所述TBS大于所述阈值时,确定所述校验方式为所述LDPC校验矩阵校验。When the TBS is greater than the threshold, determining that the verification mode is the LDPC check matrix check.
  3. 如权利要求2所述的校验方法,其特征在于,所述阈值为3824。The verification method of claim 2 wherein said threshold is 3824.
  4. 如权利要求3所述的校验方法,其特征在于,所述联合校验由所述LDPC校验矩阵校验和长度为16位的CRC校验组成。The verification method according to claim 3, wherein said joint check consists of said LDPC check matrix checksum CRC check of length 16 bits.
  5. 如权利要求1-4任一所述的校验方法,所述校验方式为所述联合校验时,所述根据所述确定的校验方式对所述译码结果进行校验包括:The verification method according to any one of claims 1-4, wherein when the verification mode is the joint verification, the verifying the decoding result according to the determined verification manner comprises:
    对所述译码结果分时进行所述LDPC校验矩阵校验和所述CRC校验。Performing the LDPC check matrix check and the CRC check on the decoding result.
  6. 如权利要求1-5任一所述的校验方法,其特征在于,所述LDPC校验矩阵校验包括采用所述LDPC校验矩阵的部分校验式进行校验。The verification method according to any one of claims 1 to 5, wherein the LDPC check matrix check comprises performing a check using a partial check formula of the LDPC check matrix.
  7. 一种校验装置,其特征在于,包括:A calibration device, comprising:
    解速率模块,用于对接收的数据进行解速率匹配以得到编码码字;a rate decoding module, configured to perform rate de-matching on the received data to obtain an encoded codeword;
    译码模块,用于对所述解速率模块得到的编码码字进行译码以得到译码结果;a decoding module, configured to decode the coded codeword obtained by the de-rate module to obtain a decoding result;
    确定模块,用于根据传输块大小TBS确定校验方式,所述校验方式为由LDPC校验矩阵校验和循环冗余检测CRC校验组成的联合检验或LDPC校验矩阵校验;a determining module, configured to determine a check mode according to a transport block size TBS, where the check mode is a joint check or an LDPC check matrix check composed of an LDPC check matrix check and a cyclic redundancy check CRC check;
    校验模块,用于根据所述确定模块确定的校验方式对所述译码模块译码的译码结果进行校验。And a verification module, configured to perform verification on the decoding result decoded by the decoding module according to the verification manner determined by the determining module.
  8. 如权利要求7所述的校验装置,其特征在于,所述确定模块具体用于:The verification device according to claim 7, wherein the determining module is specifically configured to:
    将所述TBS和阈值进行比较;Comparing the TBS with a threshold;
    在所述TBS不大于所述阈值时,确定所述校验方式为由所述LDPC校验矩阵校验和所述CRC校验组成的联合检验;When the TBS is not greater than the threshold, determining that the verification mode is a joint test consisting of the LDPC check matrix checksum and the CRC check;
    在所述TBS大于所述阈值时,确定所述校验方式为所述LDPC校验矩阵校验。When the TBS is greater than the threshold, determining that the verification mode is the LDPC check matrix check.
  9. 如权利要求8所述的校验装置,其特征在于,所述阈值为3824。The calibration device of claim 8 wherein said threshold is 3824.
  10. 如权利要求9所述的校验装置,其特征在于,所述联合校验由所述LDPC校验矩阵校验和长度为16位的CRC校验组成。The verification apparatus according to claim 9, wherein said joint check consists of said LDPC check matrix checksum CRC check of length 16 bits.
  11. 如权利要求7-10任一所述的校验装置,其特征在于,所述校验模块具体用于:The verification device according to any one of claims 7 to 10, wherein the verification module is specifically configured to:
    在所述校验方式为所述联合校验时,对所述译码结果分时进行所述LDPC校验矩阵校验和所述CRC校验。When the check mode is the joint check, the LDPC check matrix check and the CRC check are performed on the decoding result in a time division manner.
  12. 如权利要求7-11任一所述的校验装置,其特征在于,所述LDPC校验矩阵校验包括采用所述LDPC校验矩阵的部分校验式进行校验。The verification apparatus according to any one of claims 7 to 11, wherein the LDPC check matrix check comprises performing a check using a partial check formula of the LDPC check matrix.
  13. 一种通信设备,其特征在于,包括:A communication device, comprising:
    存储器,用于存储程序;Memory for storing programs;
    处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于执行如权利要求1-6中任一所述的步骤。A processor for executing the program stored by the memory, the processor for performing the steps of any of claims 1-6 when the program is executed.
  14. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-6中任意一项所述的方法。A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-6.
PCT/CN2019/072660 2018-01-23 2019-01-22 Method and device for low density parity check, and communication device WO2019144862A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810065301.0A CN110071780B (en) 2018-01-23 2018-01-23 Check method and device applied to low-density parity check LDPC (Low Density parity check), and communication equipment
CN201810065301.0 2018-01-23

Publications (1)

Publication Number Publication Date
WO2019144862A1 true WO2019144862A1 (en) 2019-08-01

Family

ID=67365140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/072660 WO2019144862A1 (en) 2018-01-23 2019-01-22 Method and device for low density parity check, and communication device

Country Status (2)

Country Link
CN (1) CN110071780B (en)
WO (1) WO2019144862A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301575B (en) * 2021-12-21 2024-03-29 阿里巴巴(中国)有限公司 Data processing method, system, equipment and medium
TWI804359B (en) * 2022-06-23 2023-06-01 慧榮科技股份有限公司 Method and apparatus for decoding low-density parity-check (ldpc) code

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159514A (en) * 2007-10-31 2008-04-09 中兴通讯股份有限公司 Method of adding cyclic redundancy code of transmission block
CN102237953A (en) * 2010-05-05 2011-11-09 中兴通讯股份有限公司 LTE (Long Term Evolution) PDSCH (Physical Downlink Shared Channel) rate de-matching method and device
CN106788456A (en) * 2016-12-14 2017-05-31 电子科技大学 One kind polarization code coding/decoding method
CN106961319A (en) * 2016-01-12 2017-07-18 中兴通讯股份有限公司 A kind of method and apparatus of data processing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8020070B2 (en) * 2007-12-05 2011-09-13 Aquantia Corporation Trapping set decoding for transmission frames
CN108287771A (en) * 2017-12-27 2018-07-17 沈阳东软医疗系统有限公司 A kind of data verification method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159514A (en) * 2007-10-31 2008-04-09 中兴通讯股份有限公司 Method of adding cyclic redundancy code of transmission block
CN102237953A (en) * 2010-05-05 2011-11-09 中兴通讯股份有限公司 LTE (Long Term Evolution) PDSCH (Physical Downlink Shared Channel) rate de-matching method and device
CN106961319A (en) * 2016-01-12 2017-07-18 中兴通讯股份有限公司 A kind of method and apparatus of data processing
CN106788456A (en) * 2016-12-14 2017-05-31 电子科技大学 One kind polarization code coding/decoding method

Also Published As

Publication number Publication date
CN110071780B (en) 2020-11-06
CN110071780A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
EP3934138B1 (en) Data transmission method and related device
US10536171B2 (en) Encoding/decoding method, device, and system
EP3591868B1 (en) Information processing method, apparatus and device
EP1357691B1 (en) A method for encoding a user identifier in a communication system
CN108282259B (en) Coding method and device
WO2017121334A1 (en) Data-processing method and device
WO2018141212A1 (en) Information transmission method, decoding method and device
WO2011144112A2 (en) Speech signal processing method and device, and access network system
EP4156579A1 (en) Polar code encoding method and apparatus, and polar code decoding method and apparatus
WO2019144862A1 (en) Method and device for low density parity check, and communication device
CN113938248B (en) Data message error correction method and data message error correction device
US20230208554A1 (en) Encoding and Decoding Method and Apparatus
CN114244470A (en) Channel State Information (CSI) coding method and device, storage medium and processor
CN108322285B (en) Data sending method, receiving method and device
WO2019169966A1 (en) Method for processing information data block and transmitting terminal
CN115276886A (en) Code identification method and device
CN113242045A (en) Efficient decoding method and device for polarization code and computer readable storage medium
EP4250610A1 (en) Method and device for determining polar code assistant bits
WO2019242022A1 (en) Polar code decoding method and apparatus
WO2019029576A1 (en) Coding method, decoding method, coding device and decoding device
US11876620B1 (en) Error correction for decoding frames
CN111600613B (en) Verification method, verification device, decoder, receiver and computer storage medium
CN114499758B (en) Channel coding method, device, equipment and computer readable storage medium
WO2023011145A1 (en) Communication method and apparatus
WO2022089293A1 (en) Encoding method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19744257

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19744257

Country of ref document: EP

Kind code of ref document: A1