CN115514455A - Coding and modulation method, demodulation and decoding method, device, system, medium and equipment - Google Patents
Coding and modulation method, demodulation and decoding method, device, system, medium and equipment Download PDFInfo
- Publication number
- CN115514455A CN115514455A CN202211151856.XA CN202211151856A CN115514455A CN 115514455 A CN115514455 A CN 115514455A CN 202211151856 A CN202211151856 A CN 202211151856A CN 115514455 A CN115514455 A CN 115514455A
- Authority
- CN
- China
- Prior art keywords
- sub
- decoding
- segment
- modulation
- coded
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0057—Block codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
技术领域technical field
本申请涉及编码译码技术领域,具体而言,涉及一种编码调制方法、解调译码方法、编码调制装置、解调译码装置、用于进行编码调制和解调译码的系统、计算机可读存储介质及电子设备。The present application relates to the field of encoding and decoding technology, in particular, to an encoding and modulation method, a demodulation and decoding method, an encoding and modulation device, a demodulation and decoding device, a system for encoding, modulation and demodulation and decoding, and a computer Readable storage media and electronic devices.
背景技术Background technique
通信系统通常采用信道编码提高数据传输的可靠性,极化码(Polar Code)是基于信道极化提出的一种编码方式。信道极化分为两个阶段,分别是信道联合和信道分裂,通过信道的联合与分裂,各个子信道的对称容量将呈现两级分化的趋势:随着码长N的增加,一部分子信道的容量趋于1,而其余子信道的容量趋于0。Polar Code正是利用这一信道极化的现象,在容量趋于1的K个子信道上传输消息比特,在其余子信道上传输冻结比特(即收发双方已知的固定比特,通常设置为全零)。由此构成的编码即为Polar Code,码率为K/N。Communication systems usually use channel coding to improve the reliability of data transmission, and polar code (Polar Code) is a coding method proposed based on channel polarization. Channel polarization is divided into two phases, namely channel combination and channel splitting. Through channel combination and splitting, the symmetrical capacity of each sub-channel will show a trend of two-stage differentiation: with the increase of the code length N, some sub-channels The capacity tends to 1, while the capacities of the remaining subchannels tend to 0. Polar Code uses this phenomenon of channel polarization to transmit message bits on K subchannels whose capacity tends to be 1, and transmit frozen bits (that is, fixed bits known to both the sender and receiver, usually set to all zeros) on the remaining subchannels. ). The resulting code is Polar Code, with a code rate of K/N.
Polar Code作为一种分组码,可以作为分组编码调制(Block Coded Modulation,BCM)码的分量码构成多层Polar编码调制(MLPC)。MLPC的总码长为多倍的极化码长度,和传统极化码编码相比,会导致处理时延更长,硬件复杂性更高。通过将极化码长度缩短多倍,虽然可以保持总码长和传统极化码长度相同,但是更短的极化码意味着更差的译码性能。As a block code, the Polar Code can be used as a component code of a block coded modulation (Block Coded Modulation, BCM) code to form a multi-layer polar coded modulation (MLPC). The total code length of MLPC is multiple times of the polar code length, which will lead to longer processing delay and higher hardware complexity compared with traditional polar code coding. By shortening the polar code length by multiple times, although the total code length can be kept the same as the conventional polar code length, a shorter polar code means worse decoding performance.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本申请的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有方案的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the application, and therefore may include information that does not constitute an existing solution known to those of ordinary skill in the art.
发明内容Contents of the invention
本申请的目的在于提供一种编码调制方法、解调译码方法、编码调制装置、解调译码装置、用于进行编码调制和解调译码的系统、计算机可读存储介质及电子设备,在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。The purpose of this application is to provide a coding and modulation method, a demodulation and decoding method, a coding and modulation device, a demodulation and decoding device, a system for coding and modulation and demodulation and decoding, a computer-readable storage medium and electronic equipment, Without changing the code length of the polar code, the bit sequence to be encoded is divided into multiple target subsections to be encoded, and the multiple target subsections to be encoded are mapped to specific subsections to be encoded corresponding to each modulation subchannel, In this way, the equalization of the modulation sub-channel is realized, and the transmission reliability is improved.
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or in part, be learned by practice of the present application.
根据本申请的一方面,提供一种编码调制方法,该方法由发送端执行,该方法包括:According to an aspect of the present application, there is provided a coding and modulation method, the method is performed by the sending end, and the method includes:
对待编码比特序列进行划分,以获取多个目标待编码子段;Dividing the bit sequence to be encoded to obtain multiple target sub-segments to be encoded;
根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;Mapping a plurality of target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information;
对各特定待编码子段进行子段编码,得到多个编码子段;performing sub-segment encoding on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments;
通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。The corresponding coding sub-segments are respectively modulated into modulation signals through each modulation sub-channel, and the modulation signals are sent to the receiving end.
在本申请的一种示例性实施例中,对待编码比特序列进行划分,以获取多个目标待编码子段,包括:In an exemplary embodiment of the present application, the bit sequence to be coded is divided to obtain multiple target subsections to be coded, including:
对待编码比特序列进行划分,得到多个参考待编码子段;Dividing the bit sequence to be coded to obtain multiple reference sub-segments to be coded;
对多个参考待编码子段进行子段变换,得到多个目标待编码子段。Subsection transformation is performed on multiple reference subsections to be coded to obtain multiple target subsections to be coded.
在本申请的一种示例性实施例中,待编码比特序列对应于第一预设长度,第一预设长度等于2的整次幂;参考待编码子段、目标待编码子段、特定待编码子段均对应于第二预设长度和第一预设数量,第二预设长度等于2的整次幂;第一预设长度为第一预设数量个第二预设长度。In an exemplary embodiment of the present application, the bit sequence to be coded corresponds to a first preset length, and the first preset length is equal to an integer power of 2; The coding sub-sections all correspond to a second preset length and a first preset number, and the second preset length is equal to an integer power of 2; the first preset length is the first preset number of the second preset length.
在本申请的一种示例性实施例中,对多个参考待编码子段进行子段变换,得到多个目标待编码子段,包括:In an exemplary embodiment of the present application, subsection transformation is performed on multiple reference subsections to be coded to obtain multiple target subsections to be coded, including:
根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合;determining a specific bit set for generating each target subsection to be encoded from each reference subsection to be encoded according to the first subsection transformation rule;
对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段;Execute an exclusive OR operation within the set on at least one specific bit set to obtain multiple target sub-sections to be encoded;
其中,第一子段变换规则用于限定仅由冻结比特参与的异或运算得到恒0比特、仅由信息比特参与的异或运算得到纯信息比特、由冻结比特和信息比特参与的异或运算得到混合比特。Among them, the first subsection transformation rule is used to limit the XOR operation involving only frozen bits to obtain a constant 0 bit, the XOR operation only involving information bits to obtain pure information bits, and the XOR operation involving frozen bits and information bits Get mixed bits.
在本申请的一种示例性实施例中,对各特定待编码子段进行子段编码,得到多个编码子段,包括:In an exemplary embodiment of the present application, sub-segment encoding is performed on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments, including:
对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。Perform polar code coding on each specific sub-segment to be coded to obtain multiple polar codes as multiple coded sub-segments.
在本申请的一种示例性实施例中,参考待编码子段包含信息比特和冻结比特,目标待编码子段包含以下至少一种:冻结比特、信息比特、恒0比特、纯信息比特和混合比特。In an exemplary embodiment of the present application, the reference subsection to be coded contains information bits and frozen bits, and the target subsection to be coded contains at least one of the following: frozen bits, information bits, constant 0 bits, pure information bits, and mixed bit.
在本申请的一种示例性实施例中,目标待编码子段包含校验码,校验码作为信息比特和/或纯信息比特;校验码包括以下至少一种:循环冗余校验码、奇偶校验码。In an exemplary embodiment of the present application, the target subsection to be coded includes a check code, and the check code is used as information bits and/or pure information bits; the check code includes at least one of the following: cyclic redundancy check code , Parity check code.
在本申请的一种示例性实施例中,调制信道信息包括各调制子信道容量,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes the capacity of each modulation subchannel, and according to the modulation channel information, multiple target subsections to be encoded are mapped to specific subsections to be encoded corresponding to each modulation subchannel, including:
根据各调制子信道容量确定对应的各特定待编码子段码率;Determine the code rate of each specific sub-section to be encoded according to the capacity of each modulation sub-channel;
基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;Determine the first mapping rule of the specific sub-segment to be encoded corresponding to each modulated sub-channel based on the code rate of each specific sub-segment to be encoded;
根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;According to the first mapping rule, determine a second mapping rule between the bits in the multiple target subsections to be encoded and the bits in the multiple specific subsections to be encoded;
其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。There is a positive correlation between the capacity of each modulation sub-channel and the code rate of each specific sub-segment to be encoded.
在本申请的一种示例性实施例中,调制信道信息包括等效比特信道可靠性信息,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes equivalent bit channel reliability information, and according to the modulation channel information, multiple target subsections to be encoded are mapped to specific subsections to be encoded corresponding to each modulation subchannel, include:
根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;Determine the number of unreliable equivalent bit channels in each modulation subchannel according to the equivalent bit channel reliability information;
根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;Determine the number of constant 0 bits and/or the number of frozen bits that need to be allocated to each specific sub-segment to be encoded according to the number of unreliable equivalent bit channels in each modulation sub-channel;
基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。The specific to-be-coded sub-segment corresponding to each modulated sub-channel is determined based on the number of constant 0 bits and/or the number of frozen bits of each specific to-be-coded sub-segment.
在本申请的一种示例性实施例中,调制子信道对应于第二预设数量,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation sub-channel corresponds to the second preset number, and the multiple target sub-segments to be encoded are mapped to specific sub-segments to be encoded corresponding to each modulation sub-channel according to the modulation channel information, including :
当第一预设数量和第二预设数量一致时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段;When the first preset number is consistent with the second preset number, according to the modulation channel information, a plurality of target sub-segments to be encoded are mapped to specific sub-segments to be encoded that correspond to each modulation sub-channel;
当第一预设数量等于多个第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在多对一多关系的特定待编码子段;其中,多个特定待编码子段对应于一个调制子信道;When the first preset number is equal to a plurality of second preset numbers, mapping a plurality of target subsections to be encoded into specific subsections to be encoded that have a many-to-one relationship with each modulation subchannel according to the modulation channel information; Wherein, a plurality of specific sub-segments to be encoded correspond to a modulation sub-channel;
当多个第一预设数量等于第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在一对多关系的特定待编码子段;其中,一个特定待编码子段对应于多个调制子信道。When the multiple first preset numbers are equal to the second preset number, according to the modulation channel information, the multiple target subsections to be encoded are mapped to specific subsections to be encoded that have a one-to-many relationship with each modulation subchannel; wherein , a specific sub-segment to be coded corresponds to multiple modulation sub-channels.
根据本申请的一方面,提供一种解调译码方法,该方法由接收端执行,该方法包括:According to one aspect of the present application, a demodulation and decoding method is provided, the method is executed by the receiving end, and the method includes:
对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列;Demodulate the modulated signal sent by the transmitting end through each modulated sub-channel to obtain a sequence to be decoded;
将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;The sequence to be decoded is divided into multiple sub-segments to be decoded, and the multiple sub-segments to be decoded are respectively decoded by a plurality of sub-segment decoders according to the coding rules to obtain the decoded sub-segments of each sub-segment to be decoded part;
根据各译码子段确定多个目标译码子段;determining a plurality of target decoding sub-segments according to each decoding sub-segment;
对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。Sub-segment transformation and sub-segment merging are performed on multiple target decoding sub-segments to obtain a decoded bit sequence.
在本申请的一种示例性实施例中,子段译码器、待译码子段均对应于第一预设数量,各待译码子段对应于第二预设长度。In an exemplary embodiment of the present application, the sub-segment decoder and the sub-segments to be decoded correspond to a first preset number, and each sub-segment to be decoded corresponds to a second preset length.
在本申请的一种示例性实施例中,通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段,包括:In an exemplary embodiment of the present application, a plurality of sub-segments to be decoded are respectively decoded according to coding rules by a plurality of sub-segment decoders to obtain decoded sub-segments of each sub-segment to be decoded, including:
对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径;Perform non-SCL decoding of non-continuous deletion lists on multiple sub-segments to be decoded to obtain multiple merging paths;
根据多个合并路径确定多个译码子段。A plurality of decoding sub-segments are determined according to a plurality of merging paths.
在本申请的一种示例性实施例中,对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径,包括:In an exemplary embodiment of the present application, nonSCL decoding is performed on multiple sub-segments to be decoded to obtain multiple merging paths, including:
对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合;Carrying out continuous deletion list SCL decoding to each sub-segment to be decoded respectively, to obtain a first path probability set of an incomplete first decoding path of each sub-segment to be decoded;
对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;performing path splitting between sub-segments on each first decoding path to obtain a plurality of incomplete second decoding paths;
对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;Performing a freeze bit constraint test on the second decoding path, and determining the path that passes the test as the third decoding path;
从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;Selecting the path with the largest path probability value from the third decoding path as the fourth decoding path; wherein, the number of the fourth decoding paths is less than or equal to the first preset threshold;
对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列;Carrying out sub-segment division for each fourth decoding path to obtain the first decoding path queue of each sub-segment to be decoded;
当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is less than or equal to a second preset threshold, the paths with different probability values in the first decoding path queue are used as alternative decoding paths;
当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is greater than a second preset threshold, selecting paths with different probability values by the second preset threshold number as alternative decoding paths;
基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码;Continue to perform non-SCL decoding on each sub-segment to be decoded based on the alternative decoding path;
在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径。When the length of the second decoding path satisfies the first preset length, multiple merging paths are determined based on each candidate decoding path.
在本申请的一种示例性实施例中,对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列,包括:In an exemplary embodiment of the present application, each fourth decoding path is divided into sub-segments to obtain the first decoding path queue of each sub-segment to be decoded, including:
对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;Arranging each fourth decoding path according to the path probability value from large to small to obtain a second decoding path queue;
对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列。Divide the paths in the second decoding path queue into sub-segments and keep the order of the queues unchanged to obtain the first decoding path queue of each sub-segment to be decoded.
在本申请的一种示例性实施例中,根据多个合并路径确定多个译码子段,包括:In an exemplary embodiment of the present application, determining multiple decoding sub-segments according to multiple merging paths includes:
基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;Verifying each merging path based on a preset verification method, and determining the merging path that passes the verification and has the highest probability as the decoding path;
对译码路径进行子段划分,得到多个译码子段。The decoding path is divided into sub-sections to obtain multiple decoding sub-sections.
在本申请的一种示例性实施例中,根据各译码子段确定多个目标译码子段,包括:In an exemplary embodiment of the present application, a plurality of target decoding subsections are determined according to each decoding subsection, including:
按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,目标译码子段、译码子段均对应于第一预设数量;Map each decoding subsection to a target decoding subsection according to a third mapping rule to obtain a plurality of target decoding subsections; wherein, the target decoding subsection and the decoding subsection correspond to a first preset number;
其中,第三映射规则和编码侧的第一映射规则互为逆处理;Wherein, the third mapping rule and the first mapping rule on the encoding side are mutually inverse processing;
按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;mapping bits in each decoding subsection to bits in a target decoding subsection according to a fourth mapping rule;
其中,第四映射规则和编码侧的第二映射规则互为逆处理。Wherein, the fourth mapping rule and the second mapping rule on the encoding side are mutually inverse processing.
在本申请的一种示例性实施例中,对多个目标译码子段进行子段变换和子段合并,得到译码比特序列,包括:In an exemplary embodiment of the present application, sub-segment transformation and sub-segment merging are performed on multiple target decoding sub-segments to obtain a decoded bit sequence, including:
从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理;Select target bits from each target decoding sub-section, and transform the target bits into final bits according to the second sub-section transformation rule; wherein, the second sub-section transformation rule and the first sub-section transformation rule on the encoding side are inverse processing each other ;
基于最终比特确定各最终译码子段;determining each final decoded sub-segment based on the final bits;
合并各最终译码子段,得到译码比特序列。Merge the final decoded sub-segments to obtain the decoded bit sequence.
在本申请的一种示例性实施例中,对第二译码路径进行冻结比特约束条件检验,包括:In an exemplary embodiment of the present application, performing a freeze bit constraint check on the second decoding path includes:
当最终比特为冻结比特时,基于第三子段变换规则和第四映射规则,校验多个第二译码路径中对应的比特的异或运算结果是否与冻结比特一致。When the final bit is a frozen bit, based on the third subsection transformation rule and the fourth mapping rule, it is checked whether the XOR operation result of the corresponding bits in the multiple second decoding paths is consistent with the frozen bit.
根据本申请的一方面,提供一种编码调制装置,该装置包括:According to an aspect of the present application, a coded modulation device is provided, the device comprising:
子段获取单元,用于对待编码比特序列进行划分,以获取多个目标待编码子段;A sub-segment acquisition unit, configured to divide the bit sequence to be encoded to obtain multiple target sub-segments to be encoded;
子段映射单元,用于根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;A subsection mapping unit, configured to map a plurality of target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information;
子段编码单元,用于对各特定待编码子段进行子段编码,得到多个编码子段;A sub-segment encoding unit, configured to perform sub-segment encoding on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments;
调制发送单元,用于通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。The modulating sending unit is configured to respectively modulate the corresponding coded sub-segments into modulated signals through each modulated sub-channel and send the modulated signals to the receiving end.
在本申请的一种示例性实施例中,子段获取单元对待编码比特序列进行划分,以获取多个目标待编码子段,包括:In an exemplary embodiment of the present application, the subsection obtaining unit divides the bit sequence to be coded to obtain multiple target subsections to be coded, including:
对待编码比特序列进行划分,得到多个参考待编码子段;Dividing the bit sequence to be coded to obtain multiple reference sub-segments to be coded;
对多个参考待编码子段进行子段变换,得到多个目标待编码子段。Subsection transformation is performed on multiple reference subsections to be coded to obtain multiple target subsections to be coded.
在本申请的一种示例性实施例中,待编码比特序列对应于第一预设长度,第一预设长度等于2的整次幂;参考待编码子段、目标待编码子段、特定待编码子段均对应于第二预设长度和第一预设数量,第二预设长度等于2的整次幂;第一预设长度为第一预设数量个第二预设长度。In an exemplary embodiment of the present application, the bit sequence to be coded corresponds to a first preset length, and the first preset length is equal to an integer power of 2; The coding sub-sections all correspond to a second preset length and a first preset number, and the second preset length is equal to an integer power of 2; the first preset length is the first preset number of the second preset length.
在本申请的一种示例性实施例中,子段获取单元对多个参考待编码子段进行子段变换,得到多个目标待编码子段,包括:In an exemplary embodiment of the present application, the subsection acquisition unit performs subsection transformation on multiple reference subsections to be coded to obtain multiple target subsections to be coded, including:
根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合;determining a specific bit set for generating each target subsection to be encoded from each reference subsection to be encoded according to the first subsection transformation rule;
对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段;Execute an exclusive OR operation within the set on at least one specific bit set to obtain multiple target sub-sections to be encoded;
其中,第一子段变换规则用于限定仅由冻结比特参与的异或运算得到恒0比特、仅由信息比特参与的异或运算得到纯信息比特、由冻结比特和信息比特参与的异或运算得到混合比特。Among them, the first subsection transformation rule is used to limit the XOR operation involving only frozen bits to obtain a constant 0 bit, the XOR operation only involving information bits to obtain pure information bits, and the XOR operation involving frozen bits and information bits Get mixed bits.
在本申请的一种示例性实施例中,子段编码单元对各特定待编码子段进行子段编码,得到多个编码子段,包括:In an exemplary embodiment of the present application, the sub-segment encoding unit performs sub-segment encoding on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments, including:
对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。Perform polar code coding on each specific sub-segment to be coded to obtain multiple polar codes as multiple coded sub-segments.
在本申请的一种示例性实施例中,参考待编码子段包含信息比特和冻结比特,目标待编码子段包含以下至少一种:冻结比特、信息比特、恒0比特、纯信息比特和混合比特。In an exemplary embodiment of the present application, the reference subsection to be coded contains information bits and frozen bits, and the target subsection to be coded contains at least one of the following: frozen bits, information bits, constant 0 bits, pure information bits, and mixed bit.
在本申请的一种示例性实施例中,目标待编码子段包含校验码,校验码作为信息比特和/或纯信息比特;校验码包括以下至少一种:循环冗余校验码、奇偶校验码。In an exemplary embodiment of the present application, the target subsection to be coded includes a check code, and the check code is used as information bits and/or pure information bits; the check code includes at least one of the following: cyclic redundancy check code , Parity check code.
在本申请的一种示例性实施例中,调制信道信息包括各调制子信道容量,子段映射单元根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes the capacity of each modulation subchannel, and the subsection mapping unit maps a plurality of target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information. section, including:
根据各调制子信道容量确定对应的各特定待编码子段码率;Determine the code rate of each specific sub-section to be encoded according to the capacity of each modulation sub-channel;
基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;Determine the first mapping rule of the specific sub-segment to be encoded corresponding to each modulated sub-channel based on the code rate of each specific sub-segment to be encoded;
根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;According to the first mapping rule, determine a second mapping rule between the bits in the multiple target subsections to be encoded and the bits in the multiple specific subsections to be encoded;
其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。There is a positive correlation between the capacity of each modulation sub-channel and the code rate of each specific sub-segment to be encoded.
在本申请的一种示例性实施例中,调制信道信息包括等效比特信道可靠性信息,子段映射单元根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes equivalent bit channel reliability information, and the subsection mapping unit maps a plurality of target subsections to be coded into specific to-be-coded subsections corresponding to each modulation subchannel according to the modulation channel information. Encoding subsections, including:
根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;Determine the number of unreliable equivalent bit channels in each modulation subchannel according to the equivalent bit channel reliability information;
根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;Determine the number of constant 0 bits and/or the number of frozen bits that need to be allocated to each specific sub-segment to be encoded according to the number of unreliable equivalent bit channels in each modulation sub-channel;
基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。The specific to-be-coded sub-segment corresponding to each modulated sub-channel is determined based on the number of constant 0 bits and/or the number of frozen bits of each specific to-be-coded sub-segment.
在本申请的一种示例性实施例中,调制子信道对应于第二预设数量,子段映射单元根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation sub-channel corresponds to the second preset number, and the sub-segment mapping unit maps a plurality of target sub-segments to be encoded into specific to-be-encoded sub-segments corresponding to each modulation sub-channel according to the modulation channel information. subsections, including:
当第一预设数量和第二预设数量一致时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段;When the first preset number is consistent with the second preset number, according to the modulation channel information, a plurality of target sub-segments to be encoded are mapped to specific sub-segments to be encoded that correspond to each modulation sub-channel;
当第一预设数量等于多个第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在多对一多关系的特定待编码子段;其中,多个特定待编码子段对应于一个调制子信道;When the first preset number is equal to a plurality of second preset numbers, mapping a plurality of target subsections to be encoded into specific subsections to be encoded that have a many-to-one relationship with each modulation subchannel according to the modulation channel information; Wherein, a plurality of specific sub-segments to be encoded correspond to a modulation sub-channel;
当多个第一预设数量等于第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在一对多关系的特定待编码子段;其中,一个特定待编码子段对应于多个调制子信道。When the multiple first preset numbers are equal to the second preset number, according to the modulation channel information, the multiple target subsections to be encoded are mapped to specific subsections to be encoded that have a one-to-many relationship with each modulation subchannel; wherein , a specific sub-segment to be coded corresponds to multiple modulation sub-channels.
根据本申请的一方面,提供一种解调译码装置,该装置包括:According to an aspect of the present application, a demodulation and decoding device is provided, the device comprising:
接收解调单元,用于对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列;The receiving demodulation unit is used to demodulate the modulated signal sent by the transmitting end through each modulation sub-channel to obtain the sequence to be decoded;
第一译码单元,用于将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;The first decoding unit is used to divide the sequence to be decoded into a plurality of sub-segments to be decoded, and respectively decode the plurality of sub-segments to be decoded by a plurality of sub-segment decoders according to the encoding rules to obtain each to-be-decoded sub-segment a decoding subsection of a decoding subsection;
第二译码单元,用于根据各译码子段确定多个目标译码子段;The second decoding unit is configured to determine a plurality of target decoding sub-segments according to each decoding sub-segment;
第三译码单元,用于对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。The third decoding unit is configured to perform sub-segment transformation and sub-segment combination on multiple target decoding sub-segments to obtain a decoded bit sequence.
在本申请的一种示例性实施例中,子段译码器、待译码子段均对应于第一预设数量,各待译码子段对应于第二预设长度。In an exemplary embodiment of the present application, the sub-segment decoder and the sub-segments to be decoded correspond to a first preset number, and each sub-segment to be decoded corresponds to a second preset length.
在本申请的一种示例性实施例中,第一译码单元通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段,包括:In an exemplary embodiment of the present application, the first decoding unit uses a plurality of sub-segment decoders to respectively decode a plurality of sub-segments to be decoded according to coding rules to obtain the decoding of each sub-segment to be decoded subsections, including:
对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径;Perform non-SCL decoding of non-continuous deletion lists on multiple sub-segments to be decoded to obtain multiple merging paths;
根据多个合并路径确定多个译码子段。A plurality of decoding sub-segments are determined according to a plurality of merging paths.
在本申请的一种示例性实施例中,第一译码单元对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径,包括:In an exemplary embodiment of the present application, the first decoding unit performs non-SCL decoding on multiple sub-segments to be decoded to obtain multiple merging paths, including:
对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合;Carrying out continuous deletion list SCL decoding to each sub-segment to be decoded respectively, to obtain a first path probability set of an incomplete first decoding path of each sub-segment to be decoded;
对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;performing path splitting between sub-segments on each first decoding path to obtain a plurality of incomplete second decoding paths;
对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;Performing a freeze bit constraint test on the second decoding path, and determining the path that passes the test as the third decoding path;
从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;Selecting the path with the largest path probability value from the third decoding path as the fourth decoding path; wherein, the number of the fourth decoding paths is less than or equal to the first preset threshold;
对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列;Carrying out sub-segment division for each fourth decoding path to obtain the first decoding path queue of each sub-segment to be decoded;
当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is less than or equal to a second preset threshold, the paths with different probability values in the first decoding path queue are used as alternative decoding paths;
当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is greater than a second preset threshold, selecting paths with different probability values by the second preset threshold number as alternative decoding paths;
基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码;Continue to perform non-SCL decoding on each sub-segment to be decoded based on the alternative decoding path;
在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径。When the length of the second decoding path satisfies the first preset length, multiple merging paths are determined based on each candidate decoding path.
在本申请的一种示例性实施例中,第一译码单元对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列,包括:In an exemplary embodiment of the present application, the first decoding unit divides each fourth decoding path into sub-segments to obtain the first decoding path queue of each sub-segment to be decoded, including:
对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;Arranging each fourth decoding path according to the path probability value from large to small to obtain a second decoding path queue;
对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列。Divide the paths in the second decoding path queue into sub-segments and keep the order of the queues unchanged to obtain the first decoding path queue of each sub-segment to be decoded.
在本申请的一种示例性实施例中,第一译码单元根据多个合并路径确定多个译码子段,包括:In an exemplary embodiment of the present application, the first decoding unit determines multiple decoding sub-segments according to multiple merging paths, including:
基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;Verifying each merging path based on a preset verification method, and determining the merging path that passes the verification and has the highest probability as the decoding path;
对译码路径进行子段划分,得到多个译码子段。The decoding path is divided into sub-sections to obtain multiple decoding sub-sections.
在本申请的一种示例性实施例中,第二译码单元根据各译码子段确定多个目标译码子段,包括:In an exemplary embodiment of the present application, the second decoding unit determines a plurality of target decoding subsections according to each decoding subsection, including:
按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,目标译码子段、译码子段均对应于第一预设数量;Map each decoding subsection to a target decoding subsection according to a third mapping rule to obtain a plurality of target decoding subsections; wherein, the target decoding subsection and the decoding subsection correspond to a first preset number;
其中,第三映射规则和编码侧的第一映射规则互为逆处理;Wherein, the third mapping rule and the first mapping rule on the encoding side are mutually inverse processing;
按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;mapping bits in each decoding subsection to bits in a target decoding subsection according to a fourth mapping rule;
其中,第四映射规则和编码侧的第二映射规则互为逆处理。Wherein, the fourth mapping rule and the second mapping rule on the encoding side are mutually inverse processing.
在本申请的一种示例性实施例中,第三译码单元对多个目标译码子段进行子段变换和子段合并,得到译码比特序列,包括:In an exemplary embodiment of the present application, the third decoding unit performs sub-segment transformation and sub-segment merging on multiple target decoding sub-segments to obtain a decoded bit sequence, including:
从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理;Select target bits from each target decoding sub-section, and transform the target bits into final bits according to the second sub-section transformation rule; wherein, the second sub-section transformation rule and the first sub-section transformation rule on the encoding side are inverse processing each other ;
基于最终比特确定各最终译码子段;determining each final decoded sub-segment based on the final bits;
合并各最终译码子段,得到译码比特序列。Merge the final decoded sub-segments to obtain the decoded bit sequence.
在本申请的一种示例性实施例中,第一译码单元对第二译码路径进行冻结比特约束条件检验,包括:In an exemplary embodiment of the present application, the first decoding unit performs a freeze bit constraint check on the second decoding path, including:
当最终比特为冻结比特时,基于第三子段变换规则和第四映射规则,校验多个第二译码路径中对应的比特的异或运算结果是否与冻结比特一致。When the final bit is a frozen bit, based on the third subsection transformation rule and the fourth mapping rule, it is checked whether the XOR operation result of the corresponding bits in the multiple second decoding paths is consistent with the frozen bit.
根据本申请的一方面,提供一种用于进行编码调制和解调译码的系统,该系统包括发送端和接收端,其中:According to one aspect of the present application, a system for encoding, modulation, demodulation and decoding is provided, the system includes a sending end and a receiving end, wherein:
发送端,用于对待编码比特序列进行划分,以获取多个目标待编码子段;根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;对各特定待编码子段进行子段编码,得到多个编码子段;通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端;The sending end is used to divide the bit sequence to be encoded to obtain multiple target subsections to be encoded; map the multiple target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information; Performing sub-segment encoding on a specific sub-segment to be encoded to obtain a plurality of encoded sub-segments; respectively modulating the corresponding encoded sub-segments into modulated signals through each modulation sub-channel and sending the modulated signals to the receiving end;
接收端,用于对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列;将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;根据各译码子段确定多个目标译码子段;对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。The receiving end is used to demodulate the modulated signal sent by the transmitting end through each modulation sub-channel to obtain the sequence to be decoded; divide the sequence to be decoded into a plurality of sub-segments to be decoded, and pass through a plurality of sub-segment decoders Decode a plurality of sub-segments to be decoded respectively according to coding rules to obtain decoding sub-segments of each sub-segment to be decoded; determine a plurality of target decoding sub-segments according to each decoding sub-segment; decode a plurality of targets The sub-sections are transformed and merged to obtain a decoded bit sequence.
根据本申请的一方面,提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任意一项的方法。According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned methods is implemented.
根据本申请的一方面,提供一种电子设备,包括:处理器;以及存储器,用于存储处理器的可执行指令;其中,处理器配置为经由执行可执行指令来执行上述任意一项的方法。According to an aspect of the present application, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein, the processor is configured to perform any one of the above-mentioned methods by executing the executable instructions .
本申请示例性实施例可以具有以下部分或全部有益效果:Exemplary embodiments of the present application may have some or all of the following beneficial effects:
在本申请的一示例实施方式所提供的编码调制方法中,可以对待编码比特序列进行划分,以获取多个目标待编码子段;根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;对各特定待编码子段进行子段编码,得到多个编码子段;通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。在本申请的一示例实施方式所提供的编码调制方法中,可以对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列;将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;根据各译码子段确定多个目标译码子段;对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。这样可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。此外,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间,提升译码性能。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。In the coding and modulation method provided in an exemplary embodiment of the present application, the bit sequence to be coded can be divided to obtain multiple target subsections to be coded; the multiple target subsections to be coded are mapped to each modulation channel information according to the modulation channel information Specific sub-segments to be encoded corresponding to the sub-channels; performing sub-segment encoding on each specific sub-segment to be encoded to obtain multiple encoded sub-segments; respectively modulating the corresponding encoded sub-segments into modulated signals through each modulation sub-channel and sending the modulated signals to the receiving end. In the encoding and modulation method provided in an exemplary embodiment of the present application, the modulated signal sent by the transmitting end through each modulation sub-channel can be demodulated to obtain a sequence to be decoded; the sequence to be decoded is divided into multiple code sub-section, and decode a plurality of sub-sections to be decoded respectively according to coding rules by a plurality of sub-section decoders to obtain the decoding sub-sections of each sub-section to be decoded; determine multiple sub-sections according to each decoding sub-section The target decoding sub-segment: performing sub-segment transformation and sub-segment merging on multiple target decoding sub-segments to obtain a decoded bit sequence. In this way, the bit sequence to be encoded can be divided into multiple target subsections to be encoded without changing the code length of the polar code, and the multiple target subsections to be encoded can be mapped to specific subsections to be encoded corresponding to each modulation subchannel segment, so as to realize the equalization of the modulation sub-channel and improve the transmission reliability. In addition, the sequence to be decoded can be divided into multiple sub-segments to be decoded and decoded by means corresponding to the encoding side, and then multiple target decoding sub-segments are determined according to each decoding sub-segment, and through the sub-segments The decoding bit sequence is obtained by transforming and combining the sub-segments, so that when the sink outputs the bit sequence in serial, the processing time for encoding and decoding is not increased, and the decoding performance is improved. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. Apparently, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.
图1示意性示出了根据本申请的一个实施例的编码调制方法的流程图;FIG. 1 schematically shows a flow chart of a coded modulation method according to an embodiment of the present application;
图2示意性示出了根据本申请的另一个实施例的编码调制方法的流程图;FIG. 2 schematically shows a flow chart of a coding and modulation method according to another embodiment of the present application;
图3示意性示出了根据本申请的一个实施例的解调译码方法的流程图;FIG. 3 schematically shows a flow chart of a demodulation and decoding method according to an embodiment of the present application;
图4示意性示出了根据本申请的另一个实施例的解调译码方法的流程图;FIG. 4 schematically shows a flowchart of a demodulation and decoding method according to another embodiment of the present application;
图5示意性示出了根据本申请的一个实施例的用于进行编码调制和解调译码的系统架构图;FIG. 5 schematically shows a system architecture diagram for encoding, modulation, demodulation and decoding according to an embodiment of the present application;
图6示意性示出了根据本申请的一个实施例的编码调制系统架构图;FIG. 6 schematically shows an architecture diagram of a coded modulation system according to an embodiment of the present application;
图7示意性示出了根据本申请的一个实施例的解调译码系统架构图;FIG. 7 schematically shows a demodulation and decoding system architecture diagram according to an embodiment of the present application;
图8示意性示出了根据本申请的一个实施例中的编码调制装置的结构框图;FIG. 8 schematically shows a structural block diagram of a coding and modulating device according to an embodiment of the present application;
图9示意性示出了根据本申请的一个实施例中的解调译码装置的结构框图;FIG. 9 schematically shows a structural block diagram of a demodulation and decoding device according to an embodiment of the present application;
图10示意性示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 10 schematically shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
具体实施方式detailed description
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本申请的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本申请的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be used. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the application.
此外,附图仅为本申请的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor means and/or microcontroller means.
其中,本发明实施例的技术方案可以应用于各种通信系统。例如,5G通信系统、全球移动通讯(Global System of Mobile communication,简称“GSM”)系统、码分多址(CodeDivision Multiple Access,简称“CDMA”)系统、宽带码分多址(Wideband Code DivisionMultiple Access,简称“WCDMA”)系统、通用分组无线业务(General Packet RadioService,简称“GPRS”)、长期演进(Long Term Evolution,简称“LTE”)系统、LTE频分双工(Frequency Division Duplex,简称“FDD”)系统、LTE时分双工(Time Division Duplex,简称“TDD”)、通用移动通信系统(Universal Mobile Telecommunication System,简称“UMTS”)等。Wherein, the technical solutions of the embodiments of the present invention can be applied to various communication systems. For example, 5G communication system, Global System of Mobile communication (GSM for short) system, Code Division Multiple Access (CDMA for short) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, “WCDMA” for short) system, General Packet Radio Service (GPRS for short), Long Term Evolution (LTE for short) system, Frequency Division Duplex for LTE (FDD for short) ) system, LTE Time Division Duplex (Time Division Duplex, “TDD” for short), Universal Mobile Telecommunications System (Universal Mobile Telecommunication System, “UMTS” for short), etc.
请参阅图1,图1示意性示出了根据本申请的一个实施例的编码调制方法的流程图。该方法由发送端执行,发送端可以为接入网设备或终端设备,或者,也可以为其他需要进行信道编码的设备,本申请实施例不做限定。其中,接入网设备可以为特定的地理区域提供通信覆盖,并且可以与位于所述覆盖区域内的终端设备进行通信,接入网设备可以支持不同制式的通信协议,或者可以支持不同的通信模式。例如,接入网设备可以是LTE系统中的演进型基站(evolutional node B,eNB或eNodeB),或者是云无线接入网络(cloud radioaccess network,CRAN)中的无线网络控制器,或者可以为5G网络中的接入网设备,如gNB,或者可以为小站、微站或者传输接收点(transmission reception point,TRP),还可以是中继站、接入点或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的接入网设备、或者未来的各种形式的承担基站功能的设备等。其中,终端设备可以指接入终端、用户设备(user equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动终端、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话发起协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、物联网中的终端设备、虚拟现实设备、5G网络或者未来通信网络中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的终端设备等。Please refer to FIG. 1 . FIG. 1 schematically shows a flowchart of a coding and modulation method according to an embodiment of the present application. The method is executed by a sending end, which may be an access network device or a terminal device, or other devices that need to perform channel coding, which is not limited in this embodiment of the present application. Wherein, the access network equipment can provide communication coverage for a specific geographical area, and can communicate with terminal equipment located in the coverage area, and the access network equipment can support communication protocols of different standards, or can support different communication modes . For example, the access network device may be an evolved base station (evolutional node B, eNB or eNodeB) in an LTE system, or a radio network controller in a cloud radio access network (cloud radio access network, CRAN), or may be a 5G The access network equipment in the network, such as gNB, may be a small cell, a micro cell, or a transmission reception point (TRP), or a relay station, an access point, or a public land mobile network (public land mobile network) that will evolve in the future. Mobile network, PLMN) access network equipment, or various forms of equipment in the future to undertake the function of the base station, etc. Wherein, the terminal equipment may refer to an access terminal, a user equipment (user equipment, UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile terminal, a user terminal, a terminal, a wireless communication device, a user agent or user device. An access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in the Internet of Things, virtual reality devices, terminal devices in 5G networks or future communication networks, or future evolved public Terminal equipment in a land mobile network (public land mobile network, PLMN), etc.
如图1所示,该编码调制方法可以包括:步骤S110~步骤S140。As shown in FIG. 1 , the encoding and modulation method may include: step S110 to step S140.
步骤S110:对待编码比特序列进行划分,以获取多个目标待编码子段。Step S110: Divide the bit sequence to be coded to obtain multiple target sub-segments to be coded.
步骤S120:根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段。Step S120: Map multiple target sub-segments to be coded into specific sub-segments to be coded corresponding to each modulation sub-channel according to modulation channel information.
步骤S130:对各特定待编码子段进行子段编码,得到多个编码子段。Step S130: Perform sub-segment encoding on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments.
步骤S140:通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。Step S140: Modulate the corresponding coded sub-segments into modulated signals through each modulated sub-channel, and send the modulated signals to the receiving end.
其中,待编码比特序列对应于第一预设长度N,第一预设长度等于2的整次幂;参考待编码子段、目标待编码子段、特定待编码子段均对应于第二预设长度n和第一预设数量m,第二预设长度等于2的整次幂;第一预设长度N为第一预设数量m个第二预设长度n;其中,N、n、m均为正整数。Wherein, the bit sequence to be encoded corresponds to the first preset length N, and the first preset length is equal to an integer power of 2; the reference subsection to be encoded, the target subsection to be encoded, and the specific subsection to be encoded all correspond to the second preset length. Assuming length n and the first preset number m, the second preset length is equal to an integer power of 2; the first preset length N is the first preset number m of the second preset length n; wherein, N, n, m are all positive integers.
实施图1所示的方法,可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。By implementing the method shown in Figure 1, the bit sequence to be coded can be divided into multiple target subsections to be coded without changing the code length of the polar code, and the multiple target subsections to be coded can be mapped into modulation subsections The channel corresponds to a specific sub-segment to be encoded, so as to realize the equalization of the modulation sub-channel and improve the transmission reliability.
下面,对于本示例实施方式的上述步骤进行更加详细的说明。Next, the above-mentioned steps of this exemplary embodiment will be described in more detail.
在步骤S110中,对待编码比特序列进行划分,以获取多个目标待编码子段。In step S110, the bit sequence to be coded is divided to obtain multiple target sub-segments to be coded.
具体地,待编码比特序列可以包含对应于第一预设长度的多个比特,如,N=1024个比特。多个目标待编码子段用于构成该待编码比特序列,目标待编码子段的第一预设数量m=2,目标待编码子段的第二预设长度n=512。Specifically, the bit sequence to be encoded may include a plurality of bits corresponding to the first preset length, for example, N=1024 bits. Multiple target subsections to be encoded are used to form the bit sequence to be encoded, the first preset number of target subsections to be encoded is m=2, and the second preset length of target subsections to be encoded is n=512.
作为一种可选的实施例,对待编码比特序列进行划分,以获取多个目标待编码子段,包括:对待编码比特序列进行划分,得到多个参考待编码子段;对多个参考待编码子段进行子段变换,得到多个目标待编码子段。这样可以通过对待编码比特序列的划分,实现灵活编码,保障译码性能。As an optional embodiment, dividing the bit sequence to be encoded to obtain multiple target subsections to be encoded includes: dividing the bit sequence to be encoded to obtain multiple reference subsections to be encoded; The sub-section is subjected to sub-section transformation to obtain multiple target sub-sections to be coded. In this way, flexible coding can be realized and decoding performance can be guaranteed by dividing the bit sequence to be coded.
具体地,多个参考待编码子段可以表示为m个参考待编码子段,举例来说,可以表示如下:Specifically, multiple reference subsections to be coded can be expressed as m reference subsections to be coded, for example, can be expressed as follows:
v1=[v11v12v13…v1n-1v1n]v 1 =[v 11 v 12 v 13 ... v 1n-1 v 1n ]
v2=[v21v22v23…v2n-1v2n]v 2 =[v 21 v 22 v 23 ...v 2n-1 v 2n ]
……...
vm=[vm1vm2vm3…vmn-1vmn]v m =[v m1 v m2 v m3 ... v mn-1 v mn ]
以及,多个目标待编码子段可以表示为m个目标待编码子段,举例来说,可以表示如下:And, multiple target subsections to be coded can be expressed as m target subsections to be coded, for example, can be expressed as follows:
a1=[a11a12a13…a1n-1a1n]a 1 =[a 11 a 12 a 13 ...a 1n-1 a 1n ]
a2=[a21a22a23…a2n-1a2n]a 2 =[a 21 a 22 a 23 ... a 2n-1 a 2n ]
……...
am=[am1am2am3…amn-1amn]a m =[a m1 a m2 a m3 ... a mn-1 a mn ]
作为一种可选的实施例,对多个参考待编码子段进行子段变换,得到多个目标待编码子段,包括:根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合;对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段;其中,第一子段变换规则用于限定仅由冻结比特参与的异或运算得到恒0比特、仅由信息比特参与的异或运算得到纯信息比特、由冻结比特和信息比特参与的异或运算得到混合比特。这样可以通过第一子段变换规则实现对于待编码子段的变换,有利于提升编码灵活性。As an optional embodiment, subsection transformation is performed on multiple reference subsections to be coded to obtain multiple target subsections to be coded, including: To generate a specific bit set of each target sub-section to be encoded; perform an XOR operation in the set for at least one specific bit set to obtain a plurality of target sub-sections to be encoded; wherein, the first sub-section transformation rule is used to limit only by freezing The XOR operation involving bits can obtain constant 0 bits, the XOR operation involving only information bits can obtain pure information bits, and the XOR operation involving frozen bits and information bits can obtain mixed bits. In this way, the transformation of the to-be-encoded subsegment can be realized through the first subsegment transformation rule, which is beneficial to improve coding flexibility.
具体地,根据第一子段变换规则可以确定出用于生成各目标待编码子段的特定比特集合,例如,用于生成a1j的特定比特集合包括[v1j,v2j,v3j,…,v(m-2)j,v(m-1)j,vmj],用于生成a2j的特定比特集合包括[v2j,v4j,v6j,…,v(m-4)j,v(m-2)j,vmj]。Specifically, according to the first sub-segment transformation rule, the specific bit set used to generate each target sub-segment to be encoded can be determined. For example, the specific bit set used to generate a 1j includes [v 1j , v 2j , v 3j , … , v (m-2)j , v (m-1)j , v mj ], the specific bit set used to generate a 2j includes [v 2j , v 4j , v 6j ,..., v (m-4)j , v (m-2)j , v mj ].
此外,对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段,包括:基于下述表达式对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段;其中,由冻结比特vmj直接得到的是冻结比特amj,由信息比特vmj直接得到的是信息比特amj。In addition, performing an in-set XOR operation on at least one specific bit set to obtain multiple target subsections to be encoded includes: performing an in-set XOR operation on at least one specific bit set based on the following expression to obtain multiple target The sub-section to be coded; where the frozen bit a mj is obtained directly from the frozen bit v mj , and the information bit a mj is directly obtained from the information bit v mj .
在步骤S120中,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段。In step S120, the multiple target sub-segments to be coded are mapped to specific sub-segments to be coded corresponding to each modulation sub-channel according to the modulation channel information.
具体地,调制信道信息包括但不限于以下至少一种:调制子信道容量、等效比特信道可靠性信息。其中,调制子信道容量用于表示调制子信道的容量,不同的调制子信道可以对应于不同的容量也可以对应于相同的容量,本申请实施例不作限定。等效比特信道可靠性信息用于限定不可靠等效比特信道数量等信息,本申请实施例不作限定。此外,调制子信道的数量可以表示为p,p为正整数。Specifically, the modulation channel information includes but is not limited to at least one of the following: modulation subchannel capacity, and equivalent bit channel reliability information. The modulation subchannel capacity is used to indicate the capacity of the modulation subchannel, and different modulation subchannels may correspond to different capacities or may correspond to the same capacity, which is not limited in this embodiment of the present application. The equivalent bit channel reliability information is used to limit information such as the number of unreliable equivalent bit channels, which is not limited in this embodiment of the present application. In addition, the number of modulation sub-channels can be expressed as p, where p is a positive integer.
作为一种可选的实施例,调制信道信息包括各调制子信道容量,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:根据各调制子信道容量确定对应的各特定待编码子段码率;基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。这样可以基于各调制子信道容量将不同码率的特定待编码子段对应到不同信道容量的调制子信道上,使得码率大的特定待编码子段对应于容量大的调制子信道,码率小的特定待编码子段对应于容量小的调制子信道,实现了对调制子信道的均衡,提高了传输可靠性。As an optional embodiment, the modulation channel information includes the capacity of each modulation subchannel, and mapping multiple target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information includes: according to each modulation Determine the code rate of each specific subsection to be encoded corresponding to the subchannel capacity; determine the first mapping rule of the specific subsection to be encoded corresponding to each modulated subchannel based on the code rate of each specific subsection to be encoded; according to the first mapping rule, determine multiple A second mapping rule between bits in a target subsection to be encoded and bits in a plurality of specific subsections to be encoded; wherein, there is a positive correlation between the capacity of each modulation subchannel and the code rate of each corresponding specific subsection to be encoded. In this way, based on the capacity of each modulation sub-channel, the specific sub-segments to be encoded with different code rates can be corresponding to the modulation sub-channels with different channel capacities, so that the specific sub-segments to be encoded with a large code rate correspond to the modulation sub-channels with a large capacity, and the code rate Small specific sub-segments to be coded correspond to modulation sub-channels with small capacity, which realizes equalization of modulation sub-channels and improves transmission reliability.
其中,第一映射规则用于确定子段和调制子信道的映射关系。第二映射规则用于确定全部目标待编码子段中比特和全部特定待编码子段比特之间的映射关系,即,比特的映射关系是跨子段的,是基于整个目标待编码比特序列和整个特定待编码比特序列的。Wherein, the first mapping rule is used to determine the mapping relationship between subsections and modulation subchannels. The second mapping rule is used to determine the mapping relationship between bits in all target subsections to be encoded and all specific subsection bits to be encoded, that is, the mapping relationship of bits is across subsections, and is based on the entire target bit sequence to be encoded and The entire specific bit sequence to be coded.
具体地,容量,是指在信道上进行无差错传输所能达到的最大传输速率。码率=信息位长度/码长。其中,根据各调制子信道容量确定对应的各特定待编码子段码率的方式可以为:将各特定待编码子段的恒0比特和/或冻结比特数确定为x,根据表达式[(码长L1-x1)/码长L1]/[(码长L2-x2)/码长L2]=C1/C2、x1+x2=W,确定出各特定待编码子段的码率;其中,W为已知的常数,C1和C2为对应调制子信道容量。Specifically, capacity refers to the maximum transmission rate that can be achieved by error-free transmission on a channel. Code rate=information bit length/code length. Wherein, according to the capacity of each modulation sub-channel to determine the code rate of each specific sub-section to be encoded can be as follows: the number of constant 0 bits and/or frozen bits of each specific sub-section to be encoded is determined as x, according to the expression [( Code length L1-x1)/code length L1]/[(code length L2-x2)/code length L2]=C1/C2, x1+x2=W, determine the code rate of each specific subsection to be encoded; wherein, W is a known constant, and C1 and C2 are the capacity of the corresponding modulation subchannel.
此外,全子段码率,为m个目标待编码子段中恒0比特数量和冻结比特数量之和与第一预设长度之比。In addition, the full sub-segment code rate is the ratio of the sum of the number of constant 0 bits and the number of frozen bits in the m target sub-segments to be encoded to the first preset length.
作为一种可选的实施例,调制信道信息包括等效比特信道可靠性信息,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。这样可以基于预设的等效比特信道可靠性信息将不同码率的特定待编码子段对应到不同信道容量的调制子信道上,更高效地使得码率大的特定待编码子段对应于容量大的调制子信道,码率小的特定待编码子段对应于容量小的调制子信道,实现了对调制子信道的均衡,提高了传输可靠性。As an optional embodiment, the modulation channel information includes equivalent bit channel reliability information, and mapping multiple target subsections to be encoded into specific subsections to be encoded corresponding to each modulation subchannel according to the modulation channel information includes: according to The equivalent bit channel reliability information determines the number of unreliable equivalent bit channels in each modulation sub-channel; according to the number of unreliable equivalent bit channels in each modulation sub-channel, determine the constant 0 bits that need to be allocated to the corresponding specific sub-segments to be encoded Quantity and/or number of frozen bits; determine the specific sub-segment to be encoded corresponding to each modulated sub-channel based on the number of constant 0 bits and/or the number of frozen bits of each specific sub-segment to be encoded. In this way, based on the preset equivalent bit channel reliability information, specific sub-segments to be encoded with different code rates can be mapped to modulated sub-channels with different channel capacities, so that the specific sub-segments to be encoded with high code rates can correspond to the capacity more efficiently. Large modulation sub-channels, specific sub-segments to be coded with small code rates correspond to modulation sub-channels with small capacity, which realizes the equalization of modulation sub-channels and improves transmission reliability.
其中,调制子信道等效比特信道的数量可以表示为N/p,p为调制子信道对应的第二预设数量。Wherein, the number of equivalent bit channels of the modulation sub-channel may be expressed as N/p, where p is the second preset number corresponding to the modulation sub-channel.
具体地,基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段,包括:基于各特定待编码子段的恒0比特数量和/或冻结比特数量进行比特配置,得到各调制子信道对应的特定待编码子段。Specifically, based on the number of constant 0 bits and/or the number of frozen bits of each specific subsection to be encoded, determining the specific subsection to be encoded corresponding to each modulation subchannel includes: based on the number of constant 0 bits of each specific subsection to be encoded and/or Or freeze the number of bits for bit configuration to obtain specific sub-segments to be encoded corresponding to each modulation sub-channel.
作为一种可选的实施例,调制子信道对应于第二预设数量p,根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:当第一预设数量和第二预设数量一致时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段;当第一预设数量等于多个第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在多对一多关系的特定待编码子段;其中,多个特定待编码子段对应于一个调制子信道;当多个第一预设数量等于第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在一对多关系的特定待编码子段;其中,一个特定待编码子段对应于多个调制子信道。这样可以基于第一预设数量和第二预设数量选择合适的对应方式,从而有利于提升调制灵活性,以及对于调制子信道的传输可靠性。As an optional embodiment, the modulation sub-channel corresponds to the second preset number p, and the multiple target sub-segments to be encoded are mapped to specific sub-segments to be encoded corresponding to each modulation sub-channel according to the modulation channel information, including: when When the first preset number is consistent with the second preset number, a plurality of target subsections to be encoded are mapped to specific subsections to be encoded that correspond to each modulation subchannel according to the modulation channel information; when the first preset number is equal to When there are multiple second preset numbers, multiple target subsections to be encoded are mapped to specific subsections to be encoded that have a many-to-one relationship with each modulation subchannel according to the modulation channel information; wherein, multiple specific subsections to be encoded The sub-section corresponds to a modulation sub-channel; when multiple first preset numbers are equal to the second preset number, a plurality of target sub-sections to be coded are mapped to exist one-to-many with each modulation sub-channel according to the modulation channel information The specific to-be-encoded subsection of the relationship; wherein, one specific to-be-encoded subsection corresponds to multiple modulation subchannels. In this way, an appropriate corresponding manner can be selected based on the first preset number and the second preset number, which is beneficial to improving modulation flexibility and transmission reliability for modulated sub-channels.
具体地,第一预设数量和第二预设数量一致,可以理解为m=p;第一预设数量等于多个第二预设数量,可以理解为m=kp;多个第一预设数量等于第二预设数量,可以理解为km=p。k为正整数。Specifically, the first preset number is consistent with the second preset number, which can be understood as m=p; the first preset number is equal to multiple second preset numbers, which can be understood as m=kp; multiple first presets The quantity is equal to the second preset quantity, which can be understood as km=p. k is a positive integer.
当m=p时,可以根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段,使得特定待编码子段与各调制子信道之间的关系呈正相关,即大容量的调制子信道对应大码率的特定待编码子段,小容量的调制子信道对应小码率的特定待编码子段。当m=kp时,可以将特定待编码子段进行组合,将k个特定待编码子段划分为一组,共得到p个特定待编码子段组,使得每个特定待编码子段组可以对应于一个调制子信道,每个特定待编码子段组的码率不同,使得特定待编码子段组的码率与各调制子信道之间的关系呈正相关,即大容量的调制子信道对应大码率的特定待编码子段组,小容量的调制子信道对应小码率的特定待编码子段组,每一个特定待编码子段组进行极化码编码得到一个极化码。当km=p时,可以将k个调制子信道划分为一组,共得到m个调制子信道组,使得每个调制子信道组可以对应于一个特定待编码子段,使得各调制子信道组的容量与特定待编码子段的码率之间的关系呈正相关,即大容量的调制子信道组对应大码率的特定待编码子段,小容量的调制子信道组对应小码率的特定待编码子段。When m=p, multiple target subsections to be encoded can be mapped to specific subsections to be encoded that correspond to each modulation subchannel according to the modulation channel information, so that the specific subsection to be encoded and each modulation subchannel The relationship is positively correlated, that is, a large-capacity modulation sub-channel corresponds to a specific coded sub-segment with a large code rate, and a small-capacity modulation sub-channel corresponds to a small code-rate specific sub-segment to be coded. When m=kp, specific subsections to be coded can be combined, and k specific subsections to be coded are divided into one group to obtain p specific subsection groups to be coded, so that each specific subsection group to be coded can be Corresponding to a modulation subchannel, the code rate of each specific subsection group to be encoded is different, so that the relationship between the code rate of a specific subsection group to be encoded and each modulation subchannel is positively correlated, that is, the large-capacity modulation subchannel corresponds to A specific sub-segment group to be encoded with a large code rate, and a small-capacity modulation sub-channel corresponds to a specific sub-segment group to be encoded with a small code rate, and each specific sub-segment group to be encoded is encoded with a polar code to obtain a polar code. When km=p, k modulation sub-channels can be divided into one group to obtain m modulation sub-channel groups, so that each modulation sub-channel group can correspond to a specific sub-section to be encoded, so that each modulation sub-channel group The relationship between the capacity and the code rate of the specific sub-segment to be encoded is positively correlated, that is, the modulation sub-channel group with large capacity corresponds to the specific sub-segment to be encoded with large code rate, and the modulation sub-channel group with small capacity corresponds to the specific sub-segment with small code rate. The subsection to be encoded.
在步骤S130中,对各特定待编码子段进行子段编码,得到多个编码子段。In step S130, sub-segment encoding is performed on each specific sub-segment to be encoded to obtain a plurality of encoded sub-segments.
作为一种可选的实施例,对各特定待编码子段进行子段编码,得到多个编码子段,包括:对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。这样可以实现基于序列切分的极化码编码,可以提升极化码编码的灵活性。As an optional embodiment, performing sub-segment encoding on each specific sub-segment to be encoded to obtain multiple encoded sub-segments includes: performing polar code encoding on each specific to-be-encoded sub-segment to obtain multiple polar codes, as multiple encoded subsections. In this way, polar code coding based on sequence segmentation can be realized, and the flexibility of polar code coding can be improved.
其中,参考待编码子段包含信息比特和冻结比特,目标待编码子段包含以下至少一种:冻结比特、信息比特、恒0比特、纯信息比特和混合比特。此外,目标待编码子段包含校验码,校验码作为信息比特和/或纯信息比特;校验码包括以下但不限于至少一种:循环冗余校验码、奇偶校验码。Wherein, the reference to-be-coded subsection includes information bits and frozen bits, and the target to-be-coded subsection includes at least one of the following: frozen bits, information bits, constant 0 bits, pure information bits, and mixed bits. In addition, the target to-be-encoded subsection includes a check code, which is used as information bits and/or pure information bits; the check code includes but is not limited to at least one of the following: cyclic redundancy check code, parity check code.
具体地,特定待编码子段和编码子段是一一对应的关系,对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段,包括:基于各特定待编码子段对应的编码器进行极化码编码,得到多个极化码作为多个编码子段。其中,多个编码器可以实现并行编码。Specifically, there is a one-to-one correspondence relationship between specific subsections to be coded and coded subsections, and polar code coding is performed on each specific subsection to be coded to obtain multiple polar codes as multiple coded subsections, including: An encoder corresponding to a specific sub-segment to be encoded performs polar code encoding to obtain a plurality of polar codes as a plurality of encoded sub-segments. Among them, multiple encoders can implement parallel encoding.
在步骤S140中,通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。In step S140, the corresponding coded sub-segments are modulated into modulated signals through each modulated sub-channel, and the modulated signals are sent to the receiving end.
其中,接收端用于对发送端的调制信号进行解调译码。Wherein, the receiving end is used for demodulating and decoding the modulated signal of the sending end.
请参阅图2,图2示意性示出了根据本申请的另一个实施例的编码调制方法的流程图。如图2所示,该编码调制方法可以包括:步骤S210~步骤S270。Please refer to FIG. 2 . FIG. 2 schematically shows a flowchart of a coding and modulation method according to another embodiment of the present application. As shown in FIG. 2 , the encoding and modulation method may include: step S210 to step S270.
步骤S210:对待编码比特序列进行划分,得到多个参考待编码子段。Step S210: Divide the bit sequence to be coded to obtain multiple reference sub-segments to be coded.
步骤S220:根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合;其中,第一子段变换规则用于限定仅由冻结比特参与的异或运算得到恒0比特、仅由信息比特参与的异或运算得到纯信息比特、由冻结比特和信息比特参与的异或运算得到混合比特;以及,参考待编码子段包含信息比特和冻结比特,目标待编码子段包含以下至少一种:冻结比特、信息比特、恒0比特、纯信息比特和混合比特;目标待编码子段包含校验码,校验码作为信息比特和/或纯信息比特;校验码包括以下但不限于至少一种:循环冗余校验码、奇偶校验码。Step S220: According to the first sub-section transformation rule, determine the specific bit set used to generate each target sub-section to be coded from each reference sub-section to be coded; wherein, the first sub-section transformation rule is used to limit only frozen bits to participate XOR operation to obtain constant 0 bits, XOR operation involving only information bits to obtain pure information bits, XOR operation involving frozen bits and information bits to obtain mixed bits; and, referring to the subsection to be encoded contains information bits and frozen bits , the target subsection to be encoded contains at least one of the following: frozen bits, information bits, constant 0 bits, pure information bits, and mixed bits; the target subsection to be encoded contains a check code, and the check code is used as an information bit and/or pure information Bit; check code includes but not limited to at least one of the following: cyclic redundancy check code, parity check code.
步骤S230:对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段。在调制信道信息包括各调制子信道容量时,执行步骤S240;在调制信道信息包括等效比特信道可靠性信息时,执行步骤S250。Step S230: Execute an in-set XOR operation on at least one specific bit set to obtain multiple target sub-segments to be encoded. When the modulation channel information includes the capacity of each modulation subchannel, execute step S240; when the modulation channel information includes equivalent bit channel reliability information, execute step S250.
步骤S240:根据各调制子信道容量确定对应的各特定待编码子段码率;基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。进而,执行步骤S260。Step S240: Determine the code rate of each specific subsection to be encoded according to the capacity of each modulation subchannel; determine the first mapping rule of the specific subsection to be encoded corresponding to each modulation subchannel based on the code rate of each specific subsection to be encoded; according to the first A mapping rule, determining a second mapping rule between bits in a plurality of target subsections to be encoded and bits in a plurality of specific subsections to be encoded; wherein, the capacity of each modulation subchannel and the corresponding code rate of each specific subsection to be encoded There is a positive correlation between them. Furthermore, step S260 is executed.
步骤S250:根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。进而,执行步骤S260。Step S250: Determine the number of unreliable equivalent bit channels in each modulation sub-channel according to the reliability information of the equivalent bit channels; determine the number of unreliable equivalent bit channels in each modulation sub-channel to be assigned to the corresponding specific sub-segments to be encoded The number of constant 0 bits and/or the number of frozen bits; determine the specific subsection to be encoded corresponding to each modulation subchannel based on the number of constant 0 bits and/or the number of frozen bits of each specific subsection to be encoded. Furthermore, step S260 is executed.
步骤S260:对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。Step S260: Perform polar code coding on each specific sub-segment to be encoded to obtain multiple polar codes as a plurality of encoded sub-segments.
步骤S270:通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。Step S270: Modulate the corresponding coded sub-segments into modulated signals through each modulated sub-channel, and send the modulated signals to the receiving end.
需要说明的是,步骤S210~步骤S270与图1所示的各步骤及其实施例相对应,针对步骤S210~步骤S270的具体实施方式,请参阅图1所示的各步骤及其实施例,此处不再赘述。It should be noted that steps S210 to S270 correspond to the steps and their embodiments shown in FIG. 1 . For the specific implementation of steps S210 to S270 , please refer to the steps and their embodiments shown in FIG. 1 . I won't repeat them here.
可见,实施图2所示的方法,可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。It can be seen that implementing the method shown in Figure 2 can divide the bit sequence to be encoded into multiple target subsections to be encoded without changing the code length of the polar code, and map the multiple target subsections to be encoded into each The specific to-be-encoded sub-segment corresponding to the modulated sub-channel realizes equalization of the modulated sub-channel and improves transmission reliability.
请参阅图3,图3示意性示出了根据本申请的一个实施例的解调译码方法的流程图。该方法由接收端执行,接收端可以为接入网设备或终端设备,或者,也可以为其他需要进行信道编码的设备,本申请实施例不做限定。如图3所示,该解调译码方法可以包括:步骤S310~步骤S340。Please refer to FIG. 3 , which schematically shows a flowchart of a demodulation and decoding method according to an embodiment of the present application. The method is executed by a receiving end, which may be an access network device or a terminal device, or other devices that need to perform channel coding, which is not limited in this embodiment of the present application. As shown in FIG. 3 , the demodulation and decoding method may include: step S310 to step S340.
步骤S310:对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列。Step S310: Demodulate the modulated signal sent by the transmitting end through each modulated sub-channel to obtain a sequence to be decoded.
步骤S320:将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段。Step S320: Divide the sequence to be decoded into multiple sub-segments to be decoded, and decode the multiple sub-segments to be decoded by a plurality of sub-segment decoders according to the coding rules to obtain the sub-segments to be decoded Decode the subsection.
步骤S330:根据各译码子段确定多个目标译码子段。Step S330: Determine a plurality of target decoding sub-segments according to each decoding sub-segment.
步骤S340:对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。Step S340: Perform sub-segment transformation and sub-segment merging on multiple target decoding sub-segments to obtain a decoded bit sequence.
其中,子段译码器、待译码子段均对应于第一预设数量m,各待译码子段对应于第二预设长度n。Wherein, the sub-segment decoder and the sub-segments to be decoded correspond to a first preset number m, and each sub-segment to be decoded corresponds to a second preset length n.
实施图3所示的方法,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间一致,提升译码性能。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。To implement the method shown in Figure 3, the sequence to be decoded can be divided into a plurality of sub-segments to be decoded and decoded in a manner corresponding to the encoding side, and then a plurality of target decoding sub-segments can be determined according to each decoding sub-segment segment, and the decoded bit sequence is obtained through sub-segment conversion and sub-segment merging, so that when the sink outputs the bit sequence in serial, the processing time for encoding and decoding is not increased, and the decoding performance is improved. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
下面,对于本示例实施方式的上述步骤进行更加详细的说明。Next, the above-mentioned steps of this exemplary embodiment will be described in more detail.
在步骤S310中,对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列。In step S310, demodulate the modulated signal sent by the transmitting end through each modulated sub-channel to obtain a sequence to be decoded.
具体地,待译码序列可以对应于第一预设长度。Specifically, the sequence to be decoded may correspond to a first preset length.
在步骤S320中,将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段。In step S320, the sequence to be decoded is divided into a plurality of sub-segments to be decoded, and the plurality of sub-segments to be decoded are respectively decoded by a plurality of sub-segment decoders according to the coding rules to obtain each sub-segment to be decoded The decoding subsection of the section.
作为一种可选的实施例,通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段,包括:对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径;根据多个合并路径确定多个译码子段。这样可以针对多个待译码子段实现基于非连续删除列表nonSCL译码得到多个译码子段,有利于提升译码灵活性。As an optional embodiment, a plurality of sub-segments to be decoded are respectively decoded according to coding rules by a plurality of sub-segment decoders to obtain decoded sub-segments of each sub-segment to be decoded, including: The non-SCL decoding of the sub-segments to be decoded is performed with a non-continuous deletion list to obtain multiple merging paths; and multiple decoding sub-segments are determined according to the multiple merging paths. In this way, nonSCL decoding based on the non-sequential erasure list can be implemented for multiple sub-segments to be decoded to obtain multiple decoded sub-segments, which is beneficial to improve decoding flexibility.
作为一种可选的实施例,对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径,包括:对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合;对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列;当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径;基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码;在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径。这样可以实现子段并行CA-nonSCL译码方法,对待译码子段同时采用连续删除列表SCL译码和非连续删除列表nonSCL译码两种译码方式,提升译码灵活性和译码性能,降低硬件复杂性以及硬件功耗。As an optional embodiment, non-SCL decoding is performed on multiple sub-segments to be decoded to obtain multiple merging paths, including: respectively performing SCL decoding on each sub-segment to be decoded, Obtaining a first path probability set of incomplete first decoding paths of each sub-segment to be decoded; performing path splitting between sub-segments on each first decoding path to obtain a plurality of incomplete second decoding paths; Performing a freeze bit constraint test on the second decoding path, and determining the path that passes the inspection as the third decoding path; selecting the path with the largest path probability value from the third decoding path as the fourth decoding path; wherein, The number of the fourth decoding paths is less than or equal to the first preset threshold; each fourth decoding path is divided into sub-segments to obtain the first decoding path queue of each sub-segment to be decoded; when the first decoding path is detected When the number of paths with different probability values in the path queue is less than or equal to the second preset threshold, the paths with different probability values in the first decoding path queue are used as alternative decoding paths; When the number of paths with different values is greater than the second preset threshold, select paths with different probability values of the previous second preset threshold number as alternative decoding paths; Continuous deletion list nonSCL decoding; when the length of the second decoding path satisfies the first preset length, multiple merging paths are determined based on each candidate decoding path. In this way, the sub-segment parallel CA-nonSCL decoding method can be realized, and the sub-segment to be decoded adopts two decoding methods of continuous deletion list SCL decoding and non-sequential deletion list nonSCL decoding at the same time, which improves decoding flexibility and decoding performance. Reduce hardware complexity and hardware power consumption.
具体地,可以对各待译码子段1、2、……、m分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合,不同的待译码子段对应于不同的第一路径概率集合,第一译码路径可以理解为对应于待译码子段中一部分比特的路径,第一路径概率集合可以包括多个路径概率。举例来说,若待译码子段1表示为[比特a,比特b,比特c],经计算得到比特a为1的概率为0.8,经计算得到比特a为0的概率为0.2,那么,比特a对应的概率集合为:比特a-[0.8,0.2],同理,若比特b对应的概率集合为:比特b-[0.2,0.8]。按照[比特a,比特b,比特c]的排列顺序,在未计算出比特c对应的概率之前,可以确定出待译码子段1对应的非完全的第一译码路径,即,比特a-[0.8,0.2]中的0.8可以为作为路径1的第一个概率,比特b-[0.2,0.8]中的0.2可以为作为路径1的第二个概率,路径1:0.8-0.2。同理,可以得到路径2:0.8-0.8、路径3:0.2-0.2、路径4:0.2-0.8。路径1、路径2、路径3、路径4可以理解为待译码子段1对应的非完全的第一译码路径,基于各路径对应的概率值可以计算得到各路径对应的概率值,例如,路径1的概率为0.16,路径2的概率为0.64,路径3的概率为0.04,路径1的概率为0.16,各路径的概率值构成了待译码子段对应于的第一路径概率集合。Specifically, each sub-segment to be decoded 1, 2, ..., m can be decoded by continuous deletion list SCL to obtain the first path probability set of the incomplete first decoding path of each sub-segment to be decoded , different subsections to be decoded correspond to different first path probability sets, the first decoding path can be understood as a path corresponding to a part of bits in the subsection to be decoded, and the first path probability set can include multiple path probabilities . For example, if sub-segment 1 to be decoded is expressed as [bit a, bit b, bit c], the calculated probability that bit a is 1 is 0.8, and the calculated probability that bit a is 0 is 0.2, then, The probability set corresponding to bit a is: bit a-[0.8,0.2]. Similarly, if the probability set corresponding to bit b is: bit b-[0.2,0.8]. According to the arrangement order of [bit a, bit b, bit c], before the probability corresponding to bit c is calculated, the incomplete first decoding path corresponding to sub-segment 1 to be decoded can be determined, that is, bit a - 0.8 in [0.8,0.2] can be the first probability as path 1, 0.2 in bit b-[0.2,0.8] can be the second probability as path 1, path 1: 0.8-0.2. Similarly, path 2: 0.8-0.8, path 3: 0.2-0.2, path 4: 0.2-0.8 can be obtained. Path 1, path 2, path 3, and path 4 can be understood as incomplete first decoding paths corresponding to sub-segment 1 to be decoded, and the probability values corresponding to each path can be calculated based on the probability values corresponding to each path, for example, The probability of path 1 is 0.16, the probability of path 2 is 0.64, the probability of path 3 is 0.04, and the probability of path 1 is 0.16. The probability values of each path constitute the first path probability set corresponding to the subsegment to be decoded.
进而,可以对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径,即,对各待译码子段的第一译码路径进行子段间的路径分裂,举例来说,若待译码子段1对应于路径1.1、路径1.2,若待译码子段2对应于路径2.1、路径2.2,进行子段间的路径分裂可以得到[路径1.1-路径2.1]、[路径1.1-路径2.2]、[路径1.2-路径2.1]、[路径1.2-路径2.2],作为第二译码路径。Furthermore, path splitting between sub-segments can be performed on each first decoding path to obtain a plurality of incomplete second decoding paths. Path splitting, for example, if sub-segment 1 to be decoded corresponds to path 1.1 and path 1.2, and if sub-segment 2 to be decoded corresponds to path 2.1 and path 2.2, the path splitting between sub-segments can be obtained as [path 1.1- Path 2.1], [Path 1.1-Path 2.2], [Path 1.2-Path 2.1], [Path 1.2-Path 2.2], as the second decoding path.
进而,可以对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径,如,[路径1.1-路径2.1]、[路径1.1-路径2.2]。以及,从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值(如,10)。具体地,路径概率值最大的路径数量小于等于第一预设阈值时,可以将路径概率值最大的路径都作为第四译码路径;路径概率值最大的路径数量大于第一预设阈值时,可以将第一预设阈值个路径概率值最大的路径作为第四译码路径。Furthermore, the frozen bit constraint test may be performed on the second decoding path, and the path that passes the test is determined as the third decoding path, such as [path 1.1-path 2.1], [path 1.1-path 2.2]. And, selecting the path with the highest path probability value from the third decoding path as the fourth decoding path; wherein, the number of the fourth decoding paths is less than or equal to the first preset threshold (eg, 10). Specifically, when the number of paths with the largest path probability value is less than or equal to the first preset threshold, the paths with the largest path probability value can be used as the fourth decoding path; when the number of paths with the largest path probability value is greater than the first preset threshold, The path with the highest probability value of the first preset threshold number of paths may be used as the fourth decoding path.
在本申请的一种示例性实施例中,对第二译码路径进行冻结比特约束条件检验,包括:当最终比特为冻结比特时,基于第三子段变换规则和第四映射规则,校验多个第二译码路径中对应的比特的异或运算结果是否与冻结比特一致。这样可以提高译码性能。In an exemplary embodiment of the present application, checking the frozen bit constraint condition on the second decoding path includes: when the final bit is a frozen bit, based on the third sub-section transformation rule and the fourth mapping rule, checking Whether the XOR operation result of the corresponding bits in the plurality of second decoding paths is consistent with the frozen bit. This can improve decoding performance.
其中,冻结比特可以表示为任一设置的数值(如,0,1等)或者标识符等,本申请实施例不作限定。Wherein, the frozen bit may be expressed as any set value (eg, 0, 1, etc.) or an identifier, which is not limited in this embodiment of the present application.
例如,第一预设数量为2,译码子段的[路径1.1-路径2.1]中第一个子段的第一个比特为a11,第二个子段的第一个比特为a21,目标译码子段中第一个子段的第一个比特为b11对应于a21,目标译码子段中第二个子段的第一个比特为b21对应于a11,最终子段中第一个子段的第一个比特为c11,最终子段中第二个子段的第一个比特为c21,若c11为冻结比特(冻结比特预设为0),由于b11和b21的异或运算结果等于c11,因此当b11和b21的异或运算结果等于0时满足冻结比特约束条件,又由于b11对应于a21,b21对应于a11,因此当a11和a21的异或运算结果等于0时满足冻结比特约束条件,即,当a11和a21的异或运算结果等于0时,[路径1.1-路径2.1]满足冻结比特约束条件。反之,若a11和a21的异或运算结果不等于0时,[路径1.1-路径2.1]不满足冻结比特约束条件,[路径1.1-路径2.1]将被删除,不能保留作为备选译码路径。For example, the first preset number is 2, the first bit of the first sub-segment in [path 1.1-path 2.1] of the decoding sub-segments is a 11 , the first bit of the second sub-segment is a 21 , The first bit of the first subsection in the target decoding subsection is b 11 corresponding to a 21 , the first bit of the second subsection in the target decoding subsection is b 21 corresponding to a 11 , and the final subsection The first bit of the first sub-section is c 11 , the first bit of the second sub-section in the final sub-section is c 21 , if c 11 is a frozen bit (the frozen bit is preset to 0), since b 11 The XOR operation result of b 21 and b 21 is equal to c 11 , so when the XOR operation result of b 11 and b 21 is equal to 0, the frozen bit constraint is satisfied, and since b 11 corresponds to a 21 , and b 21 corresponds to a 11 , therefore The frozen bit constraint is satisfied when the XOR operation result of a 11 and a 21 is equal to 0, that is, when the XOR operation result of a 11 and a 21 is equal to 0, [Path 1.1-Path 2.1] satisfies the frozen bit constraint condition. Conversely, if the XOR operation result of a 11 and a 21 is not equal to 0, [path 1.1-path 2.1] does not satisfy the frozen bit constraint, [path 1.1-path 2.1] will be deleted and cannot be reserved as an alternative decoding path.
在本申请的一种示例性实施例中,对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列,包括:对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列。这样可以有利于提升译码性能。In an exemplary embodiment of the present application, each fourth decoding path is divided into sub-segments to obtain the first decoding path queue of each sub-segment to be decoded, including: Arrange the probability values from large to small to obtain the second decoding path queue; divide the paths in the second decoding path queue into sub-segments and keep the order of the queue unchanged to obtain the first decoding path of each sub-segment to be decoded path queue. This can help improve decoding performance.
举例来说,若存在第四译码路径[路径1.1-路径2.1]、[路径1.1-路径2.2]、[路径1.2-路径2.1]、[路径1.2-路径2.2],对各第四译码路径按照路径概率值从大到小进行排列,可以得到第二译码路径队列{[路径1.2-路径2.1]、[路径1.2-路径2.2]、[路径1.1-路径2.1]、[路径1.1-路径2.2]}。对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,可以得到各待译码子段的第一译码路径队列,如,待译码子段1的第一译码路径队列[路径1.2,路径1.2,路径1.1,路径1.1],待译码子段2的第一译码路径队列[路径2.1,路径2.2,路径2.1,路径2.2]。For example, if there is a fourth decoding path [path 1.1-path 2.1], [path 1.1-path 2.2], [path 1.2-path 2.1], [path 1.2-path 2.2], for each fourth decoding path Arranged according to the path probability values from large to small, the second decoding path queue {[path 1.2-path 2.1], [path 1.2-path 2.2], [path 1.1-path 2.1], [path 1.1-path 2.2] can be obtained ]}. Divide the paths in the second decoding path queue into sub-segments and keep the order of the queues unchanged to obtain the first decoding path queue of each sub-segment to be decoded, for example, the first decoding path of the sub-segment to be decoded 1 Path queue [path 1.2, path 1.2, path 1.1, path 1.1], the first decoding path queue [path 2.1, path 2.2, path 2.1, path 2.2] of sub-segment 2 to be decoded.
一方面,当检测到第一译码路径队列(如,[路径1.2,路径1.2,路径1.1,路径1.1,路径1.1,路径1.1])中概率值不同的路径的数量(如,2)小于或等于第二预设阈值(如,3)时,将第一译码路径队列中概率值不同的路径[路径1.2,路径1.1]作为备选译码路径。On the one hand, when it is detected that the number (e.g., 2) of paths with different probability values in the first decoding path queue (e.g., [path 1.2, path 1.2, path 1.1, path 1.1, path 1.1, path 1.1]) is less than or When it is equal to the second preset threshold (for example, 3), the paths [path 1.2, path 1.1] with different probability values in the first decoding path queue are used as candidate decoding paths.
另一方面,当检测到第一译码路径队列(如,[路径1.2,路径1.2,路径1.1,路径1.1,路径1.3,路径1.4])中概率值不同的路径的数量(如,11)大于第二预设阈值(如,3)时,选取最多前第二预设阈值(如,3)个概率值不同的路径[路径1.2,路径1.1,路径1.3]作为备选译码路径。On the other hand, when it is detected that the number (eg, 11) of paths with different probability values in the first decoding path queue (eg, [path 1.2, path 1.2, path 1.1, path 1.1, path 1.3, path 1.4]) is greater than When the second preset threshold (eg, 3), select paths [path 1.2, path 1.1, path 1.3] with different probability values at most before the second preset threshold (eg, 3) as alternative decoding paths.
进而,可以基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码,直到完成对整个待译码子段的译码,得到长度满足第一预设长度的第二译码路径,基于此,可以根据各备选译码路径确定多个合并路径。Furthermore, based on the alternative decoding path, non-SCL decoding of each sub-segment to be decoded can be continued until the decoding of the entire sub-segment to be decoded is completed, and the second sub-segment whose length satisfies the first preset length is obtained. Based on the decoding path, multiple merging paths can be determined according to each candidate decoding path.
作为一种可选的实施例,根据多个合并路径确定多个译码子段,包括:基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;对译码路径进行子段划分,得到多个译码子段。这样可以实现对于译码路径的高效筛选,得到单一的译码路径,提高译码路径的正确性,进而便于更简单地实现对于译码路径的子段划分,以提升译码性能。As an optional embodiment, determining multiple decoding sub-segments according to multiple merging paths includes: checking each merging path based on a preset checking method, and determining the merging path that passes the verification and has the highest probability As a decoding path; dividing the decoding path into subsections to obtain multiple decoding subsections. In this way, efficient screening of decoding paths can be achieved, a single decoding path can be obtained, the correctness of the decoding path can be improved, and the sub-segment division of the decoding path can be realized more simply, so as to improve decoding performance.
具体地,预设的校验方式可以包括但不限于循环冗余校验、奇偶校验。其中,循环冗余校验码,用于根据待编码子段中的混合比特和纯信息比特/信息比特生成,校验码比特,可以设置于待编码子段中的纯信息比特/信息比特位。如果采用多个校验码方案,多个校验码可以根据待编码子段中的相应的混合比特和纯信息比特/信息比特生成,多个校验码的比特可以设置于待编码子段中的纯信息比特位/信息比特位。Specifically, the preset check mode may include but not limited to cyclic redundancy check and parity check. Among them, the cyclic redundancy check code is used to generate according to the mixed bits and pure information bits/information bits in the sub-section to be encoded, and the check code bit can be set on the pure information bits/information bits in the sub-section to be encoded . If multiple check code schemes are used, multiple check codes can be generated according to the corresponding mixed bits and pure information bits/information bits in the subsection to be encoded, and the bits of multiple check codes can be set in the subsection to be encoded The pure information bits/information bits.
在步骤S330中,根据各译码子段确定多个目标译码子段。In step S330, a plurality of target decoding sub-segments are determined according to each decoding sub-segment.
作为一种可选的实施例,根据各译码子段确定多个目标译码子段,包括:按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,目标译码子段、译码子段均对应于第一预设数量;其中,第三映射规则和编码侧的第一映射规则互为逆处理;按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;其中,第四映射规则和编码侧的第二映射规则互为逆处理。这样可以实现对于译码子段的映射,有利于获取准确的译码比特序列。As an optional embodiment, determining a plurality of target decoding sub-sections according to each decoding sub-section includes: mapping each decoding sub-section to a target decoding sub-section according to a third mapping rule to obtain multiple target decoding sub-sections code sub-section; wherein, the target decoding sub-section and the decoding sub-section correspond to the first preset quantity; wherein, the third mapping rule and the first mapping rule on the encoding side are mutually inverse processing; according to the fourth mapping rule, the Bits in each decoding subsection are mapped to bits in a target decoding subsection; wherein, the fourth mapping rule and the second mapping rule on the encoding side are inverse processes. In this way, the mapping to the decoding sub-segment can be realized, which is beneficial to obtaining an accurate decoding bit sequence.
具体地,按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段,包括:基于与编码侧对应的映射方式按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段。Specifically, map each decoding subsection to a target decoding subsection according to the third mapping rule to obtain a plurality of target decoding subsections, including: based on the mapping method corresponding to the encoding side, mapping each decoding subsection according to the third mapping rule The subsections are mapped to target decoding subsections to obtain multiple target decoding subsections.
在步骤S340中,对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。In step S340, sub-segment transformation and sub-segment merging are performed on multiple target decoding sub-segments to obtain a decoded bit sequence.
作为一种可选的实施例,对多个目标译码子段进行子段变换和子段合并,得到译码比特序列,包括:从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理;基于最终比特确定各最终译码子段;合并各最终译码子段,得到译码比特序列。这样可以实现对于译码得到的目标译码子段进行子段变换和子段合并,从而可以更灵活地得到最终的译码比特序列。As an optional embodiment, performing sub-segment transformation and sub-segment merging on multiple target decoding sub-segments to obtain a decoding bit sequence includes: selecting target bits from each target decoding sub-segment, and according to the second sub-segment The segment conversion rule transforms the target bit into the final bit; wherein, the second sub-segment conversion rule and the first sub-segment conversion rule on the encoding side are inverse processing; each final decoding sub-segment is determined based on the final bit; each final decoding sub-segment is combined sub-section to obtain the decoded bit sequence. In this way, sub-segment transformation and sub-segment merging can be performed on the target decoding sub-segment obtained through decoding, so that the final decoding bit sequence can be obtained more flexibly.
具体地,译码比特序列对应于第一预设长度N。第二子段变换规则和编码侧的第一子段变换规则互为逆处理可以理解为:基于恒0比特可以确定出是由冻结比特参与异或运算得到的,基于纯信息比特可以确定出是由信息比特参与异或运算得到的,基于混合比特可以确定出是由信冻结比特和信息比特参与异或运算得到的,冻结比特是由冻结比特直接得到的,信息比特是由信息比特直接得到的。Specifically, the decoded bit sequence corresponds to a first preset length N. The second sub-segment transformation rule and the first sub-segment transformation rule on the encoding side are mutually inverse processing, which can be understood as follows: based on the constant 0 bit, it can be determined that the frozen bit participates in the XOR operation, and based on the pure information bit, it can be determined that it is It is obtained by participating in the XOR operation of the information bits, and based on the mixed bits, it can be determined that it is obtained by participating in the XOR operation of the frozen bits and the information bits. The frozen bits are obtained directly from the frozen bits, and the information bits are obtained directly from the information bits. .
请参阅图4,图4示意性示出了根据本申请的另一个实施例的解调译码方法的流程图。如图4所示,该解调译码方法可以包括:步骤S410~步骤S460。Please refer to FIG. 4 , which schematically shows a flowchart of a demodulation and decoding method according to another embodiment of the present application. As shown in FIG. 4 , the demodulation and decoding method may include: step S410 to step S460.
步骤S410:对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列,将待译码序列划分为多个待译码子段。Step S410: Demodulate the modulated signal sent by the transmitting end through each modulation sub-channel to obtain a sequence to be decoded, and divide the sequence to be decoded into a plurality of sub-segments to be decoded.
步骤S420:对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合;对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列;当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径;基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码;在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径。Step S420: Perform consecutive deletion list SCL decoding on each sub-segment to be decoded to obtain the first path probability set of the incomplete first decoding path of each sub-segment to be decoded; Splitting paths between sub-sections to obtain multiple incomplete second decoding paths; performing a frozen bit constraint test on the second decoding path, and determining the path that passes the inspection as the third decoding path; starting from the third decoding path Selecting the path with the largest path probability value in the coding path as the fourth decoding path; wherein, the number of the fourth decoding paths is less than or equal to the first preset threshold; for each fourth decoding path, the path probability value is from large to small Arranging to obtain the second decoding path queue; dividing the paths in the second decoding path queue into subsections and keeping the queue order unchanged, obtaining the first decoding path queue of each subsection to be decoded; when detecting When the number of paths with different probability values in the first decoding path queue is less than or equal to the second preset threshold, the paths with different probability values in the first decoding path queue are used as alternative decoding paths; when the first decoding path is detected When the number of paths with different probability values in the path queue is greater than the second preset threshold, select paths with different probability values of the previous second preset threshold number as alternative decoding paths; Non-SCL decoding is performed on the sub-segments; when the length of the second decoding path satisfies the first preset length, multiple merging paths are determined based on each candidate decoding path.
步骤S430:基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;对译码路径进行子段划分,得到多个译码子段。Step S430: Verify each merging path based on the preset verification method, and determine the merging path that passes the verification and has the highest probability as the decoding path; divide the decoding path into sub-segments to obtain multiple decoding sub-segments .
步骤S440:按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,目标译码子段、译码子段均对应于第一预设数量;其中,第三映射规则和编码侧的第一映射规则互为逆处理;按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;其中,第四映射规则和编码侧的第二映射规则互为逆处理。Step S440: Map each decoding subsection to a target decoding subsection according to the third mapping rule to obtain a plurality of target decoding subsections; wherein, the target decoding subsection and the decoding subsection all correspond to the first preset Quantity; wherein, the third mapping rule and the first mapping rule on the encoding side are inverse processing; according to the fourth mapping rule, the bits in each decoding sub-section are mapped to the bits in the target decoding sub-section; wherein, the fourth The mapping rule and the second mapping rule on the encoding side are mutually inverse processing.
步骤S450:从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理。Step S450: select target bits from each target decoding sub-section, and transform the target bits into final bits according to the second sub-section transformation rule; for inverse processing.
步骤S460:基于最终比特确定各最终译码子段;合并各最终译码子段,得到译码比特序列。Step S460: Determine each final decoded sub-section based on the final bit; combine each final decoded sub-section to obtain a decoded bit sequence.
需要说明的是,步骤S410~步骤S460与图3所示的各步骤及其实施例相对应,针对步骤S410~步骤S460的具体实施方式,请参阅图3所示的各步骤及其实施例,此处不再赘述。It should be noted that steps S410 to S460 correspond to the steps and their embodiments shown in FIG. 3 . For the specific implementation of steps S410 to S460 , please refer to the steps and their embodiments shown in FIG. 3 . I won't repeat them here.
可见,实施图4所示的方法,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。It can be seen that to implement the method shown in Figure 4, the sequence to be decoded can be divided into multiple sub-segments to be decoded and decoded in a manner corresponding to the encoding side, and then multiple target decoding targets can be determined according to each decoding sub-segment. The code sub-segment, and the decoded bit sequence obtained through sub-segment transformation and sub-segment combination, so as not to increase the processing time for encoding and decoding when the sink outputs the bit sequence in serial. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
请参阅图5,图5示意性示出了根据本申请的一个实施例的用于进行编码调制和解调译码的系统架构图。如图5所示,用于进行编码调制和解调译码的系统500包括发送端510和接收端520,其中:Please refer to FIG. 5 , which schematically shows a system architecture diagram for encoding, modulation, demodulation and decoding according to an embodiment of the present application. As shown in Figure 5, a
发送端510,用于对待编码比特序列进行划分,以获取多个目标待编码子段;根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;对各特定待编码子段进行子段编码,得到多个编码子段;通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端520;The transmitting
接收端520,用于对发送端510通过各调制子信道发送的调制信号进行解调,得到待译码序列;将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;根据各译码子段确定多个目标译码子段;对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。The receiving
可见,实施图5所示的方法,可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。此外,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间,提升译码性能。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。It can be seen that implementing the method shown in Figure 5 can divide the bit sequence to be encoded into multiple target subsections to be encoded without changing the code length of the polar code, and map the multiple target subsections to be encoded into each The specific to-be-encoded sub-segment corresponding to the modulated sub-channel realizes equalization of the modulated sub-channel and improves transmission reliability. In addition, the sequence to be decoded can be divided into multiple sub-segments to be decoded and decoded by means corresponding to the encoding side, and then multiple target decoding sub-segments are determined according to each decoding sub-segment, and through the sub-segments The decoding bit sequence is obtained by transforming and combining the sub-segments, so that when the sink outputs the bit sequence in serial, the processing time for encoding and decoding is not increased, and the decoding performance is improved. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
请参阅图6,图6示意性示出了根据本申请的一个实施例的编码调制系统架构图。如图6所示,编码调制系统包括:分段模块610、子段变换模块620、子段映射模块630、子段编码器641、子段编码器642、……、子段编码器643、信道映射器650、调制子信道661、调制子信道662、……、调制子信道663、信道670。Referring to FIG. 6 , FIG. 6 schematically shows an architecture diagram of a coding and modulation system according to an embodiment of the present application. As shown in Figure 6, the coding and modulation system includes:
分段模块610可以用于对待编码比特序列进行划分,以获取多个目标待编码子段。The
子段变换模块620可以用于根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合,并对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段。The
子段映射模块630可以用于根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。或者,根据各调制子信道容量确定对应的各特定待编码子段码率;基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。The
子段编码器641、子段编码器642、……、子段编码器643可以分别对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。The
信道映射器650可以用于当第一预设数量和第二预设数量一致时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段;当第一预设数量等于多个第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在多对一多关系的特定待编码子段;其中,多个特定待编码子段对应于一个调制子信道;当多个第一预设数量等于第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在一对多关系的特定待编码子段;其中,一个特定待编码子段对应于多个调制子信道。The
调制子信道661、调制子信道662、……、调制子信道663可以用于分别将对应的编码子段调制为调制信号并通过信道670将调制信号发送至接收端。The
可见,实施图6所示的系统,可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。It can be seen that implementing the system shown in Figure 6 can divide the bit sequence to be encoded into multiple target subsections to be encoded without changing the code length of the polar code, and map the multiple target subsections to be encoded into each The specific to-be-encoded sub-segment corresponding to the modulated sub-channel realizes equalization of the modulated sub-channel and improves transmission reliability.
请参阅图7,图7示意性示出了根据本申请的一个实施例的解调译码系统架构图。如图7所示,解调译码系统包括:解调器710、信道映射器720、子段SCL译码器731、子段SCL译码器732、……、子段SCL译码器733、子段串接/L条备选路径选择/校验模块740、子段映射器750、子段变换模块760、子段合并模块770。Please refer to FIG. 7 , which schematically shows an architecture diagram of a demodulation and decoding system according to an embodiment of the present application. As shown in Figure 7, the demodulation and decoding system includes: a
解调器710可以用于对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列,将待译码序列划分为多个待译码子段。The
信道映射器720可以用于根据信道映射方式将待译码子段对应到相应的子段SCL译码器上。The
子段SCL译码器731、子段SCL译码器732、……、子段SCL译码器733可以用于对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合。The
子段串接/L条备选路径选择/校验模块740可以用于对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列;当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径。The sub-segment concatenation/L alternative path selection/verification module 740 can be used to perform path splitting between sub-segments for each first decoding path to obtain a plurality of incomplete second decoding paths; The coding path is checked for the frozen bit constraint condition, and the path that passes the inspection is determined as the third decoding path; the path with the largest path probability value is selected from the third decoding path as the fourth decoding path; wherein, the fourth decoding path The number of paths is less than or equal to the first preset threshold; each fourth decoding path is arranged according to the path probability value from large to small to obtain a second decoding path queue; sub-decoding the paths in the second decoding path queue The segment is divided and the order of the queue remains unchanged to obtain the first decoding path queue of each sub-segment to be decoded; when it is detected that the number of paths with different probability values in the first decoding path queue is less than or equal to the second preset threshold, Taking paths with different probability values in the first decoding path queue as alternative decoding paths; when it is detected that the number of paths with different probability values in the first decoding path queue is greater than the second preset threshold, select the previous second preset A threshold number of paths with different probability values are used as alternative decoding paths.
此外,子段SCL译码器731、子段SCL译码器732、……、子段SCL译码器733还可以用于基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码。In addition, the
此外,子段串接/L条备选路径选择/校验模块740可以用于在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径;基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;对译码路径进行子段划分,得到多个译码子段。In addition, the sub-segment concatenation/L candidate path selection/
子段映射器750可以用于按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,第三映射规则和编码侧的第一映射规则互为逆处理;按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;其中,第四映射规则和编码侧的第二映射规则互为逆处理。The
子段变换模块760可以用于从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特,基于最终比特确定各最终译码子段;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理。The
子段合并模块770可以用于合并各最终译码子段,得到译码比特序列。The
可见,实施图7所示的系统,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间,提升译码性能。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。It can be seen that to implement the system shown in Figure 7, the sequence to be decoded can be divided into multiple sub-segments to be decoded and decoded in a manner corresponding to the encoding side, and then multiple target decodings can be determined according to each decoding sub-segment The code sub-segment, and the decoded bit sequence obtained by sub-segment transformation and sub-segment combination, in order to improve the decoding performance without increasing the processing time for encoding and decoding when the sink outputs the bit sequence in serial. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
请参阅图8,图8示意性示出了根据本申请的一个实施例中的编码调制装置的结构框图。编码调制装置800与图1所示的方法相对应,如图8所示,该编码调制装置800包括:Referring to FIG. 8 , FIG. 8 schematically shows a structural block diagram of a coding and modulating apparatus according to an embodiment of the present application. The encoding and modulating
子段获取单元801,用于对待编码比特序列进行划分,以获取多个目标待编码子段;A
子段映射单元802,用于根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段;A
子段编码单元803,用于对各特定待编码子段进行子段编码,得到多个编码子段;A
调制发送单元804,用于通过各调制子信道分别将对应的编码子段调制为调制信号并将调制信号发送至接收端。The
其中,待编码比特序列对应于第一预设长度,第一预设长度等于2的整次幂;参考待编码子段、目标待编码子段、特定待编码子段均对应于第二预设长度和第一预设数量,第二预设长度等于2的整次幂;第一预设长度为第一预设数量个第二预设长度。Wherein, the bit sequence to be encoded corresponds to a first preset length, and the first preset length is equal to an integer power of 2; the reference subsection to be encoded, the target subsection to be encoded, and the specific subsection to be encoded all correspond to the second preset The length and the first preset number, the second preset length is equal to an integral power of 2; the first preset length is the first preset number of the second preset length.
可见,实施图8所示的装置,可以在不改变极化码码长的情况下,将待编码比特序列划分为多个目标待编码子段,并将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,从而实现对调制子信道的均衡,提高了传输可靠性。It can be seen that implementing the device shown in Figure 8 can divide the bit sequence to be encoded into multiple target subsections to be encoded without changing the code length of the polar code, and map the multiple target subsections to be encoded into each The specific to-be-encoded sub-segment corresponding to the modulated sub-channel realizes equalization of the modulated sub-channel and improves transmission reliability.
在本申请的一种示例性实施例中,子段获取单元801对待编码比特序列进行划分,以获取多个目标待编码子段,包括:In an exemplary embodiment of the present application, the
对待编码比特序列进行划分,得到多个参考待编码子段;Dividing the bit sequence to be coded to obtain multiple reference sub-segments to be coded;
对多个参考待编码子段进行子段变换,得到多个目标待编码子段。Subsection transformation is performed on multiple reference subsections to be coded to obtain multiple target subsections to be coded.
可见,实施该可选的实施例,可以通过对待编码比特序列的划分,实现高效编码,保障译码性能。It can be seen that implementing this optional embodiment can realize high-efficiency coding and ensure decoding performance by dividing the bit sequence to be coded.
在本申请的一种示例性实施例中,子段获取单元801对多个参考待编码子段进行子段变换,得到多个目标待编码子段,包括:In an exemplary embodiment of the present application, the
根据第一子段变换规则从各参考待编码子段中确定用于生成各目标待编码子段的特定比特集合;determining a specific bit set for generating each target subsection to be encoded from each reference subsection to be encoded according to the first subsection transformation rule;
对至少一个特定比特集合执行集合内的异或运算,得到多个目标待编码子段;Execute an exclusive OR operation within the set on at least one specific bit set to obtain multiple target sub-sections to be encoded;
其中,第一子段变换规则用于限定仅由冻结比特参与的异或运算得到恒0比特、仅由信息比特参与的异或运算得到纯信息比特、由冻结比特和信息比特参与的异或运算得到混合比特。Among them, the first subsection transformation rule is used to limit the XOR operation involving only frozen bits to obtain a constant 0 bit, the XOR operation only involving information bits to obtain pure information bits, and the XOR operation involving frozen bits and information bits Get mixed bits.
其中,参考待编码子段包含信息比特和冻结比特,目标待编码子段包含以下至少一种:冻结比特、信息比特、恒0比特、纯信息比特和混合比特。Wherein, the reference to-be-coded subsection includes information bits and frozen bits, and the target to-be-coded subsection includes at least one of the following: frozen bits, information bits, constant 0 bits, pure information bits, and mixed bits.
其中,目标待编码子段包含校验码,校验码作为信息比特和/或纯信息比特;校验码包括以下至少一种:循环冗余校验码、奇偶校验码。Wherein, the target to-be-encoded subsection includes a check code, which is used as information bits and/or pure information bits; the check code includes at least one of the following: cyclic redundancy check code, parity check code.
可见,实施该可选的实施例,可以通过第一子段变换规则实现对于待编码子段的变换,有利于提升编码灵活性。It can be seen that by implementing this optional embodiment, the sub-segment to be encoded can be transformed through the first sub-segment transformation rule, which is beneficial to improve coding flexibility.
在本申请的一种示例性实施例中,子段编码单元803对各特定待编码子段进行子段编码,得到多个编码子段,包括:In an exemplary embodiment of the present application, the
对各特定待编码子段进行极化码编码,得到多个极化码,作为多个编码子段。Perform polar code coding on each specific sub-segment to be coded to obtain multiple polar codes as multiple coded sub-segments.
可见,实施该可选的实施例,可以实现基于序列切分的极化码编码,可以提升极化码编码灵活性。It can be seen that implementing this optional embodiment can implement polar code coding based on sequence segmentation, and can improve the flexibility of polar code coding.
在本申请的一种示例性实施例中,调制信道信息包括各调制子信道容量,子段映射单元802根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes the capacity of each modulation subchannel, and the
根据各调制子信道容量确定对应的各特定待编码子段码率;Determine the code rate of each specific sub-section to be encoded according to the capacity of each modulation sub-channel;
基于各特定待编码子段码率确定各调制子信道对应的特定待编码子段的第一映射规则;Determine the first mapping rule of the specific sub-segment to be encoded corresponding to each modulated sub-channel based on the code rate of each specific sub-segment to be encoded;
根据第一映射规则,确定多个目标待编码子段中比特和多个特定待编码子段中比特之间的第二映射规则;According to the first mapping rule, determine a second mapping rule between the bits in the multiple target subsections to be encoded and the bits in the multiple specific subsections to be encoded;
其中,各调制子信道容量与对应的各特定待编码子段码率之间呈正相关关系。There is a positive correlation between the capacity of each modulation sub-channel and the code rate of each specific sub-segment to be encoded.
可见,实施该可选的实施例,可以基于各调制子信道容量将不同码率的特定待编码子段对应到不同信道容量的调制子信道上,使得码率大的特定待编码子段对应于容量大的调制子信道,码率小的特定待编码子段对应于容量小的调制子信道,实现了调制子信道的均衡,提高了传输可靠性。It can be seen that, implementing this optional embodiment, specific sub-segments to be encoded with different code rates can be mapped to modulated sub-channels with different channel capacities based on the capacity of each modulation sub-channel, so that the specific sub-segment to be encoded with a large code rate corresponds to The modulated sub-channel with large capacity and the specific sub-segment to be encoded with small code rate correspond to the modulated sub-channel with small capacity, which realizes the equalization of the modulated sub-channel and improves the transmission reliability.
在本申请的一种示例性实施例中,调制信道信息包括等效比特信道可靠性信息,子段映射单元802根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation channel information includes equivalent bit channel reliability information, and the
根据等效比特信道可靠性信息确定各调制子信道中不可靠等效比特信道数量;Determine the number of unreliable equivalent bit channels in each modulation subchannel according to the equivalent bit channel reliability information;
根据各调制子信道中不可靠等效比特信道数量确定需要分配至对应的各特定待编码子段的恒0比特数量和/或冻结比特数量;Determine the number of constant 0 bits and/or the number of frozen bits that need to be allocated to each specific sub-segment to be encoded according to the number of unreliable equivalent bit channels in each modulation sub-channel;
基于各特定待编码子段的恒0比特数量和/或冻结比特数量确定各调制子信道对应的特定待编码子段。The specific to-be-coded sub-segment corresponding to each modulated sub-channel is determined based on the number of constant 0 bits and/or the number of frozen bits of each specific to-be-coded sub-segment.
可见,实施该可选的实施例,可以基于预设的等效比特信道可靠性信息将不同码率的特定待编码子段对应到不同信道容量的调制子信道上,更高效地使得码率大的特定待编码子段对应于容量大的调制子信道,码率小的特定待编码子段对应于容量小的调制子信道,实现了调制子信道的均衡,提高了传输可靠性。It can be seen that by implementing this optional embodiment, specific sub-segments to be encoded with different code rates can be mapped to modulated sub-channels with different channel capacities based on the preset equivalent bit channel reliability information, so that the code rate can be increased more efficiently. The specific to-be-encoded sub-segment corresponds to a modulation sub-channel with a large capacity, and the specific to-be-encoded sub-segment with a small code rate corresponds to a small-capacity modulation sub-channel, which realizes the balance of the modulation sub-channel and improves transmission reliability.
在本申请的一种示例性实施例中,调制子信道对应于第二预设数量,子段映射单元802根据调制信道信息将多个目标待编码子段映射为各调制子信道对应的特定待编码子段,包括:In an exemplary embodiment of the present application, the modulation sub-channel corresponds to the second preset number, and the
当第一预设数量和第二预设数量一致时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道一一对应的特定待编码子段;When the first preset number is consistent with the second preset number, according to the modulation channel information, a plurality of target sub-segments to be encoded are mapped to specific sub-segments to be encoded that correspond to each modulation sub-channel;
当第一预设数量等于多个第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在多对一多关系的特定待编码子段;其中,多个特定待编码子段对应于一个调制子信道;When the first preset number is equal to a plurality of second preset numbers, mapping a plurality of target subsections to be encoded into specific subsections to be encoded that have a many-to-one relationship with each modulation subchannel according to the modulation channel information; Wherein, a plurality of specific sub-segments to be encoded correspond to a modulation sub-channel;
当多个第一预设数量等于第二预设数量时,根据调制信道信息将多个目标待编码子段映射为与各调制子信道之间存在一对多关系的特定待编码子段;其中,一个特定待编码子段对应于多个调制子信道。When the multiple first preset numbers are equal to the second preset number, according to the modulation channel information, the multiple target subsections to be encoded are mapped to specific subsections to be encoded that have a one-to-many relationship with each modulation subchannel; wherein , a specific sub-segment to be coded corresponds to multiple modulation sub-channels.
可见,实施该可选的实施例,可以基于第一预设数量和第二预设数量选择合适的对应方式,从而有利于提升调制灵活性,以及对于调制子信道的传输可靠性。It can be seen that, implementing this optional embodiment, an appropriate corresponding manner can be selected based on the first preset number and the second preset number, which is beneficial to improving modulation flexibility and transmission reliability for modulation sub-channels.
由于本申请的示例实施例的编码调制装置的各个功能模块与上述编码调制方法的示例实施例的步骤对应,因此对于本申请装置实施例中未披露的细节,请参照本申请上述的编码调制方法的实施例。Since each functional module of the coded modulation device in the example embodiment of the present application corresponds to the steps of the above example embodiment of the coded modulation method, for details not disclosed in the device embodiment of the present application, please refer to the coded modulation method described above in the present application the embodiment.
请参阅图9,图9示意性示出了根据本申请的一个实施例中的解调译码装置的结构框图。解调译码装置900与图3所示的方法相对应,如图9所示,该解调译码装置900包括:Referring to FIG. 9 , FIG. 9 schematically shows a structural block diagram of a demodulation and decoding device according to an embodiment of the present application. The demodulation and
接收解调单元901,用于对发送端通过各调制子信道发送的调制信号进行解调,得到待译码序列;The receiving
第一译码单元902,用于将待译码序列划分为多个待译码子段,并通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段;The
第二译码单元903,用于根据各译码子段确定多个目标译码子段;The
第三译码单元904,用于对多个目标译码子段进行子段变换和子段合并,得到译码比特序列。The
其中,子段译码器、待译码子段均对应于第一预设数量,各待译码子段对应于第二预设长度。Wherein, the sub-segment decoder and the sub-segments to be decoded correspond to a first preset number, and each sub-segment to be decoded corresponds to a second preset length.
可见,实施图9所示的装置,可以通过对应于编码侧的方式,将待译码序列划分为多个待译码子段并进行译码,再根据各译码子段确定多个目标译码子段,以及通过子段变换和子段合并得到译码比特序列,以在信宿以串行输出比特序列的情况下,不增加实现编码和译码的处理时间,提升译码性能。此外,由于可以通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,因此,在编码侧提升了编码灵活性的基础上,在译码侧也实现了对于译码灵活性的提升。It can be seen that, implementing the device shown in Figure 9, the sequence to be decoded can be divided into multiple sub-segments to be decoded and decoded in a manner corresponding to the encoding side, and then multiple target decoding targets can be determined according to each decoding sub-segment. The code sub-segment, and the decoded bit sequence obtained by sub-segment transformation and sub-segment combination, in order to improve the decoding performance without increasing the processing time for encoding and decoding when the sink outputs the bit sequence in serial. In addition, since a plurality of sub-segments to be decoded can be respectively decoded according to the encoding rules by a plurality of sub-segment decoders, on the basis of improving the encoding flexibility on the encoding side, it is also realized on the decoding side Improved coding flexibility.
在本申请的一种示例性实施例中,第一译码单元902通过多个子段译码器根据编码规则分别对多个待译码子段进行译码,得到各待译码子段的译码子段,包括:In an exemplary embodiment of the present application, the
对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径;Perform non-SCL decoding of non-continuous deletion lists on multiple sub-segments to be decoded to obtain multiple merging paths;
根据多个合并路径确定多个译码子段。A plurality of decoding sub-segments are determined according to a plurality of merging paths.
可见,实施该可选的实施例,可以针对多个待译码子段实现基于非连续删除列表nonSCL译码得到多个译码子段,有利于提升译码灵活性。It can be seen that, by implementing this optional embodiment, multiple sub-segments to be decoded can be decoded based on the non-SCL non-sequential deletion list to obtain multiple decoded sub-segments, which is beneficial to improve decoding flexibility.
在本申请的一种示例性实施例中,第一译码单元902对多个待译码子段进行非连续删除列表nonSCL译码,得到多个合并路径,包括:In an exemplary embodiment of the present application, the
对各待译码子段分别进行连续删除列表SCL译码,得到各待译码子段的非完全的第一译码路径的第一路径概率集合;Carrying out continuous deletion list SCL decoding to each sub-segment to be decoded respectively, to obtain a first path probability set of an incomplete first decoding path of each sub-segment to be decoded;
对各第一译码路径进行子段间的路径分裂,得到多个非完全的第二译码路径;performing path splitting between sub-segments on each first decoding path to obtain a plurality of incomplete second decoding paths;
对第二译码路径进行冻结比特约束条件检验,并将通过检验的路径确定为第三译码路径;Performing a freeze bit constraint test on the second decoding path, and determining the path that passes the test as the third decoding path;
从第三译码路径中选择路径概率值最大的路径作为第四译码路径;其中,第四译码路径的数量小于或等于第一预设阈值;Selecting the path with the largest path probability value from the third decoding path as the fourth decoding path; wherein, the number of the fourth decoding paths is less than or equal to the first preset threshold;
对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列;Carrying out sub-segment division for each fourth decoding path to obtain the first decoding path queue of each sub-segment to be decoded;
当检测到第一译码路径队列中概率值不同的路径数量小于或等于第二预设阈值时,将第一译码路径队列中概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is less than or equal to a second preset threshold, the paths with different probability values in the first decoding path queue are used as alternative decoding paths;
当检测到第一译码路径队列中概率值不同的路径数量大于第二预设阈值时,选取前第二预设阈值数量个概率值不同的路径作为备选译码路径;When it is detected that the number of paths with different probability values in the first decoding path queue is greater than a second preset threshold, selecting paths with different probability values by the second preset threshold number as alternative decoding paths;
基于备选译码路径继续对各待译码子段进行非连续删除列表nonSCL译码;Continue to perform non-SCL decoding on each sub-segment to be decoded based on the alternative decoding path;
在第二译码路径的长度满足第一预设长度时,基于各备选译码路径确定多个合并路径。When the length of the second decoding path satisfies the first preset length, multiple merging paths are determined based on each candidate decoding path.
可见,实施该可选的实施例,可以实现子段并行CA-SCL-全子段最优方法,对待译码子段同时采用连续删除列表SCL译码和非连续删除列表nonSCL译码两种译码方式,提升译码灵活性,降低硬件复杂性以及硬件功耗。It can be seen that implementing this optional embodiment can realize the optimal method of sub-segment parallel CA-SCL-all sub-segments, and simultaneously adopt two kinds of decoding of continuous deletion list SCL decoding and non-sequential deletion list nonSCL decoding for sub-segments to be decoded Encoding mode improves decoding flexibility and reduces hardware complexity and hardware power consumption.
在本申请的一种示例性实施例中,第一译码单元对各第四译码路径进行子段划分,得到各待译码子段的第一译码路径队列,包括:In an exemplary embodiment of the present application, the first decoding unit divides each fourth decoding path into sub-segments to obtain the first decoding path queue of each sub-segment to be decoded, including:
对各第四译码路径按照路径概率值从大到小进行排列,得到第二译码路径队列;Arranging each fourth decoding path according to the path probability value from large to small to obtain a second decoding path queue;
对第二译码路径队列中的路径进行子段划分并保持队列顺序不变,得到各待译码子段的第一译码路径队列。Divide the paths in the second decoding path queue into sub-segments and keep the order of the queues unchanged to obtain the first decoding path queue of each sub-segment to be decoded.
可见,实施该可选的实施例,可以有利于提升译码性能。It can be seen that the implementation of this optional embodiment can help improve the decoding performance.
在本申请的一种示例性实施例中,第一译码单元902根据多个合并路径确定多个译码子段,包括:In an exemplary embodiment of the present application, the
基于预设的校验方式对各合并路径进行校验,将通过校验且概率最大的合并路径确定作为译码路径;Verifying each merging path based on a preset verification method, and determining the merging path that passes the verification and has the highest probability as the decoding path;
对译码路径进行子段划分,得到多个译码子段。The decoding path is divided into sub-sections to obtain multiple decoding sub-sections.
可见,实施该可选的实施例,可以实现对于译码路径的高效筛选,得到单一的译码路径,提高译码路径的正确性,进而便于更简单地实现对于译码路径的子段划分,以提升译码性能。It can be seen that by implementing this optional embodiment, efficient screening of decoding paths can be achieved, a single decoding path can be obtained, the correctness of the decoding path can be improved, and the sub-segment division of the decoding path can be realized more simply. to improve decoding performance.
在本申请的一种示例性实施例中,第二译码单元903根据各译码子段确定多个目标译码子段,包括:In an exemplary embodiment of the present application, the
按照第三映射规则将各译码子段映射为目标译码子段,得到多个目标译码子段;其中,目标译码子段、译码子段均对应于第一预设数量;Map each decoding subsection to a target decoding subsection according to a third mapping rule to obtain a plurality of target decoding subsections; wherein, the target decoding subsection and the decoding subsection correspond to a first preset number;
其中,第三映射规则和编码侧的第一映射规则互为逆处理;Wherein, the third mapping rule and the first mapping rule on the encoding side are mutually inverse processing;
按照第四映射规则将各译码子段中的比特映射为目标译码子段中的比特;mapping bits in each decoding subsection to bits in a target decoding subsection according to a fourth mapping rule;
其中,第四映射规则和编码侧的第二映射规则互为逆处理。Wherein, the fourth mapping rule and the second mapping rule on the encoding side are mutually inverse processing.
可见,实施该可选的实施例,可以实现对于译码子段的映射,有利于获取准确的译码比特序列。It can be seen that implementing this optional embodiment can realize the mapping for decoding sub-segments, which is beneficial to obtain an accurate decoding bit sequence.
在本申请的一种示例性实施例中,第三译码单元904对多个目标译码子段进行子段变换和子段合并,得到译码比特序列,包括:In an exemplary embodiment of the present application, the
从各目标译码子段中选取目标比特,并根据第二子段变换规则将目标比特变换为最终比特;其中,第二子段变换规则和编码侧的第一子段变换规则互为逆处理;Select target bits from each target decoding sub-section, and transform the target bits into final bits according to the second sub-section transformation rule; wherein, the second sub-section transformation rule and the first sub-section transformation rule on the encoding side are inverse processing each other ;
基于最终比特确定各最终译码子段;determining each final decoded sub-segment based on the final bits;
合并各最终译码子段,得到译码比特序列。Merge the final decoded sub-segments to obtain the decoded bit sequence.
可见,实施该可选的实施例,可以实现对于高效译码得到的目标译码子段进行子段变换和子段合并,从而可以更灵活性地得到最终的译码比特序列。It can be seen that by implementing this optional embodiment, sub-segment transformation and sub-segment merging can be performed on the target decoding sub-segment obtained by efficient decoding, so that the final decoding bit sequence can be obtained more flexibly.
在本申请的一种示例性实施例中,第一译码单元对第二译码路径进行冻结比特约束条件检验,包括:In an exemplary embodiment of the present application, the first decoding unit performs a freeze bit constraint check on the second decoding path, including:
当最终比特为冻结比特时,基于第三子段变换规则和第四映射规则,校验多个第二译码路径中对应的比特的异或运算结果是否与冻结比特一致。When the final bit is a frozen bit, based on the third subsection transformation rule and the fourth mapping rule, it is checked whether the XOR operation result of the corresponding bits in the multiple second decoding paths is consistent with the frozen bit.
可见,实施该可选的实施例,可以提高译码性能。It can be seen that implementing this optional embodiment can improve decoding performance.
由于本申请的示例实施例的解调译码装置的各个功能模块与上述解调译码方法的示例实施例的步骤对应,因此对于本申请装置实施例中未披露的细节,请参照本申请上述的解调译码方法的实施例。Since each functional module of the demodulation and decoding device in the exemplary embodiment of the present application corresponds to the steps of the exemplary embodiment of the above-mentioned demodulation and decoding method, for details not disclosed in the device embodiment of the present application, please refer to the above-mentioned An embodiment of the demodulation and decoding method.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present application, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
请参阅图10,图10示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。Please refer to FIG. 10 . FIG. 10 shows a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
需要说明的是,图10示出的电子设备的计算机系统1000仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that the
如图10所示,计算机系统1000包括中央处理单元(CPU)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从储存部分1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有系统操作所需的各种程序和数据。CPU 1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10 , a
以下部件连接至I/O接口1005:包括键盘、鼠标等的输入部分1006;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1007;包括硬盘等的储存部分1008;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1009。通信部分1009经由诸如因特网的网络执行通信处理。驱动器1010也根据需要连接至I/O接口1005。可拆卸介质1011,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1010上,以便于从其上读出的计算机程序根据需要被安装入储存部分1008。The following components are connected to the I/O interface 1005: an
特别地,根据本申请的实施例,上述参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分1009从网络上被下载和安装,和/或从可拆卸介质1011被安装。在该计算机程序被中央处理单元(CPU)1001执行时,执行本申请的方法和装置中限定的各种功能。In particular, according to the embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现上述实施例中所述的方法。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, the electronic device is made to implement the methods described in the above-mentioned embodiments.
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units described in the embodiments of the present application may be implemented by software or by hardware, and the described units may also be set in a processor. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由前述的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application intends to cover any modification, use or adaptation of the application, and these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the field not disclosed in the application. The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the preceding claims.
Claims (24)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211151856.XA CN115514455B (en) | 2022-09-21 | 2022-09-21 | Coding modulation method, demodulation and decoding method, device, system, medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211151856.XA CN115514455B (en) | 2022-09-21 | 2022-09-21 | Coding modulation method, demodulation and decoding method, device, system, medium and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115514455A true CN115514455A (en) | 2022-12-23 |
CN115514455B CN115514455B (en) | 2024-12-24 |
Family
ID=84503544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211151856.XA Active CN115514455B (en) | 2022-09-21 | 2022-09-21 | Coding modulation method, demodulation and decoding method, device, system, medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115514455B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115987454A (en) * | 2022-12-20 | 2023-04-18 | 中国电信股份有限公司 | Demodulation and decoding method, device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019298A (en) * | 2019-05-31 | 2020-12-01 | 华为技术有限公司 | Coding modulation method, demodulation decoding method, device and equipment |
WO2022161201A1 (en) * | 2021-01-29 | 2022-08-04 | 华为技术有限公司 | Methods and apparatus for coding modulation and demodulation decoding |
CN114996194A (en) * | 2022-06-10 | 2022-09-02 | 中国电信股份有限公司 | Parallel bus relay method, system, device, storage medium and electronic equipment |
-
2022
- 2022-09-21 CN CN202211151856.XA patent/CN115514455B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019298A (en) * | 2019-05-31 | 2020-12-01 | 华为技术有限公司 | Coding modulation method, demodulation decoding method, device and equipment |
WO2020238566A1 (en) * | 2019-05-31 | 2020-12-03 | 华为技术有限公司 | Coding modulation method, demodulation decoding method, apparatus, and device |
WO2022161201A1 (en) * | 2021-01-29 | 2022-08-04 | 华为技术有限公司 | Methods and apparatus for coding modulation and demodulation decoding |
CN114996194A (en) * | 2022-06-10 | 2022-09-02 | 中国电信股份有限公司 | Parallel bus relay method, system, device, storage medium and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115987454A (en) * | 2022-12-20 | 2023-04-18 | 中国电信股份有限公司 | Demodulation and decoding method, device, storage medium and electronic equipment |
CN115987454B (en) * | 2022-12-20 | 2024-12-24 | 中国电信股份有限公司 | Demodulation decoding method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115514455B (en) | 2024-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11071116B2 (en) | Coding/decoding method, apparatus, and device | |
JP6481913B2 (en) | Polar code generation method and apparatus | |
CN106899379B (en) | Method and communication device for processing polarization code | |
WO2022161201A1 (en) | Methods and apparatus for coding modulation and demodulation decoding | |
US20210266099A9 (en) | Method and device for rate matching and polar encoding | |
JP7301168B2 (en) | Coding and modulation method, demodulation and decoding method, apparatus and device | |
CN108809500B (en) | Coding method, device and equipment | |
CN109873686B (en) | A method for combining and receiving 5G broadcast channels based on polar codes | |
CN115514455B (en) | Coding modulation method, demodulation and decoding method, device, system, medium and equipment | |
US20230208554A1 (en) | Encoding and Decoding Method and Apparatus | |
WO2017101023A1 (en) | Communication method, network device, and user equipment | |
WO2016145606A1 (en) | Method and communication device for data processing | |
JP2023523254A (en) | Encoding method and apparatus, decoding method and apparatus, and device | |
CN115987454B (en) | Demodulation decoding method and device, storage medium and electronic equipment | |
US12009836B2 (en) | Data processing method, communications apparatus, and communications device | |
WO2018141271A1 (en) | Data processing method and device | |
WO2018184493A1 (en) | Data encoding and decoding method and device | |
CN107566100B (en) | Information sending and receiving method and equipment | |
WO2014070074A1 (en) | Wireless communication device and method for storing soft symbols | |
US12143125B2 (en) | Polarization encoding method and apparatus | |
CN113055022B (en) | Parallel soft-elimination decoding method and related device | |
WO2024031285A1 (en) | Data processing method, apparatus and device | |
CN119605130A (en) | Data processing method, device and equipment | |
WO2023236932A1 (en) | Llr value quantification method and apparatus, electronic device, and storage medium | |
WO2024000564A1 (en) | Communication method and communication apparatus |
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 |