WO2008028419A1 - Interleaving/de-interleaving method and system in communication system - Google Patents

Interleaving/de-interleaving method and system in communication system Download PDF

Info

Publication number
WO2008028419A1
WO2008028419A1 PCT/CN2007/070468 CN2007070468W WO2008028419A1 WO 2008028419 A1 WO2008028419 A1 WO 2008028419A1 CN 2007070468 W CN2007070468 W CN 2007070468W WO 2008028419 A1 WO2008028419 A1 WO 2008028419A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
interleaving
deinterleaving
column
matrix
Prior art date
Application number
PCT/CN2007/070468
Other languages
French (fr)
Chinese (zh)
Inventor
Jianhai Shen
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008028419A1 publication Critical patent/WO2008028419A1/en

Links

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/27Coding, 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 using interleaving techniques
    • H03M13/2703Coding, 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 using interleaving techniques the interleaver involving at least two directions

Definitions

  • the present invention relates to an implementation method and system for interleaving and deinterleaving, and more particularly to an implementation method and system for interleaving and deinterleaving in mobile communication, and belongs to the field of communication technologies.
  • the fading of the wireless channel causes errors in the transmitted data stream, causing image hopping, discontinuity, mosaic, etc. at the receiving end. Therefore, the digital stream needs to be processed correspondingly through channel coding.
  • the system has certain error correction capability and anti-interference ability, thereby greatly avoiding the occurrence of bit errors in data stream transmission.
  • the interleaving technique is one of the error processing techniques. In order to resist the fading of the wireless channel, the interleaving technique is used twice in the physical layer of the third generation mobile communication.
  • the purpose of the interleaving technique is to discretize a long burst error into a random error and then eliminate the random error by using a coding technique that corrects the random error.
  • bit errors often occur in series, because the long fading valleys affecting several consecutive bits
  • interleaving techniques can be used to spread these errors, making long strings of bit errors into short string errors, so that forward codes can be used (FEC).
  • FEC forward codes
  • the interleaving technique rearranges the coded signals according to certain rules. After deinterleaving, the burst errors are dispersed in the inter-turn, making them similar to random errors that occur independently, so that the forward error correction coding can effectively correct the errors.
  • Figure 1 is a schematic diagram of the principle of interleaving and de-interleaving, sequence a
  • sequence c After transmission, a sequence c is obtained, in which chips 2, 7, 12, 17 are interfered as error chips due to burst errors; sequence c is deinterleaved to obtain sequence d
  • the transmission channel is channel-encoded and then divided into one radio frame (each radio frame is 10 milliseconds in length) mapped onto the physical channel, the third generation communication organization (3GPP) protocol.
  • the specified data packet can be divided into 1, 2, 4, 8
  • TTI transmission interval
  • the first interleaving of the third generation mobile communication physical layer is performed between these radio frames, and the second interleaving is performed within each radio frame.
  • the first interleaving is that after the data packet of the transport channel is divided into several radio frames, the radio frames are inter-interleaved with radio frames and then mapped to the physical channel instead of being mapped to the physical channel in order.
  • the second interleaving is performed in a radio frame as follows:
  • [11] Fill the data into the matrix by row, first fill the 0th column, 0th column, 0th row, 1st column, 0th row, 2nd ⁇ 1J, 0th row, 3rd column... . Refill the first row, column 0, row 1, column 1, row 1, column 2, J, row 1, column 3, ... until all data is filled in the matrix; If the remainder of the physical channel bearer divided by 30 is n (1 is not 0), then 30-n invalid data is filled in at the end of the last line;
  • a method for implementing a second interleaving and deinterleaving of a mobile communication physical layer includes:
  • the software implements the second interleaving and deinterleaving.
  • the method needs to apply for a piece of memory, and the memory size is carried by the physical channel, and the data is all saved before the interleaving is calculated.
  • the physical channel carries the amount of data of one radio frame. Each radio frame is divided into 15 slots, in the absence of compression mode, 15
  • the gaps carry data, and the number of gaps carrying data is variable.
  • the physical channel bearer In the absence of a compressed mode, the physical channel bearer is an integer multiple of 30; in the case of compressed mode, the physical channel bearer is not necessarily an integer multiple of 30.
  • the hardware implements the second interleaving and deinterleaving. This method also needs to use a piece of memory. The memory size is carried by the physical channel. After all the data is stored in the memory, the interleaving is calculated. As shown in Figure 2, the data stream f is in the data input order before interleaving.
  • the sequence enters the interleaver. After interleaving, the position of the data changes.
  • the interleaved data stream h is output in the order of 0-9 in the order of data output.
  • the embodiments of the present invention provide a method and system for implementing interleaving and deinterleaving in mobile communication, which can effectively reduce data processing delay.
  • An embodiment of the present invention provides a method for implementing interleaving in mobile communications, including:
  • the data is cached according to the order relationship between the interleaving order information.
  • An embodiment of the present invention further provides a method for implementing deinterleaving in mobile communication, including:
  • the data is cached according to the order relationship between the deinterleaving order information.
  • An embodiment of the present invention further provides a system for interleaving in mobile communication, including:
  • the interleaving calculation module is connected to the input module, and configured to receive each data sent by the input module and calculate interleaving order information corresponding to the data, where the interleaving sequence information is used to indicate that the data is interleaved in the data stream. s position;
  • an output module connected to the interleaving calculation module, configured to output the interleaved sequence information corresponding to the data and the data;
  • the cache module caches the data according to an order relationship between the interleaving order information.
  • An embodiment of the present invention further provides a system for deinterleaving in mobile communication, including:
  • an input module configured to receive the interleaved data
  • a deinterleaving calculation module connected to the input module, configured to receive each data sent by the input module, and calculate deinterleaving order information corresponding to the data, where the deinterleaving sequence information is used to indicate deinterleaving The location of the data in the data stream;
  • an output module connected to the deinterleaving calculation module, configured to output deinterleaving sequence information corresponding to the data and the data;
  • the cache module caches the data according to an order relationship between the deinterleaving order information.
  • the processing delay for each input data only depends on waiting for the delay of calculating the interleaving order or the deinterleaving order, which is smaller than waiting for receiving the entire frame in the prior art.
  • the data is subjected to the delay of the actual position conversion processing, and if the hardware circuit is used to calculate the interleaving order or the deinterleaving order, it is possible to further Step by step greatly reduces delays. Therefore, the technical solution of the embodiment of the present invention can implement pipeline processing of input data, effectively reduce data processing delay, and is easy to implement using a hardware circuit.
  • the embodiments of the present invention can effectively reduce the data processing delay of interleaving and deinterleaving in mobile communication, and are easy to implement.
  • Figure 1 is a schematic diagram of the principle of interleaving and de-interleaving techniques
  • FIG. 2 is a schematic diagram of an implementation method of mobile communication interleaving in the prior art
  • FIG. 3 is a schematic diagram of an implementation method of interleaving in mobile communication according to an embodiment of the present invention.
  • FIG. 1 A flowchart of a first implementation manner of an interleaving method in mobile communication according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for implementing deinterleaving corresponding to the interleaving manner in FIG. 4;
  • FIG. 7 is a flowchart of a deinterleaving implementation method corresponding to the interleaving manner in FIG. 5;
  • FIG. 8 is a schematic diagram of a first embodiment of a system for interleaving in mobile communication according to the present invention.
  • FIG. 9 is a schematic diagram of a second embodiment of a system for interleaving in mobile communication according to the present invention.
  • FIG. 10 is a schematic diagram of a third embodiment of a system for interleaving in mobile communication according to the present invention.
  • FIG. 11 is a schematic diagram of a first embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention.
  • FIG. 12 is a second embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention;
  • FIG. 13 is a schematic diagram of a third embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention.
  • Embodiments calculate, for each data in the input data stream, an interleaving sequence of the data after interleaving, and save the data according to an order relationship between the interleaving sequences to implement interleaving; after receiving the data, the receiver calculates the data in the data. Deinterleaving the deinterleaving order, and storing the data according to the order relationship between the deinterleaving sequences to implement deinterleaving.
  • FIG. 3 is a schematic diagram of an implementation method of interleaving in mobile communication according to an embodiment of the present invention, and a data stream k Before interleaving, press the data input order j, press 0-9
  • the sequence enters the interleaving system, and the interleaving system calculates and stores the interleaving order information of each data according to the above-mentioned Table 1 or the interleaved column permutation table according to the preset interleaving matrix, that is, each data after interleaving in the data stream.
  • Interleaving order information corresponding to each data is saved according to the order relationship between the interleaving order information, for example, 0-9, that is, the data stream k' after obtaining the rearranged position
  • the method for implementing the interleaving in the mobile communication includes: calculating, for each input data, interleaving order information corresponding to the data, where the interleaving order information is used to indicate that the data is interleaved in the data stream. a position; outputting the data and outputting the interleaving order information corresponding to the data; and buffering the data according to an order relationship between the interleaving order information.
  • step 1 for each data of the input data stream, the data is calculated before the corresponding interleaving in the preset interleaving matrix.
  • step 4 Calculating an order in which the data is output from the interleaving matrix after interleaving according to the corresponding interleaved row number and column number in the interleaving matrix, that is, the interleaving order information; in step 4, Outputting the data and the interleaving order information corresponding to the data; then at step 5
  • each data output by the output module and the corresponding interleaving order information are saved.
  • the line number and column number before interleaving can be calculated by the following algorithm:
  • N_data represents the number of data in the data block participating in the interleaving or deinterleaving
  • the row number and column number of the data before the interleaving in the interleaving matrix are respectively indicated.
  • the calculation method is as follows:
  • row_bef_intl row_bef_intl + 1;
  • interleaved line and column numbers can be calculated by the following algorithm:
  • row_aft_intl row_bef_intl
  • column_aft_intl P[column_bef_intl]
  • the column position is such that the corresponding row number and column number in the interleaving matrix after each data interleaving is obtained.
  • FIG. 5 A flowchart of a second implementation manner of a method for implementing a second interleaving of a physical layer in a mobile communication according to the present invention, which differs from the first embodiment in that, in steps 2 and 3
  • Each bit of the bit indicating the last row is a null bit, 1 indicates a null bit, and 0 indicates normal data.
  • the number of null bits in the last line is represented by dummy_bit_num.
  • dummy_bit_bef_intl[29:0] 0x3FFFFFFF;
  • the column is evaluated as a null bit, resulting in whether each column of the last row is a null bit.
  • Each bit indicates whether the column includes a null bit, 1 indicates a null bit, and 0 indicates normal data.
  • the function P[] refers to Table 1, and the column is exchanged according to Table 1. Position 0 does not change, put the 20th column in the 1st column position, the 10th column in the 2nd column position, and the 5th column in the 3rd column position..., 17th To the 29th
  • the method includes: calculating an interlace according to a calculation result of whether the interleaved row number and column number in the interleaving matrix and the last row of the last row of the interleaving matrix are null bits.
  • the order in which the post data is output from the interleaving matrix For example, the following algorithm can be used to calculate the order in which the interleaved data is output from the interleaving matrix:
  • the data is output from the interleaving matrix and output as a column.
  • the last line may have null bits, and these empty bits are scattered on some columns of the last row, defining the variable dummy-bit
  • dummy_bit_aft_intl is 1, whether the column is a null bit, if it is 1, it is a null bit, and if it is 0, it is normal data.
  • the interleaving order d a t a _ Se q UenCe _intl of the data after interleaving is output from the interleaving matrix
  • the calculation method is as follows:
  • data_sequence_intl column_aft_intl x row ⁇ dummy—bit + row_aft_intl;
  • the method for implementing the deinterleaving of the second interleaving of the physical layer in the mobile communication includes: calculating, for each input data, deinterleaving order information corresponding to the data, where the deinterleaving sequence information is used for Indicates the position of the data in the data stream after deinterleaving; outputs the data corresponding to the data Decoding the interleaving order information; buffering the data according to the order relationship between the deinterleaving order information.
  • step 01 calculating a line number before the deinterleaving corresponding to the data in a predetermined deinterleaving matrix Column number; the number of columns of the de-interleaving matrix is 30, and the number of rows is the physical channel bearer divided by 30
  • step 02 If it is not divisible, round up; then in step 02
  • step 04 The order of outputting the data from the deinterleaving matrix after deinterleaving is calculated according to the corresponding deinterleaved row number and column number in the deinterleaving matrix, that is, the deinterleaving order information;
  • step 04 the data and the deinterleaving order information corresponding to the data are output; then in step 05, the data is buffered according to the deinterleaving order information.
  • the line number and column number before deinterleaving can be calculated by the following algorithm:
  • the last line may have empty bits, and these empty bits are scattered over some columns of the last line. Define two variables, row_bef_deintl, column_bef_deintl
  • the row number and column number of the data before deinterleaving are respectively indicated.
  • the data is output from the matrix, output by column, and the number of rows of the matrix is defined.
  • row, row N_data/30 is rounded up;
  • row_bef_deintl row_bef_deintl + 1; ⁇
  • row_bef_deintl row_bef_deintl + 1; ⁇
  • row_aft_deintl row_bef_deintl
  • column_aft_deintl P[column_bef_deintl]
  • Function P[] refers to Table 1, and column exchange is performed according to Table 1. Position 0 does not change, put column 20 in column 1, place column 10 in column 2, column 5 in column 3..., 17th To the 29th
  • the column position is such that the corresponding row number and column number in the deinterleaving matrix after each data is deinterleaved.
  • a flowchart of a deinterleaving implementation method corresponding to a medium interleaving manner, and a first implementation manner of a deinterleaving implementation method of a second interleaving of a physical layer in the foregoing mobile communication, is that between step 02 and step 03 Do the following:
  • each column of the last row of the deinterleaving matrix before the deinterleaving is a null bit according to the number of null bits of the last row of the deinterleaving matrix before deinterleaving; for example, the last algorithm before deinterleaving can be calculated by the following algorithm Whether each column of a row is a null bit:
  • each bit indicates whether the column includes null bits, 1 indicates null bits, 0
  • the column is evaluated as a null bit, resulting in whether each column of the last row is a null bit.
  • Each bit indicates whether the column includes a null bit, 1 indicates a null bit, and 0 indicates normal data.
  • dummy_bit_aft_deintl[i] dummy_bit_bef_deintl[P[i]]; ⁇
  • the function P[] refers to Table 1, and the column is exchanged according to Table 1. Position 0 does not change, put the 20th column in the 1st column position, the 10th column in the 2nd column position, and the 5th column in the 3rd column position..., 17th To the 29th
  • the column position is such that each column of the last row after deinterleaving is null.
  • the method includes: calculating, according to the calculation, whether each column of the last row of the deinterleaving matrix after the deinterleaving is a null bit, and the corresponding deinterleaved row number and column of the data in the deinterleaving matrix No., the order in which the data is output from the de-interleaving matrix after deinterleaving is calculated.
  • the order in which the data is output from the deinterleaving matrix after deinterleaving can be calculated, for example, by the following algorithm: [139] The order in which the data is output from the deinterleaving matrix after deinterleaving is defined as d a t a _ Se q UenCe _dei n tl :
  • a schematic diagram of a first embodiment of a system for second interleaving of a physical layer in the mobile communication of the present invention comprising: an input module A1 for receiving data; an interleaving calculation module A2, connected to the input module A1, Receiving input module A1
  • a connection the interleaving order information corresponding to the output data and the data; a cache module (not shown in the figure)
  • the cache module may be implemented by using an existing storage unit of the entire transmitting device including the interleaving system, for example, a storage unit in the transmitting module.
  • FIG. 9 is a schematic diagram of a second implementation manner of a system for second interleaving of a physical layer in mobile communication according to the present invention (not shown in the cache module diagram)
  • the first embodiment of the system for interleaving the second layer of the physical layer in the mobile communication of the present invention is different in that the interleaving calculation module A2 comprises: an interleaving pre-number and column number calculation module A21
  • the data and the interleaving order information corresponding to the data are output, and then the buffer module (not shown) receives the data and the interleaving order information corresponding to the data, and caches the data according to the order between the interleaving order information.
  • FIG. 10 A schematic diagram of a third embodiment of a system for second interleaving of a physical layer in mobile communication according to the present invention (not shown in the cache module diagram), and a second system of the second interleaving of the physical layer in the mobile communication of the present invention described above.
  • the difference between the embodiments is: Interleaving sequence information calculation module A23
  • the interleaving order information calculating module A23 is configured to receive the data output by the interleaved line number and column number calculating module A22 and the interleaved line number and column number corresponding to the data, and the receiving null bit position calculating module A4.
  • each column of the last row of the interleaving matrix after the output interleaving is a calculation result of a null bit, and calculating the interleaving order information corresponding to the data, the output module A3
  • the data and the interleaving order information corresponding to the data are output, and then the buffer module (not shown) receives the data and the interleaving order information corresponding to the data, and caches the data according to the order between the interleaving order information.
  • a schematic diagram of a first embodiment of a system for deinterleaving a second interleaving of a physical layer in the mobile communication of the present invention comprising: an input module B1 for receiving data; a deinterleaving calculation module B2, and an input module B1 connection, for receiving input module B1
  • the cache module may be implemented by using an existing storage unit of the entire transmitting device, including the interleaving system, for example, a storage unit in the receiving module.
  • a schematic diagram of a second embodiment of a system for deinterleaving a second interleaving of a physical layer in a mobile communication according to the present invention (not shown in the cache module diagram), and deinterleaving with a second interleaving of the physical layer in the above mobile communication
  • the difference between the first embodiment of the system is that the deinterleaving calculation module B2
  • the output data and the deinterleaved line number and column number corresponding to the data, and the de-interleaving order information corresponding to the data are calculated, and the data and the de-interleaving order information corresponding to the data are output.
  • a schematic diagram of a third embodiment of a system for deinterleaving a second interleaving of a physical layer in a mobile communication according to the present invention (not shown in the cache module diagram), and a solution for the second interleaving of the physical layer in the mobile communication of the present invention described above.
  • the second embodiment of the interleaved system differs in that: the deinterleaving order information calculation module B23 is also connected to the null bit position calculation module B4, and the null bit position calculation module B4
  • each column of the last row of the deinterleaving matrix is a result of calculation of a null bit, and after calculating the deinterleaving order information corresponding to the data, the data and the deinterleaving order information corresponding to the data are output.
  • the embodiment of the present invention calculates the interleaving order of each data in the input data stream after interleaving, and saves the order according to the order relationship between the interleaving sequences.
  • Data the interleaving process is implemented; the deinterleaving end calculates the deinterleaving order of the data after deinterleaving, and saves the data according to the order relationship between the deinterleaving sequences to implement the interleaving process.
  • the technical solution of the embodiments of the present invention can perform interleaving processing and deinterleaving processing on each input data, that is, the method of the present invention is required to save the data in the entire frame and then change the position of each data.
  • the technical solution of the embodiment of the present invention delays the processing of each input data only by waiting for the delay of calculating the interleaving sequence or the deinterleaving sequence, which is smaller than waiting for receiving the data in the entire frame and performing the actual location in the prior art.
  • the delay of the transform process, and if the hardware circuit is used to calculate the interleaving order or the de-interleaving order, the data processing delay can be further greatly reduced.
  • the second interleaving and deinterleaving of the physical layer in the WCDMA mobile communication system is taken as an example.
  • the implementation method of the interleaving and the deinterleaving implementation method in the mobile communication provided by the embodiments of the present invention may be Suitable for other interleaving and deinterleaving implementations of mobile communications.
  • the above embodiments are only used to illustrate the technical solutions of the present invention and are not to be construed as limiting the embodiments thereof.
  • the present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents of some of the technical features are included in the scope of the technical solution claimed in the present invention without departing from the spirit of the technical solution of the present invention.

Abstract

An interleaving method in mobile communication, including steps of computing interleaving sequence information corresponding to each input data, outputting the interleaving sequence information corresponding to the data when outputting the data, the interleaving sequence information indicating the arrangement of the data in datastream after interleaving, then preserving the data according to the sequence relation between the interleaving sequence information. Further a de-interleaving method, interleaving system in mobile communication system, and a de-interleaving system in mobile communication system. The time delay of data processing in mobile communication may be effectively reduced.

Description

说明书 移动通信中交织与解交织的实现方法及系统  Method and system for implementing interleaving and deinterleaving in mobile communication
[1] 技术领域 [1] Technical field
[2] 本发明涉及一种交织与解交织的实现方法及系统, 特别涉及一种移动通信中交 织与解交织的实现方法及系统, 属于通信技术领域。  [2] The present invention relates to an implementation method and system for interleaving and deinterleaving, and more particularly to an implementation method and system for interleaving and deinterleaving in mobile communication, and belongs to the field of communication technologies.
[3] 发明背景  [3] Background of the invention
[4] 移动通信中, 由于  [4] In mobile communications, due to
无线信道的衰落等原因, 使得传送的数据流中产生误码, 从而使接收端产生图 象跳跃、 不连续、 出现马赛克等现象, 因此需要通过信道编码这一环节对数码 流进行相应的处理, 使系统具有一定的纠错能力和抗干扰能力, 从而极大地避 免数据流传送中误码的发生。 交织技术是误码处理技术之一, 为了抵抗无线信 道的衰落, 在第三代移动通信的物理层中两次使用了交织技术。  The fading of the wireless channel causes errors in the transmitted data stream, causing image hopping, discontinuity, mosaic, etc. at the receiving end. Therefore, the digital stream needs to be processed correspondingly through channel coding. The system has certain error correction capability and anti-interference ability, thereby greatly avoiding the occurrence of bit errors in data stream transmission. The interleaving technique is one of the error processing techniques. In order to resist the fading of the wireless channel, the interleaving technique is used twice in the physical layer of the third generation mobile communication.
[5] 交织技术的目的是将一个较长的突发差错离散成随机差错, 再用纠正随机差错 的编码技术消除随机差错。 [5] The purpose of the interleaving technique is to discretize a long burst error into a random error and then eliminate the random error by using a coding technique that corrects the random error.
在实际应用中, 比特差错经常成串发生, 这是由于持续吋间较长的衰落谷点会 影响到几个连续的比特,  In practical applications, bit errors often occur in series, because the long fading valleys affecting several consecutive bits,
为了纠正这些成串发生的比特差错及一些突发错误, 可以使用交织技术来分散 这些误差, 使长串的比特差错变成短串差错, 从而可以使用前向码 (FEC In order to correct these bit errors and some burst errors, interleaving techniques can be used to spread these errors, making long strings of bit errors into short string errors, so that forward codes can be used (FEC).
) 对其纠错。 ) Correct it.
交织技术对已编码的信号按一定规则重新排列, 解交织后突发性错误在吋间上 被分散, 使其类似于独立发生的随机错误, 从而前向纠错编码可以有效的进行 纠错。  The interleaving technique rearranges the coded signals according to certain rules. After deinterleaving, the burst errors are dispersed in the inter-turn, making them similar to random errors that occur independently, so that the forward error correction coding can effectively correct the errors.
[6] 图 1为交织与解交织技术的原理示意图, 序列 a  [6] Figure 1 is a schematic diagram of the principle of interleaving and de-interleaving, sequence a
为交织前的原码序列; 经过交织后码片重新排列成为序列 b  The original code sequence before interleaving; after interleaving, the chips are rearranged into a sequence b
; 经传输后得到序列 c, 其中由于突发差错使得码片 2、 7、 12、 17 被干扰成为错误码片; 序列 c经过解交织得到序列 d  After transmission, a sequence c is obtained, in which chips 2, 7, 12, 17 are interfered as error chips due to burst errors; sequence c is deinterleaved to obtain sequence d
, 错误码片被分散, 从而有利于纠错和信道译码。 [7] 第三代移动通信中, 传输信道经信道编码后将一个数据包分成若干个无线帧 ( 每个无线帧长度为 10毫秒) 映射到物理信道上, 第三代通信组织 (3GPP ) 协议中规定数据包可分成 1、 2、 4、 8 The error chips are scattered, which facilitates error correction and channel decoding. [7] In the third generation mobile communication, the transmission channel is channel-encoded and then divided into one radio frame (each radio frame is 10 milliseconds in length) mapped onto the physical channel, the third generation communication organization (3GPP) protocol. The specified data packet can be divided into 1, 2, 4, 8
个无线帧, 称为一个传输吋间间隔 (TTI  Radio frames, called a transmission interval (TTI)
) 。 第三代移动通信物理层的第一次交织在这些无线帧间进行, 第二次交织在 每个无线帧内进行。  ). The first interleaving of the third generation mobile communication physical layer is performed between these radio frames, and the second interleaving is performed within each radio frame.
[8] 第一次交织是在传输信道的数据包被分成若干个无线帧后, 将这些无线帧进行 无线帧间交织后再映射到物理信道, 而不是按顺序映射到物理信道。  [8] The first interleaving is that after the data packet of the transport channel is divided into several radio frames, the radio frames are inter-interleaved with radio frames and then mapped to the physical channel instead of being mapped to the physical channel in order.
[9] 第二次交织是在无线帧中进行, 其过程如下所述:  [9] The second interleaving is performed in a radio frame as follows:
[10] 1、 构造一个矩阵, 列数固定为 30, 行数是物理信道承载除以 30  [10] 1, construct a matrix, the number of columns is fixed to 30, the number of rows is the physical channel bearer divided by 30
, 如果不能整除则向上取整 (向上取整的含义是: 只要小数部分大于 0 , 都必须向整数部分进位 1 ) ;  If it cannot be divisible, it will be rounded up. (The meaning of rounding up is: as long as the fractional part is greater than 0, it must be carried to the integer part 1);
[11] 2、 将数据按行填入矩阵中, 先填第 0行第 0列、 第 0行第 1列、 第 0行第 2 歹 1J、 第 0行第 3列 ......., 再填第 1行第 0列、 第 1行第 1列、 第 1行第 2 歹 |J、 第 1行第 3列 ......., 直到所有数据填入矩阵中; 如果物理信道承载除以 30 的余数为 n ( 1不为0 ) , 那么在最后一行的最未尾填 30-n个无效数据;  [11] 2. Fill the data into the matrix by row, first fill the 0th column, 0th column, 0th row, 1st column, 0th row, 2nd 歹1J, 0th row, 3rd column... . Refill the first row, column 0, row 1, column 1, row 1, column 2, J, row 1, column 3, ... until all data is filled in the matrix; If the remainder of the physical channel bearer divided by 30 is n (1 is not 0), then 30-n invalid data is filled in at the end of the last line;
[12] 3、 按表 1进行列交换。 第 0列位置不变, 将第 20列放到第 1列位置, 将第 10列放到第 2列位置, 将第 5列放到第 3列位置 ......, 第 17列入到第 29 列位置;  [12] 3. Perform column exchange according to Table 1. Position 0 does not change, put the 20th column in the 1st column position, the 10th column in the 2nd column position, and the 5th column in the 3rd column position..., 17th Go to the 29th column position;
[13] 表 1第二次交织列置换表  [13] Table 1 second interlaced column permutation table
[14]
Figure imgf000004_0001
[14]
Figure imgf000004_0001
4、 将数据从矩阵中按列读出, 先读取第 0行第 0列、 第 1行第 0列、 第 2 行第 0列、 第 3行第 0列 ......, 再读取第 0行第 1列、 第 1行第 1列、 第 2 行第 1列、 第 3行第 1列 .......  4. Read the data from the matrix by column. First read the 0th column, the 0th column, the 1st row, the 0th column, the 2nd row, the 0th column, the 3rd row, the 0th column, etc. Read row 0, column 1, row 1, column 1, row 2, column 1, row 3, column 1.......
, 直到矩阵中的所有数据全部读出; 如果读取数据吋遇到无效数据, 则跳过该 无效数据读取下一个。 数据全部读出后完成交织过程。 Until all data in the matrix is read out; if invalid data is encountered after reading the data, skip the Invalid data is read next. The data is read out and the interleaving process is completed.
[16] 现有技术中, 实现移动通信物理层第二次交织和解交织的方法包括: [16] In the prior art, a method for implementing a second interleaving and deinterleaving of a mobile communication physical layer includes:
[17] 1 [17] 1
、 软件实现第二次交织和解交织。 该方法需要申请一块内存, 内存大小为物理 信道承载, 将数据全部保存后再计算交织。 其中, 物理信道承载为一个无线帧 的数据量。 每个无线帧分为 15个吋隙, 在没有压缩模式情况下, 15  The software implements the second interleaving and deinterleaving. The method needs to apply for a piece of memory, and the memory size is carried by the physical channel, and the data is all saved before the interleaving is calculated. The physical channel carries the amount of data of one radio frame. Each radio frame is divided into 15 slots, in the absence of compression mode, 15
个吋隙都会承载数据; 在有压缩模式下, 只有 7到 15  Each gap will carry data; in compressed mode, only 7 to 15
个吋隙承载数据, 承载数据的吋隙个数不定。 在没有压缩模式的情况下, 物理 信道承载是 30的整数倍; 在有压缩模式的情况下, 物理信道承载不一定是 30 的整数倍。  The gaps carry data, and the number of gaps carrying data is variable. In the absence of a compressed mode, the physical channel bearer is an integer multiple of 30; in the case of compressed mode, the physical channel bearer is not necessarily an integer multiple of 30.
[18] 2 [18] 2
、 硬件实现第二次交织和解交织。 该方法同样需要使用一块内存, 内存大小为 物理信道承载, 先将数据全部存入内存后, 再计算交织。 如图 2所示, 数据流 f 在交织前是按数据输入顺序 e即按 0-9  The hardware implements the second interleaving and deinterleaving. This method also needs to use a piece of memory. The memory size is carried by the physical channel. After all the data is stored in the memory, the interleaving is calculated. As shown in Figure 2, the data stream f is in the data input order before interleaving.
顺序进入交织器, 经过交织后, 数据的位置发生变化, 交织后的数据流 h 按数据输出顺序 g即按 0-9顺序输出。  The sequence enters the interleaver. After interleaving, the position of the data changes. The interleaved data stream h is output in the order of 0-9 in the order of data output.
[19] 上述现有技术的不足之处在于保存数据必然会对数据处理造成延吋, 延吋大小 为一个无线帧 (约 10毫秒) 。 [19] The shortcoming of the above prior art is that saving the data inevitably delays the data processing, and the delay is a radio frame (about 10 milliseconds).
[20] 发明内容 [20] Summary of the invention
[21] 本发明实施方式提供一种移动通信中交织与解交织的实现方法及系统, 能够有 效减少数据处理延吋。  [21] The embodiments of the present invention provide a method and system for implementing interleaving and deinterleaving in mobile communication, which can effectively reduce data processing delay.
[22] 本发明实施方式提供了一种移动通信中交织的实现方法, 包括: An embodiment of the present invention provides a method for implementing interleaving in mobile communications, including:
[23] 为每一个输入的数据计算该数据对应的交织顺序信息, 所述交织顺序信息用于 指示该数据交织后在数据流中的位置; [23] calculating, for each input data, interleaving order information corresponding to the data, where the interleaving order information is used to indicate a position in the data stream after the data is interleaved;
[24] 在输出该数据吋同吋输出和该数据对应的交织顺序信息; [24] outputting the data and outputting the interleaving order information corresponding to the data;
[25] 按照所述交织顺序信息之间的顺序关系缓存数据。 [25] The data is cached according to the order relationship between the interleaving order information.
[26] 本发明实施方式还提供一种移动通信中解交织的实现方法, 包括: [26] An embodiment of the present invention further provides a method for implementing deinterleaving in mobile communication, including:
[27] 对每一个输入的数据计算该数据对应的解交织顺序信息, 所述解交织顺序信息 用于指示解交织后该数据在数据流中的位置; [27] calculating, for each input data, deinterleaving order information corresponding to the data, the deinterleaving order information Used to indicate the location of the data in the data stream after deinterleaving;
[28] 输出该数据和该数据对应的所述解交织顺序信息; [28] outputting the data and the deinterleaving order information corresponding to the data;
[29] 按照所述解交织顺序信息之间的顺序关系缓存数据。 [29] The data is cached according to the order relationship between the deinterleaving order information.
[30] 本发明实施方式还提供一种移动通信中交织的系统, 包括: [30] An embodiment of the present invention further provides a system for interleaving in mobile communication, including:
[31] 输入模块, 用于接收数据; [31] an input module for receiving data;
[32] 交织计算模块, 与所述输入模块连接, 用于接收输入模块发送的每个数据并计 算该数据对应的交织顺序信息, 所述交织顺序信息用于指示该数据交织后在数 据流中的位置;  [32] The interleaving calculation module is connected to the input module, and configured to receive each data sent by the input module and calculate interleaving order information corresponding to the data, where the interleaving sequence information is used to indicate that the data is interleaved in the data stream. s position;
[33] 输出模块, 与所述交织计算模块连接, 用于输出数据和数据对应的所述交织顺 序信息;  [33] an output module, connected to the interleaving calculation module, configured to output the interleaved sequence information corresponding to the data and the data;
[34] 缓存模块, 按照所述交织顺序信息之间的顺序关系缓存这些数据。  [34] The cache module caches the data according to an order relationship between the interleaving order information.
[35] 本发明实施方式还提供一种移动通信中解交织的系统, 包括: An embodiment of the present invention further provides a system for deinterleaving in mobile communication, including:
[36] 输入模块, 用于接收交织后的数据; [36] an input module, configured to receive the interleaved data;
[37] 解交织计算模块, 与所述输入模块连接, 用于接收所述输入模块发送的每个数 据, 并计算该数据对应的解交织顺序信息, 所述解交织顺序信息用于指示解交 织后该数据在数据流中的位置;  [37] a deinterleaving calculation module, connected to the input module, configured to receive each data sent by the input module, and calculate deinterleaving order information corresponding to the data, where the deinterleaving sequence information is used to indicate deinterleaving The location of the data in the data stream;
[38] 输出模块, 与所述解交织计算模块连接, 用于输出数据和数据对应的解交织顺 序信息;  [38] an output module, connected to the deinterleaving calculation module, configured to output deinterleaving sequence information corresponding to the data and the data;
[39] 缓存模块, 按照所述解交织顺序信息之间的顺序关系缓存这些数据。  [39] The cache module caches the data according to an order relationship between the deinterleaving order information.
[40] 在上述技术方案中, 对输入数据流中的每一个数据, 计算该数据在交织后的交 织顺序, 按照所述交织顺序之间的顺序关系保存该数据, 实现交织; 接收方接 收到数据后, 计算该数据在解交织后的解交织顺序, 并按照所述解交织顺序之 间的顺序关系保存该数据。 因此, 相对于现有技术中需要先保存整个帧内的数 据然后实际地改变每个数据的位置的方法, 本发明实施方式的技术方案能够即 吋地对输入的每个数据进行处理, 而不需要等待接收到整个帧内的数据后再进 行处理, 因此对每个输入数据的处理延吋仅在于等待计算交织顺序或解交织顺 序的延吋, 小于现有技术中等待接收到整个帧内的数据并进行实际地位置变换 处理的延吋, 并且如果用硬件电路实现计算交织顺序或解交织顺序, 能够进一 步地大大减少延吋。 因此, 本发明实施方式的技术方案能够实现对输入数据的 流水处理, 有效地减少了数据处理延吋, 并且易于使用硬件电路实现。 [40] In the above technical solution, for each data in the input data stream, calculating an interleaving sequence of the data after interleaving, and storing the data according to an order relationship between the interleaving sequences to implement interleaving; the receiving party receives After the data, the deinterleaving order of the data after deinterleaving is calculated, and the data is saved according to the order relationship between the deinterleaving sequences. Therefore, with respect to the method in the prior art that the data in the entire frame needs to be saved first and then the position of each data is actually changed, the technical solution of the embodiment of the present invention can immediately process each data input without It is necessary to wait for the data in the entire frame to be processed before processing. Therefore, the processing delay for each input data only depends on waiting for the delay of calculating the interleaving order or the deinterleaving order, which is smaller than waiting for receiving the entire frame in the prior art. The data is subjected to the delay of the actual position conversion processing, and if the hardware circuit is used to calculate the interleaving order or the deinterleaving order, it is possible to further Step by step greatly reduces delays. Therefore, the technical solution of the embodiment of the present invention can implement pipeline processing of input data, effectively reduce data processing delay, and is easy to implement using a hardware circuit.
[41] 综上所述, 本发明实施方式能够有效地减少移动通信中交织、 解交织的数据处 理延吋, 并且易于实现。  [41] In summary, the embodiments of the present invention can effectively reduce the data processing delay of interleaving and deinterleaving in mobile communication, and are easy to implement.
[42] 附图简要说明  [42] BRIEF DESCRIPTION OF THE DRAWINGS
[43] 图 1为交织与解交织技术的原理示意图;  [43] Figure 1 is a schematic diagram of the principle of interleaving and de-interleaving techniques;
[44] 图 2为现有技术中移动通信交织的实现方法示意图;  [44] FIG. 2 is a schematic diagram of an implementation method of mobile communication interleaving in the prior art;
[45] 图 3为本发明实施方式移动通信中交织的实现方法示意图;  FIG. 3 is a schematic diagram of an implementation method of interleaving in mobile communication according to an embodiment of the present invention; FIG.
[46] 图 4  [46] Figure 4
为本发明实施方式移动通信中交织的实现方法的第一种实施方式的流程图; [47] 图 5  A flowchart of a first implementation manner of an interleaving method in mobile communication according to an embodiment of the present invention; [47] FIG.
为本发明实施方式移动通信中次交织的实现方法的第二种实施方式的流程图; [48] 图 6为与图 4中交织方式相对应的解交织实现方法的流程图;  A flowchart of a second implementation manner of a method for implementing secondary interleaving in mobile communication according to an embodiment of the present invention; [48] FIG. 6 is a flowchart of a method for implementing deinterleaving corresponding to the interleaving manner in FIG. 4;
[49] 图 7为与图 5中交织方式相对应的解交织实现方法的流程图; [49] FIG. 7 is a flowchart of a deinterleaving implementation method corresponding to the interleaving manner in FIG. 5;
[50] 图 8为本发明移动通信中交织的系统的第一种实施方式的示意图; [00] FIG. 8 is a schematic diagram of a first embodiment of a system for interleaving in mobile communication according to the present invention;
[51] 图 9为本发明移动通信中交织的系统的第二种实施方式的示意图; 9 is a schematic diagram of a second embodiment of a system for interleaving in mobile communication according to the present invention;
[52] 图 10为本发明移动通信中交织的系统的第三种实施方式的示意图; 10 is a schematic diagram of a third embodiment of a system for interleaving in mobile communication according to the present invention;
[53] 图 11为本发明移动通信中交织的解交织的系统的第一种实施方式的示意图; [54] 图 12为本发明移动通信中交织的解交织的系统的第二种实施方式的示意图; [55] 图 13为本发明移动通信中交织的解交织的系统的第三种实施方式的示意图。 11 is a schematic diagram of a first embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention; [12] FIG. 12 is a second embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention; FIG. 13 is a schematic diagram of a third embodiment of a system for interleaving deinterleaving in mobile communication according to the present invention.
[56] 实施本发明的方式 [56] Mode for carrying out the invention
[57] 下面结合附图和实施例, 对本发明实施方式的技术方案做进一步的详细描述。  The technical solutions of the embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments.
[58] 本发明 [58] the invention
实施方式对输入数据流中的每一个数据, 计算该数据在交织后的交织顺序, 按 照所述交织顺序之间的顺序关系保存该数据, 实现交织; 接收方接收到数据后 , 计算该数据在解交织后的解交织顺序, 并按照所述解交织顺序之间的顺序关 系保存该数据, 实现解交织。  Embodiments calculate, for each data in the input data stream, an interleaving sequence of the data after interleaving, and save the data according to an order relationship between the interleaving sequences to implement interleaving; after receiving the data, the receiver calculates the data in the data. Deinterleaving the deinterleaving order, and storing the data according to the order relationship between the deinterleaving sequences to implement deinterleaving.
[59] 图 3为本发明实施方式移动通信中交织的实现方法示意图, 数据流 k 在交织前是按数据输入顺序 j即按 0-9 3 is a schematic diagram of an implementation method of interleaving in mobile communication according to an embodiment of the present invention, and a data stream k Before interleaving, press the data input order j, press 0-9
顺序进入交织系统, 交织系统按照预先设定的交织矩阵, 根据上文所述的表 1 即交织列置换表计算并保存每一个数据的交织顺序信息即交织后每个数据在该 数据流中的位置; 交织系统中输出模块输出的数据流中数据的位置不发生变化 , 输出的仍为数据流 k, 同吋还输出数据流 k  The sequence enters the interleaving system, and the interleaving system calculates and stores the interleaving order information of each data according to the above-mentioned Table 1 or the interleaved column permutation table according to the preset interleaving matrix, that is, each data after interleaving in the data stream. Position; the position of the data in the data stream output by the output module in the interleaving system does not change, the output is still the data stream k, and the data stream k is also output.
中每个数据对应的交织顺序信息; 再按照交织顺序信息之间的顺序关系例如 0-9 顺序来保存输出模块输出的每个数据, 即得到重新编排位置后的数据流 k' Interleaving order information corresponding to each data; and each data output by the output module is saved according to the order relationship between the interleaving order information, for example, 0-9, that is, the data stream k' after obtaining the rearranged position
, 即实现了交织。 , that is, the interleaving is achieved.
[60] 接收方在解交织吋, 按照预先设定的解交织矩阵, 根据表 1  [60] After the receiver is deinterleaved, according to the pre-set deinterleaving matrix, according to Table 1
计算并输出数据流和数据流对应的解交织顺序信息即数据输入顺序 j  Calculating and outputting the deinterleaving order information corresponding to the data stream and the data stream, that is, the data input order j
, 并按照所述解交织顺序之间的顺序关系保存数据, 恢复出数据流 k。  And saving the data according to the order relationship between the deinterleaving sequences, and recovering the data stream k.
[61] 本发明实施方式提供的移动通信中交织的实现方法包括: 为每一个输入的数据 计算该数据对应的交织顺序信息, 所述交织顺序信息用于指示该数据交织后在 数据流中的位置; 在输出该数据吋同吋输出和该数据对应的交织顺序信息; 按 照所述交织顺序信息之间的顺序关系缓存数据。 The method for implementing the interleaving in the mobile communication provided by the embodiment of the present invention includes: calculating, for each input data, interleaving order information corresponding to the data, where the interleaving order information is used to indicate that the data is interleaved in the data stream. a position; outputting the data and outputting the interleaving order information corresponding to the data; and buffering the data according to an order relationship between the interleaving order information.
[62] 图 4 [62] Figure 4
为本发明移动通信中交织的实现方法的第一种实施方式的流程图, 首先在步骤 1 中, 对输入数据流的每一个数据, 计算该数据在预先设定的交织矩阵中对应的 交织前的行号和列号; 所述交织矩阵的列数为 30, 行数为物理信道承载除以 30 的商, 如果不能整除则向上取整; 然后在步骤 2  A flow chart of the first embodiment of the method for implementing interleaving in mobile communication according to the present invention. First, in step 1, for each data of the input data stream, the data is calculated before the corresponding interleaving in the preset interleaving matrix. Line number and column number; the number of columns of the interleaving matrix is 30, the number of rows is the quotient of the physical channel bearer divided by 30, if it can not be divisible, it is rounded up; then in step 2
中, 根据该数据在所述交织矩阵中对应的交织前的行号和列号以及第二次交织 列置换表, 计算交织后该数据在所述交织矩阵中对应的交织后的行号和列号; 继而在步骤 3  Calculating, according to the row and column numbers of the corresponding interleaving in the interleaving matrix and the second interleaving column permutation table, calculating the interleaved row numbers and columns of the data in the interleaving matrix after interleaving. No.; then in step 3
中, 根据该数据在所述交织矩阵中对应的交织后的行号和列号, 计算交织后该 数据从所述交织矩阵中输出的顺序, 即为所述交织顺序信息; 在步骤 4 中, 输出该数据和该数据对应的所述交织顺序信息; 然后在步骤 5  Calculating an order in which the data is output from the interleaving matrix after interleaving according to the corresponding interleaved row number and column number in the interleaving matrix, that is, the interleaving order information; in step 4, Outputting the data and the interleaving order information corresponding to the data; then at step 5
中, 按照交织顺序信息之间的顺序关系来保存输出模块输出的每个数据和对应 的交织顺序信息。 [63] 例如可通过以下算法计算交织前的行号和列号: In the order relationship between the interleaving order information, each data output by the output module and the corresponding interleaving order information are saved. [63] For example, the line number and column number before interleaving can be calculated by the following algorithm:
[64] 定义三个变量, N_data表示参与交织或解交织的数据块中数据的个数,  [64] defines three variables, N_data represents the number of data in the data block participating in the interleaving or deinterleaving,
row_bef_intl、 column_bef_intl  Row_bef_intl, column_bef_intl
分别表示交织前数据在所述交织矩阵中的行号和列号。 计算方法如下:  The row number and column number of the data before the interleaving in the interleaving matrix are respectively indicated. The calculation method is as follows:
[65] row_bef_intl = column_bef_intl = 0;  [65] row_bef_intl = column_bef_intl = 0;
[66] for(i=0; i<N_data; i++)  [66] for(i=0; i<N_data; i++)
[67] { column_bef_intl = column_bef_intl + 1;  [67] { column_bef_intl = column_bef_intl + 1;
[68] if(column_bef_intl == 29)  [68] if(column_bef_intl == 29)
[69] { column_bef_intl = 0;  [69] { column_bef_intl = 0;
[70] row_bef_intl = row_bef_intl + 1;  [70] row_bef_intl = row_bef_intl + 1;
[71] }  [71] }
[72] }  [72] }
[73] 上述算法中, 根据所述交织矩阵的列数为 30列, 行数是物理信道承载 N_data 除以 30, 将数据按行填入矩阵中, 先填第 0行第 0列、 第 0行第 1列、 第 0 行第 2列、 第 0行第 3列 ......., 再填第 1行第 0列、 第 1行第 1列、 第 1行第 [73] In the above algorithm, according to the number of columns of the interleaving matrix is 30 columns, the number of rows is the physical channel carrying N_data divided by 30, the data is filled into the matrix by row, and the 0th row, the 0th column, the 0th column are filled first. Row 1 column, 0 row 2 column, 0 row 3 column ...., refill line 1 column 0, row 1 column 1, row 1
2列、 第 1行第 3列 ....... 2 columns, 1st row, 3rd column.......
, 直到所有数据填入矩阵中, 从而得到每个数据对应的交织前在所述交织矩阵 中的行号和列号。  Until all the data is filled in the matrix, the row number and column number in the interleaving matrix before the interleaving corresponding to each data are obtained.
[74] 同理, 可通过以下算法计算交织后的行号和列号: [74] Similarly, the interleaved line and column numbers can be calculated by the following algorithm:
[75] 定义两个变量, row_aft_intl、 column_aft_intl [75] Define two variables, row_aft_intl, column_aft_intl
分别表示交织后数据的行号和列号。 计算方法:  The row number and column number of the data after interleaving are respectively indicated. Calculation method:
[76] row_aft_intl = row_bef_intl; [76] row_aft_intl = row_bef_intl;
[77] column_aft_intl = P[column_bef_intl]; [77] column_aft_intl = P[column_bef_intl];
[78] 上述算法中函数 P[]参照表 1, 按表 1进行列交换。 第 0列位置不变, 将第 20 列放到第 1列位置, 将第 10列放到第 2列位置, 将第 5列放到第 3列位置 ...... [78] The function P[] in the above algorithm refers to Table 1, and performs column exchange according to Table 1. Position 0 does not change, place column 20 in column 1, place column 10 in column 2, and column 5 in column 3.
, 第 17列放到第 29 , column 17 is placed on the 29th
列位置, 从而得到每个数据交织后在所述交织矩阵中对应的行号和列号。  The column position is such that the corresponding row number and column number in the interleaving matrix after each data interleaving is obtained.
[79] 图 5 为本发明移动通信中物理层第二次交织的实现方法的第二种实施方式的流程图 , 与上述第一种实施方式的区别在于, 在步骤 2与步骤 3 [79] Figure 5 A flowchart of a second implementation manner of a method for implementing a second interleaving of a physical layer in a mobile communication according to the present invention, which differs from the first embodiment in that, in steps 2 and 3
之间还执行以下操作:  Also do the following between:
[80] 在步骤 21 [80] At step 21
中, 根据交织前所述矩阵的最后一行的空比特个数, 计算交织前所述矩阵的最 后一行的每一列是否为空比特;  Calculating whether each column of the last row of the matrix before the interleaving is a null bit according to the number of null bits of the last row of the matrix before the interleaving;
[81] 例如可通过以下算法计算交织前所述交织矩阵最后一行的每一列是否是空比特 [81] For example, whether the next row of the last row of the interleaving matrix before interleaving is a null bit can be calculated by the following algorithm
[82] 定义一个 30位的标志 dummy_bit_bef_intl[29:0] [82] Define a 30-bit flag dummy_bit_bef_intl[29:0]
, 每一位表示最后一行的该位对应的列是否为空比特, 1表示空比特, 0 表示正常数据。 最后一行空比特个数用 dummy_bit_num表示,  Each bit of the bit indicating the last row is a null bit, 1 indicates a null bit, and 0 indicates normal data. The number of null bits in the last line is represented by dummy_bit_num.
dummy_bit_bef_intl[29:0]的计算方法:  The calculation method of dummy_bit_bef_intl[29:0]:
[83] dummy_bit_bef_intl[29:0] = 0x3FFFFFFF;  [83] dummy_bit_bef_intl[29:0] = 0x3FFFFFFF;
[84] for(i=0; i<30; i++)  [84] for(i=0; i<30; i++)
[85] { if(i < dummy_bit_num) dummy_bit_bef_intl[i] = 0; }  [85] { if(i < dummy_bit_num) dummy_bit_bef_intl[i] = 0; }
[86] 上述算法中, 根据最后一行的空比特个数 dummy_bit_nUm [86] In the above algorithm, according to the number of null bits in the last line, dummy_bit_ nU m
, 将最后一行的最末尾的 30 - dummy_bit_num  , will be the last 30 - dummy_bit_num of the last line
列计算为空比特, 从而得到最后一行的每一列是否为空比特。  The column is evaluated as a null bit, resulting in whether each column of the last row is a null bit.
[87] 然后在步骤 22 [87] Then at step 22
中, 根据所述交织前所述交织矩阵的最后一行的每一列是否为空比特的计算结 果以及第二次交织列置换表, 计算交织后所述交织矩阵的最后一行的每一列是 否为空比特。  Calculating whether each column of the last row of the interleaving matrix after the interleaving is a null bit according to whether the column of the last row of the interleaving matrix before the interleaving is a null bit calculation result and a second interleaving column permutation table .
[88] 例如可通过以下算法计算交织后所述交织矩阵最后一行的每一列是否为空比特  [88] For example, whether the column of the last row of the interleaving matrix after the interleaving is null bits can be calculated by the following algorithm
[89] 定义一个 30位的标志 dummy_bit_aft_intl[29:0] [89] Define a 30-bit flag dummy_bit_aft_intl[29:0]
, 每一位表示该列是否包括空比特, 1表示空比特, 0表示正常数据。  Each bit indicates whether the column includes a null bit, 1 indicates a null bit, and 0 indicates normal data.
dummy_bit_aft_intl[29:0]的计算方法:  The calculation method of dummy_bit_aft_intl[29:0]:
[90] for(i=0; i<30; i++) [91] { dummy_bit_aft_intl[i] = dummy_bit_bef_intl[P[i]]; } [90] for(i=0; i<30; i++) [91] { dummy_bit_aft_intl[i] = dummy_bit_bef_intl[P[i]]; }
[92] 上述算法中, 函数 P[]参照表 1, 按表 1进行列交换。 第 0列位置不变, 将第 20列放到第 1列位置, 将第 10列放到第 2列位置, 将第 5列放到第 3列位置 ......, 第 17列入到第 29  [92] In the above algorithm, the function P[] refers to Table 1, and the column is exchanged according to Table 1. Position 0 does not change, put the 20th column in the 1st column position, the 10th column in the 2nd column position, and the 5th column in the 3rd column position..., 17th To the 29th
列位置, 从而计算出最后一行的每一列是否为空比特。  The column position, thereby calculating whether each column of the last row is a null bit.
[93] 进一步地, 步骤 3 [93] Further, step 3
具体包括: 根据所述交织后数据在所述交织矩阵中对应的交织后的行号和列号 以及所述交织后所述交织矩阵的最后一行的每一列是否为空比特的计算结果, 计算交织后数据从所述交织矩阵中输出的顺序。 例如可通过以下算法计算交织 后数据从交织矩阵中输出的顺序:  Specifically, the method includes: calculating an interlace according to a calculation result of whether the interleaved row number and column number in the interleaving matrix and the last row of the last row of the interleaving matrix are null bits. The order in which the post data is output from the interleaving matrix. For example, the following algorithm can be used to calculate the order in which the interleaved data is output from the interleaving matrix:
[94] 数据从交织矩阵中输出吋按列输出, 定义交织后数据从交织矩阵中输出的顺序 为 data_sequence_intl, 定义交织矩阵的行数 row, row = N_data/30 [94] The data is output from the interleaving matrix and output as a column. The order in which the data after interleaving is output from the interleaving matrix is defined as data_sequence_intl, defining the number of rows of the interleaving matrix row, row = N_data/30
向上取整; 最后一行可能有空比特, 并且这些空比特分散在最后一行的某些列 上, 定义变量 dummy—bit  Round up; the last line may have null bits, and these empty bits are scattered on some columns of the last row, defining the variable dummy-bit
表示当前数据所在列之前的空比特个数, 其计算方法如下:  Indicates the number of empty bits before the current data column. The calculation method is as follows:
[95] dummy_bit = 0;  [95] dummy_bit = 0;
[96] for(i=0; i++; i<column_aft_intl) [96] for(i=0; i++; i<column_aft_intl)
[97] { if(dummy_bit_aft_intl[i] == 1) [97] { if(dummy_bit_aft_intl[i] == 1)
[98] dummy—bit = dummy—bit + 1; [98] dummy—bit = dummy—bit + 1;
[99] } [99] }
[100] 上述算法中, 根据最后一行的每一列对应的标志 dummy_bit_aft_intl是否为 1 得到该列是否为空比特, 如果是 1则为空比特, 如果是 0则为正常数据。  [100] In the above algorithm, according to whether the flag corresponding to each column of the last row, dummy_bit_aft_intl is 1, whether the column is a null bit, if it is 1, it is a null bit, and if it is 0, it is normal data.
[101] 从而, 交织后数据从交织矩阵中输出的交织顺序 data_SeqUenCe_intl [101] Thus, the interleaving order d a t a _ Se q UenCe _intl of the data after interleaving is output from the interleaving matrix
的计算方法如下:  The calculation method is as follows:
[102] data_sequence_intl = column_aft_intl x row― dummy—bit + row_aft_intl;  [102] data_sequence_intl = column_aft_intl x row― dummy—bit + row_aft_intl;
[103] 本发明实施方式提供的移动通信中物理层第二次交织的解交织的实现方法包括 : 对每一个输入的数据计算该数据对应的解交织顺序信息, 所述解交织顺序信 息用于指示解交织后该数据在数据流中的位置; 输出该数据和该数据对应的所 述解交织顺序信息; 按照所述解交织顺序信息之间的顺序关系缓存数据。 The method for implementing the deinterleaving of the second interleaving of the physical layer in the mobile communication provided by the embodiment of the present invention includes: calculating, for each input data, deinterleaving order information corresponding to the data, where the deinterleaving sequence information is used for Indicates the position of the data in the data stream after deinterleaving; outputs the data corresponding to the data Decoding the interleaving order information; buffering the data according to the order relationship between the deinterleaving order information.
[104] 图 6为与图 4中交织方式相对应的解交织实现方法的流程图, 首先在步骤 01 中, 计算该数据在预先设定的解交织矩阵中对应的解交织前的行号和列号; 所 述解交织矩阵的列数为 30, 行数为物理信道承载除以 30 6 is a flowchart of a method for implementing deinterleaving corresponding to the interleaving manner in FIG. 4. First, in step 01, calculating a line number before the deinterleaving corresponding to the data in a predetermined deinterleaving matrix Column number; the number of columns of the de-interleaving matrix is 30, and the number of rows is the physical channel bearer divided by 30
的商, 如果不能整除则向上取整; 然后在步骤 02  Merchant, if it is not divisible, round up; then in step 02
中, 根据该数据在所述解交织矩阵中对应的解交织前的行号和列号以及第二次 交织列置换表, 计算解交织后该数据在所述解交织矩阵中对应的解交织后的行 号和列号; 继而在步骤 03  Calculating, according to the data, the row number and the column number before the deinterleaving in the deinterleaving matrix and the second interleaving column permutation table, and calculating the corresponding deinterleaving of the data in the deinterleaving matrix after deinterleaving. Line number and column number; then in step 03
中, 根据该数据在所述解交织矩阵中对应的解交织后的行号和列号, 计算解交 织后该数据从所述解交织矩阵中输出的顺序, 即为所述解交织顺序信息; 在步 骤 04中, 输出该数据和该数据对应的所述解交织顺序信息; 然后在步骤 05 中, 按照所述解交织顺序信息缓存数据。  The order of outputting the data from the deinterleaving matrix after deinterleaving is calculated according to the corresponding deinterleaved row number and column number in the deinterleaving matrix, that is, the deinterleaving order information; In step 04, the data and the deinterleaving order information corresponding to the data are output; then in step 05, the data is buffered according to the deinterleaving order information.
[105] 例如可通过以下算法计算解交织前的行号和列号: [105] For example, the line number and column number before deinterleaving can be calculated by the following algorithm:
[106] 最后一行可能有空比特, 并且这些空比特分散在最后一行的某些列上。 定义二 个变量, row_bef_deintl、 column_bef_deintl  [106] The last line may have empty bits, and these empty bits are scattered over some columns of the last line. Define two variables, row_bef_deintl, column_bef_deintl
分别表示解交织前数据的行号和列号。 数据从矩阵中输出吋按列输出, 定义矩 阵的行数 row, row = N_data/30向上取整; 计算方法:  The row number and column number of the data before deinterleaving are respectively indicated. The data is output from the matrix, output by column, and the number of rows of the matrix is defined. row, row = N_data/30 is rounded up;
[107] if(row_bef_deintl == row - 1)  [107] if(row_bef_deintl == row - 1)
[108] { if(dummy_bit_aft_deintl[column_bef_deintl] == 1)  [108] { if(dummy_bit_aft_deintl[column_bef_deintl] == 1)
[109] { bef_2intl_row_ct = 0;  [109] { bef_2intl_row_ct = 0;
[110] column_bef_deintl = column_bef_deintl + 1; }  [110] column_bef_deintl = column_bef_deintl + 1; }
[111] else  [111] else
[112] { row_bef_deintl = row_bef_deintl + 1; }  [112] { row_bef_deintl = row_bef_deintl + 1; }
[113] }  [113] }
[114] else if(row_bef_deintl == row)  [114] else if(row_bef_deintl == row)
[115] { row_bef_deintl = 0;  [115] { row_bef_deintl = 0;
[116] column_bef_deintl = column_bef_deintl + 1; }  [116] column_bef_deintl = column_bef_deintl + 1; }
[117] else [118] { row_bef_deintl = row_bef_deintl + 1; } [117] else [118] { row_bef_deintl = row_bef_deintl + 1; }
[119] 注: dummy_bit_aft_deintl的计算方法在下文中有描述。  [119] Note: The calculation method of dummy_bit_aft_deintl is described below.
[120] 上述算法中, 根据所述解交织矩阵的列数为 30, 行数是物理信道承载 N_data 除以 30且向上取整, 将数据按行填入矩阵中, 先填第 0行第 0列、 第 0行第 1 歹 1J、 第 0行第 2列、 第 0行第 3列 ......., 再填第 1行第 0列、 第 1行第 1 歹 1J、 第 1行第 2列、 第 1行第 3列 .......  [120] In the above algorithm, according to the number of columns of the deinterleaving matrix is 30, the number of rows is the physical channel carrying N_data divided by 30 and rounded up, the data is filled into the matrix by row, and the 0th row is filled first. Column, 0th line, 1st, 1st, 0th, 2nd, 0th, 3rd, ...., refill 1st row, 0th column, 1st row, 1st, 1st, 1st Row 2, row 1 and column 3.......
, 直到所有数据填入矩阵中, 从而得到每个数据解交织前对应的在所述解交织 矩阵中的行号和列号。  Until all the data is filled in the matrix, the row number and column number in the deinterleaving matrix corresponding to each data before deinterleaving are obtained.
[121] 同理, 可通过以下算法计算解交织后的行号和列号: 定义两个变量, [121] Similarly, the deinterleaved line and column numbers can be calculated by the following algorithm: Define two variables,
row_aft_deintl、 column_aft_deintl  Row_aft_deintl, column_aft_deintl
分别表示交织前数据的行号和列号。 计算方法:  The row number and column number of the data before interleaving are respectively indicated. Calculation method:
[122] row_aft_deintl = row_bef_deintl;  [122] row_aft_deintl = row_bef_deintl;
[123] column_aft_deintl = P[column_bef_deintl];  [123] column_aft_deintl = P[column_bef_deintl];
[124] 函数 P[]参照表 1, 按表 1进行列交换。 第 0列位置不变, 将第 20列放到第 1 列位置, 将第 10列放到第 2列位置, 将第 5列放到第 3列位置 ......, 第 17 列入到第 29  [124] Function P[] refers to Table 1, and column exchange is performed according to Table 1. Position 0 does not change, put column 20 in column 1, place column 10 in column 2, column 5 in column 3..., 17th To the 29th
列位置, 从而得到每个数据解交织后在所述解交织矩阵中对应的行号和列号。  The column position is such that the corresponding row number and column number in the deinterleaving matrix after each data is deinterleaved.
[125] 图 7为与图 5  [125] Figure 7 and Figure 5
中交织方式相对应的解交织实现方法的流程图, 与上述移动通信中物理层第二 次交织的解交织的实现方法的第一种实施方式的区别在于, 在步骤 02与步骤 03 之间还执行以下操作:  A flowchart of a deinterleaving implementation method corresponding to a medium interleaving manner, and a first implementation manner of a deinterleaving implementation method of a second interleaving of a physical layer in the foregoing mobile communication, is that between step 02 and step 03 Do the following:
[126] 在步骤 021  [126] In step 021
中, 根据解交织前所述解交织矩阵的最后一行的空比特个数, 计算解交织前所 述解交织矩阵的最后一行的每一列是否为空比特; 例如可通过以下算法计算解 交织前最后一行的每一列是否是空比特:  Calculating whether each column of the last row of the deinterleaving matrix before the deinterleaving is a null bit according to the number of null bits of the last row of the deinterleaving matrix before deinterleaving; for example, the last algorithm before deinterleaving can be calculated by the following algorithm Whether each column of a row is a null bit:
[127] 定义一个 30位的标志 dummy_bit_bef_deintl[29:0]  [127] Define a 30-bit flag dummy_bit_bef_deintl[29:0]
, 每一位表示该列是否包括空比特, 1表示空比特, 0  , each bit indicates whether the column includes null bits, 1 indicates null bits, 0
表示正常数据。 最后一行空比特个数用 dummy_bit_number表示, dummy_bit_bef_deintl[29:0]的计算方法: Indicates normal data. The number of empty bits in the last line is represented by dummy_bit_number. The calculation method of dummy_bit_bef_deintl[29:0]:
[128] dummy_bit_bef_deintl[29:0] = 0x3FFFFFFF; [128] dummy_bit_bef_deintl[29:0] = 0x3FFFFFFF;
[129] for(i=0; i<30; i++) [129] for(i=0; i<30; i++)
[130] { if(i < dummy—bit—number) dummy_bit_bef_deintl[i] = 0; }  [130] { if(i < dummy_bit—number) dummy_bit_bef_deintl[i] = 0; }
[131] 上述算法中, 根据最后一行的空比特个数 dummy_bit_number [131] In the above algorithm, according to the number of null bits in the last line, dummy_bit_number
, 将最后一行的最末尾的 30 - dummy_bit_number  , will be the last 30 - dummy_bit_number of the last line
列计算为空比特, 从而得到最后一行的每一列是否为空比特。  The column is evaluated as a null bit, resulting in whether each column of the last row is a null bit.
[132] 然后在步骤 022 [132] Then at step 022
中, 根据所述解交织前所述解交织矩阵的最后一行的每一列是否为空比特的计 算结果以及第二次交织列置换表, 计算解交织后所述解交织矩阵的最后一行的 每一列是否为空比特。 例如可通过以下算法计算解交织后最后一行的每一列是 否为空比特:  Calculating, according to the calculation result of whether each column of the last row of the deinterleaving matrix before the deinterleaving is a null bit and the second interleaving column permutation table, calculating each column of the last row of the deinterleaving matrix after deinterleaving Whether it is a null bit. For example, the following algorithm can be used to calculate whether each column of the last row after deinterleaving is a null bit:
[133] 定义一个 30位的标志 dummy_bit_aft_deintl[29:0]  [133] Define a 30-bit flag dummy_bit_aft_deintl[29:0]
, 每一位表示该列是否包括空比特, 1表示空比特, 0表示正常数据。  Each bit indicates whether the column includes a null bit, 1 indicates a null bit, and 0 indicates normal data.
dummy_bit_aft_deintl[29:0]的计算方法:  The calculation method of dummy_bit_aft_deintl[29:0]:
[134] for(i=0; i<30; i++)  [134] for(i=0; i<30; i++)
[135] { dummy_bit_aft_deintl[i] = dummy_bit_bef_deintl[P[i]]; }  [135] { dummy_bit_aft_deintl[i] = dummy_bit_bef_deintl[P[i]]; }
[136] 上述算法中, 函数 P[]参照表 1, 按表 1进行列交换。 第 0列位置不变, 将第 20列放到第 1列位置, 将第 10列放到第 2列位置, 将第 5列放到第 3列位置 ......, 第 17列入到第 29  [136] In the above algorithm, the function P[] refers to Table 1, and the column is exchanged according to Table 1. Position 0 does not change, put the 20th column in the 1st column position, the 10th column in the 2nd column position, and the 5th column in the 3rd column position..., 17th To the 29th
列位置, 从而得到解交织后最后一行的每一列是否为空比特。  The column position is such that each column of the last row after deinterleaving is null.
[137] 进一步地, 步骤 03 [137] Further, step 03
具体包括: 根据所述计算解交织后所述解交织矩阵的最后一行的每一列是否为 空比特的计算结果、 所述该数据在所述解交织矩阵中对应的解交织后的行号和 列号, 计算解交织后该数据从所述解交织矩阵中输出的顺序。  Specifically, the method includes: calculating, according to the calculation, whether each column of the last row of the deinterleaving matrix after the deinterleaving is a null bit, and the corresponding deinterleaved row number and column of the data in the deinterleaving matrix No., the order in which the data is output from the de-interleaving matrix after deinterleaving is calculated.
[138] 例如可通过以下算法计算解交织后该数据从所述解交织矩阵中输出的顺序: [139] 定义解交织后该数据从所述解交织矩阵中输出的顺序为 data_SeqUenCe_deintl : [138] The order in which the data is output from the deinterleaving matrix after deinterleaving can be calculated, for example, by the following algorithm: [139] The order in which the data is output from the deinterleaving matrix after deinterleaving is defined as d a t a _ Se q UenCe _dei n tl :
[140] data_sequence_deintl = row_aft_deintl x 30 + column_af t_deintl; [141] 参见图 8 [140] data_sequence_deintl = row_aft_deintl x 30 + column_af t_deintl; [141] See Figure 8
所示的本发明移动通信中物理层第二次交织的系统的第一种实施方式的示意图 , 该系统包括: 输入模块 Al, 用于接收数据; 交织计算模块 A2 , 与输入模块 A1连接, 用于接收输入模块 A1  A schematic diagram of a first embodiment of a system for second interleaving of a physical layer in the mobile communication of the present invention, the system comprising: an input module A1 for receiving data; an interleaving calculation module A2, connected to the input module A1, Receiving input module A1
发送的每个数据并计算该数据对应的交织顺序信息; 输出模块 A3  Each data sent and calculate the interleaving order information corresponding to the data; output module A3
, 与交织计算模块 A2 , with interleaved computing module A2
连接, 用于输出数据和数据对应的所述交织顺序信息; 缓存模块 (图中未示出 a connection, the interleaving order information corresponding to the output data and the data; a cache module (not shown in the figure)
) , 用于按照所述交织顺序信息之间的顺序关系缓存数据, 对缓存模块, 可以 利用包括交织系统在内的整个发射装置已有的存储单元来实现, 例如发射模块 中的存储单元。 And for buffering data according to the order relationship between the interleaving order information, and the cache module may be implemented by using an existing storage unit of the entire transmitting device including the interleaving system, for example, a storage unit in the transmitting module.
[142] 图 9为本发明移动通信中物理层第二次交织的系统的第二种实施方式的示意图 (缓存模块图中未示出)  9 is a schematic diagram of a second implementation manner of a system for second interleaving of a physical layer in mobile communication according to the present invention (not shown in the cache module diagram)
, 与上述本发明移动通信中物理层第二次交织的系统的第一种实施方式的区别 在于, 交织计算模块 A2包括: 交织前行号和列号计算模块 A21  The first embodiment of the system for interleaving the second layer of the physical layer in the mobile communication of the present invention is different in that the interleaving calculation module A2 comprises: an interleaving pre-number and column number calculation module A21
, 用于根据所述预先设定的交织矩阵, 对每一个输入的数据计算该数据在所述 矩阵中对应的交织前的行号和列号; 交织后行号和列号计算模块 A22  And calculating, according to the preset interleaving matrix, row number and column number of the data before the corresponding interleaving in the matrix for each input data; row number and column number calculation module after interleaving A22
, 与交织前行号和列号计算模块 A21  , with the interleaved front and column number calculation module A21
连接, 用于接收交织前行号和列号计算模块 A21  Connection, used to receive the interleaved line number and column number calculation module A21
输出的数据和该数据对应的交织前的行号和列号, 并计算该数据在所述交织矩 阵中对应的交织后的行号和列号; 交织顺序信息计算模块 A23  The output data and the line number and the column number before the interleaving corresponding to the data, and calculate the corresponding interleaved line number and column number of the data in the interleaving matrix; Interleaving order information calculation module A23
, 与交织后行号和列号计算模块 A22  , with interleaved line number and column number calculation module A22
连接, 用于接收交织后行号和列号计算模块 A22  Connection, used to receive interleaved line number and column number calculation module A22
输出的数据和该数据对应的交织后的行号和列号, 并计算该数据对应的交织顺 序信息后, 输出模块 A3  The output data and the interleaved line number and column number corresponding to the data, and calculate the interleaving order information corresponding to the data, the output module A3
输出该数据和该数据对应的交织顺序信息, 然后缓存模块 (图中未示出) 接收 该数据和该数据对应的交织顺序信息, 并按照所述交织顺序信息之间的顺序关 系缓存数据。  The data and the interleaving order information corresponding to the data are output, and then the buffer module (not shown) receives the data and the interleaving order information corresponding to the data, and caches the data according to the order between the interleaving order information.
[143] 图 10 为本发明移动通信中物理层第二次交织的系统的第三种实施方式的示意图 (缓 存模块图中未示出) , 与上述本发明移动通信中物理层第二次交织的系统的第 二种实施方式的区别在于: 交织顺序信息计算模块 A23 [143] Figure 10 A schematic diagram of a third embodiment of a system for second interleaving of a physical layer in mobile communication according to the present invention (not shown in the cache module diagram), and a second system of the second interleaving of the physical layer in the mobile communication of the present invention described above. The difference between the embodiments is: Interleaving sequence information calculation module A23
还与空比特位置计算模块 A4连接, 空比特位置计算模块 A4  Also connected to the null bit position calculation module A4, empty bit position calculation module A4
用于根据所述交织矩阵最后一行的空比特个数, 计算交织前所述交织矩阵的最 后一行的每一列是否为空比特以及交织后所述交织矩阵的最后一行的每一列是 否为空比特, 并将计算结果输出给交织顺序信息计算模块 A23;  And calculating, according to the number of null bits in the last row of the interleaving matrix, whether each column of the last row of the interleaving matrix before interleaving is a null bit, and whether each column of the last row of the interleaving matrix after interleaving is a null bit, And outputting the calculation result to the interleaving sequence information calculation module A23;
交织顺序信息计算模块 A23用于接收交织后行号和列号计算模块 A22 输出的数据和该数据对应的交织后的行号和列号, 以及接收空比特位置计算模 块 A4  The interleaving order information calculating module A23 is configured to receive the data output by the interleaved line number and column number calculating module A22 and the interleaved line number and column number corresponding to the data, and the receiving null bit position calculating module A4.
输出的交织后所述交织矩阵的最后一行的每一列是否为空比特的计算结果, 并 计算该数据对应的交织顺序信息后, 输出模块 A3  Whether each column of the last row of the interleaving matrix after the output interleaving is a calculation result of a null bit, and calculating the interleaving order information corresponding to the data, the output module A3
输出该数据和该数据对应的交织顺序信息, 然后缓存模块 (图中未示出) 接收 该数据和该数据对应的交织顺序信息, 并按照所述交织顺序信息之间的顺序关 系缓存数据。  The data and the interleaving order information corresponding to the data are output, and then the buffer module (not shown) receives the data and the interleaving order information corresponding to the data, and caches the data according to the order between the interleaving order information.
[144] 参见图 11 [144] See Figure 11
所示的本发明移动通信中物理层第二次交织的解交织的系统的第一种实施方式 的示意图, 该系统包括: 输入模块 Bl, 用于接收数据; 解交织计算模块 B2 , 与输入模块 B1连接, 用于接收输入模块 B1  A schematic diagram of a first embodiment of a system for deinterleaving a second interleaving of a physical layer in the mobile communication of the present invention, the system comprising: an input module B1 for receiving data; a deinterleaving calculation module B2, and an input module B1 connection, for receiving input module B1
发送的每个数据并计算该数据对应的解交织顺序信息; 输出模块 B3 , 与解交织计算模块 B2  Each data sent and calculate the deinterleaving order information corresponding to the data; output module B3, and deinterleaving calculation module B2
连接, 用于输出数据和数据对应的解交织顺序信息, 缓存模块 (图中未示出) Connection, deinterleaving order information for outputting data and data, cache module (not shown)
, 用于按照所述解交织顺序信息之间的顺序关系缓存数据, 对缓存模块, 可以 利用包括交织系统在内的整个发射装置已有的存储单元来实现, 例如接收模块 中的存储单元。 And for buffering data according to the sequential relationship between the deinterleaving order information, and the cache module may be implemented by using an existing storage unit of the entire transmitting device, including the interleaving system, for example, a storage unit in the receiving module.
[145] 图 12  [145] Figure 12
为本发明移动通信中物理层第二次交织的解交织的系统的第二种实施方式的示 意图 (缓存模块图中未示出) , 与上述移动通信中物理层第二次交织的解交织 的系统的第一种实施方式的区别在于, 解交织计算模块 B2 A schematic diagram of a second embodiment of a system for deinterleaving a second interleaving of a physical layer in a mobile communication according to the present invention (not shown in the cache module diagram), and deinterleaving with a second interleaving of the physical layer in the above mobile communication The difference between the first embodiment of the system is that the deinterleaving calculation module B2
包括: 解交织前行号和列号计算模块 B21  Including: Deinterleaving line number and column number calculation module B21
, 用于根据所述预先设定的解交织矩阵, 对每一个输入的数据计算该数据在所 述解交织矩阵中对应的解交织前的行号和列号; 解交织后行号和列号计算模块 B22, 与解交织前行号和列号计算模块 B21  And calculating, according to the preset deinterleaving matrix, a row number and a column number of the data before the corresponding deinterleaving in the deinterleaving matrix for each input data; a row number and a column number after deinterleaving Calculation module B22, and deinterleaving line number and column number calculation module B21
连接, 用于接收解交织前行号和列号计算模块 B21  Connection, used to receive the deinterleaving line number and column number calculation module B21
输出的数据和该数据对应的解交织前的行号和列号, 并计算该数据在所述解交 织矩阵中对应的解交织后的行号和列号; 解交织顺序信息计算模块 B23 And outputting the data and the line number and the column number before the deinterleaving corresponding to the data, and calculating the corresponding deinterleaved line number and column number of the data in the de-interlacing matrix; deinterleaving order information calculation module B23
, 与解交织后行号和列号计算模块 B22 , and the deinterlacing line number and column number calculation module B22
连接, 用于接收解交织后行号和列号计算模块 B22  Connection, used to receive the deinterlaced line number and column number calculation module B22
输出的数据和该数据对应的解交织后的行号和列号, 并计算该数据对应的解交 织顺序信息后, 输出该数据和该数据对应的解交织顺序信息。  The output data and the deinterleaved line number and column number corresponding to the data, and the de-interleaving order information corresponding to the data are calculated, and the data and the de-interleaving order information corresponding to the data are output.
[146] 图 13 [146] Figure 13
为本发明移动通信中物理层第二次交织的解交织的系统的第三种实施方式的示 意图 (缓存模块图中未示出) , 与上述本发明移动通信中物理层第二次交织的 解交织的系统的第二种实施方式的区别在于: 解交织顺序信息计算模块 B23 还与空比特位置计算模块 B4连接, 空比特位置计算模块 B4  A schematic diagram of a third embodiment of a system for deinterleaving a second interleaving of a physical layer in a mobile communication according to the present invention (not shown in the cache module diagram), and a solution for the second interleaving of the physical layer in the mobile communication of the present invention described above. The second embodiment of the interleaved system differs in that: the deinterleaving order information calculation module B23 is also connected to the null bit position calculation module B4, and the null bit position calculation module B4
用于计算解交织前所述解交织矩阵的最后一行的每一列是否为空比特以及解交 织后所述解交织矩阵的最后一行的每一列是否为空比特, 并将计算结果输出给 解交织顺序信息计算模块 B23; 解交织顺序信息计算模块 B23  And calculating whether each column of the last row of the deinterleaving matrix before deinterleaving is a null bit and whether each column of the last row of the deinterleaving matrix after deinterleaving is a null bit, and outputting the calculation result to the deinterleaving sequence Information calculation module B23; deinterleaving order information calculation module B23
用于接收解交织后行号和列号计算模块 B22  Used to receive deinterleaved line number and column number calculation module B22
输出的数据和该数据对应的解交织后的行号和列号, 以及接收空比特位置计算 模块 B4  The output data and the deinterleaved line number and column number corresponding to the data, and the received null bit position calculation module B4
输出的解交织后所述解交织矩阵的最后一行的每一列是否为空比特的计算结果 , 并计算该数据对应的解交织顺序信息后, 输出该数据和该数据对应的解交织 顺序信息。  After deinterleaving, each column of the last row of the deinterleaving matrix is a result of calculation of a null bit, and after calculating the deinterleaving order information corresponding to the data, the data and the deinterleaving order information corresponding to the data are output.
[147] 从上述各实施方式的描述可以看出, 本发明实施方式通过计算输入数据流中的 每一个数据在交织后的交织顺序, 并按照所述交织顺序之间的顺序关系保存该 数据, 实现了交织过程; 解交织端通过计算该数据在解交织后的解交织顺序, 并按照所述解交织顺序之间的顺序关系保存该数据, 实现了解交织过程。 相对 于现有技术中需要先保存整个帧内的数据然后实际地改变每个数据的位置的方 法, 本发明实施方式的技术方案能够即吋地对输入的每个数据进行交织处理、 解交织处理, 而不需要等待接收到整个帧内的数据后再进行处理, 因此不需要 单独申请一块内存来保存数据流中的全部数据, 也不需要将输入数据流中的数 据全部存入内存后再计算交织或解交织, 从而有效地减少了占用的内存。 此外 , 本发明实施方式的技术方案对每个输入数据的处理延吋仅在于等待计算交织 顺序或解交织顺序的延吋, 小于现有技术中等待接收到整个帧内的数据并进行 实际地位置变换处理的延吋, 并且如果用硬件电路实现计算交织顺序或解交织 顺序, 能够进一步地大大减少数据处理延吋。 [147] As can be seen from the description of the above embodiments, the embodiment of the present invention calculates the interleaving order of each data in the input data stream after interleaving, and saves the order according to the order relationship between the interleaving sequences. Data, the interleaving process is implemented; the deinterleaving end calculates the deinterleaving order of the data after deinterleaving, and saves the data according to the order relationship between the deinterleaving sequences to implement the interleaving process. The technical solution of the embodiments of the present invention can perform interleaving processing and deinterleaving processing on each input data, that is, the method of the present invention is required to save the data in the entire frame and then change the position of each data. Without waiting for the data in the entire frame to be processed before processing, there is no need to apply a separate memory to save all the data in the data stream, and it is not necessary to store all the data in the input data stream into the memory before calculating. Interleaving or deinterleaving, effectively reducing the memory used. In addition, the technical solution of the embodiment of the present invention delays the processing of each input data only by waiting for the delay of calculating the interleaving sequence or the deinterleaving sequence, which is smaller than waiting for receiving the data in the entire frame and performing the actual location in the prior art. The delay of the transform process, and if the hardware circuit is used to calculate the interleaving order or the de-interleaving order, the data processing delay can be further greatly reduced.
最后应当说明的是: 上述实施例中, 是以 WCDMA移动通信系统中物理层第二 次交织和解交织为例进行描述, 本发明实施方式提供的移动通信中交织的实现 方法和解交织的实现方法可以适用于移动通信的其它交织、 解交织的实现过程 中。 以上实施例仅用以说明本发明的技术方案而非对其限制; 尽管参照较佳实 施例对本发明进行了详细的说明, 所属领域的普通技术人员应当理解, 依然可 以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换, 而不 脱离本发明技术方案的精神, 其均应涵盖在本发明请求保护的技术方案范围当 中。  Finally, it should be noted that, in the above embodiment, the second interleaving and deinterleaving of the physical layer in the WCDMA mobile communication system is taken as an example. The implementation method of the interleaving and the deinterleaving implementation method in the mobile communication provided by the embodiments of the present invention may be Suitable for other interleaving and deinterleaving implementations of mobile communications. The above embodiments are only used to illustrate the technical solutions of the present invention and are not to be construed as limiting the embodiments thereof. The present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents of some of the technical features are included in the scope of the technical solution claimed in the present invention without departing from the spirit of the technical solution of the present invention.

Claims

权利要求书 Claim
[1] 1、 一种移动通信中交织的实现方法, 其特征在于, 包括:  [1] A method for implementing interleaving in mobile communication, characterized in that it comprises:
为每一个输入的数据计算该数据对应的交织顺序信息, 所述交织顺序信息 用于指示该数据交织后在数据流中的位置;  Calculating, for each input data, interleaving order information corresponding to the data, where the interleaving order information is used to indicate a position in the data stream after the data is interleaved;
在输出该数据吋同吋输出和该数据对应的交织顺序信息;  Outputting the data and outputting the interleaving order information corresponding to the data;
按照所述交织顺序信息之间的顺序关系缓存数据。  The data is cached according to the order relationship between the interleaving order information.
[2] 2、 根据权利要求 1所述的方法, 其特征在于, 所述计算该数据对应的交织 顺序信息具体包括:  [2] The method according to claim 1, wherein the calculating the interleaving sequence information corresponding to the data specifically includes:
计算该数据在预先设定的交织矩阵中对应的交织前的行号和列号; 所述交 织矩阵的列数为 L, 行数为物理信道承载除以 L  Calculating a row number and a column number of the corresponding interleaving in the pre-set interleaving matrix; the number of columns of the interlaced matrix is L, and the number of rows is a physical channel bearer divided by L
的商, 如果不能整除则向上取整;  The quotient, if it is not divisible, round up;
根据该数据在所述交织矩阵中对应的交织前的行号和列号以及交织列置换 信息, 计算交织后该数据在所述交织矩阵中对应的交织后的行号和列号; 根据该数据在所述交织矩阵中对应的交织后的行号和列号, 计算交织后该 数据从所述交织矩阵中输出的顺序, 即为所述交织顺序信息。  Calculating, according to the row number and column number and interleaving column replacement information of the corresponding interleaving in the interleaving matrix, calculating the interleaved row number and column number of the data in the interleaving matrix after interleaving; And calculating a sequence of outputting the data from the interleaving matrix after the interleaving, that is, the interleaving order information, in the interleaved row number and the column number in the interleaving matrix.
[3] 3、 根据权利要求 2所述的方法, 其特征在于, 在所述计算交织后该数据从 所述交织矩阵中输出的顺序之前还执行以下操作: [3] 3. The method according to claim 2, wherein the following operations are performed before the order in which the data is output from the interleaving matrix after the interleaving is calculated:
根据交织前所述交织矩阵的最后一行的空比特个数, 计算交织前所述矩阵 的最后一行的每一列是否为空比特;  Calculating whether each column of the last row of the matrix before the interleaving is a null bit according to the number of null bits of the last row of the interleaving matrix before interleaving;
根据所述交织前所述交织矩阵的最后一行的每一列是否为空比特的计算结 果以及交织列置换信息, 计算交织后所述交织矩阵的最后一行的每一列是 否为空比特;  Calculating whether each column of the last row of the interleaving matrix after interleaving is a null bit according to whether the column of the last row of the interleaving matrix before the interleaving is a null bit calculation result and the interleaving column permutation information;
且所述根据该数据在所述交织矩阵中对应的交织后的行号和列号, 计算交 织后该数据从所述交织矩阵中输出的顺序具体包括: 根据交织后该数据在 所述交织矩阵中对应的交织后的行号和列号以及交织后所述交织矩阵的最 后一行的每一列是否为空比特的计算结果, 计算交织后该数据从所述交织 矩阵中输出的顺序。  And the calculating the sequence of outputting the data from the interleaving matrix after the interleaving according to the corresponding interleaved row number and column number in the interleaving matrix, specifically: according to the interleaving matrix after the interleaving The corresponding interleaved row number and column number and the calculation result of whether each column of the last row of the interleaving matrix after interleaving is a null bit, and the order in which the data is output from the interleaving matrix after interleaving is calculated.
[4] 4、 一种移动通信中解交织的实现方法, 其特征在于, 包括: 对每一个输入的数据计算该数据对应的解交织顺序信息, 所述解交织顺序 信息用于指示解交织后该数据在数据流中的位置; [4] 4. A method for implementing deinterleaving in mobile communication, characterized in that it comprises: Calculating, for each input data, deinterleaving order information corresponding to the data, where the deinterleaving order information is used to indicate a position of the data in the data stream after deinterleaving;
输出该数据和该数据对应的所述解交织顺序信息;  Outputting the data and the deinterleaving order information corresponding to the data;
按照所述解交织顺序信息之间的顺序关系缓存数据。  The data is cached according to the order relationship between the deinterleaving order information.
[5] 5、 根据权利要求 4所述的方法, 其特征在于, 所述计算该数据对应的解交 织顺序信息具体包括: [5] The method according to claim 4, wherein the calculating the de-interlacing order information corresponding to the data specifically includes:
计算该数据在预先设定的解交织矩阵中对应的解交织前的行号和列号; 所 述解交织矩阵的列数为 L, 行数为物理信道承载除以 L  Calculating a row number and a column number of the corresponding deinterleaving matrix in the pre-set deinterleaving matrix; the number of columns of the deinterleaving matrix is L, and the number of rows is a physical channel bearer divided by L
的商, 如果不能整除则向上取整;  The quotient, if it is not divisible, round up;
根据该数据在所述解交织矩阵中对应的解交织前的行号和列号以及交织列 置换信息, 计算解交织后该数据在所述解交织矩阵中对应的解交织后的行 号和列号;  Calculating line numbers and columns corresponding to the deinterleaved corresponding data in the deinterleaving matrix according to the row number and column number and the interleaved column permutation information corresponding to the corresponding deinterleaving in the deinterleaving matrix. number;
根据该数据在所述解交织矩阵中对应的解交织后的行号和列号, 计算解交 织后该数据从所述解交织矩阵中输出的顺序, 即为所述解交织顺序信息。  And calculating a sequence of outputting the data from the deinterleaving matrix after the deinterleaving according to the corresponding deinterleaved row number and column number in the deinterleaving matrix, that is, the deinterleaving order information.
[6] 6、 根据权利要求 5所述的方法, 其特征在于, 在所述计算解交织后该数据 从所述解交织矩阵中输出的顺序之前还执行以下操作: [6] 6. The method according to claim 5, wherein the following operations are performed before the order in which the data is output from the deinterleaving matrix after the deinterleaving is calculated:
根据解交织前所述解交织矩阵的最后一行的空比特个数, 计算解交织前所 述解交织矩阵的最后一行的每一列是否为空比特;  Calculating whether each column of the last row of the deinterleaving matrix before deinterleaving is a null bit according to the number of null bits in the last row of the deinterleaving matrix before deinterleaving;
根据所述解交织前所述解交织矩阵的最后一行的每一列是否为空比特的计 算结果以及交织列置换信息, 计算解交织后所述解交织矩阵的最后一行的 每一列是否为空比特;  Calculating whether each column of the last row of the deinterleaving matrix after the deinterleaving is a null bit according to whether the column of the last row of the deinterleaving matrix before the deinterleaving is a null bit calculation result and the interleaved column permutation information;
且所述根据该数据在所述解交织矩阵中对应的解交织后的行号和列号, 计 算解交织后该数据从所述解交织矩阵中输出的顺序具体包括: 根据所述计 算解交织后所述解交织矩阵的最后一行的每一列是否为空比特的计算结果 、 所述该数据对应的解交织后的行号和列号, 计算解交织后该数据从所述 解交织矩阵中输出的顺序。  And calculating, according to the corresponding deinterleaved line number and column number in the deinterleaving matrix, the order of outputting the data from the deinterleaving matrix after deinterleaving comprises: deinterleaving according to the calculating Whether each column of the last row of the deinterleaving matrix is a calculation result of a null bit, a deinterleaved row number and a column number corresponding to the data, and the data is outputted from the deinterleaving matrix after deinterleaving. order of.
[7] 7、 一种移动通信中交织的系统, 其特征在于, 包括: [7] 7. A system for interleaving in mobile communication, characterized in that it comprises:
输入模块, 用于接收数据; 交织计算模块, 与所述输入模块连接, 用于接收输入模块发送的每个数据 并计算该数据对应的交织顺序信息, 所述交织顺序信息用于指示该数据交 织后在数据流中的位置; An input module for receiving data; An interleaving calculation module, configured to receive, by the input module, each data sent by the input module, and calculate interleaving sequence information corresponding to the data, where the interleaving sequence information is used to indicate a position in the data stream after the data is interleaved;
输出模块, 与所述交织计算模块连接, 用于输出数据和数据对应的所述交 织顺序信息;  And an output module, connected to the interleaving calculation module, configured to output the data and data corresponding to the interlaced sequence information;
缓存模块, 按照所述交织顺序信息之间的顺序关系缓存这些数据。  The cache module caches the data according to an order relationship between the interleaving order information.
[8] 8、 根据权利要求 7所述的系统, 其特征在于, 所述交织计算模块包括: 交织前行号和列号计算模块, 用于根据所述预先设定的交织矩阵, 对每一 个输入的数据计算该数据在所述交织矩阵中对应的交织前的行号和列号; 交织后行号和列号计算模块, 与所述交织前行号和列号计算模块连接, 用 于接收所述交织前行号和列号计算模块输出的数据和该数据对应的交织前 的行号和列号, 并计算该数据在所述交织矩阵中对应的交织后的行号和列 号;  [8] 8. The system according to claim 7, wherein the interleaving calculation module comprises: an interleaving pre-row number and a column number calculating module, configured to: according to the preset interleaving matrix, for each The input data calculates a row number and a column number of the data before the corresponding interleaving in the interleaving matrix; the interleaved line number and column number calculation module is connected to the interleaving pre-row number and column number calculation module for receiving The data output by the interleaving pre-row number and column number calculation module and the row number and column number before the interleaving corresponding to the data, and calculating the corresponding interleaved row number and column number of the data in the interleaving matrix;
交织顺序信息计算模块, 与所述交织后行号和列号计算模块连接, 用于接 收所述交织后行号和列号计算模块输出的数据和该数据对应的交织后的行 号和列号, 并计算该数据对应的交织顺序信息后, 输出该数据和该数据对 应的交织顺序信息。  The interleaving sequence information calculation module is connected to the interleaved line number and column number calculation module, and configured to receive the data output by the interleaved line number and column number calculation module and the interleaved line number and column number corresponding to the data. And calculating the interleaving order information corresponding to the data, and outputting the data and the interleaving order information corresponding to the data.
[9] 9、 根据权利要求 8所述的系统, 其特征在于: 还包括第一空比特位置计算 模块, 与所述交织顺序信息计算模块连接, 所述第一空比特位置计算模块 用于计算交织前所述交织矩阵的最后一行的每一列是否为空比特以及交织 后所述矩阵的最后一行的每一列是否为空比特, 并将计算结果输出给所述 交织顺序信息计算模块; 所述交织顺序信息计算模块用于接收所述交织后 行号和列号模块输出的数据和该数据对应的交织后的行号和列号, 以及接 收所述第一空比特位置计算模块输出的交织后所述交织矩阵的最后一行的 每一列是否为空比特的计算结果, 并计算该数据对应的交织顺序信息后, 输出该数据和该数据对应的交织顺序信息。  [9] 9. The system according to claim 8, further comprising: a first null bit position calculation module, coupled to the interleaving order information calculation module, wherein the first null bit position calculation module is configured to calculate Whether each column of the last row of the interleaving matrix before the interleaving is a null bit and whether each column of the last row of the matrix after the interleaving is a null bit, and the calculation result is output to the interleaving order information calculation module; The sequence information calculation module is configured to receive the data output by the interleaved line number and column number module and the interleaved line number and column number corresponding to the data, and receive the interleaved output of the first null bit position calculation module Whether each column of the last row of the interleaving matrix is a calculation result of a null bit, and after calculating the interleaving order information corresponding to the data, outputting the data and the interleaving order information corresponding to the data.
[10] 10、 一种移动通信中解交织的系统, 其特征在于, 包括: [10] 10. A system for deinterleaving in mobile communication, characterized in that:
输入模块, 用于接收交织后的数据; 解交织计算模块, 与所述输入模块连接, 用于接收所述输入模块发送的每 个数据, 并计算该数据对应的解交织顺序信息, 所述解交织顺序信息用于 指示解交织后该数据在数据流中的位置; An input module, configured to receive the interleaved data; a deinterleaving calculation module, configured to receive each data sent by the input module, and calculate deinterleaving order information corresponding to the data, where the deinterleaving sequence information is used to indicate the data after deinterleaving The location in the data stream;
输出模块, 与所述解交织计算模块连接, 用于输出数据和数据对应的解交 织顺序信息;  An output module, connected to the deinterleaving calculation module, for outputting data and data corresponding to the de-interleaving sequence information;
缓存模块, 按照所述解交织顺序信息之间的顺序关系缓存这些数据。  The cache module caches the data according to an order relationship between the deinterleaving order information.
[11] 11、 根据权利要求 10所述的系统, 其特征在于, 所述解交织计算模块包括 解交织前行号和列号计算模块, 用于根据所述预先设定的解交织矩阵, 对 每一个输入的数据计算该数据在所述解交织矩阵中对应的解交织前的行号 和列号; [11] The system according to claim 10, wherein the deinterleaving calculation module comprises a deinterleaving line number and column number calculation module, configured to perform, according to the preset deinterleaving matrix, Each input data calculates a row number and a column number of the data before the corresponding deinterleaving in the deinterleaving matrix;
解交织后行号和列号计算模块, 与所述解交织前行号和列号计算模块连接 , 用于接收所述解交织前行号和列号计算模块输出的数据和该数据对应的 解交织前的行号和列号, 并根据所述接收到的解交织前的行号和列号、 以 及交织列置换信息计算该数据在所述解交织矩阵中对应的解交织后的行号 和列号;  Deinterleaving the line number and the column number calculation module, and the deinterleaving line number and column number calculation module is connected, and is configured to receive the data output by the deinterleaving line number and column number calculation module and the solution corresponding to the data a line number and a column number before the interleaving, and calculating, according to the received line number and column number before deinterleaving, and the interleaved column replacement information, the corresponding deinterleaved line numbers of the data in the deinterleaving matrix and Column number
解交织顺序信息计算模块, 与所述解交织后行号和列号计算模块连接, 用 于接收所述解交织后行号和列号计算模块输出的数据和该数据对应的解交 织后的行号和列号, 并计算该数据对应的解交织顺序信息后, 输出该数据 和该数据对应的解交织顺序信息。  The deinterleaving sequence information calculation module is connected to the deinterleaved line number and column number calculation module, and configured to receive the data output by the deinterleaved line number and column number calculation module and the deinterleaved line corresponding to the data After the number and the column number, and calculating the deinterleaving order information corresponding to the data, the data and the deinterleaving order information corresponding to the data are output.
[12] 12、 根据权利要求 11所述的系统, 其特征在于: 还包括第二空比特位置计 算模块, 与所述解交织顺序信息计算模块连接, 所述第二空比特位置计算 模块用于计算解交织前所述解交织矩阵的最后一行的每一列是否为空比特 以及解交织后所述解交织矩阵的最后一行的每一列是否为空比特, 并将计 算结果输出给所述解交织顺序信息计算模块; 所述解交织顺序信息计算模 块用于接收所述解交织后行号和列号计算模块输出的数据和该数据对应的 解交织后的行号和列号, 以及接收所述第二空比特位置计算模块输出的解 交织后所述解交织矩阵的最后一行的每一列是否为空比特的计算结果, 并 计算该数据对应的解交织顺序信息后, 输出该数据和该数据对应的解交织 [12] 12. The system according to claim 11, further comprising: a second null bit position calculating module, coupled to the deinterleaving order information calculating module, wherein the second null bit position calculating module is configured to: Calculating whether each column of the last row of the deinterleaving matrix before deinterleaving is a null bit and whether each column of the last row of the deinterleaving matrix after deinterleaving is a null bit, and outputting the calculation result to the deinterleaving sequence An information calculation module; the deinterleaving sequence information calculation module is configured to receive data output by the deinterleaved line number and column number calculation module, and deinterleaved line numbers and column numbers corresponding to the data, and receive the first Whether each column of the last row of the deinterleaving matrix is a null bit calculation result after deinterleaving output by the second null bit position calculation module, and After calculating the deinterleaving order information corresponding to the data, outputting the data and the deinterleaving corresponding to the data
PCT/CN2007/070468 2006-09-01 2007-08-14 Interleaving/de-interleaving method and system in communication system WO2008028419A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200610127974 CN1917414A (en) 2006-09-01 2006-09-01 Method and system for implementing interleaving and de-interleaving at second time in physical layer of mobile communication
CN200610127974.1 2006-09-01

Publications (1)

Publication Number Publication Date
WO2008028419A1 true WO2008028419A1 (en) 2008-03-13

Family

ID=37738314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070468 WO2008028419A1 (en) 2006-09-01 2007-08-14 Interleaving/de-interleaving method and system in communication system

Country Status (2)

Country Link
CN (1) CN1917414A (en)
WO (1) WO2008028419A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10886946B2 (en) 2011-05-18 2021-01-05 Panasonic Corporation Parallel bit interleaver

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610089B (en) 2008-06-17 2013-06-05 中兴通讯股份有限公司 Methods and devices for secondly interlacing and deinterlacing
CN109391365B (en) * 2017-08-11 2021-11-09 华为技术有限公司 Interleaving method and device
CN115225203B (en) * 2022-06-08 2024-04-12 芯翼信息科技(上海)有限公司 Data de-interleaving method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536490A (en) * 2003-04-07 2004-10-13 松下电器产业株式会社 Interweave/deinterweare method and device
US20050262415A1 (en) * 2004-05-19 2005-11-24 Wei-Hung Huang Method and apparatus for convolutional interleaving/de-interleaving technique
US20060164973A1 (en) * 2005-01-27 2006-07-27 Samsung Electronics Co., Ltd. Interleaving method in OFDM system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536490A (en) * 2003-04-07 2004-10-13 松下电器产业株式会社 Interweave/deinterweare method and device
US20050262415A1 (en) * 2004-05-19 2005-11-24 Wei-Hung Huang Method and apparatus for convolutional interleaving/de-interleaving technique
US20060164973A1 (en) * 2005-01-27 2006-07-27 Samsung Electronics Co., Ltd. Interleaving method in OFDM system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10886946B2 (en) 2011-05-18 2021-01-05 Panasonic Corporation Parallel bit interleaver
TWI721717B (en) * 2011-05-18 2021-03-11 日商松下電器產業股份有限公司 Bit interleaving method, bit interleaver, signal processing method and signal processing apparatus
US11362680B2 (en) 2011-05-18 2022-06-14 Panasonic Holdings Corporation Parallel bit interleaver

Also Published As

Publication number Publication date
CN1917414A (en) 2007-02-21

Similar Documents

Publication Publication Date Title
KR100860245B1 (en) Method and apparatus for performing reverse rate matching in a cdma system
JP5111498B2 (en) Interleaver device and receiver for signals generated by interleaver device
US7954016B2 (en) Efficient multi-symbol deinterleaver
WO2009152770A1 (en) Method and apparatus for implementing interleaving and de-interleaving at second time
US8132076B1 (en) Method and apparatus for interleaving portions of a data block in a communication system
JP2006014000A (en) Deinterleave device, mobile communication terminal, and deinterleave method
JP2008533875A (en) Parallel turbo decoder with multiplexed output.
WO2011026375A1 (en) Methods and devices for encoding and decoding
WO2001069794A1 (en) Interleave address generator
CN101013931A (en) Method and apparatus for channel coding and interleaving in mobile media broadcast
CN101227259A (en) Method for data reading of limited length circulating buffer memory rate adaption
JP2007028635A (en) Interleaving method, interleaving device, and de-interleaving method
MXPA04007076A (en) Intra-decoder component block messaging.
EP1470647A1 (en) Dual chien search blocks in an error-correcting decoder
WO2004013975A1 (en) Turbo decoding apparatus and method
WO2008028419A1 (en) Interleaving/de-interleaving method and system in communication system
WO2011095115A1 (en) Method and device for de-interleaving
KR20100071490A (en) Method and apparatus for de-rata matching
WO2012034398A1 (en) Method and device for implementing viterbi decoding
US8103944B2 (en) Memory architecture for high throughput RS decoding for MediaFLO receivers
CN111030780B (en) Configurable parallel bit grouping interleaver and interleaving method
JP3920220B2 (en) Communication device
TW200833127A (en) DVB-H system and method for performing forward error correction
CN1319278C (en) Turbo product code serial cascade NR code channel coding method
WO2012109851A1 (en) Interleaving and de-interleaving method, interleaver and de-interleaver

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: 07800944

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07800944

Country of ref document: EP

Kind code of ref document: A1