CN102447521A - Rate de-matching method and device - Google Patents
Rate de-matching method and device Download PDFInfo
- Publication number
- CN102447521A CN102447521A CN2010105002024A CN201010500202A CN102447521A CN 102447521 A CN102447521 A CN 102447521A CN 2010105002024 A CN2010105002024 A CN 2010105002024A CN 201010500202 A CN201010500202 A CN 201010500202A CN 102447521 A CN102447521 A CN 102447521A
- Authority
- CN
- China
- Prior art keywords
- data
- num
- address
- separate
- interleaver
- 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.)
- Granted
Links
Images
Landscapes
- Error Detection And Correction (AREA)
Abstract
The invention provides a rate de-matching method and device in the third mobile communication long-term evolution system. The method firstly comprises judging whether to conduct retransmission and combination; if so, writing the last de-interleaved data into a memory 3 to be de-repeated and de-punctured; if not so, directly de-repeating and de-puncturing the received data; then respectively de-interleaving the three channel data collected and sorted by de-bit, if to conduct retransmission and combination, reading data in the memory 3 to combine with the de-interleaved data of this time, writing into the memory 3 again, if not so, writing the de-interleaved data of this time into the memory 3; and providing a corresponding device. The invention omits the memory independently designated for storing de-repeated and de-punctured data, delays the retransmission and combination, shares the memory 3, eliminates a memory, reduces hardware resource, and can compute P_NUM addresses simultaneously at one time to improve the processing efficiency by P_NUM times.
Description
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of 3G (Third Generation) Moblie long evolving system (being called for short 3G LTE) dissociation rate matching method and device.
Background technology
In the up link of GSM, the code multiplexing of transmission channel is handled and to be comprised that mainly CRC adds (Cyclic Redundancy Code CRC), chnnel coding, rate-matched, interweaves and step such as transmission channel is multiplexing.The data of transmission channel are unit with a transmission block.Because transmission block is changeable; And the turbo encoder has the restriction of certain limit to the length of coding code block; Therefore transmission block will carry out code block to the transmission block greater than turbo coding maximum length and cuts apart; Cut apart length and see 3GPP agreement TS36.212 table 5.1.3-3, and the head of first code block after the cutting apart dummy bit that adds right quantity satisfies code block and cut apart requirement, convolutional encoding then need not be carried out code block and cut apart;
Transmission channel coding multiplexing process process generally comprises following steps:
1, to the additional CRC of transmission block;
2, transmission block is carried out code block and cut apart, the additional CRC of each code block after cutting apart;
3, each code block is carried out chnnel coding, chnnel coding is convolutional encoding or Turbo coding, is divided into the output of 3 circuit-switched data through the data behind the coding;
4, the data after the chnnel coding are carried out rate-matched.
The amount of bits that the DPCH multipotency that the purpose of rate-matched is to make the amount of bits behind the coding to satisfy to distribute carries.The rate-matched of 3GPP agreement TS36.212 regulation comprises: sub-block interleaving, bit collection and bit are selected and are pruned, and as shown in Figure 1, sub-block interleaving is to interweave with 3 block interleavers, and the interleaver input is expressed as d respectively
k (0), d
k (1)And d
k (2), output is expressed as V respectively
k (0), V
k (1)And V
k (2)When the group block length does not satisfy the total length of block interleaver also needs after suitable dummy bit is added in the front of every sub-block, interweave again; Need carry out bit collection and it is merged into a data block w 3 sub-block after interweaving
kAfterwards this data block is carried out bit selection and pruning; In selecting and pruning, to judge at first whether this bit is dummy bit; If just remove this dummy bit, carry out repetition (Repeated) or punching (Punctured) operation according to the physical channel bit quantity of distributing to this sub-block then.
According to 3GPP agreement TS36.2125.1.4, the algorithm that interweaves in the rate-matched comprises:
Setting
is the matrix column number; The rectangular array sequence number is expressed as 0; 1; 2; ...,
If
To add so
Individual dummy bit is like y
k=<nULL>, k=0,1 ..., N
D-1.Bit sequence with input is expressed as
k=0 so; 1; ...; D-1 writes
matrix since 0 row, 0 row by row with these data:
To Turbo coding and convolutional encoding different coding mode, take different operation in interweaving:
1) encodes for Turbo
Pattern
according to table 5.1.4-1 among 3GPP TS 36.212 5.1.4 is accomplished exchange between row.Here P (j) is j original original position that is listed as by exchange.After exchange between row,
matrix that exchanges between row etc.
The output that the output of block interleaver is listed as from exchange
matrix one between row.Passed through table of bits is shown
corresponding yP (0) here,
corresponding
and
behind the sub-block interleaving
For
2) for convolutional encoding
Pattern
according to table 5.1.4-2 among 3GPP TS 36.212 5.1.4 is accomplished exchange between row.Here P (j) is j original original position that is listed as by exchange.After exchange between row,
matrix that exchanges between row etc.
The output that the output of block interleaver is listed as from exchange
matrix one between row.The table of bits of having passed through behind the sub-block interleaving is shown
Here
Corresponding y
P (0),
Corresponding
And
In the down link of GSM, receiving terminal then need be separated rate-matched to the data that receive, and it is corresponding with the rate-matched process to separate the rate-matched process, is its inverse process.
Prior art:
One Chinese patent application numbers 200810232937.6 discloses a kind of dissociation rate matching method; Calculate the position of the dummy bit that when code block is cut apart with sub-block interleaving, adds; And then the dummy bit that adds when cutting apart code block with sub-block interleaving adds in the data of reception, at last the dummy bit data of adding separated rate-matched according to the inverse process of rate-matched.
Because convolution code is different with turbo sign indicating number coded system, the dissociation rate matching method step of existing turbo coding, as shown in Figure 2, concrete performing step is following:
Need be before carrying out step 1 according to the size of transmission block, the mode of cutting apart according to code block calculates the size of each code block and the dummy bit number of when code block is cut apart, adding; The dummy bit number of adding when calculating sub-block interleaving; The summation of when code block is cut apart with sub-block interleaving, adding dummy bit according to the big or small number of the every sub-block that calculates in the top front calculates the position of dummy bit according to the mode of sub-block interleaving and bit collection; The dummy bit that adds when cutting apart with sub-block interleaving at code block according to the position of dummy bit is inserted into to receive in the data and goes;
Separate repetition (The data to repeating abandons or union operation) or separate punching (The data of being struck off is filled up operation) process according to the amount of bits of each code block physical channel and the physical length of code block;
If situation about retransmit merging, the data that separating of present encoding piece repeated to separate data after the punching and needed to repeat to separate with separating of last this encoding block that receives punching merge, otherwise directly carry out the operation of the 4th step;
Mode according to bit collection is separated bit collection.Because this process and bit collection be inverse process each other, carries out so need code block be divided into 3 sub-block;
3 sub-block are carried out sub-piece deinterleaving respectively, remove the dummy bit that adds in the sub-block interleaving then.
The dissociation rate matching method step of existing convolution code and the dissociation rate matching method of above-mentioned turbo sign indicating number are similar basically; But because convolution code need not carried out code block and cut apart; So need not carry out the dummy bit padding of code block when cutting apart to it, also need not calculate code block cut apart in the number and the position of dummy bit.
Above method can be through realizing with lower device, and is as shown in Figure 3, comprising:
Interface module: to the visit of parameter register, data storage, and generation is interrupted seeing off when computing finishes;
Separate and repeat to separate the punching module: accomplish to separate and repeat to separate punch operation;
Retransmit and merge module: judge whether to retransmit merging, retransmit union operation;
Separate the bit collection de-interleaving block: accomplish and separate bit collection reconciliation interlace operation
Four memories are respectively:
Memory 1: be used for the data that store interface module receives, and supply to separate and repeat to separate the punching module and use;
Memory 2: be used for storing to separate repeating to separate the punching data processed, and supply to retransmit the use of merging module;
Memory 3: be used to store the last data that are used to retransmit merging;
Memory 4: be used to store dateout.
By on can know that the problem that existing implementation method of separating rate-matched or device exist is: directly adopt the formula algorithm that interweaves, can only calculate an interleaving address at every turn, thereby can only handle data at every turn, make the implementation method inefficiency; Separating the merging of carrying out data retransmission after repeating to separate punching, the data that need separately to repeat to separate for separating of the last present encoding piece that receives punching are distributed a memory separately, have strengthened memory spending.
Summary of the invention
The technical problem that the present invention solved is to provide a kind of dissociation rate matching method, is used for solving the problem that the prior art memory spending is big, treatment effeciency is low.
For overcoming the above problems, the present invention proposes a kind of dissociation rate matching method, and is as shown in Figure 4, comprising:
201, judge whether to retransmit merging.If then,, then directly carry out step 202 if do not need with the writing data into memory 3 of last deinterleaving;
202, separate and repeat to separate punching receiving data;
203, separate bit collection;
204, the data of separating behind the bit collection are carried out deinterleaving.
205, judge whether to need to retransmit to merge, if, then carry out 206, then carry out 207 if not;
206, the data behind the sub-block interleaving of separating that will separate that data and present encoding piece behind the sub-block interleaving received last time are carried out data and are merged back write memory 3, EO;
207, the writing data into memory 3 after directly will interweaving, EO.Preferably, said step 202 pair reception data are separated and repeated to separate punching is parallel work-flow, specifically comprises:
202-1: distribute P_NUM interleaver unit;
202-2: according to the address before the sub-block interleaving of INADD (address after interweaving) parallel computation of P_NUM interleaver unit;
1,, need judge k in the computing interval for the Turbo coded system
nSize;
If k
n>=K
∏, then judge k
nOdd even;
If k
nBe even number, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
202-3: judge whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position.
Preferably, said step 204 is parallel work-flow, comprising:
204-1: three circuit-switched data branch roads distribute P_NUM interleaver unit respectively;
204-2: the interweave preceding address corresponding according to INADD (address after the interweaving) parallel computation of P_NUM interleaver;
The Turbo coded system:
For system data, the address before then interweaving:
For the second road checking data, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
Convolutional encoding mode, the then preceding address
that interweaves of three circuit-switched data
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
204-3: three circuit-switched data are carried out the parallel deinterleaving operation in P_NUM road according to the address of calculating respectively;
For overcoming the above problems, the present invention also provides a kind of rate-matched device of separating, and comprising:
Interface module: this module is accomplished outside visit to parameter register, data storage, and generation is interrupted seeing off when computing finishes;
Separate and repeat to separate the punching module: accomplish to separate and repeat to separate punch operation; With the address spaces that receives data is the preceding address of sub-block interleaving, judges whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position;
Separate the bit collection de-interleaving block: accomplish and separate bit collection reconciliation interlace operation, be divided into three data branch roads, and carry out the deinterleaving operation respectively;
Retransmit and merge module: judge whether to retransmit merging; Merge if need to retransmit,, when this deinterleaving is carried out, it is read writing data into memory 3 after the last deinterleaving; Merge with data behind the sub-block interleaving of separating of this reception, will merge back writing data into memory 3;
Three memories, storage is used for storing respectively the input and output data of above-mentioned module respectively, is specially:
Memory 1 is used for the data that store interface module receives, and supplies to separate and repeat to separate the punching module and use;
Memory 3 is used to store the data after the last deinterleaving, supplies to retransmit to merge module and use, and stores this and retransmits merging data as dateout.
Preferably, said separating repeated to separate punching module Parallel Implementation and separated and repeat to separate punch operation, the data that repeat adopted abandon or union operation, and the data of punching are taked to fill up operation;
Preferably, separate the bit collection de-interleaving block: realize separating the bit collection operation, be divided into three circuit-switched data with separating the data that repeat to separate after the punching, Parallel Implementation deinterleaving operation reverts to the order before the coding with the data of separating bit collection;
Existing dissociation rate matching method is employed in to separate and repeats to separate the merging of carrying out data retransmission after the punching; It need repeat to separate memory of the independent distribution of data of punching for separating of the last present encoding piece that receives separately, strengthens the memory spending of this implementation method.To divide separately among the present invention to be used in storage and to separate the memory deletion that repeats to separate punctured data, and will retransmit merging and delay and carry out, and promptly use the data after the deinterleaving to retransmit merging; Make that memory 3 is shared; Thereby saved a block storage, reduced hardware resource, reduced hardware area.
Description of drawings
Fig. 1 is a prior art rate-matched structure chart;
Fig. 2 is a prior art rate-matched flow chart;
Fig. 3 separates the rate-matched structure drawing of device for prior art;
Fig. 4 is invention dissociation rate matching method flow chart;
Fig. 5 separates the rate-matched structure drawing of device for invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer; Below in conjunction with accompanying drawing and execution mode; A kind of dissociation rate matching method of the present invention and device are done further explain, and known implementation no longer details, to avoid there be unnecessary obscuring with content of the present invention.
The present invention provides a kind of dissociation rate matching method, and is as shown in Figure 4, comprising:
201, judge whether to retransmit merging.If then,, then directly carry out step 202 if do not need with the writing data into memory 3 of last deinterleaving;
202, separate and repeat to separate punching receiving data;
203, separate bit collection;
204, the data of separating behind the bit collection are carried out deinterleaving.
205, judge whether to need to retransmit to merge, if, then carry out 206, then carry out 207 if not;
206, the data behind the sub-block interleaving of separating that will separate that data and present encoding piece behind the sub-block interleaving received last time are carried out data and are merged back write memory 3, EO;
207, the writing data into memory 3 after directly will interweaving, EO.
At first judge whether to retransmit merging; If then the writing data into memory 3 of last deinterleaving is separated again and repeated to separate punching, otherwise directly separate and repeat to separate punching receiving data, the address spaces that is about to receive data is the preceding address of sub-block interleaving; Judge whether the preceding address of sub-block interleaving is the dummy bit data; If just insert zero, otherwise, fill the reception data in this position; Secondly separate bit collection to separating the data that repeat to separate punching, its extraction is divided into three circuit-switched data, be respectively one road system data, the two-way checking data according to its distinctive data array; Respectively three circuit-switched data are carried out deinterleaving at last, during this period if need retransmit union operation, the data of then data in the memory 3 being read with this deinterleaving merge; It is reduced to the data before the sub-block interleaving; And write memory 3 once more, EO is not if need; Then in the writing data into memory 3 with this deinterleaving, EO.Among the present invention, the data that retransmit merging are dateouts, i.e. data after the deinterleaving; And in the prior art, the data that retransmit merging are intermediate data, promptly separate the data that repeat to separate after the punching; This makes that common storage 3 has been saved a block storage under the prerequisite that realizes function; Reduce hardware resource, reduced hardware area.
Further, before step 201, learn following data:
1) the big or small B of each code block;
2) calculate the number F that adds dummy bit when code block is cut apart;
The number Nd of the dummy bit that 3) adds during sub-block interleaving and the big or small Ncb of virtual circular buffer;
4) separate the input data length E of override interrupt and separate the original position k that repeats to separate punching
0
5) writing data into memory 1 that will handle.
Said step 202 pair reception data are separated and repeated to separate punching is based on the prior art serial operation; The address that is about to receive data is converted into the preceding address of sub-block interleaving one by one, judges whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero; Otherwise, fill the reception data in this position;
Preferably, said step 202 pair reception data are separated and repeated to separate punching is parallel work-flow, specifically comprises:
202-1: distribute P_NUM interleaver unit;
202-2: according to the address before the sub-block interleaving of INADD (address after interweaving) parallel computation of P_NUM interleaver unit;
For the Turbo coded system, need judge k in the computing interval
nSize;
If k
n>=K
∏, then judge k
nOdd even;
If k
nBe even number, judge
Whether less than K
∏If,, the address before then interweaving
If not, the address before then interweaving
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
202-3: judge whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position.
Present embodiment can be calculated P_NUM address at every turn simultaneously, and with respect to can only calculate an address in the prior art at every turn, treatment effeciency has improved P_NUM doubly, has solved the slow shortcoming of processing speed in the prior art.
Further, said step 203 is divided into 3 data branch roads with separating the result data that repeats to separate punching, comprises the steps:
203-1: K before will separating in the result data that repeats to separate punching
∏Individual data are extracted out as system data;
203-2: different according to coded system, take different disposal; Promptly for the situation of Turbo coding, the data cross arrangement successively of verification one and verification two is pressed rule respectively with its extraction; For the situation of convolutional encoding, the data of verification one and verification two are pressed rule respectively with its extraction by the data block sequence arrangement;
The data that said step 204 pair is separated behind the bit collection are carried out deinterleaving for according to prior art three data branch roads are carried out serial operation respectively;
Preferably, said step 204 is parallel work-flow, comprising:
204-1: three circuit-switched data branch roads distribute P_NUM interleaver unit respectively;
204-2: the interweave preceding address corresponding according to INADD (address after the interweaving) parallel computation of P_NUM interleaver;
The Turbo coded system,
For system data, the address
before then interweaving
For the second road checking data, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
Convolutional encoding mode, the then preceding address
that interweaves of three circuit-switched data
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
204-3: three circuit-switched data are carried out the parallel deinterleaving operation in P_NUM road according to the address of calculating respectively;
Present embodiment can be calculated P_NUM address at every turn simultaneously, and with respect to can only calculate an address in the prior art at every turn, treatment effeciency has improved P_NUM doubly, has solved the slow shortcoming of processing speed in the prior art.
The present invention provides a kind of rate-matched device of separating, and is as shown in Figure 5, comprising:
Interface module: this module is accomplished outside visit to parameter register, data storage, and generation is interrupted seeing off when computing finishes;
Separate and repeat to separate the punching module: accomplish to separate and repeat to separate punch operation; With the address spaces that receives data is the preceding address of sub-block interleaving, judges whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position;
Separate the bit collection de-interleaving block: accomplish and separate bit collection reconciliation interlace operation, be divided into three data branch roads, and carry out the deinterleaving operation respectively;
Retransmit and merge module: judge whether to retransmit merging; Merge if need to retransmit,, when this deinterleaving is carried out, it is read writing data into memory 3 after the last deinterleaving; Merge with data behind the sub-block interleaving of separating of this reception, will merge back writing data into memory 3;
Three memories, storage is used for storing respectively the input and output data of above-mentioned module respectively, is specially:
Memory 1 is used for the data that store interface module receives, and supplies to separate and repeat to separate the punching module and use;
Memory 3 is used to store the data after the last deinterleaving, supplies to retransmit to merge module and use, and stores this and retransmits merging data as dateout.
This device is used in storage and separates the memory of data deletion that repeats to separate punching will dividing separately, and will retransmit to merge to delay and carry out, and makes under the prerequisite of realization function; Common storage 3; Save a block storage, reduced hardware resource, reduced hardware area.
Preferably, said separating repeated to separate punching module Parallel Implementation and separated and repeat to separate punch operation, the data that repeat adopted abandon or union operation, and the data of punching are taked to fill up operation;
Said parallel separating repeats to separate punch operation, comprising:
202-1: distribute P_NUM interleaver unit;
202-2: according to the address before the sub-block interleaving of INADD (address after interweaving) parallel computation of P_NUM interleaver unit;
For the Turbo coded system, need judge k in the computing interval
nSize;
If k
n<K
∏Address before then interweaving:
If k
n>=K
∏, then judge k
nOdd even;
If k
nBe even number, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
202-3: judge whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position.
Preferably; Separate the bit collection de-interleaving block: realize separating the bit collection operation; Be divided into three circuit-switched data (being respectively one road system data, the two-way checking data) Parallel Implementation deinterleaving operation with separating the data that repeat to separate after the punching, the data of separating bit collection are reverted to the order before the coding;
Said parallel deinterleaving operation comprises:
204-1: three circuit-switched data branch roads distribute P_NUM interleaver unit respectively;
204-2: the interweave preceding address corresponding according to INADD (address after the interweaving) parallel computation of P_NUM interleaver;
The Turbo coded system:
For the second road checking data, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
Convolutional encoding mode, the then preceding address
that interweaves of three circuit-switched data
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏], preferred value 2
u, 0≤u≤log
2K
∏K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
204-3: three circuit-switched data are carried out the parallel deinterleaving operation in P_NUM road according to the address of calculating respectively.
This device can calculate P_NUM address at every turn simultaneously, and with respect to can only calculate an address in the prior art at every turn, treatment effeciency has improved P_NUM doubly, has solved the slow shortcoming of processing speed in the prior art.
Execution mode that the present invention lifts or embodiment have carried out further detailed description to the object of the invention, technical scheme and advantage; Institute is understood that; Abovely lift execution mode or embodiment is merely preferred implementation of the present invention; Not in order to restriction the present invention, all within spirit of the present invention and principle to any modification that the present invention did, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. a dissociation rate matching method is characterized in that, comprising:
201, judge whether to retransmit merging, if then,, then directly carry out step 202 if do not need with the writing data into memory 3 of last deinterleaving;
202, separate and repeat to separate punching receiving data;
203, separate bit collection;
204, the data of separating behind the bit collection are carried out deinterleaving;
205, judge whether to need to retransmit to merge, if, then carry out 206, then carry out 207 if not;
206, the data behind the sub-block interleaving of separating that will separate that data and present encoding piece behind the sub-block interleaving received last time are carried out data and are merged back write memory 3, EO;
207, the writing data into memory 3 after directly will interweaving, EO.
2. dissociation rate matching method according to claim 1 is characterized in that, said step 202 pair receives data and separates and repeat to separate punching and be parallel work-flow, comprising:
202-1: distribute P_NUM interleaver unit;
202-2: according to the address before the sub-block interleaving of INADD (address after interweaving) parallel computation of P_NUM interleaver unit;
For the Turbo coded system, need judge k in the computing interval
nSize;
If k
n<K
∏Address before then interweaving
If k
n>=K
∏, then judge k
nOdd even;
If k
nBe even number, judge
Whether less than K
∏If,, the address before then interweaving
Otherwise, the address before interweaving
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏]; K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
202-3: judge whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position.
3. dissociation rate matching method according to claim 1 is characterized in that said step 204 is parallel work-flow, comprising:
204-1: three circuit-switched data branch roads distribute P_NUM interleaver unit respectively;
204-2: the interweave preceding address corresponding according to INADD (address after the interweaving) parallel computation of P_NUM interleaver;
If Turbo coded system:
For the second road checking data, judge
Whether less than K
∏If,, the address before then interweaving:
If not, the address before then interweaving:
If convolutional encoding mode, the then preceding address
that interweaves of three circuit-switched data
For the 1st interleaver: k
n=k
0+ n * P_NUM
For the 2nd interleaver: k
n=k
0+ 1+n * P_NUM
For the 3rd interleaver: k
n=k
0+ 2+n * P_NUM
......
For P_NUM interleaver: k
n=k
0+ P_NUM-1+n * P_NUM
Wherein, P_NUM representes the number of parallel interleaver, its value for [1, K
∏]; K
∏The interweave size of submatrix of expression; N representes the address after the n time parallel computation P_NUM interleaver interweaves, and span is 0,1 ...,
k
nAddress after expression interweaves is an increment with P_NUM; π (k
n) the address k of expression after interweaving
nThe address of the input data before corresponding interweaving;
The interweave columns of submatrix of expression;
The interweave line number of submatrix of expression; p
1(k
n) and p
2(k
n) be k
nFunction, its value is respectively:
Be illustrated in the sub-interleaver matrix integer line numbers all before the k position,
Expression rounds downwards;
Be illustrated in the columns at place, k position in the sub-interleaver matrix, mod representes the complementation computing; P (p
1(k)) represent with interweave after row sequence number p
1(k) the original row sequence number of correspondence;
204-3: three circuit-switched data are carried out the parallel deinterleaving operation in P_NUM road according to the address of calculating respectively.
4. separate the rate-matched device for one kind, comprising:
Interface module: this module is accomplished outside visit to parameter register, data storage, and generation is interrupted seeing off when computing finishes;
Separate and repeat to separate the punching module: accomplish to separate and repeat to separate punch operation; With the address spaces that receives data is the preceding address of sub-block interleaving, judges whether the preceding address of sub-block interleaving is the dummy bit data, if just insert zero, otherwise, fill the reception data in this position;
Separate the bit collection de-interleaving block: accomplish and separate bit collection reconciliation interlace operation, be divided into three data branch roads, and carry out the deinterleaving operation respectively;
Retransmit and merge module: judge whether to retransmit merging; Merge if need to retransmit,, when this deinterleaving is carried out, it is read writing data into memory 3 after the last deinterleaving; Merge with data behind the sub-block interleaving of separating of this reception, will merge back writing data into memory 3;
Three memories, storage is used for storing respectively the input and output data of above-mentioned module respectively, is specially:
Memory 1 is used for the data that store interface module receives, and supplies to separate and repeat to separate the punching module and use;
Memory 2 is used for storing to separate repeating to separate the punching data processed, and supplies to separate the use of bit collection de-interleaving block;
Memory 3 is used to store the data after the last deinterleaving, supplies to retransmit to merge module and use, and stores this and retransmits merging data as dateout.
5. like the said rate-matched device of separating of claim 4, it is characterized in that said separating repeats to separate the punching module: Parallel Implementation is separated and is repeated to separate punch operation, the data that repeat is adopted abandon or union operation, and the data of punching are taked to fill up operation.
6. like the said rate-matched device of separating of claim 4; It is characterized in that; The said bit collection de-interleaving block of separating: realize separating the bit collection operation; Be divided into three circuit-switched data with separating the data that repeat to separate after the punching, Parallel Implementation deinterleaving operation reverts to the order before the coding with the data of separating bit collection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010500202.4A CN102447521B (en) | 2010-09-30 | 2010-09-30 | A kind of dissociation rate matching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010500202.4A CN102447521B (en) | 2010-09-30 | 2010-09-30 | A kind of dissociation rate matching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102447521A true CN102447521A (en) | 2012-05-09 |
CN102447521B CN102447521B (en) | 2016-10-05 |
Family
ID=46009645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010500202.4A Active CN102447521B (en) | 2010-09-30 | 2010-09-30 | A kind of dissociation rate matching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102447521B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014187371A1 (en) * | 2013-05-24 | 2014-11-27 | 中兴通讯股份有限公司 | Lte downlink de-rate matching method and device |
CN104753653A (en) * | 2013-12-31 | 2015-07-01 | 中兴通讯股份有限公司 | Rate de-matching method, device and reception-side equipment |
WO2018141292A1 (en) * | 2017-02-06 | 2018-08-09 | 华为技术有限公司 | Data processing method and device |
CN108631919A (en) * | 2017-03-24 | 2018-10-09 | 华为技术有限公司 | The speed matching method and equipment of polar code |
CN109510688A (en) * | 2018-12-18 | 2019-03-22 | 京信通信系统(中国)有限公司 | Speed matching method, dissociation rate matching method, device and base station |
CN109768843A (en) * | 2018-12-18 | 2019-05-17 | 京信通信系统(中国)有限公司 | Speed matching method, dissociation rate matching method, device and base station |
CN110249569A (en) * | 2017-02-13 | 2019-09-17 | 高通股份有限公司 | For the repeat request repeated encoding of wireless communication |
CN112202530A (en) * | 2020-09-30 | 2021-01-08 | 北京四季豆信息技术有限公司 | Channel blind detection method and device, communication device and storage medium |
CN113300808A (en) * | 2020-02-24 | 2021-08-24 | 大唐移动通信设备有限公司 | Rate de-matching method and device, electronic equipment and storage medium |
US11133832B2 (en) | 2017-02-06 | 2021-09-28 | Huawei Technologies Co., Ltd. | Data processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087181A (en) * | 2007-07-11 | 2007-12-12 | 中兴通讯股份有限公司 | A method for removing interweaving and speed match |
CN101388751A (en) * | 2008-10-28 | 2009-03-18 | 重庆重邮信科通信技术有限公司 | Rate de-matching method |
-
2010
- 2010-09-30 CN CN201010500202.4A patent/CN102447521B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087181A (en) * | 2007-07-11 | 2007-12-12 | 中兴通讯股份有限公司 | A method for removing interweaving and speed match |
CN101388751A (en) * | 2008-10-28 | 2009-03-18 | 重庆重邮信科通信技术有限公司 | Rate de-matching method |
Non-Patent Citations (2)
Title |
---|
冯虹霖, 王家礼, 孙静静: "WCDMA移动通信系统中速率匹配的研究", 《现代电子技术》 * |
胥凌燕,申敏: "TD-SCDMA中HARQ速率匹配的硬件实现", 《通信技术》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014187371A1 (en) * | 2013-05-24 | 2014-11-27 | 中兴通讯股份有限公司 | Lte downlink de-rate matching method and device |
CN104753653A (en) * | 2013-12-31 | 2015-07-01 | 中兴通讯股份有限公司 | Rate de-matching method, device and reception-side equipment |
CN104753653B (en) * | 2013-12-31 | 2019-07-12 | 中兴通讯股份有限公司 | A kind of method, apparatus and reception side apparatus of solution rate-matched |
US11133832B2 (en) | 2017-02-06 | 2021-09-28 | Huawei Technologies Co., Ltd. | Data processing method and device |
WO2018141292A1 (en) * | 2017-02-06 | 2018-08-09 | 华为技术有限公司 | Data processing method and device |
CN110249569A (en) * | 2017-02-13 | 2019-09-17 | 高通股份有限公司 | For the repeat request repeated encoding of wireless communication |
CN110249569B (en) * | 2017-02-13 | 2022-04-19 | 高通股份有限公司 | Method and apparatus for feedback retransmission repetition coding for wireless communications |
CN108631919A (en) * | 2017-03-24 | 2018-10-09 | 华为技术有限公司 | The speed matching method and equipment of polar code |
CN108631919B (en) * | 2017-03-24 | 2023-11-17 | 华为技术有限公司 | Method and equipment for rate matching of polar codes |
CN109510688A (en) * | 2018-12-18 | 2019-03-22 | 京信通信系统(中国)有限公司 | Speed matching method, dissociation rate matching method, device and base station |
CN109768843B (en) * | 2018-12-18 | 2021-09-03 | 京信网络系统股份有限公司 | Rate matching method, rate de-matching method, device and base station |
CN109768843A (en) * | 2018-12-18 | 2019-05-17 | 京信通信系统(中国)有限公司 | Speed matching method, dissociation rate matching method, device and base station |
CN113300808A (en) * | 2020-02-24 | 2021-08-24 | 大唐移动通信设备有限公司 | Rate de-matching method and device, electronic equipment and storage medium |
CN113300808B (en) * | 2020-02-24 | 2022-07-05 | 大唐移动通信设备有限公司 | Rate de-matching method and device, electronic equipment and storage medium |
CN112202530A (en) * | 2020-09-30 | 2021-01-08 | 北京四季豆信息技术有限公司 | Channel blind detection method and device, communication device and storage medium |
CN112202530B (en) * | 2020-09-30 | 2024-03-22 | 芯象半导体科技(北京)有限公司 | Channel blind detection method and device, communication device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102447521B (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102447521A (en) | Rate de-matching method and device | |
CN101087181B (en) | A method for removing interweaving and speed match | |
CN101388751B (en) | Rate de-matching method | |
US8843799B2 (en) | Serial processing method, parallel processing method of bit rate matching and device thereof | |
CN102546082B (en) | Rate de-matching method and device | |
CN101938325B (en) | Rate de-matching method and device for finite length circular buffering rate matching | |
KR20090030206A (en) | Method for multiplexing data information and control information in wireless communication system | |
CN102237953A (en) | LTE (Long Term Evolution) PDSCH (Physical Downlink Shared Channel) rate de-matching method and device | |
US10110349B2 (en) | Rate dematching method, apparatus and receiving-side device | |
CN101789846A (en) | Dissociation rate matching method and device | |
CN108092738A (en) | A kind of method and apparatus for deinterleaving solution rate-matched | |
CN113055021A (en) | Decoding method, decoding device, network equipment and storage medium | |
KR20120029776A (en) | Rate matching apparatus and method rate matching thereof | |
KR20080041488A (en) | Parallel interleaving method | |
CN101944972B (en) | Coding and decoding method, device and communication system | |
US20010017901A1 (en) | Transmission rate matching apparatus and method for next generation mobile communication system | |
CN101237440B (en) | A data interweaving method and device | |
CN102118219B (en) | Serial processing method and serial processing device for rate matching | |
CN102769506B (en) | The de-interweaving method of a kind of rate de-matching and device | |
CN103873188A (en) | Parallel rate de-matching method and parallel rate de-matching device | |
CN102035558B (en) | Turbo decoding method and device | |
CN109391364B (en) | Information processing method and device | |
CN102136888B (en) | Sub-block de-interleaving input data processing method and device | |
CN103840912B (en) | Method for rate dematching of LTE/LTE-A system traffic channel | |
US8792375B2 (en) | Data rate matching method and apparatus for use in mobile communication systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170426 Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403 Patentee after: Keen (Chongqing) Microelectronics Technology Co., Ltd. Address before: 400065 Chongqing Nan'an District huangjuezhen pass Chongqing University of Posts and Telecommunications shineford building 12 Patentee before: Chongqing City Communication & Technology Co., Ltd. |
|
TR01 | Transfer of patent right |