A kind of resource regulating method and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of resource regulating method and system.
Background technology
Session service (Conversational) is modal a kind of business in the wireless communication system, and Fig. 1 is the uplink and downlink schematic diagram data of a side in the communicating pair.As can be seen from the figure session service has following characteristics:
1, communicating pair alternately sends data, and promptly up active period (terminal continues to send the period of upstream data) and descending active period (base station continues to send the period of downlink data) alternately occur; Up quiet period (terminal only sends the period of quiet period indication) and descending quiet period (base station only sends the period of quiet period indication) alternately occur;
2, in up active period, the size and the time interval of packet that terminal is sent out are relatively-stationary; In up quiet period, the size of packet that terminal is sent out and the time interval also are relatively-stationary.
In Long Term Evolution project (LTE, Long Time Evolution) system, can utilize above characteristics, for session service designs suitable uplink scheduling method.When going resource regulating method in design, need to consider following principle:
(1) reduces the dispatch expense of system as far as possible;
(2) resource allocation should be flexibly, efficiently;
(3) resource utilization should be high as far as possible.
At present, the session service uplink scheduling method has following two kinds:
One, the uplink scheduling method of full dynamic on-demand distribution
As shown in Figure 2, when terminal need send upstream data at every turn, send one " ascending resource request message " earlier and give the base station; Then, by base station feedback " ascending resource assignment messages " to terminal specify can for its use the time-the frequency Resource Block.
Two, continue to distribute the uplink scheduling method that discharges as required
As shown in Figure 3, the base station is according to the data transmitting period and the size of data of session service, for terminal preassignment the ascending resource that continues.When needs sent upstream data, terminal was directly used these pre-assigned resources; When not having upstream data to send, terminal discharges one or more (shown in Fig. 3 is two) continuous ascending resource by sending " ascending resource release message ".If on the resource location that terminal discharges, there is the bursty data piece will transmit that (release command in the rightmost side has discharged two Resource Block in as Fig. 3 again, but on the time location of second Resource Block, terminal has come the upstream data of burst to need transmission), then terminal can use " ascending resource request message " to ask ascending resource of base station assigns to transmit bursty data again, the base station by reply " ascending resource assignment messages " when terminal given transmission bursty data is operable-the frequency Resource Block.
Yet above-mentioned two kinds of existing methods are not all considered the characteristic of session service in the process of scheduling of resource, and promptly the uplink and downlink data of terminal usually are alternately to occur, thereby have caused the signaling consumption of ascending resource scheduling bigger.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of resource regulating method and system, can reduce the signaling consumption of scheduling of resource, improves the accuracy rate of resource allocation.
The technical scheme that realizes the object of the invention is as follows:
A kind of resource regulating method according to the change over condition of the transmit status of terminal up direction packet, changes the resource allocation of down direction; Or, change the resource allocation of up direction according to the change over condition of the transmit status of terminal down direction packet.
Preferably, also comprise the step whether the upstream or downstream packet transmit status of judging terminal changes:
Whether a1, T at set intervals packet to be sent such as have in the row cache in the inspection;
A2, determine that the upstream data bag sends the transfer point that is transferred to quiet period by active period, and the upstream data bag sends the transfer point that is transferred to active period by quiet period; Or
A1 ', T at set intervals check whether packet to be sent is arranged in the down buffer storage etc.;
A2 ', determine that downlink data packet sends the transfer point that is transferred to quiet period by active period, and downlink data packet sends the transfer point that is transferred to active period by quiet period.
Preferably, determine according to following steps whether current be the transfer point of upstream or downstream packet transmit status:
A21,, terminal sends active period when being in upstream data, if in the inspection of continuous several times, at least doublely in buffer memory upstream data bag to be sent such as all do not find, judge that then enter the transfer point of quiet period for the upstream data transmission by active period this moment;
A22, send quiet period,, doublely at least in buffer memory upstream data bag to be sent such as all find, then judge to enter the transfer point of active period this moment by quiet period for the upstream data transmission if in the inspection of continuous several times when terminal is in upstream data; Or
A21 ',, terminal sends active period when being in downlink data, if in the inspection of continuous several times, at least doublely in buffer memory downlink data packet to be sent such as all do not find, judge that then enter the transfer point of quiet period for the downlink data transmission by active period this moment;
A22 ',, terminal sends quiet period when being in downlink data, if in the inspection of continuous several times, at least doublely in buffer memory downlink data packet to be sent such as all find, then judge to enter the transfer point of active period this moment by quiet period for the downlink data transmission.
Preferably, step a22 further is: the time interval between two continuous upstream data bags that terminal generates judges then that less than thresholding sometime this terminal enters up active period by up quiet period; Or step a22 ' further is: the base station receives that from network side time interval between two continuous downlink data packet waiting to issue terminal less than thresholding sometime, judges that then this terminal enters descending active period by descending quiet period.
Preferably, half of the time interval between two continuous upstream data bags generating for the quiet period terminal of the time threshold among the described step a22; To be the quiet period base station receive half of time interval between two continuous downlink data packet waiting to issue terminal from network side to time threshold among the described step a22 '.
Preferably, also comprise:
B1, when upstream data sends when transferring quiet period to by active period, send downlink resource continuous dispatching message to terminal, and be terminal continuous dispatching downlink resource by the resource requirement of active period;
B2, when upstream data sends when transferring active period to by quiet period, send downlink resource continuous dispatching cancellation message to terminal, and be terminal continuous dispatching downlink resource by the resource requirement of quiet period; Or
B1 ', when downlink data sends when transferring quiet period to by active period, send ascending resource continuous dispatching message to terminal, and be terminal continuous dispatching ascending resource by the resource requirement of active period;
B2 ', when downlink data sends when transferring active period to by quiet period, send ascending resource continuous dispatching cancellation message to terminal, and be terminal continuous dispatching ascending resource by the resource requirement of quiet period.
Preferably, determine stand-by period T according to the time interval that sends packet.
Simultaneously, the present invention also provides a kind of resource scheduling system, comprises network side, base station and terminal, and wherein, described base station comprises:
Resource allocation unit according to the change over condition of the transmit status of terminal up direction packet, changes the resource allocation of down direction; Or, change the resource allocation of up direction according to the change over condition of the transmit status of terminal down direction packet.
Preferably, described base station also comprises judging unit, is used to judge whether the downlink data packet transmit status of terminal changes, and this judging unit further comprises timing unit and transfer point identifying unit, wherein:
Described timing unit is used to set stand-by period T;
Described transfer point identifying unit, be used for timing control according to described timing unit, whether data to be sent are arranged in the cyclic check down buffer storage etc., determine that downlink data packet sends the transfer point that is transferred to quiet period by active period, and downlink data packet sends the transfer point that is transferred to active period by quiet period.
Preferably, described transfer point identifying unit comprises the inspection unit sum counter, wherein:
Described counter is used for the number of times of record check;
Described inspection unit is used for downlink data packet to be sent such as not finding in that buffer memory is double at least, judges that then enter the transfer point of quiet period for the downlink data transmission by active period this moment; And doublely at least in buffer memory downlink data packet to be sent such as find, then judge to enter the transfer point of active period this moment by quiet period for the downlink data transmission.
Preferably, described transfer point identifying unit also comprises comparing unit, the time interval that is used for finding etc. between the downlink data packet to be sent compares with thresholding sometime, if should the time interval less than this time threshold, judge that then this terminal enters descending active period by descending quiet period.
Preferably, to be the quiet period base station receive half of time interval between two continuous downlink data packet waiting to issue terminal from network side to described time threshold.
Preferably, described resource allocation unit according to the conversion of upstream data transmit status, changes the distribution of downlink resource in such a way:
When upstream data sends when transferring quiet period to by active period, send downlink resource continuous dispatching message to terminal, and be terminal continuous dispatching downlink resource by the resource requirement of active period;
When upstream data sends when transferring active period to by quiet period, send downlink resource and continue cancellation message, and be terminal continuous dispatching downlink resource by the resource requirement of quiet period to terminal; Or
According to the conversion of downlink data transmit status, change the distribution of ascending resource in such a way:
When downlink data sends when transferring quiet period to by active period, send ascending resource continuous dispatching message to terminal, and be terminal continuous dispatching ascending resource by the resource requirement of active period;
When downlink data sends when transferring active period to by quiet period, send ascending resource and continue cancellation message, and be terminal continuous dispatching ascending resource by the resource requirement of quiet period to terminal.
Preferably, described timing unit is set stand-by period T according to the time interval that sends packet.
Preferably, described terminal comprises:
Judging unit is used to judge whether the upstream data bag transmit status of terminal changes, and this judging unit further comprises timing unit and transfer point identifying unit, wherein:
Described timing unit is used to set stand-by period T;
Described transfer point identifying unit, be used for timing control according to described timing unit, whether data to be sent are arranged in the row cache in the cyclic check etc., determine that the upstream data bag sends the transfer point that is transferred to quiet period by active period, and the upstream data bag sends the transfer point that is transferred to active period by quiet period.
Preferably, described transfer point identifying unit comprises the inspection unit sum counter, wherein:
Described counter is used for the number of times of record check;
Described inspection unit is used for upstream data bag to be sent such as not finding in that buffer memory is double at least, judges that then enter the transfer point of quiet period for the upstream data transmission by active period this moment; And doublely at least in buffer memory upstream data bag to be sent such as find, then judge to enter the transfer point of active period this moment by quiet period for the upstream data transmission.
Preferably, described transfer point identifying unit also comprises comparing unit, the time interval that is used for finding etc. between the upstream data bag to be sent compares with thresholding sometime, if should the time interval less than this time threshold, judge that then this terminal enters up active period by up quiet period.
Preferably, half of the time interval between two continuous upstream data bags generating for the quiet period terminal of described time threshold.
Preferably, described timing unit is set stand-by period T according to the time interval that sends packet.
Compared with prior art, the present invention has following beneficial effect:
The present invention is directed to the characteristics of session service, promptly to have the uplink and downlink data of terminal usually be the characteristics that alternately occur to session service: when terminal is in descending active period, and its up quiet period that usually is in; When terminal is in descending quiet period, its up active period that usually is in.Utilize the information of the descending state of living in of terminal (being in active period or quiet period) by the base station, come more accurately the state up of living in (being in quiet period or active period) of this terminal to be predicted, and carry out ascending resource preassignment in view of the above, thereby improve the accuracy of resource allocation.This scheme is suitable for the pre-allocation process of downlink resource too.
In addition, adopt the scheduling of resource and the delivery mode that continue, and make full use of scheduling of resource principle of the prior art, the feasible resource request that needs and the signaling consumption of release reduce as much as possible.
Below in conjunction with the drawings and specific embodiments the present invention is further described.
Description of drawings
Fig. 1 is side's uplink and downlink schematic diagram data in the prior art communicating pair;
Fig. 2 is the uplink dispatch method schematic diagram that the full dynamic on-demand of prior art distributes;
Fig. 3 is that prior art continues to distribute the uplink scheduling method schematic diagram that discharges as required;
Fig. 4 is a uplink scheduling method schematic diagram of the present invention;
Fig. 5 is a resource regulating method flow chart of the present invention;
Fig. 6 is an embodiment of the invention uplink scheduling method flow chart;
Fig. 7 A, 7B are respectively ascending resource scheduling system of the present invention and scheduling downlink resource system block diagram.
Embodiment
Key idea of the present invention is: when terminal is in descending active period, the base station dopes terminal, and to be in the probability of up quiet period big, thus, the base station discharges the ascending resource of allocating in advance to this terminal that continues, if terminal will send upstream data in descending active period, then terminal needs to send " ascending resource request for allocation " to base station application ascending resource; When terminal is in descending quiet period, the probability that base station prediction terminal is in up active period is big, thus, the base station is allocated lasting ascending resource in advance for this terminal, if terminal does not have upstream data to send in descending quiet period, then terminal needs transmission " ascending resource discharges request " to come the requirement base station that preallocated ascending resource piece is discharged.Scheduling for downlink resource is similar with it, so locate to repeat no more.
Technical scheme of the present invention comprises following steps as shown in Figure 5:
Step 501, determine the change over condition of the transmit status of terminal upstream or downstream bearing data bag;
The resource allocation of step 502, change downlink or uplink direction.
Hereinafter will introduce the scheduling scheme of ascending resource, for the scheduling of downlink resource scheduling scheme with reference to ascending resource.
As shown in Figure 6, be specific embodiment of the invention uplink scheduling method flow chart, specifically comprise:
Step 601: the downlink data transmit status of terminal is at first judged and write down in the base station: i.e. quiet period or active period;
Step 602: base station waits time T;
Step 603: the base station judges whether the downlink data transmit status of current terminal change has taken place, if do not change, returns step 602; If change has taken place, enter step 604;
Step 604:, then enter step 605 if the downlink data transmit status of terminal has changed quiet period over to by active period; Otherwise,, then enter step 606 if the downlink data transmit status of terminal has changed active period over to by quiet period;
Step 605: the resource requirement according to active period is a terminal continuous dispatching ascending resource, and by downlink signaling notice terminal ascending resource scheduling mode change has taken place; Return step 602.
Step 606: the resource requirement according to quiet period is a terminal continuous dispatching ascending resource, and by downlink signaling notice terminal ascending resource scheduling mode change has taken place; Return step 602.
Need to prove: stand-by period T can come definite according to giving out a contract for a project of business at interval, as: for the VoIP business, because the transmission time interval of the downlink data packet of its active period is 20ms, then T can be set to 20ms.
As from the foregoing, the transfer point of downlink data transmit status is determined in the base station: comprise that the downlink data transmission sends the transfer point that is transferred to active period by quiet period by transfer point and the downlink data that active period transfers quiet period to.Transfer point in the downlink data transmit status, the base station is that terminal is allocated lasting ascending resource in advance and notified terminal by downlink signaling, be specially: when the downlink data transmission transfers quiet period to by active period, the base station sends one " ascending resource continuous dispatching message " and gives terminal, simultaneously, the base station is a terminal continuous dispatching ascending resource by the resource requirement (comprising resource size and frequency) of active period; When the downlink data transmission transferred active period to by quiet period, the base station sent one " ascending resource continuous dispatching cancellation message " and gives terminal, and simultaneously, the base station is a terminal continuous dispatching ascending resource by the resource requirement (comprising resource size and frequency) of quiet period.
Elaboration hereinafter for convenience, the spy provides following two definition:
Definition 1:
Continue release period: that the base station sends, at " the ascending resource continuous dispatching cancellation message " of same terminal and time period between " ascending resource continuous dispatching message " thereafter, in Fig. 4.
Definition 2:
Continue allotment period: the base station sends, time period between " the ascending resource continuous dispatching is cancelled message " at " the ascending resource continuous dispatching message " of same terminal and thereafter, in Fig. 4.
In addition, the present invention also comprises following scheduling of resource principle:
Principle 1: in continuing release period, if terminal has the upstream data (data except that the quiet period indication) of other bursts to send, then need first transmission " ascending resource request message ", and receive " the ascending resource assignment messages " of base station feedback in wait after, according to the indication of message content, use when corresponding-the frequency Resource Block.
Principle 2: continuing in allotment period, the base station is a terminal continuous dispatching ascending resource by the resource requirement (comprising resource size and frequency) of active period.If terminal does not have data to send, then need to send " ascending resource release request message " require to discharge one or more when preallocated-the frequency Resource Block, after up release request is received in the base station, discharge when corresponding-the frequency Resource Block, use for other-end.
Principle 3: if in continuing release period, the frequency that terminal sends " ascending resource request message " has reached certain thresholding, and then the base station notice terminal phase enters lasting allotment period.
Introduce principle 3 and be based on following consideration: if in continuing release period, the request ascending resource that terminal is frequent, so, this moment, professional feature no longer satisfied the feature of session service.The reason that causes this consequence may be that the user converses in more noisy environment etc.Under these circumstances, directly enter lasting allotment period, can reduce the signaling load of ascending resource scheduling.
By top description, as can be seen, it is extremely important to judge the descending transmit status transfer point of terminal (by active period to the transfer point of quiet period and by the transfer point of quiet period to active period) accurately.Below provide a kind of determination methods of possible transmit status transfer point:
The judgement of descending active period → descending quiet period transfer point: if at the downlink data packet delivery time of continuous several times (as: twice), the base station does not all have downlink data packet to send to relevant terminal, thinks that then this terminal enters descending quiet period by descending active period;
The judgement of descending quiet period → descending active period transfer point: if the base station receives that from network side time interval of waiting between two continuous downlink data packet sending to terminal less than thresholding (as: quiet period is wrapped at interval half normal time) sometime, thinks that then this terminal enters descending active period by descending quiet period.
The present invention also provides a kind of system that realizes aforementioned ascending resource scheduling scheme, shown in Fig. 7 A, comprise network side, base station and terminal, for network side and terminal, the same not change with prior art, just the base station is changed to some extent, below emphasis is set forth the composition of the base station be used to realize the ascending resource scheduling scheme.
This base station comprises judging unit 71 and resource allocation unit 72.Wherein: this judging unit 71 is used to judge whether the downlink data packet transmit status of terminal changes; This resource allocation unit 72 is used for according to judged result, changes the distribution of ascending resource and send downlink signaling to notify this terminal.
Further, this judging unit 71 comprises timing unit and transfer point identifying unit, and wherein: described timing unit is used to set stand-by period T; This timing unit can be set stand-by period T according to the time interval that sends packet.Described transfer point identifying unit, be used for timing control according to described timing unit, whether data to be sent are arranged in the cyclic check down buffer storage etc., determine the transfer point of downlink data packet transmit status, comprise: downlink data packet sends the transfer point that is transferred to quiet period by active period, and downlink data packet sends the transfer point that is transferred to active period by quiet period.
Described transfer point identifying unit can also be subdivided into the inspection unit sum counter, and wherein: described counter is used for the number of times of record check; Described inspection unit is used for downlink data packet to be sent such as not finding in that buffer memory is double at least, judges that then enter the transfer point of quiet period for the downlink data transmission by active period this moment; And doublely at least in buffer memory downlink data packet to be sent such as find, then judge to enter the transfer point of active period this moment by quiet period for the downlink data transmission.
In addition, described transfer point identifying unit also comprises comparing unit, the time interval that is used for finding etc. between the downlink data packet to be sent compares with thresholding sometime, if should the time interval less than this time threshold, judge that then this terminal enters descending active period by descending quiet period.This time threshold can determine according to actual conditions, such as: receive half of time interval between two continuous downlink data packet waiting to issue terminal from network side for the quiet period base station.
Further, this resource allocation unit 72 according to the conversion of downlink data transmit status, changes the distribution of ascending resource in such a way:
When downlink data sends when transferring quiet period to by active period, send ascending resource continuous dispatching message to terminal, and be terminal continuous dispatching ascending resource by the resource requirement of active period;
When downlink data sends when transferring active period to by quiet period, send ascending resource and continue cancellation message, and be terminal continuous dispatching ascending resource by the resource requirement of quiet period to terminal.
As from the foregoing, this base station is every time T, checks whether downlink data to be sent is arranged in the buffer memory etc., to judge whether current be the transfer point of downlink data transmit status.Such as: in continuous three times are checked, in the down buffer storage data are arranged for the first time, the back does not have data twice, then can think descending and transfer quiet period to by active period; In continuous three times are checked, there are not data in the down buffer storage for the first time, there are data the back twice, then can think descending and transfer active period to by quiet period.
For the system that realizes scheduling downlink resource, shown in Fig. 7 B, comprise network side, base station and terminal, for network side, the same not change with prior art, just base station and terminal are changed to some extent, below the emphasis elaboration is used to realize the base station of scheduling downlink resource scheme and the composition of terminal.
This terminal comprises judging unit 71 ', and this base station comprises resource allocation unit 72.Wherein: the judging unit 71 ' of this terminal is used to judge whether the upstream data bag transmit status of terminal changes; These base station resource allocation units 72 are used for according to judged result, change concurrent this terminal of capable signaling of serving of distribution of downlink resource.
Further, this judging unit 71 ' comprises timing unit and transfer point identifying unit, and wherein: described timing unit is used to set stand-by period T; This timing unit can be set stand-by period T according to the time interval that sends packet.Described transfer point identifying unit, be used for timing control according to described timing unit, whether data to be sent are arranged in the row cache in the cyclic check etc., determine the transfer point of upstream data bag transmit status, comprise: the upstream data bag sends the transfer point that is transferred to quiet period by active period, and the upstream data bag sends the transfer point that is transferred to active period by quiet period.
Described transfer point identifying unit can also be subdivided into the inspection unit sum counter, and wherein: described counter is used for the number of times of record check; Described inspection unit is used for upstream data bag to be sent such as not finding in that buffer memory is double at least, judges that then enter the transfer point of quiet period for the upstream data transmission by active period this moment; And doublely at least in buffer memory upstream data bag to be sent such as find, then judge to enter the transfer point of active period this moment by quiet period for the upstream data transmission.
In addition, described transfer point identifying unit also comprises comparing unit, the time interval that is used for finding etc. between the upstream data bag to be sent compares with thresholding sometime, if should the time interval less than this time threshold, judge that then this terminal enters up active period by up quiet period.This time threshold can determine according to actual conditions, such as: half of the time interval between two continuous upstream data bags that generate for the quiet period terminal.
Further, this resource allocation unit 72 according to the conversion of upstream data transmit status, changes the distribution of downlink resource in such a way:
When upstream data sends when transferring quiet period to by active period, send downlink resource continuous dispatching message to terminal, and be terminal continuous dispatching downlink resource by the resource requirement of active period;
When upstream data sends when transferring active period to by quiet period, send downlink resource and continue cancellation message, and be terminal continuous dispatching downlink resource by the resource requirement of quiet period to terminal.
Below in conjunction with embodiment the present invention program is further explained explanation.
The schematic diagram of embodiment is as shown in Figure 4:
1, in the time period 1, the base station is continuously this terminal scheduling ascending resource according to the resource requirement of active period;
2, in the time period 1,, then to discharge corresponding when up-frequency Resource Block by " ascending resource release message " informing base station if terminal does not have the upstream data bag to send;
3, at time point B, the time interval that two downstream packets that the base station is found to receive continuously, that wait to issue terminal arrive base stations is less than half of quiet period Lai Bao normal interval, then think descending and enter active period, then send " ascending resource continuous dispatching cancellation message " and give terminal by quiet period;
4, in the time period 2, the base station is a terminal continuous dispatching ascending resource according to the quiet period resource requirement;
5, at time point C, the base station does not all have data to send to terminal at two continuous downlink data delivery times, then thinks descending and enters quiet period by active period, then sends " ascending resource continuous dispatching message " and gives terminal;
6, in the time period 3, the base station is the terminal scheduling ascending resource according to the active period resource requirement;
7, at time point D, the time interval that two downstream packets that the base station is found to receive continuously, that wait to issue terminal arrive base stations is less than half of quiet period Lai Bao normal interval, think descending and enter active period, then send " ascending resource continuous dispatching cancellation message " and give terminal by quiet period;
8, in the time period 4, the base station is the terminal scheduling ascending resource according to the quiet period resource requirement;
9, in the time period 4,, then need to apply for resource to the base station by sending " ascending resource request message " if terminal has upstream data to need to send;
10, at time point E, the base station does not all have data to send to terminal at two continuous downlink data delivery times, thinks descending and enters quiet period by active period, then sends " ascending resource continuous dispatching message " and gives terminal;
11, in the time period 5, the base station is the terminal scheduling ascending resource according to the active period resource requirement.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.