Background technology
In the technology of existing mobile communication, the signal that sends from the base station, through after RAKE (Rake) merging, at first the I with each physical channel carries out the deinterleaving second time and is connected physical channel data connecting with the Q data in mobile phone baseband; Secondly physical channel data is carried out DTX (Discontinuous Transmission, discontinuous transmission) the bit deletion of variable position; Then all are carried out transmission channel from the data of physical channel and decompose, in data decomposition to eight transmission channel with each radio frames; Data with all radio frames among each TTI (Transmission Time Interval, Transmission Time Interval) of each transmission channel connect afterwards; Then carry out the deinterleaving first time and process, be fixed simultaneously the DTX bit deletion of position mapping; Go rate-matched to process to the data after connecting at last.
Be defined in according to agreement comprise mainly in the demultiplexing process of transport channel data that for the second time deinterleaving is connected with physical channel, variable position DTX deletion, transport channel data are decomposed, transmission channel TTI frame merges, for the first time deinterleaving, fixed position DTX bit are deleted, transport channel data is gone the steps such as rate-matched processing, as shown in Figure 1:
Carry out the deinterleaving second time, and the data of all physical channels are connected;
Carry out the DTX bit deletion of variable position mapping;
Carrying out transport channel data decomposes;
Carry out the connection of TTI frame data in each transmission channel;
For the first time deinterleaving;
Be fixed the DTX bit deletion of position mapping;
Go rate-matched.
The below is illustrated the demultiplexing process of going the punching rate matching pattern that provides in the agreement.
Fig. 2 shows the flow chart that the demultiplexing of the transport channel data of punching rate matching is processed, and may further comprise the steps:
Carry out the deinterleaving second time, and the data of all physical channels are connected;
Carry out the DTX bit deletion of variable position mapping;
Carrying out transport channel data decomposes;
The punching rate matching pattern is carried out the transmission channel radio frames to be connected;
For the first time deinterleaving;
Be fixed the DTX bit deletion of position mapping;
Go punching rate matching.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: be in the demultiplexing process of transport channel data of repetition situation in rate-matched, in order to realize the function of agreement, according to 3GPP (3rd Generation partnership project, third generation mobile partner plan) agreement must provide RAM (the Random Access Memory of at least 6.6 times of amount of coded data, random access memory), be used for depositing the connection data of all transmission channels.Take the 384K business as example, the maximum amount of data of coding is 6400, according to 6.6 times requirement in the agreement, needs the RAM of 42240 byte lengths.Therefore, be in the repetition situation in rate-matched, the use amount of RAM is larger, causes the cost of transmission channel demultiplexing higher.
Summary of the invention
The present invention aims to provide a kind of implementation method and device for WCDMA receive direction transport channel data demultiplexing, to solve the larger problem of use amount of RAM.
In an embodiment of the present invention, a kind of implementation method for WCDMA receive direction transport channel data demultiplexing is provided, has comprised the steps: the data of the data in each radio frames of a Transmission Time Interval frame being carried out obtain after transmission channel decomposes are carried out the deinterleaving first time; Data after the deinterleaving first time are fixed the discontinuous transmission bit deletion of position mapping; Data after the discontinuous transmission bit deletion are gone the repetition rate coupling; In memory space, connect going data after the repetition rate coupling to carry out radio frames.
Preferably, carry out in memory space the data after going the repetition rate coupling are carried out step that radio frames connects before, also comprise: calculate and connect needed space to going data after the repetition rate coupling to carry out radio frames; The memory allocated space is the space, is used at memory space the data after going the repetition rate coupling being carried out radio frames and connects.
Preferably, calculate and to connect needed space and specifically comprise going data after the repetition rate coupling to carry out radio frames: all transmission channels are carried out parameter configuration; Parameter according to each transmission channel sorts to transmission channel; Determine byte length and the original position of transmission channel; Determine the space according to the ordering of transmission channel and byte length and the original position of transmission channel.
Preferably, all transmission channels being carried out parameter configuration specifically comprises: all transmission channels are carried out the number of Transmission Time Interval frame length, physical channel time slot format, effective physical channel, the configuration that time slot format compresses pattern, transformat.
Preferably, according to the parameter of each transmission channel transmission channel is sorted and specifically to comprise: according to the size of the Transmission Time Interval value of each transmission channel, transmission channel is sorted, the transmission channel that Transmission Time Interval is large is sorting front, and the transmission channel that Transmission Time Interval is little sorts rear; If the Transmission Time Interval of two transmission channels is identical, then transmission channel number less transmission channel sorts front.
Preferably, byte length and the original position of determining transmission channel specifically comprise: the byte length that transmission channel is set is tf_block* (tf_block_bit+CRC redundant bit)+12 * code_block, wherein tf_block is the number of transmission block, tf_block_bit is each transmission block Nepit number, code_block is the encoding block number, the parameter that the number of described transmission block, described each transmission block Nepit number and described encoding block number dispose when being the described transformat of configuration; Determine the original position of first transmission channel by Transmission Time Interval, transformat and the rate matching pattern of first transmission channel after the ordering.
Preferably, determine that according to the ordering of transmission channel and byte length and the original position of transmission channel the space specifically comprises: the original position that the space is set is the original position of transmission channel, the size in space is set is the summation of the byte length of all transmission channels.
In an embodiment of the present invention, a kind of implement device for WCDMA receive direction transport channel data demultiplexing also is provided, comprise: de-interleaving block is used for the data that the data of each radio frames of a Transmission Time Interval frame are carried out obtaining after transmission channel decomposes are carried out the deinterleaving first time; Removing module is used for the data after for the first time deinterleaving are fixed the discontinuous transmission bit deletion of position mapping; Matching module is used for the data after the discontinuous transmission bit deletion are gone the repetition rate coupling; Link block is used at memory space the data after going the repetition rate coupling being carried out radio frames and connects.
Preferably, also comprise: computing module, be used for to calculate and to connect needed space to going data after the repetition rate coupling to carry out radio frames; Distribution module, being used for the memory allocated space is the space, to connect going data after the repetition rate coupling to carry out radio frames in memory space.
Preferably, computing module specifically comprises: dispensing unit is used for all transmission channels are carried out parameter configuration; Sequencing unit is used for according to the parameter of each transmission channel transmission channel being sorted; The first determining unit is for byte length and the original position of determining transmission channel according to parameter; The second determining unit is used for determining the space according to the ordering of transmission channel and byte length and the original position of transmission channel.
Above embodiment carries out before the transmission channel wireless frame data merges because employing will go the repetition rate coupling to be placed on, so having overcome in rate-matched is in the repetition situation, the problem that the use amount of RAM is larger, and then reached the effect of saving transmission channel demultiplexing cost.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 3 shows the flow chart according to the implementation method that is used for WCDMA receive direction transport channel data demultiplexing of the embodiment of the invention, comprises the steps:
Step S10 carries out the deinterleaving first time to the data of the data in each radio frames of a Transmission Time Interval frame being carried out obtain after transmission channel decomposes;
Step S20 is fixed the data after the deinterleaving first time the discontinuous transmission bit deletion of position mapping;
Step S30 goes the data after the discontinuous transmission bit deletion to the repetition rate coupling;
Step S40 connects going data after the repetition rate coupling to carry out radio frames in memory space.
This embodiment carries out before the transmission channel wireless frame data merges because employing will go the repetition rate coupling to be placed on, so having overcome in rate-matched is in the repetition situation, the problem that the use amount of RAM is larger, and then reached the effect of saving transmission channel demultiplexing cost.
Preferably, carry out in memory space the data after going the repetition rate coupling are carried out step that radio frames connects before, also comprise: calculate and connect needed space to going data after the repetition rate coupling to carry out radio frames; The memory allocated space is the space, is used at memory space the data after going the repetition rate coupling being carried out radio frames and connects.Here provided the scheme of specifically distributing ram space according to the embodiment of Fig. 1.Following preferred embodiment has provided some preferred allocation of space schemes.
Preferably, calculate and to connect needed space and specifically comprise going data after the repetition rate coupling to carry out radio frames: all transmission channels are carried out parameter configuration; Parameter according to each transmission channel sorts to transmission channel; Determine byte length and the original position of transmission channel; Determine the space according to the ordering of transmission channel and byte length and the original position of transmission channel.
Preferably, all transmission channels being carried out parameter configuration specifically comprises: all transmission channels are carried out the number of Transmission Time Interval frame length, physical channel time slot format, effective physical channel, the configuration that time slot format compresses pattern, transformat.
Preferably, according to the parameter of each transmission channel transmission channel is sorted and specifically to comprise: according to the size of the Transmission Time Interval value of each transmission channel, transmission channel is sorted, the transmission channel that Transmission Time Interval is large is sorting front, and the transmission channel that Transmission Time Interval is little sorts rear; If the Transmission Time Interval of two transmission channels is identical, then transmission channel number less transmission channel sorts front.
Preferably, byte length and the original position of determining transmission channel specifically comprise: the byte length that transmission channel is set is tf_block* (tf_block_bit+CRC redundant bit)+12 * code_block, wherein tf_block is the number of transmission block, tf_block_bit is each transmission block Nepit number, code_block is the encoding block number, the parameter that the number of described transmission block, described each transmission block Nepit number and described encoding block number dispose when being the described transformat of configuration; Determine the original position of first transmission channel by Transmission Time Interval, transformat and the rate matching pattern of first transmission channel after the ordering.
Preferably, determine that according to the ordering of transmission channel and byte length and the original position of transmission channel the space specifically comprises: the original position that the space is set is the original position of transmission channel, the size in space is set is the summation of the byte length of all transmission channels.Here can find out, be in the end step enforcement because data merge, and is the summation of the byte length of all transmission channels so ram space can directly be set, and need not to reserve like that in the prior art a large amount of temporary spaces, and this has reduced cost significantly.
Fig. 4 shows according to the preferred embodiment of the invention and to be used for the flow chart of implementation method that the WCDMA receive direction removes the transport channel data demultiplexing of repetition rate coupling, and this technical scheme comprises:
Carry out the deinterleaving second time, and the data of all physical channels are connected;
Carry out the DTX bit deletion of variable position mapping;
Carrying out transport channel data decomposes;
For the first time deinterleaving;
Be fixed the DTX bit deletion of position mapping;
Go the repetition rate coupling;
The radio frames of going the repetition rate coupling to carry out transmission channel is connected.
This embodiment will carry out before will going the repetition rate coupling to be placed on the connection of transmission channel wireless frame data on the basis of existing protocol flow process, reduced RAM byte length in the transmission channel demultiplexing, take the 384K business as example, TTI RAM can be reduced about 50 percent, greatly provide cost savings.All transmission channels use same RAM in realization, and the rate matching pattern of transmission channel is irrelevant.
Fig. 5 shows the flow chart that is used for according to the preferred embodiment of the invention the implementation method of WCDMA receive direction transport channel data demultiplexing, comprises the steps:
Parameter configuration: all transmission channels are carried out TTI frame length, physical channel time slot format, effectively number, time slot format compression pattern, the transformat configuration of physical channel.Wherein the length of TTI frame is 10ms, 20ms, four kinds of configurations of 40ms, 80ms, if 10ms is configured to 0,20ms is configured to 1,40ms is configured to 2,80ms is configured to 3; Physical channel time slot, physical channel number and time slot format compression pattern are configured according to the regulation of 3GPP; Transformat is by coming afterwards configuration of TFCI decoding;
Transmission channel ordering: according to the TTI value of each transmission channel, eight transmission channels are sorted, in the default situation, order is transmission channel 0, transmission channel 1, up to transmission channel 7.When the configuration of each transmission channel TTI not simultaneously, before we were placed on the transmission channel of TTI maximum, the transmission channel of TTI minimum came at last.If the TTI frame length of two transmission channels is identical, transmission channel number little front, for example the TTI frame of transmission channel 0 and transmission channel 7 all is 10ms, transmission channel 0 comes transmission channel 7 fronts so;
Determine rate matching pattern: according to the data of each radio frames of the transformat of each transmission channel and physical channel, (the compression pattern by physical channel time slot format, effective physical channel number, time slot format is determined for TTI length and transformat configuration, realize according to the 3GPP agreement) determine the rate matching pattern of going of transmission channel, comprise punching rate matching and go bit repetition rate coupling, realize according to the 3GPP agreement; Pre-determine rate matching pattern in the preferred embodiment, then can guarantee going under the repetition rate match pattern, execution the above embodiment of the present invention provides data are merged is put into the technical scheme of carrying out the most afterwards.
Determine the byte length of transmission channel: determine initial address and the byte length of each transmission channel in RAM by TTI, transformat and the rate matching pattern of each transmission channel.For removing the repetition rate match pattern, determine the RAM memory length by the data volume behind the turbo coding, can draw according to transformat, the RAM byte that takies is tf_block* (tf_block_bit+CRC redundant bit)+12 * code_block, wherein tf_block is the number of transmission block, tf_block_bit is each transmission block Nepit number, and code_block is the encoding block number.Take the 384K business as example, suppose that the transmission block number is 1, the number of each piece is that 1000, CRC redundant bit number is 8, the encoding block number is 1 so, so the RAM byte that takies is 1020.For the rate matching pattern of going to punch, determine the RAM memory length according to the TTI of transmission channel and the data volume in each radio frames, byte length is F * H or F * G, F * H is selected in mapping for the fixed position, shine upon for variable position, select F * G, wherein F is the radio frames number of the TTI frame of transmission channel, H is that the DTX bit is removed (fixed position mapping) front byte number in the radio frames, and G is the byte number after the DTX bit removal (variable position mapping) in the radio frames.Be mapped as example with the fixed position, the radio frames number that comprises of supposing the TTI frame is that the byte number H of 8, one radio frames is 1000, so the byte degree of depth 8 * 1000=8000 of the RAM that takies of this transmission channel;
The ram space of transmission channel is determined: according to the byte length of transmission channel ordering and transmission channel, can determine the ram space of transmission channel.Number according to transmission channel is divided into the N part with RAM, ordering according to transmission channel is divided, suppose that 3 transmission channels are effective, ordering is transmission channel 0, transmission channel 1, transmission channel 2, so RAM is divided into 3 parts, transmission channel 0, transmission channel 1 and transmission channel 2 be corresponding first, second, and third part respectively, determines that according to the byte length of each transmission channel each transmission channel is in space that RAM takies.Suppose that transmission channel 0,1,2 byte length are respectively 1000,2000,3000 bytes, the ram space that takies of transmission channel 0 is 0 to 999 so, the ram space that transmission channel 1 takies is 1000 to 2999, and the ram space that transmission channel 3 takies is 3000 to 5999;
For the second time deinterleaving and physical channel merge: will merge from the data of a plurality of physical channels of RAKE, and carry out deinterleaving processing second time, realize with reference to the 3GPP agreement;
For the second time DTX deletion: the variable position mapped mode is carried out the DTX deletion action, realize with reference to the 3GPP agreement;
Transport channel data is decomposed: according to the byte length of a radio frames of each transmission channel, be written to successively in the ram region under each transmission channel finishing data after for the second time DTX deletion, transmission channel 0 is deposited according to ram space separately to the data of transmission channel 7;
For the first time deinterleaving: carry out the deinterleaving first time in the TTI frame of data to each transmission channel and process, after finishing merging, complete TTI frame data carry out the deinterleaving first time for going the punching rate matching pattern, implementation method realizes according to the 3GPP agreement, specific algorithm is seen 3GPP TS 25.212 agreements regulation, for removing the repetition rate match pattern, after each wireless frame data is come, carry out at once the deinterleaving first time and process;
Go the repetition rate coupling: go the repetition rate coupling to carry out the rate-matched processing according to the repetition rate matching algorithm of 3GPP TS 25.212 agreements exactly;
Go punching rate matching: the punching rate matching algorithm according to 3GPP TS 25.212 agreements carries out the rate-matched processing;
Radio frames merges: the data of each radio frames in the TTI frame are merged, merge for going the punching rate matching pattern to carry out radio frames according to the TTI frame length at once after physical channel data is decomposed; For going the repetition rate coupling, after finishing rate-matched, carry out radio frames and merge.
For going the punching rate matching pattern and go the repetition rate match pattern that different realization flows is arranged, discuss respectively:
For going the punching rate matching pattern:
Wireless frame data connects: be unit according to TTI, the data after transmission channel is decomposed are written among the RAM according to the radio frames order and connect, and implementation method is identical with method among Fig. 1;
For the first time deinterleaving: then the data of a TTI frame are carried out the deinterleaving first time and process, processing method is with reference to the 3GPP agreement;
Go punching rate matching: at last the data of finishing after for the first time deinterleaving are gone the punching rate matching operation, implementation method is with reference to the 3GPP agreement;
For removing the repetition rate match pattern:
For the first time deinterleaving: the data in each radio frames are carried out after transmission channel decomposes, carrying out the deinterleaving first time processes, process differently for the deinterleaving of the deinterleaving processing of repetition rate match pattern and punching rate matching, the latter carries out for the first time deinterleaving operation after the data receiver of a TTI frame is finished. and the former each radio frames in the TTI frame is carried out deinterleaving processing first time after coming at once;
Go repetition rate coupling: at last the data of finishing after for the first time deinterleaving are gone the repetition rate matching operation, implementation method is with reference to the 3GPP agreement;
Go the radio frames after repetition rate is mated to merge: at last the data of finishing after repetition rate is mated are carried out radio frames merging processing, implementation method is with reference to the 3GPP agreement;
Data volume after the capacity of RAM is encoded according to turbo is determined, such as professional for 384K, the RAM capacity that needs is (6400+32 * 24) * 3+24=21528, wherein 6400 is bit number maximum in the transformat, 32 is maximum transmission block number, first 24 is the maximum redundancy bit number of CRC, the 3 increase multiples for data behind the turbo coding, and second 24 is the tail bit number of turbo after encoding.
This embodiment will carry out before will going the repetition rate coupling to be placed on the merging of transmission channel wireless frame data on the basis of existing protocol flow process, reduced RAM byte length in the transmission channel demultiplexing, take the 384K business as example, TTI RAM can be reduced about 50 percent, greatly provide cost savings.All transmission channels use same RAM in realization, and the rate matching pattern of transmission channel is irrelevant.
Fig. 6 shows the block diagram according to the implement device that is used for WCDMA receive direction transport channel data demultiplexing of the embodiment of the invention, comprising:
De-interleaving block 10 is used for the data that the data of each radio frames of a Transmission Time Interval frame are carried out obtaining after transmission channel decomposes are carried out the deinterleaving first time;
Removing module 20 is used for the data after for the first time deinterleaving are fixed the discontinuous transmission bit deletion of position mapping;
Matching module 30 is used for the data after the discontinuous transmission bit deletion are gone the repetition rate coupling;
Link block 40 is used at memory space the data after going the repetition rate coupling being carried out radio frames and connects.
This embodiment carries out before the transmission channel wireless frame data merges because employing will go the repetition rate coupling to be placed on, so having overcome in rate-matched is in the repetition situation, the problem that the use amount of RAM is larger, and then reached the effect of saving transmission channel demultiplexing cost.
Preferably, also comprise: computing module, be used for to calculate and to connect needed space to going data after the repetition rate coupling to carry out radio frames; Distribution module, being used for the memory allocated space is the space, to connect going data after the repetition rate coupling to carry out radio frames in memory space.
Preferably, computing module specifically comprises: dispensing unit is used for all transmission channels are carried out parameter configuration; Sequencing unit is used for according to the parameter of each transmission channel transmission channel being sorted; The first determining unit is for byte length and the original position of determining transmission channel according to parameter; The second determining unit is used for determining the space according to the ordering of transmission channel and byte length and the original position of transmission channel.
The implementation method that is used for WCDMA receive direction transport channel data demultiplexing that above embodiment provides and device were put into the most afterwards by the step that data are merged and carried out, and had reduced the degree of depth of RAM, had greatly saved the cost of transmission channel demultiplexing.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.