Summary of the invention
The technical problem to be solved in the present invention provides a kind of system of selection and device of transformat combination, to improve treatment effeciency.
In order to address the above problem, the invention provides a kind of system of selection of transformat combination, this method may further comprise the steps:
(a) limit priority of all transmission channels according to the logic channel of mapping on it sorted by from high to low order;
(b) ranking results according to step (a) carries out transformat TF selection to all transmission channels successively, and upgrades effective transport format combination set TFC set according to selection result;
(c) from effective TFC set, select only transformat combination TFC.
Further, step (a) also comprises before: judge according to described Transmission Time Interval indication whether needs carry out transport format combination selection to described transmission channel; In the step (a) and (b), described all transmission channels refer to that all need carry out the transmission channel that transformat combination TFC selects.
Step (a) further comprises:
(a1) logic channel that will be mapped on the same transmission channel sorts according to priority of logical channels; (a2) the highest priority of logical channels by the logic channel that shines upon on every transmission channel sorts to transmission channel;
In the step (b), when certain bar transmission channel was carried out the TF selection, if there is a logic channel to be mapped in described transmission channel, then the buffer area according to described logic channel took situation selection transformat TF; If there are many logic channels to be mapped on the described transmission channel, then successively logic channel is carried out TF and selects according to priority of logical channels order from high to low, during selection according to the situation that takies of logic channel buffer area.
Further, in the step (b), when certain bar transmission channel is carried out the TF selection, comprising:
(b1) according to effectively TFC set, for each TF on this transmission channel sets up a TFC tabulation that comprises it;
(b2) logic channel that is mapped on this transmission channel is carried out the TF selection, and select the effective TFC set of corresponding TFC list update according to TF.
Further, if effectively have only a TFC eligible in the TFC set, then select this TFC in the step (c); A plurality of as if having, then select only TFC: be in as if TFC and can hold attitude, then select this TFC with minimum speed limit according to following method; Otherwise the TFC of inspection time low rate can hold attitude if be in successively, then selects this TFC; If all TFC all are in the overpower attitude, then select to have the TFC of minimum speed limit.
For solving the problems of the technologies described above, the present invention also provides a kind of choice device of transformat combination, and this device is realized at subscriber equipment, comprises medium access control module, wherein,
Described medium access control module, be used for the limit priority of all transmission channels according to the logic channel of mapping on it sorted by from high to low order, and be used for successively all transmission channels being carried out the TF selection, and upgrade effective transport format combination set TFC set according to selection result; Also be used for selecting only transformat combination TFC from effective TFC set.
Further, described medium access control module comprises sequencing unit and selected cell, described sequencing unit is used for according to the attribute information of transmission channel transmission channel and logic channel being sorted, it is as follows to sort: the logic channel that will be mapped on the same transmission channel sorts according to priority of logical channels, and the highest priority of logical channels by the logic channel that shines upon on every transmission channel sorts to transmission channel again;
The buffer area that described selected cell is used for the query logic channel takies, and also be used in conjunction with Query Result logic channel being carried out TF according to putting in order of logic channel according to the transformat indication and select, thereby realization is to the TF selection of the transmission channel of mapping.
Further, described medium access control mould also comprises the selection judging unit, and whether needs carry out the TFC selection to be used for judging transmission channel according to Transmission Time Interval indication;
The transmission channel that described sequencing unit and described selected cell acted on is according to selecting the judgment unit judges needs to carry out the transmission channel that TFC selects.
Further, described medium access control mould comprises that also TFC selects updating block, be used for upgrading effective TFC set according to the selection result of TF selected cell, and finally select only TFC, only TFC chooses like this: if effectively have only a TFC eligible in the TFC set, then select this TFC; A plurality of as if having, then select only TFC: be in as if TFC and can hold attitude, then select this TFC with minimum speed limit according to following method; Otherwise the TFC of inspection time low rate can hold attitude if be in successively, then selects this TFC; If all TFC all are in the overpower attitude, then select to have the TFC of minimum speed limit.
Further, it is to realize effective TFC set renewal like this that described TFC selects updating block: earlier according to effectively TFC set, for each TF on the transmission channel that carries out the TF selection sets up a TFC tabulation that comprises it; Again according to the effective TFC set of the TFC list update of TF selection result correspondence.
Compared to prior art, in the inventive method and the device, each transmission channel is arranged according to the highest priority of logical channels of shining upon the logic channel on it, thereby significantly reduced the number that needs the element of ordering, and whether needs carry out the TFC selection to judge transmission channel according to TTI indication, participate in the logic channel number that TFC selects thereby reduced, improve treatment effeciency.
Embodiment
The main thought of the system of selection of transformat combination of the present invention and device is, according to the limit priority of the logic channel that shines upon on the transmission channel transmission channel sorted, and carries out the selection of transformat combination TFC more successively.
As shown in Figure 1, the system of selection of transformat combination of the present invention may further comprise the steps:
Step 101: the limit priority of all transmission channels according to the logic channel of mapping on it sorted by from high to low order;
Logic channel is sorted according to priority of logical channels MLP (MAC layer priority of logical channels); At first the logic channel that is mapped on the same transmission channel is sorted by MLP, the highest MLP by the logic channel of the mapping on every transmission channel sorts again, and having, all logic channels of the transmission channel of the highest MLP come the front.
Step 102: the ranking results according to step 101 carries out the TF selection to all transmission channels successively, and upgrades effective transport format combination set TFC set according to selection result;
From current effective TFC set, according to each logic channel service priority and logic channel buffer area occupancy, choose suitable transformat, further choose TFC according to the transformat of choosing.
Step 103: from effective TFC set, select only TFC.
The present invention follows protocol requirement, pays the utmost attention to data volume on the high priority logic channel, has simplified the step according to the priority of logical channels ordering simultaneously, has improved efficient.
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is made further more detailed description, but not as a limitation of the invention.
As shown in Figure 2, the MAC layer for the user equipment (UE) side carries out the flow chart that TFC selects.This flow process is applicable to the TDSCDMA system, can improve the speed that TFC selects.Before describing realization flow, the basic demand of in the agreement TFC being selected is described.
By giving priority of logical channels of each logic channel LC assignment, RRC (Radio ResourceControl, Radio Resource control) scheduling of uplink data can be controlled in the sublayer, and the TFC in the user equipment (UE) selects to carry out according to the priority of logical channels of RRC sublayer institute assignment.Because logic channel LC has absolute priority, so user equipment (UE) should as far as possible at first send the data with limit priority.
When carrying out the TFC selection, which TFC user equipment (UE) will assess can be supported.Before carrying out the TFC selection, at first will set up an effective TFC set, all TFC in the set will meet the following conditions:
1. belong to this TFC set, and do not limited by high-level signaling (such as, TFC Control sees 3GPP TS 25.331)
2. be not in blocked state;
3 is compatible with the RLC configuration;
4. require RLC not produce and fill PDU (referring to the definition among the 3GPP TS 25.322).
5. in a TTI, can not transmit bit number above transfer capability.
UE can delete the TFC that is in over-power condition from effective TFC set, this is in order to guarantee the quality of those application to the quality of service sensitivity (as voice).But this operation is not suitable for the TFC (seeing 3GPP TS 25.331) in the TFC minimal set.
Effectively following two kinds of situations have been considered in the TFC set:
1, considered the TFC set of TF of the current use of the current transmission channel that is in unactivated state, if current unactivated transmission channel has been selected certain TF before, when so current TFC selected, the TF of these transmission channels should not change; 2, considered the state of TFC, the current TFC that blocks attitude that is in should not be comprised in effective TFC set.
The selection of TFC should effectively carried out in the TFC set, and should satisfy following condition successively:
1. there is not other TFC can send more highest priority data;
2. there is not other TFC can send more from the data of hanging down a prioritization logic channel.Remaining priority is reused this rule;
3. there is not other TFC lower than selected TFC bit rate.
After the basic demand that TFC selects is narrated, further describe the realization flow of selection of the TFC of MAC layer below, this flow process specifically comprises:
Step 200, beginning, and carry out initialization operation, mainly comprise:
A, indication judges whether needs carry out transport format combination selection to described transmission channel according to described Transmission Time Interval;
Specifically can judge whether to meet the TTI of each transmission channel according to current CFN (Connection Frame Number), when CFN is 0 to the TTI delivery value of each transmission channel, think that this transmission channel need participate in this TFC and select, can reduce the logic channel number of participating in the TFC selection through this determining step, improve processing speed.
B, will judge that need carry out transmission channel that TFC selects sorts according to the logic channel limit priority of correspondence, sort method is:
At first the logic channel that is mapped on the same transmission channel is sorted by MLP (MAC layer priority of logical channels), the highest MLP by the logic channel of the mapping on every transmission channel sorts again, have that all logic channels of the transmission channel of the highest MLP come the front, the CCtrCH subscript of this transmission channel is stored in the interim transmission channel subscript index.
Ordering for logic channel is not exclusively carried out according to priority of logical channels, say so accurately according to the limit priority ordering that is mapped to the logic channel on every transmission channel, this be because, for different transmission channels, the limit priority that only is mapped to the logic channel above it just can play a decisive role to TFC order of preference each other, and each transmission channel internal logic channel priority only can influence the TF selection of this transmission channel.
Step 201 makes that S0=S is effective TFC set, if available TFC number be 0 or the logic channel number be 0, then generate and print error message, flow process finishes, otherwise execution in step 202;
Step 202, utilize cycle counter that the transmission channel that carries out the TFC selection is counted, be limited to the sum of the transmission channel (promptly judge and to carry out the transmission channel that TFC selects) that activates among the CCtrCH on this counter, from i=0, promptly begin to count from the highest transmission channel of relative priority of logical channels;
Step 203 according to effective TFC set, if the TF number of i bar transmission channel is not 0, then for each TF on this transmission channel sets up a TFC tabulation that comprises it, if having only a TFC to satisfy condition, is then selected this TFC, and flow process finishes; If the TFC that does not satisfy condition then generates and print error message, flow process finishes; Otherwise execution in step 204;
The TFC tabulation of each TF is called a TFC subclass.
Step 204 is carried out the TF selection to the logic channel that is mapped on this transmission channel;
All logic channels that are mapped to this transmission channel are carried out TF select, exactly this transmission channel is carried out TF and select, the scope of selection is the TF in the TFI indication.
If have only a logic channel to be mapped on this transmission channel, promptly single mapping to list, check the pattern of RLC so, be divided into RLC TM_seg pattern, RLC AM and RLC TM_noseg pattern and three kinds of situations of RLCUM pattern and combine the logic channel buffer area and take situation and carry out TF respectively and select;
If there are many logic channel numbers to be mapped on this transmission channel, promptly many situations to single mapping are then selected TF successively according to the priority of logical channels that is mapped to all logic channels on this transmission channel.The selection of each logic channel TF is divided into RLC TM_seg pattern, RLC AM and RLC TM_noseg pattern and three kinds of situations of RLC UM pattern equally and combines the logic channel buffer area and takies situation and carry out TF respectively and select.
The logic channel of low priority carries out TF and selects based on the TF selection result of high priority logic channel.
Step 205, according to the TFC subclass that the TF selection of selecting satisfies condition, if TFC subclass non-NULL, then upgrading S is the set that comprises the TFC that satisfies condition, if having only a TFC who satisfies condition, then selects this TFC, flow process finishes; The TFC that does not satisfy condition then generates and prints error message; Otherwise execution in step 207;
Be exemplified below: establishing former effective TFC set is S={TFC1, TFC2, TFC3, TFC4}, if TF1 and two transformats of TF2 are arranged, the TFC that wherein comprises TF1 has TFC1, TFC2, TFC3, the TFC4 that has that comprises TF2, for each TF sets up a TFC tabulation that comprises it, that is: set up the TF1 tabulation and be { TFC1, TFC2, TFC3}; The tabulation of TF2 is { TFC4}; If further carry out selecting TF1 when TF selects according to logic channel, the S after then upgrading only comprises the TF1 tabulation, is { TFC1, TFC2, TFC3}.
Step 206, if arrived the sum of the transmission channel of activation, then execution in step 207, are i=i+1 otherwise counter adds 1, change execution in step 203;
Step 207 is selected a suitable TFC from effective TFC set.
When selecting TFC, if the S after the final updated, promptly effectively the TFC set only comprises a TFC, then selects this TFC.If final TFC set comprises a more than TFC, then select an only TFC as follows: be in and hold attitude if having the TFC of minimum speed limit, then select this TFC; Otherwise the TFC of inspection time low rate can hold attitude if be in, and then selects this TFC, by that analogy, if after last TFC checks end, find that all TFC all are in the overpower attitude, then selects to have the TFC of minimum speed limit.
As shown in Figure 3, the TFC choice device of user terminal UE of the present invention comprises: medium access control (MAC) module 31, Radio Resource control (RRC) module 32, physical layer 33, logic link control (RLC) module 34.
MAC module 31 provides logic channel to RLC module 34, with the data of carrying rlc layer; Physical layer block 33 provides transmission channel to MAC module 31, with the data of carrying MAC layer.
Physical layer block 33 is used to send the TTI indication; RRC module 32 is used for sending to MAC module 31 attribute configuration of transmission channels, comprises the mapping relations of TFC set, MLP, transmission channel and logic channel and transport format information etc.
MAC module 31 is used for the limit priority of all transmission channels according to the logic channel of mapping on it sorted by from high to low order, and successively all transmission channels is carried out TF and select, and upgrades effective TFC set according to selection result; Also be used for selecting only TFC from effective TFC set.
The MAC module comprises selects judging unit, sequencing unit, TF selected cell and TFC to select updating block, wherein,
Select judging unit, be used to receive the Transmission Time Interval TTI indication that physical layer block 23 sends, and whether needs carry out the TFC selection to judge transmission channel according to this TTI indication;
Sequencing unit, be used to receive the attribute information of the transmission channel that the radio resource control RRC module sends, and according to this attribute information needs are carried out transmission channel and logic channel that TFC selects and sort, it is as follows to sort: the logic channel that will be mapped on the same transmission channel sorts according to priority of logical channels, sorts by the highest MLP of the logic channel that shines upon on every transmission channel transmission channel is sorted;
The TF selected cell, the buffer area that is used for the query logic channel takies, also be used in conjunction with Query Result logic channel being carried out TF according to putting in order of logic channel and select, thereby realization is to the TF selection of the transmission channel of mapping according to transformat indication TFI (transport format indicator);
To being mapped in a plurality of logic channels on the same transmission channel, carrying out TF successively according to priority of logical channels and select.
TFC selects updating block, is used to preserve effective TFC set, and upgrades effective TFC set according to the selection result of TF selected cell, and finally selects only TFC, sends data to adopt this transformat combination TFC.
TFC selects updating block can adopt the described mode of above method to upgrade, that is: according to effective TFC set, for each TF on the transmission channel that carries out the TF selection sets up a TFC tabulation that comprises it; Again according to the effective TFC set of the TFC list update of TF selection result correspondence.
Adopt the inventive method to guarantee that the MAC layer of TD-SCDMA system can select suitable TFC according to the data in the TTI apace, thereby improved the speed that TFC selects greatly.
The present invention has following characteristics:
When 1) carrying out the TFC selection, do not need every equal query caching of logic channel is taken, but the transmission channel step whether needs carry out the TFC selection is judged in indication according to TTI, has reduced and has participated in the logic channel number that TFC selects, and has improved processing speed;
2) in strict accordance with the principle of agreement, comparatively speaking, the algorithm that is adopted has taken into full account total data to be transferred amount on the transmission channel and has selected.
3) following on the basis of agreement, not all logic channels to be put together sort according to priority of logical channels, but each transmission channel is arranged according to the highest priority of logical channels of shining upon the logic channel on it, thereby significantly reduced the number that needs the element of ordering, increased efficient.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.