Method and apparatus for interleaving

By determining the maximum length of the interleaver, the system decides whether to perform interleaving, thus solving the problem that interleavers cannot be used in high-order modulation or fading channels and ensuring the effectiveness and performance of channel coding.

CN123163773APending Publication Date: 2026-11-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510678955.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In channel coding, high-order modulation or fading channels cause inconsistent input subchannel capacity at each bit position. Existing interleaving methods cannot achieve interleaving when the code length after rate matching is greater than the maximum length of the interleaver, which affects the decoding effect.

Method used

By determining the maximum interleaving sequence length of the interleaver, we can decide whether to perform interleaving. This avoids interleaving when the interleaver cannot handle the load, adopts a no-interleaving strategy to avoid performance degradation, and performs interleaving under appropriate conditions to ensure the net payload bit segmentation effect of channel coding.

Benefits of technology

This avoids the problem of limited maximum length of the interleaver, while maintaining or improving the output sequence performance of the interleaver and reducing physical implementation overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163773A_ABST
    Figure CN123163773A_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for interleaving or deinterleaving, which determines whether to perform interleaving processing on the sequence to be interleaved by judging information. When it is determined that interleaving processing should be performed, the interleaved sequence is output. However, in some cases, because the effect of interleaving on the uniformity of codeword bits is weakened to almost nothing, interleaving processing can be omitted. In this case, the output sequence of the interleaver is the sequence to be interleaved, i.e., no interleaving processing is performed. This can avoid the problem that interleaving cannot be performed when the code length after rate matching exceeds the maximum interleaved sequence length that the interleaver can handle, and it can also guarantee the optimal segmentation strategy in existing schemes, thereby ensuring coding performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and more specifically, to an interleaving method and apparatus. Background Technology

[0002] In channel coding, the coding structure is based on a White Gaussian Noise (AWGN) channel, thus assuming that the input sub-channel capacity at each bit position is consistent. However, in reality, once higher-order modulation is used, or if the channel experiences fading, the consistency of the input sub-channel capacity at each bit position cannot be guaranteed. For example, during higher-order modulation demodulation, the signal energies of multiple bits within a symbol are not identical after demodulation. When consecutive bits of a codeword are mapped to a symbol, the demodulated codeword bits exhibit regular changes in sub-channel capacity, thus violating the assumed channel environment in the coding structure and leading to degraded decoding results. Similarly, fading channels cause similar problems.

[0003] To address this issue, interleaving is typically used to randomize the differences in subchannel capacity, thus homogenizing the subchannel capacity across all bit positions of the codeword. However, in one possible scenario, the transmission length after rate matching might exceed the maximum interleaving sequence length that the interleaver can handle, leading to an inability to interleave. Summary of the Invention

[0004] This application provides an interleaving method and apparatus that can avoid the problem that interleaving cannot be achieved when the maximum length of the interleaver is less than the code length after rate matching, while ensuring the long code gain brought about by reasonable segmentation of the net payload bits of channel coding.

[0005] Firstly, an interleaving method is provided, which can be executed by a communication device, which can be a communication equipment (e.g., a network-side device, a terminal-side device, or an encoding device), or a component for the communication equipment (e.g., a processor, a chip, a circuit, a logic module that implements all or part of the functions of the communication equipment, hardware and / or software, etc.). The component for the communication equipment can be deployed within the communication equipment, or it can be independent of the communication equipment but coupled to it. The communication device is applied on the encoding side. The method includes: acquiring a sequence to be interleaved; determining, based on judgment information, whether to perform interleaving processing on the sequence to be interleaved, the judgment information including the maximum interleaved sequence length of the interleaver; outputting the sequence to be interleaved as an output sequence if no interleaving processing is performed; or, if interleaving processing is performed, outputting the interleaved sequence as an output sequence.

[0006] In the technical solution of this application, the decision to perform interleaving processing on the sequence to be interleaved is made by judging information. Using the maximum interleaving sequence length of the interleaver to determine whether to perform interleaving processing allows for the decision not to perform interleaving processing when the homogenizing effect of interleaving on the sub-channel capacity of codeword bits is weakened or almost ineffective. This avoids the problem of interleaving being impossible when the code length after rate matching exceeds the maximum interleaving sequence length that the interleaver can handle, and also prevents a performance degradation of the interleaver's output sequence.

[0007] In some implementations of the first aspect, determining whether to perform interleaving processing on the sequence to be interleaved based on judgment information includes: determining whether to perform interleaving processing based on the maximum interleaving sequence length of the interleaver, wherein: if the length E of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, it is determined that no interleaving processing will be performed.

[0008] In this implementation, the length E of the sequence to be interleaved is compared with the maximum interleaved sequence length E of the interleaver. int When E is greater than E int In this case, it was determined that no interleaving processing would be performed. The inventors of this application discovered during the research process that when E is greater than E... int In such cases, the characteristics of low code rate, low modulation order, and low MCS are usually met. However, the effect of interleaving on the uniformity of subchannel capacity of codeword bits is weakened and has almost no effect. In this case, adopting a strategy of not interleaving avoids the problem of the interleaver's maximum interleaving sequence length being limited and unable to interleave the sequences to be interleaved, and also does not lead to a decrease in sequence performance.

[0009] Based on the design concept of the technical solution in this application, it is also possible to design the maximum interleaving sequence length of the interleaver to be smaller in future communication systems, thereby reducing the physical implementation overhead of the interleaver.

[0010] In some implementations of the first aspect, determining whether to perform interleaving processing on the sequence to be interleaved based on judgment information includes: determining whether to perform interleaving processing based on the maximum interleaving sequence length of the interleaver, wherein: if the length of the sequence to be interleaved is less than or equal to the maximum interleaving sequence length of the interleaver, it is determined that interleaving processing should be performed.

[0011] As another implementation of determining whether to perform interleaving based on the maximum interleaving sequence length of the interleaver, interleaving is performed when the length of the sequence to be interleaved is less than or equal to the maximum interleaving sequence length of the interleaver. The interleaving method may include, but is not limited to, interleaving scheme 1, interleaving scheme 2, etc., as described in the embodiments, as detailed in the embodiments.

[0012] In some implementations of the first aspect, the bit rate is lower than a first bit rate threshold without interleaving. In one implementation, the first bit rate threshold is 1 / 4.

[0013] In this implementation, if the length of the sequence to be interleaved is greater than the maximum interleaved sequence length of the interleaver, no interleaving is performed. This usually occurs in low bit rate scenarios.

[0014] In some implementations of the first aspect, the bit rate is greater than or equal to the first bit rate threshold when interleaving is performed.

[0015] In some implementations of the first aspect, without interleaving: the modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is less than or equal to 2; or, the modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is equal to 1.

[0016] In this implementation, if the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, no interleaving is performed. In this case, the number of bits carried by the modulation symbols is relatively small. In other words, when the modulation scheme used carries a small number of bits, the length of the sequence to be interleaved is generally greater than the maximum interleaving sequence length of the interleaver.

[0017] In some implementations of the first aspect, when interleaving is performed: the modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is greater than 2; or, the modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is greater than 1.

[0018] In this implementation, interleaving is performed when the length of the sequence to be interleaved is less than or equal to the maximum interleaving sequence length of the interleaver. At this time, the modulation method satisfies the following conditions: the number of bits carried by the modulation symbol is greater than 2, or the number of bits carried by the modulation symbol of a single-channel signal modulation is greater than 1.

[0019] In some implementations of the first aspect, without interleaving: the modulation scheme is quadrature amplitude modulation (QAM), the number of bits carried by the modulation symbol is less than or equal to 2, and the code rate is less than a second code rate threshold; or, the modulation scheme is a single-channel signal modulation scheme, the number of bits carried by the modulation symbol is equal to 1, and the code rate is less than a second code rate threshold. As an example, the second code rate threshold is 3 / 8.

[0020] In this implementation, the decision to perform interleaving is based on both the modulation scheme and the code rate.

[0021] In some implementations of the first aspect, the MCS is below the first threshold without interleaving. In one implementation, the first threshold is equal to 4.

[0022] In this implementation, if the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, no interleaving is performed. This usually indicates a low MCS (Mean Cross Segmentation).

[0023] In some implementations of the first aspect, when interleaving is performed, the MCS is greater than or equal to the first threshold. In one implementation, the first threshold is equal to 4.

[0024] Secondly, a deinterleaving method is provided, which can be executed by a communication device. This communication device can be a communication instrument (e.g., a network-side device, a terminal-side device, or a decoding device), or a component used in the communication instrument (e.g., a processor, chip, circuit, logic module capable of implementing all or part of the functions of the communication instrument, hardware and / or software, etc.). The component used in the communication instrument can be deployed within the communication instrument, or it can be independent of the communication instrument but coupled to it. This communication device is applied to the decoding side. The method includes: acquiring a demodulated sequence; determining, based on judgment information, whether to perform deinterleaving processing on the demodulated sequence, the judgment information including the maximum interleaved sequence length of the interleaver; outputting the demodulated sequence as an output sequence if no deinterleaving processing is performed; or outputting the deinterleaved sequence as an output sequence if interleaving processing is performed.

[0025] The technical effects of the second aspect can be referred to the explanation of the technical effects of the method in the first aspect, and will not be repeated here.

[0026] In some implementations of the second aspect, determining whether to perform deinterleaving processing on the demodulated sequence based on judgment information includes: determining whether to perform deinterleaving processing based on the maximum interleaving sequence length of the interleaver, wherein: if the length E of the demodulated sequence is greater than the maximum interleaving sequence length of the interleaver, it is determined that no interleaving processing will be performed.

[0027] In this implementation, on the receiving side, the length E of the demodulated sequence is greater than the maximum interleaved sequence length E of the interleaver. int On the transmitting side, the length E of the sequence to be interleaved is greater than the maximum interleaved sequence length E of the interleaver. int They are essentially the same. In this case, the receiving side does not perform deinterleaving because the transmitting side does not perform interleaving in this situation.

[0028] In some implementations of the second aspect, determining whether to perform deinterleaving processing on the demodulated sequence based on judgment information includes: determining whether to perform deinterleaving processing based on the maximum interleaving sequence length of the interleaver, wherein: if the length E of the demodulated sequence is less than or equal to the maximum interleaving sequence length of the interleaver, it is determined that deinterleaving processing should be performed.

[0029] In some implementations of the second aspect, the bit rate is lower than a first bit rate threshold without deinterleaving. In one implementation, the first bit rate threshold is 1 / 4.

[0030] In some implementations of the second aspect, the bit rate is greater than or equal to the first bit rate threshold when deinterleaving is performed.

[0031] In some implementations of the second aspect, the demodulated sequence is obtained by using a demodulation method corresponding to the modulation method. Without deinterleaving: the modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is less than or equal to 2; or, the modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is equal to 1.

[0032] In some implementations of the second aspect, the demodulated sequence is obtained by using a demodulation method corresponding to the modulation method. In the case of deinterleaving: the modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is greater than 2; or, the modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is greater than 1.

[0033] In some implementations of the second aspect, the MCS is below the first threshold without deinterleaving. As an example, the first threshold is equal to 4.

[0034] Thirdly, an interleaving method is provided, which can be executed by a communication device, referring to the description of the first aspect. The method includes: acquiring a sequence to be interleaved; determining, based on judgment information, whether to perform interleaving processing on the sequence to be interleaved, the judgment information including one or more of the following: modulation scheme, code rate, modulation and coding scheme (MCS); outputting the sequence to be interleaved as an output sequence if no interleaving processing is performed; or, if interleaving processing is performed, outputting the interleaved sequence as an output sequence.

[0035] In the technical solution of this application, the decision to perform interleaving on the sequence to be interleaved is made by using judgment information. Considering the possibility that the length of the sequence to be interleaved may exceed the maximum interleaving sequence length of the interleaver, the modulation scheme, code rate, and MCS usually also meet the corresponding characteristics, such as low code rate, low MCS, and low modulation order. Therefore, using one or more of these information as judgment information to determine whether to perform interleaving can prevent interleaving when the code length after rate matching exceeds the maximum interleaving sequence length that the interleaver can handle. This avoids the problem that interleaving is impossible when the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, and also avoids the performance loss of the best segmentation strategy in the known scheme caused by adopting new segmentation rules.

[0036] In some implementations of the third aspect, the length of the sequence to be interleaved is greater than a length threshold, and the length threshold is less than the maximum interleaved sequence length of the interleaver.

[0037] In this implementation, the decision to perform interleaving is based on one or more of the modulation scheme, code rate, and MCS. At the same time, the length of the sequence to be interleaved can also be taken into account whether it is greater than the length threshold. The length threshold is defined as being less than the maximum interleaved sequence length of the interleaver. For example, it can be the length of the mother code, such as 0.5 times, 1.5 times, or 2 times the length of the mother code.

[0038] In some implementations of the third aspect, the judgment information is the bit rate; determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: determining whether to perform interleaving processing on the sequence to be interleaved based on the bit rate; wherein, if the bit rate is lower than a first bit rate threshold, it is determined that the sequence to be interleaved will not be interleaved.

[0039] In another implementation, if the bit rate is greater than or equal to a first bit rate threshold, the sequence to be interleaved is determined to be interleaved.

[0040] In some implementations of the third aspect, the judgment information is the modulation scheme; determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: determining whether to perform interleaving processing on the sequence to be interleaved based on the modulation scheme, wherein, in any of the following cases, it is determined that the sequence to be interleaved will not be interleaved: when the modulation scheme is quadrature amplitude modulation (QAM), the number of bits carried by the modulation symbol is less than or equal to 2; or, when the modulation scheme is a single-channel signal modulation scheme, the number of bits carried by the modulation symbol is equal to 1.

[0041] In another implementation, interleaving is performed in either of the following cases: the number of bits carried by the modulation symbol of QAM modulation is greater than 2, or the number of bits carried by the modulation symbol of single-channel modulation is greater than 1.

[0042] In some implementations of the third aspect, the judgment information is the MCS; determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: determining whether to perform interleaving processing on the sequence to be interleaved based on the MCS, wherein: if the MCS is lower than a first threshold, it is determined that the sequence to be interleaved will not be interleaved. As an example, the first threshold is equal to 4.

[0043] In another implementation, if the MCS is greater than or equal to the first threshold, the sequence to be interleaved is determined to be interleaved.

[0044] Fourthly, a deinterleaving method is provided, which can be executed by a communication device, referring to the description of the second aspect. The method includes: acquiring a demodulated sequence; determining, based on judgment information, whether to perform deinterleaving processing on the demodulated sequence, the judgment information including one or more of the following: modulation scheme, code rate, modulation and coding scheme (MCS); outputting the demodulated sequence as an output sequence if no interleaving processing is performed; or outputting the deinterleaved sequence as an output sequence if interleaving processing is performed.

[0045] The technical effects of the fourth aspect can be referred to the explanation of the technical effects of the method in the third aspect, and will not be repeated here.

[0046] In some implementations of the fourth aspect, the length of the demodulated sequence is greater than a length threshold, and the length threshold is less than the maximum interleaved sequence length of the interleaver.

[0047] In some implementations of the fourth aspect, the judgment information is the code rate; determining whether to perform deinterleaving processing on the demodulated sequence based on the judgment information includes: determining whether to perform deinterleaving processing on the demodulated sequence based on the code rate; wherein, if the code rate is lower than a first code rate threshold, it is determined that the sequence to be interleaved will not be deinterleaved.

[0048] In another implementation, if the bit rate is greater than or equal to a first bit rate threshold, it is determined that the sequence to be interleaved should be deinterleaved.

[0049] In some implementations of the fourth aspect, the determination information is the modulation scheme; determining whether to perform deinterleaving processing on the demodulated sequence based on the determination information includes: determining whether to perform interleaving processing on the demodulated sequence based on the modulation scheme; wherein, in any of the following cases, it is determined that no deinterleaving processing is performed on the demodulated sequence: when the modulation scheme is quadrature amplitude modulation (QAM), the number of bits carried by the modulation symbol is less than or equal to 2; or, when the modulation scheme is a single-channel signal modulation scheme, the number of bits carried by the modulation symbol is equal to 1.

[0050] In another implementation, deinterleaving is performed in any of the following cases: the number of bits carried by the modulation symbol of QAM modulation is greater than 2, or the number of bits carried by the modulation symbol of single-channel modulation is greater than 1.

[0051] In some implementations of the fourth aspect, the determination information is the MCS; determining whether to perform deinterleaving processing on the demodulated sequence based on the determination information includes: determining whether to perform deinterleaving processing on the demodulated sequence based on the MCS, wherein if the MCS is lower than a first threshold, it is determined that the sequence to be interleaved will not be deinterleaved. In another implementation, when the MCS is greater than or equal to the first threshold, it is determined that deinterleaving processing will be performed. As an example, the first threshold is equal to 4.

[0052] In some implementations of the first or third aspect, the method further includes: acquiring information bits; encoding the information bits to obtain codeword bits; and performing rate matching on the codeword bits to obtain a sequence to be interleaved.

[0053] In some implementations of the first or third aspect, the method further includes: modulating the output sequence to obtain a modulation symbol sequence; and outputting the modulation symbol sequence.

[0054] In some implementations of the second or fourth aspect, the method further includes: performing rate matching on the output sequence to obtain a rate-matched sequence; and performing channel decoding on the rate-matched sequence to obtain a decoded sequence.

[0055] In some implementations of the second or fourth aspect, the method further includes: acquiring a modulation symbol sequence; demodulating the modulation symbols in the demodulated symbol sequence to obtain a demodulated sequence.

[0056] Fifthly, a communication device is provided, the communication device having the function of implementing the methods of the first aspect or the third aspect, or any possible implementation of these aspects. 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-described functions.

[0057] As an example, the communication device includes a processing module and a communication module. The communication module is used to acquire the sequence to be interleaved; the processing module is used to: determine whether to perform interleaving processing on the sequence to be interleaved based on judgment information; and the communication module is also used to output an output sequence. When interleaving processing is performed, the output sequence is the interleaved sequence; when interleaving processing is not performed, the output sequence is the sequence to be interleaved, or in other words, the input sequence of the interleaver. Optionally, when applied to the method of the first aspect, the judgment information includes the maximum interleaved sequence length of the interleaver; when applied to the method of the third aspect, the judgment information includes one or more of the following: modulation scheme, code rate, and MCS.

[0058] Sixthly, a communication device is provided, the communication device having the function of implementing the methods of the second aspect or the fourth aspect, or any possible implementation of these aspects. 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-described functions.

[0059] As an example, the communication device includes a processing module and a communication module, wherein the communication module is used to acquire the demodulated sequence; the processing module is used to: determine whether to perform deinterleaving processing on the demodulated sequence based on judgment information; and the communication module is also used to output an output sequence. When deinterleaving processing is performed, the output sequence is the deinterleaved sequence; when deinterleaving processing is not performed, the output sequence is the demodulated sequence, or in other words, the input sequence of the deinterleaver. Optionally, when applied to the method of the second aspect, the judgment information includes the maximum interleaved sequence length of the interleaver; when applied to the method of the fourth aspect, the judgment information includes one or more of the following: modulation scheme, code rate, and MCS.

[0060] A seventh aspect provides a communication device including at least one processor configured to cause the communication device to perform a method of the first aspect or the third aspect, or any possible implementation thereof; or to perform a method of the second aspect or the fourth aspect, or any possible implementation thereof. Optionally, the at least one processor is coupled to at least one memory for storing a computer program or instructions, and the at least one processor is configured to call and run the computer program or instructions from the at least one memory, causing the communication device to perform a method of the first aspect or the third aspect, or any possible implementation thereof; or to perform a method of the second aspect or the fourth aspect, or any possible implementation thereof. Optionally, the at least one processor may be included in the communication device or may be configured externally to the communication device. Optionally, the communication device further includes the at least one memory. Optionally, the communication device further includes at least one communication interface. As an example, the communication interface may include an input interface and / or an output interface, or may be an interface circuit.

[0061] Eighthly, a communication device is provided, comprising a communication interface and a circuit. The communication interface is configured to receive a signal to be processed and transmit the signal to the circuit. The circuit is configured to process the signal to perform a method as described in the first or third aspect, or any possible implementation thereof; or to perform a method as described in the second or fourth aspect, or any possible implementation thereof. Optionally, the communication interface is further configured to output the signal processed by the circuit. Optionally, the signal may include information and / or data. Optionally, the communication device may be a chip (e.g., a baseband chip) or a chip system.

[0062] A ninth aspect provides a computer-readable storage medium storing computer program code or instructions that, when executed on a computer, cause the method described in the first or third aspect, or any possible implementation thereof, to be implemented; or the method described in the second or fourth aspect, or any possible implementation thereof, to be implemented.

[0063] In a tenth aspect, a computer program product is provided, the computer program product comprising computer program code or instructions, which, when executed on a computer, cause the method of the first aspect or the third aspect, or any possible implementation thereof, to be implemented; or, as in the second aspect or the fourth aspect, or any possible implementation thereof, to be implemented.

[0064] Eleventhly, a wireless communication system is provided, comprising a communication device that performs the method of the first aspect or any possible implementation thereof, and a communication device that performs the method of the second aspect or any possible implementation thereof; or, comprising a communication device that performs the method of the third aspect or any possible implementation thereof, and a communication device that performs the method of the fourth aspect or any possible implementation thereof. Attached Figure Description

[0065] Figure 1 This is a schematic diagram of an interlacing scheme.

[0066] Figure 2 This is an example of a communication system applicable to the technical solutions of this application.

[0067] Figure 3 This is a schematic diagram of the basic process of wireless communication.

[0068] Figure 4 A schematic flowchart illustrating the interleaving or deinterleaving method provided in this application.

[0069] Figure 5 A schematic structural diagram of the communication device provided in this application.

[0070] Figure 6 A schematic structural diagram of another communication device provided in this application.

[0071] Figure 7 A schematic structural diagram of the chip provided in this application. Detailed Implementation

[0072] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0073] For coding, the basic construction method is based on the assumption of a white Gaussian noise (AWGN) channel, thus assuming that the input sub-channel capacity at each bit position is consistent. However, in reality, once higher-order modulation is used, or if fading channels exist, the consistency of the input sub-channel capacity at each bit cannot be guaranteed. For example, during higher-order modulation and demodulation, the signal energy of multiple bits within a symbol is not the same after demodulation. This can be understood as the input sub-channel capacity of multiple bits within a higher-order modulation being inconsistent. When consecutive bits of a codeword are mapped to a symbol, the bits of the demodulated codeword exhibit regular changes in sub-channel capacity, thus violating the assumed channel environment in the coding construction. This leads to a deterioration in decoding results. Similarly, fading channels cause similar problems, resulting in a significant difference between the sub-channel capacity of some consecutive bit positions and that of other consecutive bit positions within a codeword.

[0074] To solve this problem, an interleaving method is generally used to randomize the difference in subchannel capacity, so that the subchannel capacity at each bit position of the entire codeword becomes uniform.

[0075] For example, the encoded sequence A = {a0, a1, a2…} has a modulated sequence B = {b0, b1, b2…}. Every 6 consecutive bits in sequence B are modulated into 64QAM symbols S = {S0, S1, S2…} according to codebook C. Since the I / Q signals of 64QAM are independent, the codebook design for every 3 bits is shown in Table 1 below.

[0076] Table 1

[0077] Bit 000 001 011 010 110 111 110 100 symbol 7 5 3 1 -1 -3 -5 -7

[0078] The transmitting side modulates the symbols according to the codebook and transmits them (or modulated symbols). The receiving side receives the symbols. The six bits (I / Q) of the symbols are simultaneously demodulated to obtain six maximum likelihood ratio (LLR) values. After deinterleaving according to the interleaved sequence, the deinterleaved LLRs are decoded to obtain the decoded result.

[0079] For channel bit interleaving, the optimal interleaving scheme should be random interleaving of the entire transmitted codeword. However, random interleaving is difficult to implement in practical engineering, so some feasible interleaving methods are used as alternatives. Two interleaving schemes are given below as examples.

[0080] Interleaving Scheme 1

[0081] For example, triangular interweaving.

[0082] Let E be the transmission length of the codeword (i.e., the code length after rate matching), and T be the number of rows in the triangular interleaving, taking the area of ​​the triangle. T is the smallest integer satisfying the following relationship: T(T+1) / 2≥E;

[0083]

[0084]

[0085] The pseudocode above can be viewed as follows: Decompose E into a right-angled triangle of length T and height T, then write it row by row and read it column by column. When reading by column, skip any part of the triangle where the number of rows written exceeds E. The maximum value of E is 8192.

[0086] For example, the same or similar interleaving scheme may be used in the channel coding-related technical specifications for wireless communication.

[0087] Intertwining Scheme 2

[0088] The number of interleaved columns, Col = 62.

[0089] Maximum number of rows in the interleaver max =128

[0090] Number of sub-interleaved sequences I num =3;

[0091] Interleaved sequence is I seq [3]

[62] The settings are as follows:

[0092] I seq[0] = {5 39 18 47 6 45 21 50 4 40 30 55 1 46 22 54 0 42 27 61 7 4329 60 12 37 20 51 14 35 25 52 3 44 16 56 10 32 23 49 13 41 28 58 9 31 26 5315 38 17 48 11 36 24 57 2 33 19 59 8 34};

[0093] I seq [1] = {5 36 21 49 4 37 20 52 14 35 27 61 2 32 28 53 7 31 17 58 3 3826 60 11 43 16 51 8 45 25 56 12 34 19 47 13 41 24 54 10 44 22 59 1 40 23 57 046 18 48 6 42 29 55 15 33 30 50 9 39};

[0094] I seq [2]={8 36 16 52 14 35 19 51 9 45 24 58 15 33 23 59 11 38 30 48 1234 29 57 6 42 20 47 4 39 21 56 13 43 25 50 1 44 18 55 10 41 27 53 0 32 22 547 31 17 49 5 37 26 60 2 46 28 61 3 40};

[0095] Set interleaving cache B tmp = {NULL, NULL, ... NULL}, with a length of Col × Row max .

[0096] Given an input sequence e of length E to be interleaved, output an interleaved sequence f of length E.

[0097] The interleaving process in the above interleaving scheme 2 is as follows: Figure 1 As shown.

[0098] Figure 1 This is a schematic diagram of an interlacing scheme. For example... Figure 1 The input bit sequence is divided into multiple bit groups of 62 bits each, resulting in multiple parallel bit groups. Then, a multiplexer selects the bit group I. seq [0]、I seq [1] or I seq[2] One of them. As explained above, these three interleaving sequences are fixed. The streams are rotated sequentially to select one of the sequences to interleave. The interleaved bits are written to the row according to the row identifier (Row_ID), writing 62 bits obtained by the sequence interleaving each time, inputting two banks of a row in parallel. For example, the first 62 bits are written to Row_0 / Bank_0 and Row_0 / Bank_1, then the second 62 bits are written to Row_1 / Bank_0 and Row_1 / Bank_1, and so on. Assume a total of x+1 rows are written. Each row has two banks, and each bank has 31 bits. When reading, the data is read in parallel according to the size of the bank, i.e., 31 bits. For example, first read Row_0 of Bank_0, then read Row_1 of Bank_0, and so on. After reading Row_x of Bank_0, start reading Bank_1. For example, first read Row_0 of Bank_1, then read Row_1 of Bank_1, and so on, until Row_x of Bank_1 is read. The read sequence is the interleaved sequence.

[0099] Below is an example of the segmentation rules for net charge bits.

[0100] Segmentation Rule 1

[0101] The segmentation rules for the payload during encoding are as follows:

[0102] If the payload A ≥ 360 and G ≥ 1088, or if the payload A ≥ 1033, then the polar code is divided into two segments; otherwise, it is not divided into segments.

[0103] For example, if the allocated channel resources G = 8200 and A = 200, then according to the segmentation rules, the number of segments = 1, and E = 8200. The maximum size E of the interleaver specified in the standard... int =8192, therefore it cannot be placed into a coding block of length E of 8200. For example, the same or similar segmentation scheme can be used in the channel coding-related technical specifications of wireless communication.

[0104] Segmentation Rule 2

[0105] Calculate the number of segments C: Where, N m The value is 4096, if mod(E tot N m )≠0, and ( And C<9) and (E tot -C·N mIf R > T, then C = C + 1; otherwise, C = max(1, C). Here, R is the coding rate (or simply code rate) indicated by the modulation and coding scheme (MCS), and T is determined based on the code rate R. If R > 2 / 3, then T = 192; otherwise, T = 384. `mod` represents the modulo operation, where E... tot This represents the total system resources allocated before segmentation.

[0106] Calculate the number of information bits A TBS :

[0107] In one example, when R = 64 / 1024 or 80 / 1024, (E) cannot be satisfied. tot -C·N m The condition is R>T, where T=384.

[0108] For example, E tot =8100, R=64 / 1024, it can be determined

[0109] Judgment: (E) tot -C·N m R = (8100-4096)*64 / 1024 = 250.25 > T = 384, which is false. Therefore, C = max(1,C) = 1.

[0110] At this point, the segment length of CB is E = 8100, while the maximum size of the interleaver is E. int =128*62=7936. Similarly, the interleaver cannot fill a CB of length E=8100.

[0111] One possible reasonable approach is to limit the minimum number of segments based on the size of the interleaver to avoid this problem. For example, the maximum size of the interleaver could be E. int The minimum number of segments is 7936.

[0112]

[0113] The C calculated from this min =2, at this point it can be divided into two segments. 8100 is divided into two segments of length 4500 for encoding. However, this will result in a loss of performance gain for long codes, and the number of CBs will increase, leading to an increase in encoding complexity.

[0114] In researching the aforementioned problems, the inventors of this application discovered that in coding systems, at low code rates and low modulation orders, the effect of the interleaver in homogenizing codeword bits is weakened, becoming almost ineffective. Furthermore, interleaving cannot be performed when the transmission length E exceeds the interleaver's maximum capacity. In such cases, interleaving can be omitted.

[0115] Therefore, this application provides several ways to determine whether to interleave the sequences to be interleaved. In some cases, interleaving can be omitted, while in other cases, interleaving can be performed.

[0116] The technical solution of this application is described below.

[0117] The technical solutions of this application can be applied to various communication systems, including but not limited to: satellite communication systems, fifth-generation (5G) systems or new radio (NR) systems, long-term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, future communication systems, etc. Furthermore, they can also be applied to sidelink (SL) 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 herein.

[0118] The communication system applicable to this application may include one or more transmitters and one or more receivers. Optionally, one of the transmitters and receivers may be a terminal device, and the other may be a network device.

[0119] For example, a 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 apparatus. In the embodiments of this application, the terminal device may be a device that provides voice and / or data connectivity to a user, and can be used to connect people, objects, and machines, such as a handheld device with wireless connectivity, in-vehicle equipment, etc. The terminal devices in the embodiments of this application can be mobile phones, tablets, laptops, handheld computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, and wireless terminals in smart homes, etc., providing sidelink signals between UEs.

[0120] In this embodiment, the device for implementing the terminal-side function can be a terminal device or a device capable of supporting the terminal device in implementing the function, such as a chip, chip system, hardware circuit, software module, or a combination of hardware circuit and software module. This device can be installed in the terminal device or used in conjunction with the terminal device. The chip system can be composed of chips or can include chips and other discrete components.

[0121] The network device in this application embodiment may include a network-side device that communicates with the terminal device, and the network device may include an access network device. The access network device in this application embodiment may refer to a radio access network (RAN) node (or device) that connects the terminal device to the wireless network. Access network equipment can broadly encompass or be replaced by various names such as: wireless access network equipment, base station, NodeB, evolved NodeB (eNB), next-generation NodeB (gNB), relay station, access point, transmitting and receiving point (TRP), transmitting point (TP), master station, auxiliary station, motor slide retainer (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), radio unit (RU), positioning node, etc. A base station can be a macro base station, micro base station, relay node, donor node, or a combination thereof. A base station can also refer to a communication module, modem, or chip installed within the aforementioned equipment or apparatus. A base station can also be a mobile switching center, equipment performing base station functions in D2D, V2X, and M2M communications, network-side equipment in future communication networks, or equipment performing base station functions in future communication systems. A base station can support networks using the same or different access technologies. Optionally, a RAN node can also be a server, wearable device, vehicle, or in-vehicle equipment. For example, the access network equipment in vehicle-to-everything (V2X) technology can be a roadside unit (RSU). The embodiments of this application do not limit the specific technologies or equipment forms used in the network equipment.

[0122] Base stations can be fixed or mobile. For example, an airplane, helicopter, or drone can be configured to act as a mobile base station, and one or more cells can move depending on the location of the mobile base station. In other examples, an airplane, helicopter, or drone can be configured as a device to communicate with another base station.

[0123] In some deployments, the network devices mentioned in the embodiments of this application may be devices including CU, DU, or CU and DU, or devices with control plane CU nodes (central unit-control plane (CU-CP)) and user plane CU nodes (central unit-user plane (CU-UP)) and DU nodes. For example, the network devices may include gNB-CU-CP, gNB-CU-UP, and gNB-DU.

[0124] In some deployments, multiple RAN nodes collaborate to assist terminals in achieving wireless access, with different RAN nodes each implementing some of the base station's functions. For example, RAN nodes can be CUs, DUs, CU-CPs, CU-UPs, or RUs. CUs and DUs can be configured separately or included in the same network element, such as a BBU. RUs can be included in radio frequency equipment or radio frequency units, such as RRUs, AAUs, or RRHs.

[0125] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an open radio access network (ORAN / O-RAN) system, CU can also be called an open CU (open CU, O-CU), and DU can also be called an open DU (open DU, O-DU). CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software modules and hardware modules.

[0126] In this embodiment, the device for implementing network-side functions can be a network device or a device capable of supporting the network device in implementing corresponding functions, such as a chip, chip system, hardware circuit, software module, or a combination of hardware circuit and software module. This device can be installed in the network device or used in conjunction with the network device. The chip system can be composed of chips or may include chips and other discrete components.

[0127] Optionally, the communication system provided in this application embodiment may further include artificial intelligence (AI) network elements to implement some or all AI-related operations. AI network elements may also be referred to as AI nodes, AI devices, AI entities, AI modules, AI models, or AI units, etc. The AI ​​network element may be built into a network element within the communication system. For example, the AI ​​network element may be an AI module built into: access network equipment, core network equipment, cloud server, or operation, administration, and maintenance (OAM) to implement AI-related functions. The OAM may act as the network management system for the core network equipment and / or the access network equipment. Alternatively, the AI ​​network element may also be an independently configured network element within the communication system. Optionally, the terminal device or its built-in chip may also include an AI entity to implement AI-related functions.

[0128] The interleaving method and the corresponding deinterleaving method provided in this application can be applied to a variety of communication scenarios.

[0129] Figure 2 This is an example of a communication system applicable to the technical solutions of this application. The interleaving or deinterleaving method provided in this application can be applied to... Figure 1 The communication between the network device and the terminal device shown is either uplink or downlink communication. In this communication scenario, the interleaving device can be the terminal-side device in uplink communication or the network-side device in downlink communication. Correspondingly, the deinterleaving device can be the network-side device in uplink communication or the terminal-side device in downlink communication.

[0130] Figure 3 This is a schematic diagram of the basic process of wireless communication. For example... Figure 2 As shown, at the signal transmitting end, the signal source sequentially undergoes source coding, channel coding, rate matching, interleaving (optional), and modulation before being transmitted. At the signal receiving end, the received signal sequentially undergoes demodulation, deinterleaving (optional), rate matching removal, channel decoding, and source decoding before being output to the destination.

[0131] The method for interleaving provided in this application is applied to... Figure 2 The interleaving module shown, the deinterleaving method is applied to Figure 2 The deinterleaving module is shown in the diagram. Interleaving can be implemented using an interleaver in the communication device; deinterleaving can also be implemented using a deinterleaver in the communication device. Optionally, when the processor in the communication device has interleaving or deinterleaving capabilities, the interleaving or deinterleaving methods can also be implemented within the processor.

[0132] Figure 4This is a schematic flowchart illustrating the interleaving or deinterleaving method provided in this application. In method 400, steps S410 to S430 can be executed by a transmitting-side device, which can be a transmitting equipment or a device applied to a transmitting equipment (e.g., a chip, processor, or circuit). Steps S440 to S460 can be executed by a receiving-side device, which can be a receiving equipment or a device applied to a receiving equipment (e.g., a chip, processor, or circuit). The following description uses examples of a transmitting-side device and a receiving-side device.

[0133] S410, The transmitting side device acquires the sequence to be interleaved.

[0134] S420. The transmitting device determines whether to perform interleaving processing on the sequence to be interleaved based on the judgment information.

[0135] Considering that the specific information to be judged differs in different implementations, the following explanations will be provided separately.

[0136] Option 1

[0137] The decision information includes the maximum interleaving sequence length of the interleaver.

[0138] That is, in Scheme 1, the transmitting device determines whether to perform interleaving processing on the sequence to be interleaved based on the maximum interleaving sequence length of the interleaver.

[0139] In one implementation, if the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, interleaving is not performed. Therefore, in this implementation, the decision to perform interleaving depends on the length of the sequence to be interleaved (hereinafter denoted as E) and the maximum interleaving sequence length of the interleaver (hereinafter denoted as E). int When E is greater than E int That is, no interleaving is performed.

[0140] Alternatively, the maximum interleaving sequence length of the interleaver also refers to the maximum input length that the interleaver supports, or the maximum input length that the interleaver can handle, etc.

[0141] When the length of the sequence to be interleaved is greater than the maximum interleaved sequence length of the interleaver, it usually also meets the characteristics of low modulation order, low code rate and low MCS index. Therefore, without interleaving, the modulation order, code rate and modulation method meet the corresponding characteristics, as shown in the following example.

[0142] As an example, regarding modulation methods, when a high-order modulation method is used, such as QAM, the number of bits carried by the modulation symbol is less than or equal to 2; or, when a single-channel signal modulation method is used, the number of bits carried by the modulation symbol is equal to 1.

[0143] As another example, the bitrate is below a first bitrate threshold. In one implementation, the first bitrate threshold is equal to 1 / 4.

[0144] As another example, the MCS is below the first threshold. In one implementation, the first threshold is equal to 4.

[0145] In other words, when the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, either of the cases in the above examples is implicitly satisfied. In this case, interleaving can be omitted.

[0146] In another implementation, interleaving is determined when the length of the sequence to be interleaved is less than or equal to the maximum interleaving sequence length of the interleaver. When interleaving is performed, an interleaving scheme is used, such as interleaving scheme 1, interleaving scheme 2, or other interleaving schemes described above, to interleave the sequence to be interleaved and obtain the interleaved sequence.

[0147] When interleaving is performed, the modulation order, code rate, or modulation scheme must satisfy one or more of the following:

[0148] As an example, the bitrate is greater than or equal to the first bitrate threshold.

[0149] As another example, when a high-order modulation method is used, such as QAM, the number of bits carried by the modulation symbol is greater than 2; or, when a single-channel signal modulation method is used, the number of bits carried by the modulation symbol is greater than 1.

[0150] As another example, MCS is greater than or equal to the first threshold.

[0151] In Scheme 1, the decision to perform interleaving is based solely on comparing the length of the sequence to be interleaved with the maximum interleaving sequence length of the interleaver. When the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, it can be directly determined that no interleaving will be performed. In other words, when the length of the sequence to be interleaved is greater than the maximum sequence length of the interleaver, one or more of the MCS, code rate, and modulation scheme are not considered as factors in determining whether to perform interleaving, and it can be directly determined that no interleaving will be performed on the sequence to be interleaved.

[0152] Alternatively, the length E of the sequence to be interleaved also refers to the code length after rate matching, or the transmission length after rate matching, or simply the transmission length.

[0153] Option 2

[0154] The judgment information includes one or more of the following: modulation scheme, bit rate, and MCS.

[0155] In Scheme 2, the interleaving process of the sequence to be interleaved is determined based on one or more of the information such as modulation scheme, code rate, and MCS.

[0156] In one implementation, when determining whether to perform interleaving based on one or more of the modulation scheme, code rate, and MCS, the length of the sequence to be interleaved is greater than a length threshold, which is less than the maximum interleaved sequence length of the interleaver. As an example, the length threshold could be 0.5N. max N max 1.5N max , or 2N max etc., without limitation. Where N max This indicates the maximum length of the mother code.

[0157] As an example, the determination information is the MCS (Multi-Segment Code). In this case, the transmitting device determines whether to perform interleaving based on the MCS. In one implementation, if the MCS is below a first threshold, the sequence to be interleaved is not interleaved. Conversely, if the MCS is greater than or equal to the first threshold, the sequence to be interleaved is interleaved. As an example, the first threshold is 4.

[0158] As another example, the information to be determined is the bit rate. In this case, the transmitting device determines whether to perform interleaving based on the bit rate. In one implementation, if the bit rate is below a certain bit rate threshold, the sequence to be interleaved is not interleaved. Conversely, if the bit rate is greater than or equal to the first bit rate threshold, the sequence to be interleaved is interleaved. As an example, the first bit rate threshold is 1 / 4.

[0159] As another example, the information to be determined is the modulation scheme. In this case, the transmitting device determines whether to perform interleaving based on the modulation scheme. In one implementation, the sequence to be interleaved is determined not to be interleaved in any of the following situations: ① The modulation scheme is a high-order modulation, such as QAM, where the number of bits carried by the modulation symbol is less than or equal to 2; or, when the modulation scheme is a single-channel signal modulation scheme, the number of bits carried by the modulation symbol is equal to 1. Conversely, the sequence to be interleaved is interleaved in any of the following situations: 1) The modulation scheme is a high-order modulation, such as QAM, where the number of bits carried by the modulation symbol is greater than 2; or 2) The modulation scheme is a single-channel signal modulation scheme, where the number of bits carried by the modulation symbol is greater than 1.

[0160] In addition, the judgment information can also be multiple items from modulation scheme, code rate, and MCS, such as two or more items.

[0161] As an example, the information to be determined is the modulation scheme and code rate. In this case, the transmitting device determines whether to perform interleaving based on the modulation scheme and code rate. In one implementation, interleaving is determined if the number of bits carried by the QAM modulation symbol is greater than 2 or the code rate is greater than a second code rate threshold; interleaving is determined not to occur when the number of bits carried by the QAM modulation symbol is less than or equal to 2 and the code rate is less than the second code rate threshold. In another implementation, for a single signal modulation scheme, interleaving is determined if the number of bits carried by the modulation symbol is greater than 1 or the code rate is greater than a second code rate threshold; interleaving is determined not to occur when the number of bits carried by the modulation symbol is equal to 1 and the code rate is less than the second code rate threshold. As an example, the second code rate threshold is 3 / 8.

[0162] Based on the determination of whether interleaving is performed in S420, the corresponding output sequence is output.

[0163] S430. Without interleaving, the transmitting device outputs the sequence to be interleaved as the output sequence; or, with interleaving, the transmitting device outputs the interleaved sequence.

[0164] Specifically, the output sequence in S430 can be output by the interleaver of the transmitting device. It can be understood that when no interleaving is performed, the output sequence is the sequence to be interleaved itself; when interleaving is performed, the output sequence is the interleaved sequence.

[0165] Furthermore, when performing interleaving, the interleaving process can adopt a known interleaving scheme, such as interleaving scheme 1 or interleaving scheme 2 described above, or other interleaving schemes, without restriction.

[0166] The following are several specific implementations illustrating the complete processing flow when the sending device transmits information.

[0167] Example 1

[0168] 1) The net payload bits are segmented according to the segmentation rules, and then channel coding and rate matching are performed to obtain the interleaving sequence e with a transmission length of E.

[0169] Here, the payload bits can be understood as the information bits to be channel-coded. Optionally, the payload bits may or may not include cyclic redundancy check (CRC) bits. The payload bits can also be referred to as information bits, without limitation. The number of payload bits is K. As an example, polar codes can be used for channel coding.

[0170] The segmentation rules can be segmentation rule 1, segmentation rule 2, or other segmentation rules as described in the above embodiments, without limitation.

[0171] The length of the parent code in a polar code is a power of 2. When the code length required for actual communication is not the parent code length, further code length matching is needed through methods such as puncturing and retransmission, also known as rate matching. Punching and retransmission (or repetition) refer to removing or retransmitting several positions from the encoded parent code length sequence to adapt it to the code length requirement. Punching and retransmission are some methods for achieving rate matching; shortening is also possible. Optionally, puncturing can be based on natural order or reliability, without limitation.

[0172] 2) Based on the maximum interleaving sequence length E of the interleaver int Determine whether to perform interleaving processing on the sequence e to be interleaved.

[0173] You can refer to Scheme 1 in S420, which will not be elaborated further.

[0174] 3) If the transmission length E is greater than the maximum interleaved sequence length E int If the output sequence is the sequence to be interleaved (e), then the interleaving is completed according to the interleaving scheme adopted by the interleaver, and the output sequence is the interleaved sequence (f).

[0175] As an example, the interleaving scheme used by the interleaver can be interleaving scheme 1 described above, or interleaving scheme 2, or other interleaving schemes.

[0176] For example, the maximum supported input length of the interleaver is E. ini =7936. Input a sequence e of length E to be interleaved, output an interleaved sequence f of length E. If E > E int The output sequence f is the sequence to be interleaved e; otherwise, the interleaved sequence f is obtained according to the specific method of the interleaver (interleaving scheme 2 mentioned above).

[0177] For example, if the maximum supported input length of the interleaver is E, and E does not exceed 8192, then E can be considered as... int =8192. Given an input sequence e of length E to be interleaved, output an interleaved sequence f of length E; if the input length E > E... int The output sequence f is the sequence to be interleaved e; otherwise, the interleaved sequence f is obtained according to the specific method of the interleaver (interleaving scheme 1 mentioned above).

[0178] Additionally, in future standards, the maximum interleaving length supported by interleaving scheme 1 can be reduced. For example, the maximum input length supported by the interleaver can be E not exceeding 4096, which can be considered as E int =4096.

[0179] For example, in future communication systems, such as the 6th generation (6G) standard, the maximum supported length E of the low-density parity check (LDPC) interleaver will not exceed a certain value, such as 25344. E can be considered... int =25344. Given an input sequence e of length E to be interleaved, output an interleaved sequence f of length E; if the input length E > E... int If the output sequence f is the sequence to be interleaved, then the interleaved sequence f is obtained according to the specific method of the interleaver.

[0180] The interleaving method for LDPC can be implemented using the following methods:

[0181] The input to the interleaver is a sequence e of length E to be interleaved, and the output is an interleaved sequence f of length E. m This is the modulation order of this transmission.

[0182]

[0183] That is, E / Q m Q m The columns are intertwined.

[0184] In the coding system, the maximum interleaving sequence length E of the interleaver is... int It is always larger than the length N of the encoded mother code, while the code length E after rate matching is greater than E. int In most cases, the code rate and modulation order are low. According to the inventors' findings, the effect of the interleaver's uniform codeword bits is weakened and has almost no effect, so no interleaving can be performed.

[0185] Here, we will briefly explain the method for determining the parent code of a polar code.

[0186] ① As an example, the method for determining the parent code of a polar code is as follows:

[0187] The transmission length is E, and the information bit length is K; when the information bits include cyclic redundancy check (CRC) bits, K contains the number of CRC bits.

[0188]

[0189] else

[0190]

[0191] end if

[0192] Rmin =1 / 8;

[0193]

[0194] n = max{min{n1,n2,n...} max},n mim}

[0195] wheren min =5

[0196] The above pseudocode can be understood as the following process:

[0197] (1) Calculate n1. If K / E < 9 / 16 and E < (1 + 1 / 8) * N0 / 2, then n1 = log2N0 - 1; otherwise, n1 = log2N0.

[0198] Where N0 is the smallest integer power of 2 greater than or equal to E. For example, if E = 252, then N0 = 256. Another example is E = 5, then N0 = 8.

[0199] (2) Calculate n2. Among them, R min =1 / 8, This indicates rounding up to the nearest integer.

[0200] (3) Calculate n. n = max{min{n1, n2, n... max}, n min}, where the minimum mother code length is Maximum mother code length is n min =5, n during uplink transmission max =10, n during downlink transmission max =9.

[0201] (4) The length N of the mother code is obtained from n, N = 2 n The maximum mother code length is The length of the mother code to the polar code.

[0202] Optionally, in future communication systems, as the application scope of polar codes expands further, the length of the polar code mother code may be longer, such as 2048 or 4096.

[0203] ② As another example, the mother code length of a polar code is determined by the following method: N = N′ (N′ ≤ 4096); or, N = 4096.

[0204] Example 1 is an example of Scheme 1 in S420. That is, whether to perform interleaving is determined solely by comparing the length of the sequence to be interleaved with the maximum interleaving sequence length of the interleaver. When the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, it can be directly determined that no interleaving is performed.

[0205] The following are some examples of Scheme 2 in S420, such as Example 2 to Example 5.

[0206] Example 2

[0207] 1) The net payload bits are segmented according to the segmentation rules, and then encoded and rate matched to obtain the interleaved sequence e with a transmission length of E.

[0208] 2) Choose whether to perform interleaving processing based on the modulation method.

[0209] In one implementation, the modulation scheme is QAM. If the number of bits carried by the modulation symbols of the I / Q modulation is greater than 2, interleaving is performed; otherwise, no interleaving is performed.

[0210] For example, no interleaving is performed when the modulation scheme is π / 4-BPSK or QPSK; interleaving is performed when the modulation scheme is 8PSK, QAM16, QAM64, or QAM256.

[0211] In another implementation, for a single-channel modulation method, interleaving is performed when the number of bits carried by the modulation symbol is greater than 1; no interleaving is performed when the number of bits is equal to 1.

[0212] For example, ASK2 does not perform interleaving, while ASK4 or ASK8 do. When the modulation scheme is QPSK or BPSK, the code rate is generally very low, and the interleaving strategy of bit-interleaved coded modulation (BICM) is not needed to provide randomization of the codeword bit distribution.

[0213] At low bit rates, when segmenting the payload bits, a segmentation method might be used where the rate-matched code length exceeds the length of the parent code. Therefore, the rate-matched code length might exceed the maximum interleaving sequence length of the interleaver. Using the method in Example 1, the performance of the interleaver's output sequence is not affected, while the maximum interleaving length is controlled, saving on the physical implementation overhead of the interleaver.

[0214] Example 3

[0215] 1) The net payload bits are segmented according to the segmentation rules, and then encoded and rate matched to obtain the interleaved sequence e with a transmission length of E.

[0216] 2) Choose whether to perform interleaving based on the bit rate.

[0217] As one implementation, interleaving is performed at a specific bitrate, and not in other cases. For example, interleaving is performed when the bitrate is greater than or equal to a first bitrate threshold; no interleaving is performed when the bitrate is lower than the first threshold.

[0218] As an example, the first bit rate threshold is 1 / 4, 1 / 10, etc. That is, interleaving is performed when the bit rate is greater than or equal to 1 / 4 or 1 / 10, and no interleaving is performed when the bit rate is less than 1 / 4 or 1 / 10.

[0219] At low bit rates, QPSK or BPSK modulation is typically used. Since the bit rate is also low, the randomization of codeword bit distribution provided by the BICM interleaving strategy is not required. Therefore, interleaving can be omitted in this case. However, at low bit rates, when segmenting the payload bits, if the rate-matched code length (which is also the transmitted code length) exceeds the length of the parent code, the rate-matched code length may exceed the maximum length that the interleaver can handle. Using the interleaving method in Example 2, the performance of the interleaver's output sequence is not affected, while the maximum interleaving length is controlled, saving on the physical implementation overhead of the interleaver.

[0220] Example 4

[0221] 1) The net payload bits are segmented according to the segmentation rules, and then encoded and rate matched to obtain the interleaved sequence e with a transmission length of E.

[0222] 2) Determine whether to perform interleaving based on the modulation method and bit rate.

[0223] As one implementation, interleaving is performed when the number of bits in the modulation symbol of I / Q modulation is greater than 2 or the code rate is greater than the second code rate threshold; however, no interleaving is performed when the number of bits in the modulation symbol of I / Q modulation is less than or equal to 2 and the code rate is less than or equal to the second code rate threshold.

[0224] For example, no interleaving is performed for π / 4-BPSK, QPSK, and when the bit rate is less than 3 / 8. Interleaving is performed for 8PSK, QAM16, QAM64, QAM256, or when the bit rate is greater than or equal to 3 / 8.

[0225] In another implementation, a single-path modulation method is used, where interleaving occurs when the number of bits in the modulation symbol is greater than 1 or the code rate is greater than the second code rate threshold; and when the number of bits in the modulation symbol is equal to 1 and the code rate is less than the second code rate threshold, no interleaving occurs.

[0226] Compared to the implementation in Example 3 that determines whether interleaving occurs based solely on bitrate, the bitrate threshold in Example 4 can be increased, meaning the second bitrate threshold is greater than the first bitrate threshold. For example, the second bitrate threshold is equal to 3 / 8.

[0227] For example, ASK2 does not interleave when the bit rate is less than 3 / 8; ASK4, ASK8, or bit rates greater than or equal to 3 / 8 require interleaving.

[0228] In this example, the combination of modulation order and code rate is more effective at combating channel fading compared to Example 2, as interleaving at low code rates does not significantly improve channel fading performance. Compared to Example 3, the code rate range does not need to be set as low as 1 / 4, which can save some of the interleaving complexity at certain code rates.

[0229] Example 5

[0230] 1) The net payload bits are segmented according to the segmentation rules, and then encoded and rate matched to obtain the interleaved sequence e with a transmission length of E.

[0231] 2) Select whether to perform interleaving based on MCS.

[0232] For example, interleaving occurs when the MCS is greater than or equal to a threshold, and interleaving does not occur when the MCS is below a threshold. As an example, this threshold can be 4.

[0233] Optionally, a threshold of 4 can refer to the threshold of the MCS index. Alternatively, it can be replaced with a comparison of other items in the MCS table that are equivalent to the MCS index.

[0234] In Example 5, MCS is another expression combining code rate and modulation order. At low MCS, the code rate is low, and modulation typically uses QPSK or BPSK, eliminating the need for the BICM interleaving strategy to provide randomization of codeword bit distribution. Therefore, interleaving is unnecessary. However, at low code rates, when segmenting the payload bits, using a segmentation method where the rate-matched code length exceeds the mother code length may result in a code length exceeding the interleaver's maximum allowable length. Using the method in Example 5, the performance of the interleaver's output sequence remains unaffected, while controlling the maximum interleaving length and saving on the physical implementation overhead of the interleaver.

[0235] In addition, this application also provides a method for de-interleaving.

[0236] S440, The receiving device acquires the demodulated sequence.

[0237] S450: The receiving device determines, based on the judgment information, whether to perform deinterleaving processing on the demodulated sequence.

[0238] Option 1

[0239] The decision information includes the maximum interleaving sequence length of the interleaver.

[0240] The process by which the receiving device determines whether to perform deinterleaving can be referenced in Scheme 1 of S420.

[0241] Understandably, on the transmitting side, if the length of the sequence to be interleaved is greater than the maximum interleaving sequence length of the interleaver, then no interleaving is performed. On the receiving side, if the length of the demodulated sequence is greater than the maximum deinterleaving sequence length, then no deinterleaving is performed. Alternatively, in reality, the maximum sequence length that the interleaver and deinterleaver can handle is the same, and the length of the sequence to be interleaved is also the same as the length of the demodulated sequence on the receiving side, and it is consistent on both the transmitting and receiving sides. Therefore, the decision process on the receiving side can be described as follows: if the length of the demodulated sequence is greater than the maximum interleaving sequence length of the interleaver, then no deinterleaving is performed; otherwise, deinterleaving is performed.

[0242] Option 2

[0243] The judgment information includes one or more of the following: modulation scheme, bit rate, and MCS.

[0244] The process by which the receiving device determines whether to perform deinterleaving can be referenced in Scheme 2 of S420.

[0245] When the transmitting side performs interleaving, the receiving side performs deinterleaving; when the transmitting side does not perform interleaving, the receiving side does not perform deinterleaving.

[0246] S460. The receiving device outputs the demodulated sequence as the output sequence without performing deinterleaving; or, if deinterleaving is performed, it outputs the deinterleaved sequence as the output sequence.

[0247] In steps S440 to S460, the demodulation and deinterleaving processes performed on the receiving side are the inverse processes of modulation and interleaving performed on the transmitting side, and the principle is the same as that on the transmitting side. For example, the receiving side determines whether to perform deinterleaving based on judgment information, which corresponds to the transmitting side determining whether to perform interleaving based on judgment information. When the transmitting side determines not to perform interleaving, the receiving side determines not to perform deinterleaving. When the transmitting side performs interleaving, the receiving side determines to perform deinterleaving. Thus, the receiving side performs deinterleaving or not deinterleaving on the demodulated sequence to obtain the output sequence of the deinterleaver. It can be understood that when deinterleaving is not performed, the output sequence of the deinterleaver is the demodulated sequence; when deinterleaving is performed, the output sequence of the deinterleaver is the deinterleaved sequence.

[0248] It is understandable that the interleaving scheme used on the receiving and transmitting sides is consistent, which can be achieved through pre-configuration, system configuration, protocol specifications, or signaling indications. Therefore, in the case of deinterleaving, the deinterleaving process is the reverse of the interleaving process on the transmitting side. For example, interleaving rearranges the bits in the sequence to be interleaved (i.e., the bit sequence after rate matching) to obtain an interleaved sequence; deinterleaving on the receiving side restores the bit sequence in the interleaved sequence to its original order.

[0249] Method 400 may also include other processing and / or operations on the sending or processing side.

[0250] For example, the transmitting device acquires information bits (or payload bits), performs channel coding on the information bits, and obtains a coded sequence. Further, it performs rate matching on the coded sequence to obtain a rate-matched sequence. This rate-matched sequence is the input sequence of the interleaver, i.e., the sequence to be interleaved.

[0251] For example, the receiving device receives a modulation symbol sequence, demodulates the modulation symbols in the modulation symbol sequence, and obtains a demodulated sequence. This demodulated sequence is the input sequence of the deinterleaver. Furthermore, the output sequence of the deinterleaver is subjected to channel decoding to obtain a decoded sequence.

[0252] The channel coding and channel decoding processes described above can be respectively handled by... Figure 3 The channel coding module or channel decoding module shown in the diagram performs the operation. Optionally, the functions of the encoder and interleaver can be integrated into the processor, in which case the processor can perform channel coding, rate matching, and interleaving. Optionally, the processor can also integrate the modulation function, or the modulation function can be performed independently by the radio frequency module of the transmitting device, without limitation. Similarly, the processor of the receiving device can integrate the functions of the decoder and deinterleaver, in which case the processor can perform channel decoding, rate matching, and deinterleaving. Optionally, the demodulation function can be integrated into the processor, or performed independently by the radio frequency module of the receiving device. In other words, the above processes (e.g., channel coding, rate matching, interleaving, and modulation on the transmitting side, and the corresponding inverse processing on the receiving side) are performed by one or more modules, and this application does not limit the specific implementation method.

[0253] Optionally, when this method is applied to polar codes, the decoding algorithm used by the receiver may include, but is not limited to: successive cancellation (SC) decoding algorithm, successive cancellation list (SCL), and CRC-aided SCL (CA-SCL).

[0254] In this application's technical solution, a judgment information is used to determine whether to perform interleaving processing on the sequence to be interleaved. When interleaving is determined, the interleaved sequence is output. However, in some cases, the effect of interleaving on the uniformity of codeword bits is weakened, becoming almost ineffective. In such cases, interleaving can be omitted, and the interleaver's output sequence becomes the sequence to be interleaved, i.e., no interleaving is performed. This avoids the problem of interleaving being impossible when the code length after rate matching exceeds the maximum interleaved sequence length that the interleaver can handle, and also ensures the optimal segmentation strategy in existing schemes, thereby guaranteeing coding performance.

[0255] The interleaving or deinterleaving methods provided in this application have been described in detail above. The communication device provided in this application is described below.

[0256] Figure 5 This application provides a schematic structural diagram of a communication device 1000.

[0257] The communication device 1000 can be a transmitting device, such as a transmitting equipment, or a device applied to a transmitting device that can implement the corresponding functions of the transmitting device in the method embodiments of this application, such as a chip, processor, or circuit. Alternatively, the communication device 1000 can be a receiving device, such as a receiving equipment, or a device applied to a receiving device that can implement the corresponding functions of the receiving device in the method embodiments of this application, such as a chip, processor, or circuit.

[0258] Optionally, the communication device 1000 includes a processing module 1001, which may be a processor, a processing board, a processing unit, or a processing device, etc. When the communication device 1000 is a transmitting device, the processing module 1001 is used to determine, based on judgment information, whether to perform interleaving processing on the sequence to be interleaved, and if interleaving processing is performed, output the interleaved sequence as the output sequence; or, if interleaving processing is not performed, output the sequence to be interleaved as the output sequence. The specific process can be referred to the interleaving method in the method embodiments, and will not be repeated here. When the communication device 1000 is a receiving device, the processing module 1001 is used to perform deinterleaving processing on the demodulated sequence based on judgment information, and if deinterleaving is performed, output the deinterleaved sequence as the output sequence; or, if deinterleaving is not performed, output the demodulated sequence as the output sequence. The specific process can be referred to the description of the deinterleaving method in the method embodiments, and will not be repeated here.

[0259] Optionally, the communication device 1000 further includes a communication module 1002, which may also be referred to as a transceiver module, transceiver, transceiver unit, or transceiver device, etc., for performing receiving (or input) and / or sending (or output) operations. For example, when the communication device 1000 is a transmitting-side device, the communication module 1002 can be used to acquire the sequence to be interleaved, the output sequence of the output processing module 1001 (e.g., the sequence to be interleaved or the interleaved sequence), etc. When the communication device 1000 is a receiving-side device, the communication module 1002 can be used to acquire the demodulated sequence, the output sequence of the output processing module 1001 (e.g., the demodulated sequence or the deinterleaved sequence).

[0260] In some embodiments, the aforementioned communication module and / or processing module can be implemented as a virtual module. For example, the processing module can be implemented as a software functional unit or a virtual device, and the communication module can be implemented as a software function or a virtual device. Alternatively, the processing module or communication module can also be implemented as a physical device, for example, if the device is implemented using a chip / circuit (e.g., integrated circuit, dedicated circuit, logic circuit, etc.). The communication module can be an input / output circuit and / or a communication interface, performing input operations (corresponding to the aforementioned receiving operation) and output operations (corresponding to the aforementioned sending operation); the processing module is an integrated processor, microprocessor, or circuit (e.g., integrated circuit, logic circuit, etc.).

[0261] The module division in this application is illustrative and represents only one logical functional division. In actual implementation, other division methods are possible. Furthermore, the functional modules in the various examples of this application can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0262] Figure 6 This is a schematic structural diagram of a communication device provided in this application. The communication device 1100 includes at least one processor 1110, which implements the functions of the transmitting-side device or receiving-side device described in the foregoing method embodiments.

[0263] Optionally, the processor 1110 is coupled to a memory, which may be located within the communication device, integrated with the processor, or located outside the communication device. The communication device 1100 may further include at least one memory 1120. The memory 1120 stores computer programs, instructions, or data necessary for implementing any of the above method embodiments; the processor 1110 can execute the computer programs, instructions, or data stored in the memory 1120 to complete the interleaving or deinterleaving methods of any of the above embodiments.

[0264] Optionally, the communication device 1100 may further include a communication interface 1130, through which the communication device 1100 can interact with other devices. For example, the communication interface 1130 may be a transceiver, circuit, bus, module, pin, or other type of interface.

[0265] The coupling in this application refers to indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 1110 may operate in conjunction with the memory 1120 and the communication interface 1130. This application does not limit the specific connection medium between the processor 1110, the memory 1120, and the communication interface 1130.

[0266] Figure 7This is a schematic structural diagram of the chip provided in this application. Chip 30 includes a processing circuit 31 and a communication circuit 32. The processing circuit 31 can be a logic circuit, integrated circuit, etc., and the communication circuit 32 can be an input / output circuit, input / output interface, interface circuit, etc., capable of inputting information (or receiving information) or outputting information (or sending information). Chip 30 can execute the methods performed by the transmitting-side device or the receiving-side device in the various embodiments of this application. The processing circuit 31 can be one or more processors, or all or part of the circuitry in one or more processors used for control or processing. Optionally, the functions of the transmitting-side device or the receiving-side device can be deployed in different parts of the chip.

[0267] In addition, this application also provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause operations and / or processes performed by a transmitting or receiving device in the various method embodiments of this application to be executed.

[0268] This 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 processes performed by the sending-side device or the receiving-side device in the various method embodiments of this application are executed.

[0269] Furthermore, this application also provides a chip including a processor. A memory for storing a computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory, such that operations and / or processes performed by a transmitting-side device or a receiving-side device in any method embodiment are performed.

[0270] Furthermore, the chip may also include a communication interface. The communication interface may be an input / output interface or an interface circuit, etc. Furthermore, the chip may also include a memory.

[0271] This application provides a communication system, including a transmitting side device and a receiving side device. The transmitting side device is used to implement S410 to S430, and the receiving side device is used to implement S440 to S460.

[0272] In various embodiments of this application, "multiple" includes two or more.

[0273] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0274] The processor in this application has signal processing capabilities and can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in this application can be directly implemented by the hardware processor, or implemented by a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the aforementioned methods.

[0275] In the embodiments of this application, the memory can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). 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.

[0276] The technical solutions provided in this application can be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal device, an access network device, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via 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 can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs)), or semiconductor media, etc.

[0277] In this application, examples may reference each other without logical contradiction. For example, methods and / or terms between method embodiments may reference each other, functions and / or terms between device embodiments may reference each other, and functions and / or terms between device examples and method examples may reference each other.

[0278] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0279] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0280] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0281] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0282] If the aforementioned functions are implemented as 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 this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0283] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for interleaving, characterized by, include: Obtain the sequence to be interleaved; Based on the judgment information, it is determined whether to perform interleaving processing on the sequence to be interleaved, and the judgment information includes the maximum interleaving sequence length of the interleaver; Without performing the interleaving process, the sequence to be interleaved is output as the output sequence; or, When the interleaving process is performed, the interleaved sequence is output as the output sequence.

2. The method of claim 1, wherein, The step of determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: Based on the maximum interleaving sequence length of the interleaver, it is determined whether to perform the interleaving process, wherein: If the length E of the sequence to be interleaved is greater than the maximum interleaved sequence length of the interleaver, it is determined that the interleaving process will not be performed.

3. The method of claim 1, wherein, The step of determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: Based on the maximum interleaving sequence length of the interleaver, it is determined whether to perform the interleaving process, wherein: If the length E of the sequence to be interleaved is less than or equal to the maximum interleaved sequence length of the interleaver, the interleaving process is determined to be performed.

4. The method according to claim 1 or 2, characterized in that, Without the aforementioned interleaving process, the bit rate is below the first bit rate threshold.

5. The method of claim 4, wherein, The first bit rate threshold is 1 / 4.

6. The method of claim 1 or 2, wherein, Without performing the aforementioned interleaving process: The modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is less than or equal to 2; or, The modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is equal to 1.

7. The method according to claim 1 or 2, characterized in that, Without the interleaving process, the MCS is below the first threshold.

8. The method of claim 6, wherein, The first threshold is equal to 4.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: Obtain information bits; The information bits are encoded to obtain codeword bits; and, Rate matching is performed on the codeword bits to obtain the sequence to be interleaved.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: The output sequence is modulated to obtain a modulation symbol sequence; and, Output the modulation symbol sequence.

11. A method for deinterleaving, characterized by, include: Obtain the demodulated sequence; Based on the judgment information, it is determined whether to perform deinterleaving processing on the demodulated sequence, wherein the judgment information includes the maximum interleaving sequence length of the interleaver; Without performing the deinterleaving process, the demodulated sequence is output as the output sequence; or, When performing the deinterleaving process, the deinterleaved sequence is output as the output sequence.

12. The method of claim 11, wherein, The step of determining whether to perform deinterleaving processing on the demodulated sequence based on judgment information includes: Based on the maximum interleaving sequence length of the interleaver, it is determined whether to perform the deinterleaving process, wherein: If the length E of the demodulated sequence is greater than the maximum interleaving sequence length of the interleaver, it is determined that the deinterleaving process will not be performed.

13. The method of claim 11, wherein, The step of determining whether to perform deinterleaving processing on the demodulated sequence based on judgment information includes: Based on the maximum interleaving sequence length of the interleaver, it is determined whether to perform the deinterleaving process, wherein: If the length E of the demodulated sequence is less than or equal to the maximum interleaved sequence length of the interleaver, the deinterleaving process is determined to be performed.

14. The method of claim 11 or 12, wherein, Without performing the aforementioned deinterleaving process, the bit rate is below the first bit rate threshold.

15. The method of claim 14, wherein, The first bit rate threshold is 1 / 4.

16. The method of claim 11 or 12, wherein, The demodulated sequence is obtained using a demodulation method corresponding to the modulation method, without the deinterleaving process: The modulation method is quadrature amplitude modulation (QAM), and the number of bits carried by the modulation symbol is less than or equal to 2; or, The modulation method is a single-channel signal modulation method, and the number of bits carried by the modulation symbol is equal to 1.

17. The method according to claim 11 or 12, characterized in that, Without the aforementioned deinterleaving process, the MCS is below the first threshold.

18. The method according to claim 17, characterized in that, The first threshold is 4.

19. The method according to any one of claims 11-18, characterized in that, The method further includes: The output sequence is subjected to rate matching to obtain a rate-matched sequence; and, Channel decoding is performed on the derate-matched sequence to obtain the decoded sequence.

20. The method according to any one of claims 11-19, characterized in that, The method further includes: Obtain the modulation symbol sequence; The modulation symbols in the modulation symbol sequence are demodulated to obtain the demodulated sequence.

21. A method for interlacing, characterized in that, include: Obtain the sequence to be interleaved; Based on the judgment information, it is determined whether to perform interleaving processing on the sequence to be interleaved. The judgment information includes one or more of the following: modulation scheme, code rate, modulation and coding strategy (MCS). Without performing the interleaving process, the sequence to be interleaved is output as the output sequence; or, When the interleaving process is performed, the interleaved sequence is output as the output sequence.

22. The method according to claim 21, characterized in that, The length of the sequence to be interleaved is greater than a length threshold, and the length threshold is less than the maximum interleaved sequence length of the interleaver.

23. The method according to claim 21 or 22, characterized in that, The judgment information is the bit rate; the step of determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: Based on the bitrate, determine whether to perform the interleaving process on the sequence to be interleaved, wherein: If the bit rate is lower than the first bit rate threshold, it is determined that the interleaving process will not be performed on the sequence to be interleaved.

24. The method according to claim 21 or 22, characterized in that, The judgment information is the modulation scheme; the step of determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: Based on the modulation scheme, determine whether to perform the interleaving process on the sequence to be interleaved; wherein, in any of the following cases, determine that the interleaving process should not be performed on the sequence to be interleaved; When the modulation scheme is quadrature amplitude modulation (QAM), the number of bits carried by the modulation symbol is less than or equal to 2; or, When the modulation method is a single-channel signal modulation method, the number of bits carried by the modulation symbol is equal to 1.

25. The method according to claim 21 or 22, characterized in that, The judgment information is the MCS; The step of determining whether to perform interleaving processing on the sequence to be interleaved based on the judgment information includes: Based on the MCS, determine whether to perform the interleaving process on the sequence to be interleaved, wherein: If the MCS is below the first threshold, it is determined that the interleaving process will not be performed on the sequence to be interleaved.

26. The method according to claim 25, characterized in that, The first threshold is equal to 4.

27. A method for uninterrupting, characterized in that, include: Obtain the demodulated sequence; Based on the judgment information, it is determined whether to perform deinterleaving processing on the demodulated sequence. The judgment information includes one or more of the following: modulation scheme, code rate, modulation and coding scheme (MCS). Without performing the deinterleaving process, the demodulated sequence is output as the output sequence; or, When performing the deinterleaving process, the deinterleaved sequence is output as the output sequence.

28. The method according to claim 27, characterized in that, The length of the demodulated sequence is greater than a length threshold, and the length threshold is less than the maximum interleaved sequence length of the interleaver.

29. The method according to claim 27 or 28, characterized in that, The judgment information is the bit rate; the step of determining whether to perform deinterleaving processing on the demodulated sequence based on the judgment information includes: Based on the bit rate, it is determined whether to perform the deinterleaving process on the demodulated sequence; wherein, if the bit rate is lower than a first bit rate threshold, it is determined that the deinterleaving process will not be performed on the sequence to be interleaved.

30. The method according to claim 27 or 28, characterized in that, The judgment information is the modulation scheme; the step of determining whether to perform deinterleaving processing on the demodulated sequence based on the judgment information includes: Based on the modulation scheme, determine whether to perform the deinterleaving process on the demodulated sequence, wherein: In any of the following cases, it is determined that the demodulated sequence will not undergo the deinterleaving process; When the modulation scheme is quadrature amplitude modulation (QAM), the number of bits carried by the modulation symbol is less than or equal to 2; or, When the modulation method is a single-channel signal modulation method, the number of bits carried by the modulation symbol is equal to 1.

31. The method according to claim 27 or 28, characterized in that, The judgment information is the MCS; The step of determining whether to perform deinterleaving processing on the demodulated sequence based on judgment information includes: Based on the MCS, it is determined whether to perform the deinterleaving process on the demodulated sequence; wherein, if the MCS is lower than a first threshold, it is determined that the deinterleaving process will not be performed on the sequence to be interleaved.

32. The method according to claim 31, characterized in that, The first threshold is equal to 4.

33. A communication device, characterized in that, The device includes a communication interface and a circuit, wherein the communication interface is used to acquire information required to perform the method as described in any one of claims 1-32, and to send the information to the circuit, wherein the circuit is used to perform the method as described in any one of claims 1-32 based on the received information.

34. A communication device, characterized in that, The device includes a processor coupled to a memory, the processor being configured to execute a computer program or instructions stored in the memory to cause the communication device to perform the method as described in any one of claims 1-32.

35. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, implement the method as described in any one of claims 1-32.

36. A computer program product, characterized in that, Includes a computer program or instructions for performing the method as described in any one of claims 1-32.