WO2023240804A1 - Data processing method and apparatus - Google Patents

Data processing method and apparatus Download PDF

Info

Publication number
WO2023240804A1
WO2023240804A1 PCT/CN2022/116883 CN2022116883W WO2023240804A1 WO 2023240804 A1 WO2023240804 A1 WO 2023240804A1 CN 2022116883 W CN2022116883 W CN 2022116883W WO 2023240804 A1 WO2023240804 A1 WO 2023240804A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
code length
bits
data
information bits
Prior art date
Application number
PCT/CN2022/116883
Other languages
French (fr)
Chinese (zh)
Inventor
付凯
王键
余展
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023240804A1 publication Critical patent/WO2023240804A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to a data processing method and device.
  • Polar code is a coding method that has been theoretically proven to reach the Shannon limit, making polar code (also called Polar code) widely used in communication systems.
  • Polar code is used as the encoding method for the control channel; in other communication standards, Polar code is used as the encoding method for both control information (Header) and data information (Payload).
  • the sending end can segmentally encode the data to be transmitted.
  • the current segmented coding scheme has a large number of segments, which affects the reception performance of the coding results.
  • this application provides a data processing method and device.
  • the number of segmented segments of partial code lengths can be controlled to 2 or less to reduce the number of segments and improve the reception performance of the code block.
  • this application provides a data processing method.
  • the method includes: obtaining first data; performing segmentation processing on the first data to obtain a target segmentation result, wherein the target segmentation result corresponds to n code lengths, and the n code lengths are divided into the largest code lengths.
  • the number of segments corresponding to each code length other than the long code length and the minimum code length is less than or equal to 2, where n is an integer and n ⁇ 2.
  • the method can be applied to a communication device.
  • the communication device is used as the sending end for illustration.
  • the first data may be data to be encoded, and when the sending end performs polar code encoding on the first data, the data to be encoded may be segmented.
  • the system or the user can configure n code lengths.
  • the system can be configured with a maximum code length of 2 b bits and a minimum code length of 2 a bits, where a and b are positive integers, and a ⁇ b.
  • the maximum value of n is (b-a+1).
  • the target segmentation result may include multiple data segments obtained by dividing the first data, or may include multiple code blocks after zero-padding each data segment according to the corresponding code length. This application does not do this. limit.
  • the segmentation included in the target segmentation result is a code block.
  • this application does not limit the number of segments corresponding to the largest code length among n code lengths.
  • the sending end when segmenting data, can control the number of segments corresponding to code lengths other than the maximum code length and the minimum code length among the n code lengths, so that the segmentation results are
  • the number of segments corresponding to each code length except the maximum code length and the minimum code length is 2 or less, thereby reducing the total number of data segments and reducing the Polar encoding result of the segmentation results at the receiving end. decoding error rate and optimize data reception performance.
  • performing segmentation processing on the first data to obtain the target segmentation result includes: in descending order of the n code lengths, based on the first data The remaining number of information bits to be segmented in the first data is segmented to obtain the target segmentation result.
  • the sending end can combine the remaining number of information bits to be segmented in the first data to segment the first data in order of n code lengths from large to small;
  • the number of remaining information bits to be segmented in the first data can be updated, so that the data of each code length is segmented.
  • the segmentation process is performed according to the latest remaining number of information bits to be segmented, so as to give priority to segmenting the first data with a larger code length, so as to maximize the reduction of the number of n code lengths corresponding to the smaller code length.
  • Number of segments In this way, while reducing the number of segments (also called the number of segments), the reception delay and decoding delay of the encoding result of the segmentation result of the present application can be reduced at the receiving end, and the data reception delay of the receiving end can be effectively reduced.
  • the first data is segmented based on the remaining number of information bits to be segmented in the first data in descending order of the n code lengths.
  • Processing to obtain the target segmentation result including: in descending order of the n code lengths, the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths , and the remaining number of information bits to be segmented K m in the first data, determine the maximum number of segments j corresponding to the i-th code length; according to the maximum number of segments corresponding to the i-th code length
  • the number of segments j is to perform segmentation processing on the first data to obtain the target segmentation result, where the number of segments corresponding to the i-th code length is j; where 1 ⁇ i ⁇ n, i, j are both Positive integer.
  • the preset code length may include: 1024bit, 512bit, 256bit, 128bit, and 64bit.
  • the n code lengths corresponding to the target segmentation result may be all of the above preset code lengths, or may be part of the preset code lengths, which may be flexibly determined based on the number of information bits of the first data and/or application requirements. , this application does not limit this.
  • the number of information bits required to be included in the segments corresponding to each preset code length are: K 1024 , K 512 , K 256 , K 128 , and K 64 .
  • K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
  • K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
  • K 256 represents the number of information bits that a code block with a code length of 256 bits needs to include.
  • K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
  • K 64 represents the number of information bits that a code block with a code length of 64 bits needs to include.
  • the method for determining the number of segments N 1024 corresponding to a code length of 1024 bits is used as an example to illustrate:
  • p is the minimum number of information bits required to be included in the segment with the minimum code length.
  • K m K m before the update -N 1024 *K 1024 .
  • the method for determining the number of segments corresponding to other code lengths is similar to the principle of the above example, and is based on the remaining information bits to be segmented in the first data, which will not be described again here.
  • priority when segmenting the first data, priority can be given to segmenting code blocks with longer code lengths, and when determining the number of segments for each code length, all based on the first data
  • the remaining information bits to be segmented and the number of information bits that need to be included in the segment corresponding to the code length are used to determine the maximum number of segments corresponding to the code length, and more information bits in the first data can be segmented into Corresponds to code blocks with larger code lengths, thereby reducing the number of segments corresponding to smaller code lengths to reduce the total number of segments.
  • the first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths are determined in descending order of the n code lengths. number, and the remaining number of information bits to be segmented in the first data, determining the maximum number of segmented segments j corresponding to the i-th code length, including: in order from largest to smallest of the n code lengths, Based on the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, and, the remainder of the first data to be allocated to the second bit of the i-th code length The number of information bits determines the maximum number of segments j corresponding to the i-th code length; wherein the second number of information bits is the number of remaining information bits to be segmented and the third number of information bits in the first data The difference; wherein, the third number of information bits is the sum of the number of information bits required to be included in the segment corresponding to each fourth code length;
  • N 1024 can be determined by the following formula:
  • K m K m before the update -N 1024 *K 1024 .
  • n when segmenting the first data, priority can be given to segmenting code blocks with longer code lengths, and when determining the number of segments for the i-th code length, n can be ensured
  • each fourth code length among the code lengths smaller than the i-th code length can be divided into at least one corresponding segment from the first data
  • the remainder of the first data can be allocated to
  • the information bits of the i-th code length to be segmented are used to determine the maximum number of segments corresponding to the i-th code length, so that each preset code length corresponds to at least one segment, and the target segmentation result corresponds to
  • the n code lengths can be gradually and continuously reduced from large to small to reduce the reception delay of the encoded data of the segmentation results, and to improve the reception performance by reducing the total number of segments.
  • performing segmentation processing on the first data to obtain a target segmentation result includes: obtaining an initial segmentation result corresponding to the first data; If the result includes a first segment with a segment number greater than or equal to 2, merge at least two of the first segments into at least one second segment with a second code length to obtain the target segmentation result, where The first segment corresponds to the same first code length, and the second code length is greater than the first code length.
  • the sending end can combine the code blocks with the same first code length in the initial segmentation result to merge them into code blocks with a longer code length to obtain the target segmentation result.
  • the sending end can combine two code blocks with a code length of 64 bits in the initial segmentation result into one code block with a code length of 128 bits.
  • Embodiments of the present application can obtain the initial segmentation results of the data to be encoded, and merge segments corresponding to code lengths with a number of segments greater than or equal to 2 in the initial segmentation results, thereby reducing the number of segments and optimizing reception performance.
  • merging at least two of the first segments into a second segment with a second code length includes: merging the initial segments in order of code length from small to large. At least two of the first segments in the result are merged into a second segment of a second code length.
  • the sending end can merge at least two segments with the same code length in the initial segmentation result in ascending order of the code lengths corresponding to the initial segmentation result, thereby progressively Continuously reducing the number of segments with smaller code lengths can not only improve the merging efficiency of segments, but also improve the coding efficiency.
  • it can also be ensured that the merged segments are still sorted according to code length from large to small, thereby reducing the reception delay.
  • merging at least two of the first segments into a second segment of a second code length includes: combining at least two of the first segments and a target number of information bits, combined into a second segment of a second code length; wherein the target number of information bits comes from: a third segment of a third code length corresponding to the initial segmentation result, wherein the third The code length is smaller than the first code length.
  • a target number of information bits can be taken from the segments with smaller code lengths to merge them with at least two first segments into a merged form. It is the second segment with a larger code length.
  • the initial segmentation results are arranged in descending order of code length.
  • the segments corresponding to the initial segmentation result of the data to be encoded obtained by the sending end can be arranged in order from large to small in code length, thereby obtaining the initial segmentation in which the code length gradually decreases from large to small. segmentation in the segmentation result; then after merging the segments in the initial segmentation result, the segments corresponding to the obtained target segmentation result can also be arranged in the order of gradually decreasing code length from large to small, so that , which can reduce the reception delay of the encoded data of the target segmentation result.
  • the at least two first segments are arranged adjacently in the initial segmentation result.
  • the sending end can merge at least two adjacent segments in the initial segmentation result, so that after the merging operation, the size of each code length corresponding to the target segmentation result obtained can be
  • the order is consistent with the size order of each code length corresponding to the initial segmentation result. It can reduce the number of segments and optionally minimize the impact of decoding delay and transmission delay on the overall system time of the receiving end. The impact of delay can be minimized to reduce the system delay at the receiving end.
  • the second code length is twice the first code length.
  • the sending end may merge at least two segments in the initial segmentation result into adjacent segments with a higher level code length.
  • the level adjacent to the 64-bit code length includes 128 bits and 32 bits, so that after the merging operation, the size order of n code lengths corresponding to the target segmentation results obtained gradually and continuously decreases from large to small, and can be merged step by step when merging segments. This can not only minimize the number of segments, but also minimize the impact of decoding delay and transmission delay on the overall system delay at the receiving end, thereby minimizing the system delay at the receiving end.
  • the first code length is a code length other than the maximum code length among the n code lengths.
  • the sending end may detect each code length except the maximum code length in order of the code lengths corresponding to the initial segmentation result from small to large. The number of segments, thereby sequentially merging at least two segments with the same code length except the maximum code length, without changing the maximum code length of the segmentation results to improve reception performance.
  • the minimum code length among the n code lengths, and the number of information bits included in the corresponding segment in the target segmentation result is greater than or equal to p, where p is a positive integer, The number of segments corresponding to the minimum code length is less than or equal to 3.
  • p can be a positive integer greater than or equal to 1.
  • the specific value of p can be flexibly configured according to application requirements or actual scenarios, and this application does not limit this.
  • the number of information bits required for the segment corresponding to the minimum code length in the target segmentation result is greater than or equal to p. Then, under the condition that this condition is restricted, in a possible implementation, the minimum code length The number of segments can be 3. In another possible implementation, if there is no condition that the number of information bits corresponding to the minimum code length is greater than or equal to p, the number of segments corresponding to the minimum code length may be less than or equal to 2.
  • the target segmentation results are arranged in descending order of the n code lengths.
  • the embodiments of the present application segment the data to be encoded according to the actual code rate, which can reduce the number of segments and at the same time reduce the delay when the receiving end receives and decodes the encoding results corresponding to the segmented results of the present application, which can effectively reduce The delay at the receiving end.
  • the present application provides a data processing device.
  • the data processing device includes: a first acquisition module, used to acquire first data; a segmentation module, used to segment the first data and obtain a target segmentation result, wherein the target segmentation result corresponds to There are n code lengths, and the number of segments corresponding to each code length except the maximum code length and the minimum code length among the n code lengths is less than or equal to 2, where n is an integer and n ⁇ 2.
  • the segmentation module is specifically configured to segment the n code lengths in descending order based on the remaining number of information bits to be segmented in the first data. Perform segmentation processing on the first data to obtain target segmentation results.
  • the segmentation module is specifically configured to: in descending order of the n code lengths, based on the segmentation corresponding to the i-th code length among the n code lengths The number of information bits required to be included, and the remaining number of information bits to be segmented in the first data, determine the maximum number of segmented segments j corresponding to the i-th code length; according to the above, the maximum number j corresponding to the i-th code length is determined The maximum number of segmented segments is j, perform segmentation processing on the first data, and obtain the target segmentation result, where the number of segmented segments corresponding to the i-th code length is j; where 1 ⁇ i ⁇ n, i and j are both positive integers.
  • the segmentation module is specifically configured to perform segmentation based on the segment corresponding to the i-th code length among the n code lengths in order from large to small.
  • the second number of information bits is the difference between the remaining number of information bits to be segmented in the first data and the number of third information bits; wherein the third number of information bits is each fourth The sum of the number of information bits required to be included in the segment corresponding to the code length; wherein, the fourth code length is a code length smaller than the i-th code length among the n code lengths.
  • the segmentation module is specifically configured to: obtain an initial segmentation result corresponding to the first data; where the initial segmentation result includes a first segmentation result with a segment number greater than or equal to 2. In the case of segments, merge at least two of the first segments into at least one second segment of the second code length to obtain the target segmentation result, wherein the first segments correspond to the same first code length , the second code length is longer than the first code length.
  • the segmentation module is specifically configured to merge at least two of the first segments in the initial segmentation results into a second code in order of code length from small to large. Long second segment.
  • the segmentation module is specifically configured to combine at least two of the first segments and a target number of information bits into a second segment of the second code length; wherein, The target number of information bits comes from: a third segment with a third code length corresponding to the initial segmentation result, wherein the third code length is smaller than the first code length.
  • the initial segmentation results are arranged in descending order of code length.
  • the at least two first segments are arranged adjacently in the initial segmentation result.
  • the second code length is twice the first code length.
  • the first code length is a code length other than the maximum code length among the n code lengths.
  • the minimum code length among the n code lengths, and the number of information bits included in the corresponding segment in the target segmentation result is greater than or equal to p, where p is a positive integer, The number of segments corresponding to the minimum code length is less than or equal to 3.
  • the target segmentation results are arranged in descending order of the n code lengths.
  • the present application provides a data processing device.
  • the data processing device includes one or more interface circuits and one or more processors; the interface circuit is used to receive signals from a memory and send the signals to the processor, where the signals include computer data stored in the memory. Instructions; when the processor executes the computer instructions, the processor can implement the data processing method in any of the above embodiments.
  • the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program When the computer program is run on a computer or processor, it causes the computer or processor to execute the data processing method in any of the above embodiments.
  • the present application provides a computer program product.
  • the computer program product includes a software program.
  • the software program is executed by a computer or processor, the data processing method in any of the above embodiments is executed.
  • Figure 1 is a schematic diagram of an exemplary Polar code encoding process
  • Figure 2 is an exemplary system interaction diagram of the present application
  • Figure 3 is an exemplary timing diagram of the receiving end receiving data
  • Figure 4 is a schematic process diagram illustrating the segmentation method of the present application.
  • Figure 5a is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5b is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5c is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5d is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5e is an exemplary segmented schematic diagram of the segmented method of the present application.
  • Figure 5f is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5g is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 5h is an exemplary segmented schematic diagram of the segmented method of the present application.
  • Figure 6 is a segmented schematic diagram illustrating the segmentation method of the present application.
  • Figure 7a is a schematic diagram illustrating segmentation results of a segmentation method in the prior art
  • Figure 7b is a schematic diagram illustrating the segmentation results of the segmentation method of the present application.
  • Figure 8 is an exemplary schematic diagram illustrating the optimization of the segmentation results of the segmentation method of the present application compared with the segmentation method in the prior art
  • Figure 9a is a schematic diagram illustrating the optimization of the segmentation results of the segmentation method of the present application compared with the segmentation method in the prior art
  • Figure 9b is a schematic diagram illustrating the packet loss of the segmentation results of the segmentation method of the present application and the segmentation results of the segmentation method in the prior art;
  • Figure 10 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • Figure 11 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations.
  • first and second in the description and claims of the embodiments of this application are used to distinguish different objects, rather than to describe a specific order of objects.
  • first target object, the second target object, etc. are used to distinguish different target objects, rather than to describe a specific order of the target objects.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • Polar code is a coding method that has been theoretically proven to reach the Shannon limit, making polar code (also called Polar code) widely used in communication systems.
  • Polar code is used as the encoding method for the control channel; in other communication standards, Polar code is used as the encoding method for both control information (Header) and data information (Payload).
  • Polar codes are linear block codes, and the length of the mother code (such as y in Formula 1) is an integer power of 2.
  • the encoding process of Polar code can be expressed by formula 1:
  • F N is a generating matrix of NxN, where the order of F N is N; x is a one-dimensional vector after zero padding of the information bits to be encoded, and the length of x is N. y is the code obtained after encoding x, with length N.
  • FIG. 1 is a schematic diagram illustrating the encoding process of Polar code.
  • ⁇ u1, u2, u3, u4 ⁇ are information bits to be encoded with a length of 4, where each ui in u1, u2, u3, u4 is 0 or 1, where, 1 ⁇ i ⁇ 4, i is an integer.
  • the length of the mother code is 8, and N in Formula 1 is 8.
  • the sending end performs an XOR operation on x1 and x2, and obtains the result 31; the sending end performs an XOR operation on x3 and x4, and obtains the result 32; The result is 33; the sending end performs an XOR operation on x5 and x6, and the result is 34; the sending end performs an XOR operation on x7 and x8, and obtains the result 35; the sending end performs an XOR operation on the result 34 and the result 35, and obtains the result 36; The sending end performs an XOR operation on the result 33 and the result 36 to obtain the result 37, where the result 37 is the above-mentioned y1 obtained by Polar encoding.
  • the vector x ⁇ x1, x2, x3, x4, x5, x6, x7, x8 ⁇ is encoded with Polar code to generate y2 to y8.
  • the principle of generating y1 is similar. Please refer to Figure 1 for details. Again.
  • the decoding process of Polar code can be understood as the inverse process of Polar code encoding process.
  • the decoding process of Polar code can be expressed by formula 2:
  • FIG. 2 is an exemplary system interaction diagram of the present application.
  • the system may include a sending end and a receiving end.
  • the sending end may transmit Polar-encoded data to the receiving end.
  • the transmitting end may include but is not limited to: a data link layer, a first segmentation unit, a coding unit, a combining unit, and a modulation unit.
  • the receiving end may include but is not limited to: a demodulation unit, a second segmentation unit, a decoding unit, a transmission unit, and a data link layer.
  • the length of the mother code of Polar code is an integer power of 2, and the longer the length of the mother code, the better the performance.
  • the resource overhead such as the area of the implemented hardware circuit
  • the length of the mother code cannot be increased without limit. The length of the mother code needs to be determined by taking both performance and resource overhead into consideration.
  • the sending end can segmentally encode the data to be transmitted.
  • the first segmentation unit can be used to segment the data to be transmitted from the data link layer of the sending end based on a certain segmentation method to obtain multiple code blocks.
  • the data to be transmitted are information bits to be encoded.
  • the first segmentation unit can segment the information bits to be encoded according to the mother code length and code rate to obtain multiple code blocks.
  • a code block includes multiple information bits.
  • the target code rate is 1/2
  • the information bits to be encoded include 896 bits
  • the mother code lengths are 1024 bit, 512 bit, 128 bit, and 64 bit respectively:
  • the first segmentation unit can divide the information bits to be encoded into data segment 1 to data segment 5 according to the 1/2 code rate and the above-mentioned mother code lengths.
  • the code lengths of data segment 1 to data segment 5 are 512bit, 256bit, 64bit, 32bit, 32bit.
  • the first segmentation unit can perform zero padding on data segment 1 to data segment 5 according to the corresponding mother code length.
  • data segment 1 can be padded with 512 bits of 0 bits to obtain a code block with a code length of 1024 bits.
  • the pre-encoding code length of code block 1 is 512 bits; similarly, the first segmentation unit can perform zero padding on data segment 2 to data segment 5 according to the corresponding mother code lengths, so that the code lengths are respectively Code block 2 to code block 5 corresponding to the length of the mother code.
  • the pre-encoding code length of code block 1 is 512 bits
  • the post-encoding code length is 1024 bits
  • the pre-encoding code length of code block 2 is 256 bits, and the post-encoding code length is 512 bits;
  • the pre-encoding code length of code block 3 is 64 bits, and the post-encoding code length is 128 bits;
  • the pre-encoding code length of code block 4 is 32 bits, and the post-encoding code length is 64 bits;
  • the pre-encoding code length of code block 5 is 32 bits
  • the post-encoding code length is 64 bits.
  • the encoding unit can be used to perform Polar encoding on each segmented code block to obtain multi-segment codes (also called multiple encoded code blocks).
  • the encoding unit can perform Polar encoding on the code blocks 1 to 5 whose code lengths are 1024bit, 512bit, 128bit, 64bit, and 64bit respectively after zero padding, thereby obtaining code lengths of 1024bit, 512bit, and 128bit respectively. , 64bit, 64bit multi-segment codes.
  • the zero-filling operation on the segmented code blocks can also be performed by the encoding unit, and this application does not limit this.
  • each code block may correspond to a pre-encoding code length and a post-encoding code length.
  • the code length corresponding to the above code block 1 is 512 bits before encoding
  • the code length after encoding is 1024 bits.
  • the sending end segments the information bits to be encoded, there may be at least one code block whose actual code rate is smaller than the above target code rate.
  • the code length before encoding corresponding to the above code block 2 can be 255 bits, and the code block 2 is still encoded according to the mother code length of 512 bits. Then the sending end can complement the code block 2 with 257 bits of 0 bits. In this way, the code block 2
  • the actual code rate is the ratio of the code length before encoding and the code length after encoding, here it is (255/512) ⁇ (1/2).
  • the combining unit can be used to combine multiple segments of codes into one frame of data.
  • the modulation unit can be used to modulate a frame of data combined by the combination unit, for example, modulate a digital signal into an analog signal that can be transmitted on a channel.
  • the transmitting end can transmit the analog signal modulated by the modulation unit to the receiving end through the channel.
  • the demodulation unit in the receiving end, can be used to demodulate the analog signal from the transmitting end to obtain the digital signal to obtain the above-mentioned one frame of data.
  • the second segmentation unit can segment the one frame of data according to the same segmentation method as the first segmentation unit to restore the corresponding The multiple code segments of multiple code blocks.
  • the decoding unit can be used to decode the received segment of code to obtain a data segment (here, information bits) corresponding to a code block; transmission
  • the unit can be used to transmit the decoded information bits from the decoding unit to the data link layer to achieve upper layer transmission of data.
  • the decoding unit performs a similar decoding operation on the next code segment received by the receiving end, and the transmission unit performs a similar transmission operation on the information bits corresponding to the next code segment decoded by the decoding unit, until the above frame of data All reception is completed, so that the receiving end completes the decoding of the multi-segment codes corresponding to one frame of data and transmits the decoded data to the upper layer (such as the data link layer).
  • the communication system has high requirements for reduced power consumption and ultra-low latency.
  • the system clock is generally relatively low.
  • the time required for the receiving end (such as the decoding unit shown in Figure 2) to decode each code segment can be called a decoding delay.
  • the time it takes for the receiving end (such as the transmission unit shown in Figure 2) to transmit the decoded information bits to the upper layer (such as the data link layer) is called transmission delay. Since the system clock is relatively low, the decoding delay and transmission delay will be relatively large. If the decoding delay and/or transmission delay are large, it can seriously affect the overall delay of the system, causing the system delay to increase. .
  • the sending end of this application can segment the data to be transmitted based on the low-latency segmentation principle.
  • the principle of low-latency segmentation is: segment the data to be transmitted to obtain multiple code blocks, and the code lengths of the multiple code blocks (here refers to the code length after encoding, that is, the mother code length corresponding to the code block) are divided into segments.
  • the sequence (or the bit sequence of the data to be transmitted) gradually and continuously decreases from large to small, and the code block with the minimum mother code length is used as the last code block.
  • the code length of the next-level code block (also called the next-level code block) (here refers to the code length after encoding) is the same as the code length of the previous level code block.
  • the code length of the first-level code block (also called the upper-level code block) (here refers to the code length after encoding) is the same; or, the code length of the next-level code block (here refers to the code length after encoding) is the previous one.
  • Half of the code length of the first-level code block (here refers to the code length after encoding). This allows the code block whose code length is the minimum mother code length to be the last code block.
  • the code block can be used to represent the data segment after segmentation of the data to be transmitted, and the information bits after zero padding according to the length of the corresponding mother code.
  • the previous level code block is adjacent to the next level code block, and the previous level code block is the previous code block of the next level code block, and the next level code block is the previous code block of the next level code block.
  • the first-level code block is the next code block of the previous level code block.
  • FIG. 3 is an exemplary timing diagram of the receiving end receiving data.
  • Figure 3(1) illustrates an example of how the receiving end receives data in this scenario. Timing diagram.
  • Figure 3(2) is an exemplary illustration.
  • the timing diagram of the receiving end receiving data in this scenario is an exemplary illustration.
  • the transmitter uses the above-mentioned low-latency segmentation principle to segment the data to be transmitted to obtain multiple code blocks (code block 1 to code block 5), and The segmented code block rows are encoded to obtain the encoded code 1, code 2, code 3, code 4, and code 5.
  • the transmitter can treat the data to be transmitted based on the given maximum mother code code length and minimum mother code code length. Perform segmentation to obtain multiple data segments, and zero-pad the multiple data segments according to the corresponding mother code length to obtain multiple code blocks whose code lengths are the corresponding mother code lengths.
  • the maximum mother code code length is 1024 bits
  • the minimum mother code code length is 64 bits.
  • code 1 is data with a code length of 1024 bits (the mother code length here is 1024 bits)
  • code 2 is data with a code length of 512 bits
  • code 3 is data with a code length of 256 bits.
  • Bit data code 4 is data with a code length of 128 bits
  • code 5 is data with a code length of 64 bits.
  • the sender segments the data to be transmitted based on the above-mentioned low-latency segmentation principle, given that the maximum mother code length is 1024 bits and the minimum mother-code length is 64 bits, then the sender segments the data to be transmitted based on the above-mentioned low-latency segmentation principle.
  • code blocks 1 to 5 arranged in bit order: code lengths of 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
  • the code length of code block 2 as the next level code block is half of the code length of code block 1 of the previous level code block; the same Logically speaking, the code length of code block 3 as the next level code block is half of the code length of code block 2 of the previous level code block, and the code length of code block 3 as the next level code block is the code length of the previous level code block.
  • the code length of code block 2 is half of the code length.
  • the code length of code block 4 as the next level code block is half the code length of code block 3 of the previous level code block; the code block 5 as the next level code block
  • the code length of is half of the code length of code block 4 of the previous level code block.
  • the last code block is code block 5 with the minimum mother code length (here, 64 bits).
  • the sending end may perform Polar code encoding on code block 1 to code block 5 respectively, thereby obtaining corresponding codes 1 to 5.
  • the receiving end since the receiving end receives the analog signal corresponding to the data to be transmitted sent by the transmitting end through serial reception, the receiving end can receive code 1 in sequence. to code 5.
  • the receiving end starts receiving code 1 at time t0 and completes receiving code 1 at time t1.
  • the receiving end not only completes receiving code 1, but also starts receiving code 2, and completes receiving code 2 at time t5.
  • the receiving end not only starts to receive code 2 from time t1, but also the decoding unit in the receiving end as shown in Figure 2 can start from time t1 to receive code 2.
  • the completed code 1 is decoded, so that the decoding process of code 1 and the receiving process of code 2 can be performed simultaneously.
  • the decoding unit completes the decoding of code 1 from time t1 to time t3, so that the decoding delay of code 1 corresponds to the time period from t1 to t3.
  • the transmission unit shown in Figure 2 can transfer the data that the decoding unit has The decoded 1 bit is transmitted to the data link layer (such as the Media Access Control layer (Medium Access Control, MAC)).
  • the data link layer such as the Media Access Control layer (Medium Access Control, MAC)
  • the decoding unit completes the decoding of 1 bit of code 1 at time t2, so that the transmission unit can start from time t2 to transmit the information bits of code 1 decoded by the decoding unit to the MAC layer. transmission.
  • the transmission unit completes the transmission of the decoded information bits of code 1 to the MAC from time t2 to time t4, so that the transmission delay of code 1 corresponds to the time period from t2 to t4.
  • Time t3 and time t4 are both before time t5, so that the receiving end can decode code 1 in parallel while receiving code 2 with a code length of 512 bits, and transmit the decoded code 1 data to the data in parallel. link layer.
  • the data reception delay of code 2 the decoding delay of code 1 and the transmission delay of code 1 (here is the MAC transmission delay) are parallelized as much as possible.
  • the receiving end can receive code 3 in the time period from t5 to t9, and while receiving code 3, it can also process the received code 2 in the time period from t5 to t7 in parallel. Decoding is performed, and in parallel, the decoded information bits of code 2 are transmitted to the data link layer in the time period from t6 to t8. In order to make the data reception delay of code 3, the decoding delay of code 2 and the transmission delay of code 2 parallel as much as possible.
  • the receiving end can receive code 4 in the time period t9 to t11, and while receiving code 4, it can perform processing on the received code 3 in the time period t9 to t11 in parallel. Decoding, and in parallel, transmitting the decoded information bits of code 3 to the data link layer in the time period from t10 to t11. In order to make the data reception delay of code 4, the decoding delay of code 3 and the transmission delay of code 3 parallel as much as possible.
  • the receiving end can receive code 5 in the time period t11 to t12, and while receiving code 5, it can process the received code 4 in parallel in the time period t11 to t12. decoding, and transmitting the decoded information bits of code 4 to the data link layer in parallel within the time period from t11 to t12. In order to make the data reception delay of code 5, the decoding delay of code 4 and the transmission delay of code 4 parallel as much as possible.
  • the receiving end after the receiving end completes receiving the 64-bit code 5 at time t12, it can start decoding code 5 at time t12, such as code 5 shown in Figure 3(1).
  • the decoding delay is the decoding time period of code 5 at the receiving end.
  • the transmission delay of code 5 shown in Figure 3(1) is The time period during which the information bits of code 5 are transmitted to the data link layer. So that the decoding delay of code 5 and the transmission delay of code 5 are parallel.
  • the transmitting end segments the data to be transmitted according to the low-latency segmentation principle and performs Polar code encoding on multiple code blocks after segmentation, so that the receiving end side can determine the data reception time of the code (or code block).
  • decoding delay and transmission delay are parallelized as much as possible to reduce the overall transmission delay of the system.
  • the transmitter does not adopt the above-mentioned low-latency segmentation principle, but uses other segmentation principles to segment the data to be transmitted and perform segmentation on the segmented code blocks. Encode to obtain code 1' and code 2'.
  • code 1' is data with a code length of 1024 bits
  • code 2' is data with a code length of 64 bits.
  • the code block sizes after segmentation at the sending end are 1024 bits and 64 bits respectively.
  • the code blocks segmented and encoded by the sending end can also include other codes received by the receiving end in the time period from t0 to t16. There are no restrictions here. .
  • the following uses code 1’ and code 2’ as examples to explain the data reception and decoding processes at the receiving end.
  • the receiving end since the receiving end receives the analog signal corresponding to the data to be transmitted sent by the transmitting end through serial reception, then the receiving end can receive code 1 in sequence 'To code 2'.
  • the receiving end starts receiving code 1' at time t16, and completes receiving code 1' at time t11.
  • the receiving end not only completes receiving code 1', but also starts receiving code 2', and completes receiving code 2' at time t12.
  • the receiving end not only starts to receive code 2' from time t11, but also the decoding unit in the receiving end as shown in Figure 2 can start from time t11.
  • the completed code 1' is received and decoded, so that the decoding process of code 1' and the reception process of code 2' can be performed simultaneously.
  • the decoding unit completes the decoding of code 1' from time t11 to time t14, so that the decoding delay of code 1' corresponds to the time period from t11 to t14.
  • the transmission unit shown in Figure 2 can transfer the decoding unit The decoded 1 bit is transmitted to the data link layer (MAC).
  • MAC data link layer
  • the decoding unit completes the decoding of 1 bit of code 1' at time t13, so that the transmission unit can start decoding the information bits of code 1' decoded by the decoding unit from time t13 to MAC layer transmission.
  • the transmission unit completes the transmission of the decoded code 1' to the MAC from time t13 to time t15, so that the transmission delay of code 1' corresponds to the time period from t13 to t15.
  • the code length of code 1' is 1024 bits, which is much larger than the 64 bits of code 2', making code 1'
  • the decoding delay and the transmission delay of code 1' both exceed the reception delay (t11 to t12 time period) when the receiving end receives code 2', resulting in the t12 to t12 time period as shown in Figure 3(2). Additional delay overhead in the t15 time period. In other words, after the receiving end completes receiving code 2' at time t12, it still needs to wait for the corresponding time period from t12 to t15 before it can receive the next code. As a result, there is a time difference between the data reception delay of the current code and the decoding delay of the previous received code and the transmission delay of the previous received code, making it impossible to maximize parallel execution.
  • code 2' can be decoded starting from time t15, and the decoded code 2' can be The information bits are transmitted to the MAC, such as the decoding delay of code 2' and the transmission delay of code 2' shown in Figure 3(2).
  • the sender uses other segmentation principles to segment the data to be transmitted and performs Polar encoding as shown in Figure 3(2), compared with the scenario where the sender uses low-latency segmentation as shown in Figure 3(1)
  • the data receiving process at the receiving end shown in Figure 3(2) may generate additional delay overhead in the time period from t12 to t15.
  • the input bit sequence (for example, the information bits to be encoded) is represented by b 0 , b 1 , b 2 , b 3 ,...b B-1 .
  • K 1024 , K 512 , K 256 , K 128 , and K 64 are known data.
  • the code rate is the ratio of the information bits included in the code block to the code length
  • the value of K 128 is also less than 64bit
  • the value of K 64 is also less than 32bit.
  • the actual code rates corresponding to the above values of K 512 , K 256 , K 128 , and K 64 given by the system are all smaller than the target code rate R, not the target code rate R.
  • N 1024 , N 512 , N 256 , N 128 , and N 64 are respectively used to represent the number of segments with different code lengths (here, the code length after encoding, that is, the mother code length), that is, the number of code blocks with different code lengths.
  • N 1024 , N 512 , N 256 , N 128 , and N 64 are the parameters that need to be solved respectively.
  • N 1024 is used to represent the number of code blocks with a code length of 1024 bits
  • N 512 is used to represent the number of code blocks with a code length of 512 bits
  • N 256 is used to represent the number of code blocks with a code length of 256 bits
  • N 128 is used to represent the number of code blocks with a code length of 512 bits
  • N 64 is used to represent the number of code blocks with a code length of 128 bits
  • N 64 is used to represent the number of code blocks with a code length of 64 bits.
  • K m is used to represent the number of remaining bits to be encoded after allocating the information bits to be encoded to the code block with a code length of 1024 in the bit sequence b 0 , b 1 , b 2 , b 3 ,... b B-1 .
  • the number of code blocks C total (that is, the total number of segments that segment the input bit sequence) is achieved through the first to fourth steps:
  • the first step is to determine the number N 1024 of code blocks with a code length of 1024 bits through the following code logic;
  • the third step is to calculate N 64 according to Formula 4.
  • the fourth step is to determine the total number of segments C total according to Formula 5.
  • Table 2 illustrates the segmentation results obtained by the above-mentioned segmentation method in the prior art under the conditions of different information bit lengths K (K is the total number of information bits) with the target code rate R being 6/8. , among which, CRC24 in Table 2 is used to indicate that the above L is 24 bits, and the information bit K+CRC24 indicates the value of B.
  • the segmentation method in the above-mentioned prior art can obtain three code blocks with a code length of 64 bits.
  • the code blocks with a code length of 64 bits belong to small code blocks.
  • the segmentation method in the prior art has the problem of a large number of small code blocks.
  • the probability of decoding errors of code blocks with different code lengths is basically the same. Then, given the number of bits of data to be transmitted, the greater the number of code blocks obtained by segmentation, the greater the probability of decoding errors of the code blocks, and the worse the reception performance.
  • the prior art divides the information bits to be encoded based on the target code rate R. segments, for example, determine N 512 , N 256 , N 128 instead of segmenting the information bits to be encoded based on the actual code rate of the code block of each code length.
  • the actual code rate R' of the code block with a code length of 512 is K 512 /512, where R' ⁇ R.
  • the segmentation method in the prior art not only results in a larger number of code blocks C total , but also the number of segmented small code blocks can reach 3 or more. The number of code blocks is also too high, affecting reception performance.
  • the small code block defined in this application is used to represent the code block in the segmented code block whose code length is less than the maximum code length, where the maximum code length is the longest code length in the segmented code block. .
  • the present application provides a segmentation method.
  • the total number of segments of the data to be transmitted can be reduced when the data to be transmitted is encoded with Polar codes (for example, The number of code blocks after the segment), especially the number of small code blocks can be reduced.
  • the number of small code blocks of the same length can be less than 3, thereby optimizing the reception performance of the code blocks.
  • FIG. 4 is an exemplary process diagram of the segmentation method.
  • the method may include S101 and S102.
  • the sending end segments the data to be transmitted according to the preset algorithm and the preset mother code length, and obtains multiple first code blocks corresponding to different code lengths.
  • the data to be transmitted may be information bits to be encoded.
  • the data to be transmitted may also include information bits of cyclic redundancy check.
  • the code length of each first code block is an integer power of 2.
  • the code length of a first code block is a mother code length.
  • each mother code length may correspond to at least one first code block.
  • the code lengths of different first code blocks may be the same, and there may be multiple code blocks whose code lengths are the same mother code length.
  • the segmentation result of segmenting the data to be transmitted can be multiple data segments, or it can be the first code block after zero-padding each data segment according to the corresponding preset mother code length.
  • the segmentation result is a code block as an example for illustration.
  • each data segment also corresponds to a corresponding preset mother code length.
  • Merging can still be performed based on the preset mother code length corresponding to each data segment (that is, the encoded code length).
  • the specific implementation principle is similar to the merging operation of multiple first code blocks introduced in various embodiments of this application. This will be explained later.
  • S102 The sending end performs a merging operation on the plurality of first code blocks, and the number of first code blocks after merging is smaller than the number of first code blocks before merging.
  • the sending end may merge at least two adjacent first code blocks with the same code length into at least one second code block, wherein the first code block before merging The code length of one code block is smaller than the code length of the corresponding second code block to reduce delay.
  • the transmitting end when performing the above merging operation, can merge code blocks with the same code length, and the merged code blocks are not limited to adjacent code blocks, for example, in Figure 5a(2) , the sending end can also combine code block 15 and code block 20.
  • the code length of the first code block is an integer power of 2.
  • the code lengths corresponding to the plurality of first code blocks before merging may include the code length of the second code block.
  • the code lengths corresponding to the code blocks segmented in S101 include 1024 bits and 512 bits.
  • two code blocks with a code length of 512 bits can be merged into one code block with a code length of 1024 bits. , thereby reducing the number of small code blocks.
  • the code lengths of the combined code blocks include 1024 bits and 512 bits, but the number of code blocks with a code length of 512 bits is reduced, thereby reducing the number of small code blocks.
  • the merging operation of the code blocks by the sending end will not increase or decrease the code length corresponding to the multiple first code blocks obtained after segmentation in S101.
  • the code lengths corresponding to the plurality of first code blocks before merging do not include the code length of the second code block.
  • the code lengths corresponding to the code blocks segmented in S101 include 1024 bits, 512 bits, and 64 bits.
  • the two 64-bit code blocks can be merged into one code block with a code length of 128 bits.
  • the code length of the code block after the combined operation can include 1024 bits, 512 bits, 128 bits, and optionally 64 bits, which can also reduce the number of small code blocks.
  • the sending end's merging operation of code blocks can increase or decrease the code length corresponding to the multiple first code blocks obtained after segmentation in S101.
  • the information bits that need to be included in the code block given the maximum code length (such as the maximum mother code length) and the minimum code length (such as the minimum mother code length) and each preset mother code length are
  • the sending end can segment the data to be transmitted based on the above-mentioned low-latency segmentation principle to obtain a plurality of first code blocks with code lengths gradually decreasing from large to small. In this way, the impact of decoding delay and transmission delay on the overall system delay can be minimized.
  • the information bits contained in each first code block may be composed of partial information bits after segmentation of the data to be transmitted (for example, the data segments described in the embodiment of FIG. 2 above).
  • code blocks with (b-a+1) types of code lengths can be obtained, where a , b is a positive integer, and a ⁇ b.
  • the code length of any first code block can be expressed as 2 x bits, where a ⁇ x ⁇ b.
  • the sending end can express the number of information bits (the information bits are information bits from the data to be transmitted) contained in the first code block with a code length of 2 x bits as K x .
  • the sending end can also obtain the value of parameter p set by the system or the user.
  • the parameter p can be used to represent the number of information bits at least included in the last code block among multiple first code blocks corresponding to the segmentation result obtained after segmentation. Then when the sending end performs the above S101, it can further perform segmentation based on the parameter p, so that the number of information bits corresponding to the last code block in the segmentation result obtained by segmentation is greater than or equal to p.
  • the information bits here refer to the information bits from the data to be transmitted, excluding the zero bits padded with zeros according to the preset mother code length.
  • the value of p can be set by the system or the user, and can be flexibly set according to needs, and is not limited in this application.
  • the sending end can use the last 15 bits remaining at the end of the data to be transmitted when segmenting (it can be any value greater than or equal to 10, there is no limit here) ) is allocated to a code block with a code length of 64 bits, then the code block with a code length of 64 bits is the last code block after segmentation, and the number of information bits included in the last code block is 15 bits.
  • multiple code blocks with the same code length each contain the same information bits.
  • N x can represent the number of code blocks with a code length of 2 x bits.
  • the sending end segments the data to be transmitted according to the above-mentioned low-delay segmentation principle, and can obtain multiple first code blocks.
  • the code lengths of multiple first code blocks obtained based on the above-mentioned low-latency segmentation principle are 1024 bit, 512 bit, 256 bit, 128 bit, and 64 bit.
  • Figure 5a(1) is an exemplary illustration of multiple first code blocks obtained by the sending end segmenting the data to be transmitted according to the above-mentioned low-latency segmentation principle.
  • the sender obtains 9 code blocks in segments, and the 9 code blocks are arranged in sequence according to the information bit order of the data to be transmitted, followed by code block 11 with a code length of 1024 bits, code block 11 with a code length of 512-bit code block 12, code block 13 with a code length of 256 bits, code block 14 with a code length of 256 bits, code block 15 with a code length of 128 bits, code block 16 with a code length of 128 bits, code length Code block 17 of 64 bits, code block 18 with a code length of 64 bits, code block 19 with a code length of 64 bits.
  • the data to be transmitted includes 985 bits
  • the preset mother code length includes 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
  • the transmitting end segments the data to be transmitted according to the information bit sequence and the preset mother code length of the data to be transmitted (this includes zero-filling operations for each data segment, thereby obtaining code blocks 11 to 19), and obtains the above code Block 11 to Code Block 19.
  • K The number of information bits included in the blocks are 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits respectively.
  • the code length of the last code block 19 is 64 bits, but the number of information bits it includes is 15 (this value is greater than p, which has a value of 10).
  • the sending end may sequentially detect code blocks of each code length in the plurality of first code blocks in order from small to large code lengths. quantity.
  • the plurality of first code blocks are sequentially sorted according to the order of information bits of the data to be transmitted (or segmentation order).
  • the sending end when the sending end detects that the number of code blocks of code blocks with the same code length is 3 or more, then at least two first code blocks with the same code length can be combined.
  • the transmitting end may combine at least two first code blocks that are adjacently arranged and have the same code length among multiple first code blocks arranged in information bit order.
  • the code blocks to be combined when the number of code blocks to be combined is 2 or more, the code blocks can also be combined. The principles are similar and will not be described again here.
  • the transmitting end can combine at least two first code blocks that are arranged adjacently into at least one second code block, wherein the second code length of the second code block is longer than the combined code block.
  • the first code length of the first code block, and the second code length of the second code block is twice the first code length of the merged first code block.
  • the merged first code block still complies with the above-mentioned low-latency segmentation principle, that is: the code length of the next-level code block is the same as the code length of the previous-level code block, or the code length of the next-level code block is Half the code length of the previous code block; and the code length of the last code block is the minimum mother code length.
  • At least one first code block with the code length of the first code block can be left, so that after this process
  • the code length of each code block after the merging process of S102 applied for is the same as the code length of multiple code blocks obtained from the initial segmentation (such as S101).
  • the merging process will not be based on the code length corresponding to the original segmentation result. , add a new code length or reduce the code length.
  • the sending end can combine at least two first code blocks based on the merged at least The number of information bits included in the two first code blocks, and the number of information bits included in at least one second code block after merging, the number of information bits in the last code block is updated, and the number of information bits in the last updated code block is The included information bits are still greater than or equal to p.
  • the sending end segments the data to be transmitted according to the above-mentioned low-latency segmentation principle to obtain multiple first code blocks.
  • the sending end can determine the values of the following parameters: the maximum code length 2 a in multiple first code blocks, the minimum code length 2 b , and the number of information bits K included in a code block with a code length of 2 x bits.
  • x , a ⁇ x ⁇ b, a, b are all positive integers, the number N x of code blocks with a code length of 2 x , the value of p (such as 10 in the above example), and K last .
  • the sending end when the sending end combines multiple first code blocks through S102, it can be implemented through the following code:
  • the sending end can sequentially detect the number of code blocks of each code length except the maximum code length for multiple first code blocks in order from small to large code lengths. If the sending end traverses The number of the first code blocks with a first code length of 2 x bits is greater than or equal to 3, and K last -(K x+1 -2* K When a code block is combined into a code block with a code length of 2 x + 1 bits, it can still be ensured that the number of information bits included in the last updated code block is greater than or equal to p.
  • the sender can reduce the number of code blocks with a code length of 2 x bits by 2, add 1 to the number of code blocks with a code length of 2 x+1 bits, and increase the number of information bits included in the last code block K Updated to K last -(K x+1 -2*K x ).
  • Figure 5a(1) exemplarily shows the segmentation result after segmenting the data to be transmitted based on the low-latency segmentation principle.
  • the segmentation result may include code blocks 11 arranged in the order of information bits. Go to code block 19.
  • the sending end detects that the number of code blocks with a code length of 64 bits shown in Figure 5a(1) is 3 in order from small to large code lengths, and detects that code block 17 and code block 18 each Including 20 bits of data to be transmitted, and the number of information bits included in a code block with a code length of 128 bits is 41, then the sender combines code block 17 and code block 18 here into a code with a code length of 128 bits block, there is a lack of 1 (i.e. 41-20*2) bits of data to be transmitted, and the 1 bit of data to be transmitted can be supplemented from the last code block, that is, code block 19.
  • the sending end can use the code block 17 and the code block 18 shown in Figure 5a(1) and one of the 15 information bits included in the code block 19 (for example, the first bits (not limited here) are combined into a code block 20 with a code length of 128 bits as shown in Figure 5a(2), and the number of information bits included in the code block 19 is updated from 15 to 14.
  • the transmitting end when the transmitting end combines code blocks (for example, code block A and code block B) with the same code length (for example, code length 1), the missing target amount of information that needs to be supplemented is Bits, the sender obtains from other code blocks in the code block corresponding to the segmentation result except the current code block to be merged. It is not limited to obtaining from the last code block in the above example.
  • the specific code block can be obtained from Determined according to the policy, there are no restrictions here.
  • the sending end when the sending end combines code blocks (for example, code block A and code block B) with the same code length (for example, code length 1), for the missing target number of information bits that need to be supplemented, the sending end starts from Obtaining the last code block in the code block corresponding to the segmentation result can improve encoding and decoding efficiency compared to obtaining code blocks other than the last code block.
  • code blocks for example, code block A and code block B
  • code length for example, code length 1
  • the sending end when the sending end merges code block 17 and code block 18, for the missing 1 bit that needs to be supplemented, the sending end obtains it from the last code block 19, and the strategy adopted is to start from the previous one in the order of arrangement. The latter strategy is used to obtain the first bit in code block 19 and merge it with code block 17 and code block 18 to obtain code block 20.
  • the sending end when the sending end combines different code blocks, regardless of whether the target number of information bits to be supplemented is included, when the sending end performs the combining operation, the data from the different code blocks that need to be combined
  • the connection sequence between them can also be determined based on the preset strategy, and there is no restriction on the preset strategy here.
  • the strategy can be to splice in sequence according to the arrangement order of the data in the code block. For example, in Figure 5a, 1 bit of code block 17, code block 18 and code block 19 are merged and spliced, then the sending end can combine code block 17 The last 1 bit of the 64 bits is connected to the first bit of the 64 bits of code block 18, and the first bit obtained from the 15 information bits of the data to be transmitted obtained from code block 19 is connected to the first bit of code block 18 The last bit of the 64 bits is connected to obtain the code block 20 shown in Figure 5a(2).
  • the sending end when it combines different code blocks, if it needs to obtain a corresponding target number of information bits of data to be transmitted from other code blocks, the target number of information bits will be merged into the different code blocks.
  • its merging position is also not limited. The specific position of the target number of information bits in the combined code block can be determined according to the strategy, and this application does not impose restrictions on this.
  • Any strategy mentioned in the above embodiments can be a strategy pre-agreed between the sending end and the receiving end.
  • the receiving end can segment and encode the codes of the sending end of this application and decode them according to the corresponding strategy to obtain The original data to be transferred.
  • the code block 18 includes 20 bits of data to be transmitted.
  • the sending end pads the 20 bits of data to be transmitted with zeros according to the preset mother code length of 64 bits to obtain the code.
  • Code block 18 of length 64 the first bit The bits can be connected to the target position in the bit sequence corresponding to code block 18 (here, the 64-bit bit sequence after zero padding).
  • the target position can be the 20-bit position in the 64-bit bit sequence corresponding to code block 18. Any position after the data to be transmitted is not limited to the end of the code block 18. For example, if the target position is the end of code block 18, it can ensure that the bit order of the data to be transmitted corresponding to the combined code block remains unchanged, ensuring the accuracy of the data to be transmitted, and improving encoding and decoding efficiency.
  • the information bits corresponding to the segmentation results shown in Figure 5a(2) are still sorted according to the information bits of the data to be transmitted, so as to ensure that the adjustment of the segmentation results does not change the data to be transmitted. , thereby improving encoding and decoding efficiency.
  • the sending end detects that the number of code blocks with a code length of 128 bits shown in Figure 5a(2) is 3, and detects a code block with a code length of 128 bits in order from small to large code lengths. Including 41 bits of data to be transmitted, and the number of information bits included in the adjacent code block 14 with a longer code length is 84, then the sending end combines two code blocks with a code length of 128 bits into one code block with a code length of When using a 256-bit code block, 2 (ie, 84-41*2) bits of data to be transmitted are missing, and the 2 bits of data to be transmitted can be filled from the last code block, that is, code block 19.
  • code block 15, code block 16, and code block 20 are all code blocks with a code length of 128 bits.
  • code block 15 and the code block 16 are merged, and the adjacent code block 16 and the code block 20 can also be merged.
  • code block 15, code block 16, and code block 20 are all code blocks with a code length of 128 bits. Then when merging two code blocks, Non-adjacent code block 15 and code block 20 can be merged.
  • the merged code block can be located at the arrangement position corresponding to code block 15 or code block 20, preferably at the arrangement position corresponding to code block 15, so as to reduce the reception time of the code block. extension.
  • the transmitting end in order to ensure that the code blocks after merging code blocks still meet the above-mentioned low-latency segmentation principle to reduce the reception delay of the code blocks, the transmitting end can perform the following steps as shown in Figure 5a(2) Code block 15 and code block 16 are combined into code block 21 with a code length of 256 bits as shown in Figure 5a(3).
  • the sending end can directly obtain it from code block 19 shown in Figure 5a(2) to supplement Go to code block 21.
  • the sending end can also indirectly obtain the 2 bits missing when code block 15 and code block 16 are combined into code block 21 from the last code block 19 .
  • the sending end can add code block 15, code block 16, and code block 2 bits of data to be transmitted among the 41 information bits included in the code block 20 (for example, the 2 information bits located at the starting position among the 41 information bits in the code block 20) are sequentially connected to merge into Figure 5a (3 ); and the sending end can supplement the 14 information bits included in the code block 19 shown in Figure 5a(2), for example, the 2-bit information located at the starting position as shown in Figure 5a(2) code block 20 (for example, the 2-bit information is padded at the end of the data corresponding to the zero-padded code block 20.
  • the specific position is not limited and can be determined according to the strategy), so that the code block shown in Figure 5a(3) The number of information bits included in 20 is still 41, but the number of information bits included in code block 19, so 14 shown in Figure 5a(2) is updated to 12 shown in Figure 5a(3).
  • the information bits corresponding to the segmentation results shown in Figure 5a(3) can be sorted according to the order of the information bits of the data to be transmitted, so as to ensure that the adjustment of the segmentation results does not change the to-be-transmitted data. Transmit data to improve encoding and decoding efficiency.
  • the sending end can combine the code block 13 and the code block 14 shown in Figure 5a(3) into the code block with a code length of 512 bits shown in Figure 5a(4). 22, wherein the code block 22 includes 168 bits of data to be transmitted.
  • the information bits corresponding to the segmentation results shown in Figure 5a(4) are still sorted according to the information bits of the data to be transmitted. They can be sorted according to the order of the information bits of the data to be transmitted, so as to This ensures that adjustments to segmentation results do not change the data to be transmitted, thereby improving encoding and decoding efficiency.
  • the total number of code blocks is 9, and the number of small code blocks is 8, of which the code length is 64 bits.
  • the number of is 3; after the sending end merges the small code blocks, as shown in Figure 5a(4), in the updated segmentation result, the total number of code blocks is 6, and the number of small code blocks is 5, And the number of small code blocks of any code length is less than 3.
  • This "carry every 3 method" reduces the total number of segments and the number of small code blocks, thereby optimizing the reception performance.
  • the segmentation result shown in Figure 5a(1) obtained from the initial segmentation is in line with the principle of low-latency segmentation, and after optimizing the segmentation result through the method of this application, , in the segmented result shown in Figure 5a(4), the segmented result still complies with the principle of low-latency segmentation, so when the receiving end processes the Polar code encoding result of the segmented result, it can maximize Minimizing the impact of decoding delay and transmission delay on the overall system delay at the receiving end can minimize the system delay at the receiving end.
  • This method can achieve the minimum number of segments of the data to be transmitted while the code blocks corresponding to the segmentation results satisfy the principle of gradually and continuously decreasing from large to small, so that the number of segments of the data to be transmitted, or The number of code blocks corresponding to the segmentation result of the data to be transmitted is the smallest.
  • the merging process of each code block is explained by taking the segmentation result as a code block after zero padding according to the corresponding preset mother code length. Then, when the segmentation results are multiple data segments obtained by segmenting the data to be transmitted by the sending end, combined with the embodiment of Figure 5a, for example, in Figure 5a(1), the segmentation results may include sorting according to the order of information bits. of data segments 1 to 9 corresponding to code blocks 11 to 19.
  • data segment 1 to data segment 9 sequentially include 512 bits, 168 bits, 84 bits, 84 bits, 41 bits, 41 bits, 20 bits, 20 bits, and 15 bits in the data to be transmitted.
  • the encoded code lengths corresponding to data segments 1 to 9 are 1024 bits, 512 bits, 256 bits, 128 bits, 128 bits, and 64 bits as shown in Figure 5a(1) respectively. , 64 bit, 64 bit. Then when the sending end performs the corresponding merging operation on the above-mentioned data segments 1 to 9 to optimize the segmentation results, the data corresponding to the same preset mother code length can be combined according to the preset mother code length corresponding to each data segment.
  • Segments are merged (connected here) to reduce the number of segments.
  • the specific principle of the merging process is the same as the example in the embodiment of Figure 5a where the segmentation results are code blocks.
  • the principles of the merging process introduced are similar and will not be described again here.
  • the strategies used by the sending end when merging data segments corresponding to the same code length are all the same as the principles of the corresponding strategies described in Example 1 above, and will not be described again here.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • the minimum code length is 2 a bits and the maximum code length is 2 b bits.
  • the number of preset mother code lengths is not limited to (b-a+1).
  • the number of preset mother code lengths is not limited to (b-a+1). It can be less than (b-a+1), where a and b are positive integers, and a ⁇ b.
  • the minimum code length is set to 64 bits and the maximum code length is 1024 bits.
  • the code lengths corresponding to the multiple first code blocks obtained may include : 1024 bit, 64 bit.
  • the code length may also include at least one code length between 64 bits and 1024 bits and an integer power of 2.
  • FIG. 5b(1) illustrates the initial segmentation result of this embodiment.
  • the sending end segments the data to be transmitted including 985 bits based on the above minimum code length and maximum code length, and obtains 8 code blocks according to the segmentation of the data to be transmitted.
  • the information bits are arranged in sequence, including code block 301 with a code length of 1024 bits, code block 302 with a code length of 512 bits, code block 303 with a code length of 256 bits, code block 304 with a code length of 256 bits, and code block 304 with a code length of 256 bits.
  • the code block 305 is 256 bits long
  • the code block 306 is 64 bits long
  • the code block 307 is 64 bits long
  • the code block 308 is 64 bits long.
  • the default mother code length includes 1024 bits, 512 bits, 256 bits, and 64 bits.
  • the sending end segments the data to be transmitted according to the information bit sequence and the preset mother code length of the data to be transmitted, and obtains the above-mentioned code blocks 301 to 309. Among them, as shown by K
  • the number of information bits included is 512 bits, 168 bits, 84 bits, and 20 bits.
  • the code length of the last code block 308 is 64 bits, but the number of information bits it includes is 13 (this value is greater than p, which has a value of 10).
  • the sending end can merge the segmentation results shown in Figure 5b(1) through S102.
  • the sending end detects the codes shown in Figure 5b(1) in order from small to large code lengths.
  • the number of code blocks with a length of 64 bits is 3, and the code block 306 and the code block 307 can be combined into a code block 309 with a code length of 128 bits as shown in Figure 5b(2).
  • the initial segmentation result shown in Figure 5b(1) does not include the code block 309 with a code length of 128 bits shown in Figure 5b(2).
  • the sending end can, for example, select from other code blocks (such as the last code block) except code block 306 and code block 307 shown in Figure 5b(1) Block 308) is used to obtain the corresponding target number of information bits.
  • the specific filling strategy is similar to the principle of the embodiment of FIG. 5a and will not be described again here.
  • the sending end detects that the number of code blocks with a code length of 256 bits shown in Figure 5b(2) is 3 in order from small to large code lengths, and can add code block 303 and code block 304, or , the code block 304 and the code block 306 are merged into a code block 310 with a code length of 512 bits as shown in Figure 5b(3) (the code block 310 here is composed of the code block 303 and the code block 304).
  • the number of information bits included in the combined code block 310 is the same as the number of information bits included in the code block 302 shown in Figure 5b(3), which is 168.
  • code lengths not included in the initial segmentation results are combined, such as the code length of the above-mentioned code block 309 (128 bits).
  • This implementation can achieve the addition of code lengths to the positive integer power of 2.
  • the total number of code blocks is 8, and the number of small code blocks is 7, of which the code length is 64 bits.
  • the number of small code blocks is 3, and the number of small code blocks with a code length of 256 bits is also 3; after the sending end merges the small code blocks, as shown in Figure 5b(3), in the updated segmentation result, the code
  • the total number of blocks is 6, and the number of small code blocks is 5, and the number of small code blocks of any code length is less than 3.
  • This "3-carry method" reduces the total number of segments and the number of small code blocks. quantity to optimize reception performance.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • the code lengths corresponding to the multiple first code blocks according to the ordering can be from The ordering is gradually and continuously increasing, so that the code length of the next level code block is the same as the code length of the upper level code block, or the code length of the next level code block is two times the code length of the upper level code block. times.
  • FIG. 5c(1) illustrates the initial segmentation result of this embodiment.
  • the sending end segments the data to be transmitted including 985 bits based on the minimum code length (for example, 64 bits) and the maximum code length (for example, 1024 bits), and obtains 9 code blocks by segmenting , the 9 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 201 with a code length of 64 bits, the code block 202 with a code length of 64 bits, and the code block with a code length of 64 bits. 203.
  • Code block 204 with a code length of 128 bits code block 205 with a code length of 128 bits, code block 206 with a code length of 256 bits, code block 207 with a code length of 256 bits, and code block 207 with a code length of 512 bits.
  • the number of information bits included are 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits.
  • the number of information bits included in the first code block 201 with a code length of 64 bits is 15 (this value is greater than p, which has a value of 10).
  • Kx can refer to the relevant introduction in Example 1, and will not be repeated here.
  • the transmitting end when it combines at least two code blocks with the same code length shown in Figure 5c(1), it can also detect each code in the above multiple first code blocks in sequence in order of code length from small to large. The number of long code blocks. When it is detected that the number of code blocks with the same code length is greater than or equal to 3, then at least two first code blocks with adjacent arrangement positions are merged.
  • the specific strategy is similar to the above example 1.
  • the principle of the specific merging process is the same as that in Figure 5a
  • the merging process is similar and also belongs to the "carry every 3 method". For details, please refer to the relevant introduction in Example 1 and will not go into details here.
  • the segmentation result shown in Figure 5c(2) includes
  • the code lengths sorted according to the information bits of the data to be transmitted are 64 bits, 128 bits, 256 bits, 512 bits, 512 bits, and 1024 bits.
  • the above 6 code blocks sorted according to the information bits of the data to be transmitted are The numbers of information bits Kx included are 12, 41, 84, 168, 168, and 512 in order.
  • the total number of code blocks is 9, and the number of small code blocks is 8, of which the code length is 64 bits.
  • the number of is 3; after the sending end merges the small code blocks, as shown in Figure 5c(2), in the updated segmentation result, the total number of code blocks is 6, and the number of small code blocks is 5, And the number of small code blocks of any code length is less than 3.
  • This "carry every 3 method" reduces the total number of segments and the number of small code blocks, thereby optimizing the reception performance.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • the code lengths corresponding to the plurality of first code blocks according to the ordering may be different.
  • the sorting order from small to large, or not follow the sorting order from large to small.
  • FIG. 5d(1) illustrates the initial segmentation result of this embodiment.
  • the sending end segments the data to be transmitted including 985 bits based on the minimum code length (for example, 64 bits) and the maximum code length (for example, 1024 bits), and obtains 8 code blocks from the segments.
  • the 8 code blocks are arranged in sequence according to the order of the information bits of the data to be transmitted, followed by the code block 401 with a code length of 1024 bits, the code block 402 with a code length of 256 bits, the code block 403 with a code length of 256 bits, and the code block 403 with a code length of 256 bits.
  • the code block 404 is 256 bits long
  • the code block 405 is 512 bits long
  • the code block 406 is 64 bits long
  • the code block 407 is 64 bits long
  • the code block 408 is 64 bits long.
  • the number of information bits included are 512 bits, 168 bits, 84 bits, and 20 bits respectively.
  • the code length of the last code block 308 is 64 bits, but the number of information bits it includes is 13 (this value is greater than p, which has a value of 10).
  • the sending end can merge the segmentation results shown in Figure 5d(1) through S102. For example, when the sending end merges code blocks with the same code length, the sending end does not need to follow the code length from small to large. Merge in order, and you can search for at least two code blocks with the same code length in order from large to small, or directly according to the order of the code blocks in the segmentation result (for example, the arrangement positions are adjacent, there is no restriction here) Code blocks are merged.
  • the sending end detects that the number of code blocks with a code length of 256 bits shown in Figure 5d(1) is 3, and code block 402 and code block 403 can be used, or , the code block 403 and the code block 404 are merged into a code block 409 with a code length of 512 bits as shown in Figure 5d(3) (the code block 409 here is composed of the code block 402 and the code block 403).
  • the number of information bits included in the combined code block 409 is the same as the number of information bits included in the code block 405 shown in Figure 5d(2), which is 168. Therefore, when merging the code blocks, there is no need to start from The number of information bits is supplemented at the last code block 408.
  • the sending end can detect that the number of code blocks with a code length of 64 bits is 3, and can merge code blocks 406 and 407 into one, as shown in Figure 5d(3)
  • the code block 410 with a code length of 128 bits is shown.
  • the initial segmentation result shown in Figure 5d(1) does not include the code block with a code length of 128 bits.
  • the above merging operation can be directly performed here (such as As shown in Figure 5d(3), the number of information bits included in the code block 410 is 40), or the above-mentioned merging operation can also be performed based on the at least number of information bits included in the code block with a set code length of 128 bits.
  • the gap can be filled from, for example, the last code block, such as code block 408 shown in Figure 5d(2).
  • the specific gap filling strategy is similar to the principle of Example 1, and will not be described again here.
  • the total number of code blocks is 8, and the number of small code blocks is 7, of which the code length is 64 bits.
  • the number is 3, and the number of small code blocks with a code length of 256 bits is also 3; after the sending end merges the small code blocks, as shown in Figure 5d(3), in the updated segmentation result, the code
  • the total number of blocks is 6, and the number of small code blocks is 5, and the number of small code blocks of any code length is less than 3.
  • This "3-carry method" reduces the total number of segments and the number of small code blocks. quantity to optimize reception performance.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • FIG. 5e(1) illustrates the initial segmentation results of this embodiment.
  • the sending end segments the data to be transmitted including 985 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 10 code blocks by segmenting , the 10 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 501 with a code length of 1024 bits, the code block 502 with a code length of 512 bits, the code block 503 with a code length of 256 bits, and the code block 503 with a code length of 256 bits.
  • the code block 504 is 256 bits long
  • the code block 505 is 128 bits long
  • the code blocks 506 to 509 are 64 bits long
  • the code block 510 is 64 bits long.
  • the number of information bits included in each code block is 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits.
  • the code length of the last code block 510 is 64 bits, but the number of information bits it includes is 16 (this value is greater than p, which has a value of 10).
  • the sending end can merge the code blocks with code lengths greater than or equal to 3 into adjacent code blocks in order from small to large code lengths for the segmentation results shown in Figure 5e(1).
  • the merging process is shown in Figure 5e(2) to Figure 5e(4).
  • the sending end can combine the code block 506 and the code block 507 shown in Figure 5e(1) into the code block with a code length of 128 bits shown in Figure 5e(2). 511, and merge the code block 508 and the code block 509 shown in Figure 5e(1) into the code block 512 with a code length of 128 bits shown in Figure 5e(2), and at the same time reduce the number of information bits in the code block 510 by 2 , so that the number of information bits included in the code block 510 is updated from 16 as shown in Figure 5e(1) to 14 as shown in Figure 5e(2).
  • the sending end can combine the code block 503 and the code block 504 shown in Figure 5e(3) into the code block with a code length of 512 bits shown in Figure 5e(4). 514.
  • the initial segmentation result shown in Figure 5e(1) is optimized to the segmentation result shown in Figure 5e(4).
  • the sending end can combine the segmentation results shown in Figure 5e(1) into more code blocks with code lengths greater than or equal to 3 in order from small to large.
  • the merging process is shown in Figure 5e(5) to Figure 5e(6).
  • the sending end can combine the code blocks 506 to 509 shown in Figure 5e(1) into the code block shown in Figure 5e(5) with a code length of 256 bits. 515, and the number of information bits included in code block 515 is the same as the number of information bits included in code block 503 and code block 504 respectively, which are both 84.
  • the transmitting end can also reduce the number of information bits in the code block 510 by 4, so that the number of information bits included in the code block 510 is updated from 16 as shown in Figure 5e(1) to 12 as shown in Figure 5e(2) to satisfy
  • the code length corresponding to the combined code block 515 is the required number of information bits included in 256 bits, which is 84 here.
  • the sending end can combine the code block 503 and the code block 504 shown in Figure 5e(5) into a code block with a code length of 512 bits shown in Figure 5e(6). 514.
  • the initial segmentation result shown in Figure 5e(1) is optimized to the segmentation result shown in Figure 5e(6).
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • FIG. 5f(1) illustrates the initial segmentation result of this embodiment.
  • the sending end segments the data to be transmitted including 945 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 8 code blocks by segmenting , the 8 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 601 with a code length of 1024 bits, the code block 602 with a code length of 512 bits, the code block 603 with a code length of 256 bits, and the code block 603 with a code length of 256 bits.
  • the code blocks 604 to 607 are 128 bits long, and the code block 608 is 64 bits long.
  • the sending end can combine the segmentation results shown in Figure 5f(1) and the code blocks with a code length greater than or equal to 3 into code blocks with a larger code length.
  • the sending end can change the number of information bits (here 168) included in the code block 602 with a code length of 512 bits as shown in Figure 5f(1) to Figure 5f(1).
  • the code blocks 604 to 607 shown in 1) are combined into the code block 609 with a code length of 512 bits shown in Figure 5f(2), and the number of information bits in the code block 608 is reduced by 4, so that the code block 608 includes
  • the number of information bits is updated from 17 as shown in Figure 5f(1) to 13 as shown in Figure 5f(2), and the number of information bits included in the combined code block 609 is the same as the number of information bits included in the code block 602 .
  • the specific merging strategy of information bits it is similar to the related embodiment of Figure 5a, and the merging strategy of information bits will not be described in detail here.
  • multiple first code blocks with the same code length can be merged into a code block with a longer code length, and the code length corresponding to the merged first code block is equal to the code length of the merged code block.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • Figure 5g(1) illustrates the initial segmentation results of this embodiment.
  • the sending end segments the data to be transmitted including 944 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 8 code blocks by segmenting , the 8 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 701 with a code length of 1024 bits, the code block 702 with a code length of 512 bits, the code block 703 with a code length of 256 bits, and the code block 703 with a code length of 256 bits.
  • Block 704 code block 705 with a code length of 128 bits, code blocks 706 to 708 with a code length of 64 bits.
  • the number of information bits included in each code block is 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits.
  • the last code block, here code block 708, includes 15 information bits (this value is greater than p, which has a value of 10).
  • the sending end can determine the code blocks with a code length greater than or equal to 2 in order of code length from small to large based on the segmentation results shown in Figure 5g(1), and add the code blocks that are at least 2 Two code blocks are merged into a code block with a larger code length.
  • the sending end can change the number of information bits (here 41) included in the code block 705 with a code length of 128 bits as shown in Figure 5g(1) to Figure 5g( The code blocks 706 and 707 shown in 1) are merged into the code block 709 with a code length of 512 bits shown in Figure 5g(2), and the number of information bits in the code block 708 is reduced by 1, so that the combined code block
  • the number of information bits included in 709 is the same as the number of information bits included in code block 705.
  • the specific merging strategy of the information bits is similar to the relevant embodiment of Figure 5a, and the merging strategy of the information bits will not be described again here.
  • the sending end can detect that the number of code blocks with a code length of 128 bits is 2, and the sending end can merge the code block 705 and the code block 709 into one as shown in Figure 5g( 3)
  • the code block 710 with a code length of 256 bits is shown, and the number of information bits of the code block 708 is reduced by 2, so that the number of information bits included in the combined code block 710 is the same as that of the code block 704 with a code length of 256 bits.
  • the number of information bits included is the same.
  • the sending end can detect that the number of code blocks with a code length of 256 bits is 3, because the combined code length of the three code blocks with a code length of 256 bits is 256 *3, so that the code length of the combined code block of three code blocks with a code length of 256 bits is not an integer power of 2, then the sender can combine two code blocks with a code length of 256 bits (here is Figure 5g (4)), so that the code length of the combined code block 711 shown in (4) in Figure 5g is 512 (which is a positive integer power of 2). And the number of information bits included in the combined code block 711 is the same as the number of information bits included in the code block 702 with a code length of 5126 bits, both of which are 168 bits here.
  • the number of code blocks that the transmitting end can code with a code length of 512 bits is 2, here are code blocks 702 and code blocks 711.
  • the total number of code blocks is 8, and the number of small code blocks is 7, among which the small code blocks with a code length of 64 bits
  • the number is 3; after the sending end merges the small code blocks, as shown in Figure 5g(4), in the updated segmentation result, the total number of code blocks is 5, and the number of small code blocks is 4, Moreover, the number of small code blocks of any code length is less than 3, which reduces the number of small code blocks and thus optimizes the reception performance.
  • the sending end when executing S101, can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
  • Figure 5h(1) is an exemplary illustration of the initial segmentation result of this embodiment, or it may be an intermediate result generated in the process of merging the code blocks in the segmentation result in S102 of the present application. result.
  • the sending end segments the data to be transmitted including 1032 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 6 code blocks by segmenting , the six code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by code block 801 with a code length of 1024 bits, code block 802 and code block 803 with a code length of 512 bits, and code block 803 with a code length of 256 bits.
  • Block 804 code block 805 with a code length of 128 bits, and code block 806 with a code length of 64 bits.
  • K last represents the information bits included in the last code block in the segmentation result (which can be the initial segmentation result, the segmentation result in the S102 optimization process, or the optimized segmentation result). number.
  • the sending end can determine the code blocks with a code length greater than or equal to 2 based on the segmentation results shown in Figure 5h(1) in order from small to large code lengths, and add the code blocks that are at least 2 Two code blocks are merged into a code block with a larger code length.
  • the sending end can combine the code block 802 and the code block 803 shown in Figure 5h(1) into the code block with a code length of 1024 bits shown in Figure 5h(2). 807.
  • the number of information bits included in the combined code block 807 is the same as the number of information bits included in the code block 801.
  • the specific combining strategy of the information bits it is similar to the relevant embodiment of Figure 5a, and the information bits are no longer combined here. The strategy will be discussed in detail.
  • multiple first code blocks with the same code length can be merged into code blocks with a longer code length, so as to reduce the number of small code blocks and improve the reception performance of the code blocks.
  • the sending end first needs to segment the information bits of the data to be transmitted according to a certain algorithm (not limited here), Then the segmentation result is modified twice to achieve the segmentation result with the minimum number of segments.
  • this application also provides a segmentation method that does not require secondary modification of the initial segmentation result, but directly segments the information bits of the data to be transmitted.
  • the number of segments can be reduced, or in other words, the number of code blocks corresponding to the segmentation results can be reduced; in addition, this segmentation method can also reduce the number of small code blocks.
  • this application does not require a segmentation method that requires secondary adjustment of the segmentation results.
  • the segmentation result of the data to be transmitted by this segmentation method is the same as the segmentation result of any one of the embodiments such as Figure 4 or Figure 5a to Figure 5h.
  • the system or the user can give a preset mother code length.
  • the preset mother code length may include a maximum code length (eg, a maximum mother code length) and a minimum code length (eg, a minimum mother code length).
  • the minimum code length is 2 a bits
  • the maximum code length is 2 b bits, where a and b are positive integers, and a ⁇ b.
  • the transmitting end when the transmitting end segments the data to be transmitted based on the above-mentioned preset mother code length, it can segment the data to obtain code blocks with at most (b-a+1) code lengths.
  • the preset mother code length may also include multiple code lengths whose value is a positive integer power of 2, without limiting whether different preset mother code lengths are continuous.
  • the discontinuous preset mother code lengths may include code lengths of 1024 bits, 512 bits, 128 bits, 64 bits and 32 bits.
  • the continuous preset mother code length may include code lengths of 1024 bits, 512 bits, 256 bits, 128 bits, 64 bits and 32 bits.
  • the code length of any third code block can be expressed as 2 x bits, where, a ⁇ x ⁇ b.
  • the system or the user can specify the number of information bits included in the code block whose code length is the above-mentioned preset mother code length.
  • the sending end can express the number of information bits (the information bits are information bits from the data to be transmitted) contained in the third code block with a code length of 2 x bits as K x , or
  • the above-mentioned preset mother code length and the value of K changes due to changes in data.
  • the sending end can obtain the number of information bits included in the data to be transmitted.
  • the sending end may obtain the remaining number of information bits to be encoded in the data to be transmitted (or, in other words, the remaining number of information bits to be segmented).
  • the transmitting end can express the remaining number of information bits to be encoded in the data to be transmitted as K m .
  • the initial value of K m is the number of information bits included in the data to be transmitted, and as the sending end updates the segmentation progress of the data to be transmitted, the value of K m can also be updated.
  • the sending end can also obtain the value of parameter p set by the system or the user.
  • the parameter p can be used to represent the number of information bits at least included in the last code block among multiple third code blocks corresponding to the segmentation result obtained after segmentation.
  • the information bits here refer to the information bits from the data to be transmitted, excluding the zero bits padded with zeros according to the preset mother code length.
  • the value of p can be set by the system or the user, and can be flexibly set according to needs, and is not limited in this application.
  • the system sets the plurality of third code blocks obtained by segmenting the data to be transmitted, and the last code block includes at least 10 bits of data to be transmitted, so the value of p here is 10.
  • multiple third code blocks with the same code length each contain the same information bits.
  • the transmitting end may be based on the above-mentioned preset mother code length, the number of information bits that need to be included in a code block with a code length of each preset mother code length (for example, the above-mentioned K x ), and the data to be transmitted.
  • the total number of information bits is optionally further based on the condition that the last code block needs to include at least p information bits to segment the data to be transmitted to obtain the segmentation result.
  • the segmentation result can be multiple data segments as shown in the embodiment of Figure 2, or multiple third code blocks after zero-padding multiple data segments according to the preset mother code length.
  • This application applies There is no restriction on this.
  • the sending end when the sending end segments the data to be transmitted, the sending end can follow the order from large to small of the preset mother code length, based on the information that needs to be included in the code block corresponding to the length of each mother code 2 x
  • the data segments corresponding to the code blocks with longer code lengths are obtained by priority segmentation, thereby reducing the number of small code blocks and thereby reducing the amount of data segmentation.
  • the code block with a longer code length has better reception performance, which can improve the reception performance of the coding result of the code block corresponding to the segmentation result.
  • segmenting the mother codes in descending order of length can also reduce the delay at the receiving end when receiving and decoding codes segmented and encoded in this application, and can effectively reduce the delay at the receiving end.
  • the preset mother code length includes 1024 bits, 512 bits, and 128 bits.
  • K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
  • K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
  • K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
  • the sending end may segment the data to be transmitted into code blocks with a code length of 1024 bits based on K 1024 and K m . Then, the sending end may segment the data to be transmitted into code blocks with a code length of 1024 bits based on the information allocated to the code blocks with a code length of 1024 bits.
  • the sending end can segment the data to be transmitted into code blocks with a code length of 512 bits based on K 512 and the latest updated K m , and then the sending end can based on K 512 and the latest updated K m
  • the number of information bits allocated to the code block with a code length of 512 bits is used to update K m ; finally, the sender can segment the transmitted data into segments with code lengths based on K 128 and the latest updated K m
  • the 128-bit code block has now completed the segmentation of the data to be transmitted.
  • the sending end can be based on the preset mother code length, the number of information bits that need to be included in the code blocks corresponding to each code length (here, the preset mother code length), and the remaining information to be segmented in the data to be transmitted.
  • the number of bits (optionally, the data to be transmitted can be directly segmented based on the value of p mentioned above), and the segmentation result can be obtained.
  • the segmentation result corresponds to the number of code blocks with a code length of 2 x bits. It can be expressed as N x , a ⁇ x ⁇ b.
  • the sending end can determine the values of the following parameters, 2 a , 2 b , K x , a ⁇ x ⁇ b, a, b are both positive integers, and the value of p (such as 10 in the above example), and the initial value of K m .
  • the values of the following parameters 2 a , 2 b , K x , a ⁇ x ⁇ b, a, b are both positive integers, and the value of p (such as 10 in the above example), and the initial value of K m .
  • the sending end can use the following code to directly segment the data to be transmitted to obtain the segmentation result, thereby determining N x , a ⁇ x ⁇ b, where the symbols in the following code Indicates rounding down *, symbol Indicates rounding * up:
  • the sender can use the above for loop to segment the transmitted data into code blocks with a code length of 2 b to a code length of 2 a+2 in order from large to small code lengths;
  • the sender can segment the data to be transmitted to obtain code blocks with a code length of 2 b to a code length of 2 a+2 , and then segment the remaining information bits to be encoded into a code block with a code length of 2 a+ 1 code block, and finally, the sender segments the remaining information bits to be encoded to be transmitted into code blocks with a code length of 2 a , and this ends the segmentation of the data to be transmitted.
  • K m K m -K x *N x , formula 7;
  • the sender can use Formula 6 to subtract the number of code blocks whose code length is less than 2 x (here a+2 ⁇ x ⁇ b, and x is a positive integer) from the remaining number of information bits to be encoded in the data to be transmitted.
  • the number of information bits that need to be included is obtained to obtain the number of information bits that can be used for segmentation (K m -K x-1 -...-K a+1 -p);
  • the sending end then calculates based on the number of information bits K x that a code block with a code length of 2
  • the number of code blocks N x with code length 2 x where, in equation 6, the transmitter with 0, finding the maximum value as N x , is to solve is a negative number.
  • the sender can segment the data to be transmitted in sequence to obtain code blocks with a code length of 2 b to a code length of 2 a+2 , and determine the number N x of code blocks corresponding to each code length, where a+2 ⁇ x ⁇ b, and x is a positive integer.
  • the sender can use Formula 8 to segment the remaining information bits to be encoded in the data to be transmitted into code blocks with a code length of 2 a+1 , thereby calculating the code length to be 2 a+ The number of code blocks of 1 Na+1 .
  • the sender since the code length is 2 a + 1 , which is the penultimate code length, the sender requires the last code block obtained after segmentation (here is the last code block with the minimum code length 2 a ) includes at least p information bits, then the sender can subtract the number p of information bits required to be included in the last code block with a code length of 2 a from the remaining number of information bits to be encoded K m of the data to be transmitted, Get the number of information bits available for segmentation (K m -p);
  • the sending end then calculates the code block with a code length of 2 a+1 based on the number of information bits Ka +2 that the code block with a code length of 2 a+1 needs to include and the above number of information bits (K m -p).
  • the quantity Na +1 is the quantity of information bits (K m -p).
  • the transmitter determines the number Na +1 of code blocks with a code length of 2 a+1 through Formula 8, it can update the remaining number of information bits K m to be encoded in the data to be transmitted according to Formula 9 .
  • the sender can use Formula 10 to segment the remaining information bits K m to be encoded in the data to be transmitted into code blocks with a minimum code length of 2 a .
  • Formula 10 is rounded up, so that the last code block with a code length of 2 a can include at least p information bits, and K a ⁇ p, the sender can calculate the number N of code blocks with a code length of 2 a through Formula 10 a .
  • the sending end segments the data to be transmitted according to the above code, and can segment it based on K x , that is, the number of information bits actually included in the code block of each code length, so that the actual code rate of each code block can be Segmentation is performed on the basis of the target code rate, and the segmentation method in the prior art is segmented according to the target code rate and is not combined with the actual code blocks of each code block.
  • K x that is, the number of information bits actually included in the code block of each code length
  • the segmentation method in the prior art is segmented according to the target code rate and is not combined with the actual code blocks of each code block.
  • the plurality of third code blocks corresponding to the segmentation results obtained by segmentation in this application can have the minimum number of segments, and can also reduce the number of small code blocks.
  • the plurality of third code blocks can comply with the low-latency segmentation principle mentioned above, thereby ensuring a minimum number of segments while also enabling the code length of the code block corresponding to the segmentation result to satisfy the maximum requirement.
  • the principle of low-latency segmentation is gradually and continuously reduced, so that when the receiving end processes the Polar code encoding result of the segmented result, the decoding delay and transmission delay can be minimized and the impact on the receiving end system can be minimized.
  • the impact of overall delay can minimize the system delay at the receiving end.
  • This Example 9 may be an implementation example of the code in the above embodiment, and the method of this example may be called the "direct allocation method".
  • the sending end can obtain the number of information bits included in the data to be transmitted, and use the number of information bits included in the data to be transmitted as the remaining number of information bits to be encoded (or to be segmented) K m .
  • the sending end can also obtain the preset mother code length.
  • the preset mother code length here includes 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
  • the sending end can obtain the number of information bits required to be included in the code block corresponding to each preset mother code length.
  • the sending end can obtain K 1024 , K 512 , K 256 , K 128 , and K 64 .
  • K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
  • K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
  • K 256 represents the number of information bits that a code block with a code length of 256 bits needs to include.
  • K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
  • K 64 represents the number of information bits that a code block with a code length of 64 bits needs to include.
  • the sending end may obtain the number p of information bits that need to be included in the last code block in the segmented segmentation result.
  • the sending end can first segment the data to be transmitted based on Formula 11 to obtain the number N 1024 of code blocks corresponding to a code length of 1024 bits in the segmentation result. Then, the sending end uses Formula 12 to segment the data to be transmitted. The number of information bits K m to be segmented is updated.
  • K m K m -K 1024 *N 1024 , formula 12;
  • the sending end can then continue to segment the data to be transmitted based on Equation 13 to obtain the number N 512 of code blocks corresponding to a code length of 512 bits in the segmentation result. Then, the sending end uses Equation 14 to obtain the number of code blocks to be transmitted. The number K m of information bits to be segmented in the data is updated.
  • K m K m -K 512 *N 512 , formula 14;
  • the sending end can then continue to segment the data to be transmitted based on Formula 15 to obtain the number N 256 of code blocks corresponding to a code length of 256 bits in the segmentation result. Then, the sending end uses Formula 16 to The number K m of information bits to be segmented in the transmitted data is updated.
  • K m K m -K 256 *N 256 , formula 16;
  • the sending end can then continue to segment the data to be transmitted based on Formula 17 to obtain the number N 128 of code blocks corresponding to a code length of 128 bits in the segmentation result. Then, the sending end uses Formula 18 to The number K m of information bits to be segmented in the transmitted data is updated.
  • K m K m -K 128 *N 128 , formula 18;
  • the sending end can continue to segment the data to be transmitted based on Formula 19 to obtain the number N 64 of code blocks corresponding to a code length of 64 bits in the segmentation result.
  • the sender when calculating the number of code blocks with corresponding code lengths, the sender can subtract K m by the code length required for the remaining code blocks to be segmented. In this way, it can be ensured that in addition to the code block with the maximum code length, the remaining code blocks with the code length of the preset mother code length include at least one in the segmentation result.
  • the sending end can segment the data to be transmitted according to the number of information bits required to be included in the code blocks of each code length, and obtain the code blocks whose code length is the preset mother code length. Quantity to achieve segmentation of data to be transmitted. In this way, when the sending end determines the number of code blocks of each code length, it can be based on the actual code rate of each code block instead of the target code rate, thereby reducing the number of data segments corresponding to the segmentation results, or reducing the number of segments. The number of code blocks corresponding to the result.
  • the code length of each code block corresponding to the segmentation result is continuous and gradually decreases from large to small, so that the segmentation result complies with the above-mentioned low-latency segmentation principle, so that the code length at the receiving end is
  • the impact of decoding delay and transmission delay on the overall system delay of the receiving end can be minimized, and the system delay of the receiving end can be reduced to the greatest extent.
  • the sending end if the preset mother code length only includes the above 1024 bits, 256 bits and 64 bits, and the sending end sets the last code block in the segmentation result to include at least p information bits, and the sending end can After obtaining K 1024 , K 256 , K 64 , and K m , the sending end first uses the following formula 11' to determine N 1024 , and then updates K m through the following formula 12; then, the sending end uses the following formula 15' Determine N 256 , and then update K m through Equation 16; finally, the sending end determines N 64 through Equation 19 above.
  • the sender segments the data to be transmitted, and the code blocks corresponding to the segmentation results are still arranged in order from large to small code lengths, which not only reduces the number of segments, but also effectively reduces the packet loss rate and improves
  • the sending end can obtain K 1024 , K 256 , K 64 , and K m , then the sending end first uses the following formula 11" to determine N 1024 , and then updates K m through the following formula 12; then, the sending end uses the following formula Formula 15" is used to determine N 256 , and then K m is updated through Formula 16; finally, the sending end determines N 64 through the above-mentioned Formula 19.
  • the code lengths of the code blocks corresponding to the segmentation results obtained by the sending end after segmenting the data to be transmitted may not be arranged in order from large to small.
  • one code length is used Sorting is an example. The implementation principles of other code length sorting methods are similar and will not be described again here.
  • the preset mother code lengths include 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
  • the ordering of the code lengths corresponding to the segmentation results can be 512 bits, 256 bits, 1024 bits, 64 bits, and 128 bits. .
  • the sending end can obtain K 1024 , K 512 , K 256 , K 128 , K 64 , K m and the number of information bits required to be included in the last code block (here, a code block with a code length of 128 bits). p.
  • the sending end can sort according to the expected code length corresponding to the segmentation result: 512 bits, 256 bits, 1024 bits, 64 bits, 128 bits.
  • the sending end can continue to segment the data to be transmitted based on Formula 20. segment to obtain the number N 512 of code blocks corresponding to a code length of 512 bits in the segmentation result.
  • the sender updates the number of information bits K m to be segmented in the data to be transmitted through the above formula 14.
  • the sending end can then continue to segment the data to be transmitted based on Formula 21 to obtain the number N 256 of code blocks corresponding to a code length of 256 bits in the segmentation result. Then, the sending end uses the above Formula 16, The number K m of information bits to be segmented in the data to be transmitted is updated.
  • the data to be transmitted is then segmented based on Formula 22 to obtain the number N 1024 of code blocks corresponding to a code length of 1024 bits in the segmentation result. Then, the sending end uses the above Formula 12 to segment the data to be transmitted. The number of information bits K m to be segmented is updated.
  • the sending end can then continue to segment the data to be transmitted based on Formula 23 to obtain the number N 64 of code blocks corresponding to a code length of 64 bits in the segmentation result. Then, the sending end uses Formula 24 to The number K m of information bits to be segmented in the transmitted data is updated.
  • K m K m -K 64 *N 64 , formula 24;
  • the sending end can continue to segment the data to be transmitted based on Formula 25 to obtain the number N 128 of code blocks corresponding to a code length of 128 bits in the segmentation result.
  • the direct allocation method of this embodiment uses the actual number of information bits of the code block of each code length for segmentation, compared with the existing technology , it is still possible to reduce the total number of segments and the number of small code blocks of the same code length.
  • the data to be transmitted includes 985 bits, so the initial value of Km is 985.
  • K x is used to represent the number of information bits that a code block with a code length of 2 x corresponding to the segmentation result obtained after segmenting the data to be transmitted needs to include.
  • the first 512 bits are divided into a data segment as shown in Figure 6(2).
  • the transmitting end can pad the data segment including 512 information bits with zeros according to the code length of 1024 bits to obtain a code block 901 with a code length of 1024 bits.
  • the sending end does not need to zero-pad the data segment including the 512 information to obtain the code block 901 with a code length of 1024 bits.
  • the sending end can add the data segment including the 512 information. , marked as information bits corresponding to code block 901 (here, a code block with a code length of 1024 bits, and the first code block among multiple code blocks obtained by segmentation).
  • the value of K m can be updated according to Formula 12.
  • the updated value of K m is 473, such that The remaining information bits to be segmented are 473 bits.
  • the two data segments can respectively correspond to the code length of 512 bits.
  • the sending end can segment the data to be transmitted and obtain the code block 902 and the code block 903, and then update the value of K m according to Formula 14.
  • the updated value of K m is 137, so that the remaining information bits to be segmented are 137 bits.
  • the 137 information bits are continued to be segmented according to the arrangement order of the information bits to obtain a data segment including 84 information bits as shown in Figure 6(4).
  • This data segment corresponds to the code block 904 with a code length of 256 bits.
  • the sending end can segment the data to be transmitted and obtain the code block 904, and then update the value of K m according to Formula 16.
  • the updated value of K m is 53, such that The remaining information bits to be segmented are 53 bits.
  • the 53 information bits are continued to be segmented according to the arrangement order of the information bits to obtain a data segment including 41 information bits as shown in Figure 6(5).
  • This data segment corresponds to the code block 905 with a code length of 128 bits.
  • the sending end can segment the data to be transmitted and obtain the code block 905, and then update the value of K m according to Formula 18.
  • the updated value of K m is 12, so that The remaining information bits to be segmented are 12 bits.
  • the sending end calculates N 64 according to Formula 19,
  • the sending end can segment the data to be transmitted to obtain 6 code blocks.
  • the 6 code blocks are arranged in sequence according to the information bit order of the data to be transmitted, and are code blocks 901 with a code length of 1024 bits, followed by
  • the code blocks 902 and 903 have a code length of 512 bits
  • the code block 904 has a code length of 256 bits
  • the code block 905 has a code length of 128 bits
  • the code block 906 has a code length of 64 bits.
  • this application performs a secondary adjustment on the initial segmentation result.
  • the segmentation result of the segmentation method is the same as the segmentation result obtained by directly segmenting the data to be transmitted in this application.
  • the direct segmentation method of this application does not require secondary modification of the segmentation results, and can directly obtain the segmentation results with the minimum total number of segments. For example, compared with the "3-carry method" shown in Figure 5a and the "direct segmentation method” shown in Figure 6, the segmentation result shown in Figure 5a(4) is different from the segmentation result shown in Figure 6(6) The segmentation results are the same.
  • the segmentation results of the segmentation method in the prior art are compared with the segmentation results of the segmentation method provided by this application. .
  • FIG. 7a is a schematic table diagram of the segmentation results of the segmentation method in the prior art
  • FIG. 7b is a schematic table diagram of the segmentation results of the segmentation method provided by this application.
  • N1024 has the same meaning as N 1024 above
  • N512 has the same meaning as N 512
  • N256 has the same meaning as N 256
  • N128 has the same meaning as N 128
  • N64 has the same meaning as N 64 .
  • N 1024 , N 512 , N 256 , N 128 , and N 64 are respectively used to represent the number of segments of the corresponding code length (here, the code length after encoding, that is, the mother code length), that is, code blocks of different code lengths quantity.
  • the segmentation method of the present application can reduce the number of data to be transmitted (here including the total information bits K and 24) compared with the segmentation method in the prior art.
  • the total number of segments of the segmentation result is the check bit of the bit) to reduce the number of segments, and it can also avoid segmentation to obtain 3 code blocks of the same code length to reduce the number of small code blocks.
  • the segmentation method of this application can reduce the number of small code blocks, reduce the total number of segments, and avoid three identical code lengths. small chunks of code.
  • the segmentation method of this application can reduce the number of small code blocks, reduce the total number of segments, and avoid the occurrence of three identical codes. Long small blocks of code.
  • the segmentation method of this application can reduce the number of small code blocks and the total number of segments, and avoid the occurrence of three small code blocks with the same code length. code block.
  • the segmentation method of this application can reduce the number of small code blocks and the total number of segments, avoiding the occurrence of three identical Small chunks of code length.
  • this application can obtain a smaller number of segments under the condition of some information bit length K, and avoid the appearance of three identical code blocks in the segmentation results. Small chunks of code length.
  • the above-mentioned segmentation method of adjusting the initial segmentation result of this application has the same segmentation results as the segmentation method of directly performing segmentation. Compared with the segmentation method in the prior art, both can be This achieves the effect of reducing the total number of segments and the number of small code blocks.
  • the sending end can calculate the total score corresponding to the segmentation results of the segmentation method in the prior art.
  • the number of segments is compared with the total number of segments corresponding to the segmentation results of the segmentation method of this application.
  • Figure 8 illustrates the conditions under different code rates (here including 5/8 code rate, 6/8 code rate, 7/8 code rate) and under different information bit lengths K.
  • code rates here including 5/8 code rate, 6/8 code rate, 7/8 code rate
  • K information bit lengths
  • the horizontal axis is the information bit length K
  • the vertical axis is the reduced number of segments.
  • the vertical axis here represents the total number of segments corresponding to the segmentation method of this application. Compared with the segmentation method in the prior art, The corresponding reduction in the total number of segments.
  • the data to be transmitted can be the original total information bits K, or data composed of the total information bits K and the CRC check bits. There is no limitation here.
  • the total number of segments corresponding to the segmentation results of the segmentation method of the present application is less than or equal to the total number of segments corresponding to the segmentation results of the segmentation method in the prior art, and , compared with the total number of segments corresponding to the segmentation method in the prior art, the total number of segments corresponding to the segmentation method of this application can be reduced by up to 4 segments, that is, up to 4 code blocks can be reduced.
  • the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2001 compared to the segmentation method in the prior art. , here is 1, that is, one data segment (or one code block) is reduced.
  • the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2002 compared to the segmentation method in the prior art. , here is 2, that is, 2 data segments (or 2 code blocks) are reduced.
  • the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2003 compared to the segmentation method in the prior art. , here is 4, that is, 4 data segments (or 4 code blocks) are reduced.
  • the segmentation method of this application can reduce the packet loss rate and improve the reception sensitivity by reducing the number of segments.
  • the segmentation method of the present application can reduce the total number of segments compared to the segmentation methods in the prior art, thereby reducing the number of segments corresponding to the segmentation results. Then by reducing the total number of segments and reducing the number of small code blocks of the same code length to less than 3, the packet loss rate can be reduced and the reception sensitivity of the encoding results of the segmented code blocks can be improved to improve the code block The receiving performance of performance.
  • FIG. 10 is a schematic structural diagram of a data processing device provided by an embodiment of the present application.
  • the data processing device 500 may include: a processor 501, a transceiver 505, and optionally a memory 502.
  • the transceiver 505 may be called a transceiver unit, a transceiver, a transceiver circuit, etc., and is used to implement transceiver functions.
  • the transceiver 505 may include a receiver and a transmitter.
  • the receiver may be called a receiver or a receiving circuit, etc., used to implement the receiving function;
  • the transmitter may be called a transmitter, a transmitting circuit, etc., used to implement the transmitting function.
  • Computer program or software code or instructions 504 may be stored in the memory 502, which may also be referred to as firmware.
  • the processor 501 can implement the data processing method provided by each embodiment of the present application by running the computer program or software code or instructions 503 therein, or by calling the computer program or software code or instructions 504 stored in the memory 502 .
  • the processor 501 may be a central processing unit (CPU), and the memory 502 may be a read-only memory (ROM) or a random access memory (RAM).
  • the processor 501 and transceiver 505 described in this application can be implemented in integrated circuits (ICs), analog ICs, radio frequency integrated circuits RFICs, mixed signal ICs, application specific integrated circuits (ASICs), printed circuits on printed circuit board (PCB), electronic equipment, etc.
  • ICs integrated circuits
  • analog ICs analog ICs
  • radio frequency integrated circuits RFICs radio frequency integrated circuits
  • mixed signal ICs mixed signal ICs
  • ASICs application specific integrated circuits
  • PCB printed circuits on printed circuit board
  • electronic equipment etc.
  • the above-mentioned data processing device 500 may also include an antenna 506.
  • Each module included in the data processing device 500 is only an example and is not limited by this application.
  • the structure of the data processing device may not be limited by FIG. 10 .
  • the data processing apparatus may be a stand-alone device or may be part of a larger device.
  • the implementation form of the data processing device may be:
  • An independent integrated circuit IC, or chip, or chip system or subsystem (2) A collection of one or more ICs.
  • the IC collection may also include storage for storing data and instructions. Components; (3) Modules that can be embedded in other equipment; (4) Vehicle-mounted equipment, etc.; (5) Others, etc.
  • the data processing device is implemented in the form of a chip or a chip system
  • the chip shown in Figure 11 includes a processor 601 and an interface 602.
  • the number of processors 601 may be one or more, and the number of interfaces 602 may be multiple.
  • the chip or chip system may include memory 603 .
  • embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program includes at least one section of code.
  • the at least one section of code can be executed by a computer to control the computer. Used to implement the above data processing method embodiments.
  • embodiments of the present application also provide a computer program, which, when executed by a terminal device, is used to implement the above data processing method embodiments.
  • the program may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory that is not packaged with the processor.
  • embodiments of the present application also provide a chip including a processor.
  • the processor can implement the above data processing method embodiments.
  • the steps of the methods or algorithms described in connection with the disclosure of the embodiments of this application can be implemented in hardware or by a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules.
  • Software modules can be stored in random access memory (Random Access Memory, RAM), flash memory, read only memory (Read Only Memory, ROM), erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), register, hard disk, removable hard disk, compact disc (CD-ROM) or any other form of storage media well known in the art.
  • An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage media may be located in an ASIC.
  • Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The embodiments of the present application relates to the technical field of operating systems. Provided are a data processing method and apparatus. By means of the method, data to be coded can be segmented according to the actual code rates of code blocks, such that the number of segments is reduced, and reception performance for the code blocks can be improved.

Description

数据处理方法及装置Data processing methods and devices
本申请要求于2022年06月14日提交中国国家知识产权局、申请号为202210669345.0、申请名称为“数据处理方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on June 14, 2022, with application number 202210669345.0 and the application title "Data Processing Method", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种数据处理方法及装置。The embodiments of the present application relate to the field of communication technology, and in particular, to a data processing method and device.
背景技术Background technique
信道编码是通信系统中提升接收灵敏度和抗干扰性能的重要技术之一。极化码(Polar Code)是被理论证明可以达到香农极限的一种编码方式,使得极化码(也称Polar码)在通信系统中得到广泛的应用。例如,在5G标准中,将Polar码作为控制信道的编码方式;在另一些通信标准中,将Polar码同时作为控制信息(Header)和数据信息(Payload)的编码方式。Channel coding is one of the important technologies in communication systems to improve receiving sensitivity and anti-interference performance. Polar code is a coding method that has been theoretically proven to reach the Shannon limit, making polar code (also called Polar code) widely used in communication systems. For example, in the 5G standard, Polar code is used as the encoding method for the control channel; in other communication standards, Polar code is used as the encoding method for both control information (Header) and data information (Payload).
为了兼顾性能和资源开销,对于任意长度的待传输数据(例如上述待编码信息比特),发送端可对该待传输数据进行分段编码。In order to take into account both performance and resource overhead, for any length of data to be transmitted (such as the above information bits to be encoded), the sending end can segmentally encode the data to be transmitted.
目前的分段编码方案分段数量较多,影响编码结果的接收性能。The current segmented coding scheme has a large number of segments, which affects the reception performance of the coding results.
发明内容Contents of the invention
为了解决上述技术问题,本申请提供一种数据处理方法及装置。在该方法中对数据进行分段时,可将部分码长的分段段数控制在2个或2个以下,以减少分段数量,可提升码块的接收性能。In order to solve the above technical problems, this application provides a data processing method and device. When segmenting data in this method, the number of segmented segments of partial code lengths can be controlled to 2 or less to reduce the number of segments and improve the reception performance of the code block.
在一种可能的实施方式中,本申请提供一种数据处理方法。该方法包括:获取第一数据;对所述第一数据进行分段处理,获取目标分段结果,其中,所述目标分段结果对应n个码长,所述n个码长中除最大码长和最小码长之外的每个码长对应的分段段数小于或等于2,其中,n为整数,n≥2。In a possible implementation, this application provides a data processing method. The method includes: obtaining first data; performing segmentation processing on the first data to obtain a target segmentation result, wherein the target segmentation result corresponds to n code lengths, and the n code lengths are divided into the largest code lengths. The number of segments corresponding to each code length other than the long code length and the minimum code length is less than or equal to 2, where n is an integer and n≥2.
示例性的,该方法可应用于通信设备,示例性的,以通信设备为发送端为例进行说明。Exemplarily, the method can be applied to a communication device. For example, the communication device is used as the sending end for illustration.
示例性的,第一数据可为待编码数据,发送端在对第一数据进行极化码编码时,可对待编码数据进行分段。For example, the first data may be data to be encoded, and when the sending end performs polar code encoding on the first data, the data to be encoded may be segmented.
示例性的,在发送端对第一数据进行分段时,系统或用户可配置n个码长。For example, when the sending end segments the first data, the system or the user can configure n code lengths.
示例性的,系统可配置最大码长为2 b比特和最小码长为2 a比特,其中,a、b为正整数,且a<b。示例性的,n的最大值为(b-a+1)。 For example, the system can be configured with a maximum code length of 2 b bits and a minimum code length of 2 a bits, where a and b are positive integers, and a<b. For example, the maximum value of n is (b-a+1).
示例性的,目标分段结果可以包括对第一数据划分得到的多个数据段,或者可以包括对每个该数据段按照相应码长补零后的多个码块,本申请对此不做限制。示例性的,以目标分段结果包括的分段为码块为例进行说明。For example, the target segmentation result may include multiple data segments obtained by dividing the first data, or may include multiple code blocks after zero-padding each data segment according to the corresponding code length. This application does not do this. limit. For example, the segmentation included in the target segmentation result is a code block.
示例性的,本申请对于n个码长中最大码长对应的分段段数的数量不做限制。For example, this application does not limit the number of segments corresponding to the largest code length among n code lengths.
本申请实施例中,发送端在对数据进行分段时,可对n个码长中除最大码长和最小码长之外的码长对应的分段数量进行控制,以使分段结果中对应除最大码长和最小码长之外的每个码长的分段数量在2个或2个以下,从而可降低数据的总分段数,以降低接收端对分段结果的Polar编码结果的解码出错率,优化数据接收性能。In the embodiment of the present application, when segmenting data, the sending end can control the number of segments corresponding to code lengths other than the maximum code length and the minimum code length among the n code lengths, so that the segmentation results are The number of segments corresponding to each code length except the maximum code length and the minimum code length is 2 or less, thereby reducing the total number of data segments and reducing the Polar encoding result of the segmentation results at the receiving end. decoding error rate and optimize data reception performance.
在一种可能的实施方式中,所述对所述第一数据进行分段处理,获取目标分段结果,包括:按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果。In a possible implementation, performing segmentation processing on the first data to obtain the target segmentation result includes: in descending order of the n code lengths, based on the first data The remaining number of information bits to be segmented in the first data is segmented to obtain the target segmentation result.
在本申请实施例中,发送端可结合第一数据中剩余的待分段信息比特数,按照n个码长从大到小的顺序,来对第一数据进行分段;在按照码长顺序分段过程中,可每基于一个码长对第一数据进行分段后,就对该第一数据中剩余的待分段信息比特数进行更新,从而在对每个码长的数据进行分段时,均按照最新的剩余待分段信息比特数来执行分段过程,以优先对第一数据进行较大码长的分段,以最大化的减少n个码长中较小码长对应的分段段数。这样,可在减少分段段数(也称分段数量)的同时,降低接收端对本申请分段结果的编码结果的接收时延和译码时延,可有效降低接收端的数据接收时延。In this embodiment of the present application, the sending end can combine the remaining number of information bits to be segmented in the first data to segment the first data in order of n code lengths from large to small; During the segmentation process, each time the first data is segmented based on a code length, the number of remaining information bits to be segmented in the first data can be updated, so that the data of each code length is segmented. When, the segmentation process is performed according to the latest remaining number of information bits to be segmented, so as to give priority to segmenting the first data with a larger code length, so as to maximize the reduction of the number of n code lengths corresponding to the smaller code length. Number of segments. In this way, while reducing the number of segments (also called the number of segments), the reception delay and decoding delay of the encoding result of the segmentation result of the present application can be reduced at the receiving end, and the data reception delay of the receiving end can be effectively reduced.
在一种可能的实施方式中,所述按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果,包括:按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和所述第一数据中剩余的待分段信息比特数K m,确定对应所述第i个码长的最多分段段数j;按照所述对应所述第i个码长的最多分段段数j,对所述第一数据进行分段处理,获取目标分段结果,其中,所述第i个码长对应的分段段数为j;其中,1≤i≤n,i,j均为正整数。 In a possible implementation, the first data is segmented based on the remaining number of information bits to be segmented in the first data in descending order of the n code lengths. Processing to obtain the target segmentation result, including: in descending order of the n code lengths, the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths , and the remaining number of information bits to be segmented K m in the first data, determine the maximum number of segments j corresponding to the i-th code length; according to the maximum number of segments corresponding to the i-th code length The number of segments j is to perform segmentation processing on the first data to obtain the target segmentation result, where the number of segments corresponding to the i-th code length is j; where 1≤i≤n, i, j are both Positive integer.
示例性的,预设码长可包括:1024bit、512bit、256bit、128bit、64bit。For example, the preset code length may include: 1024bit, 512bit, 256bit, 128bit, and 64bit.
示例性的,目标分段结果对应的n个码长可以是上述全部预设码长,也可以是部分预设码长,具体可依据第一数据的信息比特数和/或应用需求而灵活确定,本申请对此不做限制。For example, the n code lengths corresponding to the target segmentation result may be all of the above preset code lengths, or may be part of the preset code lengths, which may be flexibly determined based on the number of information bits of the first data and/or application requirements. , this application does not limit this.
示例性的,各预设码长对应的分段所分别需要包括的信息比特数分别为:K 1024、K 512、K 256、K 128、K 64For example, the number of information bits required to be included in the segments corresponding to each preset code length are: K 1024 , K 512 , K 256 , K 128 , and K 64 .
示例性的,K 1024表示码长为1024比特的码块所需要包括的信息比特数。 For example, K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
示例性的,K 512表示码长为512比特的码块所需要包括的信息比特数。 For example, K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
示例性的,K 256示码长为256比特的码块所需要包括的信息比特数。 For example, K 256 represents the number of information bits that a code block with a code length of 256 bits needs to include.
示例性的,K 128表示码长为128比特的码块所需要包括的信息比特数。 For example, K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
示例性的,K 64表示码长为64比特的码块所需要包括的信息比特数。 For example, K 64 represents the number of information bits that a code block with a code length of 64 bits needs to include.
示例性的,以对码长为1024比特对应的分段段数N 1024的确定方式为例进行说明: For example, the method for determining the number of segments N 1024 corresponding to a code length of 1024 bits is used as an example to illustrate:
示例性的,本实施方式中,N 1024(对应于所述第i个码长的最多分段段数j,这里i=1,j=N 1024,)的确定方式包括但不限于以下任意一个公式的实现方式: Exemplarily, in this implementation, N 1024 (corresponding to the maximum number of segments j of the i-th code length, where i=1, j=N 1024 ,) is determined by including but not limited to any one of the following formulas: Implementation method:
Figure PCTCN2022116883-appb-000001
或,
Figure PCTCN2022116883-appb-000001
or,
Figure PCTCN2022116883-appb-000002
或,
Figure PCTCN2022116883-appb-000002
or,
Figure PCTCN2022116883-appb-000003
或,
Figure PCTCN2022116883-appb-000003
or,
Figure PCTCN2022116883-appb-000004
或,
Figure PCTCN2022116883-appb-000004
or,
Figure PCTCN2022116883-appb-000005
或,
Figure PCTCN2022116883-appb-000005
or,
Figure PCTCN2022116883-appb-000006
等。
Figure PCTCN2022116883-appb-000006
wait.
其中,p为最小码长的分段所需要包括的最少信息比特数。Among them, p is the minimum number of information bits required to be included in the segment with the minimum code length.
示例性的,本实施方式中,在确定N 1024之后,可对K m进行更新,更新后的K m=更新前的K m-N 1024*K 1024For example, in this embodiment, after N 1024 is determined, K m can be updated, and the updated K m =K m before the update -N 1024 *K 1024 .
示例性的,本实施方式中,在确定N 1024之后,可基于更新后的K m确定例如N 512(对应于所述第i个码长的最多分段段数j,这里i=2,j=N 512,)的确定方式包括但不限于以下任意一个公式的实现方式: Exemplarily, in this embodiment , after N 1024 is determined, N 512 (corresponding to the maximum number of segments j of the i-th code length, where i=2, j= The determination method of N 512 ,) includes but is not limited to the implementation of any of the following formulas:
Figure PCTCN2022116883-appb-000007
或,
Figure PCTCN2022116883-appb-000007
or,
Figure PCTCN2022116883-appb-000008
或,
Figure PCTCN2022116883-appb-000008
or,
Figure PCTCN2022116883-appb-000009
或,
Figure PCTCN2022116883-appb-000009
or,
Figure PCTCN2022116883-appb-000010
或,
Figure PCTCN2022116883-appb-000010
or,
Figure PCTCN2022116883-appb-000011
等。
Figure PCTCN2022116883-appb-000011
wait.
对于其他码长对应的分段数量的确定方式,与上述举例的原理类似,均是基于第一数据中剩余的待分段信息比特来实现,这里不再赘述。The method for determining the number of segments corresponding to other code lengths is similar to the principle of the above example, and is based on the remaining information bits to be segmented in the first data, which will not be described again here.
在本申请实施例中,在对第一数据进行分段时,可优先进行较长码长的码块的分段,并且,在对每一个码长确定分段数量时,均基于第一数据中剩余的待分段信息比特以及该码长对应的分段所需要包括的信息比特数,来确定该码长对应的最多分段数量,能够将第一数据中的更多信息比特分段为对应更大码长的码块,从而减小较小码长对应的分段数量,以降低总分段数量。In the embodiment of the present application, when segmenting the first data, priority can be given to segmenting code blocks with longer code lengths, and when determining the number of segments for each code length, all based on the first data The remaining information bits to be segmented and the number of information bits that need to be included in the segment corresponding to the code length are used to determine the maximum number of segments corresponding to the code length, and more information bits in the first data can be segmented into Corresponds to code blocks with larger code lengths, thereby reducing the number of segments corresponding to smaller code lengths to reduce the total number of segments.
在一种可能的实施方式中,所述按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和所述第一数据中剩余的待分段信息比特数,确定对应所述第i个码长的最多分段段数j,包括:按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和,所述第一数据中剩余的待分配至所述第i个码长的第二信息比特数,确定对应所述第i个码长的最多分段段数j;其中,所述第二信息比特数为所述第一数据中剩余的待分段信息比特数与第三信息比特数的差值;其中,所述第三信息比特数为每个第四码长对应的分段所需包括的信息比特数之和;其中,所述第四码长为在所述n个码长中小 于所述第i个码长的码长。In a possible implementation, the first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths are determined in descending order of the n code lengths. number, and the remaining number of information bits to be segmented in the first data, determining the maximum number of segmented segments j corresponding to the i-th code length, including: in order from largest to smallest of the n code lengths, Based on the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, and, the remainder of the first data to be allocated to the second bit of the i-th code length The number of information bits determines the maximum number of segments j corresponding to the i-th code length; wherein the second number of information bits is the number of remaining information bits to be segmented and the third number of information bits in the first data The difference; wherein, the third number of information bits is the sum of the number of information bits required to be included in the segment corresponding to each fourth code length; wherein, the fourth code length is The code length in is smaller than the i-th code length.
示例性的,结合于上述实施方式,N 1024可通过以下公式来确定: For example, combined with the above embodiments, N 1024 can be determined by the following formula:
Figure PCTCN2022116883-appb-000012
或,
Figure PCTCN2022116883-appb-000012
or,
Figure PCTCN2022116883-appb-000013
Figure PCTCN2022116883-appb-000013
示例性的,本实施方式中,在确定N 1024之后,可对K m进行更新,更新后的K m=更新前的K m-N 1024*K 1024For example, in this embodiment, after N 1024 is determined, K m can be updated, and the updated K m =K m before the update -N 1024 *K 1024 .
示例性的,本实施方式中,在确定N 1024之后,可基于更新后的K m确定例如N 512(对应于所述第i个码长的最多分段段数j,这里i=2,j=N 512,),具体可通过以下公式来实现: Exemplarily, in this embodiment , after N 1024 is determined, N 512 (corresponding to the maximum number of segments j of the i-th code length, where i=2, j= N 512 ,), which can be achieved through the following formula:
Figure PCTCN2022116883-appb-000014
或,
Figure PCTCN2022116883-appb-000014
or,
Figure PCTCN2022116883-appb-000015
Figure PCTCN2022116883-appb-000015
对于其他码长对应的分段数量的确定方式,与上述举例的原理类似,这里不再赘述。The method for determining the number of segments corresponding to other code lengths is similar to the principle of the above example, and will not be described again here.
在本申请实施例中,在对第一数据进行分段时,可优先进行较长码长的码块的分段,并且,在对第i个码长确定分段数量时,可在确保n个码长中码长小于该第i个码长的每个第四码长均可从第一数据中划分得到至少一个对应的分段的场景下,对第一数据中剩余的可用于分配给第i个码长的待分段信息比特,来确定第i个码长对应的最多分段数量,能够使每个预设码长均对应有至少一个分段,并使目标分段结果对应的n个码长可从大到小逐渐且连续减小,以降低分段结果的编码数据的接收时延,以及通过降低总分段数量来提升接收性能。In the embodiment of the present application, when segmenting the first data, priority can be given to segmenting code blocks with longer code lengths, and when determining the number of segments for the i-th code length, n can be ensured In a scenario where each fourth code length among the code lengths smaller than the i-th code length can be divided into at least one corresponding segment from the first data, the remainder of the first data can be allocated to The information bits of the i-th code length to be segmented are used to determine the maximum number of segments corresponding to the i-th code length, so that each preset code length corresponds to at least one segment, and the target segmentation result corresponds to The n code lengths can be gradually and continuously reduced from large to small to reduce the reception delay of the encoded data of the segmentation results, and to improve the reception performance by reducing the total number of segments.
在一种可能的实施方式中,所述对所述第一数据进行分段处理,获取目标分段结果,包括:获取与所述第一数据对应的初始分段结果;在所述初始分段结果包括段数大于或等于2的第一分段的情况下,将至少两个所述第一分段合并为第二码长的至少一个第二分段,以获取目标分段结果,其中,所述第一分段对应同一第一码长,所述第二码长大于所述第一码长。In a possible implementation, performing segmentation processing on the first data to obtain a target segmentation result includes: obtaining an initial segmentation result corresponding to the first data; If the result includes a first segment with a segment number greater than or equal to 2, merge at least two of the first segments into at least one second segment with a second code length to obtain the target segmentation result, where The first segment corresponds to the same first code length, and the second code length is greater than the first code length.
示例性的,发送端可对初始分段结果中第一码长相同的码块进行合并,以合并为更长的码长的码块,以获取目标分段结果。For example, the sending end can combine the code blocks with the same first code length in the initial segmentation result to merge them into code blocks with a longer code length to obtain the target segmentation result.
例如发送端可将初始分段结果中的2个码长为64比特的码块合并为一个码长为128比特的码块。For example, the sending end can combine two code blocks with a code length of 64 bits in the initial segmentation result into one code block with a code length of 128 bits.
本申请实施例可获取待编码数据的初始分段结果,并对初始分段结果中段数大于等于2的码长对应的分段进行合并,从而可减少分段数量,以优化接收性能。Embodiments of the present application can obtain the initial segmentation results of the data to be encoded, and merge segments corresponding to code lengths with a number of segments greater than or equal to 2 in the initial segmentation results, thereby reducing the number of segments and optimizing reception performance.
在一种可能的实施方式中,所述将至少两个所述第一分段合并为第二码长的第二分段,包括:按照码长从小到大的顺序,将所述初始分段结果中的至少两个所述第一分段合并为第二码长的第二分段。In a possible implementation, merging at least two of the first segments into a second segment with a second code length includes: merging the initial segments in order of code length from small to large. At least two of the first segments in the result are merged into a second segment of a second code length.
在本申请实施例中,发送端可按照初始分段结果对应的码长的从小到大的顺序,来将初始分段结果中码长相同的至少两个分段进行合并,从而递进式的不断缩减较小码长的分段的数量,不仅可提升分段的合并效率,提升编码效率。可选地,还可确保合并后的分段还是按照码长从大到小排序,从而降低接收时延。In this embodiment of the present application, the sending end can merge at least two segments with the same code length in the initial segmentation result in ascending order of the code lengths corresponding to the initial segmentation result, thereby progressively Continuously reducing the number of segments with smaller code lengths can not only improve the merging efficiency of segments, but also improve the coding efficiency. Optionally, it can also be ensured that the merged segments are still sorted according to code length from large to small, thereby reducing the reception delay.
在一种可能的实施方式中,所述将至少两个所述第一分段合并为第二码长的第二分段,包括:将至少两个所述第一分段和目标数量的信息比特,合并为第二码长的第二分段;其中,所述目标数量的信息比特来自:与所述初始分段结果对应的第三码长的第三分段,其中,所述第三码长小于所述第一码长。In a possible implementation, merging at least two of the first segments into a second segment of a second code length includes: combining at least two of the first segments and a target number of information bits, combined into a second segment of a second code length; wherein the target number of information bits comes from: a third segment of a third code length corresponding to the initial segmentation result, wherein the third The code length is smaller than the first code length.
在本申请实施例中,在对分段结果中的分段进行合并时,可从较小码长的分段中挪取目标数量的信息比特,来与至少两个第一分段合并为合并为较大码长的第二分段。In the embodiment of the present application, when merging the segments in the segmentation result, a target number of information bits can be taken from the segments with smaller code lengths to merge them with at least two first segments into a merged form. It is the second segment with a larger code length.
在一种可能的实施方式中,所述初始分段结果按照码长从大到小的顺序排列。In a possible implementation, the initial segmentation results are arranged in descending order of code length.
在本申请实施例中,发送端获取的待编码数据的初始分段结果对应的分段,可按照码长从大到小的顺序排列,从而得到码长从大到小逐渐减小的初始分段结果中的分段;那么在对初始分段结果中的分段进行合并处理后,得到的目标分段结果对应的分段同样可按照码长从大到小逐渐减小的顺序排列,这样,可降低目标分段结果的编码数据的接收时延。In this embodiment of the present application, the segments corresponding to the initial segmentation result of the data to be encoded obtained by the sending end can be arranged in order from large to small in code length, thereby obtaining the initial segmentation in which the code length gradually decreases from large to small. segmentation in the segmentation result; then after merging the segments in the initial segmentation result, the segments corresponding to the obtained target segmentation result can also be arranged in the order of gradually decreasing code length from large to small, so that , which can reduce the reception delay of the encoded data of the target segmentation result.
在一种可能的实施方式中,所述至少两个第一分段在所述初始分段结果中的排列位置相邻。In a possible implementation, the at least two first segments are arranged adjacently in the initial segmentation result.
在本申请实施例中,发送端可对初始分段结果中排列位置相邻的至少两个分段进行合并,从而可使经合并操作后,得到的目标分段结果对应的各码长的大小顺序,与初始分段结果对应的各码长的大小顺序相一致,能够在减少分段数量的同时,可选地,可最大程度的降低译码时延和传输时延对接收端的系统整体时延的影响,可最大化的降低接收端的系统时延。In the embodiment of the present application, the sending end can merge at least two adjacent segments in the initial segmentation result, so that after the merging operation, the size of each code length corresponding to the target segmentation result obtained can be The order is consistent with the size order of each code length corresponding to the initial segmentation result. It can reduce the number of segments and optionally minimize the impact of decoding delay and transmission delay on the overall system time of the receiving end. The impact of delay can be minimized to reduce the system delay at the receiving end.
在一种可能的实施方式中,所述第二码长为第一码长的两倍。In a possible implementation, the second code length is twice the first code length.
在本申请实施例中,发送端可对初始分段结果中的至少两个分段合并为相邻的更高级别的码长的分段,例如与64比特的码长相邻的级别包括128比特和32比特,从而可使经合并操作后,得到的目标分段结果对应的n个码长的大小顺序,从大到小逐渐且连续减小,在对分段合并时可逐级合并,从而可在最大化的减少分段数量的同时,还可最大程度的降低译码时延和传输时延对接收端的系统整体时延的影响,以最大化的降低接收端的系统时延。In this embodiment of the present application, the sending end may merge at least two segments in the initial segmentation result into adjacent segments with a higher level code length. For example, the level adjacent to the 64-bit code length includes 128 bits and 32 bits, so that after the merging operation, the size order of n code lengths corresponding to the target segmentation results obtained gradually and continuously decreases from large to small, and can be merged step by step when merging segments. This can not only minimize the number of segments, but also minimize the impact of decoding delay and transmission delay on the overall system delay at the receiving end, thereby minimizing the system delay at the receiving end.
在一种可能的实施方式中,所述第一码长为所述n个码长中除最大码长之外的码长。In a possible implementation, the first code length is a code length other than the maximum code length among the n code lengths.
示例性的,发送端在对初始分段结果中的分段进行合并时,可按照与初始分段结果对应的码长从小到大的顺序,依次检测除最大码长之外的每个码长的分段的数量,从而 依次对除最大码长之外的具有相同码长的至少两个分段进行合并,可不改变分段结果的最大码长,以提升接收性能。For example, when merging the segments in the initial segmentation result, the sending end may detect each code length except the maximum code length in order of the code lengths corresponding to the initial segmentation result from small to large. The number of segments, thereby sequentially merging at least two segments with the same code length except the maximum code length, without changing the maximum code length of the segmentation results to improve reception performance.
在一种可能的实施方式中,所述n个码长中最小码长,在所述目标分段结果中对应的分段所包括的信息比特数大于或等于p,其中,p为正整数,所述最小码长对应的分段段数小于或等于3。In a possible implementation, the minimum code length among the n code lengths, and the number of information bits included in the corresponding segment in the target segmentation result is greater than or equal to p, where p is a positive integer, The number of segments corresponding to the minimum code length is less than or equal to 3.
示例性的,p可为大于或等于1的正整数,p的具体取值可根据应用要求或实际场景而灵活配置,本申请对此不做限制。For example, p can be a positive integer greater than or equal to 1. The specific value of p can be flexibly configured according to application requirements or actual scenarios, and this application does not limit this.
示例性的,目标分段结果中最小码长对应的分段所需要包括的信息比特数大于或等于p,那么在限制了该条件的情况下,在一种可能的实施方式中,最小码长的分段的数量可为3个。在另一种可能的实施方式中,如果没有对最小码长对应的信息比特数大于或等于p的条件,最小码长对应的分段段数可小于或等于2。For example, the number of information bits required for the segment corresponding to the minimum code length in the target segmentation result is greater than or equal to p. Then, under the condition that this condition is restricted, in a possible implementation, the minimum code length The number of segments can be 3. In another possible implementation, if there is no condition that the number of information bits corresponding to the minimum code length is greater than or equal to p, the number of segments corresponding to the minimum code length may be less than or equal to 2.
例如图5a实施例中,例如要求最小码长的64比特的码块至少需要包括13比特(这里p=13)的信息比特,以及例如K 64=20,则图5a(4)所示的分段结果对应目标分段结果中,码块20变化为2个码长为64比特的码块。那么目标分段结果中最小码长的64比特的码块为3个,并且最后一个64比特的码块包括13比特。 For example, in the embodiment of Figure 5a, for example, a 64-bit code block requiring a minimum code length needs to include at least 13 bits (here p = 13) of information bits, and for example, K 64 =20, then the division shown in Figure 5a (4) In the segment result corresponding to the target segmentation result, the code block 20 is changed into two code blocks with a code length of 64 bits. Then there are 3 64-bit code blocks with the minimum code length in the target segmentation result, and the last 64-bit code block includes 13 bits.
在一种可能的实施方式中,所述目标分段结果按照所述n个码长从大到小的顺序排列。In a possible implementation, the target segmentation results are arranged in descending order of the n code lengths.
本申请实施例对待编码数据,按照实际码率进行分段,可在减少分段数量的同时,降低接收端对本申请的分段结果对应编码结果进行接收和译码时的时延,可有效降低接收端的时延。The embodiments of the present application segment the data to be encoded according to the actual code rate, which can reduce the number of segments and at the same time reduce the delay when the receiving end receives and decodes the encoding results corresponding to the segmented results of the present application, which can effectively reduce The delay at the receiving end.
在一种可能的实施方式中,本申请提供一种数据处理装置。该数据处理装置包括:第一获取模块,用于获取第一数据;分段模块,用于对所述第一数据进行分段处理,获取目标分段结果,其中,所述目标分段结果对应n个码长,所述n个码长中除最大码长和最小码长之外的每个码长对应的分段段数小于或等于2,其中,n为整数,n≥2。In a possible implementation, the present application provides a data processing device. The data processing device includes: a first acquisition module, used to acquire first data; a segmentation module, used to segment the first data and obtain a target segmentation result, wherein the target segmentation result corresponds to There are n code lengths, and the number of segments corresponding to each code length except the maximum code length and the minimum code length among the n code lengths is less than or equal to 2, where n is an integer and n≥2.
在一种可能的实施方式中,所述分段模块,具体用于按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果。In a possible implementation, the segmentation module is specifically configured to segment the n code lengths in descending order based on the remaining number of information bits to be segmented in the first data. Perform segmentation processing on the first data to obtain target segmentation results.
在一种可能的实施方式中,所述分段模块,具体用于:按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的信息比特数,和所述第一数据中剩余的待分段信息比特数,确定对应所述第i个码长的最多分段段数j;按照所述对应所述第i个码长的最多分段段数j,对所述第一数据进行分段处理,获取目标分段结果,其中,所述第i个码长对应的分段段数为j;其中,1≤i≤n,i,j均为正整数。In a possible implementation, the segmentation module is specifically configured to: in descending order of the n code lengths, based on the segmentation corresponding to the i-th code length among the n code lengths The number of information bits required to be included, and the remaining number of information bits to be segmented in the first data, determine the maximum number of segmented segments j corresponding to the i-th code length; according to the above, the maximum number j corresponding to the i-th code length is determined The maximum number of segmented segments is j, perform segmentation processing on the first data, and obtain the target segmentation result, where the number of segmented segments corresponding to the i-th code length is j; where 1≤i≤n, i and j are both positive integers.
在一种可能的实施方式中,所述分段模块,具体用于按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和,所述第一数据中剩余的待分配至所述第i个码长的第二信息比特数,确定对应所述第i个码长的最多分段段数j;其中,所述第二信息比特数为所述第一数据中剩余的待分段信息比特数与第三信息比特数的差值;其中,所述第三信息比特数为每个第四码长对应的分段所需包括的信息比特数之和;其中,所述第四码长为在所述n个码长中小于所述第i个码长的码长。In a possible implementation, the segmentation module is specifically configured to perform segmentation based on the segment corresponding to the i-th code length among the n code lengths in order from large to small. The number of first information bits to be included, and the number of second information bits remaining in the first data to be allocated to the i-th code length, determine the maximum number of segments corresponding to the i-th code length. j; wherein the second number of information bits is the difference between the remaining number of information bits to be segmented in the first data and the number of third information bits; wherein the third number of information bits is each fourth The sum of the number of information bits required to be included in the segment corresponding to the code length; wherein, the fourth code length is a code length smaller than the i-th code length among the n code lengths.
在一种可能的实施方式中,所述分段模块,具体用于:获取与所述第一数据对应的初始分段结果;在所述初始分段结果包括段数大于或等于2的第一分段的情况下,将至少两个所述第一分段合并为第二码长的至少一个第二分段,以获取目标分段结果,其中,所述第一分段对应同一第一码长,所述第二码长大于所述第一码长。In a possible implementation, the segmentation module is specifically configured to: obtain an initial segmentation result corresponding to the first data; where the initial segmentation result includes a first segmentation result with a segment number greater than or equal to 2. In the case of segments, merge at least two of the first segments into at least one second segment of the second code length to obtain the target segmentation result, wherein the first segments correspond to the same first code length , the second code length is longer than the first code length.
在一种可能的实施方式中,所述分段模块,具体用于按照码长从小到大的顺序,将所述初始分段结果中的至少两个所述第一分段合并为第二码长的第二分段。In a possible implementation, the segmentation module is specifically configured to merge at least two of the first segments in the initial segmentation results into a second code in order of code length from small to large. Long second segment.
在一种可能的实施方式中,所述分段模块,具体用于将至少两个所述第一分段和目标数量的信息比特,合并为第二码长的第二分段;其中,所述目标数量的信息比特来自:与所述初始分段结果对应的第三码长的第三分段,其中,所述第三码长小于所述第一码长。In a possible implementation, the segmentation module is specifically configured to combine at least two of the first segments and a target number of information bits into a second segment of the second code length; wherein, The target number of information bits comes from: a third segment with a third code length corresponding to the initial segmentation result, wherein the third code length is smaller than the first code length.
在一种可能的实施方式中,所述初始分段结果按照码长从大到小的顺序排列。In a possible implementation, the initial segmentation results are arranged in descending order of code length.
在一种可能的实施方式中,所述至少两个第一分段在所述初始分段结果中的排列位置相邻。In a possible implementation, the at least two first segments are arranged adjacently in the initial segmentation result.
在一种可能的实施方式中,所述第二码长为第一码长的两倍。In a possible implementation, the second code length is twice the first code length.
在一种可能的实施方式中,所述第一码长为所述n个码长中除最大码长之外的码长。In a possible implementation, the first code length is a code length other than the maximum code length among the n code lengths.
在一种可能的实施方式中,所述n个码长中最小码长,在所述目标分段结果中对应的分段所包括的信息比特数大于或等于p,其中,p为正整数,所述最小码长对应的分段段数小于或等于3。In a possible implementation, the minimum code length among the n code lengths, and the number of information bits included in the corresponding segment in the target segmentation result is greater than or equal to p, where p is a positive integer, The number of segments corresponding to the minimum code length is less than or equal to 3.
在一种可能的实施方式中,所述目标分段结果按照所述n个码长从大到小的顺序排列。In a possible implementation, the target segmentation results are arranged in descending order of the n code lengths.
上述各实施方式的数据处理装置的效果,与上述各实施方式的数据处理方法的效果类似,这里不再赘述。The effects of the data processing apparatus in the above embodiments are similar to the effects of the data processing methods in the above embodiments, and will not be described again here.
在一种可能的实施方式中,本申请提供一种数据处理装置。该数据处理装置包括一个或多个接口电路和一个或多个处理器;所述接口电路用于从存储器接收信号,并向所述处理器发送所述信号,所述信号包括存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述处理器可实现上述任意一种实施方式中的数据处理方法。In a possible implementation, the present application provides a data processing device. The data processing device includes one or more interface circuits and one or more processors; the interface circuit is used to receive signals from a memory and send the signals to the processor, where the signals include computer data stored in the memory. Instructions; when the processor executes the computer instructions, the processor can implement the data processing method in any of the above embodiments.
本实施方式的数据处理装置的效果,与上述各实施方式的数据处理方法的效果类似,这里不再赘述。The effects of the data processing device of this embodiment are similar to the effects of the data processing methods of the above embodiments, and will not be described again here.
在一种可能的实施方式中,本申请提供一种计算机可读存储介质。计算机可读存储介质存储有计算机程序,当计算机程序运行在计算机或处理器上时,使得计算机或处理器执行上述任意一种实施方式中的数据处理方法。In a possible implementation, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is run on a computer or processor, it causes the computer or processor to execute the data processing method in any of the above embodiments.
本实施方式的计算机可读存储介质的效果,与上述各实施方式的数据处理方法的效果类似,这里不再赘述。The effect of the computer-readable storage medium in this embodiment is similar to the effect of the data processing method in each of the above embodiments, and will not be described again here.
在一种可能的实施方式中,本申请提供一种计算机程序产品。计算机程序产品包含软件程序,当软件程序被计算机或处理器执行时,使得上述任意一个实施方式中的数据处理方法被执行。In a possible implementation manner, the present application provides a computer program product. The computer program product includes a software program. When the software program is executed by a computer or processor, the data processing method in any of the above embodiments is executed.
本实施方式的计算机程序产品的效果,与上述各实施方式的数据处理方法的效果类似,这里不再赘述。The effects of the computer program product of this embodiment are similar to the effects of the data processing methods of the above embodiments, and will not be described again here.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. , for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative labor.
图1为示例性示出的Polar码的编码过程的示意图;Figure 1 is a schematic diagram of an exemplary Polar code encoding process;
图2为示例性示出的本申请的系统交互示意图;Figure 2 is an exemplary system interaction diagram of the present application;
图3为示例性示出的接收端接收数据的时序图;Figure 3 is an exemplary timing diagram of the receiving end receiving data;
图4为示例性示出的本申请的分段方法的过程示意图;Figure 4 is a schematic process diagram illustrating the segmentation method of the present application;
图5a为示例性示出的本申请的分段方法的分段示意图;Figure 5a is a segmented schematic diagram illustrating the segmentation method of the present application;
图5b为示例性示出的本申请的分段方法的分段示意图;Figure 5b is a segmented schematic diagram illustrating the segmentation method of the present application;
图5c为示例性示出的本申请的分段方法的分段示意图;Figure 5c is a segmented schematic diagram illustrating the segmentation method of the present application;
图5d为示例性示出的本申请的分段方法的分段示意图;Figure 5d is a segmented schematic diagram illustrating the segmentation method of the present application;
图5e为示例性示出的本申请的分段方法的分段示意图;Figure 5e is an exemplary segmented schematic diagram of the segmented method of the present application;
图5f为示例性示出的本申请的分段方法的分段示意图;Figure 5f is a segmented schematic diagram illustrating the segmentation method of the present application;
图5g为示例性示出的本申请的分段方法的分段示意图;Figure 5g is a segmented schematic diagram illustrating the segmentation method of the present application;
图5h为示例性示出的本申请的分段方法的分段示意图;Figure 5h is an exemplary segmented schematic diagram of the segmented method of the present application;
图6为示例性示出的本申请的分段方法的分段示意图;Figure 6 is a segmented schematic diagram illustrating the segmentation method of the present application;
图7a为示例性示出的现有技术中的分段方法的分段结果的示意图;Figure 7a is a schematic diagram illustrating segmentation results of a segmentation method in the prior art;
图7b为示例性示出的本申请的分段方法的分段结果的示意图;Figure 7b is a schematic diagram illustrating the segmentation results of the segmentation method of the present application;
图8为示例性示出的本申请的分段方法相较于现有技术中的分段方法的分段结果的优化示意图;Figure 8 is an exemplary schematic diagram illustrating the optimization of the segmentation results of the segmentation method of the present application compared with the segmentation method in the prior art;
图9a为示例性示出的本申请的分段方法相较于现有技术中的分段方法的分段结果的优化示意图;Figure 9a is a schematic diagram illustrating the optimization of the segmentation results of the segmentation method of the present application compared with the segmentation method in the prior art;
图9b为示例性示出的本申请的分段方法的分段结果与现有技术中的分段方法的分段结果的丢包示意图;Figure 9b is a schematic diagram illustrating the packet loss of the segmentation results of the segmentation method of the present application and the segmentation results of the segmentation method in the prior art;
图10为本申请实施例提供的一种装置的结构示意图;Figure 10 is a schematic structural diagram of a device provided by an embodiment of the present application;
图11为本申请实施例提供的一种芯片的结构示意图。Figure 11 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms “first” and “second” in the description and claims of the embodiments of this application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object, the second target object, etc. are used to distinguish different target objects, rather than to describe a specific order of the target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in the embodiments of the present application is not to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of this application, unless otherwise specified, the meaning of “plurality” refers to two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
信道编码是通信系统中提升接收灵敏度和抗干扰性能的重要技术之一。极化码(Polar Code)是被理论证明可以达到香农极限的一种编码方式,使得极化码(也称Polar码)在通信系统中得到广泛的应用。例如,在5G标准中,将Polar码作为控制信道的编码方式;在另一些通信标准中,将Polar码同时作为控制信息(Header)和数据信息(Payload)的编码方式。Channel coding is one of the important technologies in communication systems to improve receiving sensitivity and anti-interference performance. Polar code is a coding method that has been theoretically proven to reach the Shannon limit, making polar code (also called Polar code) widely used in communication systems. For example, in the 5G standard, Polar code is used as the encoding method for the control channel; in other communication standards, Polar code is used as the encoding method for both control information (Header) and data information (Payload).
Polar码属于线性分组码,且母码(例如公式1中的y)长度是2的整数次幂。Polar码的编码过程,可以公式1表示:Polar codes are linear block codes, and the length of the mother code (such as y in Formula 1) is an integer power of 2. The encoding process of Polar code can be expressed by formula 1:
y=x·F N,公式1; y=x·F N , formula 1;
其中,在公式1中,F N是NxN的生成矩阵,其中,F N的阶数为N;x是待编码信息比特经过补零后的一维向量,x的长度为N。y是对x编码后得到的码子,长度为N。 Among them, in Formula 1, F N is a generating matrix of NxN, where the order of F N is N; x is a one-dimensional vector after zero padding of the information bits to be encoded, and the length of x is N. y is the code obtained after encoding x, with length N.
示例性的,图1为示例性示出的Polar码的编码过程的示意图。Exemplarily, FIG. 1 is a schematic diagram illustrating the encoding process of Polar code.
示例性的,如图1所示,{u1,u2,u3,u4}为长度为4的待编码信息比特,其中,u1,u2,u3,u4中的每个ui为0或1,其中,1≤i≤4,i为整数。Illustratively, as shown in Figure 1, {u1, u2, u3, u4} are information bits to be encoded with a length of 4, where each ui in u1, u2, u3, u4 is 0 or 1, where, 1≤i≤4, i is an integer.
示例性的,母码长度为8,这里公式1中的N为8。For example, the length of the mother code is 8, and N in Formula 1 is 8.
示例性的,如图1所示,在对母码长度为8的Polar码进行编码的过程可包括:对长度为4的待编码信息比特{u1,u2,u3,u4}补4位0,得到长度为8的向量x={x1,x2,x3,x4,x5,x6,x7,x8};对向量x={x1,x2,x3,x4,x5,x6,x7,x8}进行Polar码编码得到长度为8的码子y={y1,y2,…,y8}。For example, as shown in Figure 1, the process of encoding a Polar code with a mother code length of 8 may include: complementing the information bits to be encoded {u1, u2, u3, u4} with a length of 4 with 4 bits of 0, Obtain a vector x={x1,x2,x3,x4,x5,x6,x7,x8} with a length of 8; perform Polar coding on the vector x={x1,x2,x3,x4,x5,x6,x7,x8} The encoding results in a code of length 8 y={y1, y2,...,y8}.
示例性的,以对向量x={x1,x2,x3,x4,x5,x6,x7,x8}进行Polar码编码,生成y1为例进行说明:As an example, take the vector x={x1,x2,x3,x4,x5,x6,x7,x8} to be encoded with Polar code and generate y1 as an example:
如图1所示,发送端对x1和x2进行异或运算,得到结果31;发送端对x3和x4进行异或运算,得到结果32;发送端对结果31和结果32进行异或运算,得到结果33;发送端对x5和x6进行异或运算,得到结果34;发送端对x7和x8进行异或运算,得到结果35;发送端对结果34和结果35进行异或运算,得到结果36;发送端对结果33和结果36进行异或运算,得到结果37,其中,结果37为Polar编码得到的上述y1。在发送端对向量x={x1,x2,x3,x4,x5,x6,x7,x8}进行Polar码编码,生成y2至y8的过程,生成y1的原理类似,具体可参照图1,这里不再赘述。As shown in Figure 1, the sending end performs an XOR operation on x1 and x2, and obtains the result 31; the sending end performs an XOR operation on x3 and x4, and obtains the result 32; The result is 33; the sending end performs an XOR operation on x5 and x6, and the result is 34; the sending end performs an XOR operation on x7 and x8, and obtains the result 35; the sending end performs an XOR operation on the result 34 and the result 35, and obtains the result 36; The sending end performs an XOR operation on the result 33 and the result 36 to obtain the result 37, where the result 37 is the above-mentioned y1 obtained by Polar encoding. At the sending end, the vector x = {x1, x2, x3, x4, x5, x6, x7, x8} is encoded with Polar code to generate y2 to y8. The principle of generating y1 is similar. Please refer to Figure 1 for details. Again.
Polar码的解码过程,可以理解为Polar码编码过程的逆过程,Polar码的解码过程可以公式2表示:The decoding process of Polar code can be understood as the inverse process of Polar code encoding process. The decoding process of Polar code can be expressed by formula 2:
Figure PCTCN2022116883-appb-000016
Figure PCTCN2022116883-appb-000016
其中,在公式2中,
Figure PCTCN2022116883-appb-000017
是上述F N的逆矩阵,其中,
Figure PCTCN2022116883-appb-000018
的阶数为N;y是对x编码后得到的码子,长度为N,z是对y进行Polar码解码后得到的信息比特,z的长度为N,其中,如果解码正确,则z=x。
Among them, in formula 2,
Figure PCTCN2022116883-appb-000017
is the inverse matrix of the above F N , where,
Figure PCTCN2022116883-appb-000018
The degree of .
示例性的,图2为示例性示出的本申请的系统交互示意图。Exemplarily, FIG. 2 is an exemplary system interaction diagram of the present application.
示例性的,该系统可包括发送端和接收端。For example, the system may include a sending end and a receiving end.
示例性的,发送端可向接收端传输Polar编码的数据。For example, the sending end may transmit Polar-encoded data to the receiving end.
示例性的,如图2所示,发送端可包括但不限于:数据链路层、第一分段单元、编码单元、组合单元、调制单元。For example, as shown in Figure 2, the transmitting end may include but is not limited to: a data link layer, a first segmentation unit, a coding unit, a combining unit, and a modulation unit.
示例性的,如图2所示,接收端可包括但不限于:解调单元、第二分段单元、解码单元、传输单元、数据链路层。For example, as shown in Figure 2, the receiving end may include but is not limited to: a demodulation unit, a second segmentation unit, a decoding unit, a transmission unit, and a data link layer.
在本领域,Polar码的母码长度是2的整数次方,且母码长度越长,性能越好。但考虑到实现的硬件电路的面积等资源开销,母码长度不能无限制增长,需兼顾性能和资源开销来确定母码长度。In this field, the length of the mother code of Polar code is an integer power of 2, and the longer the length of the mother code, the better the performance. However, considering the resource overhead such as the area of the implemented hardware circuit, the length of the mother code cannot be increased without limit. The length of the mother code needs to be determined by taking both performance and resource overhead into consideration.
为了兼顾性能和资源开销,对于任意长度的待传输数据(例如上述待编码信息比特),发送端可对该待传输数据进行分段编码。In order to take into account both performance and resource overhead, for any length of data to be transmitted (such as the above information bits to be encoded), the sending end can segmentally encode the data to be transmitted.
示例性的,如图2所示,第一分段单元,可用于基于一定的分段方法,对来自发送端的数据链路层的待传输数据进行分段,得到多个码块。For example, as shown in Figure 2, the first segmentation unit can be used to segment the data to be transmitted from the data link layer of the sending end based on a certain segmentation method to obtain multiple code blocks.
例如,待传输数据为待编码信息比特,第一分段单元,可依据母码长度和码率,来对该待编码信息比特进行分段,得到多个码块。示例性的,一个码块包括多个信息比特。For example, the data to be transmitted are information bits to be encoded. The first segmentation unit can segment the information bits to be encoded according to the mother code length and code rate to obtain multiple code blocks. For example, a code block includes multiple information bits.
示例性的,以目标码率为1/2,待编码信息比特包括896bit,母码长度分别为1024bit、512bit、128bit、64bit为例进行说明:As an example, the target code rate is 1/2, the information bits to be encoded include 896 bits, and the mother code lengths are 1024 bit, 512 bit, 128 bit, and 64 bit respectively:
第一分段单元,可按照1/2码率以及上述各母码长度,将待编码信息比特依次划分为数据段1至数据段5,数据段1至数据段5的码长依次为512bit、256bit、64bit、32bit、32bit的。The first segmentation unit can divide the information bits to be encoded into data segment 1 to data segment 5 according to the 1/2 code rate and the above-mentioned mother code lengths. The code lengths of data segment 1 to data segment 5 are 512bit, 256bit, 64bit, 32bit, 32bit.
示例性的,第一分段单元,可对数据段1至数据段5分别按照相应的母码长度进行补零,例如将数据段1补512比特的0位,得到码长为1024bit的码块1,其中,码块1的编码前码长为512bit;同理,第一分段单元,可对数据段2至数据段5分别按照相应的母码长度进行补零,以得到码长分别为相应母码长度的码块2至码块5。For example, the first segmentation unit can perform zero padding on data segment 1 to data segment 5 according to the corresponding mother code length. For example, data segment 1 can be padded with 512 bits of 0 bits to obtain a code block with a code length of 1024 bits. 1. Among them, the pre-encoding code length of code block 1 is 512 bits; similarly, the first segmentation unit can perform zero padding on data segment 2 to data segment 5 according to the corresponding mother code lengths, so that the code lengths are respectively Code block 2 to code block 5 corresponding to the length of the mother code.
示例性的,码块1的编码前码长为512bit,编码后码长为1024bit;For example, the pre-encoding code length of code block 1 is 512 bits, and the post-encoding code length is 1024 bits;
示例性的,码块2的编码前码长为256bit,编码后码长为512bit;For example, the pre-encoding code length of code block 2 is 256 bits, and the post-encoding code length is 512 bits;
示例性的,码块3的编码前码长为64bit,编码后码长为128bit;For example, the pre-encoding code length of code block 3 is 64 bits, and the post-encoding code length is 128 bits;
示例性的,码块4的编码前码长为32bit,编码后码长为64bit;For example, the pre-encoding code length of code block 4 is 32 bits, and the post-encoding code length is 64 bits;
示例性的,码块5的编码前码长为32bit,编码后码长为64bit。For example, the pre-encoding code length of code block 5 is 32 bits, and the post-encoding code length is 64 bits.
示例性的,如图2所示,编码单元,可用于对分段后的每个码块进行Polar编码,得到多段码子(也称编码后的多个码块)。For example, as shown in Figure 2, the encoding unit can be used to perform Polar encoding on each segmented code block to obtain multi-segment codes (also called multiple encoded code blocks).
示例性的,编码单元可对上述经过补零后,码长分别为1024bit、512bit、128bit、64bit、64bit的码块1至码块5进行Polar编码,从而得到码长分别为1024bit、512bit、128bit、64bit、64bit的多段码子。For example, the encoding unit can perform Polar encoding on the code blocks 1 to 5 whose code lengths are 1024bit, 512bit, 128bit, 64bit, and 64bit respectively after zero padding, thereby obtaining code lengths of 1024bit, 512bit, and 128bit respectively. , 64bit, 64bit multi-segment codes.
可以理解的是,对于对分段后的码块进行补零的操作,同样也可以由编码单元来执行,本申请对此不作限制。It can be understood that the zero-filling operation on the segmented code blocks can also be performed by the encoding unit, and this application does not limit this.
应理解,发送端对待编码信息比特分段后,得到多个码块,每个码块可对应有编码前码长,以及编码后码长。例如上述码块1对应的编码前码长为512bit,编码后码长为1024比特。It should be understood that after the sending end segments the information bits to be encoded, it obtains multiple code blocks, and each code block may correspond to a pre-encoding code length and a post-encoding code length. For example, the code length corresponding to the above code block 1 is 512 bits before encoding, and the code length after encoding is 1024 bits.
此外,应理解,在给定母码长度的情况下,码率越小,编码后码块的接收性能越好。那么发送端在对待编码信息比特进行分段时,可存在至少一个码块对应的实际码率小于上述目标码率。In addition, it should be understood that, given the length of the mother code, the smaller the code rate, the better the reception performance of the encoded code block. Then, when the sending end segments the information bits to be encoded, there may be at least one code block whose actual code rate is smaller than the above target code rate.
例如,上述码块2对应的编码前码长可为255bit,仍旧按照512bit的母码长度对码块2进行编码,则发送端可对码块2补257bit的0位,这样,码块2的实际码率为编码前码长与编码后码长的比值,这里为(255/512)<(1/2)。For example, the code length before encoding corresponding to the above code block 2 can be 255 bits, and the code block 2 is still encoded according to the mother code length of 512 bits. Then the sending end can complement the code block 2 with 257 bits of 0 bits. In this way, the code block 2 The actual code rate is the ratio of the code length before encoding and the code length after encoding, here it is (255/512) < (1/2).
示例性的,如图2所示,组合单元,可用于对多段码子组合为一帧数据。For example, as shown in Figure 2, the combining unit can be used to combine multiple segments of codes into one frame of data.
示例性的,如图2所示,调制单元,可用于对组合单元组合后的一帧数据进行调制,例如将数字信号调制为可在信道传输的模拟信号。For example, as shown in Figure 2, the modulation unit can be used to modulate a frame of data combined by the combination unit, for example, modulate a digital signal into an analog signal that can be transmitted on a channel.
示例性的,如图2所示,发送端可将调制单元调制后的模拟信号通过信道传输到接收端。For example, as shown in Figure 2, the transmitting end can transmit the analog signal modulated by the modulation unit to the receiving end through the channel.
示例性的,如图2所示,在接收端中,解调单元,可用于对来自发送端的模拟信号 进行解调,以获取数字信号,以获取上述一帧数据。For example, as shown in Figure 2, in the receiving end, the demodulation unit can be used to demodulate the analog signal from the transmitting end to obtain the digital signal to obtain the above-mentioned one frame of data.
示例性的,如图2所示的,在接收端中,第二分段单元,可按照与第一分段单元相同的分段方法来对该一帧数据进行分段,以还原对应所述多个码块的所述多段码子。For example, as shown in Figure 2, in the receiving end, the second segmentation unit can segment the one frame of data according to the same segmentation method as the first segmentation unit to restore the corresponding The multiple code segments of multiple code blocks.
示例性的,如图2所述,接收端每接收完成一段码子,解码单元,可用于对接收完成的该段码子进行解码,以获取一个码块对应的数据段(这里为信息比特);传输单元,可用于将来自解码单元的解码后的信息比特传输至数据链路层以实现数据的上层传输。然后,解码单元,再对接收端接收完成的下一段码子进行类似的解码操作,以及,传输单元再对解码单元解码完成的下一段码子对应的信息比特进行类似的传输操作,直至上述一帧数据全部接收完成,以使接收端完成对一帧数据对应的多段码子的解码和对解码后数据向上层(例如数据链路层)的传输。For example, as shown in Figure 2, every time the receiving end completes receiving a segment of code, the decoding unit can be used to decode the received segment of code to obtain a data segment (here, information bits) corresponding to a code block; transmission The unit can be used to transmit the decoded information bits from the decoding unit to the data link layer to achieve upper layer transmission of data. Then, the decoding unit performs a similar decoding operation on the next code segment received by the receiving end, and the transmission unit performs a similar transmission operation on the information bits corresponding to the next code segment decoded by the decoding unit, until the above frame of data All reception is completed, so that the receiving end completes the decoding of the multi-segment codes corresponding to one frame of data and transmits the decoded data to the upper layer (such as the data link layer).
应理解,图2所示的本申请系统中的各个模块及通信连接关系仅是一个范例,本申请的系统可以具有比图中所示的更多的或者更少的单元或模块,可以合并组合两个或多个的单元或模块,或者可以具有不同的单元或模块的配置。图2中所示出的各种单元可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the various modules and communication connection relationships in the system of the present application shown in Figure 2 are only an example. The system of the present application may have more or fewer units or modules than those shown in the figure, and may be combined and combined. Two or more units or modules, or may have configurations of different units or modules. The various units shown in Figure 2 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
在低功耗低时延无线的通信系统中,通信系统对降低功耗和超低时延有着很高的要求。在硬件电路实现上,为了降低整体功耗,系统时钟一般比较低。In low-power and low-latency wireless communication systems, the communication system has high requirements for reduced power consumption and ultra-low latency. In terms of hardware circuit implementation, in order to reduce overall power consumption, the system clock is generally relatively low.
那么在图2所示的上述接收端中,接收端(例如图2所示的解码单元)对每一段码子进行解码所需要的时间可称为译码时延。而接收端(例如图2所示的传输单元)在将解码得到的信息比特,传给上层(例如数据链路层)所需要的时间称为传输时延。由于系统时钟比较低,译码时延和传输时延就会显得比较大,如果译码时延和/或传输时延较大,则可严重影响系统的整体时延,导致系统时延增大。Then, in the above-mentioned receiving end shown in Figure 2, the time required for the receiving end (such as the decoding unit shown in Figure 2) to decode each code segment can be called a decoding delay. The time it takes for the receiving end (such as the transmission unit shown in Figure 2) to transmit the decoded information bits to the upper layer (such as the data link layer) is called transmission delay. Since the system clock is relatively low, the decoding delay and transmission delay will be relatively large. If the decoding delay and/or transmission delay are large, it can seriously affect the overall delay of the system, causing the system delay to increase. .
为了最大限度的降低译码时延和传输时延对系统整体时延的影响,本申请的发送端在对待传输数据进行分段时,可基于低时延分段原则进行分段。In order to minimize the impact of decoding delay and transmission delay on the overall system delay, the sending end of this application can segment the data to be transmitted based on the low-latency segmentation principle.
其中,低时延分段原则为:对待传输数据进行分段得到多个码块,多个码块的码长(这里指代编码后码长,即码块对应的母码长度)按照分段顺序(或者说待传输数据的比特顺序)依次从大到小逐渐且连续减小,并以最小母码长度的码块作为最后一个码块。Among them, the principle of low-latency segmentation is: segment the data to be transmitted to obtain multiple code blocks, and the code lengths of the multiple code blocks (here refers to the code length after encoding, that is, the mother code length corresponding to the code block) are divided into segments. The sequence (or the bit sequence of the data to be transmitted) gradually and continuously decreases from large to small, and the code block with the minimum mother code length is used as the last code block.
换言之,在低时延分段原则中,分段得到的多个码块中,后一级码块(也称下一级码块)的码长(这里指代编码后码长),与前一级码块(也称上一级码块)的码长(这里指代编码后码长)相同;或者,后一级码块的码长(这里指代编码后码长),为前一级码块的码长(这里指代编码后码长)的一半。这样可使码长为最小母码长度的码块作为最后一个码块。这样,可以将数据接收时间、译码时延和传输时延尽最大可能的并行,以最大化的减小系统整体传输时延。示例性的,码块可用于表示待传输数据分段后的数据段,按照相应母码长度补零后的信息比特。In other words, in the low-latency segmentation principle, among the multiple code blocks obtained by segmentation, the code length of the next-level code block (also called the next-level code block) (here refers to the code length after encoding) is the same as the code length of the previous level code block. The code length of the first-level code block (also called the upper-level code block) (here refers to the code length after encoding) is the same; or, the code length of the next-level code block (here refers to the code length after encoding) is the previous one. Half of the code length of the first-level code block (here refers to the code length after encoding). This allows the code block whose code length is the minimum mother code length to be the last code block. In this way, the data reception time, decoding delay and transmission delay can be parallelized as much as possible to minimize the overall transmission delay of the system. For example, the code block can be used to represent the data segment after segmentation of the data to be transmitted, and the information bits after zero padding according to the length of the corresponding mother code.
示例性的,按照分段顺序得到的多个码块中,前一级码块与后一级码块相邻,并且,前一级码块为后一级码块的上一个码块,后一级码块为前一级码块的下一个码块。For example, among multiple code blocks obtained in segmented order, the previous level code block is adjacent to the next level code block, and the previous level code block is the previous code block of the next level code block, and the next level code block is the previous code block of the next level code block. The first-level code block is the next code block of the previous level code block.
示例性的,图3为示例性示出的接收端接收数据的时序图。Exemplarily, FIG. 3 is an exemplary timing diagram of the receiving end receiving data.
示例性的,在图2所示的发送端采用低时延分段原则,对待传输数据进行分段的场 景下,图3(1)为示例性示出的在该场景下接收端接收数据的时序图。Exemplarily, in the scenario shown in Figure 2 where the sending end adopts the low-latency segmentation principle to segment the data to be transmitted, Figure 3(1) illustrates an example of how the receiving end receives data in this scenario. Timing diagram.
示例性的,在图2所示的发送端未采用上述低时延分段原则,而通过其他分段方法,来对传输数据进行分段的场景下,图3(2)为示例性示出的在该场景下接收端接收数据的时序图。For example, in a scenario where the sending end shown in Figure 2 does not adopt the above-mentioned low-latency segmentation principle, but uses other segmentation methods to segment the transmission data, Figure 3(2) is an exemplary illustration. The timing diagram of the receiving end receiving data in this scenario.
结合图2,下面分别对图3(1)和图3(2)进行描述:Combined with Figure 2, Figure 3(1) and Figure 3(2) are described below:
示例性的,结合图2,请参照图3(1),发送端采用上述低时延分段原则,对待传输数据进行分段得到多个码块(码块1至码块5),并对分段后的码块行编码,以获取编码后的码子1、码子2、码子3、码子4、码子5。For example, in conjunction with Figure 2, please refer to Figure 3(1). The transmitter uses the above-mentioned low-latency segmentation principle to segment the data to be transmitted to obtain multiple code blocks (code block 1 to code block 5), and The segmented code block rows are encoded to obtain the encoded code 1, code 2, code 3, code 4, and code 5.
示例性的,发送端在采用上述低时延分段原则,对待传输数据进行分段得到多个码块时,可基于给定的最大母码码长和最小母码码长,来对待传输数据进行分段,得到多个数据段,并对多个数据段按照相应的母码长度补零,以得到多个码长为相应母码长度的码块。示例性的,在图3(1)中,最大母码码长为1024比特,最小母码码长为64比特。For example, when the sender adopts the above-mentioned low-latency segmentation principle to segment the data to be transmitted to obtain multiple code blocks, the transmitter can treat the data to be transmitted based on the given maximum mother code code length and minimum mother code code length. Perform segmentation to obtain multiple data segments, and zero-pad the multiple data segments according to the corresponding mother code length to obtain multiple code blocks whose code lengths are the corresponding mother code lengths. For example, in Figure 3(1), the maximum mother code code length is 1024 bits, and the minimum mother code code length is 64 bits.
示例性的,如图3(1)所示,码子1为码长为1024比特(这里母码长度为1024bit)的数据,码子2为码长为512比特的数据,码子3为码长为256比特的数据,码子4为码长为128比特的数据,码子5为码长为64比特的数据。For example, as shown in Figure 3(1), code 1 is data with a code length of 1024 bits (the mother code length here is 1024 bits), code 2 is data with a code length of 512 bits, and code 3 is data with a code length of 256 bits. Bit data, code 4 is data with a code length of 128 bits, and code 5 is data with a code length of 64 bits.
那么发送端基于上述低时延分段原则对待传输数据进行分段时,给定最大母码长度为1024比特,最小母码长度为64比特,那么发送端基于上述低时延分段原则对待传输数据进行分段,可得到按照比特顺序排列的:码长依次为1024比特、512比特、256比特、128比特、64比特的码块1至码块5。Then when the sender segments the data to be transmitted based on the above-mentioned low-latency segmentation principle, given that the maximum mother code length is 1024 bits and the minimum mother-code length is 64 bits, then the sender segments the data to be transmitted based on the above-mentioned low-latency segmentation principle. By segmenting the data, we can obtain code blocks 1 to 5 arranged in bit order: code lengths of 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
示例性的,在分段结果由码块1至码块5依次构成时,作为后一级码块的码块2的码长是前一级码块的码块1的码长的一半;同理,作为后一级码块的码块3的码长是前一级码块的码块2的码长的一半,作为后一级码块的码块3的码长是前一级码块的码块2的码长的一半码,作为后一级码块的码块4的码长是前一级码块的码块3的码长的一半;作为后一级码块的码块5的码长是前一级码块的码块4的码长的一半。并且,在上述分段结果中,最后一个码块为最小母码长度(这里为64比特)的码块5。For example, when the segmentation result is composed of code blocks 1 to 5 in sequence, the code length of code block 2 as the next level code block is half of the code length of code block 1 of the previous level code block; the same Logically speaking, the code length of code block 3 as the next level code block is half of the code length of code block 2 of the previous level code block, and the code length of code block 3 as the next level code block is the code length of the previous level code block. The code length of code block 2 is half of the code length. The code length of code block 4 as the next level code block is half the code length of code block 3 of the previous level code block; the code block 5 as the next level code block The code length of is half of the code length of code block 4 of the previous level code block. Moreover, in the above segmentation result, the last code block is code block 5 with the minimum mother code length (here, 64 bits).
示例性的,发送端可对码块1至码块5分别进行Polar码编码,从而得到相应的码子1至码子5。For example, the sending end may perform Polar code encoding on code block 1 to code block 5 respectively, thereby obtaining corresponding codes 1 to 5.
示例性的,结合图2,如图3(1)所示,由于接收端接收发送端发送的待传输数据对应的模拟信号时,是通过串行接收的,那么接收端可依次接收到码子1至码子5。For example, in conjunction with Figure 2, as shown in Figure 3(1), since the receiving end receives the analog signal corresponding to the data to be transmitted sent by the transmitting end through serial reception, the receiving end can receive code 1 in sequence. to code 5.
示例性的,如图3(1)所示,接收端在t0时刻开始接收码子1,并在t1时刻对码子1接收完成。For example, as shown in Figure 3(1), the receiving end starts receiving code 1 at time t0 and completes receiving code 1 at time t1.
示例性的,如图3(1)所示,在t1时刻,接收端不仅对码子1接收完成,还开始接收码子2,并在t5时刻对码子2接收完成。For example, as shown in Figure 3(1), at time t1, the receiving end not only completes receiving code 1, but also starts receiving code 2, and completes receiving code 2 at time t5.
示例性的,结合于图2,如图3(1)所示,接收端不仅从t1时刻开始接收码子2,而且如图2所示的接收端内的解码单元可从t1时刻开始对已接收完成的码子1进行解码,使得码子1的解码过程与码子2的接收过程可同步进行。For example, combined with Figure 2, as shown in Figure 3(1), the receiving end not only starts to receive code 2 from time t1, but also the decoding unit in the receiving end as shown in Figure 2 can start from time t1 to receive code 2. The completed code 1 is decoded, so that the decoding process of code 1 and the receiving process of code 2 can be performed simultaneously.
示例性的,结合于图2,如图3(1)所示,解码单元在t1时刻至t3时刻完成对码子1 的解码,使得码子1的译码时延对应t1至t3时间段。For example, combined with Figure 2, as shown in Figure 3(1), the decoding unit completes the decoding of code 1 from time t1 to time t3, so that the decoding delay of code 1 corresponds to the time period from t1 to t3.
示例性的,结合于图2,如图3(1)所示,解码单元对码子1每解码完成一段(例如1bit(比特))数据,如图2所示的传输单元就可以将解码单元已解码的1bit特传输至数据链路层(例如媒体介入控制层(Medium Access Control,MAC))。Exemplarily, combined with Figure 2, as shown in Figure 3(1), every time the decoding unit completes decoding a piece of data (for example, 1 bit) of code 1, the transmission unit shown in Figure 2 can transfer the data that the decoding unit has The decoded 1 bit is transmitted to the data link layer (such as the Media Access Control layer (Medium Access Control, MAC)).
示例性的,如图3(1)所示,解码单元在t2时刻完成对码子1的1bit的解码,使得传输单元可从t2时刻开始对解码单元已解码的码子1的信息比特,向MAC层传输。For example, as shown in Figure 3(1), the decoding unit completes the decoding of 1 bit of code 1 at time t2, so that the transmission unit can start from time t2 to transmit the information bits of code 1 decoded by the decoding unit to the MAC layer. transmission.
示例性的,如图3(1)所示,传输单元在t2时刻至t4时刻完成对解码后的码子1的信息比特向MAC的传输,使得码子1的传输时延对应t2至t4时间段。For example, as shown in Figure 3(1), the transmission unit completes the transmission of the decoded information bits of code 1 to the MAC from time t2 to time t4, so that the transmission delay of code 1 corresponds to the time period from t2 to t4.
而t3时刻、t4时刻均在t5时刻之前,使得接收端可在接收码长为512bit的码子2的同时,并行地进行码子1的解码,以及并行地将解码后的码子1的数据传输至数据链路层。以使码子2的数据接收时延、码子1的译码时延和码子1的传输时延(这里为MAC传输时延)尽最大可能并行。Time t3 and time t4 are both before time t5, so that the receiving end can decode code 1 in parallel while receiving code 2 with a code length of 512 bits, and transmit the decoded code 1 data to the data in parallel. link layer. In this way, the data reception delay of code 2, the decoding delay of code 1 and the transmission delay of code 1 (here is the MAC transmission delay) are parallelized as much as possible.
同理,如图3(1)所示,接收端可在t5至t9时间段内接收码子3,并在接收码子3的同时,并行地在t5至t7的时间段内对已接收的码子2进行解码,以及并行地在t6至t8的时间段内,将对码子2已解码的信息比特传输至数据链路层。以使码子3的数据接收时延、码子2的译码时延和码子2的传输时延尽最大可能并行。Similarly, as shown in Figure 3(1), the receiving end can receive code 3 in the time period from t5 to t9, and while receiving code 3, it can also process the received code 2 in the time period from t5 to t7 in parallel. Decoding is performed, and in parallel, the decoded information bits of code 2 are transmitted to the data link layer in the time period from t6 to t8. In order to make the data reception delay of code 3, the decoding delay of code 2 and the transmission delay of code 2 parallel as much as possible.
同理,如图3(1)所示,接收端可在t9至t11时间段内接收码子4,并在接收码子4的同时,并行地在t9至t11时间段内对已接收的码子3进行解码,以及并行地在t10至t11的时间段内,将对码子3已解码的信息比特传输至数据链路层。以使码子4的数据接收时延、码子3的译码时延和码子3的传输时延尽最大可能并行。In the same way, as shown in Figure 3(1), the receiving end can receive code 4 in the time period t9 to t11, and while receiving code 4, it can perform processing on the received code 3 in the time period t9 to t11 in parallel. Decoding, and in parallel, transmitting the decoded information bits of code 3 to the data link layer in the time period from t10 to t11. In order to make the data reception delay of code 4, the decoding delay of code 3 and the transmission delay of code 3 parallel as much as possible.
同理,如图3(1)所示,接收端可在t11至t12时间段内接收码子5,并在接收码子5的同时,在t11至t12时间段内并行地对已接收的码子4进行解码,以及在t11至t12的时间段内并行地将对码子4已解码的信息比特传输至数据链路层。以使码子5的数据接收时延、码子4的译码时延和码子4的传输时延尽最大可能并行。Similarly, as shown in Figure 3(1), the receiving end can receive code 5 in the time period t11 to t12, and while receiving code 5, it can process the received code 4 in parallel in the time period t11 to t12. decoding, and transmitting the decoded information bits of code 4 to the data link layer in parallel within the time period from t11 to t12. In order to make the data reception delay of code 5, the decoding delay of code 4 and the transmission delay of code 4 parallel as much as possible.
示例性的,如图3(1)所示,接收端在t12时刻对64比特的码子5接收完成之后,可在t12时刻开始对码子5进行解码,例如图3(1)所示的码子5的译码时延为接收端对码子5的译码时间段。同理,接收端对码子5每解码1比特,就可以将解码后的信息比特传输至数据链路层,例如图3(1)所示的码子5的传输时延为接收端将解码后的码子5的信息比特传输至数据链路层的时间段。以使码子5的译码时延和码子5的传输时延并行。For example, as shown in Figure 3(1), after the receiving end completes receiving the 64-bit code 5 at time t12, it can start decoding code 5 at time t12, such as code 5 shown in Figure 3(1). The decoding delay is the decoding time period of code 5 at the receiving end. In the same way, every time the receiving end decodes 1 bit of code 5, it can transmit the decoded information bit to the data link layer. For example, the transmission delay of code 5 shown in Figure 3(1) is The time period during which the information bits of code 5 are transmitted to the data link layer. So that the decoding delay of code 5 and the transmission delay of code 5 are parallel.
这样,发送端依据低时延分段原则对待传输数据进行分段并对分段后的多个码块进行Polar码编码,可使接收端侧,对码子(或者说码块)的数据接收时间、译码时延和传输时延尽最大可能并行,以减小系统整体传输时延。In this way, the transmitting end segments the data to be transmitted according to the low-latency segmentation principle and performs Polar code encoding on multiple code blocks after segmentation, so that the receiving end side can determine the data reception time of the code (or code block). , decoding delay and transmission delay are parallelized as much as possible to reduce the overall transmission delay of the system.
示例性的,结合图2,请参照图3(2),发送端未采用上述低时延分段原则,而是通过其他分段原则,对待传输数据分段并对分段后的码块进行编码,以获取码子1’、码子2’。For example, in conjunction with Figure 2, please refer to Figure 3(2). The transmitter does not adopt the above-mentioned low-latency segmentation principle, but uses other segmentation principles to segment the data to be transmitted and perform segmentation on the segmented code blocks. Encode to obtain code 1' and code 2'.
示例性的,如图3(2)所示,码子1’为码长为1024比特的数据,码子2’为码长为64比特的数据。发送端分段后的码块大小分别为1024比特和64比特,当然,发送端分 段后并编码的码子还可包括接收端在t0至t16时间段内接收到的其他码子,这里不做限制。下面以码子1’和码子2’为例,来对接收端的数据接收和解码等过程进行阐述。For example, as shown in Figure 3(2), code 1' is data with a code length of 1024 bits, and code 2' is data with a code length of 64 bits. The code block sizes after segmentation at the sending end are 1024 bits and 64 bits respectively. Of course, the code blocks segmented and encoded by the sending end can also include other codes received by the receiving end in the time period from t0 to t16. There are no restrictions here. . The following uses code 1’ and code 2’ as examples to explain the data reception and decoding processes at the receiving end.
示例性的,结合图2,如图3(2)所示,由于接收端接收发送端发送的待传输数据对应的模拟信号时,是通过串行接收的,那么接收端可依次接收到码子1’至码子2’。For example, combined with Figure 2, as shown in Figure 3(2), since the receiving end receives the analog signal corresponding to the data to be transmitted sent by the transmitting end through serial reception, then the receiving end can receive code 1 in sequence 'To code 2'.
示例性的,如图3(2)所示,接收端在t16时刻开始接收码子1’,并在t11时刻对码子1’接收完成。For example, as shown in Figure 3(2), the receiving end starts receiving code 1' at time t16, and completes receiving code 1' at time t11.
示例性的,如图3(2)所示,在t11时刻,接收端不仅对码子1’接收完成,还开始接收码子2’,并在t12时刻对码子2’接收完成。For example, as shown in Figure 3(2), at time t11, the receiving end not only completes receiving code 1', but also starts receiving code 2', and completes receiving code 2' at time t12.
示例性的,结合于图2,如图3(2)所示,接收端不仅从t11时刻开始接收码子2’,而且如图2所示的接收端内的解码单元可从t11时刻开始对已接收完成的码子1’进行解码,使得码子1’的解码过程与码子2’的接收过程可同步进行。For example, combined with Figure 2, as shown in Figure 3(2), the receiving end not only starts to receive code 2' from time t11, but also the decoding unit in the receiving end as shown in Figure 2 can start from time t11. The completed code 1' is received and decoded, so that the decoding process of code 1' and the reception process of code 2' can be performed simultaneously.
示例性的,结合于图2,如图3(2)所示,解码单元在t11时刻至t14时刻完成对码子1’的解码,使得码子1’的译码时延对应t11至t14时间段。For example, combined with Figure 2, as shown in Figure 3(2), the decoding unit completes the decoding of code 1' from time t11 to time t14, so that the decoding delay of code 1' corresponds to the time period from t11 to t14.
示例性的,结合于图2,如图3(2)所示,解码单元对码子1’每解码完成一段(例如1bit(比特))数据,如图2所示的传输单元就可以将解码单元已解码的1bit特传输至数据链路层(MAC)。Exemplarily, combined with Figure 2, as shown in Figure 3(2), every time the decoding unit completes decoding a piece of data (for example, 1 bit (bit)) for code 1', the transmission unit shown in Figure 2 can transfer the decoding unit The decoded 1 bit is transmitted to the data link layer (MAC).
示例性的,如图3(2)所示,解码单元在t13时刻完成对码子1’的1bit的解码,使得传输单元可从t13时刻开始对解码单元已解码的码子1’的信息比特,向MAC层传输。Illustratively, as shown in Figure 3(2), the decoding unit completes the decoding of 1 bit of code 1' at time t13, so that the transmission unit can start decoding the information bits of code 1' decoded by the decoding unit from time t13 to MAC layer transmission.
示例性的,如图3(2)所示,传输单元在t13时刻至t15时刻完成对解码后的码子1’向MAC的传输,使得码子1’的传输时延对应t13至t15时间段。For example, as shown in Figure 3(2), the transmission unit completes the transmission of the decoded code 1' to the MAC from time t13 to time t15, so that the transmission delay of code 1' corresponds to the time period from t13 to t15.
由于码长越长,相应码长的码子的译码时延就越长,如图3(2)所示,码子1’的码长为1024bit,远大于码子2’的64bit,使得码子1’的译码时延和码子1’的传输时延,均超出接收端对码子2’进行接收时的接收时延(t11至t12时间段),从而产生如图3(2)所示的t12至t15时间段的额外时延开销。换言之,接收端在t12时刻对码子2’接收完成之后,还需要继续等待t12至t15对应的时长,才可以接收下一个码子。导致当前码子的数据接收时延、与上一个已接收码子的译码时延和上一个已接收码子的传输时延存在时间差,无法最大化的并行执行。Since the longer the code length is, the longer the decoding delay of the corresponding code length is. As shown in Figure 3(2), the code length of code 1' is 1024 bits, which is much larger than the 64 bits of code 2', making code 1' The decoding delay and the transmission delay of code 1' both exceed the reception delay (t11 to t12 time period) when the receiving end receives code 2', resulting in the t12 to t12 time period as shown in Figure 3(2). Additional delay overhead in the t15 time period. In other words, after the receiving end completes receiving code 2' at time t12, it still needs to wait for the corresponding time period from t12 to t15 before it can receive the next code. As a result, there is a time difference between the data reception delay of the current code and the decoding delay of the previous received code and the transmission delay of the previous received code, making it impossible to maximize parallel execution.
示例性的,如图3(2)所示,在接收端在t15时刻,将码子1’向MAC传输完成之后,可从t15时刻开始对码子2’进行解码,以及对解码后的码子2’的信息比特向MAC传输,例如图3(2)所示的码子2’的译码时延和码子2’的传输时延。For example, as shown in Figure 3(2), after the receiving end completes transmitting code 1' to the MAC at time t15, code 2' can be decoded starting from time t15, and the decoded code 2' can be The information bits are transmitted to the MAC, such as the decoding delay of code 2' and the transmission delay of code 2' shown in Figure 3(2).
对比于图3(1)图3(2)可以看到,由于码子5与码子2’的码长相同,均为64bit,所以,图3(1)所示的码子5的译码时延与图3(2)所示的码子2’的译码时延相同,以及图3(1)所示的码子5的传输时延与图3(2)所示的码子2’的传输时延相同。Comparing Figure 3(1) and Figure 3(2), we can see that since the code length of code 5 and code 2' are the same, both are 64 bits, so the decoding delay of code 5 shown in Figure 3(1) is the same as The decoding delay of code 2' shown in Figure 3(2) is the same, and the transmission delay of code 5 shown in Figure 3(1) is the same as the transmission delay of code 2' shown in Figure 3(2) .
在图3(2)所示的发送端采用其他分段原则来对待传输数据进行分段并进行Polar编码的场景下,相比于图3(1)所示的发送端采用低时延分段原则对待传输数据进行分段并进行Polar码编码的场景下,图3(2)所示的接收端的数据接收过程可产生t12至t15时间段的额外时延开销。In the scenario where the sender uses other segmentation principles to segment the data to be transmitted and performs Polar encoding as shown in Figure 3(2), compared with the scenario where the sender uses low-latency segmentation as shown in Figure 3(1) In principle, in the scenario where the data to be transmitted is segmented and encoded with Polar codes, the data receiving process at the receiving end shown in Figure 3(2) may generate additional delay overhead in the time period from t12 to t15.
目前,在现有技术中,基于Polar码,并且遵循从大到小逐渐且连续减小的原则的 分段方法可基于目标码率R来实现。Currently, in the existing technology, a segmentation method based on Polar codes and following the principle of gradually and continuously decreasing from large to small can be implemented based on the target code rate R.
示例性的,对现有技术中以对无线帧格式2的数据部分进行分段的方法为例进行说明。By way of example, the method of segmenting the data part of wireless frame format 2 in the prior art will be described as an example.
输入的比特序列(例如待编码信息比特)表示为b 0,b 1,b 2,b 3,…b B-1The input bit sequence (for example, the information bits to be encoded) is represented by b 0 , b 1 , b 2 , b 3 ,...b B-1 .
其中,b i是0或1,0≤i≤B-1,i为整数,该比特序列共包括B比特,其中,B>0,B=K+L,K为总信息比特数,L为循环冗余校验比特长度;目标码率为R。 Among them, b i is 0 or 1, 0≤i≤B-1, i is an integer, and the bit sequence includes B bits in total, where B>0, B=K+L, K is the total number of information bits, and L is Cyclic redundancy check bit length; target code rate R.
K 1024、K 512、K 256、K 128、K 64用于表示目标码率R对应的各码长j的码块所包括的信息比特数,其中,j=1024,512,256,128,64。K 1024、K 512、K 256、K 128、K 64为已知数据。 K 1024 , K 512 , K 256 , K 128 , and K 64 are used to represent the number of information bits included in each code block of code length j corresponding to the target code rate R, where j=1024,512,256,128,64. K 1024 , K 512 , K 256 , K 128 , and K 64 are known data.
示例性的,以目标码率R为1/2为例进行说明,在该现有技术中,码长为1024bit的码块所包括的信息比特数为上述B比特中的512bit,即K 1024=512bit。 For example, taking the target code rate R as 1/2 as an example, in this prior art, the number of information bits included in a code block with a code length of 1024 bits is 512 bits among the above-mentioned B bits, that is, K 1024 = 512bit.
而在给定码长的情况下,码率(码率为码块包括的信息比特与码长的比值)越小,码块的接收性能越好。那么在上述现有技术中,为了提升小码块(这里为码长分别为512、256、128、64的码块)的接收性能,上述K 512的取值小于256bit,例如K 512=255bit,K 128的取值也小于64bit,K 64的取值也小于32bit。 Given a given code length, the smaller the code rate (the code rate is the ratio of the information bits included in the code block to the code length), the better the reception performance of the code block. So in the above-mentioned prior art, in order to improve the reception performance of small code blocks (here are code blocks with code lengths of 512, 256, 128, and 64 respectively), the value of the above K 512 is less than 256 bit, for example, K 512 =255 bit, The value of K 128 is also less than 64bit, and the value of K 64 is also less than 32bit.
换言之,系统给定的上述K 512、K 256、K 128、K 64的各取值,所分别对应的实际码率均小于该目标码率R,并不是该目标码率R。 In other words, the actual code rates corresponding to the above values of K 512 , K 256 , K 128 , and K 64 given by the system are all smaller than the target code rate R, not the target code rate R.
N 1024、N 512、N 256、N 128、N 64分别用于表示不同码长(这里为编码后码长,即母码长度)的分段数,即不同码长的码块的数量。N 1024、N 512、N 256、N 128、N 64分别为需要求解的参数。 N 1024 , N 512 , N 256 , N 128 , and N 64 are respectively used to represent the number of segments with different code lengths (here, the code length after encoding, that is, the mother code length), that is, the number of code blocks with different code lengths. N 1024 , N 512 , N 256 , N 128 , and N 64 are the parameters that need to be solved respectively.
这里,N 1024用于表示码长为1024bit的码块的数量,N 512用于表示码长为512bit的码块的数量,N 256用于表示码长为256bit的码块的数量,N 128用于表示码长为128bit的码块的数量,N 64用于表示码长为64bit的码块的数量。 Here, N 1024 is used to represent the number of code blocks with a code length of 1024 bits, N 512 is used to represent the number of code blocks with a code length of 512 bits, N 256 is used to represent the number of code blocks with a code length of 256 bits, and N 128 is used to represent the number of code blocks with a code length of 512 bits. N 64 is used to represent the number of code blocks with a code length of 128 bits, and N 64 is used to represent the number of code blocks with a code length of 64 bits.
K m,用于表示在比特序列b 0,b 1,b 2,b 3,…b B-1中,对码长为1024的码块分配了待编码信息比特后,剩余的待编码比特数。 K m is used to represent the number of remaining bits to be encoded after allocating the information bits to be encoded to the code block with a code length of 1024 in the bit sequence b 0 , b 1 , b 2 , b 3 ,... b B-1 .
符号
Figure PCTCN2022116883-appb-000019
表示向下取整,符号
Figure PCTCN2022116883-appb-000020
表示向上取整。
symbol
Figure PCTCN2022116883-appb-000019
Indicates rounding down, symbol
Figure PCTCN2022116883-appb-000020
Indicates rounding up.
码块数量C total(也即对输入的比特序列进行分段的总分段数)通过第一步至第四步来实现: The number of code blocks C total (that is, the total number of segments that segment the input bit sequence) is achieved through the first to fourth steps:
第一步,通过以下代码逻辑确定码长为1024bit的码块的数量N 1024The first step is to determine the number N 1024 of code blocks with a code length of 1024 bits through the following code logic;
Figure PCTCN2022116883-appb-000021
Figure PCTCN2022116883-appb-000021
Figure PCTCN2022116883-appb-000022
Figure PCTCN2022116883-appb-000022
第二步,根据公式3确定index,基于index查表1,确定N 512、N 256、N 128In the second step, determine the index according to formula 3, look up table 1 based on the index, and determine N 512 , N 256 , and N 128 ;
Figure PCTCN2022116883-appb-000023
Figure PCTCN2022116883-appb-000023
index index 00 11 22 33 44 55 66 77 88 99 1010 1111 1212 1313 1414
N 512 N512 00 00 00 00 00 00 00 11 11 11 11 22 22 22 22
N 256 N 256 00 00 00 11 11 22 22 11 11 22 22 11 11 22 22
N 128 N 128 00 11 22 11 22 11 22 11 22 11 22 11 22 11 22
表1Table 1
第三步,按照公式4计算N 64The third step is to calculate N 64 according to Formula 4.
Figure PCTCN2022116883-appb-000024
Figure PCTCN2022116883-appb-000024
第四步,按照公式5确定总分段数C totalThe fourth step is to determine the total number of segments C total according to Formula 5.
C total=N 1024+N 512+N 256+N 128+N 64,公式5; C total =N 1024 +N 512 +N 256 +N 128 +N 64 , formula 5;
表2为示例性示出的以目标码率R为6/8,在不同信息比特长度K(K为总信息比特数)的条件下,上述现有技术中的分段方法得到的分段结果,其中,表2中的CRC24用于表示上述L为24bit,信息比特K+CRC24表示B的取值。Table 2 illustrates the segmentation results obtained by the above-mentioned segmentation method in the prior art under the conditions of different information bit lengths K (K is the total number of information bits) with the target code rate R being 6/8. , among which, CRC24 in Table 2 is used to indicate that the above L is 24 bits, and the information bit K+CRC24 indicates the value of B.
Figure PCTCN2022116883-appb-000025
Figure PCTCN2022116883-appb-000025
Figure PCTCN2022116883-appb-000026
Figure PCTCN2022116883-appb-000026
Figure PCTCN2022116883-appb-000027
Figure PCTCN2022116883-appb-000027
表2Table 2
如表2所示,在可以看到,K+CRC24=96bit,即K为72bit时,码长为64bit的码块的数量N 64为3;在K+CRC24=184bit,即K为160bit时,码长为64bit的码块的数量N 64为3;在K+CRC24=192bit,即K为168bit时,码长为64bit的码块的数量N 64为3;在K+CRC24=272bit,即K为248bit时,码长为64bit的码块的数量N 64为3;K+CRC24=280bit,即K为256bit时,码长为64bit的码块的数量N 64为3;K+CRC24=288bit,即K为264bit时,码长为64bit的码块的数量N 64为3。 As shown in Table 2, it can be seen that K+CRC24=96bit, that is, when K is 72bit, the number N 64 of code blocks with a code length of 64bit is 3; when K+CRC24=184bit, that is, when K is 160bit, The number N 64 of code blocks with a code length of 64 bits is 3; when K + CRC24 = 192 bit, that is, when K is 168 bit, the number of code blocks N 64 with a code length of 64 bits is 3; when K + CRC24 = 272 bit, that is, K When K is 248 bit, the number N 64 of code blocks with a code length of 64 bit is 3; K + CRC24 = 280 bit, that is, when K is 256 bit, the number N 64 of code blocks with a code length of 64 bit is 3; K + CRC24 = 288 bit, That is, when K is 264 bits, the number N 64 of code blocks with a code length of 64 bits is 3.
在上述列举的各信息比特长度K下,上述现有技术中的分段方法可分段得到3个码长为64bit的码块,在上述场景下,码长为64bit的码块属于小码块,该现有技术中的分段方法存在着小码块数量较多的问题。Under the above-mentioned information bit length K, the segmentation method in the above-mentioned prior art can obtain three code blocks with a code length of 64 bits. In the above scenario, the code blocks with a code length of 64 bits belong to small code blocks. , the segmentation method in the prior art has the problem of a large number of small code blocks.
此外,可以理解的是,通过调整信息比特的分配,不同码长(即长度)的码块解码出错的概率基本相同。那么在给定待传输数据的比特数的情况下,分段得到的码块数量越多,码块的解码出错概率就越大,接收性能就越差。In addition, it can be understood that by adjusting the allocation of information bits, the probability of decoding errors of code blocks with different code lengths (ie, length) is basically the same. Then, given the number of bits of data to be transmitted, the greater the number of code blocks obtained by segmentation, the greater the probability of decoding errors of the code blocks, and the worse the reception performance.
在该现有技术中,在对待编码信息比特进行分段,来计算各码长的码块的数量时,如公式3所示,该现有技术基于目标码率R来对待编码信息比特进行分段,例如确定N 512、N 256、N 128,而非基于各码长的码块的实际码率来对待编码信息比特进行分段,例如码长为512的码块的实际码率R’为K 512/512,其中,R’<R。例如,如表2所示,该现有技术中的分段方法不仅分段得到的码块数量C total较多,而且分段后的小码块的数量可达到3个或3个以上,小码块的数量也过多,从而影响接收性能。 In this prior art, when the information bits to be encoded are divided into segments to calculate the number of code blocks of each code length, as shown in Equation 3, the prior art divides the information bits to be encoded based on the target code rate R. segments, for example, determine N 512 , N 256 , N 128 instead of segmenting the information bits to be encoded based on the actual code rate of the code block of each code length. For example, the actual code rate R' of the code block with a code length of 512 is K 512 /512, where R'<R. For example, as shown in Table 2, the segmentation method in the prior art not only results in a larger number of code blocks C total , but also the number of segmented small code blocks can reach 3 or more. The number of code blocks is also too high, affecting reception performance.
其中,本申请定义的小码块,用于表示在分段后的码块中,码长小于最大码长的码块,其中,最大码长为分段的码块中具有的最长码长。Among them, the small code block defined in this application is used to represent the code block in the segmented code block whose code length is less than the maximum code length, where the maximum code length is the longest code length in the segmented code block. .
为此,本申请提供了一种分段方法,相比于上述现有技术中的分段方法,可在对待传输数据进行Polar码编码时,减少对待传输数据的总分段数(例如减少分段后的码块数量),特别地可减小小码块的数量。示例性的,在本申请对待传输数据进行分段后得到的码块中,相同长度的小码块数量可在3个以下,从而优化码块的接收性能。To this end, the present application provides a segmentation method. Compared with the segmentation method in the above-mentioned prior art, the total number of segments of the data to be transmitted can be reduced when the data to be transmitted is encoded with Polar codes (for example, The number of code blocks after the segment), especially the number of small code blocks can be reduced. For example, in the code blocks obtained by segmenting the data to be transmitted in this application, the number of small code blocks of the same length can be less than 3, thereby optimizing the reception performance of the code blocks.
在一种可能的实施方式中,图4为示例性示出的该分段方法的过程示意图。In a possible implementation, FIG. 4 is an exemplary process diagram of the segmentation method.
示例性的,如图4所示,该方法可包括S101和S102。For example, as shown in Figure 4, the method may include S101 and S102.
S101,发送端按照预设算法和预设母码长度,对待传输数据进行分段,得到对应不同码长的多个第一码块。S101. The sending end segments the data to be transmitted according to the preset algorithm and the preset mother code length, and obtains multiple first code blocks corresponding to different code lengths.
示例性的,待传输数据可为待编码的信息比特。For example, the data to be transmitted may be information bits to be encoded.
可选地,该待传输数据还可包括循环冗余校验的信息比特。Optionally, the data to be transmitted may also include information bits of cyclic redundancy check.
示例性的,每个第一码块的码长为2的整数次方。For example, the code length of each first code block is an integer power of 2.
示例性的,一个第一码块的码长为一个母码长度。For example, the code length of a first code block is a mother code length.
示例性的,每个母码长度可对应至少一个第一码块,换言之,不同第一码块的码长可以相同,并且,码长为同一母码长度的码块可为多个。For example, each mother code length may correspond to at least one first code block. In other words, the code lengths of different first code blocks may be the same, and there may be multiple code blocks whose code lengths are the same mother code length.
示例性的,对待传输数据进行分段的分段结果可以是多个数据段,也可以是对每个数据段按照相应预设母码长度补零后的第一码块,本实施方式中以分段结果为码块为例进行说明。For example, the segmentation result of segmenting the data to be transmitted can be multiple data segments, or it can be the first code block after zero-padding each data segment according to the corresponding preset mother code length. In this embodiment, The segmentation result is a code block as an example for illustration.
示例性的,当分段结果为多个数据段时,每个数据段也对应有相应的预设母码长度,发送端在对相邻的数据段进行合并(可理解为连接)操作时,仍旧可基于各数据段对应的预设母码长度(也即编码后的码长)进行合并,具体实现原理,与本申请各个实施例中介绍的对多个第一码块的合并操作类似,后文再行阐述。For example, when the segmentation result is multiple data segments, each data segment also corresponds to a corresponding preset mother code length. When the sending end performs a merge (can be understood as a connection) operation on adjacent data segments, Merging can still be performed based on the preset mother code length corresponding to each data segment (that is, the encoded code length). The specific implementation principle is similar to the merging operation of multiple first code blocks introduced in various embodiments of this application. This will be explained later.
S102,发送端对所述多个第一码块进行合并操作,合并后的第一码块的数量小于合并前的第一码块的数量。S102: The sending end performs a merging operation on the plurality of first code blocks, and the number of first code blocks after merging is smaller than the number of first code blocks before merging.
在一种可能的实施方式中,发送端在进行上述合并操作时,可将码长相同、且相邻的至少两个第一码块合并为至少一个第二码块,其中,合并前的第一码块的码长小于相应第二码块的码长,以降低时延。In a possible implementation, when performing the above merging operation, the sending end may merge at least two adjacent first code blocks with the same code length into at least one second code block, wherein the first code block before merging The code length of one code block is smaller than the code length of the corresponding second code block to reduce delay.
在一种可能的实施方式中,发送端在进行上述合并操作时,可将码长相同的码块进行合并,被合并的码块不限制为相邻的码块,例如图5a(2)中,发送端也可以对码块15和码块20进行合并。In a possible implementation, when performing the above merging operation, the transmitting end can merge code blocks with the same code length, and the merged code blocks are not limited to adjacent code blocks, for example, in Figure 5a(2) , the sending end can also combine code block 15 and code block 20.
应理解,在发送端进行上述合并操作前后,第一码块的码长均为2的整数次方。It should be understood that before and after the sending end performs the above combining operation, the code length of the first code block is an integer power of 2.
在一种可能的实施方式中,合并前的多个第一码块对应的码长中可包括所述第二码块的码长。In a possible implementation, the code lengths corresponding to the plurality of first code blocks before merging may include the code length of the second code block.
例如,S101分段后的码块对应的码长包括1024比特和512比特,经过S102的合并操作后,可将两个码长为512b比特的码块合并为一个码长为1024比特的码块,从而降低小码块的数量。合并后的码块的码长包括1024比特和512比特,只是码长为512比特的码块的数量减少了,从而降低了小码块的数量。For example, the code lengths corresponding to the code blocks segmented in S101 include 1024 bits and 512 bits. After the merging operation of S102, two code blocks with a code length of 512 bits can be merged into one code block with a code length of 1024 bits. , thereby reducing the number of small code blocks. The code lengths of the combined code blocks include 1024 bits and 512 bits, but the number of code blocks with a code length of 512 bits is reduced, thereby reducing the number of small code blocks.
这样,发送端对码块的合并操作,不会增减S101分段后得到的多个第一码块对应的码长。In this way, the merging operation of the code blocks by the sending end will not increase or decrease the code length corresponding to the multiple first code blocks obtained after segmentation in S101.
在另一种可能的实施方式中,在合并前的多个第一码块对应的码长中不包括所述第二码块的码长。In another possible implementation, the code lengths corresponding to the plurality of first code blocks before merging do not include the code length of the second code block.
例如,S101分段后的码块对应的码长包括1024比特、512比特、64比特,经过S102的合并操作后,可将两个64比特的码块合并为码长为128比特的一个码块,那么合并操 作后的码块的码长可包括1024比特、512比特、128比特,可选地包括64比特,这样也可以降低小码块的数量。For example, the code lengths corresponding to the code blocks segmented in S101 include 1024 bits, 512 bits, and 64 bits. After the merging operation of S102, the two 64-bit code blocks can be merged into one code block with a code length of 128 bits. , then the code length of the code block after the combined operation can include 1024 bits, 512 bits, 128 bits, and optionally 64 bits, which can also reduce the number of small code blocks.
这样,发送端对码块的合并操作在减少小码块的数量的基础上,可以增减S101分段后得到的多个第一码块对应的码长。In this way, on the basis of reducing the number of small code blocks, the sending end's merging operation of code blocks can increase or decrease the code length corresponding to the multiple first code blocks obtained after segmentation in S101.
下面结合不同示例来对图4的实施方式进行阐述:The implementation of Figure 4 is explained below with different examples:
示例1Example 1
在一种可能的实施方式中,在给定最大码长(例如最大母码长度)和最小码长(例如最小母码长度)、以及各预设母码长度的码块所需要包括的信息比特数的情况下,发送端在执行S101时,可基于上述低时延分段原则,对待传输数据进行分段,得到码长从大到小依次且逐渐减小的多个第一码块。这样,可最大限度的降低译码时延和传输时延对系统整体时延的影响。In a possible implementation, the information bits that need to be included in the code block given the maximum code length (such as the maximum mother code length) and the minimum code length (such as the minimum mother code length) and each preset mother code length are In the case of several, when executing S101, the sending end can segment the data to be transmitted based on the above-mentioned low-latency segmentation principle to obtain a plurality of first code blocks with code lengths gradually decreasing from large to small. In this way, the impact of decoding delay and transmission delay on the overall system delay can be minimized.
示例性的,每个第一码块中所包含的信息比特可以由待传输数据分段后的部分信息比特(例如上述图2实施例所述的数据段)构成。For example, the information bits contained in each first code block may be composed of partial information bits after segmentation of the data to be transmitted (for example, the data segments described in the embodiment of FIG. 2 above).
示例性的,例如最小码长为2 a比特,最大码长为2 b比特,那么基于上述低时延分段原则,可得到(b-a+1)种码长的码块,其中,a、b为正整数,且a<b。 For example, if the minimum code length is 2 a bits and the maximum code length is 2 b bits, then based on the above low-delay segmentation principle, code blocks with (b-a+1) types of code lengths can be obtained, where a , b is a positive integer, and a<b.
示例性的,对于在发送端对待传输数据进行分段后的多个第一码块中,任意一个第一码块的码长可表示为2 x比特,其中,a≤x≤b。以及发送端可将码长为2 x比特的第一码块所包含的信息比特(该信息比特为来自于该待传输数据中的信息比特)的数量以K x表示。 For example, among the multiple first code blocks after segmenting the data to be transmitted at the sending end, the code length of any first code block can be expressed as 2 x bits, where a≤x≤b. And the sending end can express the number of information bits (the information bits are information bits from the data to be transmitted) contained in the first code block with a code length of 2 x bits as K x .
在一种可能的实施方式中,发送端还可获取系统或用户设定的参数p的取值。In a possible implementation, the sending end can also obtain the value of parameter p set by the system or the user.
示例性的,参数p可用于表示分段后得到的分段结果对应的多个第一码块中,最后一个码块至少包括的信息比特的数量。那么发送端在执行上述S101时,还可进一步基于该参数p进行分段,以使分段得到的分段结果中对应最后一个码块的信息比特数大于或等于p。其中,这里的信息比特指代来自待传输数据中的信息比特,不包括按照预设母码长度补零的各零比特。For example, the parameter p can be used to represent the number of information bits at least included in the last code block among multiple first code blocks corresponding to the segmentation result obtained after segmentation. Then when the sending end performs the above S101, it can further perform segmentation based on the parameter p, so that the number of information bits corresponding to the last code block in the segmentation result obtained by segmentation is greater than or equal to p. The information bits here refer to the information bits from the data to be transmitted, excluding the zero bits padded with zeros according to the preset mother code length.
示例性的,p的取值可由系统设定或用户设定,可根据需求而灵活设置,本申请不做限制。For example, the value of p can be set by the system or the user, and can be flexibly set according to needs, and is not limited in this application.
例如设定p为10,最小码长为64比特,则发送端在分段时,可将待传输数据中在数据尾部剩余的最后15比特(可以是大于等于10的任何数值,这里不做限制)分给码长为64比特的码块,那么该码长为64比特的码块为分段后的最后一个码块,且该最后一个码块所包括的信息比特数为15比特。For example, if p is set to 10 and the minimum code length is 64 bits, then the sending end can use the last 15 bits remaining at the end of the data to be transmitted when segmenting (it can be any value greater than or equal to 10, there is no limit here) ) is allocated to a code block with a code length of 64 bits, then the code block with a code length of 64 bits is the last code block after segmentation, and the number of information bits included in the last code block is 15 bits.
示例性的,在本实施方式的分段结果(例如多个第一码块)中,除最后一个码块之外,相同码长的多个码块各自所包含的信息比特相同。For example, in the segmentation results (eg, multiple first code blocks) of this embodiment, except for the last code block, multiple code blocks with the same code length each contain the same information bits.
另外,经过本实施方式的对待传输数据进行初步分段后,还可以得到各码长的码块的数量。其中,可以N x表示码长为2 x比特的码块的数量。 In addition, after preliminary segmentation of the data to be transmitted in this embodiment, the number of code blocks of each code length can also be obtained. Among them, N x can represent the number of code blocks with a code length of 2 x bits.
这样,发送端按照上述低时延分段原则,对待传输数据进行分段,可得到多个第一码块。示例性的,经过上述实施方式的分段,发送端可以确定以下参数的取值,2 a,2 b,K x,a≤x≤b,a,b均为正整数,以及p的取值(例如上述举例的10),以及K last的初始 值,其中,K last表示分段得到的多个第一码块中最后一个码块所包括的信息比特数,例如在上述举例中,K last=15。 In this way, the sending end segments the data to be transmitted according to the above-mentioned low-delay segmentation principle, and can obtain multiple first code blocks. For example, after segmenting the above embodiments, the sending end can determine the values of the following parameters, 2 a , 2 b , K x , a≤x≤b, a, b are both positive integers, and the value of p (For example, 10 in the above example), and the initial value of K last , where K last represents the number of information bits included in the last code block among the multiple first code blocks obtained by segmentation. For example, in the above example, K last =15.
例如,最大码长为1024bit,最小码长为64bit,那么基于上述低时延分段原则得到的多个第一码块的码长依次为1024bit、512bit、256bit、128bit、64bit。For example, if the maximum code length is 1024 bit and the minimum code length is 64 bit, then the code lengths of multiple first code blocks obtained based on the above-mentioned low-latency segmentation principle are 1024 bit, 512 bit, 256 bit, 128 bit, and 64 bit.
图5a(1)为示例性示出的发送端按照上述低时延分段原则,对待传输数据进行分段,得到的多个第一码块。Figure 5a(1) is an exemplary illustration of multiple first code blocks obtained by the sending end segmenting the data to be transmitted according to the above-mentioned low-latency segmentation principle.
如图5a(1)所示,发送端分段得到9个码块,9个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块11、码长为512比特的码块12、码长为256比特的码块13、码长为256比特的码块14、码长为128比特的码块15、码长为128比特的码块16、码长为64比特的码块17、码长为64比特的码块18、码长为64比特的码块19。As shown in Figure 5a(1), the sender obtains 9 code blocks in segments, and the 9 code blocks are arranged in sequence according to the information bit order of the data to be transmitted, followed by code block 11 with a code length of 1024 bits, code block 11 with a code length of 512-bit code block 12, code block 13 with a code length of 256 bits, code block 14 with a code length of 256 bits, code block 15 with a code length of 128 bits, code block 16 with a code length of 128 bits, code length Code block 17 of 64 bits, code block 18 with a code length of 64 bits, code block 19 with a code length of 64 bits.
例如待传输数据包括985比特,预设母码长度包括1024比特、512比特、256比特、128比特、64比特。发送端按照待传输数据的信息比特顺序和预设母码长度,对待传输数据进行进行分段(这里包括对各数据段的补零操作,从而得到码块11至码块19),得到上述码块11至码块19。其中,如图5a(1)中的K x所示,除最后一个码长为64比特的码块19之外,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、41比特、20比特。最后一个码块19的码长为64比特,但是其包括的信息比特数为15(该取值大于取值为10的p)。 For example, the data to be transmitted includes 985 bits, and the preset mother code length includes 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits. The transmitting end segments the data to be transmitted according to the information bit sequence and the preset mother code length of the data to be transmitted (this includes zero-filling operations for each data segment, thereby obtaining code blocks 11 to 19), and obtains the above code Block 11 to Code Block 19. Among them, as shown by K The number of information bits included in the blocks are 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits respectively. The code length of the last code block 19 is 64 bits, but the number of information bits it includes is 15 (this value is greater than p, which has a value of 10).
在一种可能的实施方式中,发送端在执行上述S102来对码块进行合并时,可按照码长从小到大的顺序,依次检测上述多个第一码块中每个码长的码块数量。示例性的,多个第一码块按照待传输数据的信息比特的顺序(或者说分段顺序)依次进行排序。In a possible implementation, when performing the above S102 to merge the code blocks, the sending end may sequentially detect code blocks of each code length in the plurality of first code blocks in order from small to large code lengths. quantity. Exemplarily, the plurality of first code blocks are sequentially sorted according to the order of information bits of the data to be transmitted (or segmentation order).
在一种可能的实施方式中,当发送端检测到同一码长的码块的码块数量为3个或3个以上时,则可以将码长相同的至少两个第一码块进行合并。In a possible implementation, when the sending end detects that the number of code blocks of code blocks with the same code length is 3 or more, then at least two first code blocks with the same code length can be combined.
示例性的,发送端可将按照信息比特顺序排列的多个第一码块中,排列位置相邻的、且码长相同的至少两个第一码块进行合并。For example, the transmitting end may combine at least two first code blocks that are adjacently arranged and have the same code length among multiple first code blocks arranged in information bit order.
在其他实施方式中,被合并的码块的数量为2个或2个以上时,该码块同样可以被合并,原理类似,这里不再赘述。In other embodiments, when the number of code blocks to be combined is 2 or more, the code blocks can also be combined. The principles are similar and will not be described again here.
在一种可能的实施方式中,发送端可将排列位置相邻的至少两个第一码块合并为至少一个第二码块,其中,第二码块的第二码长大于该被合并的第一码块的第一码长,且第二码块的第二码长为该被合并的第一码块的第一码长的两倍。In a possible implementation, the transmitting end can combine at least two first code blocks that are arranged adjacently into at least one second code block, wherein the second code length of the second code block is longer than the combined code block. The first code length of the first code block, and the second code length of the second code block is twice the first code length of the merged first code block.
这样,合并后的第一码块仍旧符合上述低时延分段原则,即:下一级码块的码长与上一级码块的码长相同,或者下一级码块的码长为上一级码块的码长的一半;以及最后一个码块的码长为最小母码长度。In this way, the merged first code block still complies with the above-mentioned low-latency segmentation principle, that is: the code length of the next-level code block is the same as the code length of the previous-level code block, or the code length of the next-level code block is Half the code length of the previous code block; and the code length of the last code block is the minimum mother code length.
在一种可能的实施方式中,发送端在对该至少两个第一码块进行合并后,还可剩余至少一个该码长为该第一码长的第一码块,这样可使经过本申请的S102的合并处理后的各码块的码长,与初始分段(例如S101)得到的多个码块的码长相同,该合并处理不会在原有分段结果对应的码长的基础上,新增码长或者减少码长。In a possible implementation, after the sending end combines the at least two first code blocks, at least one first code block with the code length of the first code block can be left, so that after this process The code length of each code block after the merging process of S102 applied for is the same as the code length of multiple code blocks obtained from the initial segmentation (such as S101). The merging process will not be based on the code length corresponding to the original segmentation result. , add a new code length or reduce the code length.
在一种可能的实施方式中,发送端若设置有最后一个码块的码长大于或等于p的条 件,则发送端在对至少两个第一码块进行合并后,可基于被合并的至少两个第一码块所包括的信息比特数,以及合并后的至少一个第二码块所包括的信息比特数,对最后一个码块的信息比特数进行更新,更新后的最后一个码块所包括的信息比特仍旧大于或等于p。In a possible implementation, if the sending end sets a condition that the code length of the last code block is greater than or equal to p, then the sending end can combine at least two first code blocks based on the merged at least The number of information bits included in the two first code blocks, and the number of information bits included in at least one second code block after merging, the number of information bits in the last code block is updated, and the number of information bits in the last updated code block is The included information bits are still greater than or equal to p.
示例性的,如上述实施方式所述,发送端按照上述低时延分段原则,对待传输数据进行分段,可得到多个第一码块。示例性的,发送端可以确定以下参数的取值,多个第一码块中的最大码长2 a,最小码长2 b,码长为2 x比特的码块所包括的信息比特数K x,a≤x≤b,a,b均为正整数,码长为2 x的码块的数量N x,以及p的取值(例如上述举例的10),以及K last。其中,K last表示多个第一码块中最后一个码块所包括的信息比特数,例如在上述举例中,K last=15。 For example, as described in the above embodiments, the sending end segments the data to be transmitted according to the above-mentioned low-latency segmentation principle to obtain multiple first code blocks. For example, the sending end can determine the values of the following parameters: the maximum code length 2 a in multiple first code blocks, the minimum code length 2 b , and the number of information bits K included in a code block with a code length of 2 x bits. x , a≤x≤b, a, b are all positive integers, the number N x of code blocks with a code length of 2 x , the value of p (such as 10 in the above example), and K last . Wherein, K last represents the number of information bits included in the last code block among the plurality of first code blocks. For example, in the above example, K last =15.
示例性的,发送端在通过S102来对多个第一码块进行合并时,可通过以下代码进行实现:For example, when the sending end combines multiple first code blocks through S102, it can be implemented through the following code:
Figure PCTCN2022116883-appb-000028
Figure PCTCN2022116883-appb-000028
在以上代码实现中,发送端可对多个第一码块按照码长从小到大的顺序,依次检测除最大码长之外的每个码长的码块的数量,如果发送端遍历到的第一码长为2 x比特的第一码块的数量大于等于3,且K last-(K x+1-2*K x)≥p,则说明将码长为2 x比特的2个第一码块合并为一个码长为2 x+1比特的码块时,仍旧可以确保更新后的最后一个码块所包括的信息比特数大于或等于p。那么发送端可以将码长为2 x比特的码块的数量减2,将码长为2 x+1比特的码块的数量加1,并且将最后一个码块所包括的信息比特数K last更新为K last-(K x+1-2*K x)。 In the above code implementation, the sending end can sequentially detect the number of code blocks of each code length except the maximum code length for multiple first code blocks in order from small to large code lengths. If the sending end traverses The number of the first code blocks with a first code length of 2 x bits is greater than or equal to 3, and K last -(K x+1 -2* K When a code block is combined into a code block with a code length of 2 x + 1 bits, it can still be ensured that the number of information bits included in the last updated code block is greater than or equal to p. Then the sender can reduce the number of code blocks with a code length of 2 x bits by 2, add 1 to the number of code blocks with a code length of 2 x+1 bits, and increase the number of information bits included in the last code block K Updated to K last -(K x+1 -2*K x ).
下面结合图5a来对上述实施方式的合并过程进行阐述:The merging process of the above embodiment will be described below with reference to Figure 5a:
如上文所述图5a(1)示例性示出了对待传输数据,基于低时延分段原则,进行分段后的分段结果,该分段结果可包括按照信息比特顺序排列的码块11至码块19。As mentioned above, Figure 5a(1) exemplarily shows the segmentation result after segmenting the data to be transmitted based on the low-latency segmentation principle. The segmentation result may include code blocks 11 arranged in the order of information bits. Go to code block 19.
这里K last的初始值为码块19所包括的信息比特数15,例如p=10。 The initial value of K last here is the number of information bits 15 included in the code block 19, for example, p=10.
示例性的,发送端按照码长从小到大的顺序,检测到图5a(1)所示的码长为64比特的码块的数量为3个,并且检测到码块17和码块18各包括20比特的待传输数据,而码长为128比特的码块所包括的信息比特数为41,那么发送端在将这里的码块17和码块18合并为一个码长为128比特的码块时,则缺少1(即41-20*2)比特的待传输数据,则该1比特的待传输数据可从最后一个码块,即码块19来补。这样,如图5a(2)所示,发送端可将图5a(1)所示的码块17和码块18以及将码块19所包括的15个信息比特中 的一个比特(例如首个比特,这里不做限制)合并为如图5a(2)所示的码长为128比特的码块20,码块19所包括的信息比特数从15更新为14。For example, the sending end detects that the number of code blocks with a code length of 64 bits shown in Figure 5a(1) is 3 in order from small to large code lengths, and detects that code block 17 and code block 18 each Including 20 bits of data to be transmitted, and the number of information bits included in a code block with a code length of 128 bits is 41, then the sender combines code block 17 and code block 18 here into a code with a code length of 128 bits block, there is a lack of 1 (i.e. 41-20*2) bits of data to be transmitted, and the 1 bit of data to be transmitted can be supplemented from the last code block, that is, code block 19. In this way, as shown in Figure 5a(2), the sending end can use the code block 17 and the code block 18 shown in Figure 5a(1) and one of the 15 information bits included in the code block 19 (for example, the first bits (not limited here) are combined into a code block 20 with a code length of 128 bits as shown in Figure 5a(2), and the number of information bits included in the code block 19 is updated from 15 to 14.
在一种可能的实施方式中,发送端在对相同的码长(例如码长1)的码块(例如码块A和码块B)进行合并时,对于缺少的需要补充的目标数量的信息比特,发送端从分段结果对应的码块中除当前待合并的码块之外的其他码块获取,并不限制为上文举例的从最后一个码块获取,具体从哪个码块获取可依据策略而确定,这里不做限制。In a possible implementation, when the transmitting end combines code blocks (for example, code block A and code block B) with the same code length (for example, code length 1), the missing target amount of information that needs to be supplemented is Bits, the sender obtains from other code blocks in the code block corresponding to the segmentation result except the current code block to be merged. It is not limited to obtaining from the last code block in the above example. The specific code block can be obtained from Determined according to the policy, there are no restrictions here.
示例性的,发送端在对相同的码长(例如码长1)的码块(例如码块A和码块B)进行合并时,对于缺少的需要补充的目标数量的信息比特,发送端从分段结果对应的码块中的最后一个码块获取,相比于从最后一个码块之外的码块获取,可提升编解码效率。For example, when the sending end combines code blocks (for example, code block A and code block B) with the same code length (for example, code length 1), for the missing target number of information bits that need to be supplemented, the sending end starts from Obtaining the last code block in the code block corresponding to the segmentation result can improve encoding and decoding efficiency compared to obtaining code blocks other than the last code block.
在一种可能的实施方式中,对于发送端在从其他码块(以最后一个码块为例说明,其他码块同理,这里不做限制)获取该目标数量的信息比特时的策略,该策略可以是按照例如这里举例的该最后一个码块,所包括的信息比特的排列顺序从前到后依次获取,也可以倒序(例如从后向前)获取,还可以是从排列第i(例如i=2,不限制)个的比特开始获取等,具体策略不做限制。In a possible implementation, for the sending end's strategy when obtaining the target number of information bits from other code blocks (taking the last code block as an example, the same applies to other code blocks, there is no restriction here), the The strategy can be to obtain the information bits in sequence from front to back according to the last code block in the example here, or in reverse order (for example, from back to front), or from the i-th arrangement (for example, i =2, no limit) bits can be obtained, etc., and the specific strategy is not limited.
例如,在上文举例中,发送端在对码块17和码块18合并时,对于缺少的需要补充的1比特,发送端从最后一个码块19处获取,采用的策略是按照排列顺序从前到后的策略,从而获取该码块19中的首个比特,来与码块17和码块18合并,得到码块20。For example, in the above example, when the sending end merges code block 17 and code block 18, for the missing 1 bit that needs to be supplemented, the sending end obtains it from the last code block 19, and the strategy adopted is to start from the previous one in the order of arrangement. The latter strategy is used to obtain the first bit in code block 19 and merge it with code block 17 and code block 18 to obtain code block 20.
在一种可能的实施方式中,发送端在将不同码块合并时,不论是否包括待补充的目标数量的信息比特,发送端在进行合并操作时,对于所需要合并的来自不同码块的数据之间的连接顺序,同样可依据预设策略来确定,这里对该预设策略也不做限制。In a possible implementation, when the sending end combines different code blocks, regardless of whether the target number of information bits to be supplemented is included, when the sending end performs the combining operation, the data from the different code blocks that need to be combined The connection sequence between them can also be determined based on the preset strategy, and there is no restriction on the preset strategy here.
示例性的,该策略可以是按照码块内数据的排列顺序按序拼接,例如图5a中码块17、码块18和码块19的1比特进行合并拼接,则发送端可以将码块17的64比特中在最后1比特与码块18的64比特中的首个比特连接,以及将从码块19获取的15个信息比特的待传输数据中所获取的首个比特,与码块18的64比特的最后一个比特进行连接,得到图5a(2)所示的码块20。For example, the strategy can be to splice in sequence according to the arrangement order of the data in the code block. For example, in Figure 5a, 1 bit of code block 17, code block 18 and code block 19 are merged and spliced, then the sending end can combine code block 17 The last 1 bit of the 64 bits is connected to the first bit of the 64 bits of code block 18, and the first bit obtained from the 15 information bits of the data to be transmitted obtained from code block 19 is connected to the first bit of code block 18 The last bit of the 64 bits is connected to obtain the code block 20 shown in Figure 5a(2).
在一种可能的实施方式中,发送端在将不同码块合并时,如果需要从其他码块获取相应目标数量的信息比特的待传输数据,则该目标数量的信息比特在合并到该不同码块中时,其合并位置同样不做限制,具体该目标数量的信息比特在合并后的码块中所处的位置可依据策略而定,本申请对此不做限制。In a possible implementation, when the sending end combines different code blocks, if it needs to obtain a corresponding target number of information bits of data to be transmitted from other code blocks, the target number of information bits will be merged into the different code blocks. When it is in a block, its merging position is also not limited. The specific position of the target number of information bits in the combined code block can be determined according to the strategy, and this application does not impose restrictions on this.
对于上述各个实施方式中所提及的任意策略可以是发送端与接收端预先约定的策略,这样,接收端可对本申请的发送端分段并编码后的码子,依据相应策略进行解码,以获取原始的待传输数据。Any strategy mentioned in the above embodiments can be a strategy pre-agreed between the sending end and the receiving end. In this way, the receiving end can segment and encode the codes of the sending end of this application and decode them according to the corresponding strategy to obtain The original data to be transferred.
示例性的,在图5a(1)中码块18包括20比特的待传输数据,发送端按照64比特的预设母码长度,对该20比特的待传输数据进行了补零,以得到码长为64的码块18。那么在从图5a(1)变化为图5(2)的过程中,在将码块17、码块18,以及码块19中的上述首个比特进行合并(这里为连接)时,该首个比特可以连接在码块18对应的比特序列(这里为补零后的64比特的比特序列)中的目标位置,该目标位置可以为码块18对应的64比特的比特序列中位于20比特的待传输数据之后的任何位置,不限于码块18的尾部。 例如该目标位置为码块18的尾部,则可以确保合并后的码块所对应的待传输数据的比特排列顺序不变,确保待传输数据的准确性,可提升编解码效率。For example, in Figure 5a(1), the code block 18 includes 20 bits of data to be transmitted. The sending end pads the 20 bits of data to be transmitted with zeros according to the preset mother code length of 64 bits to obtain the code. Code block 18 of length 64. Then in the process of changing from Figure 5a(1) to Figure 5(2), when the above-mentioned first bits in code block 17, code block 18, and code block 19 are combined (here connected), the first bit The bits can be connected to the target position in the bit sequence corresponding to code block 18 (here, the 64-bit bit sequence after zero padding). The target position can be the 20-bit position in the 64-bit bit sequence corresponding to code block 18. Any position after the data to be transmitted is not limited to the end of the code block 18. For example, if the target position is the end of code block 18, it can ensure that the bit order of the data to be transmitted corresponding to the combined code block remains unchanged, ensuring the accuracy of the data to be transmitted, and improving encoding and decoding efficiency.
在一种可能的实施方式中,图5a(2)所示的分段结果对应的信息比特,仍旧按照待传输数据的信息比特进行排序,以确保对分段结果的调整,不改变待传输数据,从而提升编解码效率。In a possible implementation, the information bits corresponding to the segmentation results shown in Figure 5a(2) are still sorted according to the information bits of the data to be transmitted, so as to ensure that the adjustment of the segmentation results does not change the data to be transmitted. , thereby improving encoding and decoding efficiency.
示例性的,发送端按照码长从小到大的顺序,检测到图5a(2)所示的码长为128比特的码块的数量为3个,并且检测到码长为128比特的码块包括41比特的待传输数据,而相邻的码长更长的码块14所包括的信息比特数为84,那么发送端在将2个码长为128比特的码块合并为一个码长为256比特的码块时,则缺少2(即84-41*2)比特的待传输数据,则该2比特的待传输数据可从最后一个码块,即码块19来补。Exemplarily, the sending end detects that the number of code blocks with a code length of 128 bits shown in Figure 5a(2) is 3, and detects a code block with a code length of 128 bits in order from small to large code lengths. Including 41 bits of data to be transmitted, and the number of information bits included in the adjacent code block 14 with a longer code length is 84, then the sending end combines two code blocks with a code length of 128 bits into one code block with a code length of When using a 256-bit code block, 2 (ie, 84-41*2) bits of data to be transmitted are missing, and the 2 bits of data to be transmitted can be filled from the last code block, that is, code block 19.
在一种可能的实施方式中,如图5a(2)所示,码块15、码块16、码块20均为码长为128比特的码块,那么在合并两个码块时,可合并相邻的码块15和码块16,也可以合并相邻的码块16和码块20。In a possible implementation, as shown in Figure 5a(2), code block 15, code block 16, and code block 20 are all code blocks with a code length of 128 bits. When merging two code blocks, The adjacent code block 15 and the code block 16 are merged, and the adjacent code block 16 and the code block 20 can also be merged.
在一种可能的实施方式中,如图5a(2)所示,码块15、码块16、码块20均为码长为128比特的码块,那么在合并两个码块时,也可以合并不相邻的码块15和码块20,合并后的码块可位于码块15或码块20对应的排列位置,优选位于码块15对应的排列位置,以降低码块的接收时延。In a possible implementation, as shown in Figure 5a(2), code block 15, code block 16, and code block 20 are all code blocks with a code length of 128 bits. Then when merging two code blocks, Non-adjacent code block 15 and code block 20 can be merged. The merged code block can be located at the arrangement position corresponding to code block 15 or code block 20, preferably at the arrangement position corresponding to code block 15, so as to reduce the reception time of the code block. extension.
在一种可能的实施方式中,为了确保合并码块后的码块仍旧满足上述低时延分段原则,以降低码块的接收时延,则发送端可对图5a(2)所示的码块15和码块16合并为图5a(3)所示的码长为256比特的码块21。In a possible implementation, in order to ensure that the code blocks after merging code blocks still meet the above-mentioned low-latency segmentation principle to reduce the reception delay of the code blocks, the transmitting end can perform the following steps as shown in Figure 5a(2) Code block 15 and code block 16 are combined into code block 21 with a code length of 256 bits as shown in Figure 5a(3).
在一种可能的实施方式中,对于码块15和码块16在合并为码块21时所缺少的2比特,发送端可直接从图5a(2)所示的码块19获取,以补充到码块21。In a possible implementation, for the 2 bits missing when code block 15 and code block 16 are combined into code block 21, the sending end can directly obtain it from code block 19 shown in Figure 5a(2) to supplement Go to code block 21.
在另一种可能的实施方式中,对于码块15和码块16在合并为码块21时所缺少的2比特,发送端还可间接从最后一个码块19来获取。In another possible implementation, the sending end can also indirectly obtain the 2 bits missing when code block 15 and code block 16 are combined into code block 21 from the last code block 19 .
示例性的,在从图5a(2)更新为图5a(3)所示的分段结果时,如图5a(2)所示,发送端可将码块15、码块16,以及码块20所包括的41个信息比特中的2个比特的待传输数据(例如在码块20中的41个信息比特中位于起始位置的2个信息比特),依次连接以合并为图5a(3)所示的码块21;以及发送端可将图5a(2)所示的码块19所包括的14个信息比特中,例如位于起始位置的2比特信息补给图5a(2)所示的码块20(例如该2比特信息补在补零后的码块20对应的数据的尾部,具体位置,不做限制,可依据策略确定),以使图5a(3)所示的码块20所包括的信息比特数仍旧为41,但是码块19所包括的信息比特数,从而图5a(2)所示的14更新为图5a(3)所示的12。For example, when updating from Figure 5a(2) to the segmentation result shown in Figure 5a(3), as shown in Figure 5a(2), the sending end can add code block 15, code block 16, and code block 2 bits of data to be transmitted among the 41 information bits included in the code block 20 (for example, the 2 information bits located at the starting position among the 41 information bits in the code block 20) are sequentially connected to merge into Figure 5a (3 ); and the sending end can supplement the 14 information bits included in the code block 19 shown in Figure 5a(2), for example, the 2-bit information located at the starting position as shown in Figure 5a(2) code block 20 (for example, the 2-bit information is padded at the end of the data corresponding to the zero-padded code block 20. The specific position is not limited and can be determined according to the strategy), so that the code block shown in Figure 5a(3) The number of information bits included in 20 is still 41, but the number of information bits included in code block 19, so 14 shown in Figure 5a(2) is updated to 12 shown in Figure 5a(3).
在一种可能的实施方式中,图5a(3)所示的分段结果对应的信息比特,可按照待传输数据的信息比特的顺序进行排序,以确保对分段结果的调整,不改变待传输数据,从而提升编解码效率。In a possible implementation, the information bits corresponding to the segmentation results shown in Figure 5a(3) can be sorted according to the order of the information bits of the data to be transmitted, so as to ensure that the adjustment of the segmentation results does not change the to-be-transmitted data. Transmit data to improve encoding and decoding efficiency.
示例性的,发送端按照码长从小到大的顺序,检测到图5a(3)所示的码长为256比特的码块的数量为3个,并且检测到码长为256比特的码块包括84比特的待传输数据,而相邻的码长更长的码块12所包括的信息比特数为168,那么发送端可以确定84*2=168, 使得发送端可以将两个码长为256比特的码块合并为一个码长为512比特的码块,而不需要更新最后一个码块(这里为码块19)的信息比特数。Exemplarily, the sending end detects that the number of code blocks with a code length of 256 bits shown in Figure 5a(3) is 3, and detects a code block with a code length of 256 bits in order from small to large code lengths. Including 84 bits of data to be transmitted, and the number of information bits included in the adjacent code block 12 with a longer code length is 168, then the sending end can determine 84*2=168, so that the sending end can convert the two code lengths into The 256-bit code blocks are combined into a code block with a code length of 512 bits, without updating the number of information bits in the last code block (here, code block 19).
示例性的,如图5a(4)所示,发送端可将图5a(3)所示的码块13和码块14合并为图5a(4)所示的码长为512比特的码块22,其中,码块22包括168比特的待传输数据。For example, as shown in Figure 5a(4), the sending end can combine the code block 13 and the code block 14 shown in Figure 5a(3) into the code block with a code length of 512 bits shown in Figure 5a(4). 22, wherein the code block 22 includes 168 bits of data to be transmitted.
在一种可能的实施方式中,图5a(4)所示的分段结果对应的信息比特,仍旧按照待传输数据的信息比特进行排序,可按照待传输数据的信息比特的顺序进行排序,以确保对分段结果的调整,不改变待传输数据,从而提升编解码效率。In a possible implementation, the information bits corresponding to the segmentation results shown in Figure 5a(4) are still sorted according to the information bits of the data to be transmitted. They can be sorted according to the order of the information bits of the data to be transmitted, so as to This ensures that adjustments to segmentation results do not change the data to be transmitted, thereby improving encoding and decoding efficiency.
示例性的,如图5a(1)所示,初始分段得到的分段结果中,码块总量为9,且小码块数量为8个,其中,码长为64比特的小码块的数量为3个;经过发送端对小码块的合并,如图5a(4)所示,更新后的分段结果中,码块总量为6个,且小码块数量为5个,且任意码长的小码块的数量均小于3,该“逢3进位法”降低了分段总量,以及降低了小码块数量,从而优化接收性能。For example, as shown in Figure 5a(1), in the segmentation result obtained from the initial segmentation, the total number of code blocks is 9, and the number of small code blocks is 8, of which the code length is 64 bits. The number of is 3; after the sending end merges the small code blocks, as shown in Figure 5a(4), in the updated segmentation result, the total number of code blocks is 6, and the number of small code blocks is 5, And the number of small code blocks of any code length is less than 3. This "carry every 3 method" reduces the total number of segments and the number of small code blocks, thereby optimizing the reception performance.
并且,在图5a的实施方式中,初始分段得到的图5a(1)所示的分段结果是符合低时延分段原则的,而经过本申请的方法,对分段结果进行优化后,如图5a(4)所示的分段结果中,该分段结果仍旧是符合低时延分段原则的,从而在接收端对该分段结果的Polar码编码结果进行处理时,可最大程度的降低译码时延和传输时延对接收端的系统整体时延的影响,可最大化的降低接收端的系统时延。该方法能够在分段结果对应的码块满足从大到小逐渐且连续减小的原则的同时,又能够实现对待传输数据进行最少数量的分段,使得待传输数据的分段数量,或者说待传输数据的分段结果对应的码块的数量最小。Moreover, in the implementation of Figure 5a, the segmentation result shown in Figure 5a(1) obtained from the initial segmentation is in line with the principle of low-latency segmentation, and after optimizing the segmentation result through the method of this application, , in the segmented result shown in Figure 5a(4), the segmented result still complies with the principle of low-latency segmentation, so when the receiving end processes the Polar code encoding result of the segmented result, it can maximize Minimizing the impact of decoding delay and transmission delay on the overall system delay at the receiving end can minimize the system delay at the receiving end. This method can achieve the minimum number of segments of the data to be transmitted while the code blocks corresponding to the segmentation results satisfy the principle of gradually and continuously decreasing from large to small, so that the number of segments of the data to be transmitted, or The number of code blocks corresponding to the segmentation result of the data to be transmitted is the smallest.
在上述示例1中,以分段结果为按照相应预设母码长度补零后的码块为例,来对各码块的合并过程进行了阐述。那么当分段结果为发送端对待传输数据进行分段而得到的多个数据段时,结合于例如图5a的实施例,在图5a(1)中,分段结果可包括按照信息比特顺序排序的对应于码块11至码块19的数据段1至数据段9。In the above example 1, the merging process of each code block is explained by taking the segmentation result as a code block after zero padding according to the corresponding preset mother code length. Then, when the segmentation results are multiple data segments obtained by segmenting the data to be transmitted by the sending end, combined with the embodiment of Figure 5a, for example, in Figure 5a(1), the segmentation results may include sorting according to the order of information bits. of data segments 1 to 9 corresponding to code blocks 11 to 19.
其中,数据段1至数据段9依次包括待传输数据中的512比特、168比特、84比特、84比特、41比特、41比特、20比特、20比特、15比特。数据段1至数据段9对应的编码后码长(即相应的预设母码长度)分别为图5a(1)所示的1024比特、512比特、256比特、128比特、128比特、64比特、64比特、64比特。那么发送端在对上述数据段1至数据段9进行相应的合并操作,以优化分段结果时,则可按照各数据段对应的预设母码长度,将对应相同预设母码长度的数据段(例如相邻的数据段,这里不做限制)进行合并(这里为连接),以减少分段数,具体合并过程的原理,与图5a实施例中以分段结果为码块的为例所介绍的合并过程的原理类似,这里不再赘述。以及发送端在合并对应相同码长的数据段时所依据的各个策略均与上述示例1描述的相应策略的原理相同,这里不再赘述。Among them, data segment 1 to data segment 9 sequentially include 512 bits, 168 bits, 84 bits, 84 bits, 41 bits, 41 bits, 20 bits, 20 bits, and 15 bits in the data to be transmitted. The encoded code lengths corresponding to data segments 1 to 9 (i.e., the corresponding preset mother code lengths) are 1024 bits, 512 bits, 256 bits, 128 bits, 128 bits, and 64 bits as shown in Figure 5a(1) respectively. , 64 bit, 64 bit. Then when the sending end performs the corresponding merging operation on the above-mentioned data segments 1 to 9 to optimize the segmentation results, the data corresponding to the same preset mother code length can be combined according to the preset mother code length corresponding to each data segment. Segments (such as adjacent data segments, there are no restrictions here) are merged (connected here) to reduce the number of segments. The specific principle of the merging process is the same as the example in the embodiment of Figure 5a where the segmentation results are code blocks. The principles of the merging process introduced are similar and will not be described again here. The strategies used by the sending end when merging data segments corresponding to the same code length are all the same as the principles of the corresponding strategies described in Example 1 above, and will not be described again here.
示例2Example 2
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下, 发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
示例性的,例如最小码长为2 a比特,最大码长为2 b比特,该预设母码长度的个数不限制为(b-a+1),该预设母码长度的个数可以小于(b-a+1),其中,a、b为正整数,且a<b。 For example, for example, the minimum code length is 2 a bits and the maximum code length is 2 b bits. The number of preset mother code lengths is not limited to (b-a+1). The number of preset mother code lengths is not limited to (b-a+1). It can be less than (b-a+1), where a and b are positive integers, and a<b.
在一种可能的实施方式中,设定最小码长为64比特,最大码长为1024比特,初始分段得到的分段结果中,得到的多个第一码块所对应的码长可以包括:1024比特、64比特。可选地,该码长还可以包括位于64比特和1024比特之间、且为2的整数次方的至少一个码长。In a possible implementation, the minimum code length is set to 64 bits and the maximum code length is 1024 bits. In the segmentation results obtained from the initial segmentation, the code lengths corresponding to the multiple first code blocks obtained may include : 1024 bit, 64 bit. Optionally, the code length may also include at least one code length between 64 bits and 1024 bits and an integer power of 2.
示例性的,图5b(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, FIG. 5b(1) illustrates the initial segmentation result of this embodiment.
如图5a(1)所示,发送端依据上述最小码长和最大码长,对包括985比特的待传输数据进行分段,分段得到8个码块,8个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块301、码长为512比特的码块302、码长为256比特的码块303、码长为256比特的码块304、码长为256比特的码块305、码长为64比特的码块306、码长为64比特的码块307、码长为64比特的码块308。As shown in Figure 5a(1), the sending end segments the data to be transmitted including 985 bits based on the above minimum code length and maximum code length, and obtains 8 code blocks according to the segmentation of the data to be transmitted. The information bits are arranged in sequence, including code block 301 with a code length of 1024 bits, code block 302 with a code length of 512 bits, code block 303 with a code length of 256 bits, code block 304 with a code length of 256 bits, and code block 304 with a code length of 256 bits. The code block 305 is 256 bits long, the code block 306 is 64 bits long, the code block 307 is 64 bits long, and the code block 308 is 64 bits long.
例如,预设母码长度包括1024比特、512比特、256比特、64比特。发送端按照待传输数据的信息比特顺序和预设母码长度,对待传输数据进行进行分段,得到上述码块301至码块309。其中,如图5b(1)中的K x所示,除最后一个码长为64比特的码块308之外,码长为1024比特、512比特、256比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、20比特。最后一个码块308的码长为64比特,但是其包括的信息比特数为13(该取值大于取值为10的p)。 For example, the default mother code length includes 1024 bits, 512 bits, 256 bits, and 64 bits. The sending end segments the data to be transmitted according to the information bit sequence and the preset mother code length of the data to be transmitted, and obtains the above-mentioned code blocks 301 to 309. Among them, as shown by K The number of information bits included is 512 bits, 168 bits, 84 bits, and 20 bits. The code length of the last code block 308 is 64 bits, but the number of information bits it includes is 13 (this value is greater than p, which has a value of 10).
示例性的,发送端可通过S102对图5b(1)所示的分段结果进行合并,示例性的,发送端按照码长从小到大的顺序,检测到图5b(1)所示的码长为64比特的码块的数量为3个,可将码块306和码块307合并为一个如图5b(2)所示的码长为128比特的码块309。这里图5b(1)所示的初始的分段结果中不包括图5b(2)所示的码长为128比特的码块309。在其他实施例中,如果依据设定的码长为128比特的码块所至少包括的信息比特数,来进行上述合并的操作时(例如码长为128比特的码块需要包括41个信息比特),缺少相应目标数量(这里为1个)的信息比特时,则发送端可从例如图5b(1)所示的除码块306和码块307之外的其他码块(例如最后一个码块308)处来获取相应目标数量的信息比特,具体补缺策略与图5a的实施例的原理类似,这里不再赘述。For example, the sending end can merge the segmentation results shown in Figure 5b(1) through S102. For example, the sending end detects the codes shown in Figure 5b(1) in order from small to large code lengths. The number of code blocks with a length of 64 bits is 3, and the code block 306 and the code block 307 can be combined into a code block 309 with a code length of 128 bits as shown in Figure 5b(2). Here, the initial segmentation result shown in Figure 5b(1) does not include the code block 309 with a code length of 128 bits shown in Figure 5b(2). In other embodiments, if the above-mentioned combining operation is performed based on the set number of information bits included in a code block with a code length of 128 bits (for example, a code block with a code length of 128 bits needs to include 41 information bits) ), when there is a lack of information bits corresponding to the target number (here 1), the sending end can, for example, select from other code blocks (such as the last code block) except code block 306 and code block 307 shown in Figure 5b(1) Block 308) is used to obtain the corresponding target number of information bits. The specific filling strategy is similar to the principle of the embodiment of FIG. 5a and will not be described again here.
示例性的,发送端按照码长从小到大的顺序,检测到图5b(2)所示的码长为256比特的码块的数量为3个,可将码块303和码块304,或者,将码块304和码块306合并为一个如图5b(3)所示的码长为512比特的码块310(这里的码块310由码块303和码块304合并而成)。这样,合并后的码块310所包括的信息比特数,与图5b(3)所示的码块302所包括的信息比特数相同,均为168。For example, the sending end detects that the number of code blocks with a code length of 256 bits shown in Figure 5b(2) is 3 in order from small to large code lengths, and can add code block 303 and code block 304, or , the code block 304 and the code block 306 are merged into a code block 310 with a code length of 512 bits as shown in Figure 5b(3) (the code block 310 here is composed of the code block 303 and the code block 304). In this way, the number of information bits included in the combined code block 310 is the same as the number of information bits included in the code block 302 shown in Figure 5b(3), which is 168.
在图5b的实施方式中,在对初始的分段结果进行合并时,合并有初始的分段结果不包括的码长,例如上述码块309的码长(128比特)。该实施方式可实现对2的正整数次方的码长的新增。In the embodiment of FIG. 5b , when the initial segmentation results are combined, code lengths not included in the initial segmentation results are combined, such as the code length of the above-mentioned code block 309 (128 bits). This implementation can achieve the addition of code lengths to the positive integer power of 2.
示例性的,如图5b(1)所示,初始分段得到的分段结果中,码块总量为8,且小码块数量为7个,其中,码长为64比特的小码块的数量为3个,码长为256比特的小码块的数量也为3个;经过发送端对小码块的合并,如图5b(3)所示,更新后的分段结果中,码块总量为6个,且小码块数量为5个,且任意码长的小码块的数量均小于3,该“逢3进位法”降低了分段总量,以及降低了小码块数量,从而优化接收性能。For example, as shown in Figure 5b(1), in the segmentation result obtained from the initial segmentation, the total number of code blocks is 8, and the number of small code blocks is 7, of which the code length is 64 bits. The number of small code blocks is 3, and the number of small code blocks with a code length of 256 bits is also 3; after the sending end merges the small code blocks, as shown in Figure 5b(3), in the updated segmentation result, the code The total number of blocks is 6, and the number of small code blocks is 5, and the number of small code blocks of any code length is less than 3. This "3-carry method" reduces the total number of segments and the number of small code blocks. quantity to optimize reception performance.
示例3Example 3
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
在一种可能的实施方式中,对于发送端通过S101分段得到按照待传输数据的信息比特排序多个第一码块,该多个第一码块按照该排序对应的码长,可以是从小到大逐渐且连续增大的排序,使得下一级码块的码长与上一级码块的码长相同,或者下一级码块的码长为上一级码块的码长的两倍。In a possible implementation, for the sending end to obtain multiple first code blocks according to the information bits of the data to be transmitted through S101 segmentation, the code lengths corresponding to the multiple first code blocks according to the ordering can be from The ordering is gradually and continuously increasing, so that the code length of the next level code block is the same as the code length of the upper level code block, or the code length of the next level code block is two times the code length of the upper level code block. times.
示例性的,图5c(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, FIG. 5c(1) illustrates the initial segmentation result of this embodiment.
如图5c(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括985比特的待传输数据进行分段,分段得到9个码块,9个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为64比特的的码块201、码长为64比特的的码块202、码长为64比特的的码块203、码长为128比特的的码块204、码长为128比特的的码块205、码长为256比特的码块206、码长为256比特的码块207、码长为512比特的码块208、码长为1024比特的码块209。As shown in Figure 5c(1), the sending end segments the data to be transmitted including 985 bits based on the minimum code length (for example, 64 bits) and the maximum code length (for example, 1024 bits), and obtains 9 code blocks by segmenting , the 9 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 201 with a code length of 64 bits, the code block 202 with a code length of 64 bits, and the code block with a code length of 64 bits. 203. Code block 204 with a code length of 128 bits, code block 205 with a code length of 128 bits, code block 206 with a code length of 256 bits, code block 207 with a code length of 256 bits, and code block 207 with a code length of 512 bits. Code block 208 and code block 209 with a code length of 1024 bits.
如图5c(1)中的K x所示,除首个码长为64比特的码块201之外,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、41比特、20比特。首个码长为64比特的码块201包括的信息比特数为15(该取值大于取值为10的p)。 As shown by K The number of information bits included are 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits. The number of information bits included in the first code block 201 with a code length of 64 bits is 15 (this value is greater than p, which has a value of 10).
其中,Kx的定义可参照示例1的相关介绍,这里不再赘述。Among them, the definition of Kx can refer to the relevant introduction in Example 1, and will not be repeated here.
那么发送端在对图5c(1)所示的码长相同的至少两个码块进行合并时,同样可按照码长从小到大的顺序,依次检测上述多个第一码块中每个码长的码块数量。在检测到同一码长的码块数量大于等于3时,则将排列位置相邻的至少两个第一码块进行合并,具体策略与上述示例1类似,具体合并过程的原理,与图5a的合并过程类似,也属于“逢3进位法”,具体参照示例1的相关介绍,这里不再赘述。这样,发送端对图5c(1)所示的分段结果中,码长相同的至少两个码块进行合并后,得到如图5c(2)所示的分段结果,该分段结果包括按照待传输数据的信息比特排序的码长依次为64比特、128比特、256比特、512比特、512比特、1024比特的6个码块,上述按照待传输数据的信息比特排序的6个码块分别包括的信息比特数Kx依次为12、41、84、168、168、512。Then when the transmitting end combines at least two code blocks with the same code length shown in Figure 5c(1), it can also detect each code in the above multiple first code blocks in sequence in order of code length from small to large. The number of long code blocks. When it is detected that the number of code blocks with the same code length is greater than or equal to 3, then at least two first code blocks with adjacent arrangement positions are merged. The specific strategy is similar to the above example 1. The principle of the specific merging process is the same as that in Figure 5a The merging process is similar and also belongs to the "carry every 3 method". For details, please refer to the relevant introduction in Example 1 and will not go into details here. In this way, after the sending end merges at least two code blocks with the same code length in the segmentation result shown in Figure 5c(1), the segmentation result shown in Figure 5c(2) is obtained. The segmentation result includes The code lengths sorted according to the information bits of the data to be transmitted are 64 bits, 128 bits, 256 bits, 512 bits, 512 bits, and 1024 bits. The above 6 code blocks sorted according to the information bits of the data to be transmitted are The numbers of information bits Kx included are 12, 41, 84, 168, 168, and 512 in order.
示例性的,如图5c(1)所示,初始分段得到的分段结果中,码块总量为9,且小码块数量为8个,其中,码长为64比特的小码块的数量为3个;经过发送端对小码块的合并,如图5c(2)所示,更新后的分段结果中,码块总量为6个,且小码块数量为5个, 且任意码长的小码块的数量均小于3,该“逢3进位法”降低了分段总量,以及降低了小码块数量,从而优化接收性能。For example, as shown in Figure 5c(1), in the segmentation result obtained from the initial segmentation, the total number of code blocks is 9, and the number of small code blocks is 8, of which the code length is 64 bits. The number of is 3; after the sending end merges the small code blocks, as shown in Figure 5c(2), in the updated segmentation result, the total number of code blocks is 6, and the number of small code blocks is 5, And the number of small code blocks of any code length is less than 3. This "carry every 3 method" reduces the total number of segments and the number of small code blocks, thereby optimizing the reception performance.
示例4Example 4
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
在一种可能的实施方式中,对于发送端通过S101分段得到按照待传输数据的信息比特排序多个第一码块,该多个第一码块按照该排序对应的码长,可以是不遵循从小到大的排列顺序,或者不遵循从大到小的排列顺序。In a possible implementation, for the sending end to obtain a plurality of first code blocks according to the information bits of the data to be transmitted through S101 segmentation, the code lengths corresponding to the plurality of first code blocks according to the ordering may be different. Follow the sorting order from small to large, or not follow the sorting order from large to small.
示例性的,图5d(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, FIG. 5d(1) illustrates the initial segmentation result of this embodiment.
如图5d(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括985比特的待传输数据进行分段,分段得到8个码块,8个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块401、码长为256比特的码块402、码长为256比特的码块403、码长为256比特的码块404、码长为512比特的码块405、码长为64比特的码块406、码长为64比特的码块407、码长为64比特的码块408。As shown in Figure 5d(1), the sending end segments the data to be transmitted including 985 bits based on the minimum code length (for example, 64 bits) and the maximum code length (for example, 1024 bits), and obtains 8 code blocks from the segments. , the 8 code blocks are arranged in sequence according to the order of the information bits of the data to be transmitted, followed by the code block 401 with a code length of 1024 bits, the code block 402 with a code length of 256 bits, the code block 403 with a code length of 256 bits, and the code block 403 with a code length of 256 bits. The code block 404 is 256 bits long, the code block 405 is 512 bits long, the code block 406 is 64 bits long, the code block 407 is 64 bits long, and the code block 408 is 64 bits long.
示例性的,如图5b(1)中的K x所示,除最后一个码长为64比特的码块408之外,码长为1024比特、512比特、256比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、20比特。最后一个码块308的码长为64比特,但是其包括的信息比特数为13(该取值大于取值为10的p)。 Illustratively, as shown by K The number of information bits included are 512 bits, 168 bits, 84 bits, and 20 bits respectively. The code length of the last code block 308 is 64 bits, but the number of information bits it includes is 13 (this value is greater than p, which has a value of 10).
示例性的,发送端可通过S102对图5d(1)所示的分段结果进行合并,示例性的,发送端在对相同码长的码块进行合并时,可以不按照码长从小到大的顺序进行合并,而可以按照码长从大到小,或者直接按照分段结果中码块的排列顺序,来依次查找码长相同的至少两个(例如排列位置相邻,这里不做限制)码块进行合并。For example, the sending end can merge the segmentation results shown in Figure 5d(1) through S102. For example, when the sending end merges code blocks with the same code length, the sending end does not need to follow the code length from small to large. Merge in order, and you can search for at least two code blocks with the same code length in order from large to small, or directly according to the order of the code blocks in the segmentation result (for example, the arrangement positions are adjacent, there is no restriction here) Code blocks are merged.
示例性的,如图5d(2)所示,发送端检测到图5d(1)所示的码长为256比特的码块的数量为3个,可将码块402和码块403,或者,将码块403和码块404合并为一个如图5d(3)所示的码长为512比特的码块409(这里的码块409由码块402和码块403合并而成)。这样,合并后的码块409所包括的信息比特数,与图5d(2)所示的码块405所包括的信息比特数相同,均为168,因此,这里在合并码块时,无需从最后一个码块408处补信息比特数。For example, as shown in Figure 5d(2), the sending end detects that the number of code blocks with a code length of 256 bits shown in Figure 5d(1) is 3, and code block 402 and code block 403 can be used, or , the code block 403 and the code block 404 are merged into a code block 409 with a code length of 512 bits as shown in Figure 5d(3) (the code block 409 here is composed of the code block 402 and the code block 403). In this way, the number of information bits included in the combined code block 409 is the same as the number of information bits included in the code block 405 shown in Figure 5d(2), which is 168. Therefore, when merging the code blocks, there is no need to start from The number of information bits is supplemented at the last code block 408.
示例性的,如图5d(2)所示,发送端可检测到码长为64比特的码块的数量为3个,可将码块406和码块407合并为一个如图5d(3)所示的码长为128比特的码块410,这里,图5d(1)所示的初始的分段结果中不包括码长为128比特的码块,这里可直接进行上述合并的操作(如图5d(3)所示,码块410所包括的信息比特数为40),或者,也可以依据设定的码长为128比特的码块至少包括的信息比特数,来进行上述合并的操作,在缺少信息比特时,可从例如最后一个码块,例如图5d(2)所示的码块408处来补缺,具体补缺策略与示例1的原理类似,这里不再赘述。For example, as shown in Figure 5d(2), the sending end can detect that the number of code blocks with a code length of 64 bits is 3, and can merge code blocks 406 and 407 into one, as shown in Figure 5d(3) The code block 410 with a code length of 128 bits is shown. Here, the initial segmentation result shown in Figure 5d(1) does not include the code block with a code length of 128 bits. The above merging operation can be directly performed here (such as As shown in Figure 5d(3), the number of information bits included in the code block 410 is 40), or the above-mentioned merging operation can also be performed based on the at least number of information bits included in the code block with a set code length of 128 bits. , when there is a lack of information bits, the gap can be filled from, for example, the last code block, such as code block 408 shown in Figure 5d(2). The specific gap filling strategy is similar to the principle of Example 1, and will not be described again here.
示例性的,如图5d(1)所示,初始分段得到的分段结果中,码块总量为8,且小码块数量为7个,其中,码长为64比特的小码块的数量为3个,码长为256比特的小码块的数量也为3个;经过发送端对小码块的合并,如图5d(3)所示,更新后的分段结果中,码块总量为6个,且小码块数量为5个,且任意码长的小码块的数量均小于3,该“逢3进位法”降低了分段总量,以及降低了小码块数量,从而优化接收性能。For example, as shown in Figure 5d(1), in the segmentation result obtained from the initial segmentation, the total number of code blocks is 8, and the number of small code blocks is 7, of which the code length is 64 bits. The number is 3, and the number of small code blocks with a code length of 256 bits is also 3; after the sending end merges the small code blocks, as shown in Figure 5d(3), in the updated segmentation result, the code The total number of blocks is 6, and the number of small code blocks is 5, and the number of small code blocks of any code length is less than 3. This "3-carry method" reduces the total number of segments and the number of small code blocks. quantity to optimize reception performance.
示例5Example 5
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
示例性的,图5e(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, FIG. 5e(1) illustrates the initial segmentation results of this embodiment.
如图5e(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括985比特的待传输数据进行分段,分段得到10个码块,10个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块501、码长为512比特的码块502、码长为256比特的码块503、码长为256比特的码块504、码长为128比特的码块505、码长为64比特的码块506至码块509、码长为64比特的码块510。As shown in Figure 5e(1), the sending end segments the data to be transmitted including 985 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 10 code blocks by segmenting , the 10 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 501 with a code length of 1024 bits, the code block 502 with a code length of 512 bits, the code block 503 with a code length of 256 bits, and the code block 503 with a code length of 256 bits. The code block 504 is 256 bits long, the code block 505 is 128 bits long, the code blocks 506 to 509 are 64 bits long, and the code block 510 is 64 bits long.
示例性的,如图5e(1)中的K x所示,除最后一个码长为64比特的码块510之外,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、41比特、20比特。最后一个码块510的码长为64比特,但是其包括的信息比特数为16(该取值大于取值为10的p)。 Exemplarily, as shown by K The number of information bits included in each code block is 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits. The code length of the last code block 510 is 64 bits, but the number of information bits it includes is 16 (this value is greater than p, which has a value of 10).
在一种可能的实施方式中,发送端可对图5e(1)所示的分段结果,按照码长从小到大的顺序,将码长大于或等于3个的码块,合并为相邻的更大码长的码块,合并过程如图5e(2)至图5e(4)所示。In a possible implementation, the sending end can merge the code blocks with code lengths greater than or equal to 3 into adjacent code blocks in order from small to large code lengths for the segmentation results shown in Figure 5e(1). For code blocks with larger code length, the merging process is shown in Figure 5e(2) to Figure 5e(4).
示例性的,如图5e(2)所示,发送端可将图5e(1)所示的码块506和码块507合并为图5e(2)所示的码长为128比特的码块511,以及将图5e(1)所示的码块508和码块509合并为图5e(2)所示的码长为128比特的码块512,同时将码块510的信息比特数减2,使得码块510所包括的信息比特数从图5e(1)所示的16更新为图5e(2)所示的14。For example, as shown in Figure 5e(2), the sending end can combine the code block 506 and the code block 507 shown in Figure 5e(1) into the code block with a code length of 128 bits shown in Figure 5e(2). 511, and merge the code block 508 and the code block 509 shown in Figure 5e(1) into the code block 512 with a code length of 128 bits shown in Figure 5e(2), and at the same time reduce the number of information bits in the code block 510 by 2 , so that the number of information bits included in the code block 510 is updated from 16 as shown in Figure 5e(1) to 14 as shown in Figure 5e(2).
示例性的,如图5e(3)所示,发送端可将图5e(2)所示的码块505和码块511合并为图5e(3)所示的码长为256比特的码块513,同时将码块510的信息比特数减2,使得码块510所包括的信息比特数从图5e(2)所示的14更新为图5e(2)所示的12(码块510所包括的信息比特数仍旧大于p,这里p=10)。For example, as shown in Figure 5e(3), the sending end can combine the code block 505 and the code block 511 shown in Figure 5e(2) into the code block with a code length of 256 bits shown in Figure 5e(3). 513, at the same time, the number of information bits in the code block 510 is reduced by 2, so that the number of information bits included in the code block 510 is updated from 14 shown in Figure 5e(2) to 12 shown in Figure 5e(2) (the number of information bits included in the code block 510 The number of information bits included is still greater than p, where p=10).
示例性的,如图5e(4)所示,发送端可将图5e(3)所示的码块503和码块504合并为图5e(4)所示的码长为512比特的码块514。从而将图5e(1)所示的初始的分段结果,优化为图5e(4)所示的分段结果。For example, as shown in Figure 5e(4), the sending end can combine the code block 503 and the code block 504 shown in Figure 5e(3) into the code block with a code length of 512 bits shown in Figure 5e(4). 514. Thus, the initial segmentation result shown in Figure 5e(1) is optimized to the segmentation result shown in Figure 5e(4).
在另一种可能的实施方式中,发送端可对图5e(1)所示的分段结果,按照码长从小到大的顺序,将码长大于或等于3个的码块,合并为更大码长的码块,合并过程如图5e(5)至图5e(6)所示。In another possible implementation, the sending end can combine the segmentation results shown in Figure 5e(1) into more code blocks with code lengths greater than or equal to 3 in order from small to large. For code blocks with large code lengths, the merging process is shown in Figure 5e(5) to Figure 5e(6).
示例性的,如图5e(5)所示,发送端可将图5e(1)所示的码块506至码块509合并为 图5e(5)所示的码长为256比特的码块515,并且,码块515所包括的信息比特数与码块503、码块504所分别包括的信息比特数相同,均为84。同时发送端还可将码块510的信息比特数减4,使得码块510所包括的信息比特数从图5e(1)所示的16更新为图5e(2)所示的12,以满足合并后的码块515对应的码长为256比特所要求包括的信息比特数,这里为84。For example, as shown in Figure 5e(5), the sending end can combine the code blocks 506 to 509 shown in Figure 5e(1) into the code block shown in Figure 5e(5) with a code length of 256 bits. 515, and the number of information bits included in code block 515 is the same as the number of information bits included in code block 503 and code block 504 respectively, which are both 84. At the same time, the transmitting end can also reduce the number of information bits in the code block 510 by 4, so that the number of information bits included in the code block 510 is updated from 16 as shown in Figure 5e(1) to 12 as shown in Figure 5e(2) to satisfy The code length corresponding to the combined code block 515 is the required number of information bits included in 256 bits, which is 84 here.
示例性的,如图5e(6)所示,发送端可将图5e(5)所示的码块503和码块504合并为图5e(6)所示的码长为512比特的码块514。从而将图5e(1)所示的初始的分段结果,优化为图5e(6)所示的分段结果。For example, as shown in Figure 5e(6), the sending end can combine the code block 503 and the code block 504 shown in Figure 5e(5) into a code block with a code length of 512 bits shown in Figure 5e(6). 514. Thus, the initial segmentation result shown in Figure 5e(1) is optimized to the segmentation result shown in Figure 5e(6).
在本示例中,当码长相同的多个码块,可合并为相邻的较大码长的码块(例如图5e中,码长为64的码块可合并为相邻的码长为128比特的码块),或比相邻码块的码长更大的码长的码块(例如图5e中,码长为64的码块可合并为相邻的128比特的码长更大的256比特的码长的码块),均可实现小码块的数量减小,以及整体码块数量的减小。In this example, when multiple code blocks with the same code length can be merged into adjacent code blocks with a larger code length (for example, in Figure 5e, a code block with a code length of 64 can be merged into an adjacent code block with a code length of 128-bit code block), or a code block with a larger code length than the adjacent code block (for example, in Figure 5e, a code block with a code length of 64 can be merged into an adjacent code block with a larger code length of 128 bits) (code blocks with a code length of 256 bits), both the number of small code blocks and the number of overall code blocks can be reduced.
示例6Example 6
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
示例性的,图5f(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, FIG. 5f(1) illustrates the initial segmentation result of this embodiment.
如图5f(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括945比特的待传输数据进行分段,分段得到8个码块,8个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块601、码长为512比特的码块602、码长为256比特的码块603、码长为128比特的码块604至码块607、码长为64比特的码块608。As shown in Figure 5f(1), the sending end segments the data to be transmitted including 945 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 8 code blocks by segmenting , the 8 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 601 with a code length of 1024 bits, the code block 602 with a code length of 512 bits, the code block 603 with a code length of 256 bits, and the code block 603 with a code length of 256 bits. The code blocks 604 to 607 are 128 bits long, and the code block 608 is 64 bits long.
示例性的,如图5f(1)中的K x所示,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、41比特、17比特。设置最后一个码块608包括的信息比特数大于等于p,这里p=10。 Exemplarily, as shown by K 168 bits, 84 bits, 41 bits, 17 bits. The number of information bits included in the last code block 608 is set to be greater than or equal to p, where p=10.
在一种可能的实施方式中,发送端可对图5f(1)所示的分段结果,码长大于或等于3个的码块,合并为更大码长的码块。In a possible implementation, the sending end can combine the segmentation results shown in Figure 5f(1) and the code blocks with a code length greater than or equal to 3 into code blocks with a larger code length.
示例性的,如图5f(2)所示,发送端可按照图5f(1)所示的码长为512比特的码块602所包括的信息比特数(这里为168),将图5f(1)所示的码块604至码块607合并为图5f(2)所示的码长为512比特的码块609,同时将码块608的信息比特数减4,使得码块608所包括的信息比特数从图5f(1)所示的17更新为图5f(2)所示的13,以及合并后的码块609所包括的信息比特数与码块602所包括的信息比特数相同,关于信息比特的具体合并策略,与图5a的相关实施例类似,这里不再对信息比特的合并策略进行赘述。For example, as shown in Figure 5f(2), the sending end can change the number of information bits (here 168) included in the code block 602 with a code length of 512 bits as shown in Figure 5f(1) to Figure 5f(1). The code blocks 604 to 607 shown in 1) are combined into the code block 609 with a code length of 512 bits shown in Figure 5f(2), and the number of information bits in the code block 608 is reduced by 4, so that the code block 608 includes The number of information bits is updated from 17 as shown in Figure 5f(1) to 13 as shown in Figure 5f(2), and the number of information bits included in the combined code block 609 is the same as the number of information bits included in the code block 602 , Regarding the specific merging strategy of information bits, it is similar to the related embodiment of Figure 5a, and the merging strategy of information bits will not be described in detail here.
这样,在本实施方式中,可将码长相同的多个第一码块合并为码长更长的码块,并且使被合并的第一码块对应的码长,在合并后的码块中不再存在,即,本实施方式,在优化分段结果时,在对码长相同的码块进行合并时,对于码长相同的多个第一码块,可不必保留至少一个码长的码块不进行合并,这样,可提升分段结果的优化效率,从而提 升分段效率。那么本实施方式的分段结果的优化方法,可减少初始的分段结果中的码长。In this way, in this embodiment, multiple first code blocks with the same code length can be merged into a code block with a longer code length, and the code length corresponding to the merged first code block is equal to the code length of the merged code block. , that is, in this embodiment, when optimizing the segmentation results, when merging code blocks with the same code length, it is not necessary to retain at least one code length for multiple first code blocks with the same code length. Code blocks are not merged, so the optimization efficiency of segmentation results can be improved, thereby improving segmentation efficiency. Then the segmentation result optimization method of this embodiment can reduce the code length in the initial segmentation result.
示例7Example 7
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
示例性的,图5g(1)为示例性示出的本实施方式的初始的分段结果。Exemplarily, Figure 5g(1) illustrates the initial segmentation results of this embodiment.
如图5g(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括944比特的待传输数据进行分段,分段得到8个码块,8个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块701、码长为512比特的码块702、码长为256比特的码块703和码块704、码长为128比特的码块705、码长为64比特的码块706至码块708。As shown in Figure 5g(1), the sending end segments the data to be transmitted including 944 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 8 code blocks by segmenting , the 8 code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by the code block 701 with a code length of 1024 bits, the code block 702 with a code length of 512 bits, the code block 703 with a code length of 256 bits, and the code block 703 with a code length of 256 bits. Block 704, code block 705 with a code length of 128 bits, code blocks 706 to 708 with a code length of 64 bits.
示例性的,如图5g(1)中的K x所示,除最后一个码长为64比特的码块708之外,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、41比特、20比特。最后一个码块,这里为码块708的包括的信息比特数为15(该取值大于取值为10的p)。 Exemplarily, as shown by K The number of information bits included in each code block is 512 bits, 168 bits, 84 bits, 41 bits, and 20 bits. The last code block, here code block 708, includes 15 information bits (this value is greater than p, which has a value of 10).
在一种可能的实施方式中,发送端可对图5g(1)所示的分段结果,按照码长从小到大的顺序,确定码长大于或等于2个的码块,并将该至少两个码块合并为更大码长的码块。In a possible implementation, the sending end can determine the code blocks with a code length greater than or equal to 2 in order of code length from small to large based on the segmentation results shown in Figure 5g(1), and add the code blocks that are at least 2 Two code blocks are merged into a code block with a larger code length.
示例性的,如图5g(2)所示,发送端可按照图5g(1)所示的码长为128比特的码块705所包括的信息比特数(这里为41),将图5g(1)所示的码块706和码块707合并为图5g(2)所示的码长为512比特的码块709,同时将码块708的信息比特数减1,使得合并后的码块709所包括的信息比特数与码块705所包括的信息比特数相同,关于信息比特的具体合并策略,与图5a的相关实施例类似,这里不再对信息比特的合并策略进行赘述。For example, as shown in Figure 5g(2), the sending end can change the number of information bits (here 41) included in the code block 705 with a code length of 128 bits as shown in Figure 5g(1) to Figure 5g( The code blocks 706 and 707 shown in 1) are merged into the code block 709 with a code length of 512 bits shown in Figure 5g(2), and the number of information bits in the code block 708 is reduced by 1, so that the combined code block The number of information bits included in 709 is the same as the number of information bits included in code block 705. The specific merging strategy of the information bits is similar to the relevant embodiment of Figure 5a, and the merging strategy of the information bits will not be described again here.
示例性的,如图5g(2)所示,发送端可检测到码长为128比特的码块的数量为2个,发送端可将码块705和码块709合并为一个如图5g(3)所示的码长为256比特的码块710,同时将码块708的信息比特数减2,使得合并后的码块710所包括的信息比特数与码长为256比特的码块704所包括的信息比特数相同。For example, as shown in Figure 5g(2), the sending end can detect that the number of code blocks with a code length of 128 bits is 2, and the sending end can merge the code block 705 and the code block 709 into one as shown in Figure 5g( 3) The code block 710 with a code length of 256 bits is shown, and the number of information bits of the code block 708 is reduced by 2, so that the number of information bits included in the combined code block 710 is the same as that of the code block 704 with a code length of 256 bits. The number of information bits included is the same.
示例性的,如图5g(3)所示,发送端可检测到码长为256比特的码块的数量为3个,由于3个码长为256比特的码块合并后的码长为256*3,使得3个码长为256比特的码块合并后的码块的码长并不是2的整数次方,那么发送端可合并两个码长为256比特的码块(这里为图5g(4)所示的码块703和码块704),以使合并后的如图5g(4)所示的码块711的码长为512(为2的正整数次方)。且合并后的码块711所包括的信息比特数与码长为5126比特的码块702所包括的信息比特数相同,这里均为168比特。For example, as shown in Figure 5g(3), the sending end can detect that the number of code blocks with a code length of 256 bits is 3, because the combined code length of the three code blocks with a code length of 256 bits is 256 *3, so that the code length of the combined code block of three code blocks with a code length of 256 bits is not an integer power of 2, then the sender can combine two code blocks with a code length of 256 bits (here is Figure 5g (4)), so that the code length of the combined code block 711 shown in (4) in Figure 5g is 512 (which is a positive integer power of 2). And the number of information bits included in the combined code block 711 is the same as the number of information bits included in the code block 702 with a code length of 5126 bits, both of which are 168 bits here.
示例性的,如图5g(4)所示,发送端可码长为512比特的码块的数量为2个,这里为码块702和码块711,但是,码长为1024的码块701需要包含512比特的待传输数据,那么发送端在将码块702和码块711合并时,则缺少w(这里w=512-168*2=176)个信息比特,而最后一个码块,这里为码块708仅包括12比特的待传输数据,即便发送端未设 置有最后一个码块至少包括p个信息比特的限制条件,在图5g(4)中,码长小于512比特的所有码块所各自包括的信息比特之和(这里为码块710所包括的84比特,与码块708所包括的12比特之和,这里为96)也是小于w(这里w=176)的,因此,发送端无法再将码块702和码块711合并为码长为1024比特的码块,至此结束分段结果的优化。For example, as shown in Figure 5g(4), the number of code blocks that the transmitting end can code with a code length of 512 bits is 2, here are code blocks 702 and code blocks 711. However, the code block 701 with a code length of 1024 bits It needs to contain 512 bits of data to be transmitted, so when the sender combines code block 702 and code block 711, it lacks w (here w=512-168*2=176) information bits, and the last code block, here Because the code block 708 only includes 12 bits of data to be transmitted, even if the sender does not set the restriction that the last code block includes at least p information bits, in Figure 5g(4), all code blocks with a code length less than 512 bits The sum of the information bits included in each (here is the 84 bits included in the code block 710, and the sum of the 12 bits included in the code block 708, here is 96) is also less than w (here w=176), therefore, sending The end can no longer combine code block 702 and code block 711 into a code block with a code length of 1024 bits, and the optimization of the segmentation results ends.
示例性的,如图5g(1)所示,初始分段得到的分段结果中,码块总量为8,且小码块数量为7个,其中,码长为64比特的小码块的数量为3个;经过发送端对小码块的合并,如图5g(4)所示,更新后的分段结果中,码块总量为5个,且小码块数量为4个,且任意码长的小码块的数量均小于3,降低了小码块数量,从而优化接收性能。For example, as shown in Figure 5g(1), in the segmentation result obtained from the initial segmentation, the total number of code blocks is 8, and the number of small code blocks is 7, among which the small code blocks with a code length of 64 bits The number is 3; after the sending end merges the small code blocks, as shown in Figure 5g(4), in the updated segmentation result, the total number of code blocks is 5, and the number of small code blocks is 4, Moreover, the number of small code blocks of any code length is less than 3, which reduces the number of small code blocks and thus optimizes the reception performance.
示例8Example 8
在一种可能的实施方式中,在给定预设母码长度(这里为多个母码长度)的情况下,发送端在执行S101时,也可以按照任意分段原则(不限制为上述低时延分段原则),对待传输数据进行分段,得到分段结果,例如上述多个第一码块。In a possible implementation, given a preset mother code length (here, multiple mother code lengths), when executing S101, the sending end can also follow any segmentation principle (not limited to the above-mentioned low According to the principle of delay segmentation), the data to be transmitted is segmented to obtain segmentation results, such as the multiple first code blocks mentioned above.
示例性的,图5h(1)为示例性示出的本实施方式的初始的分段结果,或者,可以为本申请的S102在对分段结果中的码块进行合并的过程中生成的中间结果。Exemplarily, Figure 5h(1) is an exemplary illustration of the initial segmentation result of this embodiment, or it may be an intermediate result generated in the process of merging the code blocks in the segmentation result in S102 of the present application. result.
如图5h(1)所示,发送端依据上述最小码长(例如64比特)和最大码长(例如1024比特),对包括1032比特的待传输数据进行分段,分段得到6个码块,6个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块801、码长为512比特的码块802和码块803、码长为256比特的码块804、码长为128比特的码块805、码长为64比特的码块806。As shown in Figure 5h(1), the sending end segments the data to be transmitted including 1032 bits based on the above-mentioned minimum code length (for example, 64 bits) and maximum code length (for example, 1024 bits), and obtains 6 code blocks by segmenting , the six code blocks are arranged in order according to the information bit order of the data to be transmitted, followed by code block 801 with a code length of 1024 bits, code block 802 and code block 803 with a code length of 512 bits, and code block 803 with a code length of 256 bits. Block 804, code block 805 with a code length of 128 bits, and code block 806 with a code length of 64 bits.
示例性的,如图5h(1)中的K x所示,码长为1024比特、512比特、256比特、128比特、64比特的各码块所分别包括的信息比特数依次为512比特、168比特、84比特、70比特、30比特。这里最后一个码块,这里为码块806的包括的信息比特数为30(例如要求K last≥p,其中p=5)。其中,K last表示分段结果(可以是初始的分段结果,也可以是在S102优化过程中的分段结果,还可以是优化后的分段结果)中最后一个码块所包括的信息比特数。 Exemplarily, as shown by K 168 bit, 84 bit, 70 bit, 30 bit. The number of information bits included in the last code block, here code block 806, is 30 (for example, it is required that K last ≥ p, where p = 5). Among them, K last represents the information bits included in the last code block in the segmentation result (which can be the initial segmentation result, the segmentation result in the S102 optimization process, or the optimized segmentation result). number.
在一种可能的实施方式中,发送端可对图5h(1)所示的分段结果,按照码长从小到大的顺序,确定码长大于或等于2个的码块,并将该至少两个码块合并为更大码长的码块。In a possible implementation, the sending end can determine the code blocks with a code length greater than or equal to 2 based on the segmentation results shown in Figure 5h(1) in order from small to large code lengths, and add the code blocks that are at least 2 Two code blocks are merged into a code block with a larger code length.
示例性的,如图5h(2)所示,发送端可将图5h(1)所示的码块802和码块803合并为图5h(2)所示的码长为1024比特的码块807,同时将图5h(1)所示的码块802至码块805所包括的信息比特全部分配给码块807,以及将码块806所包括的信息比特减22比特,以分配给码块807,使得码块806所包括的信息比特数从图5h(1)所示的30更新为图5h(2)所示的8(码块806所包括的信息比特数仍旧大于p,这里p=5)。及合并后的码块807所包括的信息比特数与码块801所包括的信息比特数相同,关于信息比特的具体合并策略,与图5a的相关实施例类似,这里不再对信息比特的合并策略进行赘述。For example, as shown in Figure 5h(2), the sending end can combine the code block 802 and the code block 803 shown in Figure 5h(1) into the code block with a code length of 1024 bits shown in Figure 5h(2). 807. At the same time, all the information bits included in the code block 802 to the code block 805 shown in Figure 5h(1) are allocated to the code block 807, and the information bits included in the code block 806 are reduced by 22 bits to allocate them to the code block. 807, so that the number of information bits included in the code block 806 is updated from 30 as shown in Figure 5h(1) to 8 as shown in Figure 5h(2) (the number of information bits included in the code block 806 is still greater than p, where p= 5). And the number of information bits included in the combined code block 807 is the same as the number of information bits included in the code block 801. Regarding the specific combining strategy of the information bits, it is similar to the relevant embodiment of Figure 5a, and the information bits are no longer combined here. The strategy will be discussed in detail.
这样,在本实施方式中,可将码长相同的多个第一码块合并为码长更长的码块,以减少小码块的数量,提升码块的接收性能。In this way, in this embodiment, multiple first code blocks with the same code length can be merged into code blocks with a longer code length, so as to reduce the number of small code blocks and improve the reception performance of the code blocks.
应理解,上述示例1至示例8并不用于限制本申请的分段方法,本申请的分段方法还可以包括未列举的其他示例,此外,上述示例1至示例8之间的任意实施方式可以相互结合以构成本申请的实施方式,原理类似,这里不再赘述。It should be understood that the above-mentioned Examples 1 to 8 are not used to limit the segmentation method of the present application. The segmentation method of the present application may also include other examples not listed. In addition, any implementation between the above-mentioned Examples 1 to 8 may be They are combined with each other to form an embodiment of the present application. The principles are similar and will not be described again here.
对于图5a至图5h中的每个附图,同一附图中相同的附图标记和图示内容,未做重复赘述,可参照同一附图中单个子图的解释说明。此外,上述图5a至图5h之间,不同附图中相同的附图标记和图示内容,表示相同的意义,这里不再重复赘述,可参照已解释的附图中的相应附图标记或图示内容的解释说明。For each drawing in Figures 5a to 5h, the same reference numerals and graphical content in the same drawing are not repeated, and reference can be made to the explanation of a single sub-figure in the same drawing. In addition, between the above-mentioned Figures 5a to 5h, the same reference signs and illustrations in different figures have the same meaning, and will not be repeated here. You can refer to the corresponding reference signs in the already explained figures or Explanation of the content of the illustration.
应理解,上述图5a至图5h中各相关实施方式中提及的码块所包括的信息比特数,以及码块的码长,仅仅用于举例,来便于读者理解本申请的分段方法,而并不用于限制本申请的分段方法。It should be understood that the number of information bits included in the code blocks and the code length of the code blocks mentioned in the relevant embodiments in Figures 5a to 5h are only used as examples to facilitate readers to understand the segmentation method of the present application. It is not used to limit the segmentation method of this application.
应理解,上述示例1至示例8中的各个实施方式及示例,可相互结合,以构成新的实施例,在不需要创造性劳动的情况下,上述示例1至示例8可自由组合;另外,本申请的对初始分段结果进行二次修改的分段方法也不限于上述示例的举例,还可包括其他未提及的实施例,这里不再赘述。It should be understood that the various embodiments and examples in the above Examples 1 to 8 can be combined with each other to form new embodiments, and the above Examples 1 to 8 can be freely combined without creative effort; in addition, this The applied segmentation method for secondary modification of the initial segmentation result is not limited to the above examples, and may also include other unmentioned embodiments, which will not be described again here.
在上述图4以及图5a至图5h等各实施方式(包括上述“逢3进位法”)中,发送端首先需要按照某种算法(这里不限制),对待传输数据的信息比特进行分段,然后再对分段结果进行二次修改,以实现最小分段数的分段结果。In the above-mentioned embodiments such as Figure 4 and Figures 5a to 5h (including the above-mentioned "3-carry method"), the sending end first needs to segment the information bits of the data to be transmitted according to a certain algorithm (not limited here), Then the segmentation result is modified twice to achieve the segmentation result with the minimum number of segments.
在另一种可能的实施方式中,本申请还提供了一种分段方法,该分段方法不需要对初始的分段结果进行二次修改,而是直接对待传输数据的信息比特进行分段,相比于上述现有技术中的分段方法,可降低分段数量,或者说,可降低分段结果对应的码块的数量;此外,该分段方法还可减少小码块的数量。In another possible implementation, this application also provides a segmentation method that does not require secondary modification of the initial segmentation result, but directly segments the information bits of the data to be transmitted. , compared with the above-mentioned segmentation method in the prior art, the number of segments can be reduced, or in other words, the number of code blocks corresponding to the segmentation results can be reduced; in addition, this segmentation method can also reduce the number of small code blocks.
应理解,本申请无需对分段结果进行二次调整的分段方法,在前提条件相同的情况下,例如预设母码长度,各母码长度对应的码块所包括的信息比特数(例如上述Kx)等前提条件,该分段方法对待传输数据的分段结果,与图4或图5a至图5h等任意一种实施方式的分段结果相同。It should be understood that this application does not require a segmentation method that requires secondary adjustment of the segmentation results. Under the same prerequisites, for example, the preset mother code length, the number of information bits included in the code block corresponding to each mother code length (such as Based on the above Kx) and other prerequisites, the segmentation result of the data to be transmitted by this segmentation method is the same as the segmentation result of any one of the embodiments such as Figure 4 or Figure 5a to Figure 5h.
下面对本申请的不需要对初始的分段结果进行二次修改,而是直接对待传输数据的信息比特进行分段的分段方法进行阐述。The following is an explanation of the segmentation method of this application that does not require secondary modification of the initial segmentation result, but directly segments the information bits of the data to be transmitted.
在一种可能的实施方式中,在本申请实施方式的分段方法中,系统或用户可给定预设母码长度。In a possible implementation, in the segmentation method of the embodiment of the present application, the system or the user can give a preset mother code length.
示例性的,预设母码长度可包括最大码长(例如最大母码长度)和最小码长(例如最小母码长度)。For example, the preset mother code length may include a maximum code length (eg, a maximum mother code length) and a minimum code length (eg, a minimum mother code length).
例如,最小码长为2 a比特,最大码长为2 b比特,其中,a、b为正整数,且a<b。 For example, the minimum code length is 2 a bits, and the maximum code length is 2 b bits, where a and b are positive integers, and a<b.
在一种可能的实施方式中,发送端在基于上述预设母码长度来对待传输数据进行分段时,可最多分段得到(b-a+1)种码长的码块。In a possible implementation, when the transmitting end segments the data to be transmitted based on the above-mentioned preset mother code length, it can segment the data to obtain code blocks with at most (b-a+1) code lengths.
示例性的,预设母码长度也可以包括取值为2的正整数次方的多个码长,而不限制不同预设母码长度之间是否连续。For example, the preset mother code length may also include multiple code lengths whose value is a positive integer power of 2, without limiting whether different preset mother code lengths are continuous.
例如,不连续的预设母码长度可包括1024比特、512比特、128比特、64比特和32比特的码长。For example, the discontinuous preset mother code lengths may include code lengths of 1024 bits, 512 bits, 128 bits, 64 bits and 32 bits.
例如,连续的预设母码长度可包括1024比特、512比特、256比特、128比特、64比特和32比特的码长。For example, the continuous preset mother code length may include code lengths of 1024 bits, 512 bits, 256 bits, 128 bits, 64 bits and 32 bits.
示例性的,对于在发送端对待传输数据进行分段后得的的分段结果对应的多个第三码块中,任意一个第三码块的码长可表示为2 x比特,其中,a≤x≤b。 For example, among the multiple third code blocks corresponding to the segmentation results obtained by segmenting the data to be transmitted at the sending end, the code length of any third code block can be expressed as 2 x bits, where, a ≤x≤b.
示例性的,系统或用户可给定码长为上述预设母码长度的码块所包括的信息比特的数量。For example, the system or the user can specify the number of information bits included in the code block whose code length is the above-mentioned preset mother code length.
例如,发送端可将码长为2 x比特的第三码块所包含的信息比特(该信息比特为来自于该待传输数据中的信息比特)的数量表示为K x表示,或者
Figure PCTCN2022116883-appb-000029
For example, the sending end can express the number of information bits (the information bits are information bits from the data to be transmitted) contained in the third code block with a code length of 2 x bits as K x , or
Figure PCTCN2022116883-appb-000029
示例性的,上述预设母码长度,以及码长为各个预设母码长度的码块所对应的K x的取值,可为系统或用户设定,而不会随着输入的待传输数据的变化而发生变化。 For example, the above-mentioned preset mother code length and the value of K changes due to changes in data.
示例性地,发送端可获取到待传输数据所包括的信息比特数。For example, the sending end can obtain the number of information bits included in the data to be transmitted.
示例性的,发送端可获取待传输数据中剩余的待编码的信息比特数(或者说,剩余的待分段的信息比特数)。For example, the sending end may obtain the remaining number of information bits to be encoded in the data to be transmitted (or, in other words, the remaining number of information bits to be segmented).
例如,发送端可将待传输数据中剩余的待编码的信息比特数以K m表示。 For example, the transmitting end can express the remaining number of information bits to be encoded in the data to be transmitted as K m .
示例性的,K m的初始值为该待传输数据所包括的信息比特数,而随着发送端对该待传输数据的分段进度的更新变化,该K m的取值也可以得到更新。 For example, the initial value of K m is the number of information bits included in the data to be transmitted, and as the sending end updates the segmentation progress of the data to be transmitted, the value of K m can also be updated.
在一种可能的实施方式中,发送端还可获取系统或用户设定的参数p的取值。In a possible implementation, the sending end can also obtain the value of parameter p set by the system or the user.
示例性的,参数p可用于表示分段后得到的分段结果对应的多个第三码块中,最后一个码块至少包括的信息比特的数量。其中,这里的信息比特指代来自待传输数据中的信息比特,不包括按照预设母码长度补零的各零比特。For example, the parameter p can be used to represent the number of information bits at least included in the last code block among multiple third code blocks corresponding to the segmentation result obtained after segmentation. The information bits here refer to the information bits from the data to be transmitted, excluding the zero bits padded with zeros according to the preset mother code length.
示例性的,p的取值可由系统设定或用户设定,可根据需求而灵活设置,本申请不做限制。例如系统设定对待传输数据分段后得到的多个第三码块中,最后一个码块至少包括10比特的待传输数据,则这里的p的取值为10。For example, the value of p can be set by the system or the user, and can be flexibly set according to needs, and is not limited in this application. For example, the system sets the plurality of third code blocks obtained by segmenting the data to be transmitted, and the last code block includes at least 10 bits of data to be transmitted, so the value of p here is 10.
示例性的,在本实施方式的分段结果(例如多个第三码块)中,除最后一个第三码块之外,相同码长的多个第三码块各自所包含的信息比特相同。Illustratively, in the segmentation result of this embodiment (for example, multiple third code blocks), except for the last third code block, multiple third code blocks with the same code length each contain the same information bits. .
在一种可能的实施方式中,发送端可基于上述预设母码长度、码长为各预设母码长度的码块所需要包括的信息比特数(例如上述K x),以及待传输数据的信息比特总数,可选地进一步基于最后一个码块需包括至少p个信息比特的条件,来对待传输数据进行分段,得到分段结果。 In a possible implementation, the transmitting end may be based on the above-mentioned preset mother code length, the number of information bits that need to be included in a code block with a code length of each preset mother code length (for example, the above-mentioned K x ), and the data to be transmitted. The total number of information bits is optionally further based on the condition that the last code block needs to include at least p information bits to segment the data to be transmitted to obtain the segmentation result.
示例性的,分段结果可以是如图2实施例所述的多个数据段,也可以是对多个数据段按照预设母码长度补零后的多个第三码块,本申请对此不做限制。For example, the segmentation result can be multiple data segments as shown in the embodiment of Figure 2, or multiple third code blocks after zero-padding multiple data segments according to the preset mother code length. This application applies There is no restriction on this.
在一种可能的实施方式中,发送端在对待传输数据进行分段时,可按照预设母码长度从大到小的顺序,基于各母码长度2 x对应的码块所需要包括的信息比特数K x(或者说
Figure PCTCN2022116883-appb-000030
)和待传输数据对应的剩余待分段的信息比特数K m,来对待传输数据进行分段。以优先分段得到码长较长的码块对应的数据段,从而减少小码块的数量,进而降低数据分段量。而码长较长的码块的接收性能较好,从而可提升对分段结果对应的码块的编码结果的接收性能。而且,按照母码长度从大到小的顺序进行分段,还可降低接收端对本申请分段后编码的码子进行接收和译码时的时延,可有效降低接收端的时延。
In a possible implementation, when the sending end segments the data to be transmitted, the sending end can follow the order from large to small of the preset mother code length, based on the information that needs to be included in the code block corresponding to the length of each mother code 2 x The number of bits K x (or
Figure PCTCN2022116883-appb-000030
) and the remaining number of information bits to be segmented K m corresponding to the data to be transmitted, to segment the data to be transmitted. The data segments corresponding to the code blocks with longer code lengths are obtained by priority segmentation, thereby reducing the number of small code blocks and thereby reducing the amount of data segmentation. The code block with a longer code length has better reception performance, which can improve the reception performance of the coding result of the code block corresponding to the segmentation result. Moreover, segmenting the mother codes in descending order of length can also reduce the delay at the receiving end when receiving and decoding codes segmented and encoded in this application, and can effectively reduce the delay at the receiving end.
示例性的,预设母码长度包括1024比特、512比特、128比特。For example, the preset mother code length includes 1024 bits, 512 bits, and 128 bits.
示例性的,K 1024表示码长为1024比特的码块所需要包括的信息比特数。 For example, K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
示例性的,K 512表示码长为512比特的码块所需要包括的信息比特数。 For example, K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
示例性的,K 128表示码长为128比特的码块所需要包括的信息比特数。 For example, K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
示例性的,发送端可基于K 1024和K m,来对待传输数据优先分段为码长为1024比特的码块,然后,发送端可基于对码长为1024比特的码块所分配的信息比特数,来对K m进行更新;接着,发送端可基于K 512以及最近一次更新后的K m,来对待传输数据优先分段为码长为512比特的码块,然后,发送端可基于对码长为512比特的码块所分配的信息比特数,来对K m进行更新;最后,发送端可基于K 128以及最近一次更新后的K m,来对待传输数据分段为码长为128比特的码块,至此完成对待传输数据的分段。 For example, the sending end may segment the data to be transmitted into code blocks with a code length of 1024 bits based on K 1024 and K m . Then, the sending end may segment the data to be transmitted into code blocks with a code length of 1024 bits based on the information allocated to the code blocks with a code length of 1024 bits. number of bits to update K m ; then, the sending end can segment the data to be transmitted into code blocks with a code length of 512 bits based on K 512 and the latest updated K m , and then the sending end can based on K 512 and the latest updated K m The number of information bits allocated to the code block with a code length of 512 bits is used to update K m ; finally, the sender can segment the transmitted data into segments with code lengths based on K 128 and the latest updated K m The 128-bit code block has now completed the segmentation of the data to be transmitted.
示例性的,发送端可基于预设母码长度、各码长(这里为预设母码长度)对应的码块所分别需要包括的信息比特数、待传输数据中剩余的待分段的信息比特数(可选地,还可进一步基于上述p的取值),来对待传输数据进行直接分段,可得到分段结果,该分段结果对应的码长为2 x比特的码块的数量可以表示为N x,a≤x≤b。 For example, the sending end can be based on the preset mother code length, the number of information bits that need to be included in the code blocks corresponding to each code length (here, the preset mother code length), and the remaining information to be segmented in the data to be transmitted. The number of bits (optionally, the data to be transmitted can be directly segmented based on the value of p mentioned above), and the segmentation result can be obtained. The segmentation result corresponds to the number of code blocks with a code length of 2 x bits. It can be expressed as N x , a≤x≤b.
示例性的,发送端可以确定以下参数的取值,2 a,2 b,K x,a≤x≤b,a,b均为正整数,以及p的取值(例如上述举例的10),以及K m的初始值。以上参数的解释定义请参照上文关于直接进行分段的方法的相关描述,这里不再赘述。 For example, the sending end can determine the values of the following parameters, 2 a , 2 b , K x , a≤x≤b, a, b are both positive integers, and the value of p (such as 10 in the above example), and the initial value of K m . For the explanation and definition of the above parameters, please refer to the relevant description of the direct segmentation method above, and will not be repeated here.
示例性的,发送端可通过以下代码,来对待传输数据进行直接分段,以获取分段结果,从而确定N x,a≤x≤b,其中,下述代码中符号
Figure PCTCN2022116883-appb-000031
表示对*向下取整,符号
Figure PCTCN2022116883-appb-000032
表示对*向上取整:
For example, the sending end can use the following code to directly segment the data to be transmitted to obtain the segmentation result, thereby determining N x , a≤x≤b, where the symbols in the following code
Figure PCTCN2022116883-appb-000031
Indicates rounding down *, symbol
Figure PCTCN2022116883-appb-000032
Indicates rounding * up:
Figure PCTCN2022116883-appb-000033
Figure PCTCN2022116883-appb-000033
在以上代码实现中,发送端可通过上述for循环,来按照码长从大到小的顺序,来对待传输数据依次分段为码长为2 b至码长为2 a+2的码块;而发送端可在对待传输数据分段得到码长为2 b至码长为2 a+2的码块之后,再对待传输数据剩余的待编码的信息比特,分段为码长为2 a+1的码块,最后,发送端再对待传输数据剩余的待编码的信息比特,分段为码长为2 a的码块,至此结束对待传输数据的分段。 In the above code implementation, the sender can use the above for loop to segment the transmitted data into code blocks with a code length of 2 b to a code length of 2 a+2 in order from large to small code lengths; The sender can segment the data to be transmitted to obtain code blocks with a code length of 2 b to a code length of 2 a+2 , and then segment the remaining information bits to be encoded into a code block with a code length of 2 a+ 1 code block, and finally, the sender segments the remaining information bits to be encoded to be transmitted into code blocks with a code length of 2 a , and this ends the segmentation of the data to be transmitted.
示例性的,在上述for循环中,包括公式6和公式7;For example, in the above for loop, formula 6 and formula 7 are included;
Figure PCTCN2022116883-appb-000034
Figure PCTCN2022116883-appb-000034
K m=K m-K x*N x,公式7; K m =K m -K x *N x , formula 7;
发送端可通过公式6,来在待传输数据的剩余的待编码的信息比特数中,减去码长小于2 x(这里a+2≤x≤b,且x为正整数)的码块所分别需要包括的信息比特数,得到可用于分段的信息比特数(K m-K x-1-...-K a+1-p); The sender can use Formula 6 to subtract the number of code blocks whose code length is less than 2 x (here a+2≤x≤b, and x is a positive integer) from the remaining number of information bits to be encoded in the data to be transmitted. The number of information bits that need to be included is obtained to obtain the number of information bits that can be used for segmentation (K m -K x-1 -...-K a+1 -p);
发送端,再基于码长为2 x的码块所需要包括的信息比特数K x和上述信息比特数(K m-K x-1-...-K a+1-p),来计算码长为2 x的码块的数量N x,其中,在公式6中,发送端对
Figure PCTCN2022116883-appb-000035
与0,求最大值作为N x,是为了解决
Figure PCTCN2022116883-appb-000036
为负数的情况。
The sending end then calculates based on the number of information bits K x that a code block with a code length of 2 The number of code blocks N x with code length 2 x , where, in equation 6, the transmitter
Figure PCTCN2022116883-appb-000035
with 0, finding the maximum value as N x , is to solve
Figure PCTCN2022116883-appb-000036
is a negative number.
示例性的,在上述for循环中,发送端在通过公式6确定码长为2 x的码块的数量N x之后,可依据公式7,对待传输数据中剩余的待编码的信息比特数K m进行更新。 For example, in the above for loop, after the transmitter determines the number N x of code blocks with a code length of 2 Make an update.
发送端通过上述for循环,可对待传输数据依次分段得到码长为2 b至码长为2 a+2的码块,并确定各码长对应的码块的数量N x,这里a+2≤x≤b,且x为正整数。 Through the above for loop, the sender can segment the data to be transmitted in sequence to obtain code blocks with a code length of 2 b to a code length of 2 a+2 , and determine the number N x of code blocks corresponding to each code length, where a+2 ≤x≤b, and x is a positive integer.
然后,如上述代码所示,发送端可通过公式8,来待传输数据中剩余的待编码的信息比特进行码长为2 a+1的码块的分段,从而计算码长为2 a+1的码块的数量N a+1Then, as shown in the above code, the sender can use Formula 8 to segment the remaining information bits to be encoded in the data to be transmitted into code blocks with a code length of 2 a+1 , thereby calculating the code length to be 2 a+ The number of code blocks of 1 Na+1 .
Figure PCTCN2022116883-appb-000037
Figure PCTCN2022116883-appb-000037
在上述公式8中,由于码长为2 a+1为倒数第二小的码长,那么发送端要求分段后得到的最后一个码块(这里为具有最小码长2 a的最后一个码块)至少包括p个信息比特,则发送端可在待传输数据的剩余的待编码的信息比特数K m中,减去码长为2 a的最后一个码块所需要包括的信息比特数p,得到可用于分段的信息比特数(K m-p); In the above formula 8, since the code length is 2 a + 1 , which is the penultimate code length, the sender requires the last code block obtained after segmentation (here is the last code block with the minimum code length 2 a ) includes at least p information bits, then the sender can subtract the number p of information bits required to be included in the last code block with a code length of 2 a from the remaining number of information bits to be encoded K m of the data to be transmitted, Get the number of information bits available for segmentation (K m -p);
发送端,再基于码长为2 a+1的码块所需要包括的信息比特数K a+2和上述信息比特数(K m-p),来计算码长为2 a+1的码块的数量N a+1The sending end then calculates the code block with a code length of 2 a+1 based on the number of information bits Ka +2 that the code block with a code length of 2 a+1 needs to include and the above number of information bits (K m -p). The quantity Na +1 .
示例性的,发送端在通过公式8确定码长为2 a+1的码块的数量N a+1之后,可依据公式9,对待传输数据中剩余的待编码的信息比特数K m进行更新。 For example, after the transmitter determines the number Na +1 of code blocks with a code length of 2 a+1 through Formula 8, it can update the remaining number of information bits K m to be encoded in the data to be transmitted according to Formula 9 .
K m=K m-K a+1*N a+1,公式9; K m =K m -K a+1 *N a+1 , formula 9;
最后,如上述代码所示,发送端可通过公式10,来待传输数据中剩余的待编码的信息比特K m进行最小码长为2 a的码块的分段,需要注意的是,公式10中为向上取整,这样,最后一个码长为2 a的码块至少可包括p个信息比特,而K a≥p,发送端通过公式10可计算码长为2 a的码块的数量N aFinally, as shown in the above code, the sender can use Formula 10 to segment the remaining information bits K m to be encoded in the data to be transmitted into code blocks with a minimum code length of 2 a . It should be noted that Formula 10 is rounded up, so that the last code block with a code length of 2 a can include at least p information bits, and K a ≥ p, the sender can calculate the number N of code blocks with a code length of 2 a through Formula 10 a .
Figure PCTCN2022116883-appb-000038
Figure PCTCN2022116883-appb-000038
这样,发送端按照上述代码来对待传输数据进行分段,可基于K x,即各码长的码块所实际包括的信息比特数,来进行分段,从而能够以各码块的实际码率为基础进行分段,而现有技术中的分段方法,则是按照目标码率进行分段,没有结合于各码块的实际码块。这样,本申请分段得到的分段结果对应的多个第三码块可具有最少分段数,还可减少小码块的数量。同时,该多个第三码块可符合上文所述的低时延分段原则,从而在确保具 有最少分段数的同时,还能够使分段结果对应的码块的码长满足从大到小逐渐且连续减小的低时延分段原则,从而在接收端对该分段结果的Polar码编码结果进行处理时,可最大程度的降低译码时延和传输时延对接收端的系统整体时延的影响,可最大化的降低接收端的系统时延。 In this way, the sending end segments the data to be transmitted according to the above code, and can segment it based on K x , that is, the number of information bits actually included in the code block of each code length, so that the actual code rate of each code block can be Segmentation is performed on the basis of the target code rate, and the segmentation method in the prior art is segmented according to the target code rate and is not combined with the actual code blocks of each code block. In this way, the plurality of third code blocks corresponding to the segmentation results obtained by segmentation in this application can have the minimum number of segments, and can also reduce the number of small code blocks. At the same time, the plurality of third code blocks can comply with the low-latency segmentation principle mentioned above, thereby ensuring a minimum number of segments while also enabling the code length of the code block corresponding to the segmentation result to satisfy the maximum requirement. The principle of low-latency segmentation is gradually and continuously reduced, so that when the receiving end processes the Polar code encoding result of the segmented result, the decoding delay and transmission delay can be minimized and the impact on the receiving end system can be minimized. The impact of overall delay can minimize the system delay at the receiving end.
下面结合示例9,来对本申请实施方式的不需要对分段结果进行二次调整的分段方法的实现过程进行阐述:The following explains the implementation process of the segmentation method that does not require secondary adjustment of the segmentation results according to the embodiment of the present application with reference to Example 9:
该示例9可为上述实施方式中的代码的一种实现示例,该示例的方法可称为“直接分配法”。This Example 9 may be an implementation example of the code in the above embodiment, and the method of this example may be called the "direct allocation method".
示例9Example 9
示例性的,发送端可获取待传输数据所包括的信息比特的数量,并将该待传输数据所包括的信息比特的数量作为剩余的待编码(或者说待分段)的信息比特数K mFor example, the sending end can obtain the number of information bits included in the data to be transmitted, and use the number of information bits included in the data to be transmitted as the remaining number of information bits to be encoded (or to be segmented) K m .
示例性的,发送端还可获取预设母码长度,示例性的,这里的预设母码长度包括1024比特、512比特、256比特、128比特、64比特。For example, the sending end can also obtain the preset mother code length. For example, the preset mother code length here includes 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits.
示例性的,发送端可获取各预设母码长度对应的码块所需要包括的信息比特数
Figure PCTCN2022116883-appb-000039
这里发送端可获取到K 1024、K 512、K 256、K 128、K 64
For example, the sending end can obtain the number of information bits required to be included in the code block corresponding to each preset mother code length.
Figure PCTCN2022116883-appb-000039
Here the sending end can obtain K 1024 , K 512 , K 256 , K 128 , and K 64 .
示例性的,K 1024表示码长为1024比特的码块所需要包括的信息比特数。 For example, K 1024 represents the number of information bits that a code block with a code length of 1024 bits needs to include.
示例性的,K 512表示码长为512比特的码块所需要包括的信息比特数。 For example, K 512 represents the number of information bits that a code block with a code length of 512 bits needs to include.
示例性的,K 256表示码长为256比特的码块所需要包括的信息比特数。 For example, K 256 represents the number of information bits that a code block with a code length of 256 bits needs to include.
示例性的,K 128表示码长为128比特的码块所需要包括的信息比特数。 For example, K 128 represents the number of information bits that a code block with a code length of 128 bits needs to include.
示例性的,K 64表示码长为64比特的码块所需要包括的信息比特数。 For example, K 64 represents the number of information bits that a code block with a code length of 64 bits needs to include.
示例性的,发送端可获取针对分段后的分段结果中最后一个码块所需要至少包括的信息比特的数量p。For example, the sending end may obtain the number p of information bits that need to be included in the last code block in the segmented segmentation result.
示例性的,发送端可首先基于公式11对待传输数据进行分段,以获取分段结果中对应码长为1024比特的码块的数量N 1024,然后,发送端通过公式12,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can first segment the data to be transmitted based on Formula 11 to obtain the number N 1024 of code blocks corresponding to a code length of 1024 bits in the segmentation result. Then, the sending end uses Formula 12 to segment the data to be transmitted. The number of information bits K m to be segmented is updated.
Figure PCTCN2022116883-appb-000040
Figure PCTCN2022116883-appb-000040
K m=K m-K 1024*N 1024,公式12; K m =K m -K 1024 *N 1024 , formula 12;
示例性的,然后,发送端可基于公式13对待传输数据继续进行分段,以获取分段结果中对应码长为512比特的码块的数量N 512,然后,发送端通过公式14,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can then continue to segment the data to be transmitted based on Equation 13 to obtain the number N 512 of code blocks corresponding to a code length of 512 bits in the segmentation result. Then, the sending end uses Equation 14 to obtain the number of code blocks to be transmitted. The number K m of information bits to be segmented in the data is updated.
Figure PCTCN2022116883-appb-000041
Figure PCTCN2022116883-appb-000041
K m=K m-K 512*N 512,公式14; K m =K m -K 512 *N 512 , formula 14;
示例性的,再然后,发送端可基于公式15对待传输数据继续进行分段,以获取分段结果中对应码长为256比特的码块的数量N 256,然后,发送端通过公式16,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can then continue to segment the data to be transmitted based on Formula 15 to obtain the number N 256 of code blocks corresponding to a code length of 256 bits in the segmentation result. Then, the sending end uses Formula 16 to The number K m of information bits to be segmented in the transmitted data is updated.
Figure PCTCN2022116883-appb-000042
Figure PCTCN2022116883-appb-000042
K m=K m-K 256*N 256,公式16; K m =K m -K 256 *N 256 , formula 16;
示例性的,再然后,发送端可基于公式17对待传输数据继续进行分段,以获取分段结果中对应码长为128比特的码块的数量N 128,然后,发送端通过公式18,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can then continue to segment the data to be transmitted based on Formula 17 to obtain the number N 128 of code blocks corresponding to a code length of 128 bits in the segmentation result. Then, the sending end uses Formula 18 to The number K m of information bits to be segmented in the transmitted data is updated.
Figure PCTCN2022116883-appb-000043
Figure PCTCN2022116883-appb-000043
K m=K m-K 128*N 128,公式18; K m =K m -K 128 *N 128 , formula 18;
示例性的,最后,发送端可基于公式19对待传输数据继续进行分段,以获取分段结果中对应码长为64比特的码块的数量N 64For example, finally, the sending end can continue to segment the data to be transmitted based on Formula 19 to obtain the number N 64 of code blocks corresponding to a code length of 64 bits in the segmentation result.
Figure PCTCN2022116883-appb-000044
Figure PCTCN2022116883-appb-000044
由于在上述公式11、公式13、公式15、公式17中,在计算相应码长的码块的数量时,发送端可将K m减去剩余待分段的码块对应的码长所需要的信息比特数,这样,可确保分段结果中除最大码长的码块之外,其余具有预设母码长度的码长的码块分别至少包括一个。 Because in the above formulas 11, 13, 15, and 17, when calculating the number of code blocks with corresponding code lengths, the sender can subtract K m by the code length required for the remaining code blocks to be segmented. In this way, it can be ensured that in addition to the code block with the maximum code length, the remaining code blocks with the code length of the preset mother code length include at least one in the segmentation result.
在上述实施方式的分段过程中,发送端可依据各码长的码块所需要包括的信息比特数,来对待传输数据进行分段,得到码长为各预设母码长度的码块的数量,从而实现待传输数据的分段。这样,发送端在确定各码长的码块的数量时,可基于各码块的实际码率,而非目标码率,从而可减少分段结果对应的数据段的数量,或者说减少分段结果对应的码块的数量。In the segmentation process of the above embodiment, the sending end can segment the data to be transmitted according to the number of information bits required to be included in the code blocks of each code length, and obtain the code blocks whose code length is the preset mother code length. Quantity to achieve segmentation of data to be transmitted. In this way, when the sending end determines the number of code blocks of each code length, it can be based on the actual code rate of each code block instead of the target code rate, thereby reducing the number of data segments corresponding to the segmentation results, or reducing the number of segments. The number of code blocks corresponding to the result.
另外,在本实施方式中,分段结果对应的各码块的码长从大到小连续且逐渐减小,从而使得该分段结果符合上述低时延分段原则,从而在接收端对该分段结果的Polar码编码结果进行处理时,可最大程度的降低译码时延和传输时延对接收端的系统整体时延的影响,可最大化的降低接收端的系统时延。In addition, in this embodiment, the code length of each code block corresponding to the segmentation result is continuous and gradually decreases from large to small, so that the segmentation result complies with the above-mentioned low-latency segmentation principle, so that the code length at the receiving end is When the Polar code encoding result of the segmentation result is processed, the impact of decoding delay and transmission delay on the overall system delay of the receiving end can be minimized, and the system delay of the receiving end can be reduced to the greatest extent.
示例10Example 10
在一种可能的实施方式中,若预设母码长度仅包括上述1024比特、256比特和64比特,且发送端设置分段结果中最后一个码块至少包括p个信息比特,且发送端可获取到K 1024、K 256、K 64,以及K m,则发送端首先利用下述公式11’来确定N 1024,然后通过公式12对K m更新;然后,发送端通过下述公式15’来确定N 256,接着通过公式16对K m更新;最后,发送端通过上述公式19来确定N 64In a possible implementation, if the preset mother code length only includes the above 1024 bits, 256 bits and 64 bits, and the sending end sets the last code block in the segmentation result to include at least p information bits, and the sending end can After obtaining K 1024 , K 256 , K 64 , and K m , the sending end first uses the following formula 11' to determine N 1024 , and then updates K m through the following formula 12; then, the sending end uses the following formula 15' Determine N 256 , and then update K m through Equation 16; finally, the sending end determines N 64 through Equation 19 above.
Figure PCTCN2022116883-appb-000045
Figure PCTCN2022116883-appb-000045
Figure PCTCN2022116883-appb-000046
Figure PCTCN2022116883-appb-000046
这样,发送端对待传输数据进行分段,得到的分段结果对应的码块仍旧是按照码长从大到小的顺序排列的,不仅可减少分段数量,而且可有效降低丢包率,提升接收灵敏度,以及对分段后的码块进行Polar编码得到的码子提升接收性能。In this way, the sender segments the data to be transmitted, and the code blocks corresponding to the segmentation results are still arranged in order from large to small code lengths, which not only reduces the number of segments, but also effectively reduces the packet loss rate and improves The receiving sensitivity, and the codes obtained by Polar encoding the segmented code blocks, improve the receiving performance.
示例11Example 11
在一种可能的实施方式中,若预设母码长度仅包括上述1024比特、256比特和64比特,且发送端未设置分段结果中最后一个码块至少包括p个信息比特的限制条件,且 发送端可获取到K 1024、K 256、K 64,以及K m,则发送端首先利用下述公式11”来确定N 1024,然后通过公式12对K m更新;然后,发送端通过下述公式15”来确定N 256,接着通过公式16对K m更新;最后,发送端通过上述公式19来确定N 64In a possible implementation, if the preset mother code length only includes the above-mentioned 1024 bits, 256 bits and 64 bits, and the sending end does not set the restriction that the last code block in the segmentation result includes at least p information bits, And the sending end can obtain K 1024 , K 256 , K 64 , and K m , then the sending end first uses the following formula 11" to determine N 1024 , and then updates K m through the following formula 12; then, the sending end uses the following formula Formula 15" is used to determine N 256 , and then K m is updated through Formula 16; finally, the sending end determines N 64 through the above-mentioned Formula 19.
Figure PCTCN2022116883-appb-000047
Figure PCTCN2022116883-appb-000047
Figure PCTCN2022116883-appb-000048
Figure PCTCN2022116883-appb-000048
在一种可能的实施方式中,发送端对待传输数据分段后得到的分段结果对应的码块的码长,也可以不是按照从大到小的顺序排列的,下面以一种码长的排序进行举例,其他码长的排序方式的实现原理类似,这里不再赘述。In a possible implementation, the code lengths of the code blocks corresponding to the segmentation results obtained by the sending end after segmenting the data to be transmitted may not be arranged in order from large to small. In the following, one code length is used Sorting is an example. The implementation principles of other code length sorting methods are similar and will not be described again here.
示例性的,预设母码长度包括1024比特、512比特、256比特、128比特、64比特,分段结果对应的码长的排序可以是512比特、256比特、1024比特、64比特、128比特。For example, the preset mother code lengths include 1024 bits, 512 bits, 256 bits, 128 bits, and 64 bits. The ordering of the code lengths corresponding to the segmentation results can be 512 bits, 256 bits, 1024 bits, 64 bits, and 128 bits. .
示例性的,发送端可获取到K 1024、K 512、K 256、K 128、K 64,K m以及最后一个码块(这里为码长为128比特的码块)所需要包括的信息比特数p。 For example, the sending end can obtain K 1024 , K 512 , K 256 , K 128 , K 64 , K m and the number of information bits required to be included in the last code block (here, a code block with a code length of 128 bits). p.
那么在具体实施时,发送端可按照分段结果对应的码长的预期排序:512比特、256比特、1024比特、64比特、128比特,首先,发送端可基于公式20对待传输数据继续进行分段,以获取分段结果中对应码长为512比特的码块的数量N 512,然后,发送端通过上述公式14,对待传输数据中待分段的信息比特数K m进行更新。 Then during specific implementation, the sending end can sort according to the expected code length corresponding to the segmentation result: 512 bits, 256 bits, 1024 bits, 64 bits, 128 bits. First, the sending end can continue to segment the data to be transmitted based on Formula 20. segment to obtain the number N 512 of code blocks corresponding to a code length of 512 bits in the segmentation result. Then, the sender updates the number of information bits K m to be segmented in the data to be transmitted through the above formula 14.
Figure PCTCN2022116883-appb-000049
Figure PCTCN2022116883-appb-000049
示例性的,然后,发送端可基于公式21继续对待传输数据继续进行分段,以获取分段结果中对应码长为256比特的码块的数量N 256,然后,发送端通过上述公式16,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can then continue to segment the data to be transmitted based on Formula 21 to obtain the number N 256 of code blocks corresponding to a code length of 256 bits in the segmentation result. Then, the sending end uses the above Formula 16, The number K m of information bits to be segmented in the data to be transmitted is updated.
Figure PCTCN2022116883-appb-000050
Figure PCTCN2022116883-appb-000050
示例性的,再然后,基于公式22对待传输数据继续进行分段,以获取分段结果中对应码长为1024比特的码块的数量N 1024,然后,发送端通过上述公式12,对待传输数据中待分段的信息比特数K m进行更新。 Illustratively, the data to be transmitted is then segmented based on Formula 22 to obtain the number N 1024 of code blocks corresponding to a code length of 1024 bits in the segmentation result. Then, the sending end uses the above Formula 12 to segment the data to be transmitted. The number of information bits K m to be segmented is updated.
Figure PCTCN2022116883-appb-000051
Figure PCTCN2022116883-appb-000051
示例性的,再然后,发送端可基于公式23对待传输数据继续进行分段,以获取分段结果中对应码长为64比特的码块的数量N 64,然后,发送端通过公式24,对待传输数据中待分段的信息比特数K m进行更新。 For example, the sending end can then continue to segment the data to be transmitted based on Formula 23 to obtain the number N 64 of code blocks corresponding to a code length of 64 bits in the segmentation result. Then, the sending end uses Formula 24 to The number K m of information bits to be segmented in the transmitted data is updated.
Figure PCTCN2022116883-appb-000052
Figure PCTCN2022116883-appb-000052
K m=K m-K 64*N 64,公式24; K m =K m -K 64 *N 64 , formula 24;
示例性的,最后,发送端可基于公式25对待传输数据继续进行分段,以获取分段结果中对应码长为128比特的码块的数量N 128For example, finally, the sending end can continue to segment the data to be transmitted based on Formula 25 to obtain the number N 128 of code blocks corresponding to a code length of 128 bits in the segmentation result.
Figure PCTCN2022116883-appb-000053
Figure PCTCN2022116883-appb-000053
这样,在不考虑分段结果的Polar编码的接收时延的情况下,该实施方式的直接分 配法,由于使用各码长的码块的实际信息比特数进行分段,相比于现有技术,仍旧可减少分段总量,以及减少相同码长的小码块的数量。In this way, without considering the reception delay of the Polar coding of the segmentation results, the direct allocation method of this embodiment uses the actual number of information bits of the code block of each code length for segmentation, compared with the existing technology , it is still possible to reduce the total number of segments and the number of small code blocks of the same code length.
可以理解的是,上述示例9至示例11中的各实施方式可相互结合,以构成更多的实施方式,这里不再赘述。此外,本申请的直接分配法的实施方式不限于示例9至示例11,还可包括未列举的更多的实施方式,原理类似,这里不再赘述。It can be understood that the implementation manners in the above Examples 9 to 11 can be combined with each other to form more implementations, which will not be described again here. In addition, the implementation of the direct allocation method in this application is not limited to Examples 9 to 11, and may also include more implementations not listed. The principles are similar and will not be described again here.
下面结合图6,来对上述示例9的分段过程进行阐述:The segmentation process of the above Example 9 is explained below with reference to Figure 6:
如图6所示,示例性的,可参照图6(1),待传输数据包括985比特,那么K m的初始值为985。 As shown in Figure 6, for example, referring to Figure 6(1), the data to be transmitted includes 985 bits, so the initial value of Km is 985.
示例性的,如图6所示,K x用于表示对待传输数据进行分段后得到的分段结果对应的码长为2 x的码块所需要包括的信息比特数。 For example, as shown in Figure 6, K x is used to represent the number of information bits that a code block with a code length of 2 x corresponding to the segmentation result obtained after segmenting the data to be transmitted needs to include.
示例性的,如图6所示,发送端可获取K 1024、K 512、K 256、K 128、K 64,其中,K 1024=512、K 512=168、K 256=84、K 128=64、K 64=20;发送端还可获取针对分段后的分段结果中最后一个码块所需要至少包括的信息比特的数量p,示例性的,p=10。 For example, as shown in Figure 6, the sending end can obtain K 1024 , K 512 , K 256 , K 128 , and K 64 , where K 1024 =512, K 512 =168, K 256 =84, and K 128 =64 , K 64 =20; the sending end can also obtain the number p of information bits that need to be included in the last code block in the segmented segmentation result. For example, p=10.
在本实施方式中,如图6(2)所示,发送端按照上述公式11,计算得到N 1024=1,从而将如图6(1)所示的待传输数据的剩余的待分段的985个信息比特,按照信息比特的排列顺序,将前512比特分为如图6(2)所示的一个数据段。 In this implementation, as shown in Figure 6(2), the sending end calculates N 1024 = 1 according to the above formula 11, thereby dividing the remaining data to be transmitted into segments as shown in Figure 6(1). There are 985 information bits. According to the arrangement order of the information bits, the first 512 bits are divided into a data segment as shown in Figure 6(2).
示例性的,如图6(2)所示,发送端可将该包括512信息比特的数据段,按照1024比特的码长补零,以得到码长为1024比特的码块901。或者,示例性的,在分段过程中,发送端无需对该包括512信息的数据段进行补零,以得到码长为1024比特的码块901,发送端可以将该包括512信息的数据段,标记为对应码块901(这里为码长为1024比特的码块,且为分段得到的多个码块中的第一个码块)的信息比特。For example, as shown in Figure 6(2), the transmitting end can pad the data segment including 512 information bits with zeros according to the code length of 1024 bits to obtain a code block 901 with a code length of 1024 bits. Or, for example, during the segmentation process, the sending end does not need to zero-pad the data segment including the 512 information to obtain the code block 901 with a code length of 1024 bits. The sending end can add the data segment including the 512 information. , marked as information bits corresponding to code block 901 (here, a code block with a code length of 1024 bits, and the first code block among multiple code blocks obtained by segmentation).
示例性的,如图6(2)所示,发送端可对待传输数据分段得到码块901之后,按照公式12,更新K m的取值,更新后的K m的取值为473,使得剩余的待分段的信息比特为473比特。 For example, as shown in Figure 6(2), after the sending end obtains the code block 901 from the segmented data to be transmitted, the value of K m can be updated according to Formula 12. The updated value of K m is 473, such that The remaining information bits to be segmented are 473 bits.
在本实施方式中,如图6(3)所示,发送端按照上述公式13,计算得到N 512=2,从而可将图6(2)所示的待传输数据中剩余的待分段的473个信息比特,按照信息比特的排列顺序,继续分段得到如图6(3)所示的分别包括168信息比特的2个数据段,该2个数据段可分别对应码长为512比特的码块902和码长为512比特的码块903。 In this implementation, as shown in Figure 6(3), the sending end calculates N 512 =2 according to the above formula 13, so that the remaining to-be-segmented data in the data to be transmitted shown in Figure 6(2) can be 473 information bits, according to the arrangement order of the information bits, continue to be segmented to obtain two data segments each including 168 information bits as shown in Figure 6(3). The two data segments can respectively correspond to the code length of 512 bits. Code block 902 and code block 903 with a code length of 512 bits.
从图6(2)变化为图6(3)的过程与,从图6(1)变化为图6(2)的过程类似,相似之处,这里不再赘述。The process of changing from Figure 6(2) to Figure 6(3) is similar to the process of changing from Figure 6(1) to Figure 6(2). The similarities will not be described again here.
示例性的,如图6(3)所示,发送端可对待传输数据分段得到码块902和码块903之后,按照公式14,更新K m的取值,更新后的K m的取值为137,使得剩余的待分段的信息比特为137比特。 For example, as shown in Figure 6(3), the sending end can segment the data to be transmitted and obtain the code block 902 and the code block 903, and then update the value of K m according to Formula 14. The updated value of K m is 137, so that the remaining information bits to be segmented are 137 bits.
在本实施方式中,如图6(4)所示,发送端按照上述公式15,计算得到N 256=1,从而可将图6(3)所示的待传输数据中剩余的待分段的137个信息比特,按照信息比特的排列顺序,继续分段得到如图6(4)所示的包括84信息比特的一个数据段,该数据段对应码长为256比特的码块904。 In this implementation, as shown in Figure 6(4), the sending end calculates N 256 =1 according to the above formula 15, so that the remaining data to be transmitted as shown in Figure 6(3) can be divided into segments. The 137 information bits are continued to be segmented according to the arrangement order of the information bits to obtain a data segment including 84 information bits as shown in Figure 6(4). This data segment corresponds to the code block 904 with a code length of 256 bits.
从图6(3)变化为图6(4)的过程与,从图6(2)变化为图6(3)的过程类似, 相似之处,这里不再赘述。The process of changing from Figure 6(3) to Figure 6(4) is similar to the process of changing from Figure 6(2) to Figure 6(3). The similarities will not be described again here.
示例性的,如图6(4)所示,发送端可对待传输数据分段得到码块904之后,按照公式16,更新K m的取值,更新后的K m的取值为53,使得剩余的待分段的信息比特为53比特。 For example, as shown in Figure 6(4), the sending end can segment the data to be transmitted and obtain the code block 904, and then update the value of K m according to Formula 16. The updated value of K m is 53, such that The remaining information bits to be segmented are 53 bits.
在本实施方式中,如图6(5)所示,发送端按照上述公式17,计算得到N 128=1,从而可将图6(4)所示的待传输数据中剩余的待分段的53个信息比特,按照信息比特的排列顺序,继续分段得到如图6(5)所示的包括41信息比特的一个数据段,该数据段对应码长为128比特的码块905。 In this implementation, as shown in Figure 6(5), the sending end calculates N 128 =1 according to the above formula 17, so that the remaining data to be transmitted as shown in Figure 6(4) can be divided into segments. The 53 information bits are continued to be segmented according to the arrangement order of the information bits to obtain a data segment including 41 information bits as shown in Figure 6(5). This data segment corresponds to the code block 905 with a code length of 128 bits.
从图6(4)变化为图6(5)的过程与,从图6(3)变化为图6(4)的过程类似,相似之处,这里不再赘述。The process of changing from Figure 6(4) to Figure 6(5) is similar to the process of changing from Figure 6(3) to Figure 6(4). The similarities will not be described again here.
示例性的,如图6(5)所示,发送端可对待传输数据分段得到码块905之后,按照公式18,更新K m的取值,更新后的K m的取值为12,使得剩余的待分段的信息比特为12比特。 For example, as shown in Figure 6(5), the sending end can segment the data to be transmitted and obtain the code block 905, and then update the value of K m according to Formula 18. The updated value of K m is 12, so that The remaining information bits to be segmented are 12 bits.
在本实施方式中,如图6(6)所示,发送端按照上述公式19,计算得到N 64=1,从而可将图6(5)所示的待传输数据中剩余的待分段的12个信息比特,作为如图6(6)所示的包括12信息比特的一个数据段,该数据段对应码长为64比特的码块906。 In this implementation, as shown in Figure 6(6), the sending end calculates N 64 =1 according to the above formula 19, so that the remaining data to be segmented in the data to be transmitted shown in Figure 6(5) can be 12 information bits, as a data segment including 12 information bits as shown in Figure 6 (6), this data segment corresponds to a code block 906 with a code length of 64 bits.
示例性的,发送端按照公式19计算N 64
Figure PCTCN2022116883-appb-000054
For example, the sending end calculates N 64 according to Formula 19,
Figure PCTCN2022116883-appb-000054
本实施方式中,在分段得到码长为64比特的数据段时,剩余的待分段的信息比特只有12比特,而K 64=20,则剩余的最后10比特,可对应于64码长的最后一个码块。 In this implementation, when segmenting a data segment with a code length of 64 bits, the remaining information bits to be segmented are only 12 bits, and K 64 =20, then the remaining last 10 bits can correspond to a code length of 64 bits. the last code block.
从图6(5)变化为图6(6)的过程与,从图6(4)变化为图6(5)的过程类似,相似之处,这里不再赘述。The process of changing from Figure 6(5) to Figure 6(6) is similar to the process of changing from Figure 6(4) to Figure 6(5). The similarities will not be described again here.
这样,在本实施方式中,发送端可对待传输数据分段得到6个码块,6个码块按照待传输数据的信息比特顺序依次进行排列,依次为码长为1024比特的码块901、码长为512比特的码块902和码块903、码长为256比特的码块904、码长为128比特的码块905、码长为64比特的906。In this way, in this embodiment, the sending end can segment the data to be transmitted to obtain 6 code blocks. The 6 code blocks are arranged in sequence according to the information bit order of the data to be transmitted, and are code blocks 901 with a code length of 1024 bits, followed by The code blocks 902 and 903 have a code length of 512 bits, the code block 904 has a code length of 256 bits, the code block 905 has a code length of 128 bits, and the code block 906 has a code length of 64 bits.
在预设母码长度、各预设母码长度对应的码块所包括的信息比特数,待传输数据的信息比特数等条件相同的情况下,本申请的对初始分段结果进行二次调整的分段方法的分段结果,与本申请的直接对待传输数据进行分段得到的分段结果相同。本申请的直接分段的方法不需要对分段结果进行二次修改,就可以直接得到最小的总分段数的分段结果。示例性的,对比于图5a所示的“逢3进位法”和图6所示的“直接分段法”,图5a(4)所示的分段结果与图6(6)所示的分段结果相同。When the preset mother code length, the number of information bits included in the code blocks corresponding to each preset mother code length, and the number of information bits of the data to be transmitted are the same, this application performs a secondary adjustment on the initial segmentation result. The segmentation result of the segmentation method is the same as the segmentation result obtained by directly segmenting the data to be transmitted in this application. The direct segmentation method of this application does not require secondary modification of the segmentation results, and can directly obtain the segmentation results with the minimum total number of segments. For example, compared with the "3-carry method" shown in Figure 5a and the "direct segmentation method" shown in Figure 6, the segmentation result shown in Figure 5a(4) is different from the segmentation result shown in Figure 6(6) The segmentation results are the same.
应理解,上述示例9至示例11并不用于限制本申请的分段方法,本申请的分段方法还可以包括未列举的其他示例,此外,上述示例9至示例11之间的任意实施方式可以相互结合以构成本申请的实施方式,原理类似,这里不再赘述。It should be understood that the above-mentioned Examples 9 to 11 are not used to limit the segmentation method of the present application. The segmentation method of the present application may also include other examples not listed. In addition, any implementation between the above-mentioned Examples 9 to 11 may be They are combined with each other to form an embodiment of the present application. The principles are similar and will not be described again here.
图6中不同子图内的相同附图标记具有相同的意义,这里未对图6中的每个附图做逐一解释,可参照在图6中已解释的相应附图标记或图示内容的解释说明。The same reference signs in different sub-figures in Figure 6 have the same meaning. Each figure in Figure 6 is not explained one by one here. Please refer to the corresponding reference signs or diagram content that have been explained in Figure 6 explain.
应理解,上述各相关实施方式中提及的码块所包括的信息比特数,以及码块的码长, 仅仅用于举例,来便于读者理解本申请的分段方法,而并不用于限制本申请的分段方法。It should be understood that the number of information bits included in the code blocks and the code length of the code blocks mentioned in the above-mentioned relevant embodiments are only used as examples to facilitate readers to understand the segmentation method of the present application, and are not used to limit the present application. Segmented approach to application.
在一种可能的实施方式中,以目标码率为6/8为例,这里对现有技术中的分段方法的分段结果,与本申请提供的分段方法的分段结果进行了比较。In one possible implementation, taking the target code rate of 6/8 as an example, the segmentation results of the segmentation method in the prior art are compared with the segmentation results of the segmentation method provided by this application. .
示例性的,图7a为现有技术中的分段方法的分段结果的表格示意图,图7b为本申请提供的分段方法的分段结果的表格示意图。Exemplarily, FIG. 7a is a schematic table diagram of the segmentation results of the segmentation method in the prior art, and FIG. 7b is a schematic table diagram of the segmentation results of the segmentation method provided by this application.
在图7a和图7b分别所示的表格中,表格内字段的意义与上述表2中的相应字段的意义相同,这里不再赘述。In the tables shown in Figure 7a and Figure 7b respectively, the meanings of the fields in the tables are the same as the meanings of the corresponding fields in the above-mentioned Table 2, and will not be described again here.
在图7a和图7b中,N1024与上文的N 1024的意义相同,N512与N 512的意义相同,N256与N 256的意义相同;N128与N 128的意义相同;N64与N 64的意义相同。 In Figure 7a and Figure 7b, N1024 has the same meaning as N 1024 above, N512 has the same meaning as N 512 , N256 has the same meaning as N 256 ; N128 has the same meaning as N 128 ; N64 has the same meaning as N 64 .
示例性的,N 1024、N 512、N 256、N 128、N 64分别用于表示相应码长(这里为编码后码长,即母码长度)的分段数,即不同码长的码块的数量。 For example, N 1024 , N 512 , N 256 , N 128 , and N 64 are respectively used to represent the number of segments of the corresponding code length (here, the code length after encoding, that is, the mother code length), that is, code blocks of different code lengths quantity.
对比于图7a和图7b,在一些信息比特长度K的条件下,本申请的分段方法相比于现有技术中的分段方法,可以减少对待传输数据(这里包括总信息比特K和24比特的校验比特)的分段结果的总分段数,以减少分段数量,而且还可以避免分段得到3个相同码长的码块,以减少小码块的数量。Comparing Figure 7a and Figure 7b, under the condition of some information bit length K, the segmentation method of the present application can reduce the number of data to be transmitted (here including the total information bits K and 24) compared with the segmentation method in the prior art. The total number of segments of the segmentation result is the check bit of the bit) to reduce the number of segments, and it can also avoid segmentation to obtain 3 code blocks of the same code length to reduce the number of small code blocks.
示例性的,对比于图7a中的虚线框1001a与图7b中的虚线框1001b,在信息比特K与24比特的CRC之和为1240比特,或1248比特时,如虚线框1001a所示,现有技术中的分段方法得到的分段结果中,对应于码长为64比特的码块的数量N64为3,总分段数均为8。在信息比特K+24比特的CRC为1240比特,或1248比特时,如虚线框1001b所示,本申请的分段方法得到的分段结果中,N64为1,总分段数均为6。显然,在信息比特K与24比特的CRC之和为1240比特,或1248比特时,本申请的分段方法可减少小码块的数量,以及减少总分段数,避免出现3个相同码长的小码块。For example, comparing the dotted box 1001a in Figure 7a and the dotted box 1001b in Figure 7b, when the sum of the information bit K and the 24-bit CRC is 1240 bits, or 1248 bits, as shown in the dotted box 1001a, now In the segmentation results obtained by the segmentation method in the prior art, the number N64 corresponding to the code blocks with a code length of 64 bits is 3, and the total number of segments is 8. When the CRC of information bits K+24 is 1240 bits, or 1248 bits, as shown in the dotted box 1001b, in the segmentation results obtained by the segmentation method of this application, N64 is 1, and the total number of segments is 6. Obviously, when the sum of the information bit K and the 24-bit CRC is 1240 bits, or 1248 bits, the segmentation method of this application can reduce the number of small code blocks, reduce the total number of segments, and avoid three identical code lengths. small chunks of code.
示例性的,对比于图7a中的虚线框1002a与图7b中的虚线框1002b,在信息比特K与24比特的CRC之和为1328比特,或1336比特,或1344比特时,如虚线框1002a所示,现有技术中的分段方法得到的分段结果中,对应于码长为64比特的码块的数量N64为3,总分段数均为8。在信息比特K与24比特的CRC之和为1328比特,或1336比特,或1344比特时,如虚线框1002b所示,本申请的分段方法得到的分段结果中,N64为1,总分段数均为7。显然,在信息比特K+24比特的CRC为1328比特,或1336比特,或1344时,本申请的分段方法可减少小码块的数量,以及减少总分段数,避免出现3个相同码长的小码块。For example, comparing the dotted box 1002a in Figure 7a and the dotted box 1002b in Figure 7b, when the sum of the information bit K and the 24-bit CRC is 1328 bits, or 1336 bits, or 1344 bits, as shown in the dotted box 1002a As shown in the figure, in the segmentation results obtained by the segmentation method in the prior art, the number N64 corresponding to the code blocks with a code length of 64 bits is 3, and the total number of segments is 8. When the sum of the information bit K and the 24-bit CRC is 1328 bits, or 1336 bits, or 1344 bits, as shown in the dotted box 1002b, in the segmentation result obtained by the segmentation method of this application, N64 is 1, and the total score The number of segments is 7. Obviously, when the CRC of information bits K+24 is 1328 bits, or 1336 bits, or 1344, the segmentation method of this application can reduce the number of small code blocks, reduce the total number of segments, and avoid the occurrence of three identical codes. Long small blocks of code.
示例性的,对比于图7a中的虚线框1003a与图7b中的虚线框1003b,在信息比特K与24比特的CRC之和为1432比特,或1440比特时,如虚线框1003a所示,现有技术中的分段方法得到的分段结果中,对应于码长为64比特的码块的数量N64为3,总分段数均为9。在信息比特K与24比特的CRC之和为1432比特,或1440比特时,如虚线框1003b所示,本申请的分段方法得到的分段结果中,N64为1,总分段数均为5。显然,在信息比特K+24比特的CRC为1432比特,或1440比特时,本申请的分段方法可减少小码块的数量,以及减少总分段数,避免出现3个相同码长的小码块。For example, comparing the dotted box 1003a in Figure 7a and the dotted box 1003b in Figure 7b, when the sum of the information bit K and the 24-bit CRC is 1432 bits, or 1440 bits, as shown in the dotted box 1003a, now In the segmentation results obtained by the segmentation method in the prior art, the number N64 corresponding to the code blocks with a code length of 64 bits is 3, and the total number of segments is 9. When the sum of the information bit K and the 24-bit CRC is 1432 bits, or 1440 bits, as shown in the dotted box 1003b, in the segmentation results obtained by the segmentation method of this application, N64 is 1, and the total number of segments is 5. Obviously, when the CRC of information bits K + 24 bits is 1432 bits, or 1440 bits, the segmentation method of this application can reduce the number of small code blocks and the total number of segments, and avoid the occurrence of three small code blocks with the same code length. code block.
示例性的,对比于图7a中的虚线框1004a与图7b中的虚线框1004b,在信息比特K 与24比特的CRC之和为1520比特,或1528比特,或1536比特时,如虚线框1004a所示,现有技术中的分段方法得到的分段结果中,对应于码长为64比特的码块的数量N64为3,总分段数均为7。在信息比特K与24比特的CRC之和为1520比特,或1528比特,或1536比特时,如虚线框1004b所示,本申请的分段方法得到的分段结果中,N64为1,总分段数均为6。显然,在信息比特K+24比特的CRC为1520比特,或1528比特,或1536比特时,本申请的分段方法可减少小码块的数量,以及减少总分段数,避免出现3个相同码长的小码块。For example, comparing the dotted box 1004a in Figure 7a and the dotted box 1004b in Figure 7b, when the sum of the information bit K and the 24-bit CRC is 1520 bits, or 1528 bits, or 1536 bits, as shown in the dotted box 1004a As shown in the figure, in the segmentation results obtained by the segmentation method in the prior art, the number N64 corresponding to the code blocks with a code length of 64 bits is 3, and the total number of segments is 7. When the sum of the information bit K and the 24-bit CRC is 1520 bits, or 1528 bits, or 1536 bits, as shown in the dotted box 1004b, in the segmentation result obtained by the segmentation method of this application, N64 is 1, and the total score The number of segments is 6. Obviously, when the CRC of information bits K + 24 bits is 1520 bits, or 1528 bits, or 1536 bits, the segmentation method of this application can reduce the number of small code blocks and the total number of segments, avoiding the occurrence of three identical Small chunks of code length.
这样,相比于现有技术中的分段方法,本申请在一些信息比特长度K的条件下,可以得到更少的分段数量,并且避免了分段结果对应的码块中出现3个相同码长的小码块。In this way, compared with the segmentation method in the prior art, this application can obtain a smaller number of segments under the condition of some information bit length K, and avoid the appearance of three identical code blocks in the segmentation results. Small chunks of code length.
需要注意的是,本申请的上述对初始分段结果进行调整的分段方法,与直接进行分段的分段方法,分段结果相同,相比于现有技术中的分段方法,均可达到减少总分段数以及减少小码块的数量的效果。It should be noted that the above-mentioned segmentation method of adjusting the initial segmentation result of this application has the same segmentation results as the segmentation method of directly performing segmentation. Compared with the segmentation method in the prior art, both can be This achieves the effect of reducing the total number of segments and the number of small code blocks.
在一种可能的实施方式中,针对不同的码率(这里为目标码率),和不同的信息比特长度K,发送端可对现有技术中的分段方法的分段结果对应的总分段数,与本申请的分段方法的分段结果对应的总分段数进行比较。In a possible implementation, for different code rates (here, target code rates) and different information bit lengths K, the sending end can calculate the total score corresponding to the segmentation results of the segmentation method in the prior art. The number of segments is compared with the total number of segments corresponding to the segmentation results of the segmentation method of this application.
示例性的,图8为示例性示出的在不同码率(这里包括5/8码率、6/8码率、7/8码率)条件下,以及在不同的信息比特长度K的条件下,现有技术中的分段方法和本申请的分段方法所分别对应的总分段数的差值。也就是相比于现有技术中的分段方法,本申请的分段方法所能够减少的总分段数。Exemplarily, Figure 8 illustrates the conditions under different code rates (here including 5/8 code rate, 6/8 code rate, 7/8 code rate) and under different information bit lengths K. Below is the difference in the total number of segments corresponding to the segmentation method in the prior art and the segmentation method of the present application. That is, compared with the segmentation method in the prior art, the segmentation method of the present application can reduce the total number of segments.
在图8中,横轴为信息比特长度K,纵轴为减少的分段数,这里纵轴表示本申请的分段方法对应的总分段数,相比于现有技术中的分段方法对应的总分段数的减少量。In Figure 8, the horizontal axis is the information bit length K, and the vertical axis is the reduced number of segments. The vertical axis here represents the total number of segments corresponding to the segmentation method of this application. Compared with the segmentation method in the prior art, The corresponding reduction in the total number of segments.
示例性的,在图8中,待传输数据可以是原始的总信息比特K,也可以是总信息比特K与CRC校验比特共同构成的数据,这里不做限制。For example, in Figure 8, the data to be transmitted can be the original total information bits K, or data composed of the total information bits K and the CRC check bits. There is no limitation here.
示例性的,从图8可以看到,本申请的分段方法的分段结果对应的总分段数小于或等于现有技术中的分段方法的分段结果对应的总分段数,并且,本申请的分段方法对应的总分段数,相比于现有技术中的分段方法对应的总分段数,最多可减少4个分段,即最多可减少4个码块。For example, it can be seen from Figure 8 that the total number of segments corresponding to the segmentation results of the segmentation method of the present application is less than or equal to the total number of segments corresponding to the segmentation results of the segmentation method in the prior art, and , compared with the total number of segments corresponding to the segmentation method in the prior art, the total number of segments corresponding to the segmentation method of this application can be reduced by up to 4 segments, that is, up to 4 code blocks can be reduced.
示例性的,对于图8中,在码率为6/8的条件下,在不同的信息比特长度K的条件下,相比于现有技术中的分段方法,本申请的分段方法所能够减少的总分段数,在图9a中单独示出。For example, as shown in Figure 8, under the condition of code rate 6/8 and different information bit length K, compared with the segmentation method in the prior art, the segmentation method of the present application achieves The total number of segments that can be reduced is shown separately in Figure 9a.
其中,图9a与图8中的坐标图的意义相同,这里不再赘述。Among them, the meanings of the coordinate diagrams in Figure 9a and Figure 8 are the same and will not be described again here.
示例性的,如图9a所示,在信息比特长度为K1时,本申请的分段方法,相较于现有技术中的分段方法,可减少由虚线圆2001所指示的减少分段数,这里为1,即减少了1个数据段(或者说一个码块)。For example, as shown in Figure 9a, when the information bit length is K1, the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2001 compared to the segmentation method in the prior art. , here is 1, that is, one data segment (or one code block) is reduced.
示例性的,如图9a所示,在信息比特长度为K2时,本申请的分段方法,相较于现有技术中的分段方法,可减少由虚线圆2002所指示的减少分段数,这里为2,即减少了2个数据段(或者说2个码块)。For example, as shown in Figure 9a, when the information bit length is K2, the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2002 compared to the segmentation method in the prior art. , here is 2, that is, 2 data segments (or 2 code blocks) are reduced.
示例性的,如图9a所示,在信息比特长度为K3时,本申请的分段方法,相较于现 有技术中的分段方法,可减少由虚线圆2003所指示的减少分段数,这里为4,即减少了4个数据段(或者说4个码块)。For example, as shown in Figure 9a, when the information bit length is K3, the segmentation method of the present application can reduce the number of segments indicated by the dotted circle 2003 compared to the segmentation method in the prior art. , here is 4, that is, 4 data segments (or 4 code blocks) are reduced.
示例性的,如图9a所示,针对6/8码率,选取了3个不同的信息比特长度K1、K2、K3。在图9b中,针对3/4码率,分别在信息比特长度K1、信息比特长度K2、信息比特长度K3的不同条件下,比较了现有技术中的分段方法和本申请的分段方法,在不同信噪比下(SNR)接收的丢包率(PER),及接收出错的概率。For example, as shown in Figure 9a, for the 6/8 code rate, three different information bit lengths K1, K2, and K3 are selected. In Figure 9b, for the 3/4 code rate, the segmentation method in the prior art and the segmentation method of this application are compared under different conditions of information bit length K1, information bit length K2, and information bit length K3. , the received packet loss rate (PER) under different signal-to-noise ratios (SNR), and the probability of receiving errors.
示例性的,在图9b(1)中,针对3/4码率,在信息比特长度K1的条件下,比较了现有技术中的分段方法和本申请的分段方法,在不同SNR下的接收丢包率(PER)的曲线,其中,丢包率也可以是接收出错的概率。其中,在图9b(1)中,曲线3001表示现有技术中的分段方法对应的曲线,曲线3002表示本申请的分段方法对应的曲线。For example, in Figure 9b(1), for the 3/4 code rate, under the condition of the information bit length K1, the segmentation method in the prior art and the segmentation method of the present application are compared, under different SNRs The curve of the receiving packet loss rate (PER), where the packet loss rate can also be the probability of receiving errors. Among them, in Figure 9b(1), curve 3001 represents the curve corresponding to the segmentation method in the prior art, and curve 3002 represents the curve corresponding to the segmentation method of the present application.
在图9b(2)中,针对3/4码率,在信息比特长度K2的条件下,比较了现有技术中的分段方法和本申请的分段方法,在不同SNR下的接收丢包率(PER)的曲线,其中,丢包率也可以是接收出错的概率。其中,在图9b(2)中,曲线4001表示现有技术中的分段方法对应的曲线,曲线4002表示本申请的分段方法对应的曲线。In Figure 9b(2), for the 3/4 code rate, under the condition of information bit length K2, the segmentation method in the prior art and the segmentation method of this application are compared. The receiving packet loss under different SNR The curve of packet loss rate (PER), where the packet loss rate can also be the probability of receiving errors. Among them, in Figure 9b(2), curve 4001 represents the curve corresponding to the segmentation method in the prior art, and curve 4002 represents the curve corresponding to the segmentation method of the present application.
在图9b(3)中,针对3/4码率,在信息比特长度K3的条件下,比较了现有技术中的分段方法和本申请的分段方法,在不同SNR下的接收丢包率(PER)的曲线,其中,丢包率也可以是接收出错的概率。其中,在图9b(3)中,曲线5001表示现有技术中的分段方法对应的曲线,曲线5002表示本申请的分段方法对应的曲线。In Figure 9b(3), for the 3/4 code rate, under the condition of information bit length K3, the segmentation method in the prior art and the segmentation method of this application are compared. The receiving packet loss under different SNR The curve of packet loss rate (PER), where the packet loss rate can also be the probability of receiving errors. Among them, in Figure 9b(3), curve 5001 represents the curve corresponding to the segmentation method in the prior art, and curve 5002 represents the curve corresponding to the segmentation method of the present application.
从图9b可以看到,相比于现有技术中的分段方法,本申请的分段方法通过减少分段数,可以降低丢包率,提升接收灵敏度。As can be seen from Figure 9b, compared with the segmentation method in the prior art, the segmentation method of this application can reduce the packet loss rate and improve the reception sensitivity by reducing the number of segments.
综上,在上述任意实施方式中,本申请的分段方法相比于现有技术中的分段方法,可减少总分段数,从而减少分段结果对应的分段数量。那么通过减少总分段数量,以及将相同码长的小码块的数量降低到3个以下,可降低丢包率,提升对分段后的码块的编码结果的接收灵敏度,以提升码块的接收性能;此外,与低信噪比情况类似,本申请的分段方法,通过减少分段数量,还可提升强干扰环境下的接收性能,及提升接收端(例如接收机)的抗干扰性能。In summary, in any of the above embodiments, the segmentation method of the present application can reduce the total number of segments compared to the segmentation methods in the prior art, thereby reducing the number of segments corresponding to the segmentation results. Then by reducing the total number of segments and reducing the number of small code blocks of the same code length to less than 3, the packet loss rate can be reduced and the reception sensitivity of the encoding results of the segmented code blocks can be improved to improve the code block The receiving performance of performance.
在一种可能的实施方式中,图10为本申请实施例提供的一种数据处理装置的结构示意图。如图10所示,该数据处理装置500可包括:处理器501、收发器505,可选的还包括存储器502。In a possible implementation, FIG. 10 is a schematic structural diagram of a data processing device provided by an embodiment of the present application. As shown in Figure 10, the data processing device 500 may include: a processor 501, a transceiver 505, and optionally a memory 502.
所述收发器505可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器505可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。The transceiver 505 may be called a transceiver unit, a transceiver, a transceiver circuit, etc., and is used to implement transceiver functions. The transceiver 505 may include a receiver and a transmitter. The receiver may be called a receiver or a receiving circuit, etc., used to implement the receiving function; the transmitter may be called a transmitter, a transmitting circuit, etc., used to implement the transmitting function.
存储器502中可存储计算机程序或软件代码或指令504,该计算机程序或软件代码或指令504还可称为固件。处理器501可通过运行其中的计算机程序或软件代码或指令503,或通过调用存储器502中存储的计算机程序或软件代码或指令504,以实现本申请各实施例提供的数据处理方法。其中,处理器501可以为中央处理器(central processing unit,CPU),存储器502例如可以为只读存储器(read-only memory,ROM),或为随机存取存储器(random access memory,RAM)。Computer program or software code or instructions 504 may be stored in the memory 502, which may also be referred to as firmware. The processor 501 can implement the data processing method provided by each embodiment of the present application by running the computer program or software code or instructions 503 therein, or by calling the computer program or software code or instructions 504 stored in the memory 502 . The processor 501 may be a central processing unit (CPU), and the memory 502 may be a read-only memory (ROM) or a random access memory (RAM).
本申请中描述的处理器501和收发器505可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路RFIC、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。The processor 501 and transceiver 505 described in this application can be implemented in integrated circuits (ICs), analog ICs, radio frequency integrated circuits RFICs, mixed signal ICs, application specific integrated circuits (ASICs), printed circuits on printed circuit board (PCB), electronic equipment, etc.
上述数据处理装置500还可以包括天线506,该数据处理装置500所包括的各模块仅为示例说明,本申请不对此进行限制。The above-mentioned data processing device 500 may also include an antenna 506. Each module included in the data processing device 500 is only an example and is not limited by this application.
数据处理装置的结构可以不受图10的限制。数据处理装置可以是独立的设备或者可以是较大设备的一部分。例如所述数据处理装置的实现形式可以是:The structure of the data processing device may not be limited by FIG. 10 . The data processing apparatus may be a stand-alone device or may be part of a larger device. For example, the implementation form of the data processing device may be:
(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;(2)具有一个或多个IC的集合,可选的,该IC集合也可以包括用于存储数据,指令的存储部件;(3)可嵌入在其他设备内的模块;(4)车载设备等等;(5)其他等等。(1) An independent integrated circuit IC, or chip, or chip system or subsystem; (2) A collection of one or more ICs. Optionally, the IC collection may also include storage for storing data and instructions. Components; (3) Modules that can be embedded in other equipment; (4) Vehicle-mounted equipment, etc.; (5) Others, etc.
对于数据处理装置的实现形式是芯片或芯片系统的情况,可参见图11所示的芯片的结构示意图。图11所示的芯片包括处理器601和接口602。其中,处理器601的数量可以是一个或多个,接口602的数量可以是多个。可选的,该芯片或芯片系统可以包括存储器603。For the case where the data processing device is implemented in the form of a chip or a chip system, please refer to the schematic structural diagram of the chip shown in Figure 11 . The chip shown in Figure 11 includes a processor 601 and an interface 602. The number of processors 601 may be one or more, and the number of interfaces 602 may be multiple. Optionally, the chip or chip system may include memory 603 .
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All relevant content of each step involved in the above method embodiments can be quoted from the functional description of the corresponding functional module, and will not be described again here.
基于相同的技术构思,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序包含至少一段代码,该至少一段代码可由计算机执行,以控制计算机用以实现上述数据处理方法实施例。Based on the same technical concept, embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program includes at least one section of code. The at least one section of code can be executed by a computer to control the computer. Used to implement the above data processing method embodiments.
基于相同的技术构思,本申请实施例还提供一种计算机程序,当该计算机程序被终端设备执行时,用以实现上述数据处理方法实施例。Based on the same technical concept, embodiments of the present application also provide a computer program, which, when executed by a terminal device, is used to implement the above data processing method embodiments.
所述程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。The program may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory that is not packaged with the processor.
基于相同的技术构思,本申请实施例还提供一种芯片,包括处理器。处理器可实现上述数据处理方法实施例。Based on the same technical concept, embodiments of the present application also provide a chip including a processor. The processor can implement the above data processing method embodiments.
结合本申请实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The steps of the methods or algorithms described in connection with the disclosure of the embodiments of this application can be implemented in hardware or by a processor executing software instructions. Software instructions can be composed of corresponding software modules. Software modules can be stored in random access memory (Random Access Memory, RAM), flash memory, read only memory (Read Only Memory, ROM), erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), register, hard disk, removable hard disk, compact disc (CD-ROM) or any other form of storage media well known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage media may be located in an ASIC.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码 进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (21)

  1. 一种数据处理方法,其特征在于,所述方法包括:A data processing method, characterized in that the method includes:
    获取第一数据;Get the first data;
    对所述第一数据进行分段处理,获取目标分段结果,其中,所述目标分段结果对应n个码长,所述n个码长中除最大码长和最小码长之外的每个码长对应的分段段数小于或等于2,其中,n为整数,n≥2。Perform segmentation processing on the first data to obtain a target segmentation result, where the target segmentation result corresponds to n code lengths, and each of the n code lengths except the maximum code length and the minimum code length The number of segments corresponding to a code length is less than or equal to 2, where n is an integer and n≥2.
  2. 根据权利要求1所述的方法,其特征在于,所述对所述第一数据进行分段处理,获取目标分段结果,包括:The method according to claim 1, characterized in that, performing segmentation processing on the first data to obtain target segmentation results includes:
    按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果。According to the order of the n code lengths from large to small, based on the remaining number of information bits to be segmented in the first data, the first data is segmented to obtain the target segmentation result.
  3. 根据权利要求2所述的方法,其特征在于,所述按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果,包括:The method according to claim 2, characterized in that, in order of the n code lengths from large to small, based on the remaining number of information bits to be segmented in the first data, the first The data is segmented to obtain target segmentation results, including:
    按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和所述第一数据中剩余的待分段信息比特数,确定对应所述第i个码长的最多分段段数j;In descending order of the n code lengths, the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, and the remaining bits in the first data The number of information bits to be segmented determines the maximum number of segmented segments j corresponding to the i-th code length;
    按照所述对应所述第i个码长的最多分段段数j,对所述第一数据进行分段处理,获取目标分段结果,其中,所述第i个码长对应的分段段数为j;According to the maximum number of segments j corresponding to the i-th code length, perform segmentation processing on the first data to obtain the target segmentation result, wherein the number of segments corresponding to the i-th code length is j;
    其中,1≤i≤n,i,j均为正整数。Among them, 1≤i≤n, i, j are all positive integers.
  4. 根据权利要求3所述的方法,其特征在于,所述按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和所述第一数据中剩余的待分段信息比特数,确定对应所述第i个码长的最多分段段数j,包括:The method according to claim 3, characterized in that, in order of the n code lengths from large to small, the segment corresponding to the i-th code length among the n code lengths needs to include The first number of information bits, and the remaining number of information bits to be segmented in the first data, determine the maximum number of segmented segments j corresponding to the i-th code length, including:
    按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和,所述第一数据中剩余的待分配至所述第i个码长的第二信息比特数,确定对应所述第i个码长的最多分段段数j;According to the order of the n code lengths from large to small, the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, and, the remaining number in the first data The number of second information bits to be allocated to the i-th code length is determined by determining the maximum number of segments j corresponding to the i-th code length;
    其中,所述第二信息比特数为所述第一数据中剩余的待分段信息比特数与第三信息比特数的差值;Wherein, the second number of information bits is the difference between the number of remaining information bits to be segmented in the first data and the third number of information bits;
    其中,所述第三信息比特数为每个第四码长对应的分段所需包括的信息比特数之和;Wherein, the third number of information bits is the sum of the number of information bits required to be included in each segment corresponding to the fourth code length;
    其中,所述第四码长为在所述n个码长中小于所述第i个码长的码长。Wherein, the fourth code length is a code length smaller than the i-th code length among the n code lengths.
  5. 根据权利要求1所述的方法,其特征在于,所述对所述第一数据进行分段处理,获取目标分段结果,包括:The method according to claim 1, characterized in that, performing segmentation processing on the first data to obtain target segmentation results includes:
    获取与所述第一数据对应的初始分段结果;Obtain the initial segmentation result corresponding to the first data;
    在所述初始分段结果包括段数大于或等于2的第一分段的情况下,将至少两个所述 第一分段合并为第二码长的至少一个第二分段,以获取目标分段结果,其中,所述第一分段对应同一第一码长,所述第二码长大于所述第一码长。In the case where the initial segmentation result includes a first segment with a segment number greater than or equal to 2, merge at least two of the first segments into at least one second segment with a second code length to obtain the target segment. Segment result, wherein the first segment corresponds to the same first code length, and the second code length is greater than the first code length.
  6. 根据权利要求5所述的方法,其特征在于,所述将至少两个所述第一分段合并为第二码长的第二分段,包括:The method of claim 5, wherein merging at least two first segments into a second segment with a second code length includes:
    按照码长从小到大的顺序,将所述初始分段结果中的至少两个所述第一分段合并为第二码长的第二分段。In order of code length from small to large, at least two first segments in the initial segmentation results are merged into second segments of the second code length.
  7. 根据权利要求5或6所述的方法,其特征在于,所述将至少两个所述第一分段合并为第二码长的第二分段,包括:The method according to claim 5 or 6, characterized in that merging at least two first segments into a second segment with a second code length includes:
    将至少两个所述第一分段和目标数量的信息比特,合并为第二码长的第二分段;Combine at least two of the first segments and a target number of information bits into a second segment of the second code length;
    其中,所述目标数量的信息比特来自:与所述初始分段结果对应的第三码长的第三分段,其中,所述第三码长小于所述第一码长。Wherein, the target number of information bits comes from: a third segment with a third code length corresponding to the initial segmentation result, wherein the third code length is smaller than the first code length.
  8. 根据权利要求5至7中任意一项所述的方法,其特征在于,所述初始分段结果按照码长从大到小的顺序排列。The method according to any one of claims 5 to 7, characterized in that the initial segmentation results are arranged in order from large to small code lengths.
  9. 根据权利要求5至8中任意一项所述的方法,其特征在于,所述至少两个第一分段在所述初始分段结果中的排列位置相邻。The method according to any one of claims 5 to 8, wherein the at least two first segments are arranged adjacently in the initial segmentation result.
  10. 根据权利要求5至9中任意一项所述的方法,其特征在于,所述第二码长为第一码长的两倍。The method according to any one of claims 5 to 9, characterized in that the second code length is twice the first code length.
  11. 根据权利要求5至10中任意一项所述的方法,其特征在于,所述第一码长为所述n个码长中除最大码长之外的码长。The method according to any one of claims 5 to 10, characterized in that the first code length is a code length other than the maximum code length among the n code lengths.
  12. 根据权利要求1至11中任意一项所述的方法,其特征在于,所述n个码长中最小码长,在所述目标分段结果中对应的分段所包括的信息比特数大于或等于p,其中,p为正整数,所述最小码长对应的分段段数小于或等于3。The method according to any one of claims 1 to 11, characterized in that the minimum code length among the n code lengths, the number of information bits included in the corresponding segment in the target segmentation result is greater than or Equal to p, where p is a positive integer, and the number of segments corresponding to the minimum code length is less than or equal to 3.
  13. 根据权利要求1至12中任意一项所述的方法,其特征在于,所述目标分段结果按照所述n个码长从大到小的顺序排列。The method according to any one of claims 1 to 12, characterized in that the target segmentation results are arranged in descending order of the n code lengths.
  14. 一种数据处理装置,其特征在于,所述装置包括:A data processing device, characterized in that the device includes:
    第一获取模块,用于获取第一数据;The first acquisition module is used to acquire the first data;
    分段模块,用于对所述第一数据进行分段处理,获取目标分段结果,其中,所述目标分段结果对应n个码长,所述n个码长中除最大码长和最小码长之外的每个码长对应的分段段数小于或等于2,其中,n为整数,n≥2。A segmentation module is used to segment the first data and obtain a target segmentation result, where the target segmentation result corresponds to n code lengths, and the n code lengths are divided into the largest code length and the smallest code length. The number of segments corresponding to each code length other than the code length is less than or equal to 2, where n is an integer and n≥2.
  15. 根据权利要求14所述的装置,其特征在于,The device according to claim 14, characterized in that:
    所述分段模块,具体用于按照所述n个码长从大到小的顺序,基于所述第一数据中剩余的待分段信息比特数,对所述第一数据进行分段处理,获取目标分段结果。The segmentation module is specifically configured to perform segmentation processing on the first data based on the remaining number of information bits to be segmented in the first data in descending order of the n code lengths, Get the target segmentation results.
  16. 根据权利要求15所述的装置,其特征在于,所述分段模块,具体用于:The device according to claim 15, characterized in that the segmentation module is specifically used for:
    按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和所述第一数据中剩余的待分段信息比特数,确定对应所述第i个码长的最多分段段数j;In descending order of the n code lengths, the number of first information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, and the remaining bits in the first data The number of information bits to be segmented determines the maximum number of segmented segments j corresponding to the i-th code length;
    按照所述对应所述第i个码长的最多分段段数j,对所述第一数据进行分段处理,获取目标分段结果,其中,所述第i个码长对应的分段段数为j;According to the maximum number of segments j corresponding to the i-th code length, perform segmentation processing on the first data to obtain the target segmentation result, wherein the number of segments corresponding to the i-th code length is j;
    其中,1≤i≤n,i,j均为正整数。Among them, 1≤i≤n, i, j are all positive integers.
  17. 根据权利要求16所述的装置,其特征在于,The device according to claim 16, characterized in that:
    所述分段模块,具体用于按照所述n个码长从大到小的顺序,基于所述n个码长中第i个码长对应的分段所需包括的第一信息比特数,和,所述第一数据中剩余的待分配至所述第i个码长的第二信息比特数,确定对应所述第i个码长的最多分段段数j;The segmentation module is specifically configured to, in descending order of the n code lengths, based on the first number of information bits required to be included in the segment corresponding to the i-th code length among the n code lengths, And, the remaining number of second information bits in the first data to be allocated to the i-th code length determines the maximum number of segments j corresponding to the i-th code length;
    其中,所述第二信息比特数为所述第一数据中剩余的待分段信息比特数与第三信息比特数的差值;Wherein, the second number of information bits is the difference between the number of remaining information bits to be segmented in the first data and the third number of information bits;
    其中,所述第三信息比特数为每个第四码长对应的分段所需包括的信息比特数之和;Wherein, the third number of information bits is the sum of the number of information bits required to be included in each segment corresponding to the fourth code length;
    其中,所述第四码长为在所述n个码长中小于所述第i个码长的码长。Wherein, the fourth code length is a code length smaller than the i-th code length among the n code lengths.
  18. 根据权利要求14所述的装置,其特征在于,所述分段模块,具体用于:The device according to claim 14, characterized in that the segmentation module is specifically used for:
    获取与所述第一数据对应的初始分段结果;Obtain the initial segmentation result corresponding to the first data;
    在所述初始分段结果包括段数大于或等于2的第一分段的情况下,将至少两个所述第一分段合并为第二码长的至少一个第二分段,以获取目标分段结果,其中,所述第一分段对应同一第一码长,所述第二码长大于所述第一码长。In the case where the initial segmentation result includes a first segment with a segment number greater than or equal to 2, merge at least two of the first segments into at least one second segment with a second code length to obtain the target segment. Segment result, wherein the first segment corresponds to the same first code length, and the second code length is greater than the first code length.
  19. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序运行在计算机或处理器上时,使得所述计算机或所述处理器执行如权利要求1至13中任意一项所述的方法。A computer-readable storage medium, characterized by comprising a computer program, which when the computer program is run on a computer or processor, causes the computer or processor to execute any one of claims 1 to 13 the method described.
  20. 一种数据处理装置,其特征在于,包括一个或多个接口电路和一个或多个处理器;所述接口电路用于从存储器接收信号,并向所述处理器发送所述信号,所述信号包括存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述处理器用于执行如权利要求1至13中任意一项所述的方法。A data processing device, characterized in that it includes one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory and send the signal to the processor, and the signal Comprising computer instructions stored in a memory; when the processor executes the computer instructions, the processor is configured to perform the method according to any one of claims 1 to 13.
  21. 一种计算机程序产品,其特征在于,所述计算机程序产品包括软件程序,当所述 软件程序被计算机或处理器执行时,使得权利要求1至13中任一项所述的方法的步骤被执行。A computer program product, characterized in that the computer program product includes a software program that, when executed by a computer or processor, causes the steps of the method according to any one of claims 1 to 13 to be executed .
PCT/CN2022/116883 2022-06-14 2022-09-02 Data processing method and apparatus WO2023240804A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210669345.0 2022-06-14
CN202210669345 2022-06-14

Publications (1)

Publication Number Publication Date
WO2023240804A1 true WO2023240804A1 (en) 2023-12-21

Family

ID=89193077

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/116883 WO2023240804A1 (en) 2022-06-14 2022-09-02 Data processing method and apparatus

Country Status (1)

Country Link
WO (1) WO2023240804A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600201A (en) * 2017-10-01 2019-04-09 电信科学技术研究院 A kind of Polarization Coding method, apparatus, electronic equipment and storage medium
CN110380819A (en) * 2019-07-03 2019-10-25 深圳大学 A kind of segmentation overturning polarization code coding method and intelligent terminal based on LLR
CN112583522A (en) * 2019-09-27 2021-03-30 华为技术有限公司 Method for sectional coding of polarization code and communication equipment
CN113507289A (en) * 2021-07-29 2021-10-15 上海交通大学 Encoder, decoder and code word generation method
CN114070461A (en) * 2020-07-30 2022-02-18 华为技术有限公司 Retransmission method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600201A (en) * 2017-10-01 2019-04-09 电信科学技术研究院 A kind of Polarization Coding method, apparatus, electronic equipment and storage medium
CN110380819A (en) * 2019-07-03 2019-10-25 深圳大学 A kind of segmentation overturning polarization code coding method and intelligent terminal based on LLR
WO2021000531A1 (en) * 2019-07-03 2021-01-07 深圳大学 Polar code segmented flipping decoding method based on llr, and intelligent terminal
CN112583522A (en) * 2019-09-27 2021-03-30 华为技术有限公司 Method for sectional coding of polarization code and communication equipment
WO2021057461A1 (en) * 2019-09-27 2021-04-01 华为技术有限公司 Method for polar code segment encoding, and communication device
CN114070461A (en) * 2020-07-30 2022-02-18 华为技术有限公司 Retransmission method and device
CN113507289A (en) * 2021-07-29 2021-10-15 上海交通大学 Encoder, decoder and code word generation method

Similar Documents

Publication Publication Date Title
US20220123766A1 (en) Method And Device For Interleaving Data
US9628224B2 (en) Device and method for optimizing compression level of HARQ signal
CN110113132B (en) Coding and decoding method and terminal
US11303498B2 (en) Data transmission method and apparatus based on probability non-uniform modulation
CN107342774B (en) Encoding method, decoding method, device and equipment
RU2498517C2 (en) Method of encoding control information in communication system, as well as method and apparatus for transmitting and receiving control information
RU2453992C2 (en) Method of encoding control information in wireless communication system, as well as method and apparatus for transmitting and receiving control information
WO2018202057A1 (en) Method for transmitting data, base station, and terminal apparatus
US8161210B1 (en) Multi-queue system and method for deskewing symbols in data streams
US20200177309A1 (en) Sequence generation method for polar code, storage medium thereof, and data transmission method and apparatus using same
US10476639B2 (en) User assignment of resource blocks in a preamble
US10560123B2 (en) Method for generating a sequence for a pola code and medium therefor and method and apparatus for transmitting data using thereof
WO2019024696A1 (en) Method, apparatus and device for determining size of transmission block
JPWO2011064837A1 (en) Receiver, reception method and reception control program
WO2022116458A1 (en) Tbs determination method
WO2023240804A1 (en) Data processing method and apparatus
US7467150B2 (en) Block-aware encoding of bitmap for bitmap index eliminating max-slot restriction
US8452902B2 (en) Methods for transmitting buffer size information
WO2017054571A1 (en) Data transmission method, device and system
US20210298057A1 (en) Transport Block Scheduling Method and Device, Storage Medium and Electronic Device
CN108365929A (en) The method and apparatus of transmission data and the method and apparatus for transmitting information
WO2018201903A1 (en) Data transmission method, terminal, and base station
US11569841B2 (en) Data compression techniques using partitions and extraneous bit elimination
CN114793144B (en) Signal encoding and decoding method and device, electronic equipment, chip and storage medium
WO2019029624A1 (en) Method and device for communication

Legal Events

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

Ref document number: 22946477

Country of ref document: EP

Kind code of ref document: A1