CN101064699B - Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system - Google Patents

Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system Download PDF

Info

Publication number
CN101064699B
CN101064699B CN2006100261717A CN200610026171A CN101064699B CN 101064699 B CN101064699 B CN 101064699B CN 2006100261717 A CN2006100261717 A CN 2006100261717A CN 200610026171 A CN200610026171 A CN 200610026171A CN 101064699 B CN101064699 B CN 101064699B
Authority
CN
China
Prior art keywords
addr
matrix
row
address
intlv
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
Application number
CN2006100261717A
Other languages
Chinese (zh)
Other versions
CN101064699A (en
Inventor
陈军
曾璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xuanpu Industrial Co., Ltd.
Original Assignee
SHANGHAI XUANPU INDUSTRIAL 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 SHANGHAI XUANPU INDUSTRIAL Co Ltd filed Critical SHANGHAI XUANPU INDUSTRIAL Co Ltd
Priority to CN2006100261717A priority Critical patent/CN101064699B/en
Publication of CN101064699A publication Critical patent/CN101064699A/en
Application granted granted Critical
Publication of CN101064699B publication Critical patent/CN101064699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Error Detection And Correction (AREA)

Abstract

A simple realizing method of secondary interweaver in time division duplex synchronization code division multiple-address system, it is based on characters of secondary intertexture course: Matrix line is exchanged, the intertexture address of line head is value instructed in line exchanging mode, the intertexture address of element of adjacent row in every line of matrix is increased by degrees by 30, the intertexture address of void bit which is needed to be deleted is k=U, U+1, U+2, ..., R2XC2-1, secondary intertexture is realized easily. The invention can avoid fussy process course of traditional secondary intertexture, easy and convenient for realizing; at the same time, calculation of various secondary intertexture address can be realized in different intertexture length and different intertexture modes.

Description

The easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system
Technical field
The present invention relates to a kind of wireless communication system of being applied to, be particularly related to a kind of easy implementation method that is applied to the secondary interleaver in time division SCDMA (Time Division Synchronous Code-Division Multiple Access the is called for short TD-SCDMA) mobile communication system.
Background technology
It is a kind of block interleaving method that secondary interweaves, and performing step comprises: input bit is filled in the matrix, and inserts dummy bit, do exchange between row then, then take out bit sequence from matrix, the deletion of the dummy bit that will wherein fill at last obtains final output bit sequence.
According to the difference of interleave depth, secondary interweaves and can be divided into that frame interweaves and two kinds of time slot interleavings, promptly respectively the bit sequence of frame or time slot is carried out following steps and finishes interleaving process:
Step 1, matrix columns C is set 2=30, each row of matrix are 0,1,2 according to order number consecutively from left to right ..., c 2-1;
Step 2, ask the line number R of matrix 2, R 2For satisfying the smallest positive integral of following formula:
U≤R 2×C 2
Each row of matrix is 0,1,2 according to order number consecutively from top to bottom ..., R 2-1, U represents the length of input bit sequence;
Step 3, with input bit sequence { x 1, x 2, x 3..., x UWrite R line by line 2* C 2Matrix in, first bit x 1Insert the 0th row the 0th row:
y 1 y 2 y 3 · · · y C 2 y ( C 2 + 1 ) y ( C 2 + 2 ) y ( C 2 + 3 ) · · · y ( 2 × C 2 ) · · · · · · · · · · · · · · · y ( ( R 2 - 1 ) × C 2 + 1 ) y ( ( R 2 - 1 ) × C 2 + 2 ) y ( ( R 2 - 1 ) × C 2 + 3 ) · · · y ( R 2 × C 2 )
Wherein, work as R 2* C 2During=U, y then k=x k, k=1,2 ..., U; Work as R 2* C 2>U, then fill with dummy bit remaining position in the matrix, that is:
y k=x k, k=1,2,...,U
y k=0 or 1, k=U+1, U+2 ..., R 2* C 2
Step 4, based on the pattern<P shown in the following table 1 2(j) 〉 J ∈ 0,1 ..., C2-1}Carry out between matrix column exchanging, wherein P 2(j) be j the preceding original column position of exchange row exchange;
Columns C 2 Switch mode<P between row 2(0),P 2(1),...,P 2(C 2-1)>
30 <0,20,10,5,15,25,3,13,23,8,18,28,1,11,21,6,16,26,4,14,24,19,9,29,12,2,7,22,27,17>
Switch mode between the row that table 1, secondary interweave
After that is to say that matrix is listed as exchange, the 0th row originally are in the 0th present column position, and the 20th row originally are in the 1st present column position, and the 10th row originally are in the 2nd present column position, and the like;
Bit after exchange note is made y k', promptly the matrix after the exchange is as follows:
y 1 &prime; y 2 &prime; y 3 &prime; &CenterDot; &CenterDot; &CenterDot; y C 2 &prime; y ( C 2 + 1 ) &prime; y ( C 2 + 2 ) &prime; y ( C 2 + 3 ) &prime; &CenterDot; &CenterDot; &CenterDot; y ( 2 &times; C 2 ) &prime; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; y ( ( R 2 - 1 ) &times; C 2 + 1 ) &prime; y ( ( R 2 - 1 ) &times; C 2 + 2 ) &prime; y ( ( R 2 - 1 ) &times; C 2 + 3 ) &prime; &CenterDot; &CenterDot; &CenterDot; y ( R 2 &times; C 2 ) &prime;
Step 5, from row between the exchange after R 2* C 2Matrix in read the output bit sequence of block interleaver by row; And with in the output sequence between row before the exchange dummy bit filled up in the matrix delete i.e. corresponding bit y k, the bit y of k>U k' need from the output bit sequence, delete; The final output sequence of secondary interleaver is expressed as z 1, z 2, z 3..., z U
After examining above-mentioned secondary interleaving process, the discovery secondary interweaves and has following characteristics:
1, the input bit sequence x of secondary interleaver 1, x 2, x 3..., x UMatrix address be k=0,1,2 ..., U-1, the address of the dummy bit sequence of filling is k=U, U+1, U+2 ..., R 2* C 2-1; Final output sequence z 1, z 2, z 3..., z UCorresponding interleaving address is intlv_addr (k), k=0, and 1,2 ..., U-1;
2, after the row exchange, the C of matrix the 0th row 2The interleaving address of=30 elements just in time is the element<P as shown in switch mode table 1 between row 2(j) 〉 J ∈ 0,1 ..., C2-1}
3, after the row exchange, the interleaving address of the element of adjacent lines is that increment increases progressively line by line with 30 in the every row of matrix;
4, after row exchanges, need the interleaving address of the dummy bit deleted to be in the matrix:
k=U,U+1,U+2,...,R 2×C 2-1;
5, final output sequence z 1, z 2, z 3..., z UCorresponding interleaving address should satisfy:
intlv_addr(k)<U,k=0,1,2,...,U-1。
In the chnnel coding process, need carry out secondary to data and interweave; Interleaving process can read out realization with interleaving address again by data are write buffer with sequence address.
In the channel-decoding process, need carry out the secondary deinterleaving to data; The deinterleaving process can read out realization with sequence address again by data are write buffer with interleaving address.
So realize that secondary interweaves, the most critical issue of deinterleaving processing is the generation of secondary interleaving address.Traditional secondary interweaves, deinterleaving handle be by ask the matrix line number, write matrix, the complicated processes of filling dummy bit, rectangular array exchange, sensor matrix, deletion dummy bit finishes, and realizes comparatively complicated.
Summary of the invention
The object of the present invention is to provide the easy implementation method of secondary interleaver in a kind of time division duplexing synchronous CDMA system, it has avoided that traditional realization secondary interweaves asks the matrix line number, write matrix, fill the loaded down with trivial details processing procedure of dummy bit, rectangular array exchange, sensor matrix, deletion dummy bit, can realize easily and flexibly and use.
In order to solve the problems of the technologies described above, simultaneously according to the characteristics in the above-mentioned described secondary interleaving process, the invention provides the easy implementation method of secondary interleaver in a kind of time division duplexing synchronous CDMA system, it comprises following steps:
Step 1, input weaving length U promptly import input bit sequence x 1, x 2, x 3..., x ULength U;
Step 2, according to the first address table of each row of switch mode initialization matrix between row, i.e. the 0th row address table: column_addr[i of initialization matrix]=<P 2(i) 〉 I ∈ 0,1 ..., C2-1}, wherein, C 2=30, total columns of representing matrix, P 2(i) expression i is listed in the preceding original column position of exchange;
Step 3, the first element of initialization matrix, promptly the interleaving address value of the 0th row the 0th column element is 0, i.e. intlv_addr[0]=column_addr[0]=0;
Step 4, whether be j element in the output sequence by the current processing element of the capable i row of leu time judgment matrix k, wherein, j ∈ (0,1 ..., U-1); If, then calculate its interleaving address value, and redirect execution in step 6; If not, then continue execution in step 5;
Step 5, by the first address table column_addr[i of each row] in read the first address of next column, the first address that is read is the interleaving address value of row header element for this reason, i.e. intlv_addr[j]=column_addr[i];
Step 6, according to weaving length U, judge whether to have calculated whole interleaving address of output sequence:
If j<U-1 then returns step 4, continue interleaving address by the next matrix element of column count;
If j=U-1 then finishes to interweave computing.
Described step 4 also specifically comprises following steps:
Step 4.1, the interleaving address value of j-1 output sequence is added 30,, the interleaving address value of the element of the capable i row of k-1 is added 30, intlv_addr[j-1 is arranged promptly for the current processing element that is in the capable i row of matrix k]+30:
Step 4.2, judge intlv_addr[j-1]+whether 30 value greater than weaving length U:
If intlv_addr[j]<U, then current processing element is a j element in the output sequence, calculates its interleaving address value, that is: intlv_addr[j]=intlv_addr[j-1]+30, and the direct execution in step 6 of redirect;
If intlv_addr[j]>=U, then current processing element is the dummy bit that is packed into matrix, or exceeds the illegal address of matrix scope, execution in step 5.
The easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system provided by the invention has the following advantages:
1, simple and convenient, be beneficial to realization; This method can thoroughly avoid traditional asking the matrix line number, write matrix, fill the loaded down with trivial details processing procedure of dummy bit, rectangular array exchange, sensor matrix, deletion dummy bit.
2, because unique suction parameter of this method is weaving length U, so can unify frame interlace mode and time slot interleaving pattern, and the computational process of interleaving address under the different interleaving length, make that the calculating of interleaving address can shared same hardware module realize under frame interlace mode and the time slot interleaving pattern; As long as change the parameter weaving length U of input, promptly can be used for different interleaving length, the calculating of the secondary interleaving address under the different interleaving pattern.
Description of drawings
Fig. 1 is the flow chart of the easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system provided by the invention.
Embodiment
Following according to Fig. 1, better embodiment of the present invention is described.
As shown in Figure 1, be the flow chart of the easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system provided by the invention, it comprises following steps:
Step 1, input weaving length U promptly import input bit sequence x 1, x 2, x 3..., x ULength U, in the present embodiment, get U=100;
Step 2, according to the first address table of each row of switch mode initialization between row, i.e. the 0th row address table of initialization matrix:
column _ addr [ i ] = < P 2 ( i ) > i &Element; { 0,1 , . . . , C 2 - 1 }
= < 0,20,10,5,15,25,3,13,23,8,13,28,1,11,21,6,16,26,4,14,24,19,9,29,12,2,7,22,27,17 , >
Wherein, C 2=30, total columns of representing matrix, P 2(i) expression i is listed in the preceding original column position of exchange, after just matrix was listed as exchange, the 0th row originally were in the 0th present column position, and the 20th row originally are in the 1st present column position, the 10th row originally are in the 2nd present column position, and the like;
Step 3, the first element of initialization matrix, promptly the interleaving address value of the 0th row the 0th column element is 0, i.e. intlv_addr[0]=column_addr[0]=0, and assignment i=0, j=0;
Step 4, whether be element in the output sequence by each current processing element in the leu time judgment matrix;
Step 4.1, make j=j+1=0+1=1; With j-1, just the interleaving address value of the 0th output sequence adds 30, promptly for the current processing element that is in matrix the 1st row the 0th row, the interleaving address value of the element of the 0th row the 0th row is added 30, and intlv_addr[j-1 is arranged]+30=0+30=30:
Step 4.2, judge intlv_addr[j-1]+whether 30 value greater than weaving length U: if intlv_addr[j]<U, calculate intlv_addr[j]=intlv_addr[j-1]+30, and the direct execution in step 6 of redirect; If intlv_addr[j]>=U, then execution in step 5;
According to step 4.1, because intlv_addr[j-1]+30 value is 30, so it is 30 less than weaving length U obtain the interleaving address value of the 1st output sequence, and direct execution in step 6;
Step 5, make i=i+1=0+1=1; First address table column_addr[i by each row] in read the first address of next column, this first address that reads is the interleaving address value of row header element for this reason, i.e. intlv_addr[j]=column_addr[i];
Step 6, according to weaving length U=100, judge whether to have calculated whole interleaving address of output sequence: if j<U-1, then return step 4; If j=U-1 finishes to interweave computing;
According in the step 4, j=1 is significantly less than weaving length U=100, then returns execution in step 4;
Analogize according to said process, calculate interleaving address according to this, in the present embodiment, when the value of j is 4,7,10,14 ... the time, when execution in step 4.2, judge and to obtain intlv_addr[j-1]+situation more than or equal to weaving length U can appear in 30 value, illustrate that it is the illegal address that surpasses the matrix scope, or the dummy bit of filling, this moment execution in step 5, read the row first address 20,10,5,15 of next column ..., and respectively as the 4th, 7,10,14 ... the interleaving address of individual output sequence; When the value of j is U-1,, finish to interweave computing at promptly 99 o'clock.
The easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system provided by the invention has the following advantages:
1, simple and convenient, be beneficial to realization; This method can thoroughly avoid traditional asking the matrix line number, write matrix, fill the loaded down with trivial details processing procedure of dummy bit, rectangular array exchange, sensor matrix, deletion dummy bit.
2, because unique suction parameter of this method is weaving length U, so can unify frame interlace mode and time slot interleaving pattern, and the computational process of interleaving address under the different interleaving length, so that the calculating of interleaving address can share same hardware module and realizes under frame interlace mode and the time slot interleaving pattern; As long as change the parameter weaving length U of input, namely can be used for different interleaving length, the calculating of the secondary interleaving address under the different interleaving pattern.

Claims (1)

1. the easy implementation method of secondary interleaver in the time division duplexing synchronous CDMA system is characterized in that, comprises following steps:
Step 1, input weaving length U promptly import input bit sequence x 1, x 2, x 3..., x ULength U;
Step 2, according to the first address table of each row of switch mode initialization matrix between row, i.e. the 0th row address table of initialization matrix: columm _ addr [ i ] = < P 2 ( i ) > i &Element; { 0,1 , . . . , C 2 - 1 } , Wherein, C 2=30, total columns of representing matrix, P 2(i) expression i is listed in the preceding original column position of exchange;
Step 3, the first element of initialization matrix, promptly the interleaving address value of the 0th row the 0th column element is 0, i.e. intlv_addr[0]=column_addr[0]=0;
Step 4, whether be j element in the output sequence by the current processing element of the capable i row of leu time judgment matrix k, wherein, j ∈ (0,1 ..., U-1); If, then calculate its interleaving address value, and redirect execution in step 6; If not, then continue execution in step 5;
Described step 4 comprises following steps:
Step 4.1, the interleaving address value of j-1 output sequence is added 30,, the interleaving address value of the element of the capable i row of k-1 is added 30, intlv_addr[j-1 is arranged promptly for the current processing element that is in the capable i row of matrix k]+30;
Step 4.2, judge intlv_addr[j-1]+whether 30 value greater than weaving length U:
If intlv_addr[j]<U, then current processing element is a j element in the output sequence, calculates its interleaving address value, that is: intlv_addr[j]=intlv_addr[j-1]+30, and the direct execution in step 6 of redirect,
If intlv_addr[j]>=U, then current processing element is the dummy bit that is packed into matrix, or exceeds the illegal address of matrix scope, execution in step 5;
Step 5, by the first address table column_addr[i of each row] in read the first address of next column, the first address that is read is the interleaving address value of row header element for this reason, i.e. intlv_addr[j]=column_addr[i];
Step 6, according to weaving length U, judge whether to have calculated whole interleaving address of output sequence:
If j<U-1 then returns step 4, continue interleaving address by the next matrix element of column count;
If j=U-1 then finishes to interweave computing.
CN2006100261717A 2006-04-28 2006-04-28 Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system Active CN101064699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100261717A CN101064699B (en) 2006-04-28 2006-04-28 Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100261717A CN101064699B (en) 2006-04-28 2006-04-28 Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system

Publications (2)

Publication Number Publication Date
CN101064699A CN101064699A (en) 2007-10-31
CN101064699B true CN101064699B (en) 2010-09-01

Family

ID=38965413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100261717A Active CN101064699B (en) 2006-04-28 2006-04-28 Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system

Country Status (1)

Country Link
CN (1) CN101064699B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917254B (en) * 2010-08-27 2013-01-09 电子科技大学 Communication method for interleave division multiple access system with time frequency interleaving function

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2631163Y (en) * 2001-04-16 2004-08-04 交互数字技术公司 A time division duplex/code division multiple access (TDD/CDMA) communication system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2631163Y (en) * 2001-04-16 2004-08-04 交互数字技术公司 A time division duplex/code division multiple access (TDD/CDMA) communication system

Also Published As

Publication number Publication date
CN101064699A (en) 2007-10-31

Similar Documents

Publication Publication Date Title
CN101540654B (en) Method for interlacing rate matching and de-interlacing off-rate matching
US7953958B2 (en) Architecture for joint detection hardware accelerator
CN102208210B (en) Flash memory device and date storage method thereof
CN102208005A (en) 2-dimensional (2-D) convolver
CN112039535B (en) Code rate compatible LDPC encoder based on quasi-cyclic generation matrix
CN101547064A (en) Interleaving and rate matching and de-interleaving and rate de-matching methods
CN103220083B (en) Method and device for coding uplink control information
CN101227195A (en) Interweave apparatus, de-interweave apparatus and uses thereof
CN104617959A (en) Universal processor-based LDPC (Low Density Parity Check) encoding and decoding method
JP2021510037A (en) Resource mapping method and equipment and devices
CN101064699B (en) Method for realizing easily secondary interleaver in time division duplexing synchronous CDMA system
CN101345604B (en) Parallel implementing method for determinant block interleaving device
CN102111163A (en) Turbo encoder and encoding method
CN101730134B (en) Matrix disassembling method and implementation device suitable for baseband processing system
CN101924608B (en) Method, device and transmitter for realizing block interleaving
CN103546232A (en) Data processing method and data processing device
CN102468902A (en) Method for Turbo coding of rate match/de-rate match in LTE (long term evolution) system
CN108023661B (en) A kind of method and apparatus obtaining pseudo-random sequence
CN102594371B (en) The method of a kind of Turbo code interleaving process and device
CN105335747A (en) Data processing method and electronic equipment
CN104184536A (en) Sub block interleaving control method based on LTE (Long Term Evolution) Turbo decoding, device and equipment
CN102480334B (en) Method and device for rate matching
CN104767544B (en) A kind of method and vector arithmetic unit for realizing descrambling and de-spreading
CN104658608B (en) The wiring method and writing station of storage device
CN104378172B (en) The method and system of data channel Interference Cancellation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI XUANPU INDUSTRY CO.,LTD.

Free format text: FORMER OWNER: KAIMING INFORMATION SCIENCE CO., LTD.

Effective date: 20090807

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090807

Address after: D District, Xhenzhuang Industrial Zone, Shanghai, China: 201108

Applicant after: Shanghai Xuanpu Industrial Co., Ltd.

Address before: Shanghai city Xhenzhuang Industrial Zone No. 18 Shen road, post encoding: 201108

Applicant before: Kaiming Information Science & Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant