Search

CN-121984524-A - Polarization encoding method, polarization decoding method, apparatus, computer device, and medium

CN121984524ACN 121984524 ACN121984524 ACN 121984524ACN-121984524-A

Abstract

The application relates to a polarization coding method, a polarization decoding method, a device, a computer device and a medium, wherein the polarization coding method comprises the steps of obtaining bit numbers respectively corresponding to bit data of different bit types in data to be coded; the method comprises the steps of selecting a target polarized channel corresponding to a target bit type from all polarized channels according to the number of bits corresponding to the different bit types and the reliability of all polarized channels, determining a target initial channel corresponding to the target bit type according to the target polarized channel, encoding bit data of the different bit types to obtain target encoded data of data to be encoded, and transmitting bit data encoding results of the target bit type in the target encoded data based on the target initial channel corresponding to the target bit type. The application can improve the coding error correction performance.

Inventors

  • Qian Heyue
  • CHEN YANBO

Assignees

  • 展讯半导体(南京)有限公司

Dates

Publication Date
20260505
Application Date
20260120

Claims (10)

  1. 1. A polarization encoding method, applied to a transmitting end, comprising: acquiring bit numbers respectively corresponding to bit data of different bit types in the data to be coded, wherein the different bit types comprise target bit types; selecting a target polarized channel corresponding to the target bit type from the polarized channels according to the bit quantity corresponding to different bit types and the reliability of each polarized channel; determining a target initial channel corresponding to the target bit type according to the target polarized channel; encoding the bit data with different bit types to obtain target encoded data of the data to be encoded; and transmitting a bit data coding result of the target bit type in the target coding data based on a target initial channel corresponding to the target bit type.
  2. 2. The method of claim 1, wherein the different bit types include an information bit type, a shortened bit type, and a frozen bit type; Correspondingly, the obtaining the bit number corresponding to the bit data of different bit types in the data to be encoded includes: Acquiring a first bit quantity corresponding to bit data of the information bit type; determining a third bit quantity corresponding to the bit data of the frozen bit type according to the target code rate and the first bit quantity; And determining a second bit quantity corresponding to the bit data of the shortened bit type according to the first bit quantity and the third bit quantity.
  3. 3. The method according to claim 2, wherein selecting the target polarized channel corresponding to the target bit type from among the polarized channels according to the number of bits corresponding to different bit types and the reliability of each polarized channel, comprises: selecting a first target polarization channel of the first number of bits for the information bit type from among the polarization channels, and a third target polarization channel of the third number of bits for the frozen bit type; The first target polarized channel is the polarized channel with the highest reliability in the polarized channels, and the third target polarized channel is the polarized channel with the lowest reliability in the polarized channels.
  4. 4. The method of claim 3, wherein said determining a target initial channel corresponding to said target bit type based on said target polarized channel comprises: Determining a first target initial channel corresponding to the first target polarized channel and a third target initial channel corresponding to the third target polarized channel according to a preset mapping relation between the polarized channels and the initial channels; correspondingly, the transmitting the bit data coding result of the target bit type in the target coded data based on the target initial channel corresponding to the target bit type includes: transmitting a bit data encoding result of the information bit type in the target encoded data based on the first target initial channel, and And transmitting a bit data coding result of the frozen bit type in the target coded data based on the third target initial channel.
  5. 5. The method according to any one of claims 2 to 4, wherein the encoding the bit data of the different bit types to obtain target encoded data of the data to be encoded includes: The bit data of the shortened bit type and the bit data of the frozen bit type are both preset values; in response to non-primary encoding, updating the bit data encoding result of the shortened bit type and the bit data encoding result of the frozen bit type in the previous encoding processing result to the preset value, and encoding the updated previous encoding processing result; wherein the target coding data is the last coding processing result.
  6. 6. A polar decoding method, applied to a receiving end, comprising: Receiving non-target polarized channels corresponding to data to be decoded and non-target bit types, wherein the data to be encoded corresponding to the data to be decoded comprises bit data of target bit types and bit data of non-target bit types, the data to be decoded is a bit data encoding result of the target bit types in target encoded data, and the target encoded data is obtained based on any one of claims 1-5; Performing complement processing on the data to be decoded according to the non-target polarized channel corresponding to the non-target bit type to obtain complement data to be decoded; decoding the data to be decoded to obtain decoded data; and selecting the bit data of the target bit type from the decoded data.
  7. 7. A polarization encoding device, the device comprising: the data acquisition module is used for acquiring bit numbers respectively corresponding to bit data of different bit types in the data to be coded, wherein the different bit types comprise target bit types; The channel selection module is used for selecting a target polarized channel corresponding to the target bit type from the polarized channels according to the bit quantity corresponding to different bit types and the reliability of each polarized channel; the channel determining module is used for determining a target initial channel corresponding to the target bit type according to the target polarized channel; the data coding module is used for coding the bit data with different bit types to obtain target coding data of the data to be coded; And the data transmission module is used for transmitting the bit data coding result of the target bit type in the target coding data based on the target initial channel corresponding to the target bit type.
  8. 8. A polar decoding device, the device comprising: The data receiving module is used for receiving non-target polarized channels corresponding to data to be decoded and non-target bit types, wherein the data to be decoded corresponding to the data to be decoded comprises bit data of target bit types and bit data of non-target bit types, the data to be decoded is a bit data coding result of the target bit types in target coding data, and the target coding data is obtained based on any one of claims 1-5; The data complement module is used for carrying out complement processing on the data to be decoded according to the non-target polarized channel corresponding to the non-target bit type to obtain complement data to be decoded; The data decoding module is used for decoding the data to be decoded, so as to obtain decoded data; and the data selection module is used for selecting the bit data of the target bit type from the decoded data.
  9. 9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.

Description

Polarization encoding method, polarization decoding method, apparatus, computer device, and medium Technical Field The present application relates to the field of coding and decoding technologies, and in particular, to a polarization coding method, a polarization decoding method, a device, a computer apparatus, and a medium. Background The polarization coding method (abbreviated as polarization code) is a forward error correction coding technology based on the channel polarization phenomenon. Due to the constructional nature of the generator matrix, the code length of the polarization code is limited to the power of 2. In order to overcome the defect of inflexible code length, a puncturing polarization coding method is provided. But the error correction performance of the punctured polarization encoding method is degraded with respect to the encoding error correction performance of the polarization encoding method. Disclosure of Invention In view of the foregoing, it is desirable to provide a polarization encoding method, a polarization decoding method, an apparatus, a computer device, and a medium capable of improving encoding error correction performance. The application provides a polarization coding method which is applied to a transmitting end and comprises the steps of obtaining bit numbers corresponding to bit data of different bit types in data to be coded, wherein the different bit types comprise target bit types, selecting target polarization channels corresponding to target bit types from the polarization channels according to the bit numbers corresponding to the different bit types and the reliability of the polarization channels, determining target initial channels corresponding to the target bit types according to the target polarization channels, coding the bit data of the different bit types to obtain target coding data of the data to be coded, and transmitting bit data coding results of the target bit types in the target coding data based on the target initial channels corresponding to the target bit types. In one embodiment, the different bit types comprise an information bit type, a shortening bit type and a freezing bit type, the target bit type comprises the information bit type and the freezing bit type, correspondingly, the bit quantity corresponding to the bit data of the different bit types in the data to be encoded is obtained, the bit quantity corresponding to the bit data of the information bit type is obtained, the third bit quantity corresponding to the bit data of the freezing bit type is determined according to the target code rate and the first bit quantity, and the second bit quantity corresponding to the bit data of the shortening bit type is determined according to the first bit quantity and the third bit quantity. In one embodiment, according to the number of bits corresponding to different bit types and the reliability of each polarized channel, selecting a target polarized channel corresponding to a target bit type from each polarized channel comprises selecting a first target polarized channel with a first bit number for an information bit type and selecting a third target polarized channel with a third bit number for a frozen bit type from each polarized channel, wherein the first target polarized channel is the polarized channel with the highest reliability in each polarized channel, and the third target polarized channel is the polarized channel with the lowest reliability in each polarized channel. In one embodiment, determining a target initial channel corresponding to a target bit type according to a target polarized channel comprises determining a first target initial channel corresponding to a first target polarized channel and a third target initial channel corresponding to a third target polarized channel according to a preset mapping relation between the polarized channel and the initial channel, and correspondingly, transmitting bit data coding results of the target bit type in target coded data based on the target initial channel corresponding to the target bit type comprises transmitting bit data coding results of information bit type in the target coded data based on the first target initial channel, and transmitting bit data coding results of frozen bit type in the target coded data based on the third target initial channel. In one embodiment, encoding bit data of different bit types to obtain target encoded data of data to be encoded includes encoding the bit data of different bit types in response to first encoding, wherein the bit data of shortened bit type and the bit data of frozen bit type are both preset values, updating the bit data encoding result of shortened bit type and the bit data encoding result of frozen bit type in the previous encoding result to be preset values in response to non-first encoding, and encoding the updated previous encoding result, wherein the target encoded data is the last encoding result. The application provides a p