[go: up one dir, main page]

WO2025098179A1 - Polar code rate matching method and communication apparatus - Google Patents

Polar code rate matching method and communication apparatus Download PDF

Info

Publication number
WO2025098179A1
WO2025098179A1 PCT/CN2024/127763 CN2024127763W WO2025098179A1 WO 2025098179 A1 WO2025098179 A1 WO 2025098179A1 CN 2024127763 W CN2024127763 W CN 2024127763W WO 2025098179 A1 WO2025098179 A1 WO 2025098179A1
Authority
WO
WIPO (PCT)
Prior art keywords
sequence
symbol
bit
symbols
symbol number
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.)
Pending
Application number
PCT/CN2024/127763
Other languages
French (fr)
Chinese (zh)
Inventor
童佳杰
王献斌
张华滋
秦康剑
刘可
王俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2025098179A1 publication Critical patent/WO2025098179A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the embodiments of the present application relate to the field of coding, and more specifically, to a method for polar code rate matching and a communication device.
  • Polar code is a coding method that can achieve Shannon capacity and has low coding complexity.
  • Polar code is a channel coding scheme that can be strictly proven to achieve Shannon channel capacity. Polar code has the characteristics of good performance and low complexity. It is currently identified by the 3rd Generation Partnership Project (3GPP) as the control channel coding scheme for the enhanced mobile broadband (eMBB) scenario (uplink/downlink) of the fifth generation 5G (5th generation, 5G) scenario.
  • 3GPP 3rd Generation Partnership Project
  • MLC multi-level coding
  • m polar codes can be coupled through modulation, and the serial demodulation corresponding to MLC can be regarded as a stronger polarization effect than polar codes.
  • the rate matching method of polar codes in MLC is often determined according to the code rate size corresponding to each layer of coding in MLC, resulting in different rate matching methods corresponding to the number of MLC coding layers, that is, there are bit positions of rate matching corresponding to the number of coding layers that cannot be aligned, further affecting the subsequent encoding and decoding performance.
  • the embodiment of the present application provides a method for polar code rate matching, which relates to a polar code rate matching method in a multi-layer coding MLC scenario, and can improve coding performance.
  • a method for polar code rate matching comprising: determining a second symbol number n' based on a first symbol number n, n' ⁇ n, and n' is an integer power of 2, and n is a positive integer; determining a first position set according to the first symbol number n and the second symbol number n', the first position set including first bit positions corresponding to (n'-n) symbols; in a second sequence, pre-freezing the bits indicated by the first bit positions to obtain a third sequence, the third sequence being a pre-freezing sequence related to polar polar code encoding, wherein the second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n', the first sequence corresponds to the number of symbols N and the modulation order M, N ⁇ n', and N and M are both positive integers.
  • n is allocated by the system according to channel resources, and the specific value of n is not limited in this application.
  • the modulation order in the present application corresponds to the number of coding layers in MLC. For example, if the modulation order corresponding to the sequence is M, then the number of coding layers in MLC is M.
  • the first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M), wherein the specific values of N and M are not limited in this application.
  • the second symbol number n' is determined according to the first symbol number n, and the second symbol number n' is a positive integer of an integer power of 2 determined according to the first symbol number n. For example, if the first symbol number n is 22, the second symbol number n' may be 32, and so on; if the first symbol number n is 6, the second symbol number n' may be 8, and so on.
  • the second symbol number n' is determined by the first symbol number n
  • the first position set is further determined according to the first symbol number n and the second symbol number n'.
  • the first bit position included in the first position set is used to indicate that the (n'-n)*M bit positions in the second sequence are pre-frozen to obtain a third sequence.
  • the second sequence is obtained by pre-freezing the bits corresponding to the N-n' symbols in the sequence preset by the system (for example, the first sequence).
  • the third sequence is a pre-frozen sequence, which can be understood
  • the pre-frozen bit position in the third sequence may be a bit position for subsequent rate matching, or the pre-frozen bit position corresponding to the third sequence is subsequently used to determine the final rate matching bit position.
  • the method provided by the present application determines a first position set according to a first symbol number and a second symbol number, and the first bit position included in the first position set is used to determine the pre-frozen sequence, rather than determining the rate matching method (such as puncturing, truncation) according to the code rate size, thereby ensuring that the rate matching positions corresponding to the corresponding coding layer numbers in the MLC are aligned, thereby improving the performance of encoding and decoding.
  • determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the second position set based on the first symbol number n, the second symbol number n’ and the second sequence, the second position set including the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol in the second sequence, the second position set including the second bit positions corresponding to the (n’-n)th symbols; and reversing the bits of the second bit positions corresponding to the (n’-n)th symbols to determine the first position set.
  • the first symbol number n, the second symbol number n' and the second sequence determine the second position set, and the second position set includes the bit position corresponding to the nth symbol in the second sequence to the bit position corresponding to the n'-1th symbol, where n is less than or equal to n'-1.
  • the third sequence is determined by the first bit positions included in the first position set, and the rate matching method (such as puncturing, truncation) is not determined according to the code rate size, so that the rate matching positions corresponding to the corresponding coding layers in the MLC are aligned, thereby improving the encoding and decoding performance.
  • the rate matching method such as puncturing, truncation
  • determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the first position set based on the first symbol number n, the second symbol number n’ and the second sequence, the first bit position corresponding to the (n’-n) symbols in the first position set being the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.
  • the first bit position included in the first position set is determined by sub-block interleaving according to the bit position in the second sequence, and the pre-freeze positions corresponding to each coding layer in the MLC are all determined according to the first position set, rather than according to the bit rate corresponding to each coding layer, thereby ensuring the position alignment of the rate matching of each layer in the coding layer and improving the encoding and decoding performance.
  • determining the first position set according to the first symbol number n and the second symbol number n' includes: determining the first position set according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, wherein Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first symbol number n, 0 ⁇ i ⁇ M-1.
  • each of the coding layers M corresponding to the modulation order M can include one or more information bits among the K information bits.
  • the number of information bits included in the i-th modulation order is ki, and the code rate Ri corresponding to the i-th modulation order is further determined.
  • the Ri is the ratio of the number of information bits ki included in the i-th modulation order to the first number of symbols n.
  • the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence;
  • the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence.
  • the first threshold is predefined by the system or specified by the protocol.
  • the size of the first threshold is not limited in this application.
  • the method also includes: according to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; encoding each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n’-length codewords; modulating the M n’-length codewords to obtain n’ symbols; using the bit position corresponding to the modulation order with the highest reliability in the third sequence as a rate matching sequence; and selecting n symbols from the n’ symbols as transmission symbols according to the rate matching sequence, and sending them.
  • the bits corresponding to the modulation order with the highest reliability in the third sequence are used as the rate matching sequence; and according to The rate matching sequence selects n symbols from the n' symbols as transmission symbols for transmission.
  • the method can first encode the non-pre-frozen bits corresponding to the M modulation orders allocated to the K information bits, and each layer corresponding to the M coding layers, and modulate the encoded codeword to obtain n' coded modulation symbols, and select n symbols as transmission symbols for transmission.
  • coding modulation is implemented first, and rate matching is performed on the n' symbols after coding modulation to obtain n symbols as transmission symbols for transmission, thereby ensuring the coding performance.
  • selecting n symbols from the n’ symbols as transmitting symbols according to the rate matching sequence includes: taking the bit position corresponding to the modulation order with the highest reliability in the first position set as the rate matching position; and selecting n symbols other than the rate matching position from the rate matching sequence as transmitting symbols.
  • the rate matching position in the rate matching sequence is a pre-freeze position, or the rate matching position is used to determine the pre-freeze position.
  • the rate matching position and the pre-freeze position may be the same or different, and this application does not limit this. Among them, the symbol corresponding to the rate matching position is not sent.
  • the bits corresponding to the modulation order with the highest reliability in the third sequence are used as the rate matching sequence, and the bit positions corresponding to the modulation order with the highest reliability in the first position set are used as the rate matching positions, and the symbols corresponding to the bit positions other than the rate matching positions are selected from the rate matching sequence as transmission symbols for transmission, thereby ensuring the encoding and decoding performance.
  • the method also includes: according to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; encoding each layer of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; using the third sequence as a rate matching sequence to obtain M n-length transmission sequences, sending n transmission symbols, and the n transmission symbols are modulated according to the M n-length transmission sequences.
  • the third sequence is used as a rate matching sequence, and the encoded M n'-length codewords are rate matched to obtain M n-length codewords; and the M n-length codewords are encoded to obtain n transmission symbols for transmission.
  • This method can first encode the non-pre-frozen bits corresponding to the M modulation orders allocated to the K information bits, and each layer corresponding to the M coding layers, and rate match the encoded codewords to obtain M n-length codewords from the M n'-length codewords.
  • the M n-length codewords are modulated into n symbols as transmission symbols for transmission.
  • rate matching is performed on the encoded codewords
  • modulation is performed into n symbols as transmission symbols for transmission, thereby ensuring the coding performance.
  • a method for rate matching of a polar code includes: determining a second symbol number n' based on a first symbol number n, where n' ⁇ n, and n' is an integer power of 2, and n is a positive integer; determining a first position set according to the first symbol number n and the second symbol number n', wherein the first position set includes first bit positions corresponding to (n'-n) symbols; in a second sequence, pre-freezing the bits indicated by the first bit positions to obtain a third sequence, wherein the third sequence is a pre-freezing sequence related to polar code decoding, wherein the second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n', and the first sequence corresponds to the number of symbols N and the modulation order M, where N ⁇ n', and N and M are both positive integers.
  • the second symbol number n' is determined by the first symbol number n
  • the first position set is further determined according to the first symbol number n and the second symbol number n'.
  • the first bit position included in the first position set is used to indicate that the (n'-n) bit positions in the second sequence are pre-frozen to obtain a third sequence.
  • the second sequence is obtained by pre-freezing the bits corresponding to the N-n' symbols in a sequence preset by the system (for example, the first sequence).
  • the third sequence is a pre-frozen sequence, which can be understood as: the pre-frozen bit position in the third sequence can be the bit position for subsequent rate matching, or the pre-frozen bit position corresponding to the third sequence is subsequently used to determine the bit position for rate matching.
  • the method provided by the present application determines a first position set according to the first symbol number and the second symbol number, and the first bit position included in the first position set is used to determine the pre-frozen sequence, thereby improving the performance of encoding and decoding.
  • determining the first position set according to the first symbol number n and the second symbol number n′ includes:
  • the second bit positions corresponding to the (n’-n) symbols are bit reversed to determine the first position set.
  • the first symbol number n, the second symbol number n' and the second sequence determine a second position set, and the second position set includes the bit position corresponding to the nth symbol in the second sequence to the bit position corresponding to the n'-1th symbol, where n is less than n'-1.
  • the second bit positions corresponding to the (n'-n) symbols in the second position set (n'-n) first bit positions are obtained, and the (n'-n) first bit positions are called the first position set.
  • the third sequence is determined by the first bit positions included in the first position set, and the position of the rate matching corresponding to the corresponding number of coding layers in the MLC is determined to improve the performance of encoding and decoding.
  • determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the first position set based on the first symbol number n, the second symbol number n’ and the second sequence, the first bit position corresponding to the (n’-n) symbols in the first position set being the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.
  • the first bit position included in the first position set is determined by sub-block interleaving according to the bit position in the second sequence, and the pre-freeze positions corresponding to each coding layer in the MLC are all determined according to the first position set, rather than according to the bit rate corresponding to each coding layer, to ensure encoding and decoding performance.
  • the method further includes:
  • the determining of a first position set according to the first symbol number n and the second symbol number n' comprises:
  • the first position set is determined according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence,
  • the Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0 ⁇ i ⁇ M-1.
  • the method further includes:
  • the second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length information sequences to be rate matched.
  • the specific process of the second device serially demodulating the number of coding layers layer by layer can be similar to the serial demodulation in the above-mentioned MLC.
  • the method further includes:
  • Receive n transmitted symbols perform serial demodulation layer by layer on the n transmitted symbols according to the number of coding layers corresponding to the modulation order M, and obtain M n-length information sequences to be rate matched; perform rate demodulation on the M n-length information sequences to be rate matched according to the first bit position in the first position set corresponding to the i-th coding layer number in the number of coding layers corresponding to the modulation order M, and obtain M n'-length information sequences to be decoded; and decode the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, and obtain ki information bits corresponding to the i-th coding layer number.
  • K is a positive integer.
  • a communication device which has the function of implementing the method in the first aspect or any possible implementation of the first aspect.
  • the function can be implemented by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • a communication device which has the function of implementing the method in the second aspect or any possible implementation of the second aspect.
  • the function can be implemented by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • a communication device comprising a processor and a memory.
  • a transceiver may also be included.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory, and control the transceiver to send and receive signals. So that the communication device executes the method in the first aspect or any possible implementation manner of the first aspect.
  • a communication device comprising a processor and a memory.
  • a transceiver may also be included.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory, and control the transceiver to send and receive signals, so that the communication device executes the method in the second aspect or any possible implementation of the second aspect.
  • a communication device comprising a processor and a communication interface, wherein the communication interface is used to receive data and/or information and transmit the received data and/or information to the processor, and the processor processes the data and/or information, and the communication interface is also used to output the data and/or information processed by the processor, so that the method in the first aspect, or any possible implementation of the first aspect, is executed.
  • a communication device comprising a processor and a communication interface, wherein the processor processes data and/or information to be sent, and the communication interface is also used to output the data and/or information processed by the processor, so that the method in the second aspect, or any possible implementation of the second aspect, is executed.
  • a computer-readable storage medium in which computer instructions are stored.
  • the method in the first aspect or the second aspect, or any possible implementation of these aspects is executed.
  • a computer program product which includes a computer program code.
  • the computer program code runs on a computer, the method in any possible implementation of the first aspect or the second aspect, or any of these aspects, is executed.
  • a communication system comprising the communication device as described in the fifth aspect, or the communication device as described in the sixth aspect.
  • FIG1 is a schematic diagram of the system architecture of a communication system applicable to the technical solution of the present application.
  • FIG. 2 is a schematic flow chart of a rate matching method 200 .
  • FIG. 3 is a schematic diagram of the MLC process of m-order modulation.
  • FIG. 4 is a simulation diagram of serial demodulation and parallel demodulation.
  • FIG. 5 is a schematic diagram of an MLC sequence.
  • FIG6 is a flow chart of a polar code rate matching method provided in the present application.
  • FIG. 7 is a schematic diagram of another MLC sequence.
  • FIG8 is a schematic diagram of another MLC sequence.
  • FIG. 9 is a schematic diagram of another MLC sequence.
  • FIG. 10 is a schematic diagram of a BLER simulation.
  • FIG. 11 is a schematic diagram of another BLER simulation.
  • FIG12 is a schematic block diagram of a communication device 1200 provided in the present application.
  • FIG13 is a schematic structural diagram of a communication device 1300 provided in the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, including but not limited to: satellite communication systems, the 5th generation (5G) systems, long term evolution (LTE) systems (LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems), etc.
  • LTE long term evolution
  • TDD time division duplex
  • the technical solutions provided in the present application can also be applied to future communication systems, such as the sixth generation mobile communication system.
  • it can also be applied to device to device (D2D) communication, vehicle-to-everything (V2X) communication, machine to machine (M2M) communication, machine type communication (MTC), and Internet of Things (IoT) communication systems or other communication systems, etc., which are not limited in this article.
  • D2D device to device
  • V2X vehicle-to-everything
  • M2M machine to machine
  • MTC machine type communication
  • IoT Internet of Things
  • the technical solution of the embodiment of the present application can also be applied to narrowband Internet of Things (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA) and other systems.
  • NB-IoT narrowband Internet of Things
  • GSM global system for mobile communications
  • EDGE enhanced data rate for GSM evolution
  • WCDMA wideband code division multiple access
  • the 5G mobile communication system is based on the three major application scenarios of the next generation 5G mobile communication system, namely enhanced mobile broadband (eMBB), ultra-reliable and low-latency communications (URLLC) and massive machine type communications (eMTC).
  • eMBB enhanced mobile broadband
  • URLLC ultra-reliable and low-latency communications
  • eMTC massive machine type communications
  • Fig. 1 is a schematic diagram of the system architecture of a communication system applicable to the technical solution of the present application.
  • the communication system may include one or more network devices and one or more terminal devices.
  • the terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • UE user equipment
  • the terminal device in the embodiment of the present application may be a device that provides voice and/or data connectivity to a user, and may be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc.
  • the terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a personal digital assistant, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a mobile terminal in a vehicle, etc.
  • the UE can be used to act as a base station.
  • the UE can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc.
  • the device for realizing the function of the terminal can be a terminal, or a device capable of supporting the terminal to realize the function, such as a chip system or a chip, which can be installed in the terminal.
  • the chip system can be composed of a chip, or can include a chip and other discrete devices.
  • a network device may be a device with wireless transceiver functions, and the network device may be a device that provides wireless communication function services, and is usually located on the network side, including but not limited to the next generation base station (gNodeB, gNB) in the fifth generation (5th generation, 5G) communication system, the base station in the sixth generation (6th generation, 6G) mobile communication system, the base station in the future mobile communication system or the access node in the wireless fidelity (wireless fidelity, Wi-Fi) system, the evolved node B (evolved node B, eNB) in the long term evolution (long term evolution, LTE) system, and the wireless network controller.
  • the next generation base station gNodeB, gNB
  • 5th generation, 5G fifth generation
  • 6th generation, 6G mobile communication system
  • the evolved node B evolved node B (evolved node B, e
  • the network device may include a radio network controller (RNC), a node B (NB), a base station controller (BSC), a home base station (e.g., home evolved NodeB, or home Node B, HNB), a base band unit (BBU), a transmission reception point (TRP), a transmitting point (TP), a base transceiver station (BTS), etc.
  • RNC radio network controller
  • NB node B
  • BSC base station controller
  • HNB home base station
  • BBU base band unit
  • TRP transmission reception point
  • TP transmitting point
  • BTS base transceiver station
  • the network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a RAN device including a control plane CU node and a user plane CU node, and a DU node, or the network device may also be a wireless controller, a relay station, a vehicle-mounted device, and a wearable device in a cloud radio access network (CRAN) scenario.
  • the base station can be a macro base station, a micro base station, a relay node, a donor node, or a combination thereof.
  • the base station can also refer to a communication module, a modem, or a chip used to be set in the aforementioned device or apparatus.
  • the base station can also be a mobile switching center and a device that performs the base station function in D2D, V2X, and M2M communications, a network-side device in a 6G network, and a device that performs the base station function in a future communication system.
  • the base station can support networks with the same or different access technologies without limitation.
  • the device for implementing the function of the network device can be a network device, or a device that can support the network device to implement the function, such as a chip system or a chip, which can be installed in the network device.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the rate matching method provided in the present application can be considered as a channel coding scheme, which can be used in a dedicated network device or a general device, can be applied to various network devices (e.g., base station devices) as described above, and can also be applied to various terminal devices as described above.
  • the channel coding scheme is mainly implemented by a channel coding unit in these devices.
  • the method provided in the embodiments of the present application can also be implemented by application specific integrated circuit (ASIC), field programmable gate array (FPGA), etc., or by software (for example, program code in a memory), without limitation.
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • software for example, program code in a memory
  • Polar code also known as Polar code, is a new coding method based on channel polarization. It has a deterministic construction method and is the only known channel coding method that has been strictly proven to "reach" channel capacity. From the perspective of algebraic coding and probabilistic coding, polar code has the characteristics of both.
  • Channel polarization includes channel combination and channel decomposition. When the number of combined channels is infinite, polarization will occur: one part of the channel will tend to be a noiseless channel, and the other part will tend to be a full-noise channel. This phenomenon is channel polarization linearity. The transmission rate of the noiseless channel will reach the channel capacity, while the transmission rate of the full-noise channel will tend to zero.
  • the coding strategy of Polar code applies the characteristics of this phenomenon, using the noiseless channel to transmit useful information for users, and the full-noise channel to transmit agreed information or no information.
  • the channel polarization After the channel polarization is completed, part of the channel whose capacity approaches 1 can be used to carry information bits, while the remaining channels can be used to carry frozen bits that are consistent at both the transmitting and receiving ends, which is the polarization coding method.
  • Polar code is a linear block code
  • its encoding matrix also called generator matrix
  • GN its encoding matrix
  • the encoding process can be expressed by the following formula:
  • GN is an N ⁇ N matrix, Defined as the Kronecker product of log2N matrices F2, The addition and multiplication operations involved in the above formulas are all addition and multiplication operations on the binary Galois Field.
  • the codes generated by this method will produce polarization through the successive cancellation (SC) decoding method. That is, some bits in u will be decoded correctly with high probability through an equivalent high-reliability channel, and the remaining bits will be decoded correctly with low probability through an equivalent low-reliability channel. Therefore, people can use the high-reliability channel for information transmission, and set the bits corresponding to the low-reliability channel to zero (that is, freeze), not use them for data transmission, or transmit data known to both parties.
  • SC successive cancellation
  • the algorithms for serial cancellation decoding currently include (successive cancellation list, SCL) decoding and (CRC-aided successive cancellation list, CA-SCL) decoding, etc.
  • SCL Successessive cancellation list
  • CA-SCL CRC-aided successive cancellation list
  • SC decoding is the worst in terms of decoding performance
  • SCL decoding is much better than SC decoding
  • CA-SCL decoding after CRC verification can make the performance of polar code better than LDPC code and Turbo code.
  • FIG 2 is a flow chart of a communication link using Polar code channel coding.
  • the transmitter uses Polar code to perform channel coding on the source from the media access control (MAC), and the receiver sends the demodulated log likelihood ratio (LLR) soft information to the Polar decoder, which then recovers the source information and uploads it to the MAC.
  • LLR demodulated log likelihood ratio
  • the specific Polar code encoding process is shown in Figure 2. In order to avoid redundancy, it will not be repeated here.
  • the source of the transmitter is generally sent on the channel after undergoing source coding, channel coding, rate matching and modulation.
  • the receiver After receiving the signal, the receiver obtains the destination after demodulation, rate matching, channel decoding and source decoding.
  • Channel coding and decoding is one of the core technologies in the field of wireless communications. The improvement of its performance will directly improve network coverage and user transmission rate.
  • polar codes are a channel coding technology that can be theoretically proven to reach the Shannon limit and has practical linear complexity coding and decoding capabilities.
  • Multi-level coding (MLC)
  • MLC technology is a modulation technology that combines coding and modulation. MLC neither increases the signal bandwidth nor reduces the actual data transmission rate, while improving the reliability of data transmission. Therefore, MLC is also called "high-efficiency bandwidth coding".
  • MLC divides a string of modulation symbols into m layers according to the different capacities of modulated bits in the symbols, and each layer is independently encoded.
  • FIG3 is a schematic diagram of the MLC process of m-order modulation.
  • the encoding in FIG3 is introduced by taking polar code as an example.
  • the information bit stream z to be transmitted is first converted from serial to parallel and divided into m bit streams u 1 , u 2 , u 3 ... um .
  • Each bit stream corresponds to a bit channel under high-order modulation, and polar encoding is performed separately for the bit channel, that is, the codeword x 1 output by the m-th encoder constitutes the m-th bit in the high-order modulation symbol.
  • the N modulation symbols generated by the modulator (Mod) are sent to the channel for transmission.
  • the demodulator uses the channel receiving sequence y to demodulate the soft value v 1 required by the first polar decoder, and then the polar decoder uses the soft value sequence v 1 corresponding to the first stream to decode u 1 .
  • the polar code codeword x 1 corresponding to u 1 needs to be input into the demodulator.
  • the demodulator uses y and x 1 to demodulate the soft value sequence v 2 corresponding to the second stream and inputs it into the second polar code decoder.
  • the second polar code decoder uses the soft value sequence to decode u 2.
  • the demodulator uses the codewords x 2 and x 1 corresponding to u 2 and u 1 , as well as the channel received sequence y, to demodulate the soft value sequence v 3 corresponding to the third stream.
  • the channel received sequence y and the codewords x 1 to x m of the previous m-1 polar codes need to be used.
  • MLC uses serial demodulation, and the MLC requires m encoders and m decoders.
  • Demodulation refers to the process of converting a modulation symbol (eg, S 1 , S 2 , S 3 ... S m ) into its corresponding bit sequence (eg, v 1 , v 2 , v 3 ... v m ).
  • the demodulation methods can be divided into serial demodulation and parallel demodulation.
  • y, v 1 ) that v 2 1 under the condition of a given value of v 1 , and then calculate the log-likelihood ratio of the above two probabilities, and then obtain the value of v 2 according to formula (3):
  • the parallel demodulation does not need to use the value of v 1 , but takes the average of all possible values of v 1 and determines the value of v 2 0 according to the following formula (4):
  • serial demodulation needs to first estimate the value of v 1 based on the received symbol y, and then use the estimated value of v 1 and y to further estimate the value of v 2.
  • parallel demodulation does not need to use the estimated value of v 1 when calculating v 2 , so v 1 and v 2 can be obtained at the same time and can be implemented in parallel.
  • serial demodulation and parallel demodulation can be regarded as a process of converting a high-order modulation channel containing 2m symbols into an m-bit channel.
  • the channel capacity of the modulation channel is I(Y; V1 , V2 ).
  • Serial demodulation decomposes the modulation channel into two bit channels, of which the capacity of the first bit channel is I(Y; V 1 ) and the capacity of the second bit channel is I(Y; V 2
  • each layer in MLC uses polar code encoding, that is, the polar code in MLC can use the double sequence construction method to determine the encoding sequence.
  • Ordinary polar code construction generally uses a single sequence construction method. For example, there is a sequence Q of length N, and its sequence index (index) represents the reliability of the bit at each position in the polar code mother code. Assume that 0 represents the bit at that position. The reliability is the lowest, and N-1 is the highest reliability of the bit at this position.
  • the specific value of Q[i] represents: the specific position in the coding sequence corresponding to the reliability of the i-th bit from low to high bit reliability.
  • N 16
  • the frozen position can be a punctured and shortened position, as well as a position where the punctured Polar code needs to be pre-frozen according to the NR protocol.
  • m polar codes can be coupled through modulation, and the serial demodulation corresponding to MLC can be regarded as a stronger polarization effect than polar codes.
  • the rate matching method of polar codes in MLC is often determined according to the code rate corresponding to each layer of coding in MLC, resulting in different rate matching methods corresponding to the number of MLC coding layers, that is, the bit positions of the rate matching corresponding to the number of coding layers cannot be aligned, further affecting the subsequent encoding and decoding performance.
  • FIG5 is a schematic diagram of an MLC sequence.
  • the slash area indicates the position of the lowest energy bit from the MLC
  • the horizontal area indicates the position of the second lowest energy bit from the MLC
  • the gray dot area is from the position of the second highest energy bit from the MLC
  • the blank area is from the position of the highest energy bit from the MLC.
  • the number of symbols to be transmitted is not an integer power of 2
  • rate matching when rate matching is required, the same number of bits are generally rate matched (punctured or truncated) for each coding layer in the MLC.
  • the natural order + puncturing method is uniformly used for rate matching for each coding layer in the MLC, or the natural order + truncation method is uniformly used for rate matching.
  • the Gaussian approximation is used for construction.
  • the rate matching is performed by natural order + puncturing, assuming that X symbols need to be punctured, the symbols at the 0th position to the X-1th position are punctured; if the rate matching is performed by natural order + truncation, assuming that X symbols need to be punctured, the symbols at the N-Xth position to the N-1th position are truncated.
  • the rate matching method corresponding to the number of coding layers in MLC is related to the bit rate of each layer.
  • the bit rates corresponding to each coding layer may be different, resulting in different rate matching methods used by each coding layer, resulting in different bit positions of rate matching of each coding layer, that is, the positions of rate matching of each coding layer in MLC cannot be aligned, resulting in reduced encoding and decoding performance.
  • the present application provides a method for polar code rate matching in an MLC scenario, which can improve encoding and decoding performance.
  • FIG6 is a schematic diagram of a process of polar code rate matching method provided in an embodiment of the present application. The method may include the following steps:
  • the first device determines a second symbol number n' based on the first symbol number n.
  • n' is an integer power of 2, and n' is greater than or equal to n, and n is a positive integer.
  • n is allocated by the system according to channel resources, and the specific value of n is not limited in this application.
  • the modulation order in the present application corresponds to the number of coding layers in MLC. For example, if the modulation order corresponding to the sequence is M, then the number of coding layers in MLC is M.
  • the first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M), wherein the specific values of N and M are not limited in this application.
  • the first device determines the second symbol number n' based on the first symbol number n, and the second symbol number n' is a positive integer of an integer power of 2 determined according to the first symbol number n. For example, if the first symbol number n is 22, the second symbol number n' may be 32, 64, etc.; if the first symbol number n is 6, the second symbol number n' may be 8, 16, 32, etc.
  • the first device determines a first position set according to the first symbol number n and the second symbol number n'.
  • the first position set includes first bit positions corresponding to (n'-n) symbols.
  • the first device determines a second position set based on a first symbol number n, a second symbol number n’, and a second sequence, the second position set including a bit position corresponding to the nth symbol to a bit position corresponding to the (n’-1)th symbol in the second sequence, and the second position set includes second bit positions corresponding to the (n’-n) symbols; the first device performs bit index reverse (BIV) on the second bit positions corresponding to the (n’-n) symbols to determine the first position set.
  • BIV bit index reverse
  • the first device determines a first position set according to the first symbol number n, the second symbol number n' and the second sequence, and the first position set includes the bit position corresponding to the 22nd symbol to the bit position corresponding to the 31st symbol.
  • the bit width of the index corresponding to the symbol is 5 bits.
  • the bit corresponding to the 22nd symbol to the bit position corresponding to the 31st symbol, each with a bit width of 5 bits, is expanded in binary, such as: (10110) (10111) (11000) (11001) (11010) (11011) (11100) (11101) (11110) (11111).
  • the first device performs bit reverse order on the bit positions corresponding to the above 10 symbols (or referred to as the second position set) to obtain a first position set.
  • the first position set is: (01101), (11101), (00011), (10011), (01011), (11011), (00111), (10111), (01111), (11111).
  • the first device pre-freezes the first bit position included in the first position set for indicating the bit position, that is, the first device pre-freezes the bit corresponding to the 13th symbol, the bit corresponding to the 29th symbol, the bit corresponding to the 3rd symbol, the bit corresponding to the 19th symbol, the bit corresponding to the 11th symbol, the bit corresponding to the 27th symbol, the bit corresponding to the 7th symbol, the bit corresponding to the 23rd symbol, the bit corresponding to the 15th symbol, and the bit corresponding to the 31st symbol, and the bit positions corresponding to the 10 symbols.
  • the first position set is shown in FIG7, and the gray part is the position of the pre-frozen bit corresponding to the symbol in the first position set.
  • the first device determines a first position set based on a first symbol number n, a second symbol number n’, and a second sequence, wherein a first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.
  • the second sequence is (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31), and the first device performs sub-block interleaving on the bit positions corresponding to the second sequence.
  • the first device determines the first position set according to the first symbol number n, the second symbol number n' and the second sequence.
  • the first position set is shown in FIG8, and the gray part is the position of the pre-frozen bit corresponding to the symbol in the first position set.
  • the first device determines a first position set based on the first symbol number n, the second symbol number n’ and the code rate Ri, and the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, or the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.
  • Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0 ⁇ i ⁇ M-1.
  • the code rate Ri is determined according to the number ki of information bits included in the i-th modulation order among the M modulation orders and the number of bits of the first symbol number. Wherein, the number of information bits included in the M modulation orders is K.
  • K information bits are preset by the system, and the specific value of K is not limited in this application.
  • the code rate Ri is the ratio between the number of information bits ki corresponding to the number of coding layers and the first symbol number n.
  • the (n'-n) symbols included in the first position set correspond to the first bit position, which may be the bit position corresponding to the nth symbol determined after sub-block interleaving based on the rate matching method to determine that the first bit position is the bit position corresponding to the second sequence.
  • the bit position is set to the bit position corresponding to the (n'-1)th symbol, or the first bit position is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence.
  • the rate matching method is different, and the bit position of the rate matching is also different.
  • the first bit position may include the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after the bit position corresponding to the second sequence is interleaved by sub-blocks; or the bit position corresponding to the (n'-1)th symbol to the bit position corresponding to the (n'-n)th symbol determined after the bit position corresponding to the second sequence is interleaved by sub-blocks.
  • the Ri corresponding to the i-th modulation order can be used to determine the rate matching method corresponding to the i-th modulation order. For example, when Ri is greater than the first threshold, the rate matching method corresponding to the i-th modulation order is determined to be truncation; when Ri is less than or equal to the first threshold, the rate matching method corresponding to the i-th modulation order is determined to be puncturing.
  • the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol after sub-block interleaving of the bit position corresponding to the second sequence is used as the first bit position in the first position set;
  • the rate matching method is puncturing, the bit position corresponding to the (n’-1)th symbol to the bit position corresponding to the (n’-n)th symbol after sub-block interleaving of the bit position corresponding to the second sequence is used as the first bit position in the first position set.
  • the second sequence is (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31)
  • the first device performs sub-block interleaving on the bit positions corresponding to the second sequence.
  • the gray part is the position of the pre-freeze bit corresponding to the symbol in the first position set.
  • the third sequence is a pre-frozen sequence related to polar code encoding.
  • the first device pre-freezes bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain the second sequence.
  • the first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M).
  • N and M are not limited in this application.
  • the length of the first sequence is 256.
  • the second sequence is a sequence obtained after pre-freezing the bit positions corresponding to 32 symbols in the first sequence.
  • the first device pre-freezes the bit position corresponding to the corresponding symbol in the second sequence according to the first bit position included in the first position set in the second sequence to obtain the third sequence.
  • the third sequence is a pre-freeze sequence related to polar code encoding. That is, the third sequence can be used as a rate matching sequence in the process of encoding and modulating the information bit by the first device.
  • the method shown in FIG6 may further include the following steps:
  • the first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence according to the third sequence.
  • the first device encodes each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; the first device modulates the M n'-length codewords to obtain n' symbols; the first device uses the bits corresponding to the modulation order with the highest reliability in the third sequence as a rate matching sequence; the first device selects n symbols from the n' symbols as transmission symbols according to the rate matching sequence and transmits them.
  • the first device allocates the K information bits to the non-pre-frozen bits corresponding to the M modulation orders in the third sequence.
  • the M modulation orders correspond to M coding layers, and the first device encodes each of the M coding layers to obtain M n'-length codewords.
  • the first device then modulates the M n'-length codewords to obtain n' symbols.
  • the first device selects bits corresponding to the modulation order with the highest reliability from the third sequence as a rate matching sequence. Based on the rate matching sequence, the first device selects n symbols from the n' symbols as transmission symbols for transmission.
  • the first device allocates K information bits to level0, level1, level2 and level3, and the first device encodes level0, level1, level2 and level3 to obtain 4 codewords of length 32.
  • the first device modulates the 4 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 0th QAM256 symbol, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 1st QAM256 symbol, ..., 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 31st QAM256 symbol.
  • the first device selects 22 symbols from the 32 symbols as transmission symbols for transmission. For example, according to the rate matching method in FIG. 7 , it is determined that symbols at positions 0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 14, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, and 30 are sent as transmission symbols.
  • 2 bits are selected from 4 32-bit long code words to map the I path and Q path of the QAM256 symbol, wherein the 2 bits can be any 2 bits in the 4 32-bit long code words, such as the 0th bit and the 2nd bit, the 0th bit and the 1st bit, or other bits, which are not limited in this application.
  • the 2 bits used to map the I path and Q path of the 0th QAM256 symbol, the 2 bits used to map the I path and Q path of the 1st QAM256 symbol, ..., the 2 bits used to map the I path and Q path of the 31st QAM256 symbol are all in different positions in the 4 32-bit long code words.
  • the first device allocates K information bits to level0, level1, level2, and level3, and the first device encodes level0, level1, level2, and level3 to obtain four codewords of length 32.
  • the first device modulates the four 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 0th QAM256 symbol, 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 1st QAM256 symbol, ..., 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 31st QAM256 symbol.
  • the first device selects 22 symbols from the 32 symbols as transmission symbols for transmission. For example, according to the rate matching method in FIG8 , it is determined that the symbols at positions 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, and 22 are sent as transmission symbols.
  • the first device allocates K information bits to level0, level1, level2 and level3, and the first device encodes level0, level1, level2 and level3 to obtain 4 codewords of length 32.
  • the first device modulates the 4 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 0th QAM256 symbol, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 1st QAM256 symbol, ..., 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 31st QAM256 symbol.
  • the first device selects 22 symbols from the 32 symbols as transmission symbols for transmission.
  • the reliabilities corresponding to level0, level1, level2 and level3 are respectively: level0 ⁇ level1 ⁇ level2 ⁇ level3 from low to high, wherein the numbers of information bits carried on level0, level1, level2 and level3 are k0, k1, k2 and k3 respectively, wherein k0 ⁇ k1 ⁇ k2 ⁇ k3, and the code rate corresponding to level3 is the largest, that is, the rate matching method corresponding to level3 is truncation.
  • the first device can first perform coding modulation according to K information bits, M modulation orders and the second symbol number n', and obtain n' symbols. The first device then selects the bits corresponding to the modulation order with the highest reliability from the third sequence as the rate matching sequence, and selects n symbols from the n' symbols as transmission symbols for transmission. That is, the method provided in the present application can first perform coding modulation, and then perform rate matching to obtain n transmission symbols for transmission.
  • the method shown in FIG6 may further include the following steps:
  • the first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence according to the third sequence; the first device encodes each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; the first device uses the third sequence as a rate matching sequence to obtain M n-length transmission sequences.
  • the first device sends n transmission symbols, and the n transmission symbols are modulated according to the M n-length transmission sequences.
  • the first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence.
  • the M modulation orders correspond to M coding layers, and the first device encodes each of the M coding layers to obtain M n'-length codewords.
  • the first device uses the third sequence as a rate matching sequence for M n-length transmission sequences.
  • the M modulation orders correspond to The rate matching method may refer to the introduction of step 602 in Fig. 6.
  • the first device modulates the M n-length transmission sequences to obtain n transmission symbols, and transmits them.
  • the first device allocates K information bits to level0, level1, level2 and level3, and encodes level0, level1, level2 and level3 to obtain 4 codewords with a length of 32.
  • the example in FIG. 9 the first device allocates K information bits to level0, level1, level2 and level3, and encodes level0, level1, level2 and level3 to obtain 4 codewords with a length of 32.
  • the codewords at positions 0, 1, 2, 3, 4, 5, 6, 7, 8, and 16 in the coding result corresponding to level 0 are deleted to obtain the 0th rate matching sequence;
  • the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 1 are deleted to obtain the 1st rate matching sequence;
  • the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 2 are deleted to obtain the 2nd rate matching sequence;
  • the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 3 are deleted to obtain the 3rd rate matching sequence.
  • the first device maps the 0th codeword in the 0th rate matching sequence, the 1st rate matching sequence, the 2nd rate matching sequence, and the 3rd rate matching sequence to the 1st QAM256 symbol, the 2nd codeword to the 2nd QAM256 symbol, ..., the 21st codeword to the 21st QAM256 symbol.
  • the first device sends the 21 symbols as transmission symbols.
  • the first device can first encode according to K information bits, M modulation orders and the second symbol number n' to obtain M n'-length codewords. The first device then performs rate matching on the M n' codewords to obtain M n-length sequences. Further, the first device modulates the M n-length sequences to obtain n transmission symbols, and transmits them. That is, the method provided in the present application can first perform encoding, then rate matching, and finally modulate the sequence obtained after rate matching to obtain n transmission symbols for transmission.
  • n transmission symbols are determined, and the n transmission symbols are sent as transmission symbols to the second device. Accordingly, the second device receives the n transmission symbols from the first device, and decodes and demodulates the n transmission symbols to obtain K information bits, as follows:
  • the second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded.
  • the second device performs rate matching on the M n-length rate matching information sequences to be decoded according to the first bit position in the first position set to obtain M n'-length information sequences to be decoded.
  • the second device decodes the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, thereby obtaining ki information bits corresponding to each coding layer number, K is a positive integer.
  • the K information bits are information bits obtained by the second device according to decoding and demodulation of the n transmitted symbols.
  • the second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded.
  • the second device obtains the coding codeword corresponding to the i-th layer according to the coding process for the rate matching information sequence to be decoded corresponding to the i-th layer in the number of coding layers.
  • the second device brings the coded codeword obtained by the i-th layer into the demodulation process of the i+1-th layer of the coding layer number as the input quantity for serial demodulation of the i+1-th layer.
  • the second device serially demodulates the number of coding layers layer by layer to obtain M n-length rate matching information sequences to be decoded.
  • MLC serial demodulation in the above-mentioned MLC
  • Figure 3 for details, which will not be repeated here.
  • the method by which the second device determines the first position set and the method by which the third sequence is determined are similar to the method by which the first device determines the first position set and the third sequence in steps 601 to 603 in FIG. 6 above, and are not described in detail here.
  • the second device serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains M n-length rate-matched information sequences to be decoded.
  • the second device performs rate-matching on the M n-length rate-matched information sequences to be decoded according to the first bit position corresponding to the highest reliability layer in the first position set, thereby obtaining M n'-length information sequences to be decoded.
  • the second device decodes the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains K information bits, which are composed of ki information bits corresponding to each layer in the M coding layers.
  • the second device when the second device solves the rate matching, the second device fills in "0" for the corresponding first bit position in the first position set; assuming that the code rate of the i-th layer in MLC is greater than or equal to the first threshold, then when the second device solves the rate matching, the second device fills in an infinite value, for example, positive infinity or negative infinity, for the corresponding first bit position in the first position set.
  • the second device serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains M n-length rate matching information sequences to be decoded.
  • the second device performs rate matching on the M n-length rate matching information sequences to be decoded according to the first bit position in the first position set corresponding to the i-th coding layer number in the number of coding layers corresponding to the modulation order M, thereby obtaining M n'-length information sequences to be decoded.
  • the device decodes the M n'-length to-be-decoded information sequences layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains K information bits, which are composed of ki information bits corresponding to each layer in the M number of coding layers.
  • the second device when the second device demodulates the i-th layer in the MLC, the second device performs rate matching according to the first bit position corresponding to the i-th layer in the first position set, thereby obtaining a codeword of length n'. Specifically, assuming that the code rate of the i-th layer in the MLC is less than the first threshold, the second device fills "0" in the corresponding first bit position in the first position set when performing rate matching; when the code rate of the i-th layer in the MLC is greater than or equal to the first threshold, the second device fills an infinite value, for example, positive infinity, or negative infinity, in the corresponding first bit position in the first position set when performing rate matching.
  • FIG. 10 is a schematic diagram of a BLER simulation.
  • FIG10 is based on the method shown in FIG6 above, and is a change in the symbol signal-to-noise ratio given by combining the number of information bits K, the number of first symbols N, and the code rate R.
  • MLC_TYPE0 in FIG10 indicates that the first position set is obtained by reversing the bits of the second position set in FIG6, and the first bit position in the first position set is used as the rate matching position;
  • MLC_TYPE1 indicates that the first bit position corresponding to each number of coding layers is determined by comparing the relationship between the code rate and the first threshold in FIG6, and the bit position corresponding to the modulation order with the highest reliability in the third sequence is used as the rate matching sequence, and rate matching is performed after modulation.
  • FIG. 11 is a schematic diagram of another BLER simulation.
  • FIG11 is based on the method shown in FIG6 above, and is a variation of the symbol signal-to-noise ratio given by combining the number of information bits K, the number of first symbols N, and the code rate R.
  • MLC_TYPE0 in FIG11 indicates that the first position set is obtained by reversing the bits of the second position set in FIG6, and the first bit position in the first position set is used as the rate matching position;
  • MLC_TYPE1 indicates that the first bit position corresponding to each number of coding layers is determined by comparing the relationship between the code rate and the first threshold in FIG6, and the bit position corresponding to the modulation order with the highest reliability in the third sequence is used as the rate matching sequence.
  • the present application provides a method for determining the first bit position corresponding to each coding layer number by comparing the relationship between the code rate and the first threshold, and using the bit position corresponding to the modulation order with the highest reliability in the third sequence as the encoding and decoding method corresponding to the rate matching sequence.
  • the symbol signal-to-noise ratio is significantly better than other methods.
  • the methods and operations implemented by the first device can also be implemented by components (such as chips or circuits) that can be implemented by the first device, without limitation.
  • the embodiments of the present application also provide corresponding devices, which include modules for executing the corresponding modules in the above-mentioned method embodiments.
  • the modules can be software, hardware, or a combination of software and hardware. It is understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.
  • FIG12 is a schematic block diagram of a communication device 1200 provided in the present application.
  • the communication device 1200 includes a processing unit 1210 and a communication unit 1220.
  • the device 1200 can implement the steps or processes corresponding to those performed by the first device in the above method embodiment, wherein the processing unit 1210 is used to perform the processing-related operations of the first device in the above method embodiment, and the communication unit 1220 is used to perform the sending-related operations of the first device in the above method embodiment.
  • each unit of the communication device 1200 is used to implement the following functions:
  • the processing unit 1210 is used to determine the second symbol number n' based on the first symbol number n, where n' ⁇ n, and n' is an integer power of 2, and n is a positive integer; the processing unit 1210 is also used to pre-freeze the bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain a second sequence, where the first sequence corresponds to the number of symbols N and the modulation order M, where N ⁇ n', and N and M are both positive integers; the processing unit 1210 is also used to determine a third sequence according to the first symbol number n and the second sequence, where the third sequence is a pre-frozen sequence related to polar code encoding.
  • the processing unit 1210 is used to determine the second symbol number n' based on the first symbol number n, where n' ⁇ n, and n' is an integer power of 2, and n is a positive integer; the processing unit 1210 is also used to pre-freeze the bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain a second sequence, where the first sequence corresponds to the number of symbols N and the modulation order M, where N ⁇ n', and N and M are both positive integers; the processing unit 1210 is also used to determine a third sequence according to the first symbol number n and the second sequence, where the third sequence is a pre-frozen sequence related to polar code decoding.
  • the processing unit 1210 is used to perform the processing and/or operation implemented by the first device in addition to the sending and receiving actions.
  • the communication unit 1220 is used to perform the receiving (or inputting) action of the first device, and/or, to perform the sending (or outputting) action of the first device.
  • the device 1200 herein is embodied in the form of a functional unit.
  • the term "unit” herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and/or other suitable components that support the described functions.
  • ASIC application specific integrated circuit
  • processor e.g., a shared processor, a dedicated processor, or a group processor, etc.
  • memory for executing one or more software or firmware programs, a combined logic circuit, and/or other suitable components that support the described functions.
  • the apparatus 1200 of each of the above schemes has the function of implementing the corresponding steps performed by the first device in the above method.
  • the function can be implemented by hardware, or by hardware executing the corresponding software implementation.
  • the hardware or software includes one or more modules corresponding to the above functions; for example, the communication unit can be replaced by a transceiver (for example, the sending unit in the communication unit can be replaced by a transmitter, and the receiving unit in the communication unit can be replaced by a receiver), and other units, such as the processing unit, can be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
  • the communication unit may also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit), and the processing unit may be a processing circuit.
  • the device 1200 may be the first device in the aforementioned embodiment, or may be a chip or a chip system, for example, a system on chip (SoC), wherein the communication unit may be an input/output circuit, a communication interface, and the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip. This is not limited here.
  • SoC system on chip
  • FIG13 is a schematic structural diagram of a communication device 1300 provided in the present application.
  • the communication device 1300 includes: one or more processors 1310, one or more memories 1320, and one or more communication interfaces 1330.
  • the processor 1310 is used to control the communication interface 1330 to send and receive signals
  • the memory 1320 is used to store a computer program
  • the processor 1310 is used to call and run the computer program from the memory 1320, so that the communication device 1200 performs the processing performed by the transmitting end or the receiving end in each method embodiment of the present application.
  • the processor 1310 may have the function of the processing unit 1210 shown in Figure 8
  • the communication interface 1330 may have the function of the communication unit 820 shown in Figure 12.
  • the processor 1310 may be used to execute the processing or operation performed by the communication device, and the communication interface 1330 is used to execute the sending and/or receiving operation of the communication device.
  • the memory and processor in the above-mentioned device embodiments may be physically independent units, or the memory may be integrated with the processor, which is not limited in the present application.
  • the present application also provides a computer-readable storage medium, in which computer instructions are stored.
  • computer instructions are executed on a computer, the operations and/or processing performed by the first device in each method embodiment of the present application are executed.
  • the present application also provides a computer program product, which includes computer program code or instructions.
  • a computer program product which includes computer program code or instructions.
  • the present application also provides a chip, which includes a processor, a memory for storing computer programs is set independently of the chip, and the processor is used to execute the computer program stored in the memory, so that a device equipped with the chip performs the operations and/or processing performed by the first device in any method embodiment.
  • the chip may further include a communication interface.
  • the communication interface may be an input/output interface, or an interface circuit, etc.
  • the chip may further include the memory.
  • the processor may be one or more, the memory may be one or more, and the memory may be one or more.
  • the present application also provides a communication device (for example, a chip or a chip system), including a processor and a communication interface, according to the operation and/or processing performed by the first device in any of the aforementioned method embodiments, the communication interface is used to receive (or referred to as input) message bits to be encoded, and the processor encodes the message bits to be encoded.
  • the communication interface is also used to send (or referred to as output) data and/or information processed by the processor.
  • the present application also provides a communication device, comprising at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to execute a computer program or instruction stored in the at least one memory, so that the communication device performs the operations and/or processing performed by the first device in any method embodiment.
  • the present application also provides a communication system, including the first device in the method embodiment of the present application.
  • the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), which is used as an external cache.
  • RAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchlink DRAM
  • DRRAM direct rambus RAM
  • the method provided in the above embodiment can be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software When implemented by software, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product may include one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated.
  • "at least one” means one or more, and “more” means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of the units is only a logical function. In actual implementation, there may be other ways of division, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application.
  • the aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

Embodiments of the present application provide a polar code rate matching method and a communication apparatus. The method comprises: on the basis of a first symbol quantity n, determining a second symbol quantity n', n' being greater than or equal to n, n' being an integer power of 2, and n being a positive integer; on the basis of the first symbol quantity n and the second symbol quantity n', determining a first position set, the first position set comprising first bit positions corresponding to (n'-n) symbols; and pre-freezing bits in a second sequence that are indicated by the first bit positions, to obtain a third sequence, the third sequence being a pre-frozen sequence related to polar code coding. The present method determines the first position set on the basis of the first symbol quantity and the second symbol quantity, and pre-freezes the bits indicated by the first bit positions in the first position set to obtain a third sequence. The method can ensure alignment of rate matching positions corresponding to the corresponding number of coding layers in MLC, thereby improving coding and decoding performance.

Description

polar码的速率匹配的方法以及通信装置Polar code rate matching method and communication device

本申请要求在2023年11月06日提交中国国家知识产权局、申请号为202311473427.9、发明名称为“polar码的速率匹配的方法以及通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China on November 6, 2023, with application number 202311473427.9 and invention name “Polar code rate matching method and communication device”, all contents of which are incorporated by reference in this application.

技术领域Technical Field

本申请实施例涉及编码领域,更具体地,涉及一种polar码速率匹配的方法以及通信装置。The embodiments of the present application relate to the field of coding, and more specifically, to a method for polar code rate matching and a communication device.

背景技术Background Art

通信系统通常采用信道编码提高数据传输的可靠性,保证通信的质量。polar码(极性码)是可以取得香农容量且具有低编译码复杂度的编码方式。Communication systems usually use channel coding to improve the reliability of data transmission and ensure the quality of communication. Polar code is a coding method that can achieve Shannon capacity and has low coding complexity.

polar码是一种能够被严格证明,达到香农信道容量的信道编码方案,polar码具有性能好,复杂度低等特点。目前该被第三代伙伴计划(3rd generation partnership project,3GPP)确定成为第五代5G(5th generation,5G)场景增强移动宽带(enhanced mobile broadband,eMBB)场景(上行/下行)控制信道编码方案。Polar code is a channel coding scheme that can be strictly proven to achieve Shannon channel capacity. Polar code has the characteristics of good performance and low complexity. It is currently identified by the 3rd Generation Partnership Project (3GPP) as the control channel coding scheme for the enhanced mobile broadband (eMBB) scenario (uplink/downlink) of the fifth generation 5G (5th generation, 5G) scenario.

在多层编码(multi-level coding,MLC)中,可以将m个polar码通过调制(modulation)耦合起来,而MLC对应的串行解调可以看成是一种相比polar码更强的极化效果。目前,MLC中的polar码的速率匹配方式往往是根据MLC中每一层编码对应的码率大小确定的,导致MLC编码层数对应的速率匹配方式可能不同,即存在编码层数对应的速率匹配的比特位置无法对其,进一步影响后续的编译码性能。In multi-level coding (MLC), m polar codes can be coupled through modulation, and the serial demodulation corresponding to MLC can be regarded as a stronger polarization effect than polar codes. At present, the rate matching method of polar codes in MLC is often determined according to the code rate size corresponding to each layer of coding in MLC, resulting in different rate matching methods corresponding to the number of MLC coding layers, that is, there are bit positions of rate matching corresponding to the number of coding layers that cannot be aligned, further affecting the subsequent encoding and decoding performance.

发明内容Summary of the invention

本申请实施例提供一种polar码速率匹配的方法,涉及了在多层编码MLC场景下的polar码速率匹配方法,能够提升编译码性能。The embodiment of the present application provides a method for polar code rate matching, which relates to a polar code rate matching method in a multi-layer coding MLC scenario, and can improve coding performance.

第一方面,提供了一种polar码速率匹配的方法,该方法包括:基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数;根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,所述第一位置集合包括(n’-n)个符号对应的第一比特位置;在第二序列中,对所述第一比特位置指示的比特进行预冻结,得到第三序列,所述第三序列为极性polar码编码相关的预冻结序列,其中,所述第二序列是根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结得到的序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数。In a first aspect, a method for polar code rate matching is provided, the method comprising: determining a second symbol number n' based on a first symbol number n, n'≥n, and n' is an integer power of 2, and n is a positive integer; determining a first position set according to the first symbol number n and the second symbol number n', the first position set including first bit positions corresponding to (n'-n) symbols; in a second sequence, pre-freezing the bits indicated by the first bit positions to obtain a third sequence, the third sequence being a pre-freezing sequence related to polar polar code encoding, wherein the second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n', the first sequence corresponds to the number of symbols N and the modulation order M, N≥n', and N and M are both positive integers.

应理解,该第一符号数n是系统根据信道资源分配的,该n的具体取值本申请不做限定。It should be understood that the first symbol number n is allocated by the system according to channel resources, and the specific value of n is not limited in this application.

还应理解,本申请中的调制阶数与MLC中的编码层数相对应。例如,该序列对应的调制阶数为M,则MLC的编码层数为M。It should also be understood that the modulation order in the present application corresponds to the number of coding layers in MLC. For example, if the modulation order corresponding to the sequence is M, then the number of coding layers in MLC is M.

还应理解,第一序列是系统预设的序列,该第一序列对应符号个数N以及调制阶数M,即该第一序列的长度可以表示为(N*M)。其中N以及M的具体取值,本申请不做限定。It should also be understood that the first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M), wherein the specific values of N and M are not limited in this application.

还应理解,根据第一符号数n,确定第二符号数n’,该第二符号数n’是根据第一符号数n确定的一个2的整数次幂的正整数。例如,第一符号数n为22,该第二符号数n’可以为32等等;该第一符号数n为6,该第二符号数n’可以为8等等。It should also be understood that the second symbol number n' is determined according to the first symbol number n, and the second symbol number n' is a positive integer of an integer power of 2 determined according to the first symbol number n. For example, if the first symbol number n is 22, the second symbol number n' may be 32, and so on; if the first symbol number n is 6, the second symbol number n' may be 8, and so on.

根据本申请提供的方法,通过第一符号数n确定第二符号数n’,并进一步地根据第一符号数n和第二符号数n’确定第一位置集合。该第一位置集合中包括的第一比特位置用于指示对第二序列中的(n’-n)*M个比特位置进行预冻结,得到第三序列。该第二序列是根据系统预设的序列(例如第一序列)中的N-n’个符号对应的比特进行预冻结得到的。其中,该第三序列为预冻结序列,可以理解 为:该第三序列中预冻结的比特位置可以是后续进行速率匹配的比特位置,或者,该第三序列对应的预冻结比特位置后续用于确定最终的速率匹配的比特位置。本申请提供的方法,根据第一符号数和第二符号数确定第一位置集合,该第一位置集合中包括的第一比特位置用于确定该预冻结序列,并非根据码率大小的方式确定速率匹配的方式(例如打孔,截短),从而能够保证MLC中对应的编码层数对应的速率匹配位置对齐,提高编译码的性能。According to the method provided by the present application, the second symbol number n' is determined by the first symbol number n, and the first position set is further determined according to the first symbol number n and the second symbol number n'. The first bit position included in the first position set is used to indicate that the (n'-n)*M bit positions in the second sequence are pre-frozen to obtain a third sequence. The second sequence is obtained by pre-freezing the bits corresponding to the N-n' symbols in the sequence preset by the system (for example, the first sequence). Among them, the third sequence is a pre-frozen sequence, which can be understood The pre-frozen bit position in the third sequence may be a bit position for subsequent rate matching, or the pre-frozen bit position corresponding to the third sequence is subsequently used to determine the final rate matching bit position. The method provided by the present application determines a first position set according to a first symbol number and a second symbol number, and the first bit position included in the first position set is used to determine the pre-frozen sequence, rather than determining the rate matching method (such as puncturing, truncation) according to the code rate size, thereby ensuring that the rate matching positions corresponding to the corresponding coding layer numbers in the MLC are aligned, thereby improving the performance of encoding and decoding.

结合第一方面,在一些可能实现的方式中,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定第二位置集合,所述第二位置集合包括所述第二序列中第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,所述第二位置集合包括(n’-n)个符号对应的第二比特位置;对所述(n’-n)个符号对应的所述第二比特位置进行比特逆序,确定所述第一位置集合。In combination with the first aspect, in some possible implementation methods, determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the second position set based on the first symbol number n, the second symbol number n’ and the second sequence, the second position set including the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol in the second sequence, the second position set including the second bit positions corresponding to the (n’-n)th symbols; and reversing the bits of the second bit positions corresponding to the (n’-n)th symbols to determine the first position set.

基于上述技术方案,第一符号数n,第二符号数n’和第二序列确定第二位置集合,该第二位置集合中包括第二序列中第n个符号对应的比特位置至第n’-1个符号对应的比特位置,其中该n小于或者等于n’-1。通过对第二位置集合中该(n’-n)个符号对应的第二比特位置进行比特逆序,得到(n’-n)个第一比特位置,该(n’-n)个第一比特位置称为第一位置集合。通过该第一位置集合中包括的第一比特位置确定第三序列,并非根据码率大小的方式确定速率匹配的方式(例如打孔,截短),从而能够保证MLC中对应的编码层数对应的速率匹配位置对齐,提高编译码的性能。Based on the above technical solution, the first symbol number n, the second symbol number n' and the second sequence determine the second position set, and the second position set includes the bit position corresponding to the nth symbol in the second sequence to the bit position corresponding to the n'-1th symbol, where n is less than or equal to n'-1. By reversing the bits of the second bit positions corresponding to the (n'-n) symbols in the second position set, (n'-n) first bit positions are obtained, and the (n'-n) first bit positions are called the first position set. The third sequence is determined by the first bit positions included in the first position set, and the rate matching method (such as puncturing, truncation) is not determined according to the code rate size, so that the rate matching positions corresponding to the corresponding coding layers in the MLC are aligned, thereby improving the encoding and decoding performance.

结合第一方面,在一些可能实现的方式中,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置。In combination with the first aspect, in some possible implementation methods, determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the first position set based on the first symbol number n, the second symbol number n’ and the second sequence, the first bit position corresponding to the (n’-n) symbols in the first position set being the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.

基于上述技术方案,该第一位置集合中包括的第一比特位置是根据第二序列中的比特位置进行子块交织确定的,该MLC中各层编码层数对应的预冻结位置均是根据第一位置集合确定的,并非按照各编码层数对应的码率确定的,从而保证了编码层数中各层速率匹配的位置对齐,提高编译码性能。Based on the above technical solution, the first bit position included in the first position set is determined by sub-block interleaving according to the bit position in the second sequence, and the pre-freeze positions corresponding to each coding layer in the MLC are all determined according to the first position set, rather than according to the bit rate corresponding to each coding layer, thereby ensuring the position alignment of the rate matching of each layer in the coding layer and improving the encoding and decoding performance.

结合第一方面,在一些可能实现的方式中,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:根据所述第一符号数n,所述第二符号数n’和码率Ri,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,或者,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置,其中,所述Ri是所述第二序列中第i个调制阶数对应的信息比特的个数ki与第一符号数n的比值,0≤i≤M-1。In combination with the first aspect, in some possible implementation methods, determining the first position set according to the first symbol number n and the second symbol number n' includes: determining the first position set according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, wherein Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first symbol number n, 0≤i≤M-1.

应理解,将K个信息比特根据调制阶数M划分为M份,即调制阶数M对应的编码层数M中每一个编码层数均可以包括该K个信息比特中的一个或者多个信息比特。或者可以称为,第i调制阶数包括的信息比特的个数为ki,进一步地确定第i个调制阶数对应的码率Ri。It should be understood that the K information bits are divided into M parts according to the modulation order M, that is, each of the coding layers M corresponding to the modulation order M can include one or more information bits among the K information bits. Alternatively, it can be said that the number of information bits included in the i-th modulation order is ki, and the code rate Ri corresponding to the i-th modulation order is further determined.

例如,该Ri为该第i个调制阶数上包括的信息比特数ki与第一符号数n的比值。For example, the Ri is the ratio of the number of information bits ki included in the i-th modulation order to the first number of symbols n.

其中,当Ri大于第一阈值时,第一位置集合中的(n’-n)个符号对应的第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置;当Ri小于或者等于第一阈值时,第一位置集合中的(n’-n)个符号对应的第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置。Among them, when Ri is greater than the first threshold, the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence; when Ri is less than or equal to the first threshold, the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence.

应理解,该第一阈值为系统预定义的,或者协议规定的。该第一阈值的大小,本申请不做限定。It should be understood that the first threshold is predefined by the system or specified by the protocol. The size of the first threshold is not limited in this application.

结合第一方面,在一些可能实现的方式中,所述方法还包括:根据所述第三序列,将K个信息比特分配在所述第三序列中M个调制阶数对应的非预冻结比特中;对所述第三序列的所述调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;对所述M个n’长的码字进行调制,得到n’个符号;将所述第三序列中可靠度最高的调制阶数对应的比特位置,作为速率匹配序列;根据所述速率匹配序列,从所述n’个符号中选择n个符号作为发送符号,进行发送。In combination with the first aspect, in some possible implementation methods, the method also includes: according to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; encoding each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n’-length codewords; modulating the M n’-length codewords to obtain n’ symbols; using the bit position corresponding to the modulation order with the highest reliability in the third sequence as a rate matching sequence; and selecting n symbols from the n’ symbols as transmission symbols according to the rate matching sequence, and sending them.

基于上述技术方案,将第三序列中可靠度最高的调制阶数对应的比特作为速率匹配序列;并根据 该速率匹配序列从该n’个符号中选择n个符号作为发送符号进行发送。该方法可以先对K个信息比特分配的M个调制阶数对应的非预冻结比特中,并对M个编码层数对应的每一层进行编码,并对编码后的码字进行调制得到n’个编码调制符号中选择n个符号作为发送符号进行发送。从而实现先编码调制,对编码调制后的n’个符号进行速率匹配得到n个符号作为发送符号进行发送,保证编译码性能。Based on the above technical solution, the bits corresponding to the modulation order with the highest reliability in the third sequence are used as the rate matching sequence; and according to The rate matching sequence selects n symbols from the n' symbols as transmission symbols for transmission. The method can first encode the non-pre-frozen bits corresponding to the M modulation orders allocated to the K information bits, and each layer corresponding to the M coding layers, and modulate the encoded codeword to obtain n' coded modulation symbols, and select n symbols as transmission symbols for transmission. Thus, coding modulation is implemented first, and rate matching is performed on the n' symbols after coding modulation to obtain n symbols as transmission symbols for transmission, thereby ensuring the coding performance.

可选的,所述根据所述速率匹配序列,从所述n’个符号中选择n个符号作为发送符号,包括:将所述第一位置集合中可靠度最高的调制阶数对应的比特位置,作为速率匹配位置;从所述速率匹配序列中选择除所述速率匹配位置之外的n个符号作为发送符号。Optionally, selecting n symbols from the n’ symbols as transmitting symbols according to the rate matching sequence includes: taking the bit position corresponding to the modulation order with the highest reliability in the first position set as the rate matching position; and selecting n symbols other than the rate matching position from the rate matching sequence as transmitting symbols.

应理解,速率匹配序列中速率匹配位置为预冻结位置,或者,该速率匹配位置用于确定预冻结位置。该速率匹配位置与预冻结位置可能相同或者不同,对此本申请不做限定。其中,该速率匹配位置对应的符号不进行发送。It should be understood that the rate matching position in the rate matching sequence is a pre-freeze position, or the rate matching position is used to determine the pre-freeze position. The rate matching position and the pre-freeze position may be the same or different, and this application does not limit this. Among them, the symbol corresponding to the rate matching position is not sent.

还应理解,将第三序列中可靠度最高的调制阶数对应的比特作为速率匹配序列,并根据第一位置集合中可靠度最高的调制阶数对应的比特位置作为速率匹配位置,从该速率匹配序列中选择除该速率匹配位置之外的比特位置对应的符号作为发送符号进行发送,从而保证编译码性能。It should also be understood that the bits corresponding to the modulation order with the highest reliability in the third sequence are used as the rate matching sequence, and the bit positions corresponding to the modulation order with the highest reliability in the first position set are used as the rate matching positions, and the symbols corresponding to the bit positions other than the rate matching positions are selected from the rate matching sequence as transmission symbols for transmission, thereby ensuring the encoding and decoding performance.

结合第一方面,在一些可能实现的方式中,所述方法还包括:根据所述第三序列,将K个信息比特分配在所述第三序列中M个调制阶数对应的非预冻结比特中;对所述第三序列的所述调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;将所述第三序列作为速率匹配序列,得到M个n长的发送序列,发送n个发送符号,所述n个发送符号是根据所述M个n长的发送序列进行调制得到的。In combination with the first aspect, in some possible implementation methods, the method also includes: according to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; encoding each layer of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; using the third sequence as a rate matching sequence to obtain M n-length transmission sequences, sending n transmission symbols, and the n transmission symbols are modulated according to the M n-length transmission sequences.

基于上述技术方案,将第三序列作为速率匹配序列,对编码后的M个n’长的码字进行速率匹配得到M个n长的码字;并对该M个n长的码字进行编码,得到n个发送符号进行发送。该方法可以先对K个信息比特分配的M个调制阶数对应的非预冻结比特中,并对M个编码层数对应的每一层进行编码,对编码后的码字进行速率匹配,从M个n’长的码字中得到M个n长的码字。对该M个n长的码字进行调制n个符号作为发送符号进行发送。从而实现先编码,对编码后的码字进行速率匹配,最后调制成为n个符号作为发送符号进行发送,保证编译码性能。Based on the above technical solution, the third sequence is used as a rate matching sequence, and the encoded M n'-length codewords are rate matched to obtain M n-length codewords; and the M n-length codewords are encoded to obtain n transmission symbols for transmission. This method can first encode the non-pre-frozen bits corresponding to the M modulation orders allocated to the K information bits, and each layer corresponding to the M coding layers, and rate match the encoded codewords to obtain M n-length codewords from the M n'-length codewords. The M n-length codewords are modulated into n symbols as transmission symbols for transmission. Thus, encoding is achieved first, rate matching is performed on the encoded codewords, and finally modulation is performed into n symbols as transmission symbols for transmission, thereby ensuring the coding performance.

第二方面,提供一种Polar码的速率匹配的方法,其特征在于,包括:基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数;根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,所述第一位置集合包括(n’-n)个符号对应的第一比特位置;在第二序列中,对所述第一比特位置指示的比特进行预冻结,得到第三序列,所述第三序列为极性polar码译码相关的预冻结序列,其中,所述第二序列是根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结得到的序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数。In a second aspect, a method for rate matching of a polar code is provided, characterized in that it includes: determining a second symbol number n' based on a first symbol number n, where n'≥n, and n' is an integer power of 2, and n is a positive integer; determining a first position set according to the first symbol number n and the second symbol number n', wherein the first position set includes first bit positions corresponding to (n'-n) symbols; in a second sequence, pre-freezing the bits indicated by the first bit positions to obtain a third sequence, wherein the third sequence is a pre-freezing sequence related to polar code decoding, wherein the second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n', and the first sequence corresponds to the number of symbols N and the modulation order M, where N≥n', and N and M are both positive integers.

根据本申请提供的方法,通过第一符号数n确定第二符号数n’,并进一步地根据第一符号数n和第二符号数n’确定第一位置集合。该第一位置集合中包括的第一比特位置用于指示对第二序列中的(n’-n)个比特位置进行预冻结,得到第三序列。该第二序列是根据系统预设的序列(例如第一序列)中的N-n’个符号对应的比特进行预冻结得到的。其中,该第三序列为预冻结序列,可以理解为:该第三序列中预冻结的比特位置可以是后续进行解速率匹配的比特位置,或者,该第三序列对应的预冻结比特位置后续用于确定解速率匹配的比特位置。本申请提供的方法,根据第一符号数和第二符号数确定第一位置集合,该第一位置集合中包括的第一比特位置用于确定该预冻结序列,从而提高编译码的性能。According to the method provided by the present application, the second symbol number n' is determined by the first symbol number n, and the first position set is further determined according to the first symbol number n and the second symbol number n'. The first bit position included in the first position set is used to indicate that the (n'-n) bit positions in the second sequence are pre-frozen to obtain a third sequence. The second sequence is obtained by pre-freezing the bits corresponding to the N-n' symbols in a sequence preset by the system (for example, the first sequence). Among them, the third sequence is a pre-frozen sequence, which can be understood as: the pre-frozen bit position in the third sequence can be the bit position for subsequent rate matching, or the pre-frozen bit position corresponding to the third sequence is subsequently used to determine the bit position for rate matching. The method provided by the present application determines a first position set according to the first symbol number and the second symbol number, and the first bit position included in the first position set is used to determine the pre-frozen sequence, thereby improving the performance of encoding and decoding.

结合第二方面,在一些可能实现的方式中,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:In conjunction with the second aspect, in some possible implementations, determining the first position set according to the first symbol number n and the second symbol number n′ includes:

根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定第二位置集合,所述第二位置集合包括所述第二序列中第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,所述第二位置集合包括(n’-n)个符号对应的第二比特位置;Determine a second position set according to the first symbol number n, the second symbol number n' and the second sequence, the second position set including a bit position corresponding to the nth symbol to a bit position corresponding to the (n'-1)th symbol in the second sequence, and the second position set including second bit positions corresponding to the (n'-n)th symbol;

对所述(n’-n)个符号对应的所述第二比特位置进行比特逆序,确定所述第一位置集合。The second bit positions corresponding to the (n’-n) symbols are bit reversed to determine the first position set.

基于上述技术方案,第一符号数n,第二符号数n’和第二序列确定第二位置集合,该第二位置集合中包括第二序列中第n个符号对应的比特位置至第n’-1个符号对应的比特位置,其中该n小于 n’-1。通过对第二位置集合中该(n’-n)个符号对应的第二比特位置进行比特逆序,得到(n’-n)个第一比特位置,该(n’-n)个第一比特位置称为第一位置集合。通过该第一位置集合中包括的第一比特位置确定第三序列,确定MLC中对应的编码层数对应的解速率匹配的位置,提高编译码的性能。Based on the above technical solution, the first symbol number n, the second symbol number n' and the second sequence determine a second position set, and the second position set includes the bit position corresponding to the nth symbol in the second sequence to the bit position corresponding to the n'-1th symbol, where n is less than n'-1. By reversing the second bit positions corresponding to the (n'-n) symbols in the second position set, (n'-n) first bit positions are obtained, and the (n'-n) first bit positions are called the first position set. The third sequence is determined by the first bit positions included in the first position set, and the position of the rate matching corresponding to the corresponding number of coding layers in the MLC is determined to improve the performance of encoding and decoding.

结合第二方面,在一些可能实现的方式中,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置。In combination with the second aspect, in some possible implementation methods, determining the first position set based on the first symbol number n and the second symbol number n’ includes: determining the first position set based on the first symbol number n, the second symbol number n’ and the second sequence, the first bit position corresponding to the (n’-n) symbols in the first position set being the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.

基于上述技术方案,该第一位置集合中包括的第一比特位置是根据第二序列中的比特位置进行子块交织确定的,该MLC中各层编码层数对应的预冻结位置均是根据第一位置集合确定的,并非按照各编码层数对应的码率确定的,保证编译码性能。Based on the above technical solution, the first bit position included in the first position set is determined by sub-block interleaving according to the bit position in the second sequence, and the pre-freeze positions corresponding to each coding layer in the MLC are all determined according to the first position set, rather than according to the bit rate corresponding to each coding layer, to ensure encoding and decoding performance.

结合第二方面,在一些可能实现的方式中,所述方法还包括:In conjunction with the second aspect, in some possible implementations, the method further includes:

所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The determining of a first position set according to the first symbol number n and the second symbol number n' comprises:

根据所述第一符号数n,所述第二符号数n’和码率Ri,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,或者,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置,The first position set is determined according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence,

其中,所述Ri是所述第二序列中第i个调制阶数对应的信息比特的个数ki与第一符号数n的比值,0≤i≤M-1。Among them, the Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0≤i≤M-1.

结合第二方面,在一些可能实现的方式中,所述方法还包括:In conjunction with the second aspect, in some possible implementations, the method further includes:

接收n个发送符号,对该n个发送符号按照所述调制阶数M对应的编码层数逐层进行串行解调,得到n长的待速率匹配的信息序列;根据所述第一位置集合中可靠度最高的比特位置,对所述M个n长的待速率匹配的信息序列进行解速率匹配得到M个n’长的待译码的信息序列;对所述M个n’长的待译码的信息序列按照所述调制阶数M对应的编码层数逐层进行译码,得到编码层数中第i层编码层数对应的ki个信息比特,K为正整数。receiving n transmitted symbols, serially demodulating the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain an n-length information sequence to be rate matched; performing rate de-matching on the M n-length information sequences to be rate matched according to the bit position with the highest reliability in the first position set to obtain M n'-length information sequences to be decoded; decoding the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain ki information bits corresponding to the i-th coding layer number in the coding layer number, K is a positive integer.

应理解,第二设备接收n个发送符号,并对该n个发送符号按照调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待速率匹配的信息序列。第二设备对编码层数逐层进行串行解调的具体过程,可以参见上述MLC中串行解调类似。It should be understood that the second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length information sequences to be rate matched. The specific process of the second device serially demodulating the number of coding layers layer by layer can be similar to the serial demodulation in the above-mentioned MLC.

还应理解,假设MLC中第i层的码率小于第一阈值时,则第二设备在解速率匹配时,第二设备对第一位置集合中对应得第一比特位置填入“0”;假设MLC中第i层的码率大于或者等于第一阈值时,则第二设备在解速率匹配时,对第一位置集合中对应得第一比特位置填入无穷大值,例如,正无穷大,或者,负无穷大。It should also be understood that, assuming that the code rate of the i-th layer in MLC is less than the first threshold, then when the second device solves the rate matching, the second device fills in "0" for the corresponding first bit position in the first position set; assuming that the code rate of the i-th layer in MLC is greater than or equal to the first threshold, then when the second device solves the rate matching, the second device fills in an infinite value, for example, positive infinity, or negative infinity, for the corresponding first bit position in the first position set.

结合第二方面,在一些可能实现的方式中,所述方法还包括:In conjunction with the second aspect, in some possible implementations, the method further includes:

接收n个发送符号,对该n个发送符号按照所述调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待速率匹配的信息序列;根据所述调制阶数M对应的编码层数中第i层编码层数对应的所述第一位置集合中的第一比特位置,对所述M个n长的待速率匹配的信息序列进行解速率匹配得到M个n’长的待译码的信息序列;对所述M个n’长的待译码的信息序列按照所述调制阶数M对应的编码层数逐层进行译码,得到所述第i层编码层数对应的ki个信息比特,K为正整数。Receive n transmitted symbols, perform serial demodulation layer by layer on the n transmitted symbols according to the number of coding layers corresponding to the modulation order M, and obtain M n-length information sequences to be rate matched; perform rate demodulation on the M n-length information sequences to be rate matched according to the first bit position in the first position set corresponding to the i-th coding layer number in the number of coding layers corresponding to the modulation order M, and obtain M n'-length information sequences to be decoded; and decode the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, and obtain ki information bits corresponding to the i-th coding layer number. K is a positive integer.

第三方面,提供了一种通信装置,该通信装置具有实现第一方面或第一方面的任一可能的实现方式中的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。In a third aspect, a communication device is provided, which has the function of implementing the method in the first aspect or any possible implementation of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.

第四方面,提供了一种通信装置,该通信装置具有实现第二方面或第二方面的任一可能的实现方式中的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。In a fourth aspect, a communication device is provided, which has the function of implementing the method in the second aspect or any possible implementation of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.

第五方面,提供一种通信装置,包括处理器和存储器。可选地,还可以包括收发器。其中,存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,并控制收发器收发信号, 以使通信装置执行如第一方面或第一方面的任一可能的实现方式中的方法。In a fifth aspect, a communication device is provided, comprising a processor and a memory. Optionally, a transceiver may also be included. The memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and control the transceiver to send and receive signals. So that the communication device executes the method in the first aspect or any possible implementation manner of the first aspect.

第六方面,提供一种通信装置,包括处理器和存储器。可选地,还可以包括收发器。其中,存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,并控制收发器收发信号,以使通信装置执行如第二方面或第二方面的任一可能的实现方式中的方法。In a sixth aspect, a communication device is provided, comprising a processor and a memory. Optionally, a transceiver may also be included. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, and control the transceiver to send and receive signals, so that the communication device executes the method in the second aspect or any possible implementation of the second aspect.

第七方面,提供一种通信装置,包括处理器和通信接口,该通信接口用于接收数据和/或信息,并将接收到的数据和/或信息传输至该处理器,该处理器处理该数据和/或信息,以及,通信接口还用于输出经处理器处理之后的数据和/或信息,以使得如第一方面,或第一方面的任一可能的实现方式中的方法被执行。In a seventh aspect, a communication device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive data and/or information and transmit the received data and/or information to the processor, and the processor processes the data and/or information, and the communication interface is also used to output the data and/or information processed by the processor, so that the method in the first aspect, or any possible implementation of the first aspect, is executed.

第八方面,提供一种通信装置,包括处理器和通信接口,该处理器处理待发送的数据和/或信息,以及,通信接口还用于输出经处理器处理之后的数据和/或信息,以使得如第二方面,或第二方面的任一可能的实现方式中的方法被执行。In an eighth aspect, a communication device is provided, comprising a processor and a communication interface, wherein the processor processes data and/or information to be sent, and the communication interface is also used to output the data and/or information processed by the processor, so that the method in the second aspect, or any possible implementation of the second aspect, is executed.

第九方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得如第一方面或第二方面,或这些方面中任一可能的实现方式中的方法被执行。In a ninth aspect, a computer-readable storage medium is provided, in which computer instructions are stored. When the computer instructions are executed on a computer, the method in the first aspect or the second aspect, or any possible implementation of these aspects, is executed.

第十方面,提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当该计算机程序代码在计算机上运行时,使得如第一方面或第二方面,或这些方面中的任一方面的任一可能的实现方式中的方法被执行。In a tenth aspect, a computer program product is provided, which includes a computer program code. When the computer program code runs on a computer, the method in any possible implementation of the first aspect or the second aspect, or any of these aspects, is executed.

第十一方面,提供一种通信系统,包括如第五方面所述的通信装置,或如第六方面所述的通信装置。In an eleventh aspect, a communication system is provided, comprising the communication device as described in the fifth aspect, or the communication device as described in the sixth aspect.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是适用于本申请的技术方案的通信系统的系统架构的示意图。FIG1 is a schematic diagram of the system architecture of a communication system applicable to the technical solution of the present application.

图2是一种速率匹配的方法200示意性流程图。FIG. 2 is a schematic flow chart of a rate matching method 200 .

图3是m-阶调制的MLC流程示意图。FIG. 3 is a schematic diagram of the MLC process of m-order modulation.

图4是一种串行解调和并行解调的仿真示意图。FIG. 4 is a simulation diagram of serial demodulation and parallel demodulation.

图5是一种MLC序列示意图。FIG. 5 is a schematic diagram of an MLC sequence.

图6是本申请提供的一种polar码速率匹配方法的流程性示意图。FIG6 is a flow chart of a polar code rate matching method provided in the present application.

图7是另一种MLC序列的示意图。FIG. 7 is a schematic diagram of another MLC sequence.

图8是另一种MLC序列的示意图。FIG8 is a schematic diagram of another MLC sequence.

图9是另一种MLC序列的示意图。FIG. 9 is a schematic diagram of another MLC sequence.

图10是一种BLER的仿真示意图。FIG. 10 is a schematic diagram of a BLER simulation.

图11是另一种BLER的仿真示意图。FIG. 11 is a schematic diagram of another BLER simulation.

图12为本申请提供的通信装置1200的示意性框图。FIG12 is a schematic block diagram of a communication device 1200 provided in the present application.

图13为本申请提供的通信装置1300的示意性结构图。FIG13 is a schematic structural diagram of a communication device 1300 provided in the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.

本申请实施例的技术方案可以应用于各种通信系统,包括但不限于:卫星通信系统、第五代(the 5th generation,5G)系统、长期演进(long term evolution,LTE)系统(LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统)等。本申请提供的技术方案还可以应用于未来的通信系统,例如第六代移动通信系统。此外,还可以应用于设备到设备(device to device,D2D)通信,车联万物(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及物联网(internet of things,IoT)通信系统或者其它通信系统等,本文对此不作限定。The technical solutions of the embodiments of the present application can be applied to various communication systems, including but not limited to: satellite communication systems, the 5th generation (5G) systems, long term evolution (LTE) systems (LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems), etc. The technical solutions provided in the present application can also be applied to future communication systems, such as the sixth generation mobile communication system. In addition, it can also be applied to device to device (D2D) communication, vehicle-to-everything (V2X) communication, machine to machine (M2M) communication, machine type communication (MTC), and Internet of Things (IoT) communication systems or other communication systems, etc., which are not limited in this article.

本申请实施例的技术方案还可以应用窄带物联网系统(narrow band-internet of things,NB-IoT)、全球移动通信系统(global system for mobile communications,GSM)、增强型数据速率GSM演进系统(enhanced data rate for gsm evolution,EDGE)、宽带码分多址系统(wideband code division multiple  access,WCDMA)、码分多址2000系统(code division multiple access,CDMA2000)、时分同步码分多址系统(time division-synchronization code division multiple access,TD-SCDMA),以及下一代5G移动通信系统的三大应用场景增强移动宽带(enhanced mobile broadband,eMBB),超可靠低时延通信(ultra-reliable and low-latency communications,URLLC)和大规模机器通信(massive machine type communications,eMTC)。The technical solution of the embodiment of the present application can also be applied to narrowband Internet of Things (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA) and other systems. The 5G mobile communication system is based on the three major application scenarios of the next generation 5G mobile communication system, namely enhanced mobile broadband (eMBB), ultra-reliable and low-latency communications (URLLC) and massive machine type communications (eMTC).

图1是适用于本申请的技术方案的通信系统的系统架构的示意图。该通信系统可以包括一个或多个网络设备,以及,一个或多个终端设备。Fig. 1 is a schematic diagram of the system architecture of a communication system applicable to the technical solution of the present application. The communication system may include one or more network devices and one or more terminal devices.

示例性地,终端设备也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、移动终端(mobile terminal,MT)、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请实施例中的终端设备可以是指向用户提供语音和/或数据连通性的设备,可以用于连接人、物和机,例如具有无线连接功能的手持式设备、车载设备等。本申请的实施例中的终端设备可以是手机(mobile phone)、平板电脑(pad)、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、个人数字助理、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端,车载的移动终端等。可选地,UE可以用于充当基站。例如,UE可以充当调度实体,其在V2X或D2D等中的UE之间提供侧行链路信号。Exemplarily, the terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiment of the present application may be a device that provides voice and/or data connectivity to a user, and may be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a personal digital assistant, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a mobile terminal in a vehicle, etc. Optionally, the UE can be used to act as a base station. For example, the UE can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc.

本申请实施例中,用于实现终端的功能的装置可以是终端,也可以是能够支持终端实现该功能的装置,例如芯片系统或芯片,该装置可以被安装在终端中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。In the embodiment of the present application, the device for realizing the function of the terminal can be a terminal, or a device capable of supporting the terminal to realize the function, such as a chip system or a chip, which can be installed in the terminal. In the embodiment of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

示例性地,网络设备可以是具有无线收发功能的设备,该网络设备可以是提供无线通信功能服务的设备,通常位于网络侧,包括但不限于第五代(5th generation,5G)通信系统中的下一代基站(gNodeB,gNB)、第六代(6th generation,6G)移动通信系统中的基站、未来移动通信系统中的基站或无线保真(wireless fidelity,Wi-Fi)系统中的接入节点,长期演进(long term evolution,LTE)系统中的演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),传输接收点(transmission reception point,TRP)、发射点(transmitting point,TP)、基站收发台(base transceiver station,BTS)等。在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点,或包括分布单元(distributed unit,DU)节点,或包括CU节点和DU节点的RAN设备,或包括控制面CU节点和用户面CU节点,以及DU节点的RAN设备,或者,网络设备还可以为云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器、中继站、车载设备以及可穿戴设备等。此外,基站可以是宏基站、微基站、中继节点、施主节点,或其组合。基站还可以指用于设置于前述设备或装置内的通信模块、调制解调器或芯片。基站还可以是移动交换中心以及D2D、V2X、M2M通信中承担基站功能的设备、6G网络中的网络侧设备、未来的通信系统中承担基站功能的设备等。基站可以支持相同或不同接入技术的网络,不作限定。Exemplarily, a network device may be a device with wireless transceiver functions, and the network device may be a device that provides wireless communication function services, and is usually located on the network side, including but not limited to the next generation base station (gNodeB, gNB) in the fifth generation (5th generation, 5G) communication system, the base station in the sixth generation (6th generation, 6G) mobile communication system, the base station in the future mobile communication system or the access node in the wireless fidelity (wireless fidelity, Wi-Fi) system, the evolved node B (evolved node B, eNB) in the long term evolution (long term evolution, LTE) system, and the wireless network controller. The network device may include a radio network controller (RNC), a node B (NB), a base station controller (BSC), a home base station (e.g., home evolved NodeB, or home Node B, HNB), a base band unit (BBU), a transmission reception point (TRP), a transmitting point (TP), a base transceiver station (BTS), etc. In a network structure, the network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a RAN device including a control plane CU node and a user plane CU node, and a DU node, or the network device may also be a wireless controller, a relay station, a vehicle-mounted device, and a wearable device in a cloud radio access network (CRAN) scenario. In addition, the base station can be a macro base station, a micro base station, a relay node, a donor node, or a combination thereof. The base station can also refer to a communication module, a modem, or a chip used to be set in the aforementioned device or apparatus. The base station can also be a mobile switching center and a device that performs the base station function in D2D, V2X, and M2M communications, a network-side device in a 6G network, and a device that performs the base station function in a future communication system. The base station can support networks with the same or different access technologies without limitation.

本申请实施例中,用于实现网络设备的功能的装置可以是网络设备,也可以是能够支持网络设备实现该功能的装置,例如芯片系统或芯片,该装置可以被安装在网络设备中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。In the embodiment of the present application, the device for implementing the function of the network device can be a network device, or a device that can support the network device to implement the function, such as a chip system or a chip, which can be installed in the network device. In the embodiment of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices.

应理解,本申请提供的速率匹配的方法可以认为是信道编码方案,可以用于专用网设备或通用设备,可以应用于如上所述的各种网络设备(例如,基站设备),也可以应用于如上所述的各种终端设备。具体地,该信道编码方案,主要通过这些设备中的信道编码单元实现。It should be understood that the rate matching method provided in the present application can be considered as a channel coding scheme, which can be used in a dedicated network device or a general device, can be applied to various network devices (e.g., base station devices) as described above, and can also be applied to various terminal devices as described above. Specifically, the channel coding scheme is mainly implemented by a channel coding unit in these devices.

本申请实施例中提供的方法还可以通过应用特有集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)等实现,也可以通过软件(例如,存储器中的程序代码)实现,不作限定。The method provided in the embodiments of the present application can also be implemented by application specific integrated circuit (ASIC), field programmable gate array (FPGA), etc., or by software (for example, program code in a memory), without limitation.

接下来,为了便于理解本申请提供的实施例,下面将对本申请涉及的术语进行简单介绍:Next, in order to facilitate understanding of the embodiments provided in this application, the terms involved in this application are briefly introduced below:

1.极化码 1. Polarization code

极化码也称为Polar码,是基于信道极化所给出的一种新的编码方式,具有确定性的构造方法,并且是已知的唯一一种被严格证明“达到”信道容量的信道编码方法。从代数编码和概率编码的角度来说,极化码具备了两者各自的特点。Polar code, also known as Polar code, is a new coding method based on channel polarization. It has a deterministic construction method and is the only known channel coding method that has been strictly proven to "reach" channel capacity. From the perspective of algebraic coding and probabilistic coding, polar code has the characteristics of both.

Polar码的理论基础就是信道极化。信道极化包括信道组合和信道分解部分。当组合信道的数目区域无穷大时,则会出现极化现象:一部分信道将趋于无噪信道,另一部分则趋于全噪信道,这种现象就是信道极化线性。无噪信道的传输速率将会达到信道容量,而全噪信道的传输速率趋于零。Polar码的编码策略正是应用了这种现象的特性,利用无噪信道传输用户有用的信息,全噪信道传输约定的信息或者不传信息。The theoretical basis of Polar code is channel polarization. Channel polarization includes channel combination and channel decomposition. When the number of combined channels is infinite, polarization will occur: one part of the channel will tend to be a noiseless channel, and the other part will tend to be a full-noise channel. This phenomenon is channel polarization linearity. The transmission rate of the noiseless channel will reach the channel capacity, while the transmission rate of the full-noise channel will tend to zero. The coding strategy of Polar code applies the characteristics of this phenomenon, using the noiseless channel to transmit useful information for users, and the full-noise channel to transmit agreed information or no information.

在信道极化完成之后,容量趋于1的部分信道可以用于承载信息比特,而其余信道可以用来承载收发端均一致的冻结比特(frozen),即为极化编码的方法。After the channel polarization is completed, part of the channel whose capacity approaches 1 can be used to carry information bits, while the remaining channels can be used to carry frozen bits that are consistent at both the transmitting and receiving ends, which is the polarization coding method.

其中,Polar码是一种线性块码,其编码矩阵(也称为生成矩阵)为GN,编码过程可以由下式表示:
Among them, Polar code is a linear block code, its encoding matrix (also called generator matrix) is GN, and the encoding process can be expressed by the following formula:

其中,是一个二进制的行矢量(也即,信息比特序列),长度为N,且N=2n,n为正整数。GN是一个N×N的矩阵,定义为log2N个矩阵F2的克罗内克(kronecker)乘积,以上各式中涉及的加法、乘法操作均为二进制伽罗华域上的加法、乘法操作。in, is a binary row vector (i.e., information bit sequence) with a length of N, where N=2n, n is a positive integer. GN is an N×N matrix, Defined as the Kronecker product of log2N matrices F2, The addition and multiplication operations involved in the above formulas are all addition and multiplication operations on the binary Galois Field.

通过该方法生成的编码,通过逐比特消除(successive cancellation,SC)译码方法会产生极化现象。即,u中的一部分比特经过一个等效的高可靠信道并以高概率会被译对,剩下的比特经过一个等效的低可靠度信道并以低概率被译对。由此,人们可以将高可靠信道用于信息传输,而将低可靠度信道对应的比特置零(也即,冻结),不用于传输数据,或者传输通信双方已知的数据。The codes generated by this method will produce polarization through the successive cancellation (SC) decoding method. That is, some bits in u will be decoded correctly with high probability through an equivalent high-reliability channel, and the remaining bits will be decoded correctly with low probability through an equivalent low-reliability channel. Therefore, people can use the high-reliability channel for information transmission, and set the bits corresponding to the low-reliability channel to zero (that is, freeze), not use them for data transmission, or transmit data known to both parties.

同时,目前针对串行抵消译码的算法还包括(successive cancellation list,SCL)译码以及(CRC-aided successive cancellation list,CA-SCL)译码等。其中,就译码性能而言,SC译码最差,SCL译码较SC译码有较大提升,进一步地加上CRC校验之后的CA-SCL译码可以使polar码的性能比LDPC码和Turbo码更好。At the same time, the algorithms for serial cancellation decoding currently include (successive cancellation list, SCL) decoding and (CRC-aided successive cancellation list, CA-SCL) decoding, etc. Among them, SC decoding is the worst in terms of decoding performance, SCL decoding is much better than SC decoding, and CA-SCL decoding after CRC verification can make the performance of polar code better than LDPC code and Turbo code.

图2是采用Polar码信道编码的通信链路流程图。发送端对来自媒体接入控制(media access control,MAC)的信源采用Polar码进行信道编码,接收端将解调的对数似然比(log likelihood ratio,LLR)软信息送入Polar译码器中,进而恢复出信源信息,上传至MAC。具体Polar码编码流程请参见图2中所示,为了避免冗余,此处不再赘述。Figure 2 is a flow chart of a communication link using Polar code channel coding. The transmitter uses Polar code to perform channel coding on the source from the media access control (MAC), and the receiver sends the demodulated log likelihood ratio (LLR) soft information to the Polar decoder, which then recovers the source information and uploads it to the MAC. The specific Polar code encoding process is shown in Figure 2. In order to avoid redundancy, it will not be repeated here.

在采用无线技术进行通信时,发送端的信源一般要经过信源编码、信道编码、速率匹配和调制后在信道上发出。接收端收到信号后依次经过解调、解速率匹配、信道解码和信源解码后获得信宿。When wireless technology is used for communication, the source of the transmitter is generally sent on the channel after undergoing source coding, channel coding, rate matching and modulation. After receiving the signal, the receiver obtains the destination after demodulation, rate matching, channel decoding and source decoding.

信道编解码是无线通信领域的核心技术之一,其性能的改进将直接提升网络覆盖及用户传输速率。目前,极化码(polar codes)是可理论证明达到香农极限,并且具有可实用的线性复杂度编译码能力的信道编码技术。Channel coding and decoding is one of the core technologies in the field of wireless communications. The improvement of its performance will directly improve network coverage and user transmission rate. At present, polar codes are a channel coding technology that can be theoretically proven to reach the Shannon limit and has practical linear complexity coding and decoding capabilities.

2.多层编码(multi-level coding,MLC)2. Multi-level coding (MLC)

MLC技术是一种将编码和调制相结合的调制技术。MLC既不增加信号带宽,又不降低实际数据传输速率,同时能够提高数据传输的可靠性,因此MLC也被称作“高效带宽编码”。MLC technology is a modulation technology that combines coding and modulation. MLC neither increases the signal bandwidth nor reduces the actual data transmission rate, while improving the reliability of data transmission. Therefore, MLC is also called "high-efficiency bandwidth coding".

根据香农信道容量定理,当MLC中各级分量码的码率等于各级信道的等价信道容量时,MLC技术会获得较好的误比特率和吞吐量性能。因此,MLC技术的设计重点就在于分量码码率的恰当选取。传统的线性分组码码率相对固定,一般情况下仅有有限种码率可供选择,难以实现不同信道状况下分组码码率与各等价信道容量之间的匹配。与线性分组码不同,无码率码在理论上可根据同一组信息产生任意多组编码符号进行发送,从而实现码率的连续调节。显然,与线性分组码相比,无码率码更容易取得逼近信道容量的码率,从而获得更大的吐量以及更低的误比特率。According to Shannon's channel capacity theorem, when the code rate of each component code in MLC is equal to the equivalent channel capacity of each channel, MLC technology will obtain better bit error rate and throughput performance. Therefore, the design focus of MLC technology lies in the appropriate selection of component code rate. The code rate of traditional linear block codes is relatively fixed. Generally, there are only a limited number of code rates to choose from, which makes it difficult to match the code rate of block codes with the equivalent channel capacity under different channel conditions. Unlike linear block codes, rateless codes can theoretically generate any number of groups of coded symbols based on the same group of information for transmission, thereby achieving continuous adjustment of the code rate. Obviously, compared with linear block codes, rateless codes are more likely to obtain a code rate close to the channel capacity, thereby obtaining a larger throughput and a lower bit error rate.

应理解,MLC是将一串调制符号根据被调制比特(bit)在符号中的容量不同,分成m层,每一层进行独立编码。 It should be understood that MLC divides a string of modulation symbols into m layers according to the different capacities of modulated bits in the symbols, and each layer is independently encoded.

图3是m-阶调制的MLC流程示意图。其中,图3中的编码以极化polar码为例进行介绍。例如,对于一个m-阶调制,首先对待传输的信息比特流z进行串并变换,将其划分为m个比特流u1,u2,u3...um。其中每个比特流对应一个高阶调制下的比特信道,针对该比特信道单独进行polar编码,即第m个编码器输出的码字x1构成高阶调制符号中的第m个比特。经过调制器(Mod)产生的N个调制符号发送到信道中进行传输。解调器(Dem)利用信道接收序列y解调出第一个polar译码器所需的软值v1,然后polar译码器利用第一个流对应的软值序列v1译码出u1。为了解调出第二个流对应的软值v2,需要将u1对应的极化码码字x1输入到解调器,该解调器利用y和x1解调出第二个流对应的软值序列v2,并输入到第二个极化码译码器中。第二个极化码译码器利用该软值序列译码出u2,然后解调器利用u2和u1对应的码字x2和x1,以及信道接收序列y解调出第三个流对应的软值序列v3。以此类推,解调第m流需要采用,信道接收序列y以及它前面m-1个极化码的码字x1~xmFIG3 is a schematic diagram of the MLC process of m-order modulation. The encoding in FIG3 is introduced by taking polar code as an example. For example, for an m-order modulation, the information bit stream z to be transmitted is first converted from serial to parallel and divided into m bit streams u 1 , u 2 , u 3 ... um . Each bit stream corresponds to a bit channel under high-order modulation, and polar encoding is performed separately for the bit channel, that is, the codeword x 1 output by the m-th encoder constitutes the m-th bit in the high-order modulation symbol. The N modulation symbols generated by the modulator (Mod) are sent to the channel for transmission. The demodulator (Dem) uses the channel receiving sequence y to demodulate the soft value v 1 required by the first polar decoder, and then the polar decoder uses the soft value sequence v 1 corresponding to the first stream to decode u 1 . In order to demodulate the soft value v 2 corresponding to the second stream, the polar code codeword x 1 corresponding to u 1 needs to be input into the demodulator. The demodulator uses y and x 1 to demodulate the soft value sequence v 2 corresponding to the second stream and inputs it into the second polar code decoder. The second polar code decoder uses the soft value sequence to decode u 2. Then the demodulator uses the codewords x 2 and x 1 corresponding to u 2 and u 1 , as well as the channel received sequence y, to demodulate the soft value sequence v 3 corresponding to the third stream. Similarly, to demodulate the mth stream, the channel received sequence y and the codewords x 1 to x m of the previous m-1 polar codes need to be used.

由此可见,MLC使用的是串行解调,该MLC需要m个编码器和m个译码器。It can be seen that MLC uses serial demodulation, and the MLC requires m encoders and m decoders.

其中,解调是指将一个调制符号(例如S1,S2,S3...Sm)转变为其对应的比特序列(例如v1,v2,v3...vm)的过程。其中,解调方式可以分为串行解调和并行解调。Demodulation refers to the process of converting a modulation symbol (eg, S 1 , S 2 , S 3 ... S m ) into its corresponding bit sequence (eg, v 1 , v 2 , v 3 ... v m ). The demodulation methods can be divided into serial demodulation and parallel demodulation.

下面以一个4-PAM符号为例分别对串行解调和并行解调的方式进行示例性说明。假设一个4-PAM符号s对应了两个比特(v1,v2),s经过AWGN信道后的解码器接收的符号为y。The following uses a 4-PAM symbol as an example to illustrate the serial demodulation and parallel demodulation methods respectively. Assume that a 4-PAM symbol s corresponds to two bits (v1, v2), and the symbol received by the decoder after s passes through the AWGN channel is y.

(1)串行解调(1) Serial demodulation

为了得到v1的取值,根据y推出v1=0的概率P(v1=0|y)和v1=1的概率P(v1=1|y),并按照下述公式(2)确定v1的取值:
In order to obtain the value of v1, the probability P( v1 =0|y) of v1=0 and the probability P( v1 =1|y) of v1=1 are deduced according to y, and the value of v1 is determined according to the following formula (2):

其中
in

类似的, akin,

根据上述图2中的(1)中给出的4-PAM例子,在计算P(v1=0|y)和P(v1=1|y)的概率时,S00=-3A,S10=-A,S11=+A,S01=+3A,为了保证平均发射功率Es=1,即1/4*(|S00|2+|S10|2+|S11|2+|S01|2)=1,有再利用上述公式(2)即可获得v1的取值。According to the 4-PAM example given in (1) of FIG. 2 above, when calculating the probabilities of P(v 1 =0|y) and P(v 1 =1|y), S 00 =-3A, S 10 =-A, S 11 =+A, S 01 =+3A. In order to ensure that the average transmission power E s =1, that is, 1/4*(|S 00 | 2 +|S 10 | 2 +|S 11 | 2 +|S 01 | 2 )=1, we have Then use the above formula (2) to obtain the value of v 1 .

为了获得v2的取值,串行解调需要计算在给定v1取值的条件下v2=0的概率P(v2=0|y,v1)和v2=1的概率P(v2=1|y,v1),然后对上述两个概率求对数似然比,然后根据公式(3)得到v2的取值:
In order to obtain the value of v 2 , serial demodulation needs to calculate the probability P(v 2 =0|y, v 1 ) that v 2 =0 and the probability P(v 2 =1|y, v 1 ) that v 2 =1 under the condition of a given value of v 1 , and then calculate the log-likelihood ratio of the above two probabilities, and then obtain the value of v 2 according to formula (3):

如果v1=0,If v 1 = 0,


but

如果v1=1:If v 1 = 1:


but

从而,可以算出P(v2=0|y,v1)以及P(v2=1|y,v1)的概率,再根据上述公式(3)即可串行解调出v2Thus, the probabilities of P(v 2 =0|y, v 1 ) and P(v 2 =1|y, v 1 ) can be calculated, and v 2 can be serially demodulated according to the above formula (3).

(2)并行解调(2) Parallel Demodulation

求v1的过程与上述(1)中串行解调一样求v1的过程一样,具体请参见上述介绍。The process of calculating v 1 is the same as the process of serial demodulation in ( 1 ) above. Please refer to the above introduction for details.

求v2的过程中,该并行解调并不需要用到v1的取值,而是对所有v1可能的取值取平均,并按照下述公式(4)确定v2的取值0:
In the process of calculating v 2 , the parallel demodulation does not need to use the value of v 1 , but takes the average of all possible values of v 1 and determines the value of v 2 0 according to the following formula (4):

其中, in,

类似的, akin,

可见,串行解调需要先根据接收符号y估计出v1的取值,然后利用v1的估计值和y进一步估计出v2的取值。并行解调与串行解调的唯一不同之处在于,并行解调在求v2的时候并不需要用到v1的估计值,因此v1和v2可以同时得到,能够并行实现。It can be seen that serial demodulation needs to first estimate the value of v 1 based on the received symbol y, and then use the estimated value of v 1 and y to further estimate the value of v 2. The only difference between parallel demodulation and serial demodulation is that parallel demodulation does not need to use the estimated value of v 1 when calculating v 2 , so v 1 and v 2 can be obtained at the same time and can be implemented in parallel.

应理解,不论是串行解调还是并行解调,都是可以看作是将一个包含2m个符号的高阶调制信道转变为m个比特信道的过程。例如,以4-PAM为例,该调制信道的信道容量为I(Y;V1,V2)。串行解调将该调制信道分解为两个比特信道,其中第一个比特信道的容量为I(Y;V1),第二个比特信道的容量为I(Y;V2|V1),可以证明I(Y;V1,V2)=I(Y;V1)+I(Y;V2|V1),即串行解调不会带来容量损失:如图4中的实线所示,从下往上数第一条实线为V1的比特信道容量I(Y;V1),第二条实线为V2的比特信道容量I(Y;V2|V1),从下往上数第三条实线为串行解调下的调制信道容量I(Y;V1,V2)。而并行解调也将该调制信道分解为两个比特信道,其中第一个比特信道的容量为I(Y;V1),但第二个比特信道的容量为I(Y;V2),由于I(Y;V1,V2)>=I(Y;V1)+I(Y;V2),所以并行解调会产生一定的容量损失:如图4中虚线所示,从下往上数第一条虚线为V1的比特信道容量I(Y;V1),第二条虚线为V2的比特信道容量I(Y;V2),第三条虚线为并行解调下的调制信道容量I(Y;V1)+I(Y;V2)。可见,并行解调相对于串行解调具有一定容量损失,但由于并行解调实现简单并且可以并行化,所以目前一般会采用并行解调的方式。It should be understood that both serial demodulation and parallel demodulation can be regarded as a process of converting a high-order modulation channel containing 2m symbols into an m-bit channel. For example, taking 4-PAM as an example, the channel capacity of the modulation channel is I(Y; V1 , V2 ). Serial demodulation decomposes the modulation channel into two bit channels, of which the capacity of the first bit channel is I(Y; V 1 ) and the capacity of the second bit channel is I(Y; V 2 |V 1 ). It can be proved that I(Y; V 1 ,V 2 )=I(Y; V 1 )+I(Y; V 2 |V 1 ), that is, serial demodulation will not cause capacity loss: as shown by the solid lines in Figure 4 , the first solid line from bottom to top is the bit channel capacity I(Y; V 1 ) of V 1 , the second solid line is the bit channel capacity I(Y; V 2 |V 1 ) of V 2 , and the third solid line from bottom to top is the modulation channel capacity I(Y; V 1 ,V 2 ) under serial demodulation. Parallel demodulation also decomposes the modulation channel into two bit channels, where the capacity of the first bit channel is I(Y; V 1 ), but the capacity of the second bit channel is I(Y; V 2 ). Since I(Y; V 1 , V 2 )>=I(Y; V 1 )+I(Y; V 2 ), parallel demodulation will produce a certain capacity loss: as shown by the dotted lines in Figure 4 , the first dotted line from bottom to top is the bit channel capacity I(Y; V 1 ) of V 1 , the second dotted line is the bit channel capacity I(Y; V 2 ) of V 2 , and the third dotted line is the modulation channel capacity I(Y; V 1 )+I(Y; V 2 ) under parallel demodulation. It can be seen that parallel demodulation has a certain capacity loss compared to serial demodulation, but since parallel demodulation is simple to implement and can be parallelized, it is generally used at present.

假设,在MLC中每一层均采用的是polar码编码方式时,即MLC中的polar码可以采用双重序列构造的方法确定编码序列。普通polar码构造,一般采用一重序列构造的方法。例如,有一个N长的序列Q,其序列索引(index)表示polar码母码中各个位置的比特可靠性的高低。假设0表示该位置比特 可靠性最低,N-1为该位置比特可靠性最高。Q[i]的具体取值表示:比特可靠性从低至高第i位的可靠性对应的编码序列中的具体位置。Assume that each layer in MLC uses polar code encoding, that is, the polar code in MLC can use the double sequence construction method to determine the encoding sequence. Ordinary polar code construction generally uses a single sequence construction method. For example, there is a sequence Q of length N, and its sequence index (index) represents the reliability of the bit at each position in the polar code mother code. Assume that 0 represents the bit at that position. The reliability is the lowest, and N-1 is the highest reliability of the bit at this position. The specific value of Q[i] represents: the specific position in the coding sequence corresponding to the reliability of the i-th bit from low to high bit reliability.

例如,N=16,Q[0]=0,表示Q[0]为N长待编码序列中第0个可靠度的位置,即最不可靠的位置,且Q[0]=0是N长待编码序列中的0号位置。Q[12]=11,表示Q[12]为N长待编码序列中第12个可靠度的位置,且Q[12]=11是N长待编码序列中的11号位置。For example, N=16, Q[0]=0, which means Q[0] is the 0th reliability position in the N-length sequence to be encoded, that is, the least reliable position, and Q[0]=0 is the 0th position in the N-length sequence to be encoded. Q[12]=11, which means Q[12] is the 12th reliability position in the N-length sequence to be encoded, and Q[12]=11 is the 11th position in the N-length sequence to be encoded.

从N长的序列中获取N1长的polar码的K个信息位(N1<=N),首先确定polar码中的冻结位置,该冻结位置包括Q[i]>=N的位置。该冻结位置可以是经过打孔(puncture)和截短(shorten)的位置,以及根据NR协议,需要对打孔的Polar码额外预冻结的位置。然后在序列中从N-1到0选择非被冻结的位置上的K个位置用于承载信息比特。To obtain K information bits of a polar code of length N1 from a sequence of length N (N1<=N), first determine the frozen position in the polar code, which includes the position where Q[i]>=N. The frozen position can be a punctured and shortened position, as well as a position where the punctured Polar code needs to be pre-frozen according to the NR protocol. Then select K positions from N-1 to 0 in the sequence that are not frozen to carry information bits.

在MLC中,可以将m个polar码通过调制(modulation)耦合起来,而MLC对应的串行解调可以看成是一种相比polar码更强的极化效果。目前,MLC中的polar码的速率匹配方式往往是根据MLC中每一层编码对应的码率大小确定的,导致MLC编码层数对应的速率匹配方式可能不同,即存在编码层数对应的速率匹配的比特位置无法对其,进一步影响后续的编译码性能。In MLC, m polar codes can be coupled through modulation, and the serial demodulation corresponding to MLC can be regarded as a stronger polarization effect than polar codes. At present, the rate matching method of polar codes in MLC is often determined according to the code rate corresponding to each layer of coding in MLC, resulting in different rate matching methods corresponding to the number of MLC coding layers, that is, the bit positions of the rate matching corresponding to the number of coding layers cannot be aligned, further affecting the subsequent encoding and decoding performance.

图5是一种MLC的序列示意图。在图5中,以N=16,modulation level=4为例,为一个64长的序列。该序列中斜线区域表示来自MLC最低能量bit的位置,横线区域表示来自MLC次低能量bit的位置,灰点区域来自MLC次高能量bit的位置,空白区域来自MLC最高能量bit的位置。预设当QAM的调制阶数为16时,采用两个level,并从图5中的可靠度最低和可靠度次低的区域选择比特位置;预设当QAM的调制阶数为64,采用三个level,并从图5中的可靠度最低,可靠度次低和可靠度次高的区域选择对应的比特位置;预设当QAM的调制阶数为256,采用四个level则图5中的全部区域可选。如果I/Q独立Symbol个数不足,则各区域要对其选择。例如QAM16,N=8,则位置序号为0-7,16-23去和Q序列的值作比较。FIG5 is a schematic diagram of an MLC sequence. In FIG5, taking N=16 and modulation level=4 as an example, it is a 64-length sequence. In the sequence, the slash area indicates the position of the lowest energy bit from the MLC, the horizontal area indicates the position of the second lowest energy bit from the MLC, the gray dot area is from the position of the second highest energy bit from the MLC, and the blank area is from the position of the highest energy bit from the MLC. It is preset that when the modulation order of QAM is 16, two levels are used, and the bit position is selected from the area with the lowest reliability and the second lowest reliability in FIG5; it is preset that when the modulation order of QAM is 64, three levels are used, and the corresponding bit position is selected from the area with the lowest reliability, the second lowest reliability, and the second highest reliability in FIG5; it is preset that when the modulation order of QAM is 256, four levels are used, and all areas in FIG5 are optional. If the number of I/Q independent symbols is insufficient, each area must be selected. For example, for QAM16, N=8, the position numbers are 0-7, 16-23 to be compared with the value of the Q sequence.

基于图5所示的MLC序列,假设待传输的符号数不是2的整数次幂,需要进行速率匹配时,一般对MLC中的每一个编码层数通过速率匹配(打孔或者截短)相同数量的比特。进一步地对MCL中每一个编码层数统一采用自然序+打孔的方式进行速率匹配,或者统一采用自然序+截短的方式进行速率匹配。最后用高斯近似构造。Based on the MLC sequence shown in Figure 5, assuming that the number of symbols to be transmitted is not an integer power of 2, when rate matching is required, the same number of bits are generally rate matched (punctured or truncated) for each coding layer in the MLC. Further, the natural order + puncturing method is uniformly used for rate matching for each coding layer in the MLC, or the natural order + truncation method is uniformly used for rate matching. Finally, the Gaussian approximation is used for construction.

例如,采用自然序+打孔的方式进行速率匹配,假设需要打孔X个符号,则对第0个位置~第X-1个位置上的符号进行打孔;采用自然序+截短的方式进行速率匹配,假设需要打孔X个符号,则对第N-X个位置~第N-1个位置上的符号进行截短。For example, if the rate matching is performed by natural order + puncturing, assuming that X symbols need to be punctured, the symbols at the 0th position to the X-1th position are punctured; if the rate matching is performed by natural order + truncation, assuming that X symbols need to be punctured, the symbols at the N-Xth position to the N-1th position are truncated.

往往采用上述方法对MLC进行速率匹配时,MLC中编码层数对应的速率匹配的方式与各层的码率相关。而在MLC中,各个编码层数对应的码率可能不同,导致各个编码层数采用的速率匹配的方式可能不同,导致各个编码层数速率匹配的比特位置可能不同,即MLC中各个编码层数速率匹配的位置无法对齐,使得编译码性能下降。When the above method is often used to rate match MLC, the rate matching method corresponding to the number of coding layers in MLC is related to the bit rate of each layer. In MLC, the bit rates corresponding to each coding layer may be different, resulting in different rate matching methods used by each coding layer, resulting in different bit positions of rate matching of each coding layer, that is, the positions of rate matching of each coding layer in MLC cannot be aligned, resulting in reduced encoding and decoding performance.

基于上述存在的问题,本申请提供的了一种在MLC场景下的polar码速率匹配的方法,能够提升编译码性能。Based on the above problems, the present application provides a method for polar code rate matching in an MLC scenario, which can improve encoding and decoding performance.

图6是本申请实施例提供的一种polar码速率匹配方法的流程性示意图。该方法可以包括如下步骤:FIG6 is a schematic diagram of a process of polar code rate matching method provided in an embodiment of the present application. The method may include the following steps:

601,第一设备基于第一符号数n,确定第二符号数n’。601. The first device determines a second symbol number n' based on the first symbol number n.

其中,该n’为2的整数次幂,且n’大于或者等于n,n为正整数。Herein, n' is an integer power of 2, and n' is greater than or equal to n, and n is a positive integer.

应理解,该第一符号数n是系统根据信道资源分配的,该n的具体取值本申请不做限定。It should be understood that the first symbol number n is allocated by the system according to channel resources, and the specific value of n is not limited in this application.

还应理解,本申请中的调制阶数与MLC中的编码层数相对应。例如,该序列对应的调制阶数为M,则MLC的编码层数为M。It should also be understood that the modulation order in the present application corresponds to the number of coding layers in MLC. For example, if the modulation order corresponding to the sequence is M, then the number of coding layers in MLC is M.

还应理解,第一序列是系统预设的序列,该第一序列对应符号个数N以及调制阶数M,即该第一序列的长度可以表示为(N*M)。其中N以及M的具体取值,本申请不做限定。It should also be understood that the first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M), wherein the specific values of N and M are not limited in this application.

还应理解,第一设备基于第一符号数n确定第二符号数n’,该第二符号数n’是根据第一符号数n确定的一个2的整数次幂的正整数。例如,第一符号数n为22,该第二符号数n’可以为32,64等等;该第一符号数n为6,该第二符号数n’可以为8,16,32等等。It should also be understood that the first device determines the second symbol number n' based on the first symbol number n, and the second symbol number n' is a positive integer of an integer power of 2 determined according to the first symbol number n. For example, if the first symbol number n is 22, the second symbol number n' may be 32, 64, etc.; if the first symbol number n is 6, the second symbol number n' may be 8, 16, 32, etc.

602,第一设备根据第一符号数n和第二符号数n’,确定第一位置集合。602. The first device determines a first position set according to the first symbol number n and the second symbol number n'.

其中,该第一位置集合包括(n’-n)个符号对应的第一比特位置。 The first position set includes first bit positions corresponding to (n'-n) symbols.

在一种可能实现的方式中,第一设备根据第一符号数n,第二符号数n’和第二序列,确定第二位置集合,第二位置集合包括第二序列中第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,该第二位置集合包括(n’-n)个符号对应的第二比特位置;第一设备对该(n’-n)个符号对应的第二比特位置进行比特逆序(bit index reverse,BIV),确定第一位置集合。In one possible implementation, the first device determines a second position set based on a first symbol number n, a second symbol number n’, and a second sequence, the second position set including a bit position corresponding to the nth symbol to a bit position corresponding to the (n’-1)th symbol in the second sequence, and the second position set includes second bit positions corresponding to the (n’-n) symbols; the first device performs bit index reverse (BIV) on the second bit positions corresponding to the (n’-n) symbols to determine the first position set.

作为一种示例,假设第一符号数n=22,第一序列对应的符号个数N=64,调制阶数M=4。首先第一设备根据第一符号数n确定第二符号数n’=32。第一设备根据n=22和n’=32,对第一序列中(64-32)个符号对应的比特进行预冻结得到第二序列,该预冻结比特位置,即不能用于承载信息比特。第一设备根据第一符号数n,第二符号数n’和第二序列,确定第一位置集合,该第一位置集合包括第22个符号对应的比特位置至第31个符号对应的比特位置。由于第二符号数为n’=32,得到符号对应的索引(index)的位宽为5bit。该第22个符号对应的比特至第31个符号对应的比特位置,每一个位宽为5bit对应的二进制展开,如:(10110)(10111)(11000)(11001)(11010)(11011)(11100)(11101)(11110)(11111)。第一设备对上述10个符号对应的比特位置(或者称为第二位置集合)进行比特逆序,得到第一位置集合。该第一位置集合为:(01101),(11101),(00011),(10011),(01011),(11011),(00111),(10111),(01111),(11111)。第一设备对该第一位置集合中包括的第一比特位置用于指示的比特位置进行预冻结,即第一设备对第13个符号对应的比特,第29个符号对应的比特,第3个符号对应的比特,第19个符号对应的比特,第11个符号对应的比特,第27个符号对应的比特,第7个符号对应的比特,第23个符号对应的比特,第15个符号对应的比特,第31个符号对应的比特,该10个符号对应的比特位置进行预冻结。该第一位置集合如图7所示,灰色部分为第一位置集合中的符号对应的预冻结比特的位置。As an example, assume that the first symbol number n=22, the number of symbols corresponding to the first sequence N=64, and the modulation order M=4. First, the first device determines the second symbol number n'=32 according to the first symbol number n. The first device pre-freezes the bits corresponding to (64-32) symbols in the first sequence according to n=22 and n'=32 to obtain a second sequence, and the pre-frozen bit positions cannot be used to carry information bits. The first device determines a first position set according to the first symbol number n, the second symbol number n' and the second sequence, and the first position set includes the bit position corresponding to the 22nd symbol to the bit position corresponding to the 31st symbol. Since the second symbol number is n'=32, the bit width of the index corresponding to the symbol is 5 bits. The bit corresponding to the 22nd symbol to the bit position corresponding to the 31st symbol, each with a bit width of 5 bits, is expanded in binary, such as: (10110) (10111) (11000) (11001) (11010) (11011) (11100) (11101) (11110) (11111). The first device performs bit reverse order on the bit positions corresponding to the above 10 symbols (or referred to as the second position set) to obtain a first position set. The first position set is: (01101), (11101), (00011), (10011), (01011), (11011), (00111), (10111), (01111), (11111). The first device pre-freezes the first bit position included in the first position set for indicating the bit position, that is, the first device pre-freezes the bit corresponding to the 13th symbol, the bit corresponding to the 29th symbol, the bit corresponding to the 3rd symbol, the bit corresponding to the 19th symbol, the bit corresponding to the 11th symbol, the bit corresponding to the 27th symbol, the bit corresponding to the 7th symbol, the bit corresponding to the 23rd symbol, the bit corresponding to the 15th symbol, and the bit corresponding to the 31st symbol, and the bit positions corresponding to the 10 symbols. The first position set is shown in FIG7, and the gray part is the position of the pre-frozen bit corresponding to the symbol in the first position set.

在另一种可能实现的方式中,第一设备根据第一符号数n,第二符号数n’和第二序列,确定第一位置集合,该第一位置集合中的(n’-n)个符号对应的第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置。In another possible implementation, the first device determines a first position set based on a first symbol number n, a second symbol number n’, and a second sequence, wherein a first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.

作为一种示例,假设第一符号数n=22,第一序列对应的符号个数N=64,调制阶数M=4。首先第一设备根据第一符号数n确定第二符号数n’=32。第一设备根据n=22和n’=32,对第一序列中(64-32)个符号对应的比特进行预冻结得到第二序列,该预冻结比特位置,即不能用于承载信息比特。假设,第二序列为(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31),第一设备对第二序列对应的比特位置进行子块交织。例如,第一设备对第二序列对应的比特位置进行子块交织后得:I=(0,1,2,4,3,5,6,7,8,16,9,17,10,18,11,19,12,20,13,21,14,22,15,23,24,25,26,28,27,29,30,31)。第一设备根据第一符号数n,第二符号数n’和第二序列,确定第一位置集合。该第一位置集合包括该第二序列进行子块交织后确定的第22个符号对应的比特位置至第31个符号对应的比特位置,即该第一位置集合包括I中的:I22=15,I23=23,I24=24…I30=30,I31=31,该第一位置集合包括该10个符号对应的比特位置,该10个符号对应的比特位置分别指示的第二序列中的第15个符号对应的比特位置,第23个符号对应的比特位置,…,第31个符号对应的比特位置。该第一位置集合如图8所示,灰色部分为第一位置集合中符号对应的预冻结比特的位置。As an example, assume that the first symbol number n=22, the number of symbols corresponding to the first sequence N=64, and the modulation order M=4. First, the first device determines the second symbol number n'=32 according to the first symbol number n. The first device pre-freezes the bits corresponding to (64-32) symbols in the first sequence according to n=22 and n'=32 to obtain a second sequence, and the pre-frozen bit positions cannot be used to carry information bits. Assume that the second sequence is (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31), and the first device performs sub-block interleaving on the bit positions corresponding to the second sequence. For example, after the first device performs sub-block interleaving on the bit positions corresponding to the second sequence, the first device obtains: I = (0, 1, 2, 4, 3, 5, 6, 7, 8, 16, 9, 17, 10, 18, 11, 19, 12, 20, 13, 21, 14, 22, 15, 23, 24, 25, 26, 28, 27, 29, 30, 31). The first device determines the first position set according to the first symbol number n, the second symbol number n' and the second sequence. The first position set includes the bit position corresponding to the 22nd symbol to the bit position corresponding to the 31st symbol determined after the sub-block interleaving of the second sequence, that is, the first position set includes I 22 =15, I 23 =23, I 24 =24…I 30 =30, I 31 =31 in I, and the first position set includes the bit positions corresponding to the 10 symbols, and the bit positions corresponding to the 10 symbols respectively indicate the bit position corresponding to the 15th symbol in the second sequence, the bit position corresponding to the 23rd symbol,…, the bit position corresponding to the 31st symbol. The first position set is shown in FIG8, and the gray part is the position of the pre-frozen bit corresponding to the symbol in the first position set.

在又一种可能实现的方式中,第一设备根据第一符号数n,第二符号数n’和码率Ri,确定第一位置集合,第一位置集合中的(n’-n)个符号对应的第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,或者,该第一位置集合中的(n’-n)个符号对应的第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置。In another possible implementation, the first device determines a first position set based on the first symbol number n, the second symbol number n’ and the code rate Ri, and the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence, or the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence.

其中,该Ri是第二序列中第i个调制阶数对应的信息比特的个数ki与第一符号数n的比值,0≤i≤M-1。Here, Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0≤i≤M-1.

应理解,码率Ri是根据M个调制阶数中的第i个调制阶数上包括的信息比特的个数ki与第一符号数的比特确定的。其中,该M个调制阶数中包括的信息比特的个数为K。It should be understood that the code rate Ri is determined according to the number ki of information bits included in the i-th modulation order among the M modulation orders and the number of bits of the first symbol number. Wherein, the number of information bits included in the M modulation orders is K.

还应理解,该K个信息比特为系统预设的,K的具体取值本申请不做限定。It should also be understood that the K information bits are preset by the system, and the specific value of K is not limited in this application.

还应理解,调制阶数M与MLC中的编码层数相对应,即调制阶数为M,即该MLC中编码层数level=M。码率Ri为该编码层数对应的信息比特的个数ki与第一符号数n之间的比值。It should also be understood that the modulation order M corresponds to the number of coding layers in MLC, that is, the modulation order is M, that is, the number of coding layers in MLC level = M. The code rate Ri is the ratio between the number of information bits ki corresponding to the number of coding layers and the first symbol number n.

可选的,该第一位置集合中包括的(n’-n)个符号对应第一比特位置,可以是根据速率匹配的方式确定该第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位 置至第(n’-1)个符号对应的比特位置,或者,该第一比特位置为第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置。Optionally, the (n'-n) symbols included in the first position set correspond to the first bit position, which may be the bit position corresponding to the nth symbol determined after sub-block interleaving based on the rate matching method to determine that the first bit position is the bit position corresponding to the second sequence. The bit position is set to the bit position corresponding to the (n'-1)th symbol, or the first bit position is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence.

其中,速率匹配的方式不同,速率匹配的比特位置也不同。例如第一比特位置可以包括第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置;或者,该第二序列对应的比特位置进行子块交织之后确定的第(n’-1)个符号对应的比特位置至第(n’-n)个符号对应的比特位置。The rate matching method is different, and the bit position of the rate matching is also different. For example, the first bit position may include the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after the bit position corresponding to the second sequence is interleaved by sub-blocks; or the bit position corresponding to the (n'-1)th symbol to the bit position corresponding to the (n'-n)th symbol determined after the bit position corresponding to the second sequence is interleaved by sub-blocks.

例如,第i个调制阶数对应的Ri,该Ri可以用于确定该第i调制阶数对应的速率匹配方式。例如,当Ri大于第一阈值时,确定第i个调制阶数对应的速率匹配的方式为截短;当Ri小于或者等于第一阈值时,确定第i个调制阶数对应的速率匹配的方式为打孔。当速率匹配的方式为截短时,将第二序列对应的比特位置进行子块交织之后的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置作为第一位置集合中的第一比特位置;当速率匹配的方式为打孔时,将第二序列对应的比特位置进行子块交织之后的第(n’-1)个符号对应的比特位置至第(n’-n)个符号对应的比特位置作为第一位置集合中的第一比特位置。For example, the Ri corresponding to the i-th modulation order can be used to determine the rate matching method corresponding to the i-th modulation order. For example, when Ri is greater than the first threshold, the rate matching method corresponding to the i-th modulation order is determined to be truncation; when Ri is less than or equal to the first threshold, the rate matching method corresponding to the i-th modulation order is determined to be puncturing. When the rate matching method is truncation, the bit position corresponding to the 0th symbol to the bit position corresponding to the (n’-n-1)th symbol after sub-block interleaving of the bit position corresponding to the second sequence is used as the first bit position in the first position set; when the rate matching method is puncturing, the bit position corresponding to the (n’-1)th symbol to the bit position corresponding to the (n’-n)th symbol after sub-block interleaving of the bit position corresponding to the second sequence is used as the first bit position in the first position set.

作为一种示例,假设第一符号数n=22,第一序列对应的符号个数N=64,调制阶数M=4。首先第一设备根据第一符号数n确定第二符号数n’=32。第一设备根据n’=32,对第一序列中(64-32)个符号对应的比特进行预冻结,得到第二序列。根据n’=32,确定子块大小为n’/32=1bit。即在NR中,将polar码的码块划分为32块。假设,第二序列为(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31),第一设备对第二序列对应的比特位置进行子块交织。例如,第一设备对第二序列对应的比特位置进行子块交织后得:I=(0,1,2,4,3,5,6,7,8,16,9,17,10,18,11,19,12,20,13,21,14,22,15,23,24,25,26,28,27,29,30,31)。第一设备根据第i个调制阶数对应的码率Ri,确定该第i个调制阶数对应的速率匹配方式。假设Ri小于或者等于第一阈值,选择打孔的方式进行速率匹配,即该I0=0,I1=1,I2=2,I3=4…I8=16,I9=9符号对应的比特位置作为预冻结比特位置(第一比特位置),其中,该第i个调制阶数包括10个符号对应的比特位置为第一比特位置;假设Ri大于第一阈值,选择截短的方式进行速率匹配,选择I22=15,I23=23,I24=24…I30=30,I31=31符号对应的比特位置作为预冻结比特位置(第一比特位置),其中,该第i个调制阶数包括10个符号对应的比特位置为第一比特位置。如图9所示,假设level0对应的码率R0小于或者等于第一阈值,level1,level2和level3对应的码率R1,R2和R3均大于或者等于第一阈值,灰色部分为第一位置集合中符号对应的预冻结比特的位置。As an example, assume that the first symbol number n=22, the number of symbols corresponding to the first sequence N=64, and the modulation order M=4. First, the first device determines the second symbol number n'=32 according to the first symbol number n. According to n'=32, the first device pre-freezes the bits corresponding to (64-32) symbols in the first sequence to obtain the second sequence. According to n'=32, the sub-block size is determined to be n'/32=1bit. That is, in NR, the code block of the polar code is divided into 32 blocks. Assume that the second sequence is (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31), and the first device performs sub-block interleaving on the bit positions corresponding to the second sequence. For example, after the first device performs sub-block interleaving on the bit positions corresponding to the second sequence, the result is: I = (0, 1, 2, 4, 3, 5, 6, 7, 8, 16, 9, 17, 10, 18, 11, 19, 12, 20, 13, 21, 14, 22, 15, 23, 24, 25, 26, 28, 27, 29, 30, 31). The first device determines the rate matching mode corresponding to the i-th modulation order according to the code rate Ri corresponding to the i-th modulation order. Assuming that Ri is less than or equal to the first threshold, the puncturing method is selected for rate matching, that is, the bit positions corresponding to the symbols I 0 =0, I 1 =1, I 2 =2, I 3 =4…I 8 =16, I 9 =9 are used as pre-frozen bit positions (first bit positions), wherein the bit positions corresponding to the 10 symbols of the i-th modulation order are the first bit positions; assuming that Ri is greater than the first threshold, the truncation method is selected for rate matching, and the bit positions corresponding to the symbols I 22 =15, I 23 =23, I 24 =24…I 30 =30, I 31 =31 are selected as pre-frozen bit positions (first bit positions), wherein the bit positions corresponding to the 10 symbols of the i-th modulation order are the first bit positions. As shown in FIG9 , assuming that the code rate R0 corresponding to level 0 is less than or equal to the first threshold, and the code rates R1, R2 and R3 corresponding to level 1, level 2 and level 3 are all greater than or equal to the first threshold, the gray part is the position of the pre-freeze bit corresponding to the symbol in the first position set.

603,第一设备在第二序列中,对第一比特位置指示的比特进行预冻结,得到第三序列。603. The first device pre-freezes the bit indicated by the first bit position in the second sequence to obtain a third sequence.

其中,该第三序列为polar码编码相关的预冻结序列。The third sequence is a pre-frozen sequence related to polar code encoding.

应理解,第一设备根据第二符号数n’对第一序列中的(N-n’)个符号对应的比特进行预冻结,得到第二序列。It should be understood that the first device pre-freezes bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain the second sequence.

其中,该第一序列是系统预设的序列,该第一序列对应符号个数N以及调制阶数M,即该第一序列的长度可以表示为(N*M)。其中N以及M的具体取值,本申请不做限定。The first sequence is a sequence preset by the system, and the first sequence corresponds to the number of symbols N and the modulation order M, that is, the length of the first sequence can be expressed as (N*M). The specific values of N and M are not limited in this application.

例如,系统预设的第一序列对应的符号个数N=64,调制阶数M=4,该第一序列的长度为256。假设第一符号数n=22,第一设备基于第一符号数n=22,确定第二符号数n’=32。第一设备根据第二符号数n’=32对第一序列中(64-32)个符号对应的比特进行预冻结,得到第二序列。该第二序列为第一序列中32个符号对应的比特位置进行预冻结之后得到的序列。For example, the number of symbols corresponding to the first sequence preset by the system is N=64, the modulation order is M=4, and the length of the first sequence is 256. Assuming that the first symbol number n=22, the first device determines the second symbol number n'=32 based on the first symbol number n=22. The first device pre-freezes the bits corresponding to (64-32) symbols in the first sequence according to the second symbol number n'=32 to obtain a second sequence. The second sequence is a sequence obtained after pre-freezing the bit positions corresponding to 32 symbols in the first sequence.

还应理解,第一设备在该第二序列中,按照第一位置集合中包括的第一比特位置对第二序列中相应地符号对应的比特位置进行预冻结,得到该第三序列。该三序列为polar码编码相关的预冻结序列。即该第三序列可以用于第一设备对信息比特进行编码调制过程中的速率匹配序列。It should also be understood that the first device pre-freezes the bit position corresponding to the corresponding symbol in the second sequence according to the first bit position included in the first position set in the second sequence to obtain the third sequence. The third sequence is a pre-freeze sequence related to polar code encoding. That is, the third sequence can be used as a rate matching sequence in the process of encoding and modulating the information bit by the first device.

如图6所示的方法,该方法还可以包括如下步骤:The method shown in FIG6 may further include the following steps:

第一设备根据所述第三序列,将K个信息比特分配在第三序列中M个调制阶数对应的非预冻结比特中。第一设备对所述第三序列的调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;第一设备对M个n’长的码字进行调制,得到n’个符号;第一设备将所述第三序列中可靠度最高的调制阶数对应的比特,作为速率匹配序列;第一设备根据该速率匹配序列,从该n’个符号选择n个符号作为发送符号,进行发送。The first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence according to the third sequence. The first device encodes each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; the first device modulates the M n'-length codewords to obtain n' symbols; the first device uses the bits corresponding to the modulation order with the highest reliability in the third sequence as a rate matching sequence; the first device selects n symbols from the n' symbols as transmission symbols according to the rate matching sequence and transmits them.

应理解,该第一设备将K个信息比特分配在第三序列中的M个调制阶数对应的非预冻结比特中。 该M个调制阶数对应M个编码层数,第一设备对M个编码层数中每一层进行编码,得到M个n’长的码字。第一设备再对该M个n’上的码字进行调制,得到n’个符号。第一设备从该第三序列中选择可靠度最高的调制阶数对应的比特,作为速率匹配序列。第一设备基于该速率匹配序列,从该n’个符号中选择n个符号作为发送符号进行发送。It should be understood that the first device allocates the K information bits to the non-pre-frozen bits corresponding to the M modulation orders in the third sequence. The M modulation orders correspond to M coding layers, and the first device encodes each of the M coding layers to obtain M n'-length codewords. The first device then modulates the M n'-length codewords to obtain n' symbols. The first device selects bits corresponding to the modulation order with the highest reliability from the third sequence as a rate matching sequence. Based on the rate matching sequence, the first device selects n symbols from the n' symbols as transmission symbols for transmission.

作为一种示例,结合上述图7中的示例,第一设备将K个信息比特分配在level0,level1,level2和level3中,第一设备对level0,level1,level2和level3进行编码得到4个长度为32的码字。第一设备将该4个32长的码字调制得到32个符号。例如,从4个32长的码字中选择2个比特映射成第0个QAM256符号的I路和Q路,从4个32长的码字中选择2个比特映射成第1个QAM256符号的I路和Q路,…,从4个32长的码字中选择2个比特映射成第31个QAM256符号的I路和Q路。第一设备在从该32个符号中选择22个符号作为发送符号进行发送。例如,按照上述图7中速率匹配的方法,确定将第0,1,2,4,5,6,8,9,10,12,14,16,17,18,20,21,22,24,25,26,28,30位上的符号作为发送符号进行发送。As an example, in combination with the example in FIG. 7 above, the first device allocates K information bits to level0, level1, level2 and level3, and the first device encodes level0, level1, level2 and level3 to obtain 4 codewords of length 32. The first device modulates the 4 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 0th QAM256 symbol, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 1st QAM256 symbol, ..., 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 31st QAM256 symbol. The first device selects 22 symbols from the 32 symbols as transmission symbols for transmission. For example, according to the rate matching method in FIG. 7 , it is determined that symbols at positions 0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 14, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, and 30 are sent as transmission symbols.

应理解,从4个32长的码字中选择2个比特映射称为QAM256符号的I路和Q路,其中该2个比特可以是该4个32长的码字中的任意2个比特,例如第0个比特和第2个比特,第0个比特和第1个比特,或者是其他比特,对此本申请不做限定。其中,用于映射第0个QAM256符号的I路和Q路的2个比特、用于映射第1个QAM256符号的I路和Q路的2个比特,…,用于映射第31个QAM256符号的I路和Q路的2个比特在4个32长的码字中的位置均不相同。It should be understood that 2 bits are selected from 4 32-bit long code words to map the I path and Q path of the QAM256 symbol, wherein the 2 bits can be any 2 bits in the 4 32-bit long code words, such as the 0th bit and the 2nd bit, the 0th bit and the 1st bit, or other bits, which are not limited in this application. Among them, the 2 bits used to map the I path and Q path of the 0th QAM256 symbol, the 2 bits used to map the I path and Q path of the 1st QAM256 symbol, ..., the 2 bits used to map the I path and Q path of the 31st QAM256 symbol are all in different positions in the 4 32-bit long code words.

作为另一种示例,结合上述图8中的示例,第一设备将K个信息比特分配在level0,level1,level2和level3中,第一设备对level0,level1,level2和level3进行编码得到4个长度为32的码字。第一设备将该4个32长的码字调制得到32个符号。例如,从4个32长的码字中选择2个比特映射成第0个QAM256符号中的I路和Q路,从4个32长的码字中选择2个比特映射成第1个QAM256符号中的I路和Q路,…,从4个32长的码字中选择2个比特映射成第31个QAM256符号中的I路和Q路。第一设备在从该32个符号中选择22个符号作为发送符号进行发送。例如,按照上述图8中速率匹配的方法,确定将第0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22位上的符号作为发送符号进行发送。As another example, in combination with the example in FIG. 8 above, the first device allocates K information bits to level0, level1, level2, and level3, and the first device encodes level0, level1, level2, and level3 to obtain four codewords of length 32. The first device modulates the four 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 0th QAM256 symbol, 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 1st QAM256 symbol, ..., 2 bits are selected from the four 32-length codewords to map to the I path and Q path in the 31st QAM256 symbol. The first device selects 22 symbols from the 32 symbols as transmission symbols for transmission. For example, according to the rate matching method in FIG8 , it is determined that the symbols at positions 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, and 22 are sent as transmission symbols.

作为另一种示例,结合上述图9中的示例,第一设备将K个信息比特分配在level0,level1,level2和level3中,第一设备对level0,level1,level2和level3进行编码得到4个长度为32的码字。第一设备将该4个32长的码字调制得到32个符号。例如,从4个32长的码字中选择2个比特映射成第0个QAM256符号的I路和Q路,从4个32长的码字中选择2个比特映射成第1个QAM256符号的I路和Q路,…,从4个32长的码字中选择2个比特映射成第31个QAM256符号的I路和Q路。第一设备在从该32个符号中选择22个符号作为发送符号进行发送。例如,按照上述图9中速率匹配的方法,假设,level0,level1,level2和level3对应的可靠度从低到高分别为:level0<level1<level2<level3,其中,level0,level1,level2和level3上承载信息比特的个数分别为k0,k1,k2和k3,其中,k0<k1<k2<k3,该level3对应的码率最大,即level3对应的速率匹配方式为截短。将按照可靠度最高的编码层数level3对应的速率匹配方式,确定从32个符号中选择22个符号,即选择第一位置集合中可靠度最高的调制阶数对应的比特位置作为速率匹配位置,即:选择I22=15,I23=23,I24=24…I30=30,I31=31符号对应的比特位置作为速率匹配位置,将第0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22位上的符号作为发送符号进行发送。As another example, in combination with the example in FIG. 9 above, the first device allocates K information bits to level0, level1, level2 and level3, and the first device encodes level0, level1, level2 and level3 to obtain 4 codewords of length 32. The first device modulates the 4 32-length codewords to obtain 32 symbols. For example, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 0th QAM256 symbol, 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 1st QAM256 symbol, ..., 2 bits are selected from the 4 32-length codewords to map to the I path and Q path of the 31st QAM256 symbol. The first device selects 22 symbols from the 32 symbols as transmission symbols for transmission. For example, according to the rate matching method in FIG. 9 , it is assumed that the reliabilities corresponding to level0, level1, level2 and level3 are respectively: level0<level1<level2<level3 from low to high, wherein the numbers of information bits carried on level0, level1, level2 and level3 are k0, k1, k2 and k3 respectively, wherein k0<k1<k2<k3, and the code rate corresponding to level3 is the largest, that is, the rate matching method corresponding to level3 is truncation. According to the rate matching mode corresponding to the coding layer level 3 with the highest reliability, 22 symbols are selected from the 32 symbols, that is, the bit positions corresponding to the modulation order with the highest reliability in the first position set are selected as the rate matching positions, that is, the bit positions corresponding to the symbols I 22 =15, I 23 =23, I 24 =24 ... I 30 =30, I 31 =31 are selected as the rate matching positions, and the symbols at the 0th, 1st, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th, 10th, 11th, 12th, 13th, 14th, 16th, 17th, 18th, 19th, 20th, 21st, 22nd bits are sent as transmission symbols.

可以理解的是,在本申请提供的方法中,第一设备可以先根据K个信息比特,M个调制阶数以及第二符号数n’进行编码调制之后,得到n’个符号。第一设备再从第三序列中选择可靠度最高的调制阶数对应的比特作为速率匹配序列,从n’个符号中选择n个符号作为发送符号进行发送。即本申请提供的方法,可以先进行编码调制,再进行速率匹配,得到n个发送符号进行发送。It can be understood that in the method provided in the present application, the first device can first perform coding modulation according to K information bits, M modulation orders and the second symbol number n', and obtain n' symbols. The first device then selects the bits corresponding to the modulation order with the highest reliability from the third sequence as the rate matching sequence, and selects n symbols from the n' symbols as transmission symbols for transmission. That is, the method provided in the present application can first perform coding modulation, and then perform rate matching to obtain n transmission symbols for transmission.

如图6所示的方法,该方法还可以包括如下步骤:The method shown in FIG6 may further include the following steps:

第一设备根据第三序列,将K个信息比特分配在第三序列中M个调制阶数对应的非预冻结比特中;第一设备对第三序列的调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;第一设备将第三序列作为速率匹配序列,得到M个n长的发送序列。第一设备发送n个发送符号,所述n个发送符号是根据所述M个n长的发送序列进行调制得到的。The first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence according to the third sequence; the first device encodes each of the coding layers corresponding to the modulation order M of the third sequence to obtain M n'-length codewords; the first device uses the third sequence as a rate matching sequence to obtain M n-length transmission sequences. The first device sends n transmission symbols, and the n transmission symbols are modulated according to the M n-length transmission sequences.

应理解,该第一设备将K个信息比特分配在第三序列中的M个调制阶数对应的非预冻结比特中。该M个调制阶数对应M个编码层数,第一设备对M个编码层数中每一层进行编码,得到M个n’长的码字。第一设备将第三序列作为速率匹配序列,对M个n长的发送序列。其中,M个调制阶数对应的 速率匹配方式可以参见上述图6中步骤602的介绍。第一设备将该M个n长的发送序列进行调制,得到n个发送符号,并进行发送。It should be understood that the first device allocates K information bits to non-prefrozen bits corresponding to M modulation orders in the third sequence. The M modulation orders correspond to M coding layers, and the first device encodes each of the M coding layers to obtain M n'-length codewords. The first device uses the third sequence as a rate matching sequence for M n-length transmission sequences. Among them, the M modulation orders correspond to The rate matching method may refer to the introduction of step 602 in Fig. 6. The first device modulates the M n-length transmission sequences to obtain n transmission symbols, and transmits them.

作为一种示例,结合上述图9中的示例,第一设备将K个信息比特分配在level0,level1,level2和level3中,第一设备对level0,level1,level2和level3进行编码得到4个长度为32的码字。按照上述图9中的示例,将第level0对应的编码结果中的第0,1,2,3,4,5,6,7,8,16位置上的码字进行删除,得到第0个速率匹配序列;将第level1对应的编码结果中的第15,23,24,25,26,27,28,29,30,31位置上的码字进行删除,得到第1个速率匹配序列;将第level2对应的编码结果中的第15,23,24,25,26,27,28,29,30,31位置上的码字进行删除,得到第2个速率匹配序列;将第level3对应的编码结果中的第15,23,24,25,26,27,28,29,30,31位置上的码字进行删除,得到第3个速率匹配序列。第一设备将第0个速率匹配序列,第1个速率匹配序列,第2个速率匹配序列和第3个速率匹配序列中的第0位码字映射为第1个QAM256符号,第2位码字映射成第2个QAM256符号,…,第21位码字映射成第21个QAM256符号。第一设备将该21个符号作为发送符号进行发送。As an example, in combination with the example in FIG. 9 above, the first device allocates K information bits to level0, level1, level2 and level3, and encodes level0, level1, level2 and level3 to obtain 4 codewords with a length of 32. According to the example in FIG. 9 , the codewords at positions 0, 1, 2, 3, 4, 5, 6, 7, 8, and 16 in the coding result corresponding to level 0 are deleted to obtain the 0th rate matching sequence; the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 1 are deleted to obtain the 1st rate matching sequence; the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 2 are deleted to obtain the 2nd rate matching sequence; the codewords at positions 15, 23, 24, 25, 26, 27, 28, 29, 30, and 31 in the coding result corresponding to level 3 are deleted to obtain the 3rd rate matching sequence. The first device maps the 0th codeword in the 0th rate matching sequence, the 1st rate matching sequence, the 2nd rate matching sequence, and the 3rd rate matching sequence to the 1st QAM256 symbol, the 2nd codeword to the 2nd QAM256 symbol, ..., the 21st codeword to the 21st QAM256 symbol. The first device sends the 21 symbols as transmission symbols.

可以理解的是,在本申请提供的方法中,第一设备可以先根据K个信息比特,M个调制阶数以及第二符号数n’进行编码,得到M个n’长的码字。第一设备再对该M个n’码字进行速率匹配,得到M个n长的序列。进一步地,第一设备对该M个n长的序列进行调制得到n个发送符号,并进行发送。即本申请提供的方法,可以先进行编码,再速率匹配,最后将经过速率匹配之后得到的序列进行调制,得到n个发送符号进行发送。It can be understood that in the method provided in the present application, the first device can first encode according to K information bits, M modulation orders and the second symbol number n' to obtain M n'-length codewords. The first device then performs rate matching on the M n' codewords to obtain M n-length sequences. Further, the first device modulates the M n-length sequences to obtain n transmission symbols, and transmits them. That is, the method provided in the present application can first perform encoding, then rate matching, and finally modulate the sequence obtained after rate matching to obtain n transmission symbols for transmission.

基于上述第一设备确定n个发送符号,并将该n个发送符号作为发送符号发送给第二设备,相应地,该第二设备接收来自第一设备得n个发送符号,并对该n个发送符号进行译码解调,获取K个信息比特,具体如下:Based on the above first device, n transmission symbols are determined, and the n transmission symbols are sent as transmission symbols to the second device. Accordingly, the second device receives the n transmission symbols from the first device, and decodes and demodulates the n transmission symbols to obtain K information bits, as follows:

第二设备接收n个发送符号,并对该n个发送符号按照调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列。第二设备根据该第一位置集合中的第一比特位置,对该M个n长的待解速率匹配信息序列进行解速率匹配得到M个n’长的待译码信息序列。第二设备对该M个n’长的待译码信息序列按照调制阶数M对应的编码层数逐层进行译码,从而获取各个编码层数对应的ki个信息比特,K为正整数。该K个信息比特为第二设备根据该n个发送符号译码解调获取的信息比特。The second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded. The second device performs rate matching on the M n-length rate matching information sequences to be decoded according to the first bit position in the first position set to obtain M n'-length information sequences to be decoded. The second device decodes the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, thereby obtaining ki information bits corresponding to each coding layer number, K is a positive integer. The K information bits are information bits obtained by the second device according to decoding and demodulation of the n transmitted symbols.

应理解,第二设备接收n个发送符号,并对该n个发送符号按照调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列。其中,第二设备对编码层数中的第i层对应的待解速率匹配信息序列,按照编码流程获取第i层对应的编码码字。第二设备将该第i层获得的编码码字带入编码层数为第i+1层的解调流程中,作为串行解调第i+1层的输入量。其中,第二设备对编码层数逐层进行串行解调,获取M个n长的待解速率匹配信息序列的具体过程,可以参见上述MLC中串行解调的详细说明,具体请参见上述图3中的描述,此处不再赘述。It should be understood that the second device receives n transmitted symbols, and serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded. Among them, the second device obtains the coding codeword corresponding to the i-th layer according to the coding process for the rate matching information sequence to be decoded corresponding to the i-th layer in the number of coding layers. The second device brings the coded codeword obtained by the i-th layer into the demodulation process of the i+1-th layer of the coding layer number as the input quantity for serial demodulation of the i+1-th layer. Among them, the second device serially demodulates the number of coding layers layer by layer to obtain M n-length rate matching information sequences to be decoded. For the specific process, please refer to the detailed description of serial demodulation in the above-mentioned MLC, and please refer to the description in the above-mentioned Figure 3 for details, which will not be repeated here.

还应理解,第二设备确定第一位置集合的方法,以及第三序列的方法与上述图6中步骤601至步骤603中第一设备确定第一位置集合,以及第三序列的方法类似,此处不再赘述。It should also be understood that the method by which the second device determines the first position set and the method by which the third sequence is determined are similar to the method by which the first device determines the first position set and the third sequence in steps 601 to 603 in FIG. 6 above, and are not described in detail here.

在一种可能实现的方式中,第二设备接收到来自第一设备的n个发送符号之后,对该n个发送符号按照调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列。第二设备根据第一位置集合中对应的可靠度最高层对应的第一比特位置对M个n长的待解速率匹配信息序列进行解速率匹配,从而获得M个n’长的待译码信息序列。第二设备对该M个n’长的待译码信息序列按照调制阶数M对应的编码层数进行逐层译码,获取K个信息比特,该K个信息比特为M个编码层数中各层对应的ki个信息比特组成。In one possible implementation, after receiving n transmitted symbols from the first device, the second device serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains M n-length rate-matched information sequences to be decoded. The second device performs rate-matching on the M n-length rate-matched information sequences to be decoded according to the first bit position corresponding to the highest reliability layer in the first position set, thereby obtaining M n'-length information sequences to be decoded. The second device decodes the M n'-length information sequences to be decoded layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains K information bits, which are composed of ki information bits corresponding to each layer in the M coding layers.

具体地,假设MLC中第i层的码率小于第一阈值时,则第二设备在解速率匹配时,第二设备对第一位置集合中对应得第一比特位置填入“0”;假设MLC中第i层的码率大于或者等于第一阈值时,则第二设备在解速率匹配时,对第一位置集合中对应得第一比特位置填入无穷大值,例如,正无穷大,或者,负无穷大。Specifically, assuming that the code rate of the i-th layer in MLC is less than the first threshold, then when the second device solves the rate matching, the second device fills in "0" for the corresponding first bit position in the first position set; assuming that the code rate of the i-th layer in MLC is greater than or equal to the first threshold, then when the second device solves the rate matching, the second device fills in an infinite value, for example, positive infinity or negative infinity, for the corresponding first bit position in the first position set.

在另一种可能实现的方式中,第二设备接收到来自第一设备的n个发送符号之后,对该n个发送符号按照调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列。第二设备根据调制阶数M对应的编码层数中第i层编码层数对应的第一位置集合中的第一比特位置,对M个n长的待解速率匹配信息序列进行解速率匹配,从而获得M个n’长的待译码信息序列。第二 设备对该M个n’长的待译码信息序列按照调制阶数M对应的编码层数进行逐层译码,获取K个信息比特,该K个信息比特为M个编码层数中各层对应的ki个信息比特组成。In another possible implementation, after receiving n transmitted symbols from the first device, the second device serially demodulates the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains M n-length rate matching information sequences to be decoded. The second device performs rate matching on the M n-length rate matching information sequences to be decoded according to the first bit position in the first position set corresponding to the i-th coding layer number in the number of coding layers corresponding to the modulation order M, thereby obtaining M n'-length information sequences to be decoded. The device decodes the M n'-length to-be-decoded information sequences layer by layer according to the number of coding layers corresponding to the modulation order M, and obtains K information bits, which are composed of ki information bits corresponding to each layer in the M number of coding layers.

其中,在串行解调的过程中,当第二设备解调MLC中的第i层时,第二设备根据第一位置集合中第i层对应的第一比特位置进行解速率匹配,从而获得n’长的码字。其中,具体地,假设MLC中第i层的码率小于第一阈值时,则第二设备在解速率匹配时,对第一位置集合中对应得第一比特位置填入“0”;MLC中第i层的码率大于或者等于第一阈值时,则第二设备在解速率匹配时,对第一位置集合中对应得第一比特位置填入无穷大值,例如,正无穷大,或者,负无穷大。In the process of serial demodulation, when the second device demodulates the i-th layer in the MLC, the second device performs rate matching according to the first bit position corresponding to the i-th layer in the first position set, thereby obtaining a codeword of length n'. Specifically, assuming that the code rate of the i-th layer in the MLC is less than the first threshold, the second device fills "0" in the corresponding first bit position in the first position set when performing rate matching; when the code rate of the i-th layer in the MLC is greater than or equal to the first threshold, the second device fills an infinite value, for example, positive infinity, or negative infinity, in the corresponding first bit position in the first position set when performing rate matching.

以上对本申请提出的方法进行了详细描述。作为示例,下面将基于本申请提出的方法给出,在相同信息比特个数、第一符号数以及码率的情况下的符号信噪比的仿真示意图。The method proposed in the present application is described in detail above. As an example, a simulation diagram of the symbol signal-to-noise ratio under the same number of information bits, number of first symbols and code rate is given below based on the method proposed in the present application.

图10是一种BLER的仿真示意图。FIG. 10 is a schematic diagram of a BLER simulation.

应理解,图10是基于上述图6所示的方法,结合信息比特个数为K,第一符号数为N,码率为R给出的符号信噪比的变化情况。图10中的MLC_TYPE0表示采用图6中通过对第二位置集合进行比特逆序,得到第一位置集合,并根据第一位置集合中的第一比特位置作为速率匹配位置;MLC_TYPE1表示采用图6中通过对码率与第一阈值之间的关系,确定各个编码层数对应的第一比特位置,并将第三序列中可靠度最高的调制阶数对应的比特位置,作为速率匹配序列,并在调制后进行速率匹配。It should be understood that FIG10 is based on the method shown in FIG6 above, and is a change in the symbol signal-to-noise ratio given by combining the number of information bits K, the number of first symbols N, and the code rate R. MLC_TYPE0 in FIG10 indicates that the first position set is obtained by reversing the bits of the second position set in FIG6, and the first bit position in the first position set is used as the rate matching position; MLC_TYPE1 indicates that the first bit position corresponding to each number of coding layers is determined by comparing the relationship between the code rate and the first threshold in FIG6, and the bit position corresponding to the modulation order with the highest reliability in the third sequence is used as the rate matching sequence, and rate matching is performed after modulation.

如图10所示,黑色实线与灰色实线表示采用信息比特个数K=539,第一符号数N=600,R=0.90给出的仿真示意图,可以看出在相同参数的情况下,采用MLC_TYPE1方法的符号信噪比明显低于采用MLC_TYPE0方法的符号信噪比。As shown in FIG10 , the black solid line and the gray solid line represent a simulation diagram using the number of information bits K=539, the number of first symbols N=600, and R=0.90. It can be seen that under the same parameters, the symbol signal-to-noise ratio using the MLC_TYPE1 method is significantly lower than the symbol signal-to-noise ratio using the MLC_TYPE0 method.

如图10所示,黑色虚线与灰色虚线表示采用信息比特个数K=67,第一符号数N=75,R=0.89给出的仿真示意图,可以看出在相同参数的情况下,采用MLC_TYPE1方法的符号信噪比明显低于采用MLC_TYPE0方法的符号信噪比。As shown in FIG10 , the black dotted line and the gray dotted line represent a simulation diagram using the number of information bits K=67, the number of first symbols N=75, and R=0.89. It can be seen that under the same parameters, the symbol signal-to-noise ratio using the MLC_TYPE1 method is significantly lower than the symbol signal-to-noise ratio using the MLC_TYPE0 method.

图11是另一种BLER的仿真示意图。FIG. 11 is a schematic diagram of another BLER simulation.

应理解,图11是基于上述图6所示的方法,结合信息比特个数为K,第一符号数为N,码率为R给出的符号信噪比的变化情况。图11中的MLC_TYPE0表示采用图6中通过对第二位置集合进行比特逆序,得到第一位置集合,并根据第一位置集合中的第一比特位置作为速率匹配位置;MLC_TYPE1表示采用图6中通过对码率与第一阈值之间的关系,确定各个编码层数对应的第一比特位置,并将第三序列中可靠度最高的调制阶数对应的比特位置,作为速率匹配序列。It should be understood that FIG11 is based on the method shown in FIG6 above, and is a variation of the symbol signal-to-noise ratio given by combining the number of information bits K, the number of first symbols N, and the code rate R. MLC_TYPE0 in FIG11 indicates that the first position set is obtained by reversing the bits of the second position set in FIG6, and the first bit position in the first position set is used as the rate matching position; MLC_TYPE1 indicates that the first bit position corresponding to each number of coding layers is determined by comparing the relationship between the code rate and the first threshold in FIG6, and the bit position corresponding to the modulation order with the highest reliability in the third sequence is used as the rate matching sequence.

如图11所示,黑色实线与灰色实线表示采用信息比特个数K=1845,第一符号数N=700,R=2.64给出的仿真示意图,可以看出在相同参数的情况下,采用MLC_TYPE1方法的符号信噪比明显低于采用MLC_TYPE0方法的符号信噪比。As shown in FIG11 , the black solid line and the gray solid line represent a simulation diagram using the number of information bits K=1845, the number of first symbols N=700, and R=2.64. It can be seen that under the same parameters, the symbol signal-to-noise ratio using the MLC_TYPE1 method is significantly lower than the symbol signal-to-noise ratio using the MLC_TYPE0 method.

如图11所示,黑色虚线与灰色虚线表示采用信息比特个数K=232,第一符号数N=88,R=2.64给出的仿真示意图,可以看出在相同参数的情况下,采用MLC_TYPE1方法的符号信噪比明显低于采用MLC_TYPE0方法的符号信噪比。As shown in FIG11 , the black dotted line and the gray dotted line represent a simulation diagram using the number of information bits K=232, the number of first symbols N=88, and R=2.64. It can be seen that under the same parameters, the symbol signal-to-noise ratio using the MLC_TYPE1 method is significantly lower than the symbol signal-to-noise ratio using the MLC_TYPE0 method.

根据上述图10和图11所示的仿真示意图,在相同参数的情况下,本申请提供的通过对码率与第一阈值之间的关系,确定各个编码层数对应的第一比特位置,并将第三序列中可靠度最高的调制阶数对应的比特位置,作为速率匹配序列对应的编译码的方法,符号信噪比明显优于其他方法。According to the simulation schematic diagrams shown in Figures 10 and 11 above, under the same parameters, the present application provides a method for determining the first bit position corresponding to each coding layer number by comparing the relationship between the code rate and the first threshold, and using the bit position corresponding to the modulation order with the highest reliability in the third sequence as the encoding and decoding method corresponding to the rate matching sequence. The symbol signal-to-noise ratio is significantly better than other methods.

可以理解,上述附图中各个步骤仅是示例性说明,对此不作严格限定。此外,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It is understood that the steps in the above figures are only exemplary and not strictly limited. In addition, the sequence numbers of the above processes do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

还可以理解,在本申请的各实施例中涉及到一些编码序列名称,其命名不对本申请实施例的保护范围造成限定。It can also be understood that some coding sequence names are involved in the various embodiments of the present application, and their naming does not limit the protection scope of the embodiments of the present application.

还可以理解,本申请的各实施例中的一些可选的特征,在某些场景下,可以不依赖于其他特征,也可以在某些场景下,与其他特征进行结合,不作限定。It can also be understood that some optional features in the embodiments of the present application may not depend on other features in some scenarios, or may be combined with other features in some scenarios, without limitation.

还可以理解,上述各个方法实施例中,由第一设备实现的方法和操作,也可以由可由第一设备的组成部件(例如芯片或者电路)来实现,不作限定。It can also be understood that in the above-mentioned various method embodiments, the methods and operations implemented by the first device can also be implemented by components (such as chips or circuits) that can be implemented by the first device, without limitation.

相应于上述各方法实施例给出的方法,本申请实施例还提供了相应的装置,所述装置包括用于执行上述各个方法实施例相应的模块。该模块可以是软件,也可以是硬件,或者是软件和硬件结合。可以 理解的是,上述各方法实施例所描述的技术特征同样适用于以下装置实施例。Corresponding to the methods given in the above-mentioned method embodiments, the embodiments of the present application also provide corresponding devices, which include modules for executing the corresponding modules in the above-mentioned method embodiments. The modules can be software, hardware, or a combination of software and hardware. It is understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.

图12为本申请提供的通信装置1200的示意性框图。如图12,通信装置1200包括处理单元1210和通信单元1220。该装置1200可实现对应于上文方法实施例中的第一设备执行的步骤或者流程,其中,处理单元1210用于执行上文方法实施例中第一设备的处理相关的操作,通信单元1220用于执行上文方法实施例中第一设备的发送相关的操作。示例的,通信装置1200的各单元用于实现如下功能:FIG12 is a schematic block diagram of a communication device 1200 provided in the present application. As shown in FIG12 , the communication device 1200 includes a processing unit 1210 and a communication unit 1220. The device 1200 can implement the steps or processes corresponding to those performed by the first device in the above method embodiment, wherein the processing unit 1210 is used to perform the processing-related operations of the first device in the above method embodiment, and the communication unit 1220 is used to perform the sending-related operations of the first device in the above method embodiment. For example, each unit of the communication device 1200 is used to implement the following functions:

在一种可能实现的方式中,处理单元1210,用于基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数;处理单元1210,还用于对根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结,得到第二序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数;处理单元1210,还用于根据所述第一符号数n和所述第二序列,确定第三序列,所述第三序列为极性polar码编码相关的预冻结序列。In one possible implementation, the processing unit 1210 is used to determine the second symbol number n' based on the first symbol number n, where n'≥n, and n' is an integer power of 2, and n is a positive integer; the processing unit 1210 is also used to pre-freeze the bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain a second sequence, where the first sequence corresponds to the number of symbols N and the modulation order M, where N≥n', and N and M are both positive integers; the processing unit 1210 is also used to determine a third sequence according to the first symbol number n and the second sequence, where the third sequence is a pre-frozen sequence related to polar code encoding.

在另一种可能实现的方式中,处理单元1210,用于基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数;处理单元1210,还用于对根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结,得到第二序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数;处理单元1210,还用于根据所述第一符号数n和所述第二序列,确定第三序列,所述第三序列为极性polar码译码相关的预冻结序列。In another possible implementation, the processing unit 1210 is used to determine the second symbol number n' based on the first symbol number n, where n'≥n, and n' is an integer power of 2, and n is a positive integer; the processing unit 1210 is also used to pre-freeze the bits corresponding to (N-n') symbols in the first sequence according to the second symbol number n' to obtain a second sequence, where the first sequence corresponds to the number of symbols N and the modulation order M, where N≥n', and N and M are both positive integers; the processing unit 1210 is also used to determine a third sequence according to the first symbol number n and the second sequence, where the third sequence is a pre-frozen sequence related to polar code decoding.

在通信装置1200对应发送端的各实施例中,处理单元1210用于执行除了发送和接收的动作之外由第一设备内部实现的处理和/或操作。通信单元1220用于执行第一设备的接收(或者说输入)的动作,和/或,用于执行第一设备的发送(或者说输出)的动作。In each embodiment of the communication device 1200 corresponding to the transmitting end, the processing unit 1210 is used to perform the processing and/or operation implemented by the first device in addition to the sending and receiving actions. The communication unit 1220 is used to perform the receiving (or inputting) action of the first device, and/or, to perform the sending (or outputting) action of the first device.

应理解,这里的装置1200以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。It should be understood that the device 1200 herein is embodied in the form of a functional unit. The term "unit" herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and/or other suitable components that support the described functions.

上述各个方案的装置1200具有实现上述方法中第一设备所执行的相应步骤的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块;例如通信单元可以由收发机替代(例如,通信单元中的发送单元可以由发送机替代,通信单元中的接收单元可以由接收机替代),其它单元,如处理单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。The apparatus 1200 of each of the above schemes has the function of implementing the corresponding steps performed by the first device in the above method. The function can be implemented by hardware, or by hardware executing the corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions; for example, the communication unit can be replaced by a transceiver (for example, the sending unit in the communication unit can be replaced by a transmitter, and the receiving unit in the communication unit can be replaced by a receiver), and other units, such as the processing unit, can be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.

此外,上述通信单元还可以是收发电路(例如可以包括接收电路和发送电路),处理单元可以是处理电路。在本申请的实施例,装置1200可以是前述实施例中的第一设备,也可以是芯片或者芯片系统,例如:片上系统(system on chip,SoC),其中,通信单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或者微处理器或者集成电路。在此不做限定。In addition, the communication unit may also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit), and the processing unit may be a processing circuit. In an embodiment of the present application, the device 1200 may be the first device in the aforementioned embodiment, or may be a chip or a chip system, for example, a system on chip (SoC), wherein the communication unit may be an input/output circuit, a communication interface, and the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip. This is not limited here.

图13为本申请提供的通信装置1300的示意性结构图。如图13,通信装置1300包括:一个或多个处理器1310,一个或多个存储器1320以及一个或多个通信接口1330。处理器1310用于控制通信接口1330收发信号,存储器1320用于存储计算机程序,处理器1310用于从存储器1320中调用并运行该计算机程序,以使得通信装置1200执行本申请各方法实施例中由发送端或接收端执行的处理。FIG13 is a schematic structural diagram of a communication device 1300 provided in the present application. As shown in FIG13 , the communication device 1300 includes: one or more processors 1310, one or more memories 1320, and one or more communication interfaces 1330. The processor 1310 is used to control the communication interface 1330 to send and receive signals, the memory 1320 is used to store a computer program, and the processor 1310 is used to call and run the computer program from the memory 1320, so that the communication device 1200 performs the processing performed by the transmitting end or the receiving end in each method embodiment of the present application.

例如,处理器1310可以具有图8中所示的处理单元1210的功能,通信接口1330可以具有图12中所示的通信单元820的功能。具体地,处理器1310可以用于执行由通信装置内部执行的处理或操作,通信接口1330用于执行通信装置的发送和/或接收的操作。For example, the processor 1310 may have the function of the processing unit 1210 shown in Figure 8, and the communication interface 1330 may have the function of the communication unit 820 shown in Figure 12. Specifically, the processor 1310 may be used to execute the processing or operation performed by the communication device, and the communication interface 1330 is used to execute the sending and/or receiving operation of the communication device.

可选地,上述各装置实施例中的存储器与处理器可以是物理上相互独立的单元,或者,存储器也可以和处理器集成在一起,本申请不作限定。Optionally, the memory and processor in the above-mentioned device embodiments may be physically independent units, or the memory may be integrated with the processor, which is not limited in the present application.

此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得本申请各方法实施例中由第一设备执行的操作和/或处理被执行。In addition, the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the operations and/or processing performed by the first device in each method embodiment of the present application are executed.

此外,本申请还提供一种计算机程序产品,计算机程序产品包括计算机程序代码或指令,当计算机程序代码或指令在计算机上运行时,使得本申请各方法实施例中由第一设备执行的操作和/或处理被执行。In addition, the present application also provides a computer program product, which includes computer program code or instructions. When the computer program code or instructions are run on a computer, the operations and/or processing performed by the first device in each method embodiment of the present application are executed.

此外,本申请还提供一种芯片,所述芯片包括处理器,用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,使得安装有所述芯片的装置执行任意一个方法实施例中由第一设备执行的操作和/或处理。 In addition, the present application also provides a chip, which includes a processor, a memory for storing computer programs is set independently of the chip, and the processor is used to execute the computer program stored in the memory, so that a device equipped with the chip performs the operations and/or processing performed by the first device in any method embodiment.

进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,也可以为接口电路等。进一步地,所述芯片还可以包括所述存储器。Furthermore, the chip may further include a communication interface. The communication interface may be an input/output interface, or an interface circuit, etc. Furthermore, the chip may further include the memory.

可选地,上述处理器可以为一个或多个,所述存储器可以为一个或多个,所述存储器可以为一个或多个。Optionally, the processor may be one or more, the memory may be one or more, and the memory may be one or more.

此外,本申请还提供一种通信装置(例如,可以为芯片或芯片系统),包括处理器和通信接口,根据前述任意一个方法实施例中由第一设备执行的操作和/或处理,所述通信接口用于接收(或称为输入)待编码的消息比特,所述处理器对待编码的消息比特进行编码。可选地,通信接口还用于发送(或称为输出)处理器处理后的数据和/或信息。In addition, the present application also provides a communication device (for example, a chip or a chip system), including a processor and a communication interface, according to the operation and/or processing performed by the first device in any of the aforementioned method embodiments, the communication interface is used to receive (or referred to as input) message bits to be encoded, and the processor encodes the message bits to be encoded. Optionally, the communication interface is also used to send (or referred to as output) data and/or information processed by the processor.

此外,本申请还提供一种通信装置,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,使得所述通信装置执行任意一个方法实施例中由第一设备执行的操作和/或处理。In addition, the present application also provides a communication device, comprising at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to execute a computer program or instruction stored in the at least one memory, so that the communication device performs the operations and/or processing performed by the first device in any method embodiment.

此外,本申请还提供一种通信系统,包括本申请方法实施例中的第一设备。In addition, the present application also provides a communication system, including the first device in the method embodiment of the present application.

本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DRRAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

上述实施例所提供的方法,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品可以包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如,红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。The method provided in the above embodiment can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product may include one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated.

为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等编号对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等编号并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, numbers such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that numbers such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。In the embodiments of the present application, "at least one" means one or more, and "more" means two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能 划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function. In actual implementation, there may be other ways of division, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。 If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

Claims (17)

一种Polar码的速率匹配的方法,其特征在于,包括:A method for rate matching of Polar codes, comprising: 基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数;Based on the first symbol number n, determine a second symbol number n', n'≥n, and n' is an integer power of 2, and n is a positive integer; 根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,所述第一位置集合包括(n’-n)个符号对应的第一比特位置;Determine a first position set according to the first symbol number n and the second symbol number n', where the first position set includes first bit positions corresponding to (n'-n) symbols; 在第二序列中,对所述第一比特位置指示的比特进行预冻结,得到第三序列,所述第三序列为极性polar码编码相关的预冻结序列,In the second sequence, the bit indicated by the first bit position is pre-frozen to obtain a third sequence, wherein the third sequence is a pre-frozen sequence related to polar code encoding, 其中,所述第二序列是根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结得到的序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数。The second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n’) symbols in the first sequence according to the second symbol number n’, and the first sequence corresponds to the symbol number N and the modulation order M, N≥n’, and N and M are both positive integers. 根据权利要求1所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 1, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定第二位置集合,所述第二位置集合包括所述第二序列中第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,所述第二位置集合包括(n’-n)个符号对应的第二比特位置;Determine a second position set according to the first symbol number n, the second symbol number n' and the second sequence, the second position set including a bit position corresponding to the nth symbol to a bit position corresponding to the (n'-1)th symbol in the second sequence, and the second position set including second bit positions corresponding to the (n'-n)th symbol; 对所述(n’-n)个符号对应的所述第二比特位置进行比特逆序,确定所述第一位置集合。The second bit positions corresponding to the (n’-n) symbols are bit reversed to determine the first position set. 根据权利要求1所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 1, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置。The first position set is determined based on the first symbol number n, the second symbol number n’ and the second sequence, and the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence. 根据权利要求1所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 1, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和码率Ri,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,或者,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置,The first position set is determined according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, 其中,所述Ri是所述第二序列中第i个调制阶数对应的信息比特的个数ki与第一符号数n的比值,0≤i≤M-1。Among them, the Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0≤i≤M-1. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that the method further comprises: 根据所述第三序列,将K个信息比特分配在所述第三序列中M个调制阶数对应的非预冻结比特中;According to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; 对所述第三序列的所述调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;Encode each layer of the coding layers corresponding to the modulation order M of the third sequence to obtain M codewords of length n′; 对所述M个n’长的码字进行调制,得到n’个符号;Modulating the M n'-length codewords to obtain n' symbols; 将所述第三序列中可靠度最高的调制阶数对应的比特位置,作为速率匹配序列;Using the bit position corresponding to the modulation order with the highest reliability in the third sequence as a rate matching sequence; 根据所述速率匹配序列,从所述n’个符号中选择n个符号作为发送符号,进行发送。According to the rate matching sequence, n symbols are selected from the n' symbols as transmission symbols for transmission. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that the method further comprises: 根据所述第三序列,将K个信息比特分配在所述第三序列中M个调制阶数对应的非预冻结比特中;According to the third sequence, allocating K information bits to non-pre-frozen bits corresponding to M modulation orders in the third sequence; 对所述第三序列的所述调制阶数M对应的编码层数中的每一层进行编码,得到M个n’长的码字;Encode each layer of the coding layers corresponding to the modulation order M of the third sequence to obtain M codewords of length n′; 将所述第三序列作为速率匹配序列根据所述M个n’长的码字,得到M个n长的码字,Using the third sequence as a rate matching sequence, obtaining M codewords of length n according to the M codewords of length n, 发送n个发送符号,所述n个发送符号是根据所述M个n长的码字进行调制得到的。n transmission symbols are sent, where the n transmission symbols are modulated according to the M n-length codewords. 一种Polar码的速率匹配的方法,其特征在于,包括:A method for rate matching of Polar codes, comprising: 基于第一符号数n,确定第二符号数n’,n’≥n,且n’为2的整数次幂,n为正整数; Based on the first symbol number n, determine a second symbol number n', n'≥n, and n' is an integer power of 2, and n is a positive integer; 根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,所述第一位置集合包括(n’-n)个符号对应的第一比特位置;Determine a first position set according to the first symbol number n and the second symbol number n', where the first position set includes first bit positions corresponding to (n'-n) symbols; 在第二序列中,对所述第一比特位置指示的比特进行预冻结,得到第三序列,所述第三序列为极性polar码译码相关的预冻结序列,In the second sequence, the bit indicated by the first bit position is pre-frozen to obtain a third sequence, wherein the third sequence is a pre-frozen sequence related to polar code decoding, 其中,所述第二序列是根据所述第二符号数n’,对第一序列中(N-n’)个符号对应的比特进行预冻结得到的序列,所述第一序列对应符号个数N和调制阶数M,N≥n’,且N,M均为正整数。The second sequence is a sequence obtained by pre-freezing bits corresponding to (N-n’) symbols in the first sequence according to the second symbol number n’, and the first sequence corresponds to the symbol number N and the modulation order M, N≥n’, and N and M are both positive integers. 根据权利要求7所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 7, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定第二位置集合,所述第二位置集合包括所述第二序列中第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,所述第二位置集合包括(n’-n)个符号对应的第二比特位置;Determine a second position set according to the first symbol number n, the second symbol number n' and the second sequence, the second position set including a bit position corresponding to the nth symbol to a bit position corresponding to the (n'-1)th symbol in the second sequence, and the second position set including second bit positions corresponding to the (n'-n)th symbol; 对所述(n’-n)个符号对应的所述第二比特位置进行比特逆序,确定所述第一位置集合。The second bit positions corresponding to the (n’-n) symbols are bit reversed to determine the first position set. 根据权利要求7所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 7, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和所述第二序列,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置。The first position set is determined based on the first symbol number n, the second symbol number n’ and the second sequence, and the first bit position corresponding to the (n’-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n’-1)th symbol determined after sub-block interleaving of the bit positions corresponding to the second sequence. 根据权利要求7所述的方法,其特征在于,所述根据所述第一符号数n和所述第二符号数n’,确定第一位置集合,包括:The method according to claim 7, characterized in that the determining the first position set according to the first symbol number n and the second symbol number n' comprises: 根据所述第一符号数n,所述第二符号数n’和码率Ri,确定所述第一位置集合,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第n个符号对应的比特位置至第(n’-1)个符号对应的比特位置,或者,所述第一位置集合中的所述(n’-n)个符号对应的所述第一比特位置为所述第二序列对应的比特位置进行子块交织之后确定的第0个符号对应的比特位置至第(n’-n-1)个符号对应的比特位置,The first position set is determined according to the first symbol number n, the second symbol number n' and the code rate Ri, the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the nth symbol to the bit position corresponding to the (n'-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, or the first bit position corresponding to the (n'-n)th symbol in the first position set is the bit position corresponding to the 0th symbol to the bit position corresponding to the (n'-n-1)th symbol determined after sub-block interleaving of the bit position corresponding to the second sequence, 其中,所述Ri是所述第二序列中第i个调制阶数对应的信息比特的个数ki与第一符号数n的比值,0≤i≤M-1。Among them, the Ri is the ratio of the number ki of information bits corresponding to the i-th modulation order in the second sequence to the first number of symbols n, 0≤i≤M-1. 根据权利要求7至10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 10, characterized in that the method further comprises: 接收n个发送符号,对该n个发送符号按照所述调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列;Receiving n transmitted symbols, and serially demodulating the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded; 根据所述第一位置集合中可靠度最高的比特位置,对所述M个n长的待译码信息序列进行解速率匹配得到M个n’长待译码信息序列;According to the bit position with the highest reliability in the first position set, rate matching is performed on the M n-length to-be-decoded information sequences to obtain M n′-length to-be-decoded information sequences; 对所述M个n’长的码字按照所述调制阶数M对应的编码层数逐层进行译码,得到编码层数中第i层对应的ki个信息比特,其中,K为正整数。The M n'-length codewords are decoded layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain ki information bits corresponding to the i-th layer in the number of coding layers, where: K is a positive integer. 根据权利要求7至10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 10, characterized in that the method further comprises: 接收n个发送符号,对该n个发送符号按照所述调制阶数M对应的编码层数逐层进行串行解调,得到M个n长的待解速率匹配信息序列;Receiving n transmitted symbols, and serially demodulating the n transmitted symbols layer by layer according to the number of coding layers corresponding to the modulation order M, to obtain M n-length rate matching information sequences to be decoded; 根据所述调制阶数M对应的编码层数中第i层编码层数对应的所述第一位置集合中的第一比特位置,对所述M个n长码字进行解速率匹配得到M个n’长的待译码信息序列;According to the first bit position in the first position set corresponding to the i-th coding layer number in the coding layer number corresponding to the modulation order M, rate matching is performed on the M n-length codewords to obtain M n'-length information sequences to be decoded; 对所述M个n’长的码字按照所述调制阶数M对应的编码层数逐层进行译码,得到所述第i层编码层数对应的ki个信息比特,K为正整数。Decoding the M n'-length codewords layer by layer according to the number of coding layers corresponding to the modulation order M to obtain ki information bits corresponding to the i-th coding layer number, K is a positive integer. 一种通信装置,其特征在于,包括用于执行权利要求1至6中任一项所述的方法的模块或单元,或者,用于执行权利要求7至12中任一项所述的方法的模块或单元。A communication device, characterized in that it comprises a module or unit for executing the method according to any one of claims 1 to 6, or a module or unit for executing the method according to any one of claims 7 to 12. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,以使所述通信装置执行如权利要求1至6中任一项所述的方法,或者,以使所述通信装置执行如权利要求7至12中任一项所述的方法。A communication device, characterized in that it comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to execute a computer program or instruction stored in the at least one memory so that the communication device performs the method as described in any one of claims 1 to 6, or so that the communication device performs the method as described in any one of claims 7 to 12. 一种芯片,其特征在于,包括处理器和通信接口,所述通信接口用于接收待编码的序列,并将所述待编码的序列发送至所述处理器,所述处理器根据如权利要求1至6中任一项所述的方法,或者, 所述处理器根据如权利要求7至12中任一项所述的方法。A chip, characterized in that it comprises a processor and a communication interface, wherein the communication interface is used to receive a sequence to be encoded and send the sequence to be encoded to the processor, wherein the processor is according to the method according to any one of claims 1 to 6, or The processor is according to the method of any one of claims 7 to 12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得如权利要求1至6中任一项所述的方法,或者,使得如权利要求7至12中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, which, when executed on a computer, enable the method as claimed in any one of claims 1 to 6, or the method as claimed in any one of claims 7 to 12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得如权利要求1至6中任一项所述的方法,或者,使得如权利要求7至12中任一项所述的方法。 A computer program product, characterized in that the computer program product comprises computer program code, and when the computer program code is run on a computer, the method according to any one of claims 1 to 6 is performed, or the method according to any one of claims 7 to 12 is performed.
PCT/CN2024/127763 2023-11-06 2024-10-28 Polar code rate matching method and communication apparatus Pending WO2025098179A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311473427.9A CN119945619A (en) 2023-11-06 2023-11-06 Polar code rate matching method and communication device
CN202311473427.9 2023-11-06

Publications (1)

Publication Number Publication Date
WO2025098179A1 true WO2025098179A1 (en) 2025-05-15

Family

ID=95549415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/127763 Pending WO2025098179A1 (en) 2023-11-06 2024-10-28 Polar code rate matching method and communication apparatus

Country Status (2)

Country Link
CN (1) CN119945619A (en)
WO (1) WO2025098179A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567151A (en) * 2021-07-02 2023-01-03 华为技术有限公司 An encoding and decoding method and device
CN115720124A (en) * 2021-08-24 2023-02-28 华为技术有限公司 Coding and decoding method and communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567151A (en) * 2021-07-02 2023-01-03 华为技术有限公司 An encoding and decoding method and device
CN115720124A (en) * 2021-08-24 2023-02-28 华为技术有限公司 Coding and decoding method and communication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "Rate matching for Polar code", 3GPP DRAFT; R1-1712169 RATE MATCHING FOR POLAR CODE, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG1, no. Prague, Czech Republic; 20170821 - 20170825, 20 August 2017 (2017-08-20), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051314988 *

Also Published As

Publication number Publication date
CN119945619A (en) 2025-05-06

Similar Documents

Publication Publication Date Title
CN111954982B (en) Apparatus and method for encoding and decoding using polar codes in wireless communication systems and broadcasting systems
JP7017627B2 (en) Redundant version design solution in communication systems
US20240031058A1 (en) Encoding and modulation method, demodulation and decoding method, and apparatus
CN106817195B (en) Method and apparatus for rate matching of polar codes
JP6731115B2 (en) Information transmission method, transmission end device and reception end device
CN112187403B (en) Information processing method and device, communication equipment and communication system
CN107005690A (en) Method, device and the Wireless Telecom Equipment of the rate-matched of polarization code
WO2022218208A1 (en) Modulation method, demodulation method, and communication device
US20230224082A1 (en) Retransmission method and apparatus
JP2019537378A (en) Coding and modulation method and communication device
US12483274B2 (en) Polar code encoding and rate-matched sequence outputting method and apparatus
CN108173621A (en) Method, sending device, receiving device and the communication system of data transmission
WO2021254291A1 (en) Polar code rate matching method and apparatus
US20230171033A1 (en) Retransmission method and apparatus
WO2020135616A1 (en) Polar coded modulation method and apparatus
WO2018201481A1 (en) Method and device for incremental redundancy hybrid automatic repeat request (ir-harq) re-transmission
CN108809500B (en) Coding method, apparatus and equipment
WO2022206623A1 (en) Coding method, decoding method and communication apparatus
WO2024077486A1 (en) Method for determining cyclic redundancy check (crc) bit, and communication method and apparatus
CN108631977B (en) Method and equipment for sending broadcast information indication
WO2025098179A1 (en) Polar code rate matching method and communication apparatus
WO2020052431A1 (en) Information modulation-demodulation method and apparatus
WO2024031285A1 (en) Data processing method, apparatus and device
CN103957076B (en) Building method and communication means of the novel non-linearity into shape code
CN116667861A (en) Encoding method and encoding device based on polar code

Legal Events

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

Ref document number: 24887792

Country of ref document: EP

Kind code of ref document: A1