CN108880565A - The coding and decoding method and communication equipment of polarization code - Google Patents
The coding and decoding method and communication equipment of polarization code Download PDFInfo
- Publication number
- CN108880565A CN108880565A CN201710336184.2A CN201710336184A CN108880565A CN 108880565 A CN108880565 A CN 108880565A CN 201710336184 A CN201710336184 A CN 201710336184A CN 108880565 A CN108880565 A CN 108880565A
- Authority
- CN
- China
- Prior art keywords
- reliability
- polarized
- channel
- segment
- channels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/13—Linear codes
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Optical Communication System (AREA)
- Error Detection And Correction (AREA)
Abstract
本申请提供一种极化码编译码的方法,能够提高极化码的编译码性能。该方法包括:通信设备获取待编码比特或者待译码比特;确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;根据速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为N个极化信道中的全部极化信道或部分极化信道;根据信息比特序号集合,对待编码比特进行极化编码,或对待译码比特进行译码。
The present application provides a polar code encoding and decoding method, which can improve the encoding and decoding performance of the polar code. The method includes: the communication device acquires the bits to be encoded or the bits to be decoded; determining the first reliability of each of the N polarized channels of the polarized code whose mother code length is N and the number of information bits is K , the first reliability is the reliability of the polarized channel before rate matching; according to the rate matching parameters, mother code length and polarization weighting factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine A set of information bit numbers, where the target polarized channel is all or part of the N polarized channels; according to the set of information bit numbers, the bits to be coded are polarized encoded, or the bits to be decoded are decoded code.
Description
技术领域technical field
本申请涉及通信领域,具体涉及一种极化码的编译码的方法和通信设备。The present application relates to the field of communication, and in particular to a coding and decoding method of a polar code and a communication device.
背景技术Background technique
信道编码作为最基本的无线接入技术,在保证数据的可靠性传输方面起到至关重要的作用。在现有的无线通信系统中,一般采用Turbo码、低密度奇偶校验码(Low DensityParity Check,LDPC)和极化(Polar)码进行信道编码。Turbo码不能够支持过低或过高码率的信息传输。而对于中短包传输,Turbo码和LDPC码也由于自身编译码的特点,在有限码长下很难达到理想的性能。在实现方面,Turbo码和LDPC码在编译码实现过程中具有较高的计算复杂度。极化(Polar)码是理论上证明可以取得香农容量,且具有相对简单的编译码复杂度的好码,因而得到了越来越广泛的应用。As the most basic wireless access technology, channel coding plays a vital role in ensuring the reliability of data transmission. In an existing wireless communication system, generally, a Turbo code, a Low Density Parity Check code (Low Density Parity Check, LDPC) and a polar (Polar) code are used for channel coding. Turbo codes cannot support information transmission with too low or too high a code rate. For the transmission of short and medium packets, Turbo codes and LDPC codes are difficult to achieve ideal performance under limited code length due to their own coding and decoding characteristics. In terms of implementation, Turbo codes and LDPC codes have high computational complexity in the process of encoding and decoding. Polar (Polar) codes are theoretically proven to be good codes that can obtain Shannon capacity and have relatively simple encoding and decoding complexity, and thus have been more and more widely used.
但是,随着无线通信系统的快速演进,未来的通信系统(例如,5G)将会出现一些新的特点。例如,最典型的三个通信场景包括增强型移动互联网(Enhance MobileBroadband,eMBB)、海量机器连接通信(Massive Machine Type Communication,mMTC)和高可靠低延迟通信(Ultra Reliable Low Latency Communication,URLLC)。这些通信场景对于极化码的编译码性能提出了更高的要求。However, with the rapid evolution of wireless communication systems, some new features will appear in future communication systems (eg, 5G). For example, the three most typical communication scenarios include Enhanced Mobile Internet (Enhance MobileBroadband, eMBB), Massive Machine Type Communication (mMTC), and Ultra Reliable Low Latency Communication (URLLC). These communication scenarios put forward higher requirements for the coding and decoding performance of polar codes.
而在现阶段的应用过程中,极化码的编译码性能还不理想,需要进一步提高。However, in the application process at this stage, the coding and decoding performance of polar codes is not ideal and needs to be further improved.
发明内容Contents of the invention
本申请提供一种极化码编码的方法,能够提高极化码的编译码性能。The present application provides a polar code coding method, which can improve the coding and decoding performance of the polar code.
第一方面,本申请提供一种极化码编码的方法,该方法包括:通信设备获取待编码比特或者待译码比特;确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,所述第一可靠度为速率匹配之前极化信道的可靠度;根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,所述目标极化信道为所述N个极化信道中的全部极化信道或部分极化信道;根据所述信息比特序号集合,对待编码比特进行极化编码,或对待译码比特进行译码。In the first aspect, the present application provides a polar code coding method, the method includes: a communication device acquires bits to be coded or bits to be decoded; The first reliability of each polarized channel in the N polarized channels, the first reliability is the reliability of the polarized channel before the rate matching; according to the rate matching parameter, the mother code length and the polarized weight factor, obtain the obtained The reliability variation of the target polarized channel among the N polarized channels to determine the information bit sequence number set, wherein the target polarized channel is all polarized channels or some polarized channels among the N polarized channels Channel: according to the information bit sequence number set, polar coding is performed on the bits to be coded, or decoding is performed on the bits to be decoded.
在一种可能的实现方式中,所述根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:根据所述速率匹配参数、母码长度和极化权重因子,计算所述N个极化信道中每个极化信道的可靠度变化量;根据所述N个极化信道中每个极化信道的第一可靠度和可靠度变化量,确定所述N个极化信道中每个极化信道的第二可靠度,其中,所述第二可靠度为速率匹配之后极化信道的可靠度;根据所述N个极化信道中每个极化信道的第二可靠度,从所述N个极化信道的序号中选取可靠度最高的K个非打孔位置的序号作为所述信息比特序号集合。In a possible implementation manner, according to the rate matching parameter, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers , including: calculating the reliability change amount of each of the N polarized channels according to the rate matching parameter, the mother code length and the polarization weighting factor; according to each of the N polarized channels The first reliability of the polarized channel and the variation of the reliability determine the second reliability of each polarized channel in the N polarized channels, wherein the second reliability is the polarized channel after rate matching Reliability: according to the second reliability of each polarized channel in the N polarized channels, select the serial numbers of the K non-punched positions with the highest reliability from the serial numbers of the N polarized channels as the described A collection of information bit sequence numbers.
在一种可能的实现方式中,所述根据所述速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中每个极化信道的可靠度变化量,包括:所述根据所述速率匹配参数、母码长度和极化权重因子,计算所述N个极化信道在第i层第j段的可靠度变化量Ci,j,i遍历[1,L]中的取值,1≤j≤2i,其中,L为预设的计算极化信道可靠度变化量的层数,L≥1且为正整数;所述N个极化信道中第n个极化信道的的可靠度变化量为1≤n≤N,n为正整数。In a possible implementation manner, the acquiring the reliability change amount of each polarized channel among the N polarized channels according to the rate matching parameter, the mother code length, and the polarized weight factor includes: According to the rate matching parameters, the mother code length and the polarization weighting factor, calculate the reliability variation C i,j of the N polarized channels in the j-th segment of the i-layer, i traverses [1, L] The value of , 1≤j≤2 i , where L is the preset number of layers for calculating the variation of the polarization channel reliability, L≥1 and is a positive integer; the nth pole in the N polarization channels The reliability variation of the channelized channel is 1≤n≤N, n is a positive integer.
在一种可能的实现方式中,所述根据所述速率匹配参数、母码长度和极化权重因子,计算所述N个极化信道在第i层第j段的可靠度变化量Ci,j,包括:根据如下公式计算所述N个极化信道在第i层第j段的可靠度变化量Ci,j:In a possible implementation manner, according to the rate matching parameter, the mother code length and the polarization weighting factor, the reliability variation C i of the j-th segment of the i-layer of the N polarized channels is calculated, j , including: calculating the reliability variation C i,j of the N polarized channels in the j-th segment of the i-layer according to the following formula:
其中,Ci,j为第i层第j个分段对应的可靠度变化量,Pi,j为第i层第j个分段的打孔数量,N为所述母码长度,β为极化权重因子。 Among them, C i, j is the reliability variation corresponding to the jth segment of the i-th layer, P i, j is the number of punching holes in the j-th segment of the i-th layer, N is the length of the mother code, and β is Polarization weighting factor.
在一种可能的实现方式中,所述根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:所述根据所述N个极化信道中每个极化信道的第一可靠度,从所述N个极化信道的序号中选取第一可靠度最高的K个非打孔位置的序号作为初始序号集合,其中,所述目标极化信道包括第一极化信道和第二极化信道,所述第一极化信道为所述N个极化信道在第i层的第(2j-1)个分段中属于所述初始序号集合且第一可靠度最低的极化信道,所述第二极化信道为所述N个极化信道在第i层的第(2j)个分段中不属于所述初始序号集合且第一可靠度最高的非打孔位置的极化信道,或者,若所述初始序号集合进行了调整,则所述第一极化信道为所述N个极化信道在第i层的第(2j-1)个分段中属于调整后的初始序号集合且第一可靠度最低的极化信道,所述第二极化信道为所述N个极化信道在第i层的第(2j)个分段中不属于调整后的初始序号集合且第一可靠度最高的极化信道,i遍历[1,L]中的取值,L为预设的计算极化信道可靠度变化量的层数,L≥1且为正整数,1≤j≤2i-1,K≥1且为整数;(1)根据所述速率匹配参数、母码长度和极化权重因子,获取所述第一极化信道和所述第二极化信道的可靠度变化量,以确定所述第一极化信道和所述第二极化信道的第二可靠度,其中,第二可靠度为速率匹配之后极化信道的可靠度;(2)比较所述第一极化信道和所述第二极化信道的大小:若所述第一极化信道的第二可靠度高于或等于所述第二极化信道的第二可靠度,则进入第i+1层;若所述第一极化信道的第二可靠度低于所述第二极化信道的第二可靠度,则将所述第一极化信道的序号加入所述初始序号集合,将所述第二极化信道的序号从所述初始序号集合中去除,得到调整后的初始序号集合,重复执行上述步骤(1)至(2),直到第i层的第(2j-1)个分段中属于调整后的初始序号集合的极化信道的第二可靠度大于或等于所述第(2j)个分段中不属于调整后的初始序号集合的极化信道的第二可靠度,或直至达到预设的调整次数,则进入第i+1层;将第L层调整后的初始序号集合作为所述信息比特序号集合,其中,在执行上述步骤(1)和步骤(2)的过程中,若出现如下情况,则跳过所述(2j-1)个分段和所述第(2j)个分段:第i层的第(2j-1)个分段和第2j个分段的打孔数量为0或全部打孔;第i层的第(2j-1)个分段中不存在所述第一极化信道,或(2j)个分段中不存在所述第二极化信道。In a possible implementation manner, according to the rate matching parameter, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers , comprising: according to the first reliability of each of the N polarized channels, selecting K non-punctured positions with the highest first reliability from the sequence numbers of the N polarized channels The serial number is used as an initial serial number set, wherein the target polarized channel includes a first polarized channel and a second polarized channel, and the first polarized channel is the (2jth - In 1) segments, the polarized channel that belongs to the initial sequence number set and has the lowest first reliability, the second polarized channel is the (2j)th segment of the N polarized channels in the i layer The polarized channel of the non-punctured position with the highest first reliability that does not belong to the initial sequence number set in the segment, or, if the initial sequence number set has been adjusted, the first polarized channel is the N The polarized channel in the (2j-1)th segment of the i layer belongs to the adjusted initial sequence number set and the polarized channel with the lowest first reliability, and the second polarized channel is the N polarized channel The channel in the (2j)th segment of the i layer does not belong to the adjusted initial sequence number set and the polarized channel with the highest reliability, i traverses the value in [1, L], and L is the preset Calculate the number of layers of the polarized channel reliability variation, L≥1 and a positive integer, 1≤j≤2 i-1 , K≥1 and an integer; (1) According to the rate matching parameters, mother code length and a polarization weighting factor, obtaining the variation of reliability of the first polarization channel and the second polarization channel, so as to determine the second reliability of the first polarization channel and the second polarization channel, Wherein, the second reliability is the reliability of the polarized channel after rate matching; (2) comparing the sizes of the first polarized channel and the second polarized channel: if the second polarized channel of the first polarized channel If the reliability is higher than or equal to the second reliability of the second polarized channel, enter the i+1th layer; if the second reliability of the first polarized channel is lower than that of the second polarized channel For the second reliability, add the sequence number of the first polarized channel to the initial sequence number set, and remove the sequence number of the second polarized channel from the initial sequence number set to obtain an adjusted initial sequence number set, Repeat the above steps (1) to (2) until the second reliability of the polarized channels belonging to the adjusted initial sequence number set in the (2j-1)th segment of the i-th layer is greater than or equal to the ( 2j) The second reliability of the polarized channels that do not belong to the adjusted initial sequence number set in the segment, or until the preset adjustment times are reached, then enter the i+1th layer; the adjusted initial sequence number of the L-th layer set as the set of information bit sequence numbers, wherein, in the process of performing the above steps (1) and (2), if the following situation occurs, the (2j-1)th segment and the ( 2j) segment: the (2j-1)th segment of the i-th layer and the punching number of the 2j-th segment are 0 or all punched; the (2j-1)th segment of the i-th layer The first polarized channel does not exist in j-1) segments, or the second polarized channel does not exist in (2j) segments.
在一种可能的实现方式中,所述发送设备根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:从所述N个极化信道在第L层的第j个分段中选取满足如下条件的序号:In a possible implementation manner, the sending device obtains the reliability variation of the target polarized channel among the N polarized channels according to the rate matching parameter, the mother code length, and the polarized weight factor, so as to determine the information bit The sequence number set includes: selecting the sequence numbers satisfying the following conditions from the jth segment of the N polarized channels in the L layer:
PWi-Cs,j+ΔPWj≥PWth,其中,1≤i≤N/2L,PWi为第1段第i个位置的极化信道的第一可靠度,Cs,j为第j个分段对应的极化信道在第1层至第L层的可靠度变化量的总和,PWth为预设的可靠度阈值,ΔPWj为第j个分段与第1个分段的可靠度差值,选取的序号在所述第1个分段中的位置为ij,1,ij,2,….,ij,m,其中,m≤N/2L,m为正整数;从所述N个极化信道在第L层的各个分段中选取如下位置的序号:PW i -C s,j +ΔPW j ≥PW th , where, 1≤i≤N/2 L , PW i is the first reliability of the polarized channel at position i in the first section, and C s,j is The sum of the reliability changes of the polarized channel corresponding to the j-th segment from layer 1 to layer L, PW th is the preset reliability threshold, and ΔPW j is the difference between the j-th segment and the first segment The reliability difference value of the selected sequence number in the first segment is i j,1 ,i j,2 ,….,i j,m , where, m≤N/2 L , m is Positive integer; select the serial numbers of the following positions from each segment of the N polarized channels in the L layer:
将选取的序号与打孔序号的差集,作为所述信息比特序号集合。 The difference set of the selected sequence number and the punctured sequence number is used as the information bit sequence number set.
第二方面,本申请提供一种通信设备,包括执行第一方面或第一方面的任意可能的实现方式中的方法的单元。具体地,该通信设备可以为发送设备或接收设备。In a second aspect, the present application provides a communication device, including a unit for executing the method in the first aspect or any possible implementation manner of the first aspect. Specifically, the communication device may be a sending device or a receiving device.
第三方面,本申请提供一种发送设备,用于执行第一方面或第一方面的任意可能的实现方式中的编码方法。具体地,该发送设备包括执行第一方面或第一方面的任意可能的实现方式中的编码方法的单元。In a third aspect, the present application provides a sending device, configured to execute the encoding method in the first aspect or any possible implementation manner of the first aspect. Specifically, the sending device includes a unit that executes the encoding method in the first aspect or any possible implementation manner of the first aspect.
第四方面,本申请提供一种接收设备,用于执行第二方面或第二方面的任意可能的实现方式中的译码方法。具体地,该接收设备包括执行第二方面或第二方面的任意可能的实现方式中的译码方法的单元。In a fourth aspect, the present application provides a receiving device configured to execute the decoding method in the second aspect or any possible implementation manner of the second aspect. Specifically, the receiving device includes a unit that executes the second aspect or the decoding method in any possible implementation manner of the second aspect.
第五方面,本申请提供一种编码装置,该编码装置具有实现上述第一方面和第一方面的任一种可能的编码方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, the present application provides an encoding device, which has a function of implementing the first aspect and any possible encoding method of the first aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
在一个可能的设计中,当所述功能的部分或全部通过硬件实现时,所述编码装置包括:输入接口电路,用于获取待编码序列;逻辑电路,用于执行上述第一方面和第一方面的任一种可能的编码方法;输出接口电路,用于输出Polar编码后的比特序列。In a possible design, when part or all of the functions are implemented by hardware, the encoding device includes: an input interface circuit, used to obtain the sequence to be encoded; a logic circuit, used to implement the above-mentioned first aspect and first Any possible encoding method in the aspect; the output interface circuit is used to output the Polar encoded bit sequence.
可选的,所述编码装置可以是芯片或者集成电路。Optionally, the encoding device may be a chip or an integrated circuit.
在一个可能的设计中,当所述功能的部分或全部通过软件实现时,所述编码装置包括:存储器,用于存储程序;处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述编码装置可以实现如上述第一方面和第一方面的任一种可能的编码方法。In a possible design, when part or all of the functions are implemented by software, the encoding device includes: a memory for storing programs; a processor for executing the programs stored in the memory, when the When the above program is executed, the encoding device can implement the first aspect and any possible encoding method of the first aspect.
可选的,上述存储器可以是物理上独立的单元,也可以与处理器集成在一起。Optionally, the foregoing memory may be a physically independent unit, or may be integrated with the processor.
在一个可能的设计中,当所述功能的部分或全部通过软件实现时,所述编码装置包括处理器。用于存储程序的存储器位于所述编码装置之外,处理器通过电路/电线与存储器连接,用于读取并执行所述存储器中存储的程序。In a possible design, when part or all of the functions are implemented by software, the encoding device includes a processor. The memory for storing programs is located outside the encoding device, and the processor is connected to the memory through circuits/wires for reading and executing the programs stored in the memory.
第六方面,本申请提供一种译码装置,该译码装置具有实现上述第一方面和第一方面的任一种可能的译码方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, the present application provides a decoding device, which has the function of realizing the first aspect and any possible decoding method of the first aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
在一个可能的设计中,当所述功能的部分或全部通过硬件实现时,所述译码装置包括:输入接口电路,用于获取待译码序列;逻辑电路,用于执行上述第二方面和第二方面的任一种可能的译码方法;输出接口电路,用于输出译码后的比特序列。In a possible design, when part or all of the functions are implemented by hardware, the decoding device includes: an input interface circuit, configured to obtain a sequence to be decoded; a logic circuit, configured to perform the above-mentioned second aspect and Any possible decoding method of the second aspect: an output interface circuit, configured to output the decoded bit sequence.
可选的,所述译码装置可以是芯片或者集成电路。Optionally, the decoding device may be a chip or an integrated circuit.
在一个可能的设计中,当所述功能的部分或全部通过软件实现时,所述译码装置包括:存储器,用于存储程序;处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述译码装置可以实现如上述第一方面和第一方面的任一种可能的设计中所述的译码方法。In a possible design, when part or all of the functions are implemented by software, the decoding device includes: a memory for storing programs; a processor for executing the programs stored in the memory, when When the program is executed, the decoding device can realize the decoding method described in the first aspect and any possible design of the first aspect.
可选的,上述存储器可以是物理上独立的单元,也可以与处理器集成在一起。Optionally, the foregoing memory may be a physically independent unit, or may be integrated with the processor.
在一个可能的设计中,当所述功能的部分或全部通过软件实现时,所述译码装置包括处理器。用于存储程序的存储器位于所述译码装置之外,处理器通过电路/电线与存储器连接,用于读取并执行所述存储器中存储的程序。In a possible design, when part or all of the functions are implemented by software, the decoding device includes a processor. The memory for storing programs is located outside the decoding device, and the processor is connected to the memory through circuits/wires for reading and executing the programs stored in the memory.
本申请实施例提供的极化码编译码的方法,根据速率匹配参数计算各极化信道的可靠度变化,进而根据可靠度变化量确定个极化信道在速率匹配后的可靠度,再根据速率匹配后的可靠度选取信息比特位置集合。由于该技术方案确定的信息比特位置集合适配了不同的编码参数和速率匹配方案,因此,在不引入较多复杂度的情况下提高了Polar码的性能。The polar code encoding and decoding method provided by the embodiment of this application calculates the reliability change of each polarized channel according to the rate matching parameters, and then determines the reliability of each polarized channel after rate matching according to the reliability change amount, and then according to the rate The reliability after matching selects a set of information bit positions. Since the information bit position set determined by the technical solution is suitable for different encoding parameters and rate matching schemes, the performance of the Polar code is improved without introducing more complexity.
附图说明Description of drawings
图1为本申请实施例所适用的无线通信系统。FIG. 1 is a wireless communication system to which the embodiment of the present application is applicable.
图2是采用无线技术进行通信的基本流程图。Figure 2 is a basic flowchart for communicating using wireless technology.
图3为本申请一实施例提供的极化码编译码的方法100的示意性交互图。FIG. 3 is a schematic interactive diagram of a method 100 for encoding and decoding polar codes provided by an embodiment of the present application.
图4为计算极化信道的可靠度变化量的示意图。Fig. 4 is a schematic diagram of calculating the variation of reliability of a polarized channel.
图5为选取信息比特序号集合的过程示意图。FIG. 5 is a schematic diagram of a process of selecting a set of information bit sequence numbers.
图6为本申请实施例提供的发送设备300的示意性框图。FIG. 6 is a schematic block diagram of a sending device 300 provided by an embodiment of the present application.
图7为本申请实施例提供的接收设备400的示意性框图。FIG. 7 is a schematic block diagram of a receiving device 400 provided by an embodiment of the present application.
图8为本申请实施例提供的发送设备500。FIG. 8 is a sending device 500 provided in an embodiment of the present application.
图9为发送设备的处理装置的内部结构示意图。FIG. 9 is a schematic diagram of an internal structure of a processing device of a sending device.
图10为发送设备的处理装置的另一种内部结构示意图。FIG. 10 is a schematic diagram of another internal structure of a processing device of a sending device.
图11为发送设备的处理装置的再一种内部结构示意图。Fig. 11 is another schematic diagram of the internal structure of the processing device of the sending device.
图12为本申请实施例提供的接收设备600。FIG. 12 is a receiving device 600 provided by an embodiment of the present application.
图13为接收设备的处理装置的内部结构示意图。FIG. 13 is a schematic diagram of an internal structure of a processing device of a receiving device.
图14为接收设备的处理装置的另一种内部结构示意图。FIG. 14 is a schematic diagram of another internal structure of a processing device of a receiving device.
图15为接收设备的处理装置的再一种内部结构示意图。Fig. 15 is another schematic diagram of the internal structure of the processing device of the receiving device.
图16为终端设备700的结构示意图。FIG. 16 is a schematic structural diagram of a terminal device 700 .
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行说明。The technical solutions in this application will be described below in conjunction with the accompanying drawings.
图1为本申请实施例所适用的无线通信系统。该无线通信系统中可以包括至少一个网络设备,该网络设备与一个或多个终端进行通信。该网络设备可以是基站,也可以是基站与基站控制器集成后的设备,还可以是具有类似通信功能的其它设备。FIG. 1 is a wireless communication system to which the embodiment of the present application is applicable. The wireless communication system may include at least one network device, and the network device communicates with one or more terminals. The network device may be a base station, or a device integrated with a base station and a base station controller, or other devices with similar communication functions.
本申请实施例中所涉及到的终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。终端可以是移动台(Mobile Station,MS)、用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(Personal Digital Assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handset)、膝上型电脑(laptopcomputer)、机器类型通信(Machine Type Communication,MTC)终端等。The terminals involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems. The terminal can be a mobile station (Mobile Station, MS), a subscriber unit (subscriber unit), a cellular phone (cellular phone), a smart phone (smart phone), a wireless data card, a personal digital assistant (Personal Digital Assistant, PDA) computer, a tablet laptop computer, wireless modem (modem), handheld device (handset), laptop computer (laptop computer), machine type communication (Machine Type Communication, MTC) terminal, etc.
图1中的网络设备与终端之间采用无线技术进行通信。当网络设备发送信号时,其为发送端,当网络设备接收信号时,其为接收端。终端也是一样的,当终端发送信号时,其为发送端,当终端接收信号时,其为接收端。The wireless technology is used for communication between the network device and the terminal in FIG. 1 . When the network device sends a signal, it is the sender, and when the network device receives the signal, it is the receiver. The terminal is also the same, when the terminal sends a signal, it is the sending end, when the terminal receives the signal, it is the receiving end.
图2是采用无线技术进行通信的基本流程图。发送端的信源依次经过信源编码、信道编码、速率匹配和调制后在信道上发出,接收端收到信号后依次经过解调、解速率匹配、信道解码和信源解码后获得信宿。Figure 2 is a basic flowchart for communicating using wireless technology. The source at the sending end is sent out on the channel after sequentially undergoing source coding, channel coding, rate matching and modulation. After receiving the signal, the receiving end undergoes demodulation, rate matching, channel decoding and source decoding to obtain the destination.
本申请实施例提及的无线通信系统包括但不限于:窄带物联网系统(NarrowBand-Internet of Things,NB-IoT)、全球移动通信系统(Global System for MobileCommunications,GSM)、增强型数据速率GSM演进系统(Enhanced Data rate for GSMEvolution,EDGE)、宽带码分多址系统(Wideband Code Division Multiple Access,WCDMA)、码分多址2000系统(Code Division Multiple Access,CDMA2000)、时分同步码分多址系统(Time Division-Synchronization Code Division Multiple Access,TD-SCDMA),长期演进系统(Long Term Evolution,LTE)、下一代5G移动通信系统的三大应用场景eMBB、URLLC和eMTC或者将来出现的新的通信系统。The wireless communication systems mentioned in the embodiments of this application include but are not limited to: NarrowBand-Internet of Things (NB-IoT), Global System for Mobile Communications (GSM), enhanced data rate GSM evolution System (Enhanced Data rate for GSMEvolution, EDGE), Wideband Code Division Multiple Access system (WCDMA), Code Division Multiple Access 2000 system (Code Division Multiple Access, CDMA2000), Time Division Synchronous Code Division Multiple Access system ( Time Division-Synchronization Code Division Multiple Access, TD-SCDMA), Long Term Evolution (LTE), the three application scenarios of the next-generation 5G mobile communication system eMBB, URLLC and eMTC or new communication systems that will appear in the future.
信道编解码是无线通信领域的核心技术之一,其性能的改进将直接提升网络覆盖及用户传输速率。目前,极化码是可理论证明达到香农极限,并且具有可实用的线性复杂度编译码能力的信道编码技术。极化码构造的核心是通过“信道极化”的处理,在编码侧,采用编码的方法使各个子信道呈现出不同的可靠性,当码长持续增加时,一部分信道将趋向于容量接近于1的无噪信道,另一部分信道趋向于容量接近于0的全噪信道,选择在容量接近于1的信道上直接传输信息以逼近信道容量。Channel codec is one of the core technologies in the field of wireless communication, and its performance improvement will directly increase network coverage and user transmission rate. At present, polar codes are channel coding techniques that can be theoretically proven to reach the Shannon limit and have practical linear complexity coding and decoding capabilities. The core of polar code construction is through the processing of "channel polarization". On the encoding side, the encoding method is used to make each sub-channel show different reliability. When the code length continues to increase, some channels will tend to have a capacity close to 1, the other part of the channel tends to be a full-noise channel with a capacity close to 0, and choose to directly transmit information on a channel with a capacity close to 1 to approach the channel capacity.
Polar码的编码策略正是应用了这种现象的特性,利用无噪信道传输用户有用的信息,全噪信道传输约定的信息或者不传信息。Polar码也是一种线性块码,其编码矩阵(也称为生成矩阵)为FN,编码过程为其中,是一个二进制的行矢量,长度为N(即,码长),且N=2n,n为正整数。FN是一个N×N的矩阵,且定义为log2N个矩阵F2的克罗内克(Kronecker)乘积,以上各式中涉及的加法、乘法操作均为二进制伽罗华域上的加法、乘法操作。The coding strategy of the Polar code is exactly the application of the characteristics of this phenomenon, using the noise-free channel to transmit the useful information of the user, and the full-noise channel to transmit the agreed information or not to transmit the information. Polar code is also a kind of linear block code, its encoding matrix (also known as generating matrix) is F N , and the encoding process is in, is a binary row vector with a length of N (ie, code length), and N=2 n , where n is a positive integer. F N is an N×N matrix, and Defined as the Kronecker product of log2 N matrices F 2 , The addition and multiplication operations involved in the above formulas are all addition and multiplication operations on the binary Galois field.
Polar码的编码过程中,中的一部分比特用来携带信息,称为信息比特集合。这些比特的索引的集合记作A。另外的一部分比特设置为接收端和发送端预先约定的固定值,称之为固定比特集合或冻结比特(frozen bits)集合,其索引的集合用A的补集Ac表示。Polar码的编码过程相当于这里,FN(A)是FN中由集合A中的索引对应的行得到的子矩阵。FN(AC)是FN中由集合AC中的索引对应的行得到的子矩阵。uA为中的信息比特集合,数量为K。 中的固定比特集合,其数量为(N-K),是已知比特。这些固定比特通常被设置为0,但是只要接收端和发送端预先约定,固定比特可以被任意设置。从而,Polar码的编码输出可简化为这里的uA为中的信息比特集合,uA为长度K的行矢量,即|A|=K,符号||表示集合中元素的个数,K为信息块大小,FN(A)是矩阵FN中由集合A中的索引对应的那些行得到的子矩阵,FN(A)是一个N×N的矩阵。During the encoding process of Polar code, A part of the bits in is used to carry information, which is called the information bit set. Let A be the set of these bit indices. The other part of bits is set as a fixed value pre-agreed by the receiving end and the sending end, which is called a fixed bit set or a frozen bit (frozen bits) set, and its index set is represented by the complement set Ac of A. The encoding process of Polar code is equivalent to Here, F N (A) is the sub-matrix in F N obtained by the row corresponding to the index in the set A. F N (A C ) is the sub-matrix in F N obtained by the row corresponding to the index in the set A C . u A is The set of information bits in is K. The fixed set of bits in , the number of which is (NK), are known bits. These fixed bits are usually set to 0, but as long as the receiving end and the sending end agree in advance, the fixed bits can be set arbitrarily. Thus, the encoded output of the Polar code can be simplified as Here u A is The information bit set in , u A is the row vector of length K, that is, |A|=K, the symbol || indicates the number of elements in the set, K is the size of the information block, and F N (A) is the matrix F N composed of The submatrix obtained for those rows corresponding to the indices in the set A, F N (A) is an N×N matrix.
Polar码的构造过程即集合A的选取过程,决定了Polar码的性能。Polar码的构造过程通常是,根据母码码长N确定共存在N个极化信道,这N个极化信道分别对应编码矩阵的N个行。计算极化信道的可靠度,将可靠度较高的前K个极化信道的序号(或者说,索引)作为集合A的元素,剩余(N-K)个极化信道对应的序号作为固定比特序号集合AC的元素。集合A决定了信息比特的位置,集合AC决定了固定比特的位置。本申请实施例提供的极化码编译码的方法主要涉及信息比特序号集合的选取。下面对本申请实施例提供的极化码编译码的方法进行说明。The construction process of the Polar code is the selection process of the set A, which determines the performance of the Polar code. The construction process of the Polar code is usually to determine that there are N polarized channels according to the code length N of the mother code, and the N polarized channels correspond to N rows of the coding matrix respectively. To calculate the reliability of polarized channels, the serial numbers (or indexes) of the first K polarized channels with higher reliability are used as the elements of set A, and the serial numbers corresponding to the remaining (NK) polarized channels are used as a set of fixed bit serial numbers The elements of AC . Set A determines the position of information bits, and set A C determines the position of fixed bits. The polar code encoding and decoding method provided in the embodiment of the present application mainly involves selection of information bit sequence number sets. The method for encoding and decoding the polar code provided by the embodiment of the present application will be described below.
本申请实施例中出现的编号“第一”、“第二”等仅仅为了区分不同的对象。例如,为了区分不同的序号或可靠度等,不应对本申请实施例的保护范围构成限定。The numbers "first", "second", etc. appearing in the embodiments of the present application are only for distinguishing different objects. For example, in order to distinguish different serial numbers or reliability, etc., the protection scope of the embodiments of the present application should not be limited.
另外,在Polar码编码的过程中,一个Polar码包括如下部分:信息比特、固定比特(或称为冻结比特)和速率匹配过程中被打孔的比特。需要说明的是,在本申请实施例中,信息比特个数K指的是非固定比特的个数。在编码过程中存在校验比特的情况下,本文中的K也包括了校验比特的个数。In addition, in the process of Polar code encoding, a Polar code includes the following parts: information bits, fixed bits (or called frozen bits) and bits that are punctured during the rate matching process. It should be noted that, in the embodiment of the present application, the number K of information bits refers to the number of non-fixed bits. In the case that check bits exist in the encoding process, K in this paper also includes the number of check bits.
参见图3,图3为本申请实施例提供的极化码编译码的方法100的示意性交互图。Referring to FIG. 3 , FIG. 3 is a schematic interaction diagram of a method 100 for encoding and decoding polar codes provided in an embodiment of the present application.
110、发送设备和接收设备确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度。110. The sending device and the receiving device determine the first reliability of each of the N polar channels of the polar code whose mother code length is N and the number of information bits is K.
其中,第一可靠度为速率匹配之前极化信道的可靠度。因此,本申请实施例中将极化信道的第一可靠度也称为初始可靠度。Wherein, the first reliability is the reliability of the polarized channel before rate matching. Therefore, in the embodiment of the present application, the first reliability of the polarized channel is also referred to as the initial reliability.
在步骤110中所说的极化信道的初始可靠度也可以理解为,在polar编码过程中,不考虑速率匹配,计算得到的极化信道的可靠度。The initial reliability of the polarized channel mentioned in step 110 can also be understood as the calculated reliability of the polarized channel without considering rate matching during the polar encoding process.
计算极化信道的初始可靠性时,可以采用现有技术中的密度进化、高斯近似或线性拟合等方法。具体计算过程可以与现有技术相同,为了简洁,此处不作赘述。When calculating the initial reliability of the polarized channel, methods such as density evolution, Gaussian approximation or linear fitting in the prior art can be used. The specific calculation process may be the same as that of the prior art, and for the sake of brevity, details are not described here.
另外,可以选用错误概率、信道容量或极化权重等参数作为衡量极化信道可靠性的参数,或者,也可以选用能够衡量极化信道的可靠度的其它参数。In addition, parameters such as error probability, channel capacity, or polarization weight can be selected as parameters to measure the reliability of the polarized channel, or other parameters that can measure the reliability of the polarized channel can also be selected.
这里,以极化权重作为衡量极化信道可靠度的参量作为示例,对极化信道的初始可靠度的计算进行说明。Here, the calculation of the initial reliability of the polarized channel is described by taking the polarization weight as a parameter to measure the reliability of the polarized channel as an example.
例如,对母码长度N=2n的polar码,第i个极化信道的极化权重可以根据如下公式(1)进行计算:For example, for a polar code with mother code length N= 2n , the polarization weight of the i-th polarized channel can be calculated according to the following formula (1):
其中,Wi表示第i个极化信道的计算权重,Bj∈{0,1},j∈{0,1,...,n-1},n=log2(N),i=Bn-1Bn-2...B0,Bn-1Bn-2...B0为i的二进制表示,i∈{0,1,...,N-1}。βi对应不同极化层数的权重因子。βj的一个典型取值为 Among them, W i represents the calculation weight of the i-th polarized channel, B j ∈ {0,1}, j ∈ {0,1,...,n-1}, n=log 2 (N), i= B n-1 B n-2 ... B 0 , B n-1 B n-2 ... B 0 is the binary representation of i, i∈{0,1,...,N-1}. β i corresponds to the weighting factors of different polarization layers. A typical value of β j is
由于可靠度变化量Ci,j的计算较为复杂,也可以进行离线计算并存表。Since the calculation of the reliability variation C i,j is relatively complicated, it can also be calculated offline and stored in a table.
下面以为例,给出了βj、在一些取值下,计算得到的极化信道的可靠度变化量的数值。参见表1和表2。Below to As an example, given β j , Under some values, the calculated value of the reliability variation of the polarized channel. See Tables 1 and 2.
表1Table 1
表2Table 2
在进行polar编码时,如果存在速率匹配,经过速率匹配之后,各个极化信道的可靠度将发生变化。因此,不考虑速率匹配选取的信息比特位置集合,会降低极化码的编译码性能。When performing polar encoding, if there is rate matching, the reliability of each polarized channel will change after rate matching. Therefore, the encoding and decoding performance of polar codes will be reduced if the set of information bit positions selected by rate matching is not considered.
因此,本申请实施例提供的极化码的编译码方法,在确定信息比特位置集合时,将速率匹配考虑进来,可以提高极化码编译码的性能。Therefore, the encoding and decoding method of the polar code provided by the embodiment of the present application takes rate matching into consideration when determining the information bit position set, so as to improve the encoding and decoding performance of the polar code.
120、发送设备和接收设备根据速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合。120. The sending device and the receiving device obtain the reliability variation of the target polarized channel among the N polarized channels according to the rate matching parameter, the mother code length, and the polarization weighting factor, so as to determine a set of information bit numbers.
应理解,在polar编码中,信息比特序号集合也可以称为信息比特位置集合,或者信息比特索引集合等。It should be understood that in polar coding, the set of information bit sequence numbers may also be referred to as a set of information bit positions, or a set of information bit indexes, and the like.
其中,目标极化信道为该N个极化信道中的全部极化信道或部分极化信道。Wherein, the target polarized channels are all polarized channels or some polarized channels in the N polarized channels.
既是说,在确定信息比特序号集合时,发送设备和接收设备可能需要获取该N个极化信道中每个极化信道的可靠度变化量,或者,只需要获取该N个极化信道中的部分极化信道的可靠度变化量。关于目标极化信道的说明会在具体的实施例中进行介绍。That is to say, when determining the information bit sequence number set, the sending device and the receiving device may need to obtain the reliability variation of each of the N polarized channels, or only need to obtain the Reliability variation for partially polarized channels. The description about the target polarized channel will be introduced in specific embodiments.
另外,速率匹配参数包括打孔模式、打孔数量等。In addition, the rate matching parameters include the punching mode, the number of punching holes, and the like.
在本申请实施例中,选取信息比特序号集合有多种方式。In the embodiment of the present application, there are many ways to select the information bit sequence number set.
方式1way 1
可选地,作为一个实施例,所述根据速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:Optionally, as an embodiment, according to the rate matching parameter, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained, so as to determine the set of information bit numbers, include:
根据所述速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中每个极化信道的可靠度变化量;According to the rate matching parameter, the mother code length and the polarization weight factor, obtain the reliability variation of each polarization channel in the N polarization channels;
根据该N个极化信道中每个极化信道的第一可靠度和可靠度变化量,确定该N个极化信道中每个极化信道的第二可靠度,其中,第二可靠度为速率匹配之后极化信道的可靠度;According to the first reliability and reliability variation of each of the N polarized channels, determine the second reliability of each of the N polarized channels, where the second reliability is Reliability of polarized channels after rate matching;
根据该N个极化信道中每个极化信道的第二可靠度,从该N个极化信道的序号中选取第二可靠度最高的K个非打孔位置的序号作为信息比特序号集合。According to the second reliability of each polarized channel in the N polarized channels, the serial numbers of K non-punctured positions with the highest second reliability are selected from the serial numbers of the N polarized channels as the set of information bit serial numbers.
需要说明的是,本申请实施例中所说第二可靠度是速率匹配之后极化信道的可靠度。换句话说,在存在速率匹配的情况下,考虑速率匹配参数计算得到的可靠度为第二可靠度。极化信道的第二可靠度与极化信道的第一可靠度是相区别的。如前文所述,极化信道的第一可靠度是在不考虑速率匹配的情况下计算得到的。It should be noted that the second reliability mentioned in the embodiment of the present application refers to the reliability of the polarized channel after rate matching. In other words, in the case of rate matching, the reliability calculated by considering the rate matching parameters is the second reliability. The second reliability of the polarized channel is different from the first reliability of the polarized channel. As mentioned above, the first reliability of the polarized channel is calculated without considering the rate matching.
在获取得到与该N个极化信道一一对应的N个第二可靠度之后,根据该N个第二可靠度的大小,从中选取可靠度最高的K个序号作为信息比特序号集合。即,这K个序号中任意一个序号对应的极化信道的第二可靠度大于或等于剩余(N-K)个序号中任意一个序号对应的极化信道的第二可靠度。After acquiring the N second reliabilities corresponding to the N polarized channels one-to-one, according to the magnitude of the N second reliabilities, select K serial numbers with the highest reliability as the information bit serial number set. That is, the second reliability of the polarized channel corresponding to any one of the K serial numbers is greater than or equal to the second reliability of the polarized channel corresponding to any one of the remaining (N-K) serial numbers.
例如,根据该N个第二可靠度从大到小的顺序,将该N个第二可靠度对应的极化信道的序号进行排序,得到一个排序序列。选取该排序序列中可靠度靠前的前K个非打孔位置的序号作为信息比特序号集合。也或者,按照可靠度从小到大的顺序进行读取,读取完固定比特个数后,剩余的非打孔位置的序号即为信息比特的位置。For example, according to the descending order of the N second reliabilities, the serial numbers of the polarized channels corresponding to the N second reliabilities are sorted to obtain a sorted sequence. Select the serial numbers of the first K non-punctured positions with the highest reliability in the sorting sequence as the information bit serial number set. Alternatively, reading is performed in ascending order of reliability, and after reading the fixed number of bits, the serial number of the remaining non-punched position is the position of the information bit.
下面说明如何确定每个极化信道的可靠度变化量。The following describes how to determine the reliability variation of each polarized channel.
可选地,作为一个实施例,所述根据所述速率匹配参数、母码长度和极化权重因子,获取N个极化信道中每个极化信道的可靠度变化量,包括:Optionally, as an embodiment, the acquiring the reliability variation of each polarized channel in the N polarized channels according to the rate matching parameter, the mother code length, and the polarized weight factor includes:
根据所述速率匹配参数、母码长度和极化权重因子,计算所述N个极化信道在第i层第j段的可靠度变化量Ci,j,i遍历[1,L]中的取值,1≤j≤2i,其中,L为预设的计算极化信道可靠度变化量的层数,L≥1且为正整数;According to the rate matching parameters, the mother code length and the polarization weighting factor, calculate the reliability variation C i,j of the N polarized channels in the jth segment of the i layer, i traverses [1, L] Value, 1≤j≤2 i , where L is the preset number of layers for calculating the variation of polarization channel reliability, L≥1 and is a positive integer;
所述N个极化信道中第n个极化信道的的可靠度变化量为1≤n≤N,n为正整数。The reliability variation of the nth polarized channel among the N polarized channels is 1≤n≤N, n is a positive integer.
应理解,在第i层,该N个极化信道等分为2i个分段,该2i个分段的每个分段中包括N/2i个序号。第j个分段中的N/2i个序号中每个序号对应的极化信道的可靠度变化量等于该第j个分段对应的可靠度变化量,L为预设的计算极化信道可靠度变化量的层数,L≥1且为正整数,1≤j≤2i。It should be understood that at layer i, the N polarized channels are equally divided into 2 i segments, and each segment of the 2 i segments includes N/2 i sequence numbers. The reliability variation of the polarized channel corresponding to each serial number in the N/2 i serial numbers in the j-th segment is equal to the reliability variation corresponding to the j-th segment, and L is the preset calculated polarized channel The number of layers of reliability variation, L≥1 and a positive integer, 1≤j≤2 i .
在本申请实施例中,计算极化信道的可靠度变化量时,可以预设一个计算层数L。其中,当计算层数L取值不同时,对于同一个极化信道而言,计算得到的可靠度变化量不同。In the embodiment of the present application, when calculating the variation of the reliability of the polarized channel, a number of calculation layers L may be preset. Wherein, when the value of the number of calculated layers L is different, for the same polarized channel, the calculated reliability variation is different.
如果预设的计算层数为L。那么在计算每个极化信道的可靠度变化量时,从第1层开始计算,直至第L层。其中,在计算第i层时,第一可靠度的排序序列就会被等分为2i个分段,这2i个分段的每个分段中包括的序号的个数是相等的,均为N/2i。If the preset number of computing layers is L. Then, when calculating the variation of the reliability of each polarized channel, the calculation starts from the first layer to the Lth layer. Among them, when calculating the i-th layer, the sorting sequence of the first reliability will be divided into 2 i segments, and the number of serial numbers included in each segment of the 2 i segments is equal, Both are N/2 i .
第j个分段中包括的N/2i个序号中任意一个序号对应的极化信道的可靠度变化量等于第j个分段对应的可靠度变化量。第i层的第j个分段对应的可靠度变化量可以通过如下公式(2)进行计算。The reliability change amount of the polarized channel corresponding to any one of the N/2 i sequence numbers included in the j-th segment is equal to the reliability change amount corresponding to the j-th segment. The reliability variation corresponding to the j-th segment of the i-th layer can be calculated by the following formula (2).
其中,Ci,j为第i层第j个分段对应的可靠度变化量,Pi,j为第i层第j个分段的打孔数量,N为极化码的母码长度。β为极化因子。Among them, C i,j is the reliability variation corresponding to the j-th segment of the i-th layer, P i,j is the number of punctures of the j-th segment of the i-th layer, and N is the mother code length of the polar code. β is the polarization factor.
在另一种可能的实现方式中,仅对j为奇数的分段计算Ci,j,j为偶数的分段Ci,j=0;In another possible implementation, C i,j is only calculated for segments where j is an odd number, and C i,j =0 for segments where j is an even number;
参见图4,图4为计算极化信道的可靠度变化量的示意图。图4中以第一可靠度的排序序列按照可靠度从大到小的顺序为例进行说明。以下将第一可靠度的排序序列记作排序序列#1。Referring to FIG. 4 , FIG. 4 is a schematic diagram of calculating a variation of reliability of a polarized channel. In FIG. 4 , the sorting sequence of the first degree of reliability is described as an example in descending order of reliability. Hereinafter, the sorted sequence of the first reliability is referred to as sorted sequence #1.
首先,假定极化码的母码长度为N,打孔数量为P。First, it is assumed that the length of the mother code of the polar code is N, and the number of punctures is P.
图4中以N=16,预设的计算层数L=3为例。In FIG. 4, N=16 and the preset number of computing layers L=3 are taken as an example.
(1)计算第1层(1) Calculate the first layer
i=1,排序序列#1等分为21个(即,2个)分段。i=1, the sorted sequence #1 is equally divided into 2 1 (ie, 2) segments.
其中,第1个分段中包括8个序号,第2个分段中包括8个序号。其中,第1个分段中的8个序号对应的极化信道具有相同的可靠度变化量,记作C1,1。第2个分段中的8个序号对应的极化信道具有相同的可靠度变化,记作C1,2。Wherein, the first segment includes 8 serial numbers, and the second segment includes 8 serial numbers. Among them, the polarized channels corresponding to the 8 serial numbers in the first segment have the same reliability variation, denoted as C 1,1 . The polarized channels corresponding to the 8 serial numbers in the second segment have the same reliability change, denoted as C 1,2 .
将i=1,j=1和i=1,j=2分别代入前文提供的公式(2),就可以计算得到C1,1和C1,2。By substituting i=1, j=1 and i=1, j=2 into the formula (2) provided above, C 1,1 and C 1,2 can be calculated.
也就是说,第1层的第1个分段中包括的8个序号中每个序号对应的极化信道的可靠度变化量都等于C1,1,第1层的第2个分段中包括的8个序号中每个序号对应的极化信道的可靠度变化量都等于C1,2。That is to say, the reliability variation of the polarized channel corresponding to each of the 8 serial numbers included in the first segment of the first layer is equal to C 1,1 , and in the second segment of the first layer The variation in reliability of the polarized channel corresponding to each of the 8 serial numbers included is equal to C 1,2 .
(2)计算第2层(2) Computing layer 2
i=2,排序序列#1等分为22个(即,4个)分段。i= 2 , the sorted sequence #1 is equally divided into 22 (ie, 4) segments.
其中,每个分段中包括N/2i=16/22=4个序号。这4个分段分别对应4个可靠度变化量,按照从左到右的顺序,依次记作C2,1、C2,2、C2,3、C2,4。Wherein, each segment includes N/2 i =16/2 2 =4 sequence numbers. These 4 segments correspond to 4 reliability variations respectively, which are denoted as C 2,1 , C 2,2 , C 2,3 , and C 2,4 in order from left to right.
与计算第1层类似,分别将i和j的取值代入公式(2),就可以计算得到每个分段对应的可靠度变化量。Similar to the calculation of the first layer, the values of i and j are respectively substituted into the formula (2), and the corresponding reliability change of each segment can be calculated.
(3)计算第3层(3) Computing layer 3
i=3,排序序列#1等分为23个(即,8个)分段。i=3, the sorted sequence #1 is equally divided into 23 (ie, 8) segments.
其中,每个分段中包括N/2i=16/23=2个序号。这8个分段分别对应的8个可靠度变化量,按照从左到右的顺序,依次记作C3,1、C3,2、C3,3、C3,4、C3,5、C3,6、C3,7、C3,8。Wherein, each segment includes N/2 i =16/2 3 =2 sequence numbers. The 8 reliability changes corresponding to the 8 segments are recorded as C 3,1 , C 3,2 , C 3,3 , C 3,4 , C 3,5 in order from left to right , C 3,6 , C 3,7 , C 3,8 .
对于母码长度=16的极化码,16个极化信道中每个极化信道的可靠度变化量为该极化信道的序号在第1层至第L层的每层中所述分段对应的可靠度变化量之和。For a polar code with mother code length = 16, the reliability variation of each of the 16 polar channels is the segment number of the polar channel in each layer from the first layer to the L layer The sum of the corresponding reliability changes.
参见图4。排序序列#1序号5分别在第1层至第3层所属的分段分别为第1个分段,第2个分段和第3个分段。而第1层第1个分段、第2层第2个分段和第3层第3个分段分别对应的可靠度变化量为C1,1、C2,2和C3,3。那么,序号5对应的极化信道的可靠度变化量为C=C1,1+C2,2+C3,3。See Figure 4. The segments belonging to the sequence number 5 of sorting sequence #1 in the first layer to the third layer are respectively the first segment, the second segment and the third segment. The reliability changes corresponding to the first segment of the first layer, the second segment of the second layer and the third segment of the third layer are respectively C 1,1 , C 2,2 and C 3,3 . Then, the reliability variation of the polarized channel corresponding to the number 5 is C=C 1,1 +C 2,2 +C 3,3 .
通过上述过程,可以计算得到每个极化信道的可靠度变化量。根据每个极化信道的可靠度变化量和第一可靠度,就可以计算得到每个极化信道速率匹配之后的可靠度(即,第二可靠度)。Through the above process, the reliability variation of each polarized channel can be calculated. According to the variation of the reliability of each polarized channel and the first reliability, the reliability (that is, the second reliability) of each polarized channel after rate matching can be calculated.
方式2way 2
可选地,作为一个实施例,所述根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:Optionally, as an embodiment, according to the rate matching parameter, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained, so as to determine the set of information bit numbers ,include:
根据该N个极化信道中每个极化信道的第一可靠度,从该N个极化信道的序号中选取可靠度最高的K个非打孔位置的序号作为初始序号集合,According to the first reliability of each polarized channel in the N polarized channels, select the serial numbers of K non-punctured positions with the highest reliability from the serial numbers of the N polarized channels as the initial serial number set,
其中,目标极化信道包括第一极化信道和第二极化信道,第一极化信道为该N个极化信道在第i层的第(2j-1)个分段中属于初始序号集合且第一可靠度值最低的极化信道。第二极化信道为该N个极化信道在第i层的第(2j)个分段中不属于初始序号集合且第一可靠度值最高的非打孔位置的极化信道,i遍历[1,L]中的取值,L为预设的计算极化信道可靠度变化量的层数,L≥1且为正整数,1≤j≤2i,K≥1且为整数;Among them, the target polarized channel includes the first polarized channel and the second polarized channel, and the first polarized channel is that the N polarized channels belong to the initial sequence number set in the (2j-1)th segment of the i layer and the polarized channel with the lowest first reliability value. The second polarized channel is the polarized channel of the N polarized channel in the (2j)th segment of the i layer that does not belong to the initial sequence number set and has the highest first reliability value at the non-punctured position, and i traverses [ 1, L], L is the preset layer number for calculating the variation of polarization channel reliability, L≥1 and is a positive integer, 1≤j≤2 i , K≥1 and is an integer;
(1)根据所述速率匹配参数、母码长度和极化权重因子,确定第一极化信道和第二极化信道的可靠度变化量,以确定第一极化信道和第二极化信道的第二可靠度,其中,第二可靠度为速率匹配之后极化信道的可靠度;(1) According to the rate matching parameter, mother code length and polarization weighting factor, determine the reliability variation of the first polarized channel and the second polarized channel, so as to determine the first polarized channel and the second polarized channel The second degree of reliability, wherein the second degree of reliability is the reliability of the polarized channel after rate matching;
(2)比较所述第一极化信道和所述第二极化信道的大小:(2) Comparing the sizes of the first polarized channel and the second polarized channel:
若所述第一极化信道的第二可靠度高于或等于所述第二极化信道的第二可靠度,则进入第i+1层;If the second reliability of the first polarized channel is higher than or equal to the second reliability of the second polarized channel, enter the i+1th layer;
若所述第一极化信道的第二可靠度低于所述第二极化信道的第二可靠度,则将所述第一极化信道的序号加入所述初始序号集合,将所述第二极化信道的序号从所述初始序号集合中去除,得到调整后的初始序号集合,If the second reliability of the first polarized channel is lower than the second reliability of the second polarized channel, add the sequence number of the first polarized channel to the initial sequence number set, and add the sequence number of the first polarized channel to the initial sequence number set. The serial number of the polarized channel is removed from the initial serial number set to obtain the adjusted initial serial number set,
重复执行上述步骤(1)至(2),直到第i层的第(2j-1)个分段中属于调整后的初始序号集合的极化信道的第二可靠度大于或等于所述第(2j)个分段中不属于调整后的初始序号集合的极化信道的第二可靠度,或直至达到预设的调整次数,则进入第i+1层;Repeat the above steps (1) to (2) until the second reliability of the polarized channels belonging to the adjusted initial sequence number set in the (2j-1)th segment of the i-th layer is greater than or equal to the ( 2j) the second reliability of polarized channels that do not belong to the adjusted initial sequence number set in each segment, or until the preset number of adjustments is reached, enter the i+1th layer;
将第L层调整后的初始序号集合作为所述信息比特序号集合,Taking the adjusted initial sequence number set of the L-th layer as the information bit sequence number set,
在执行上述步骤(1)和步骤(2)的过程中,若出现如下情况,则跳过所述(2j-1)个分段和所述第(2j)个分段:In the process of performing the above step (1) and step (2), if the following situation occurs, the (2j-1) segment and the (2j)th segment are skipped:
第i层的第(2j-1)个分段和第2j个分段的打孔数量为0或全部打孔;The number of punched holes in the (2j-1)th segment and the 2jth segment of the i-th layer is 0 or all punched;
第i层的第(2j-1)个分段中不存在所述第一极化信道,或(2j)个分段中不存在所述第二极化信道。The first polarized channel does not exist in the (2j-1)th segment of the i-th layer, or the second polarized channel does not exist in the (2j)th segment.
这里,初始序号集合中包括K个序号,这K个序号为该N个极化信道中第一可靠度最高的K个极化信道对应的序号。Here, the initial sequence number set includes K sequence numbers, and these K sequence numbers are the sequence numbers corresponding to the first K polarized channels with the highest reliability among the N polarized channels.
在本申请实施例中,首先根据N个极化信道的第一可靠度,确定一个初始序号集合,即,初始信息比特序号集合。后续,对该初始序号集合中的序号作调整,最终确定信息比特序号集合。In the embodiment of the present application, firstly, an initial sequence number set, that is, an initial information bit sequence number set is determined according to the first reliability of the N polarized channels. Subsequently, the sequence numbers in the initial sequence number set are adjusted to finally determine the information bit sequence number set.
下面详细说明如何对初始序号集合进行调整,得到信息比特序号集合。The following describes in detail how to adjust the initial sequence number set to obtain the information bit sequence number set.
继续假定极化码的母码长度为N,信息比特数目为K。Continue to assume that the mother code length of the polar code is N, and the number of information bits is K.
(1)根据N个极化信道的第一可靠度的排序序列,按照第一可靠度从大到小的顺序,选取第一可靠度的排序序列中非打孔位置的前K个序号作为初始序号集合。(1) According to the sorting sequence of the first reliability of N polarized channels, according to the order of the first reliability from large to small, select the first K sequence numbers of the non-punctured positions in the sorting sequence of the first reliability as the initial collection of serial numbers.
为了便于说明,下面以第一可靠度的排序序列(记作排序序列#1)按照可靠度从小到大的顺序排列作为示例进行说明。For the convenience of description, the ranking sequence of the first reliability (denoted as sorting sequence #1) is arranged in descending order of reliability as an example for illustration.
这里,我们假定预设的计算可靠度变化量的层数为L。Here, we assume that the preset number of layers for calculating the variation of reliability is L.
(2)遍历第1层至第L层,对初始序号集合作调整。(2) Traverse the first layer to the L layer, and adjust the initial sequence number set.
(i)确定初始序号集合。(i) Determine the initial sequence number set.
选取N个极化信道中第一可靠度最大K个极化信道的序号作为初始序号集合。Select the serial numbers of the first K polarized channels with the highest reliability among the N polarized channels as the initial serial number set.
本实施例中,目标极化信道包括第一极化信道和第二极化信道。第一极化信道为该N个极化信道在第i层的第(2j-1)个分段中属于初始序号集合且第一可靠度最低的极化信道。第二极化信道为该N个极化信道在第i层的第(2j)个分段中不属于初始序号集合且第一可靠度最高的非打孔位置的极化信道。In this embodiment, the target polarized channel includes a first polarized channel and a second polarized channel. The first polarized channel is the polarized channel that belongs to the initial sequence number set and has the lowest first reliability in the (2j-1)th segment of the i layer among the N polarized channels. The second polarized channel is a polarized channel at a non-punctured position with the highest first reliability and which does not belong to the initial sequence number set in the (2j)th segment of the i layer of the N polarized channels.
需要说明的是,若初始序号集合作了调整,第一极化信道则为该N个极化信道在第i层的第(2j-1)个分段中属于调整后的初始序号集合且第一可靠度最低的极化信道。第二极化信道为该N个极化信道在第i层的第(2j)个分段中不属于初始序号集合且第一可靠度最高的非打孔位置的极化信道。It should be noted that if the initial sequence number set is adjusted, the first polarized channel means that the N polarized channels belong to the adjusted initial sequence number set in the (2j-1)th segment of the i layer and the first A least reliable polarized channel. The second polarized channel is a polarized channel at a non-punctured position with the highest first reliability and which does not belong to the initial sequence number set in the (2j)th segment of the i layer of the N polarized channels.
因此,本实施例中所说的第一极化信道和第二极化信道是符合上述特征的极化信道,而不是特定的某个极化信道。Therefore, the first polarized channel and the second polarized channel mentioned in this embodiment are polarized channels that meet the above characteristics, rather than a specific polarized channel.
为了便于说明,以下将第一极化信道的序号记作第一序号,将第二极化信道的序号记作第二序号。For ease of description, the serial number of the first polarized channel is referred to as the first serial number, and the serial number of the second polarized channel is referred to as the second serial number.
第1层Tier 1
N个极化信道等分为2个分段。The N polarized channels are equally divided into 2 segments.
从第1个分段中确定第一极化信道,从第2个分段中确定第二极化信道。The first polarized channel is determined from the first segment, and the second polarized channel is determined from the second segment.
(ii)计算第一极化信道的可靠度变化量、第二极化信道的可靠度变化量,确定第一极化信道的第二可靠度和第二极化信道的第二可靠度。(ii) Calculate the reliability variation of the first polarized channel and the reliability variation of the second polarized channel, and determine the second reliability of the first polarized channel and the second reliability of the second polarized channel.
这里,计算第一极化信道和第二极化信道的可靠度变化量的过程可以参见前文的说明,此处不作详细说明。Here, for the process of calculating the reliability variation of the first polarized channel and the second polarized channel, reference may be made to the foregoing description, and no detailed description is given here.
假定,第一极化信道和第二极化信道的第一可靠度分别为W1、W2,可靠度变化量分别为C1,1、C1,2,则第一极化信道的第二可靠度分别为W1'=W1-C1,1,W2'=W2-C1,2。Assume that the first reliability of the first polarized channel and the second polarized channel are respectively W 1 and W 2 , and the variations in reliability are C 1,1 and C 1,2 respectively, then the first polarized channel of the first polarized channel The two reliability levels are respectively W 1 '=W 1 -C 1,1 and W 2 '=W 2 -C 1,2 .
(iii)比较第一极化信道的第二可靠度和第二极化信道的第二可靠度的大小。(iii) comparing the second reliability of the first polarized channel with the second reliability of the second polarized channel.
若第一极化信道的第二可靠度大于或等于第二极化信道的第二可靠度,则进入第2层。If the second reliability of the first polarized channel is greater than or equal to the second reliability of the second polarized channel, enter the second layer.
若第一极化信道的第二可靠度小于第二极化信道的第二可靠度,则将第一序号加入初始序号集合,将第二序号从初始序号集合中去除,得到调整后的初始序号集合。If the second reliability of the first polarized channel is less than the second reliability of the second polarized channel, add the first sequence number to the initial sequence number set, remove the second sequence number from the initial sequence number set, and obtain the adjusted initial sequence number gather.
基于调整后的初始序号集合,重新确定第一极化信道和第二极化信道。重复执行步骤(ii)至步骤(iii),直至第一极化信道的第二可靠度大于或等于第二极化信道的第二可靠度,则进入第2层。Based on the adjusted initial sequence number set, the first polarized channel and the second polarized channel are re-determined. Repeat steps (ii) to (iii) until the second reliability of the first polarized channel is greater than or equal to the second reliability of the second polarized channel, then enter the second layer.
或者,基于调整后的初始序号集合,重新确定第一极化信道和第二极化信道。重复执行步骤(ii)至步骤(iii),直至达到预设的调整次数,则进入第2层。Or, based on the adjusted initial sequence number set, re-determine the first polarized channel and the second polarized channel. Repeat step (ii) to step (iii) until the preset number of adjustments is reached, then enter the second layer.
第i层layer i
在第i层,N个极化信道等分为2i个分段。依次观察(1,2),(3,4),…(2j-1,2j),…,(2i-1,2i),这2(i-1)个分段对。In layer i, N polarized channels are equally divided into 2 i segments. Observe (1,2),(3,4),...(2j-1,2j),...,(2 i -1,2 i ) in turn, these 2 (i-1) segment pairs.
任意一个分段对的处理同上述第1层的处理过程。直至满足进入第i+1层的条件。The processing of any segment pair is the same as the above-mentioned layer 1 processing. Until the conditions for entering the i+1th layer are met.
第i+1层layer i+1
基于初始序号集合或者调整后的初始序号集合,在第i+1层的第(2j-1)个分段中确定第一极化信道,在第(2j)个分段中确定第二极化信道。其中,1≤j≤2i-1。Based on the initial sequence number set or the adjusted initial sequence number set, determine the first polarization channel in the (2j-1)th segment of the i+1th layer, and determine the second polarization channel in the (2j)th segment channel. Among them, 1≤j≤2 i -1.
需要说明的是,在上述执行的过程中,对第i层,若分段对(2j-1)和(2j)中打孔数量之和等于0,或等于N/2i-1,则跳过(2j-1)和(2j)这个分段对,j的取值+1。观察下一个分段对。或者,在(2j-1)中不存在第一极化信道和/或(2j)中不存在第二极化信道的情况下,跳过(2j-1)和(2j)这个分段对,观察下一个分段对。It should be noted that, in the above execution process, for the i-th layer, if the sum of the number of punched holes in the segment pair (2j-1) and (2j) is equal to 0, or equal to N/2 i-1 , skip Through the segment pair (2j-1) and (2j), the value of j is +1. Observe the next segment pair. or, in the absence of the first polarized channel in (2j-1) and/or the absence of the second polarized channel in (2j), skip the segment pair (2j-1) and (2j), Observe the next segment pair.
直至第L层的2L-1个分段对观察完成,得到最终的调整后的初始序号集合。Until the observation of 2 L-1 segment pairs of the L-th layer is completed, the final adjusted initial sequence number set is obtained.
将最终的调整后的初始序号集合作为信息比特序号集合。The final adjusted initial sequence number set is used as the information bit sequence number set.
图5为选取信息比特序号集合的过程示意图。参见图5,选取的过程如下:FIG. 5 is a schematic diagram of a process of selecting a set of information bit sequence numbers. Referring to Figure 5, the selection process is as follows:
(1)确定N个极化信道的第一可靠度的排序,选取初始序号集合。(1) Determine the ranking of the first reliability of the N polarized channels, and select an initial sequence number set.
这里的初始序号集合也可以认为是初始信息比特序号集合。后续,对初始信息比特序号集合经过调整,作为最终极化编译码时的信息比特序号集合。The initial sequence number set here can also be regarded as the initial information bit sequence number set. Subsequently, the initial set of information bit numbers is adjusted to be the set of information bit numbers in the final polar encoding and decoding.
(2)计算N个极化信道的可靠度变化量。(2) Calculate the reliability variation of N polarized channels.
计算可靠度变化量的过程参见前文的描述,这里不作详细说明。For the process of calculating the variation of reliability, please refer to the previous description, and will not be described in detail here.
(3)对第i层的2i个分段,依次观察(1,2),(3,4),…(2j-1,2j),…,(2i-1,2i),这2i -1个分段对。(3) For the 2 i segments of the i-th layer, sequentially observe (1, 2), (3, 4), ... (2j-1, 2j), ..., (2 i -1, 2 i ), this 2i - 1 segment pairs.
如图5所示,以(2j-1,2j)这个分段对(1≤j≤2i-1)为例。As shown in FIG. 5 , take the segment pair (1≤j≤2 i-1 ) of (2j-1, 2j) as an example.
初始化指针Z1,Z2,分别对应第(2j-1)个分段和第2j个分段。其中,Z1指向第(2j-1)分段中已被选入信息比特位置集合且可靠度最低的信道位置。Z2指向第2j个分段中,未被选入信息比特位置集合、非打孔且可靠度最高的信道位置。The initialization pointers Z1 and Z2 correspond to the (2j-1)th segment and the 2jth segment respectively. Wherein, Z1 points to the channel position in the (2j-1)th segment that has been selected into the information bit position set and has the lowest reliability. Z2 points to the channel position in the 2jth segment that is not selected into the information bit position set, is not punctured, and has the highest reliability.
例如,若指针Z1指向的信道位置为y1,指针Z2指向的信道位置为x1。比较y1对应的信道的第二可靠度与x1对应的极化信道的第二可靠度的大小。For example, if the channel position pointed to by the pointer Z1 is y 1 , the channel position pointed to by the pointer Z2 is x 1 . Compare the second reliability of the channel corresponding to y1 with the second reliability of the polarized channel corresponding to x1.
若y1对应的极化信道的第二可靠度大于或等于x1对应的极化信道的第二可靠度,则观察下一个分段对。If the second reliability degree of the polarized channel corresponding to y1 is greater than or equal to the second reliability degree of the polarized channel corresponding to x1, observe the next segment pair.
若y1对应的极化信道的第二可靠度小于x1对应的极化信道的第二可靠度,则将序号x1加入到信息比特序号集合,而将序号y1从信息比特序号集合中去除。If the second reliability of the polarized channel corresponding to y 1 is less than the second reliability of the polarized channel corresponding to x 1 , the sequence number x 1 is added to the information bit sequence number set, and the sequence number y 1 is removed from the information bit sequence number set remove.
之后,指针Z1改变指向位置,重新指向第(2j-1)个分段中属于信息比特序号集合且第一可靠度最低的极化信道位置,例如,为位置y2。指针Z2改变指向位置,重新指向第2j个分段中不属于信息比特序号集合且第一可靠度最高的极化信道位置,例如,为位置x2。Afterwards, the pointer Z1 changes its pointing position, and points again to the polarized channel position in the (2j-1)th segment that belongs to the information bit sequence number set and has the lowest first reliability, for example, position y 2 . The pointer Z2 changes its pointing position, and points to the polarized channel position in the 2jth segment that does not belong to the information bit sequence number set and has the highest first reliability, for example, position x 2 .
接下来,继续比较位置y2对应的极化信道的第二可靠度与位置x2对应的极化信道的位置。Next, continue to compare the second reliability of the polarized channel corresponding to the position y2 with the position of the polarized channel corresponding to the position x2 .
直至到第L层的各个分段对都观察完。All segment pairs up to the Lth layer have been observed.
(4)读取此时的信息比特序号集合,作为最终的信息比特序号集合。(4) Read the information bit sequence number set at this time as the final information bit sequence number set.
本实施例的选取信息比特序号集合中过程,在硬件实现时可能存在较大读取延迟。为控制最大读取延迟,一种可行的实现方式为限制每层读取过程中指针的最大移动次数。进一步地,还可以限制最大读取层数。In the process of selecting the information bit sequence number set in this embodiment, there may be a relatively large read delay during hardware implementation. In order to control the maximum read latency, a feasible implementation is to limit the maximum number of moves of the pointer during the read process of each layer. Further, the maximum number of read layers can also be limited.
方式3way 3
可选地,作为一个实施例,根据速率匹配参数、母码长度和极化权重因子,获取所述N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,包括:Optionally, as an embodiment, according to the rate matching parameter, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained, so as to determine the set of information bit numbers, including :
从所述N个极化信道在第L层的第j个分段中选取满足如下条件的序号:Select a sequence number that meets the following conditions from the jth segment of the N polarized channels in the L layer:
PWi-Cs,j+ΔPWj≥PWth,PW i -C s,j +ΔPW j ≥ PW th ,
其中,1≤i≤N/2L,PWi为第1段第i个位置的极化信道的第一可靠度,Cs,j为第j个分段对应的极化信道在第1层至第L层的可靠度变化量的总和,PWth为预设的可靠度阈值,ΔPWj为第j个分段与第1个分段的可靠度差值,选取的序号在所述第1个分段中的位置为ij,1,ij,2,….,ij,m,其中,m≤N/2L,m为正整数;Among them, 1≤i≤N/2 L , PW i is the first reliability of the polarized channel at the i-th position in the first segment, C s,j is the polarized channel corresponding to the j-th segment in the first layer The sum of the reliability changes to the L-th layer, PW th is the preset reliability threshold, ΔPW j is the reliability difference between the jth segment and the first segment, and the selected serial number is in the first The positions in each segment are i j,1 ,i j,2 ,….,i j,m , where, m≤N/2 L , m is a positive integer;
从所述N个极化信道在第L层的各个分段中选取如下位置的序号:Select the sequence numbers of the following positions from each segment of the N polarized channels in the L layer:
将选取的序号与打孔序号的差集,作为所述信息比特序号集合。The difference set of the selected sequence number and the punctured sequence number is used as the information bit sequence number set.
同样地,假定极化码的母码长度为N,信息比特数目为K。Similarly, it is assumed that the mother code length of the polar code is N, and the number of information bits is K.
下面说明本申请实施例中选取信息比特序号集合的过程。The following describes the process of selecting the information bit sequence number set in the embodiment of the present application.
(1)确定N个极化信道的第一可靠度的排序序列。(1) Determine the sorting sequence of the first reliability of the N polarized channels.
(2)对第j个分段,选取满足PWi-Cs,j+ΔPWj≥PWth的序号,这些序号在第j段中位置记作ij,1、ij,2,….,ij,m,其中,m≤N/2L,m为正整数。(2) For the jth segment, select the sequence numbers satisfying PW i -C s,j +ΔPW j ≥ PW th , and the positions of these sequence numbers in the j segment are recorded as i j,1 , i j,2 ,…. ,i j,m , wherein, m≤N/2 L , m is a positive integer.
其中,1≤i≤N,Cs,j为第j个分段对应的极化信道在第1层至第L层的可靠度变化量的总和,PWth为预设的可靠度阈值,ΔPWj为第j个分段与第1个分段的可靠度差值。Among them, 1≤i≤N, C s,j is the sum of the reliability changes of the polarized channel corresponding to the j-th segment from the first layer to the L-layer, PW th is the preset reliability threshold, ΔPW j is the reliability difference between the jth segment and the first segment.
需要说明的是,第j个分段与第1个分段的对应位置的极化信道的可靠度差值为常数。It should be noted that the reliability difference of the polarized channels at the corresponding positions of the jth segment and the first segment is constant.
(3)选取序号 (3) Select serial number
可靠度的差值可以根据如下公式(3)进行计算。The difference in reliability can be calculated according to the following formula (3).
其中,j-1=BL-1BL-2...B0,BL-1BL-2...B0十进制数(j-1)的二进制表示。βl对应不同极化层数的权重因子。Wherein, j-1=B L-1 B L-2 ... B 0 , B L-1 B L-2 ... B 0 is the binary representation of the decimal number (j-1). β l corresponds to the weighting factors of different polarization layers.
(3)将选取的序号与被打孔序号的差集作为信息比特位置集合。(3) The difference between the selected sequence number and the punctured sequence number is used as a set of information bit positions.
应理解,发送设备在确定N个极化信道的第一可靠度之前,需要获取待编码比特。It should be understood that before determining the first reliability of the N polarized channels, the sending device needs to acquire the bits to be encoded.
至此,信息比特序号集合已经确定。对于发送设备而言,就可以根据信息比特序号集合对待编码比特进行极化编码。对于接收设备而言,可以根据信息比特序号集合对获取到的待译码序列进行译码。So far, the set of information bit sequence numbers has been determined. For the sending device, polar coding can be performed on the bits to be coded according to the sequence number set of the information bits. For the receiving device, the acquired sequence to be decoded can be decoded according to the information bit sequence number set.
130、发送设备根据信息比特序号集合,对待编码比特进行极化编码。130. The sending device performs polar coding on the bits to be coded according to the set of information bit sequence numbers.
步骤130中,发送设备对待编码比特进行极化编码,得到编码后的序列。该编码后的序列经发送设备发送,被接收设备接收到的序列,即为待译码序列。In step 130, the sending device performs polar encoding on the bits to be encoded to obtain an encoded sequence. The coded sequence is sent by the sending device, and the sequence received by the receiving device is the sequence to be decoded.
140、接收设备获取待译码比特。140. The receiving device acquires bits to be decoded.
150、接收设备根据信息比特序号集合,对待译码比特进行译码。150. The receiving device decodes the bits to be decoded according to the information bit sequence number set.
接收设备对待译码比特进行译码,得到译码后的序列。The receiving device decodes the bits to be decoded to obtain the decoded sequence.
步骤130-150涉及的极化编码和译码的详细过程可以参考现有技术,这里不作详述。The detailed process of polar encoding and decoding involved in steps 130-150 can refer to the prior art, and will not be described in detail here.
以上对本申请实施例提供的极化码编码和译码的方法作了详细说明。可以理解的是,以上各实施例中涉及的极化码编码和译码的方法,既可以采用在线计算的方式,也可以采用离线存储读表的方式。或者是,在线计算和离线存储相结合的方式。对于在线计算和读表的具体实现过程,对于本领域技术人员来说是比较容易的。因此,这里不作详细说明。The methods for encoding and decoding polar codes provided by the embodiments of the present application have been described in detail above. It can be understood that, the polar code encoding and decoding methods involved in the above embodiments can be either online calculation or offline storage and table reading. Or, a combination of online computing and offline storage. It is relatively easy for those skilled in the art to realize the specific implementation process of online calculation and meter reading. Therefore, no detailed description will be given here.
本申请实施例提供的极化码编译码的方法,根据速率匹配参数计算各极化信道的可靠度变化,进而根据可靠度变化量确定个极化信道在速率匹配后的可靠度,再根据速率匹配后的可靠度选取信息比特位置集合。由于该技术方案确定的信息比特位置集合适配了不同的编码参数和速率匹配方案,因此,在不引入较多复杂度的情况下提高了Polar码的性能。The polar code encoding and decoding method provided by the embodiment of this application calculates the reliability change of each polarized channel according to the rate matching parameters, and then determines the reliability of each polarized channel after rate matching according to the reliability change amount, and then according to the rate The reliability after matching selects a set of information bit positions. Since the information bit position set determined by the technical solution is suitable for different encoding parameters and rate matching schemes, the performance of the Polar code is improved without introducing more complexity.
以上结合图1至图5,对本申请实施例提供的极化码编译码的方法作了详细说明。下面结合图6至图16,对本申请实施例提供的通信设备进行说明。The polar code encoding and decoding method provided by the embodiment of the present application has been described in detail above with reference to FIG. 1 to FIG. 5 . The communication device provided by the embodiment of the present application will be described below with reference to FIG. 6 to FIG. 16 .
其中,通信设备可以为发送设备300或接收设备400。通信设备包括通信单元和处理单元,分别用于执行本申请实施例中极化码编译码的方法。其中,当通信设备具体为发送设备时,通信单元可以为发送单元或收发器,处理单元为处理器。当通信设备具体为接收设备时,通信单元可以为接收单元或收发器,处理单元为处理器。Wherein, the communication device may be the sending device 300 or the receiving device 400 . The communication device includes a communication unit and a processing unit, respectively configured to execute the polar code encoding and decoding method in the embodiment of the present application. Wherein, when the communication device is specifically a sending device, the communication unit may be a sending unit or a transceiver, and the processing unit may be a processor. When the communication device is specifically a receiving device, the communication unit may be a receiving unit or a transceiver, and the processing unit may be a processor.
图6为本申请实施例提供的发送设备300的示意性框图。参见图6,发送设备300包括接收单元310、处理单元320和发送单元330,用于执行各实施例中极化码编码的方法。FIG. 6 is a schematic block diagram of a sending device 300 provided by an embodiment of the present application. Referring to FIG. 6 , a sending device 300 includes a receiving unit 310 , a processing unit 320 and a sending unit 330 , configured to execute the polar code encoding method in each embodiment.
接收单元310,用于获取待编码比特;a receiving unit 310, configured to acquire bits to be encoded;
处理单元320,用于确定待编码比特的母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;The processing unit 320 is configured to determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length of the bit to be encoded is N and the number of information bits is K, and the first reliability is Reliability of polarized channels before rate matching;
处理单元320,还用于根据速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为N个极化信道中的全部极化信道或部分极化信道;The processing unit 320 is also configured to obtain the reliability variation of the target polarized channel among the N polarized channels according to the rate matching parameter, mother code length and polarization weighting factor, so as to determine a set of information bit numbers, wherein the target polarized channel The polarized channels are all or part of the N polarized channels;
处理单元320,还用于根据信息比特序号集合对待编码比特进行极化编码;The processing unit 320 is further configured to perform polar coding on the bits to be coded according to the information bit sequence number set;
发送单元330,用于发送编码后的比特。。A sending unit 330, configured to send encoded bits. .
图7为本申请实施例提供的接收设备400的示意性框图。参见图7,接收设备400包括除接收单元410和处理单元420,用于执行上述各实施例中极化码译码的方法。FIG. 7 is a schematic block diagram of a receiving device 400 provided by an embodiment of the present application. Referring to FIG. 7 , the receiving device 400 includes a receiving unit 410 and a processing unit 420 configured to execute the methods for decoding polar codes in the foregoing embodiments.
接收单元410,还用于获取待译码比特;The receiving unit 410 is also used to obtain bits to be decoded;
处理单元420,用于确定待译码比特的母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;The processing unit 420 is configured to determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length of the bit to be decoded is N and the number of information bits is K, and the first reliability is the reliability of the polarized channel before rate matching;
处理单元420,还用于根据速率匹配参数、母码长度和极化权重因子,获取该N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为N个极化信道中的全部极化信道或部分极化信道;The processing unit 420 is further configured to obtain the reliability variation of the target polarized channel among the N polarized channels according to the rate matching parameter, mother code length and polarization weighting factor, so as to determine a set of information bit numbers, wherein the target polarized channel The polarized channels are all or part of the N polarized channels;
处理单元420,还用于根据信息比特序号集合对待译码比特进行译码。The processing unit 420 is further configured to decode the bits to be decoded according to the information bit sequence number set.
或者,通信设备可以为发送设备500或接收设备600。Alternatively, the communication device may be the sending device 500 or the receiving device 600 .
图8为本申请实施例提供的发送设备500的结构简图,用于实现编码的功能。参见图8,发送设备500包括:FIG. 8 is a schematic structural diagram of a sending device 500 provided in an embodiment of the present application, which is used to implement an encoding function. Referring to Figure 8, the sending device 500 includes:
收发器508,用于获取待编码比特;Transceiver 508, configured to obtain bits to be encoded;
处理装置504,用于确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;The processing device 504 is configured to determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length is N and the number of information bits is K, and the first reliability is the polar channel before the rate matching the reliability of the channel;
根据速率匹配参数、母码长度和极化权重因子,获取N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为所述N个极化信道中的全部极化信道或部分极化信道;According to the rate matching parameters, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers, wherein the target polarized channel is the N polarized channel all or part of the polarized channels;
根据信息比特序号集合对待编码比特进行极化编码。Polar coding is performed on the bits to be coded according to the sequence number set of the information bits.
收发器508包括天线510,用于将收发器508输出的数据通过无线信号发送出去,或者将收到的无线信号输出给收发器。The transceiver 508 includes an antenna 510, configured to send the data output by the transceiver 508 through a wireless signal, or output the received wireless signal to the transceiver.
本申请还提供了一种用于编码的处理装置504,用于实现上述实施例中的编码方法。上述实施例的编码方法中的部分或全部可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,参见图9所示的结构。The present application also provides a processing device 504 for encoding, which is used to implement the encoding method in the foregoing embodiments. Part or all of the encoding methods in the foregoing embodiments may be implemented by hardware or by software. When implemented by hardware, refer to the structure shown in FIG. 9 .
图9为处理装置的内部结构示意图。处理装置504包括:Fig. 9 is a schematic diagram of the internal structure of the processing device. The processing device 504 includes:
输入接口电路5142,用于获取输入的待编码比特;An input interface circuit 5142, configured to acquire input bits to be encoded;
逻辑电路5144,用于确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;Logic circuit 5144, configured to determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length is N and the number of information bits is K, and the first reliability is the polar channel before the rate matching the reliability of the channel;
根据速率匹配参数、母码长度和极化权重因子,获取N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为所述N个极化信道中的全部极化信道或部分极化信道;According to the rate matching parameters, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers, wherein the target polarized channel is the N polarized channel all or part of the polarized channels;
根据所述信息比特序号集合,对待编码比特进行极化编码。Polar coding is performed on the bits to be coded according to the information bit sequence number set.
上述逻辑电路5144可以用于执行本申请各实施例中所述的编码方法。具体请见前面方法实施例中的描述,此处不再赘述。在具体实现时,上述处理装置可以是芯片或者集成电路。The above logic circuit 5144 may be used to implement the encoding methods described in the various embodiments of the present application. For details, please refer to the description in the foregoing method embodiments, and details are not repeated here. In a specific implementation, the above-mentioned processing device may be a chip or an integrated circuit.
当上述实施例的编码方法中的部分或全部通过软件来实现时,参见图9所示的结构。When part or all of the encoding methods in the above embodiments are implemented by software, refer to the structure shown in FIG. 9 .
图10为处理装置的另一种内部结构示意图。处理装置504包括:Fig. 10 is another schematic diagram of the internal structure of the processing device. The processing device 504 includes:
存储器5044,用于存储程序;Memory 5044, used to store programs;
处理器5042,用于执行所述存储器存储的所述程序,当所述程序被执行时,处理器执行上述各实施例中极化码编码的方法。The processor 5042 is configured to execute the program stored in the memory. When the program is executed, the processor executes the polar code encoding method in the above-mentioned embodiments.
上述存储器5044可以是物理上独立的单元,具体参见图10所示。也可以与处理器5042集成在一起,具体参见图11所示。图11为处理装置的再一种内部结构示意图。The foregoing memory 5044 may be a physically independent unit, as shown in FIG. 10 for details. It may also be integrated with the processor 5042, as shown in FIG. 11 for details. Fig. 11 is another schematic diagram of the internal structure of the processing device.
在另一种可选的实施例中,处理装置也可以只包括处理器,上述存储器位于处理装置之外,处理器通过电路/电线与存储器连接,用于读取并执行所述存储器中存储的程序。In another optional embodiment, the processing device may only include a processor, and the above-mentioned memory is located outside the processing device, and the processor is connected to the memory through a circuit/wire, and is used to read and execute the memory stored in the memory. program.
图12为本申请实施例提供的接收设备600的结构简图。参见图12所示,接收设备包括:FIG. 12 is a schematic structural diagram of a receiving device 600 provided by an embodiment of the present application. Referring to Figure 12, the receiving device includes:
收发器608,用于获取待译码比特;Transceiver 608, configured to acquire bits to be decoded;
处理装置604,用于确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,第一可靠度为速率匹配之前极化信道的可靠度;The processing device 604 is configured to determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length is N and the number of information bits is K, and the first reliability is the polar channel before the rate matching the reliability of the channel;
根据速率匹配参数、母码长度和极化权重因子,获取N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为所述N个极化信道中的全部极化信道或部分极化信道;According to the rate matching parameters, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers, wherein the target polarized channel is the N polarized channel all or part of the polarized channels;
根据信息比特序号集合对待译码比特进行译码。The bits to be decoded are decoded according to the sequence number set of the information bits.
收发器608包括天线610,用于将收发器608输出的数据通过无线信号发送出去,或者将收到的无线信号输出给收发器。The transceiver 608 includes an antenna 610, configured to send the data output by the transceiver 608 through a wireless signal, or output the received wireless signal to the transceiver.
本申请还提供了一种用于译码的处理装置604,用于实现上述实施例中的译码方法。上述是实施例的译码方法中的部分或全部可以通过硬件来实现也可以通过软件来实现,该处理装置604的结构与前面编码装置中处理装置的结构相同,只是在实现的功能上有所不同,因此,此处只是对其区别进行说明。The present application also provides a processing device 604 for decoding, which is used to implement the decoding method in the foregoing embodiments. Part or all of the above-mentioned decoding method in the embodiment can be realized by hardware or by software. The structure of the processing device 604 is the same as that of the processing device in the previous encoding device, except that there are differences in the realized functions. different, so here is just an illustration of the difference.
参见图13,图13为接收设备的处理装置的内部结构示意图。Referring to FIG. 13 , FIG. 13 is a schematic diagram of an internal structure of a processing device of a receiving device.
输入接口电路6142,用于获取待译码比特;The input interface circuit 6142 is used to obtain the bits to be decoded;
当处理装置604通过硬件实现时,该处理装置604中的逻辑电路6144用于:When the processing device 604 is implemented by hardware, the logic circuit 6144 in the processing device 604 is used for:
确定母码长度为N且信息比特个数为K的极化码的N个极化信道中每个极化信道的第一可靠度,所述第一可靠度为速率匹配之前极化信道的可靠度;Determine the first reliability of each polar channel in the N polar channels of the polar code whose mother code length is N and the number of information bits is K, and the first reliability is the reliability of the polar channel before rate matching Spend;
根据速率匹配参数、母码长度和极化权重因子,获取N个极化信道中目标极化信道的可靠度变化量,以确定信息比特序号集合,其中,目标极化信道为所述N个极化信道中的全部极化信道或部分极化信道;According to the rate matching parameters, the mother code length and the polarization weight factor, the reliability variation of the target polarized channel among the N polarized channels is obtained to determine the set of information bit numbers, wherein the target polarized channel is the N polarized channel all or part of the polarized channels;
根据信息比特序号集合,对待译码比特进行译码。According to the sequence number set of information bits, the bits to be decoded are decoded.
本申请还提供了一种用于译码的处理装置604,用于实现上述实施例中的译码方法。上述是实施例的译码方法中的部分或全部可以通过硬件来实现也可以通过软件来实现,该处理装置604的结构与前面编码装置中处理装置的结构相同,只是在实现的功能上有所不同,因此,此处只是对其区别进行说明。The present application also provides a processing device 604 for decoding, which is used to implement the decoding method in the foregoing embodiments. Part or all of the above-mentioned decoding method in the embodiment can be realized by hardware or by software. The structure of the processing device 604 is the same as that of the processing device in the previous encoding device, except that there are differences in the realized functions. different, so here is just an illustration of the difference.
上述是实施例的译码方法中的部分或全部可以通过硬件来实现也可以通过软件来实现,该处理装置中的处理器6042,用于执行存储器存储的程序,当所述程序被执行时,处理器6042执行上述各实施例中极化码译码的方法。Part or all of the above-mentioned decoding methods in the embodiments may be implemented by hardware or by software. The processor 6042 in the processing device is used to execute the program stored in the memory. When the program is executed, The processor 6042 executes the polar code decoding methods in the foregoing embodiments.
上述存储器6044可以是物理上独立的单元,具体参见图14。图14为接收设备的处理装置的另一种内部结构示意图。或者,存储器6044也可以与处理器6042集成在一起,具体参见图15。图15为接收设备的处理装置的再一种内部结构示意图。The above-mentioned memory 6044 may be a physically independent unit, see FIG. 14 for details. FIG. 14 is a schematic diagram of another internal structure of a processing device of a receiving device. Alternatively, the memory 6044 may also be integrated with the processor 6042, see FIG. 15 for details. Fig. 15 is another schematic diagram of the internal structure of the processing device of the receiving device.
在另一种可选的实施例中,处理装置也可以只包括处理器,上述存储器位于处理装置之外,处理器通过电路/电线与存储器连接,用于读取并执行所述存储器中存储的程序。In another optional embodiment, the processing device may only include a processor, and the above-mentioned memory is located outside the processing device, and the processor is connected to the memory through a circuit/wire, and is used to read and execute the memory stored in the memory. program.
本申请实施例中用于编码的处理装置和用于译码的处理装置,在实际应用中可能是分别独立的,也有可能是集成在一起的,即形成一套装置。In the embodiment of the present application, the processing device for encoding and the processing device for decoding may be independent in actual application, or may be integrated together, that is, form a set of devices.
上述通信设备可以是终端设备(以下称为终端),也可以是网络设备。当通信设备是终端的情况下,参见图16所示。图16为终端设备700的结构示意图。终端700还可以包括电源712、用于给终端中的各种器件或电路提供电源。该终端还可以包括天线710,用于将收发器708输出的上行数据通过无线信号发送出去,或者将收到的无线信号输出给收发器。The aforementioned communication device may be a terminal device (hereinafter referred to as a terminal), or may be a network device. When the communication device is a terminal, refer to FIG. 16 . FIG. 16 is a schematic structural diagram of a terminal device 700 . The terminal 700 may also include a power supply 712, configured to provide power to various devices or circuits in the terminal. The terminal may also include an antenna 710, configured to send the uplink data output by the transceiver 708 through a wireless signal, or output the received wireless signal to the transceiver.
除此之外,为了使得终端的功能更加完善,该终端还可以包括输入单元714,显示单元716,音频电路718,摄像头720和传感器722等中的一个或多个,所述音频电路可以包括扬声器7182,麦克风7184等。In addition, in order to make the functions of the terminal more perfect, the terminal may also include one or more of an input unit 714, a display unit 716, an audio circuit 718, a camera 720 and a sensor 722, etc., and the audio circuit may include a speaker 7182, microphone 7184, etc.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The above-mentioned storage medium includes: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, and various media capable of storing program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710336184.2A CN108880565B (en) | 2017-05-12 | 2017-05-12 | Coding and decoding method of polarization code and communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710336184.2A CN108880565B (en) | 2017-05-12 | 2017-05-12 | Coding and decoding method of polarization code and communication equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108880565A true CN108880565A (en) | 2018-11-23 |
CN108880565B CN108880565B (en) | 2020-09-29 |
Family
ID=64320193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710336184.2A Active CN108880565B (en) | 2017-05-12 | 2017-05-12 | Coding and decoding method of polarization code and communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880565B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336639A (en) * | 2019-06-23 | 2019-10-15 | 西安电子科技大学 | A Polar Code Multilayer Coding Modulation Method Based on Capacity Distribution and Its Application |
WO2022007621A1 (en) * | 2020-07-10 | 2022-01-13 | 华为技术有限公司 | Polar code encoding/decoding method and apparatus |
CN116566550A (en) * | 2023-06-20 | 2023-08-08 | 中国联合网络通信集团有限公司 | A polar code drilling method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392694A (en) * | 2001-06-18 | 2003-01-22 | 三星电子株式会社 | Device and method for transmitting and receiving data in CDMA mobile communication system |
CN101814972A (en) * | 2009-01-12 | 2010-08-25 | 财团法人工业技术研究院 | Data transmission method and device based on signal priority value and channel reliability |
US20130117622A1 (en) * | 2011-11-04 | 2013-05-09 | Research In Motion Limited | Method and System for Up-Link HARQ-ACK and CSI Transmission |
-
2017
- 2017-05-12 CN CN201710336184.2A patent/CN108880565B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392694A (en) * | 2001-06-18 | 2003-01-22 | 三星电子株式会社 | Device and method for transmitting and receiving data in CDMA mobile communication system |
CN101814972A (en) * | 2009-01-12 | 2010-08-25 | 财团法人工业技术研究院 | Data transmission method and device based on signal priority value and channel reliability |
US20130117622A1 (en) * | 2011-11-04 | 2013-05-09 | Research In Motion Limited | Method and System for Up-Link HARQ-ACK and CSI Transmission |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336639A (en) * | 2019-06-23 | 2019-10-15 | 西安电子科技大学 | A Polar Code Multilayer Coding Modulation Method Based on Capacity Distribution and Its Application |
CN110336639B (en) * | 2019-06-23 | 2021-08-17 | 西安电子科技大学 | A Modulation Method and Application of Polar Code Multilayer Coding Based on Capacity Distribution |
WO2022007621A1 (en) * | 2020-07-10 | 2022-01-13 | 华为技术有限公司 | Polar code encoding/decoding method and apparatus |
CN116566550A (en) * | 2023-06-20 | 2023-08-08 | 中国联合网络通信集团有限公司 | A polar code drilling method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108880565B (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11689220B2 (en) | Method and device for interleaving data | |
JP6881859B2 (en) | Methods and Devices for Coding Data Using Polar Codes | |
US10567994B2 (en) | Method and device for transmitting data | |
CN112886969B (en) | Polar code encoding method and device | |
CN108650053A (en) | A kind of Polar code encoding methods and device | |
EP3598649B1 (en) | Polar code encoding method, apparatus and device with selection of polarized channels based on reliability and minimum code weight | |
CN111446969B (en) | Polarization code encoding method and device of cascade CRC (cyclic redundancy check) code | |
CN109257140B (en) | Polarized channel reliability sequencing method, polarized code encoding method and polarized code encoding device | |
CN107800510B (en) | Method and device for coding polarized Polar code | |
CN108809482B (en) | Rate matching method and device for Polar codes | |
CN108574494B (en) | Coding and decoding method and device | |
CN109150384B (en) | Method and apparatus for polar code encoding | |
WO2019052583A1 (en) | Polar code rate matching method and apparatus | |
CN108540260A (en) | Method, apparatus and equipment for determining Polar code encoding and decoding | |
WO2018177386A1 (en) | Polar code encoding and decoding method, sending device and receiving device | |
CN108667568A (en) | A kind of Polar code encoding method and device | |
CN109286403B (en) | Method and device for coding polarization code | |
CN108880565B (en) | Coding and decoding method of polarization code and communication equipment | |
CN111106897B (en) | Decoding method and device | |
CN109391345B (en) | Polar code encoding method and device | |
US11115054B2 (en) | Polar code encoding method and apparatus | |
US11362677B2 (en) | Channel encoding method and encoding apparatus | |
CN109088698B (en) | Coding method and communication equipment | |
CN109391353A (en) | A kind of method and apparatus of rate-matched | |
WO2018202195A1 (en) | Encoding method, apparatus and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |