Background technology
A basic demand of 3G (Third Generation) Moblie is exactly the integrated service that will support to comprise data and voice, therefore the system resource of wireless signal-path band width and so on must be distributed to effectively the integrated service that comprises real-time (RT) voice and non real-time (NRT) data.TD-SCDMA as one of 3G (Third Generation) Moblie main standard is a kind of tdd systems, and its per frame period is 10ms, is made up of two identical in structure subframes, and Fig. 2 shows the structure of one of them subframe.As shown in Figure 2, each subframe comprises 7 time slot TS0~TS6, wherein, time slot TS0 and TS4~TS6 are the ascending time slot that is used for up link (mobile to base station) for the descending time slot TS1~TS3 that is used for down link (base station is to travelling carriage), comprise some control channels that have common control information (as broadcast channel, paging channel, forward access channel etc.) in the time slot TS0, and all the other 6 time slots comprise the Traffic Channel of carrying data and speech business.In order to protect descending time slot to the conversion of up time slot, separate with transfer point between ascending time slot and the descending time slot, in subframe structure shown in Figure 2, it is adjacent that uplink and downlink timeslot has two places, therefore comprises two transfer points in a subframe.In TD-SCDMA, the position that can change transfer point is not waited the quantity of up-downgoing business time-slot in each subframe, thereby supports asymmetrical up-downgoing business.But moving of transfer point will cause professional transmit asynchronous of up-downgoing in the neighbor cell, cause the cross interference between uplink downlink thus, therefore at present still based on the fixed conversion point mode.Below by Fig. 1 and 2 typical channel dynamic allocation method under the fixed conversion point mode is described.
The dynamic channel allocation process of TD-SCDMA system mainly comprises two steps, that is, and and for the cell allocation uplink and downlink timeslot be the bearer service allocation of channel resources may.Fig. 1 is the schematic diagram of typical 3-G (Generation Three mobile communication system), 101 is core net (CN) among the figure, 111,112,113 is the radio network controller (RNC) that links to each other with core net, 121,122,123 is base station (Node B), they link to each other with corresponding RNC, and 131,132,133,134,135,136,137,138,139 be user terminal (UE), and they are by air interface and base station communication.In channel allocation, at first carry out the distribution of uplink and downlink timeslot for each sub-district of its management by RNC 121~123, determine the list of available resources of each sub-district thus.For the fixed conversion point, the quantity allotted of each sub-district uplink and downlink timeslot all is identical with putting in order etc., and generally adopts symmetric form shown in Figure 2, and promptly up-downgoing business time-slot number is 3.Then, when each sub-district of the professional arrival of voice-and-data, RNC 121~123 distributes to each user 131~139 with corresponding available channel resources, thereby carries out the transmission of voice-and-data business between Node B121~113 and user terminal 131~139.
As mentioned above, under the fixed conversion point mode, the distribution of uplink and downlink timeslot is changeless, so the key of dynamic channel allocation process is exactly how available channel resource to be distributed to institute's loaded service effectively.Below this is further described.
In the TD-SCDMA system, physical channel is characterized by its frequency, time slot and spreading code, can comprise many channels that characterize with different spreading codes and frequency in the time slot.In mobile communication system with voice-and-data business, generally be to be two types of voice traffic channel and data traffic channels with channel distribution, speech business can only be used voice traffic channel, and data service can only be used data traffic channels.Speech business is a real time business, and latency tolerance is less, after calling out arrival, if can not get available channel at short notice, so call drop will take place.And the data service of packet switch is non real-time business, can allow bigger time delay, when can not get available channel in packet arrival, can wait in line in data queue's buffer, can use until channel.Because the characteristic that the data service of voice and packet switch has is different, the distribution of Traffic Channel also should be different.But under this fixing channel resource allocation mode, when the lower and another kind of business load of a kind of business load is higher, will cause the waste of channel resource.For example, the data service arrival rate is higher if the speech business arrival rate is lower, then because the channel allocation mode is fixed, makes voice traffic channel free time and data traffic channels lack, thereby causes substitute.
Summary of the invention
The object of the invention provides a kind of channel dynamic allocation method that is used for the code division multiple access time division duplex mobile communication system, and it can realize effective utilization of system resource and the integrated service performance that raising comprises voice-and-data.
In according to channel dynamic allocation method of the present invention, the voice-and-data business is all corresponding with voice or data service by channel bearing and each business time-slot in the constant uplink and downlink business time-slot of fixed-site, and this method comprises following steps:
(1) be data service if upstream or downstream are professional, then take with data service corresponding service time slot in channel and carry out transfer of data with idle channel in the speech business corresponding service time slot; And
(2) if the upstream or downstream business is speech business, then take with speech business corresponding service time slot in channel carry out voice transfer, and, if with the speech business time slot corresponding in do not have enough idle channels to can be used for voice transfer, then further comprise following steps:
(2a) in judgement and the speech business time slot corresponding whether the channel that is taken by data service is arranged; And
If (2b) with the speech business time slot corresponding in channel do not taken by data service, then block speech business, otherwise, discharge the channel taken by data service and use for speech business with in the speech business time slot corresponding.
As mentioned above, the characteristics that have different delay according to channel dynamic allocation method of the present invention at the data service of speech business and packet switch, under the prerequisite that does not influence the speech business performance, voice channel is offered data service to be used, therefore reduce the probability of substitute of data service, improved the performance of data service greatly.In addition, method of the present invention has also reduced the average waiting queue length in data queue's buffer, helps reducing the length of memory, reduces the system design cost.From the angle of system resource utilization, method of the present invention is compared with the method for prior art in addition, and the utilization ratio of system resource improves greatly.
Embodiment
Below be example with the TD-SCDMA system, in conjunction with the accompanying drawings the specific embodiment of the invention is described in detail.It is worthy of note that following example only has illustrative nature and the indefinite effect.For other code division multiple access time division duplex mobile communication system, WCDMA TDD system for example, difference only is time slot and channel parameter, therefore those skilled in the art are after reading specification, and need not performing creative labour can be applied to thought of the present invention and spirit in other code division multiple access time division duplex mobile communication systems that comprise the voice-and-data integrated service.
Fig. 3 is the schematic diagram according to channel dynamic allocation method of the present invention, the subframe structure of TD-SCDMA shown in the figure and Fig. 2's is identical, wherein respectively have in the uplink and downlink timeslot 2 corresponding with speech business, respectively have 1 corresponding with data service, it is the corresponding voice time slot of ascending time slot TS1, TS2 and descending time slot TS5, TS6, and ascending time slot TS3 and descending time slot TS4 corresponding data time slot separate with the fixed conversion point before the TS1 and between TS3 and the TS4.It is worthy of note that the corresponding relation of above-mentioned time slot and type of service is arbitrarily, for example corresponding with speech business and data service upstream or downstream time slot needs not to be continuous, can be any putting in order.
It is a channel of 16 that basic resource unit (Basic Resourse Unit is designated hereinafter simply as BRU) is equivalent to spreading factor in arbitrary time slot, and it characterizes with timeslot number and spreading code, can be considered as basic " linear module " of channel resource.Therefore, a time slot on a certain frequency can be divided into a plurality of BRU, and can be expressed as along the y direction perpendicular to " sign indicating number " expression in Fig. 3 intuitively is a plurality of rectangular blocks with each business time-slot piece " cutting ".
In the TD-SCDMA system, the required BRU quantity of each data packet transmission depends on the speed of transfer of data.For example, the message transmission rate of 64k needs 8 BRU, and the message transmission rate of 144k needs 16 BRU.When formation is not empty in the data service buffer, when promptly on up link (or down link), needing transmitting data service, can at first detect the idle BRU whether requirement under the given data rate is arranged among the ascending time slot TS3 corresponding with data service (or descending time slot TS4), if required number of free BRU is arranged, a packet that then takes out in the formation transmits at the enterprising line data of the BRU of free time.If there is not the idle BRU of sufficient amount, further judge then whether the ascending time slot TS1 that adds two corresponding speech businesses and the idle BRU in the TS2 (or descending time slot TS5 and TS6) satisfy the transfer of data demand under the given data rate, if can satisfy and the voice time slot in idle BRU in same time slot, for example in time slot TS1, the BRU that then a packet is taken out and puts into the TS1 time slot transmits.If can satisfy but the voice time slot in idle BRU not in same time slot, for example in time slot TS1 and TS2, then should be called " channel regrouping process " (channel reshuffling procedure) by one earlier adjusts to these BRU in the time slot, for example adjust among the time slot TS2, the BRU that then a packet is taken out and puts into the TS2 time slot transmits.Still can't satisfy the transfer of data demand under the given data rate if add idle BRU in the ascending time slot TS1 of two corresponding speech businesses and the TS2 (or descending time slot TS5 and TS6), then packet continues to wait in line in the formation buffer, up to enough idle BRU or channel are arranged.
In the channel allocation of above-mentioned data service, have only idle channel when data slot can't satisfy under the situation of transfer of data demand and just detect the idle channel whether sufficient amount is arranged in the voice time slot.But be not unique mode, in fact, in the present invention,, can use the idle channel in the voice time slot yet for some application need even sufficient idle channel is arranged in the data slot.
Need to prove that high data rate traffic can be realized transmission by distributing a plurality of BRU, and this method of salary distribution can be based on the sign indicating number territory, also can be based on time domain, or the combination in any of this dual mode.If but employing is based on the method for salary distribution of time domain, then same packet will transmit on a plurality of time slots, and because the disturbed condition on each time slot and inequality, be difficult to reach simultaneously the interference threshold requirement, packet also is difficult to entirely true reception like this, therefore the data traffic channels distribution ratio is preferably employing and does not adopt the time domain method of salary distribution based on the sign indicating number territory method of salary distribution, and this just requires each BRU that will use to adjust in the time slot as far as possible.In the process of idle BRU, why will these idle BRU in the speech business time slot be adjusted in the speech business time slot by the channel regrouping process in above-mentioned data service takies the speech business time slot, reason promptly is this.
In the TD-SCDMA system, each needs 2 BRU on up-downlink direction in a speech business, therefore if in 2 ascending time slot TS1, TS2 of corresponding speech business and 2 descending time slot TS5, TS6, respectively have the BRU more than 2, then can set up voice channel and converse.According to dynamic channel method of the present invention, if 2 ascending time slot TS1 in corresponding speech business, TS2 and/or 2 descending time slot TS5, though do not have the BRU more than 2 among the TS6 but the BRU more than 2 that existence is taken by data service, 1 idle BRU is for example arranged in ascending time slot TS1,1 BRU that is taken by data service is arranged in ascending time slot TS2, and the BRU of 2 free time is arranged in descending time slot TS5 and TS6, then the BRU that is taken by data service among the TS2 is gone up data packets for transmission and put into the formation buffer and discharge this BRU and make it be in idle condition to use for speech business.
As shown in Figure 3, to make with data service time slot corresponding TS3 and TS4 according to channel dynamic allocation method of the present invention and to move to adjacent separately speech business time slot TS2 and TS5 respectively, that is to say, the border of data service time slot and speech business time slot can be moved to speech business time slot direction, and therefore this method is called removable boundary method again.
Below by Fig. 4 idiographic flow according to channel dynamic allocation method of the present invention is described.Among the figure, 401 is init state; 402 is the event monitoring state; 411 is the deterministic process whether idle channel is arranged, 412 allocated channel processes, and 413 is the call service process, 414 is that audio call blocks process; 421 is the voice channel dispose procedure; 431 is packet input buffer process, and 432 are input success or not deterministic process, and 433 are the packet process of substitute; 441 are data service release channel procedure; 451 is not empty and data available service transmission channel deterministic process is arranged for buffer, and 452 for reading buffer head process data packet, and 453 is transmission of data packets.Below above steps is further described.
In step 401, system carries out initialization, provides the original allocation of up-downgoing business time-slot, determines the initial available channel number of speech business and data service, enters step 402 then.
In step 402, system enters the event monitoring state, the generation of monitoring incident.The incident of monitoring comprises that audio call arrives, audio call finishes, packet arrives and data packet transmission finishes.
When audio call arrives, execution in step 411, whether detect has idle voice channel in the speech business time slot, and the voice channel of being used by data service also is regarded as idle channel.If the idle channel that satisfies the speech business requirement is arranged, then execution in step 412, for this audio call distributes required channel, and enter step 413, begin this audio call is served, and return step 402 then.If there are not enough idle channels, then execution in step 414, block to fall this audio call, also return step 402 then.
When audio call finished, execution in step 421 discharged employed voice channel and returns step 402.
When packet arrived, execution in step 431 with this packet input data queue buffer, entered step 432 then.
In step 432, whether the input of the packet of determining step 431 is successful, if import successfully, then execution in step 451, and whether judgment data formation buffer is empty and whether the idle channel that can be used for transmitting data is arranged.When judging whether to can be used for transmitting the idle channel of data, want at first whether enough available data channels are arranged in the judgment data time slot, if do not have then detect further whether the available data channels sum satisfies the data packet transmission demand in idle channel in the voice time slot and the data slot, if satisfy then be considered as available channel, otherwise be considered as not having available channel.If data queue is not empty and when available channel was arranged, then execution in step 452, the packet in the formation buffer is taken out, enter step 453 subsequently.In step 453, begin to transmit this packet, return step 402 subsequently.If data queue is empty or when not having available channel, then directly return step 402.If input is unsuccessful, then execution in step 433, abandon this packet, and this packet is substitute.Execution in step 451 then.
When certain number bag end of transmission, execution in step 441 discharges employed channel, and execution in step 451 then.
As mentioned above, in step 451, when judging " whether the idle channel that can be used for transfer of data is arranged ", the method of prior art is only to seek idle channel in data slot, then at first in data slot, seek according to method of the present invention, if quantity inadequately then continue in the voice time slot to seek idle channel and just can be taken by data service when the idle channel of enough numbers is arranged in the voice time slot.
And in step 411, when judging " whether idle voice channel is arranged ", according to method of the present invention, to also be considered as idle channel by the channel that data service takies, when therefore speech business just can not have idle voice channel in new audio call arrival, the channel that conversion is used by data service has been avoided the obstruction of speech business, thereby has guaranteed the performance of speech business.And data service is placed into and lines up in data queue's buffer after by conversion, until there being idle channel to use.