CN103929271B - Parallel achieving method and device for LTE system rate matching - Google Patents
Parallel achieving method and device for LTE system rate matching Download PDFInfo
- Publication number
- CN103929271B CN103929271B CN201410123580.3A CN201410123580A CN103929271B CN 103929271 B CN103929271 B CN 103929271B CN 201410123580 A CN201410123580 A CN 201410123580A CN 103929271 B CN103929271 B CN 103929271B
- Authority
- CN
- China
- Prior art keywords
- bit
- row
- column
- data
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
本发明公开了一种LTE系统速率匹配并行实现方法和装置,该方法包括:将Turbo编码后的数据比特流和校验比特1流与校验比特2流按行合并存放,根据Turbo编码后数据长度D,确定列置换样式;逐行完成列置换;对于校验比特1流与校验比特2流合并处理后的特殊列进行特殊处理;从指定位置开始按列读取数据,得到速率匹配后的比特流。应用本发明实施例以后能够加快速率匹配的速度。
The present invention discloses a parallel implementation method and device for LTE system rate matching. The method includes: combining and storing Turbo-encoded data bit streams and parity bit 1 streams and parity bit 2 streams in rows, and storing data according to Turbo-encoded Length D, determine the column replacement style; complete column replacement row by row; special treatment for special columns after parity bit 1 stream and parity bit 2 stream are merged; read data by column from the specified position, and get the rate matching bitstream. After applying the embodiment of the present invention, the speed of rate matching can be accelerated.
Description
技术领域technical field
本发明涉及无线通信技术领域,更具体的,涉及LTE系统中速率匹配的实现。The present invention relates to the technical field of wireless communication, and more specifically, to the realization of rate matching in an LTE system.
背景技术Background technique
长期演进(LTE/LTE-Advanced)是4G无线通信系统的典型代表,为无线通信系统提供了更高的传输速率。对于LTE/LET-Advanced的基带处理实现而言,如何加快比特级的数据处理速度,尤其是物理传输信道的速率匹配是整个基带处理的瓶颈之一。Long Term Evolution (LTE/LTE-Advanced) is a typical representative of the 4G wireless communication system, which provides a higher transmission rate for the wireless communication system. For the implementation of baseband processing of LTE/LET-Advanced, how to speed up bit-level data processing, especially the rate matching of physical transmission channels, is one of the bottlenecks of the entire baseband processing.
现有速率匹配分为子块交织、比特收集和比特选取三个部分。附图1为3GPP协议规定的速率匹配示意图。如图1所示,编码后的数据比特流、校验比特1流和校验比特2流首先分别进行比特填充和交织,然后经比特收取将数据存储在环形存储器,最后经比特选取计算得到输出数据起始位置和数据大小,并将环形存储器中的相应数据去掉填充比特输出得到速率匹配的结果。Existing rate matching is divided into three parts: sub-block interleaving, bit collection and bit selection. Figure 1 is a schematic diagram of rate matching specified in the 3GPP protocol. As shown in Figure 1, the coded data bit stream, parity bit 1 stream and parity bit 2 stream are first bit filled and interleaved respectively, and then the data is stored in the ring memory through bit collection, and finally the output is obtained through bit selection calculation The data start position and data size, and the corresponding data in the ring memory are removed from the padding bit output to obtain the result of rate matching.
可见,在子块交织过程中需要添加填充比特,在比特选取过程中需要去掉比特填充比特,上述串行实现方法速度较慢而且硬件开销较大。It can be seen that padding bits need to be added during the sub-block interleaving process, and bit padding bits need to be removed during the bit selection process. The above serial implementation method is slow and has a large hardware overhead.
发明内容Contents of the invention
(一)要解决的技术问题(1) Technical problems to be solved
针对LTE系统中速率匹配串行实现方法具有速度慢、硬件开销较大的问题,本发明提出一种LTE系统中速率匹配的并行实现方法和装置。Aiming at the problems of slow speed and large hardware overhead in the serial implementation method of rate matching in the LTE system, the present invention proposes a parallel implementation method and device for rate matching in the LTE system.
(二)技术方案(2) Technical solutions
为解决上述技术问题,本发明一方面提出一种LTE系统速率匹配的并行实现方法,该方法包括:In order to solve the above technical problems, the present invention proposes a parallel implementation method of LTE system rate matching on the one hand, the method comprising:
步骤S1、将数据比特流、校验比特1流和校验比特2流按行方式合并并读入一个2R×64矩阵,其中R为自然数,且D为数据比特流的长度,其中将数据比特流存入前32列,校验比特1流和校验比特2流按行交替存入后32列,所述数据比特流为Turbo编码后的数据比特流或卷积编码后的数据比特流;Step S1, combining the data bit stream, the parity bit 1 stream and the parity bit 2 stream in a row and reading them into a 2R×64 matrix, where R is a natural number, and D is the length of the data bit stream, wherein the data bit stream is stored in the first 32 columns, and the parity bit 1 stream and the parity bit 2 stream are alternately stored in the last 32 columns by row, and the data bit stream is Turbo encoded data bitstream or convolutionally encoded data bitstream;
步骤S2、根据所述数据比特流的长度确定合并矩阵每行的列置换样式;Step S2, determine the column permutation pattern of each row of the combination matrix according to the length of the data bit stream;
步骤S3、按照合并矩阵每行的列置换样式,逐行进行列置换;Step S3, perform column replacement row by row according to the column replacement pattern of each row of the merge matrix;
步骤S4、在所述列置换后的合并矩阵中找校验比特2流的第1比特所在的特定列,并对该列进行行置换;Step S4, find the specific column where the first bit of the check bit 2 stream is located in the merged matrix after the column permutation, and perform row permutation on this column;
步骤S5、从指定位置开始按列读取数据,得到速率匹配结果;Step S5, starting to read the data column by column from the designated position, to obtain the rate matching result;
根据本发明的一种实施方式,合并矩阵具有如下特点:子矩阵[R×32]存储数据比特流;子矩阵[2R×64]存储校验比特流,校验比特1流和校验比特2流交替存储;矩阵其余元素填充0比特。According to an embodiment of the present invention, the combination matrix has the following characteristics: the sub-matrix [R×32] stores the data bit stream; the sub-matrix [2R×64] stores the parity bit stream, parity bit 1 stream and parity bit 2 The streams are stored alternately; the remaining elements of the matrix are filled with 0 bits.
根据本发明的一种实施方式,在所述步骤S2中,根据所述数据长度D确定8种合并矩阵的列置换样式,这8种列置换样式分别对应合并矩阵中校验比特1流所在行和校验比特2流所在行各4种列置换样式,其中数据长度D=K+4,K表示编码块长度,4表示编码后尾比特个数。According to an embodiment of the present invention, in the step S2, according to the data length D, 8 kinds of column replacement patterns of the combination matrix are determined, and these 8 kinds of column replacement patterns correspond to the row where the parity bit 1 stream in the combination matrix is located. There are 4 types of column permutation patterns in the row where the check bit 2 stream is located, wherein the data length D=K+4, K represents the length of the coding block, and 4 represents the number of tail bits after coding.
根据本发明的一种实施方式,每种列置换样式共计64列,其中前32列表示数据比特流的列置换样式,后32列表示校验比特1流或校验比特2流的列置换样式。According to an embodiment of the present invention, each column permutation pattern has a total of 64 columns, wherein the first 32 columns represent the column permutation pattern of the data bit stream, and the last 32 columns represent the column permutation pattern of the check bit 1 stream or parity bit 2 stream .
根据本发明的一种实施方式,在步骤S3中,从N=0开始并按步长为1递增至R-1,N为自然数,根据列置换样式对合并矩阵逐行完成列置换操作,并且每次处理两行。According to an embodiment of the present invention, in step S3, starting from N=0 and incrementing to R-1 with a step size of 1, where N is a natural number, the column permutation operation is completed row by row for the merging matrix according to the column permutation pattern, and Two rows are processed at a time.
根据本发明的一种实施方式,在步骤S4中,在所述列置换后的合并矩阵中找校验比特2流的第1比特所在的特定列,并对该列进行两两交换的行置换。According to one embodiment of the present invention, in step S4, find the specific column where the first bit of the parity bit 2 stream is located in the merged matrix after the column permutation, and perform row permutation for pairwise exchange of the column .
根据本发明的一种实施方式,在步骤S5中,计算输出数据的起始列位置k0,并从该列开始按列读出数据,其中合并矩阵的前32列只读前R行。According to an embodiment of the present invention, in step S5, the starting column position k 0 of the output data is calculated, and the data is read column by column starting from this column, wherein only the first R rows are read from the first 32 columns of the merge matrix.
本发明另一方面提出一种LTE系统速率匹配装置,包括:Another aspect of the present invention proposes an LTE system rate matching device, including:
比特流合并装置:该装置将数据比特流、校验比特1流和校验比特2流按行方式合并并读入一个2R×64矩阵,其中R为自然数,且D为数据比特流的长度,其中将数据比特流存入前32列,校验比特1流和校验比特2流按行交替存入后32列,所述数据比特流为Turbo编码后的数据比特流或卷积编码后的数据比特流。Bit stream merging device: the device combines data bit stream, parity bit 1 stream and parity bit 2 stream in a row and reads them into a 2R×64 matrix, where R is a natural number, and D is the length of the data bit stream, wherein the data bit stream is stored in the first 32 columns, and the parity bit 1 stream and the parity bit 2 stream are alternately stored in the last 32 columns by row, and the data bit stream is Turbo encoded data bitstream or convolutionally encoded data bitstream.
列置换样式确定装置:该装置根据所述数据比特流的长度确定合并矩阵每行的列置换样式。Column permutation pattern determination device: the device determines the column permutation pattern of each row of the combination matrix according to the length of the data bit stream.
合并矩阵列置换装置:该装置按照合并矩阵每行的列置换样式,逐行进行列置换。Combined matrix column replacement device: the device performs column replacement row by row according to the column replacement pattern of each row of the merged matrix.
行置换装置:该装置在所述列置换后的合并矩阵中找校验比特2流的第1比特所在的特定列,并对该列进行行置换。Row permutation device: this device finds the specific column where the first bit of the parity bit 2 stream is located in the column permuted combination matrix, and performs row permutation on this column.
比特流输出装置:该装置从指定位置开始按列读取数据,得到速率匹配结果。Bit stream output device: This device reads data column by column from the specified position, and obtains the rate matching result.
根据本发明的一种实施方式,所述比特流合并装置中的合并矩阵具有如下特点:子矩阵[R×32]存储数据比特流;子矩阵[2R×64]存储校验比特流,校验比特1流和校验2比特流交替存储;矩阵其余元素填充0比特。According to an embodiment of the present invention, the merging matrix in the bit stream merging device has the following characteristics: the sub-matrix [R×32] stores the data bit stream; the sub-matrix [2R×64] stores the verification bit stream, and the verification The bit 1 stream and check 2 bit stream are stored alternately; the remaining elements of the matrix are filled with 0 bits.
根据本发明的一种实施方式,所述列置换样式确定装置根据所述数据长度D确定8种合并矩阵的列置换样式,这8种列置换样式分别对应合并矩阵中校验比特1流所在行和校验比特2流所在行各4种列置换样式,其中数据长度D=K+4,K表示编码块长度,4表示编码后尾比特个数。According to an embodiment of the present invention, the column replacement pattern determination device determines 8 column replacement patterns of the combination matrix according to the data length D, and these 8 column replacement patterns correspond to the row where the check bit 1 stream in the combination matrix is located. There are 4 types of column permutation patterns in the row where the check bit 2 stream is located, wherein the data length D=K+4, K represents the length of the coding block, and 4 represents the number of tail bits after coding.
根据本发明的一种实施方式,所述列置换样式确定装置的每种列置换样式共计64列,其中前32列表示数据比特流的列置换样式,后32列表示校验比特1流或校验比特2流的列置换样式。According to an embodiment of the present invention, each column replacement pattern of the column replacement pattern determination device has a total of 64 columns, wherein the first 32 columns represent the column replacement pattern of the data bit stream, and the last 32 columns represent the check bit 1 stream or parity bit stream. Checks the column permutation pattern for bit2 streams.
根据本发明的一种实施方式,在所述合并矩阵列置换装置中,从N=0开始并按步长为1递增至R-1,N为自然数,根据列置换样式对合并矩阵逐行完成列置换操作,并且每次处理两行。According to an embodiment of the present invention, in the unit for replacing the columns of the merged matrix, start from N=0 and increase to R-1 with a step size of 1, where N is a natural number, and complete the merged matrix row by row according to the column replacement pattern Column permutation operations, and process two rows at a time.
根据本发明的一种实施方式,所述行置换装置在所述列置换后的合并矩阵中找校验2比特流的第1比特所在的特定列,并对该列进行两两交换的行置换。According to an embodiment of the present invention, the row permutation device finds the specific column where the first bit of the parity 2 bit stream is located in the merged matrix after the column permutation, and performs row permutation of two-by-two exchange on the column .
根据本发明的一种实施方式,所述比特流输出装置计算输出数据的起始列位置k0,并从该列开始按列读出数据,其中合并矩阵的前32列只读前R行。According to an embodiment of the present invention, the bit stream output device calculates the starting column position k 0 of the output data, and reads data column by column starting from this column, wherein the first 32 columns of the merge matrix only read the first R rows.
(三)有益效果(3) Beneficial effects
采用本发明的方法将比特收集和比特选取放在子块交织过程中完成,完成子块交织即完成了比特收集和比特选取操作,且在子块交织过程中无需添加填充比特,提高了速率匹配的速度。同时,减少了比特填充和填充比特去除所需的硬件开销,因此降低了实现时的硬件规模。By adopting the method of the present invention, the bit collection and bit selection are completed in the sub-block interleaving process, and the bit collection and bit selection operations are completed after the sub-block interleaving is completed, and there is no need to add padding bits in the sub-block interleaving process, which improves the rate matching speed. At the same time, the hardware overhead required for bit stuffing and stuffing bit removal is reduced, thus reducing the hardware scale during implementation.
附图说明Description of drawings
附图1为3GPP协议规定的速率匹配示意图;Accompanying drawing 1 is the rate matching schematic diagram that 3GPP agreement stipulates;
附图2本发明LTE系统速率匹配流程图;Accompanying drawing 2 LTE system rate matching flowchart of the present invention;
附图3为本发明LTE系统速率匹配装置的结构图;Accompanying drawing 3 is the structural diagram of LTE system rate matching device of the present invention;
附图4为本发明LTE系统速率匹配的特殊列处理过程的示意图;Accompanying drawing 4 is the schematic diagram of the special column processing procedure of LTE system rate matching of the present invention;
附图5为子块列置换且校验2特殊处理后的图样0;Accompanying drawing 5 is pattern 0 after sub-block row replacement and verification 2 special processing;
附图6为子块列置换且校验2特殊处理后的图样1;Accompanying drawing 6 is pattern 1 after sub-block row replacement and check 2 special processing;
附图7为子块列置换且校验2特殊处理后的图样2;Accompanying drawing 7 is pattern 2 after sub-block row replacement and check 2 special processing;
附图8为子块列置换且校验2特殊处理后的图样3。Figure 8 is the pattern 3 after sub-block column replacement and parity 2 special processing.
具体实施方式detailed description
本发明提出的速率匹配方法包括以下步骤:The rate matching method that the present invention proposes comprises the following steps:
步骤S1、将数据比特流、校验比特1流和校验比特2流按行方式合并并读入一个2R×64矩阵,其中R为自然数,且D为数据比特流的长度,其中将数据比特流存入前32列,校验比特1流和校验比特2流按行交替存入后32列,Step S1, combining the data bit stream, the parity bit 1 stream and the parity bit 2 stream in a row and reading them into a 2R×64 matrix, where R is a natural number, and D is the length of the data bit stream, wherein the data bit stream is stored in the first 32 columns, and the check bit 1 stream and the check bit 2 stream are alternately stored in the last 32 columns by row.
所述数据比特流为Turbo编码后的数据比特流或卷积编码后的数据比特流。The data bit stream is a Turbo encoded data bit stream or a convolutionally encoded data bit stream.
步骤S2、根据所述数据比特流的长度确定合并矩阵每行的列置换样式。Step S2. Determine the column permutation pattern of each row of the combination matrix according to the length of the data bit stream.
步骤S3、按照合并矩阵每行的列置换样式,逐行进行列置换,并且每次处理两行。Step S3, perform column replacement row by row according to the column replacement pattern of each row of the merge matrix, and process two rows at a time.
步骤S4、在所述列置换后的合并矩阵中找校验2比特流的第1比特所在的特定列,并对该列进行行置换。Step S4: Find the specific column where the first bit of the check-2 bit stream is located in the merged matrix after the column permutation, and perform row permutation on this column.
步骤S5、从指定位置开始按列读取数据,得到速率匹配结果。Step S5, reading data column by column from the specified position to obtain the rate matching result.
本发明提出的一种LTE系统速率匹配装置,如图3所示,该装置包括:A kind of LTE system rate matching device that the present invention proposes, as shown in Figure 3, this device comprises:
比特流合并装置:该装置将数据比特流、校验比特1流和校验比特2流按行方式合并并读入一个2R×64矩阵,其中R为自然数,且D为数据比特流的长度,其中将数据比特流存入前32列,校验比特1流和校验比特2流按行交替存入后32列,所述数据比特流为Turbo编码后的数据比特流或卷积编码后的数据比特流。Bit stream merging device: the device combines data bit stream, parity bit 1 stream and parity bit 2 stream in a row and reads them into a 2R×64 matrix, where R is a natural number, and D is the length of the data bit stream, wherein the data bit stream is stored in the first 32 columns, and the parity bit 1 stream and the parity bit 2 stream are alternately stored in the last 32 columns by row, and the data bit stream is Turbo encoded data bitstream or convolutionally encoded data bitstream.
列置换样式确定装置:该装置根据所述数据比特流的长度确定合并矩阵每行的列置换样式。Column permutation pattern determination device: the device determines the column permutation pattern of each row of the combination matrix according to the length of the data bit stream.
合并矩阵列置换装置:该装置按照合并矩阵每行的列置换样式,逐行进行列置换。Combined matrix column replacement device: the device performs column replacement row by row according to the column replacement pattern of each row of the merged matrix.
行置换装置:该装置在所述列置换后的合并矩阵中找校验2比特流的第1比特所在的特定列,并对该列进行行置换。Row permutation device: this device finds the specific column where the first bit of the parity 2 bit stream is located in the combination matrix after the column permutation, and performs row permutation on this column.
比特流输出装置:该装置从指定位置开始按列读取数据,得到速率匹配结果。Bit stream output device: This device reads data column by column from the specified position, and obtains the rate matching result.
可见,在本发明中,无需进行填充比特的处理,同时并行处理处理一行数据比特流和一行校验比特流,处理方式简单,循环结构清晰,加快了速率匹配的速度。It can be seen that in the present invention, there is no need to perform filling bit processing, and a row of data bit streams and a row of check bit streams are processed in parallel at the same time. The processing method is simple, the loop structure is clear, and the speed of rate matching is accelerated.
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
附图2为本发明LTE系统速率匹配方法流程图。如图2所示,本发明具体包括以下步骤:Accompanying drawing 2 is the flowchart of the LTE system rate matching method of the present invention. As shown in Figure 2, the present invention specifically comprises the following steps:
步骤S1、将数据比特流、校验比特1流和校验比特2流按行方式合并读入一个2R×64矩阵,其中R为自然数,且D为数据比特流的长度,其中将数据比特流存入前32列,校验比特1流和校验比特2流按行交替存入后32列。Step S1, combining the data bit stream, parity bit 1 stream and parity bit 2 stream into a 2R×64 matrix rowwise, wherein R is a natural number, and D is the length of the data bit stream, wherein the data bit stream is stored in the first 32 columns, and the check bit 1 stream and the check bit 2 stream are alternately stored in the last 32 columns by row.
根据LTE协议规定的Turbo编码码块长度共计188种,其中前60种码块长度以8为递进步长,码块长度K范围为40≤K≤512;其中有32种码块长度以16为递进步长,码块长度K范围为528≤K≤1024;其中有32种码块长度以32为递进步长,码块长度K范围为1056≤K≤2048;其中有64种码块长度以64为递进步长,码块长度K范围为2112≤K≤6144;According to the LTE protocol, there are a total of 188 types of Turbo code block lengths, of which the first 60 types of code block lengths are 8 as the progressive step length, and the range of code block length K is 40≤K≤512; among them, there are 32 types of code block lengths with 16 as the step length. Progressive step length, the range of code block length K is 528≤K≤1024; among them, there are 32 kinds of code block lengths with 32 as the progressive step length, and the range of code block length K is 1056≤K≤2048; among them, there are 64 kinds of code block lengths with 64 is the progressive step length, and the range of code block length K is 2112≤K≤6144;
本发明以64为合并矩阵列数,前32列存放数据比特流,后32列存放校验比特1流和校验比特2流,因为要将校验比特1流和校验比特2流按行交替存储,所以矩阵的行数最大为2R,其中R表示一流比特的长度, The present invention uses 64 as the number of columns of the merging matrix, the first 32 columns store the data bit stream, and the last 32 columns store the parity bit 1 stream and the parity bit 2 stream, because the parity bit 1 stream and the parity bit 2 stream are divided into rows Alternate storage, so the maximum number of rows of the matrix is 2R, where R represents the length of the first-rate bit,
下表1是数据矩阵的组织结构表,表中元素表示每个数据的索引地址。Table 1 below is the organizational structure table of the data matrix, and the elements in the table represent the index address of each data.
表1中*表示非本码块数据的0元素,100等以1开头表示检验1数据索引地址,200等2开头表示校验2数据索引地址,三种比特流分别用不同的图样进行表示。In Table 1, * indicates the 0 element of non-local code block data, 100 etc. start with 1 to indicate the index address of check 1 data, 200 etc. start with 2 to indicate the index address of check 2 data, and the three bit streams are represented by different patterns respectively.
步骤S2、根据所述数据长度确定合并矩阵的列置换样式。Step S2. Determine the column permutation pattern of the merge matrix according to the data length.
由于本发明的数据在组织时没有添加填充比特,所以需要对原有列置换样式加以改进。根据编码后比特流数据长度D得到四类列置换样式。其中数据长度D=K+4,K表示编码块长度,4表示尾比特长度。本发明需要根据编码后数据长度D选择一类列置换模式进行处理。Since the data in the present invention is organized without adding padding bits, it is necessary to improve the original column replacement pattern. According to the data length D of the coded bit stream, four types of column permutation patterns are obtained. Wherein the data length D=K+4, K represents the length of the coding block, and 4 represents the tail bit length. The present invention needs to select a type of column permutation mode for processing according to the encoded data length D.
尽管本发明的数据组织没有添加填充比特,但是四类列置换样式需要根据188种不同数据长度时填充比特数目得到,填充比特数目ND=R*32-D。Although the data organization of the present invention does not add padding bits, the four types of column permutation patterns need to be obtained according to the number of padding bits for 188 different data lengths, and the number of padding bits ND =R*32- D .
对于188种编码输出长度,每一流的填充比特存在如下规则:For 188 coded output lengths, the filling bits of each stream have the following rules:
对应填充比特ND=28,共127种码块长度K;例K=6144;Corresponding padding bits ND = 28, a total of 127 kinds of code block length K; example K = 6144;
对应填充比特ND=20,共15种码块长度K;例K=488;Corresponding padding bits ND = 20, a total of 15 kinds of code block length K; example K = 488;
对应填充比特ND=12,共31种码块长度K;例K=496;Corresponding padding bits ND = 12, a total of 31 kinds of code block length K; example K = 496;
对应填充比特ND=4,共15种码块长度K;例K=504;Corresponding padding bits ND = 4, a total of 15 kinds of code block length K; example K = 504;
根据填充比特的数目不同将列置换样式分为四类。由于数据比特流和校验比特1流采用的是相同的列置换样式,校验比特2流采用的是另外一种列置换样式,因此每类列置换样式又分两种:The column permutation patterns are divided into four types according to the number of padding bits. Since the data bit stream and parity bit stream 1 use the same column permutation pattern, and parity bit stream 2 uses another column permutation pattern, each type of column permutation pattern is divided into two types:
第一种,将数据比特流和校验比特1流合并生成64列列置换样式;The first one is to combine the data bit stream and the check bit 1 stream to generate a 64-column permutation pattern;
第二种,将数据比特流和校验比特2流合并生成64列列置换样式。In the second type, the data bit stream and the check bit 2 stream are combined to generate a 64-column permutation pattern.
综上所述,整理四类八种列置换样式如下:To sum up, the four types and eight column replacement styles are sorted out as follows:
当ND=28时,第一类列置换样式:When N D =28, the first type of column replacement style:
第一种列置换样式为:The first column replacement style is:
{4,20,12,28,8,24,16,0,6,22,14,30,10,26,18,2,5,21,13,29,9,25,17,1,7,23,15,31,11,27,19,3,36,52,44,60,40,56,48,32,38,54,46,62,42,58,50,34,37,53,45,61,41,57,49,33,39,55,47,63,43,59,51,35}{4, 20, 12, 28, 8, 24, 16, 0, 6, 22, 14, 30, 10, 26, 18, 2, 5, 21, 13, 29, 9, 25, 17, 1, 7 , 23, 15, 31, 11, 27, 19, 3, 36, 52, 44, 60, 40, 56, 48, 32, 38, 54, 46, 62, 42, 58, 50, 34, 37, 53 ,45,61,41,57,49,33,39,55,47,63,43,59,51,35}
第二种列置换样式为:The second column replacement style is:
{4,20,12,28,8,24,16,0,6,22,14,30,10,26,18,2,5,21,13,29,9,25,17,1,7,23,15,31,11,27,19,3,37,53,45,61,41,57,49,33,39,55,47,63,43,59,51,35,38,54,46,62,42,58,50,34,40,56,48,32,44,60,52,36}{4, 20, 12, 28, 8, 24, 16, 0, 6, 22, 14, 30, 10, 26, 18, 2, 5, 21, 13, 29, 9, 25, 17, 1, 7 , 23, 15, 31, 11, 27, 19, 3, 37, 53, 45, 61, 41, 57, 49, 33, 39, 55, 47, 63, 43, 59, 51, 35, 38, 54 , 46, 62, 42, 58, 50, 34, 40, 56, 48, 32, 44, 60, 52, 36}
当ND=20时,第二类列置换样式:When N D =20, the second type of column replacement style:
第一种列置换样式为:The first column replacement style is:
{12,28,20,4,16,0,24,8,14,30,22,6,18,2,26,10,13,29,21,5,17,1,25,9,15,31,23,7,19,3,27,11,44,60,52,36,48,32,56,40,46,62,54,38,50,34,58,42,45,61,53,37,49,33,57,41,47,63,55,39,51,35,59,43}{12, 28, 20, 4, 16, 0, 24, 8, 14, 30, 22, 6, 18, 2, 26, 10, 13, 29, 21, 5, 17, 1, 25, 9, 15 , 31, 23, 7, 19, 3, 27, 11, 44, 60, 52, 36, 48, 32, 56, 40, 46, 62, 54, 38, 50, 34, 58, 42, 45, 61 , 53, 37, 49, 33, 57, 41, 47, 63, 55, 39, 51, 35, 59, 43}
第二种列置换样式为:The second column replacement style is:
{4,20,12,28,8,24,16,0,6,22,14,30,10,26,18,2,5,21,13,29,9,25,17,1,7,23,15,31,11,27,19,3,37,53,45,61,41,57,49,33,39,55,47,63,43,59,51,35,38,54,46,62,42,58,50,34,40,56,48,32,44,60,52,36}{4, 20, 12, 28, 8, 24, 16, 0, 6, 22, 14, 30, 10, 26, 18, 2, 5, 21, 13, 29, 9, 25, 17, 1, 7 , 23, 15, 31, 11, 27, 19, 3, 37, 53, 45, 61, 41, 57, 49, 33, 39, 55, 47, 63, 43, 59, 51, 35, 38, 54 , 46, 62, 42, 58, 50, 34, 40, 56, 48, 32, 44, 60, 52, 36}
当ND=12时,第三类列置换样式:When N D =12, the third type of column replacement style:
第一种列置换样式为:The first column replacement style is:
{20,4,28,12,24,8,0,16,22,6,30,14,26,10,2,18,21,5,29,13,25,9,1,17,23,7,31,15,27,11,3,19,52,36,60,44,56,40,32,48,54,38,62,46,58,42,34,50,53,37,61,45,57,41,33,49,55,39,63,47,59,43,35,51}{20, 4, 28, 12, 24, 8, 0, 16, 22, 6, 30, 14, 26, 10, 2, 18, 21, 5, 29, 13, 25, 9, 1, 17, 23 , 7, 31, 15, 27, 11, 3, 19, 52, 36, 60, 44, 56, 40, 32, 48, 54, 38, 62, 46, 58, 42, 34, 50, 53, 37 ,61,45,57,41,33,49,55,39,63,47,59,43,35,51}
第二种列置换样式为:The second column replacement style is:
{20,4,28,12,24,8,0,16,22,6,30,14,26,10,2,18,21,5,29,13,25,9,1,17,23,7,31,15,27,11,3,19,53,37,61,45,57,41,33,49,55,39,63,47,59,43,35,51,54,38,62,46,58,42,34,50,56,40,32,48,60,44,36,52}{20, 4, 28, 12, 24, 8, 0, 16, 22, 6, 30, 14, 26, 10, 2, 18, 21, 5, 29, 13, 25, 9, 1, 17, 23 , 7, 31, 15, 27, 11, 3, 19, 53, 37, 61, 45, 57, 41, 33, 49, 55, 39, 63, 47, 59, 43, 35, 51, 54, 38 ,62,46,58,42,34,50,56,40,32,48,60,44,36,52}
当ND=4时,第四类列置换样式:When N D =4, the fourth type of column replacement style:
第一种列置换样式为:The first column replacement style is:
{28,12,4,20,0,16,8,24,30,14,6,22,2,18,10,26,29,13,5,21,1,17,9,25,31,15,7,23,3,19,11,27,60,44,36,52,32,48,40,56,62,46,38,54,34,50,42,58,61,45,37,53,33,49,41,57,63,47,39,55,35,51,43,59}{28, 12, 4, 20, 0, 16, 8, 24, 30, 14, 6, 22, 2, 18, 10, 26, 29, 13, 5, 21, 1, 17, 9, 25, 31 , 15, 7, 23, 3, 19, 11, 27, 60, 44, 36, 52, 32, 48, 40, 56, 62, 46, 38, 54, 34, 50, 42, 58, 61, 45 ,37,53,33,49,41,57,63,47,39,55,35,51,43,59}
第二种列置换样式为:The second column replacement style is:
{28,12,4,20,0,16,8,24,30,14,6,22,2,18,10,26,29,13,5,21,1,17,9,25,31,15,7,23,3,19,11,27,61,45,37,53,33,49,41,57,63,47,39,55,35,51,43,59,62,46,38,54,34,50,42,58,32,48,40,56,36,52,44,60}{28, 12, 4, 20, 0, 16, 8, 24, 30, 14, 6, 22, 2, 18, 10, 26, 29, 13, 5, 21, 1, 17, 9, 25, 31 , 15, 7, 23, 3, 19, 11, 27, 61, 45, 37, 53, 33, 49, 41, 57, 63, 47, 39, 55, 35, 51, 43, 59, 62, 46 ,38,54,34,50,42,58,32,48,40,56,36,52,44,60}
步骤S3、按照合并矩阵每行的64列不同列置换样式,逐行进行列置换。Step S3, perform column replacement row by row according to different column replacement patterns of 64 columns in each row of the merge matrix.
首先,从N=0开始,并按步长为1递增至R-1。R表示数据比特流的行数。由于一次需要处理两行数据,第一行为数据比特流和校验比特1流的合并数据,第二行为数据比特流和校验比特2流的合并数据。First, start from N=0 and increase to R-1 with a step size of 1. R represents the number of rows of the data bit stream. Since two rows of data need to be processed at a time, the first row is the merged data of the data bit stream and the parity bit 1 stream, and the second row is the merged data of the data bit stream and the parity bit 2 stream.
接着,逐行采用列置换样式完成列置换。Next, the column permutation is done row by row using the column permutation pattern.
根据编码后比特流数据长度D选择一类列置换样式后,循环每次处理两行数据,处理方式为按照不同列置换样式,进行交织操作,完成列置换。;After selecting a type of column permutation pattern according to the encoded bit stream data length D, two rows of data are processed each time in a loop. The processing method is to perform interleaving operations according to different column permutation patterns to complete the column permutation. ;
步骤S4、在所述列置换后的合并矩阵中找到在所述列置换后的合并矩阵中找校验比特2流的第1比特所在的特定列,并对该列进行两两交换的行置换处理。Step S4, find the specific column where the first bit of the parity bit 2 stream is located in the merged matrix after the column permutation, and perform row permutation of two-by-two exchange on the column deal with.
由于校验比特2流采用列置换模式后,还需要特殊的列置换处理,处理方式为找到需要特殊处理的列,将该列数据两两交换,并选择2R-1个数据存储。After the check bit 2 stream adopts the column replacement mode, special column replacement processing is required. The processing method is to find the column that needs special processing, exchange the data of the column two by two, and select 2R-1 data storage.
附图4为特殊列处理过程的示意图。Accompanying drawing 4 is the schematic diagram of special column processing process.
如附图4所示,由于列长最长为2*R,所以可以完成两两互换,然后完成2*R-1个数据。As shown in Figure 4, since the column length is up to 2*R, pairwise exchange can be completed, and then 2*R-1 data can be completed.
需要特殊处理的列为:The columns that require special handling are:
对应第一类列置换模式,第59列需要特殊处理;Corresponding to the first type of column replacement mode, the 59th column needs special treatment;
对应第二类列置换模式,第57列需要特殊处理;Corresponding to the second type of column replacement mode, the 57th column needs special treatment;
对应第三类列置换模式,第58列需要特殊处理;Corresponding to the third type of column replacement mode, the 58th column needs special treatment;
对应第四类列置换模式,第56列需要特殊处理;Corresponding to the fourth type of column replacement mode, the 56th column needs special treatment;
经过步骤S3、步骤S4处理后,得到四类不同列置换模式的数据存储结构:After processing in steps S3 and S4, four types of data storage structures with different column replacement modes are obtained:
附图5表示第一类列置换后数据组织结构,附图6表示第二类列置换后数据组织结构,附图7表示第三类列置换后数据组织结构,附图8表示第四类列置换后数据组织结构。Accompanying drawing 5 shows the data organization structure after the first type of column replacement, accompanying drawing 6 shows the data organization structure after the second type of column replacement, accompanying drawing 7 shows the data organization structure after the third type of column replacement, and accompanying drawing 8 shows the fourth type of column Data organization structure after replacement.
每类列置换后的数据矩阵中行数包含R-1,R,2(R-1),2R-1,2R五种情况,因此需要一个具有64个元素的向量来记录每一列的长度。The number of rows in the data matrix after each type of column permutation includes five cases of R-1, R, 2(R-1), 2R-1, and 2R, so a vector with 64 elements is required to record the length of each column.
步骤S5、从指定位置开始按列读取数据,得到速率匹配结果。Step S5, reading data column by column from the specified position to obtain the rate matching result.
本发明中,计算输出数据的起始列位置k0,其中是码块长度被32整除的倍数,Ncb表示速率匹配软buffer的大小,rvidx表示冗余版本信息。通过计算可知k0的取值由rvidx决定。In the present invention, the starting column position k 0 of the output data is calculated, in It is a multiple of the code block length divided by 32, N cb indicates the size of the rate matching soft buffer, and rv idx indicates the redundant version information. It can be known by calculation that the value of k 0 is determined by rv idx .
另外,由于本发明将校验比特1流和校验比特2流合并存储,所以当k0大于32R时,起始位置于 In addition, since the present invention combines and stores the check bit 1 stream and the check bit 2 stream, when k 0 is greater than 32R, the starting position is at
每次比特选取总是从指定行开头位置选择,且列置换后的矩阵没有填充比特,所以将矩阵按列输出改变为从k0指定列(如下表中的椭圆所表示的指定列)开始按列输出,将矩阵输出与比特选取合并处理,下表3所示。Each bit selection is always selected from the beginning of the specified row, and the matrix after column permutation has no filling bits, so the output of the matrix by column is changed to the specified column from k 0 (the specified column represented by the ellipse in the table below) by Column output, the matrix output and bit selection are combined for processing, as shown in Table 3 below.
至此,速率匹配的过程完成。So far, the process of rate matching is completed.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Within the spirit and principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the present invention.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410123580.3A CN103929271B (en) | 2014-03-28 | 2014-03-28 | Parallel achieving method and device for LTE system rate matching |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410123580.3A CN103929271B (en) | 2014-03-28 | 2014-03-28 | Parallel achieving method and device for LTE system rate matching |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103929271A CN103929271A (en) | 2014-07-16 |
| CN103929271B true CN103929271B (en) | 2017-04-19 |
Family
ID=51147363
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410123580.3A Active CN103929271B (en) | 2014-03-28 | 2014-03-28 | Parallel achieving method and device for LTE system rate matching |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103929271B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105577196B (en) * | 2015-12-16 | 2019-09-06 | 深圳市力合微电子股份有限公司 | Turbo code data interleaving method and interleaver based on broadband OFDM power line communication system |
| CN114422085B (en) * | 2022-01-21 | 2023-09-15 | 上海大学 | Optimized rate matching method and system based on FPGA |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1770675A (en) * | 2001-12-21 | 2006-05-10 | 三星电子株式会社 | Sign mapping interleaver and interleaving method of hsdpa mobile communication system |
| CN101515839A (en) * | 2008-02-22 | 2009-08-26 | 大唐移动通信设备有限公司 | Method, device and system for outputting codes |
| WO2009132203A1 (en) * | 2008-04-25 | 2009-10-29 | Interdigital Patent Holdings, Inc. | Harq process utilization in multiple carrier wireless communications |
| CN102255687A (en) * | 2010-05-17 | 2011-11-23 | 中兴通讯股份有限公司 | Rate matching method and device thereof |
| CN102325000A (en) * | 2011-05-18 | 2012-01-18 | 电子科技大学 | A rate matching method in LTE downlink system |
-
2014
- 2014-03-28 CN CN201410123580.3A patent/CN103929271B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1770675A (en) * | 2001-12-21 | 2006-05-10 | 三星电子株式会社 | Sign mapping interleaver and interleaving method of hsdpa mobile communication system |
| CN101515839A (en) * | 2008-02-22 | 2009-08-26 | 大唐移动通信设备有限公司 | Method, device and system for outputting codes |
| WO2009132203A1 (en) * | 2008-04-25 | 2009-10-29 | Interdigital Patent Holdings, Inc. | Harq process utilization in multiple carrier wireless communications |
| CN102255687A (en) * | 2010-05-17 | 2011-11-23 | 中兴通讯股份有限公司 | Rate matching method and device thereof |
| CN102325000A (en) * | 2011-05-18 | 2012-01-18 | 电子科技大学 | A rate matching method in LTE downlink system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103929271A (en) | 2014-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108400838B (en) | Data processing method and device | |
| CN101090305B (en) | Radio physical layer channel code chain processing method | |
| CN101540654B (en) | Method for interlacing rate matching and de-interlacing off-rate matching | |
| WO2019001436A1 (en) | Polar code encoding method and device | |
| WO2014090045A1 (en) | Td-scdma uplink transmission channel processing method | |
| CN103929271B (en) | Parallel achieving method and device for LTE system rate matching | |
| CN101783719B (en) | Rate matching and rate de-matching method, device and communication system | |
| RU2015145972A (en) | DATA PROCESSING DEVICE AND DATA PROCESSING METHOD | |
| CN110741559B (en) | Polar encoder, communication unit, integrated circuit and method thereof | |
| CN101800625A (en) | Method and device for deinterlacing | |
| CN102077470A (en) | Encoding method and device using linear block code and method and device for generating linear block code | |
| CN101944972A (en) | Coding and decoding method, device and communication system | |
| CN106506010B (en) | A kind of LDPC encoder compatible based on DVB-S2 standard multi code Rate of Chinese character | |
| CN102468902B (en) | Method for Turbo coding of rate match/de-rate match in LTE (long term evolution) system | |
| CN102098126A (en) | Interleaving device, rating matching device and device used for block coding | |
| CN101895374B (en) | Method and device for velocity matching | |
| JP2019125949A5 (en) | Transmitter, transmitter, receiver, and receiver | |
| CN108011691A (en) | The transmission method and device of a kind of low density parity check code | |
| CN109391368B (en) | Method for interleaving data and interleaver | |
| WO2012149741A1 (en) | De-interleaving method and device for rate de-matching | |
| CN104901774B (en) | Interleaving and mapping method and deinterleaving and demapping method of LDPC codeword | |
| CN102118220B (en) | Method and device for decoding rate matching | |
| CN102594371A (en) | Method and device for interleaving processing of Turbo coding | |
| CN105790776A (en) | Method and device for parallel decoding of turbo code of 3G protocol | |
| CN109510688B (en) | Rate matching method, rate de-matching method, device and base station |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20171207 Address after: 102412 Beijing City, Fangshan District Yan Village Yan Fu Road No. 1 No. 11 building 4 layer 402 Patentee after: Beijing Si Lang science and Technology Co.,Ltd. Address before: 100190 Zhongguancun East Road, Beijing, No. 95, No. Patentee before: Institute of Automation, Chinese Academy of Sciences |
|
| CP03 | Change of name, title or address |
Address after: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Shanghai Silang Technology Co.,Ltd. Address before: 102412 room 402, 4th floor, building 11, No. 1, Yanfu Road, Yancun Town, Fangshan District, Beijing Patentee before: Beijing Si Lang science and Technology Co.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Shanghai Silam Technology Co., Ltd. Country or region after: China Address before: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee before: Shanghai Silang Technology Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |