Embodiment
The embodiment of the present invention provides a kind of distribution method and device of channel resource, uses for reasonable distribution channel resource, improves the utilance of channel resource.
Referring to Fig. 1, the distribution method of a kind of channel resource that the embodiment of the present invention provides comprises:
S101, basis be available physical down control channel PDCCH resources all, all treat the PDCCH total resources that dispatching downlink user equipment (UE) is required and all treat the PDCCH total resources that dispatching uplink UE is required, being respectively descending UE to be scheduled and uplink UE to be scheduled and distributing PDCCH resource;
S102, for having distributed the to be scheduled descending UE of PDCCH resource to distribute Physical Downlink Shared Channel PDSCH resource, and, for distributing the uplink UE to be scheduled of PDCCH resource to distribute Physical Uplink Shared Channel PUSCH resource.
Preferably, referring to Fig. 2, S101 comprises:
S1011, according to whole available PDCCH resources, all treat the PDCCH total resources that dispatching downlink UE is required and all treat the PDCCH total resources that dispatching uplink UE is required, determine respectively to distribute to and all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE;
Described in S1012, basis, distribute to and all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE, be respectively descending UE to be scheduled and uplink UE to be scheduled and distribute PDCCH resource.
Preferably, S1011 specifically comprises: judgement all treat the PDCCH total resources that dispatching downlink UE is required and all treat PDCCH total resources that dispatching uplink UE is required with, whether be not more than whole available PDCCH resources, if, to all treat that the required PDCCH total resources of dispatching downlink UE is defined as distributing to the PDCCH total resources of all treating dispatching downlink UE, and will all treat that the required PDCCH total resources of dispatching uplink UE is defined as distributing to the PDCCH total resources of all treating dispatching uplink UE;
Otherwise, according to all treating the PDCCH total resources that dispatching downlink UE is required and all treating the proportionate relationship between the required PDCCH total resources of dispatching uplink UE, and whole available PDCCH resources, determine respectively to distribute to and all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE.
Preferably, S1012 specifically comprises: according to described, distribute to the PDCCH total resources of all treating dispatching downlink UE, and the priority query of descending UE to be scheduled, for descending UE to be scheduled distributes PDCCH resource; And, according to described, distribute to the PDCCH total resources of all treating dispatching uplink UE, and the priority query of uplink UE to be scheduled, for uplink UE to be scheduled is distributed PDCCH resource.According to priority query, carry out the distribution of PDCCH resource, preferably, when having the PDCCH resource of UE to distribute unsuccessfully, in Jiang GaiUECong priority query, delete, abandon distributing.
Preferably, the method also comprises: when definite PDCCH resource remains in addition, judge whether PDSCH resource and/or PUSCH resource have residue; When determining while only having PDSCH resources left, be that the to be scheduled descending UE of unallocated channel resource distributes PDCCH and PDSCH; When determining while only having PUSCH resources left, be that the uplink UE to be scheduled of unallocated channel resource is distributed PDCCH and PUSCH; When definite PDSCH resource and PUSCH resource all have residue, the size of the PDCCH resource that more current descending UE to be scheduled and uplink UE are required, is the less UE allocation of channel resources of required PDCCH resource.Owing to conventionally may having a small amount of residue channel resource after S101 and S102 execution, for increasing channel resource utilance, according to PDCCH resource, the residual state of PDSCH resource and PUSCH resource, according to the priority query of UE, for the UE of allocation of channel resources not yet distributes.If cause the failure of UE channel resource allocation because residue channel resource can not meet the reasons such as demand of current UE, according to priority orders, next UE distributed.
Provide specific embodiments of the invention below:
Referring to Fig. 3, the step of complete channel resource allocation comprises:
S301, estimate the PDCCH Resource Allocation Formula of up-downgoing UE;
S302, according to the scheme of estimating, carry out the distribution of PDCCH resource;
S303, to distributing the successful UE of PDCCH to carry out the distribution of PDSCH/PUSCH resource;
The adjustment that becomes more meticulous of S304, channel resource.
Below each step is specifically described.
(1) referring to Fig. 4, estimate up-downgoing UE PDCCH Resource Allocation Formula specifically comprise step:
S401, according to this scheduling subframe descending UE(to be scheduled, descending UE queue to be scheduled is designated as Q1_UE_dw), calculate the number that the required PDCCH resource of each UE is CCE, the required CCE number of the dispatching downlink UE that needs add and obtain the CCE aggregate demand N of descending UE
dL_CCE_req;
According to this scheduling subframe uplink UE to be scheduled (uplink UE queue to be scheduled is designated as Q1_UE_ul), calculate the number that the required PDCCH resource of each UE is CCE, the required CCE number of the dispatching uplink UE that needs add and obtain the CCE aggregate demand N of uplink UE
uL_CCE_req;
S402, judgement N
dL_CCE_req+ N
uL_CCE_req≤ N
cCE_leftwhether set up; If so, turn S403; Otherwise, turn S404; Wherein, N
cCE_leftfor this scheduling subframe remains available PDCCH resource;
S403, estimate the available CCE number of descending scheduling: N
dL_CCE_esti=N
dL_CCE_req;
And the available CCE number of estimating uplink scheduling: N
uL_CCE_esti=N
uL_CCE_req;
S404, estimate the available CCE number of descending scheduling:
And uplink scheduling can be used CCE number: N
uL_CCE_esti=N
cCE_left-N
dL_CCE_esti.
(2) carry out the distribution of PDCCH resource and specifically comprise following content:
Successively the UE in Q1_UE_dw queue is carried out to the distribution of PDCCH resource, if distribute the failure of PDCCH resource, this UE is deleted from queue Q1_UE_dw, until become the CCE number of the distribution of work to reach or approach N most
dL_CCE_estistop, record has become the UE of distribution of work PDCCH resource, is designated as Q3_UE_dw;
Successively the UE in Q1_UE_ul queue is carried out to the distribution of PDCCH resource, if distribute the failure of PDCCH resource, this UE is deleted from queue Q1_UE_ul, until become the CCE number of the distribution of work to reach or approach N most
uL_CCE_estistop, record has become the UE of distribution of work PDCCH resource, is designated as Q3_UE_ul.
Referring to Fig. 5, with the PDCCH resource of descending UE, be assigned as example, concrete steps comprise:
S501, initialization i=0, the total Allocated_CCEs=0 of the CCE having distributed;
S502, from the priority query of descending UE, take out UE:Q1_UE_dw[i], the CCE number that this UE needs is designated as CCE_req_UE[i];
S503, judgement Allocated_CCEs+CCE_req_UE[i] <=N
dL_CCE_estiwhether set up; If so, turn S504; Otherwise, finish;
S504, to Q1_UE_dw[i] carry out the distribution of PDCCH resource, if be allocated successfully, turn S505; Otherwise, turn S506;
S505, Allocated_CCEs=Allocated_CCEs+CCE_req_UE[i], this UE is recorded into queue Q3_UE_dw simultaneously; Turn S507;
S506, this subframe of mark current UE are not scheduled, and from queue, delete; Turn S507;
S507、i++;
S508, judge whether i<M sets up, wherein, M is the maximum of i in queue, i.e. Q1_UE_dw[M] be last UE in queue; If so, turn S502; Otherwise, finish.
Final queue Q3_UE_dw has recorded the descending UE that is all assigned PDCCH; For the descending UE distributing unsuccessfully, Q1_UE_dw and Q3_UE_dw all can records.
In like manner, according to the similar mode of above-mentioned steps, final queue Q3_UE_ul has recorded the uplink UE that is all assigned PDCCH; For distributing failed uplink UE, Q1_UE_ul and Q3_UE_ul all can records.
Because uplink UE and descending UE all need the resource of carrying out PDCCH, distribute, suppose that descending UE completes PDCCH resource and carries out the PDCCH resource of uplink UE after distributing and distribute, flow process as shown in Figure 6.
(3) carry out the distribution of PDSCH/PUSCH resource and comprise following content:
Successively the UE in queue Q3_UE_dw is carried out to the distribution of PDSCH resource, if distribute the failure of PDSCH resource, this UE can not be scheduled in this subframe;
Successively the UE in queue Q3_UE_ul is carried out to the distribution of PUSCH resource, if distribute the failure of PUSCH resource, this UE can not be scheduled in this subframe.
(4), referring to Fig. 7, the adjustment that becomes more meticulous of channel resource comprises the following steps:
S701, from queue Q1_UE_dw, exclude and element identical queue Q3_UE_dw, be designated as queue Q1 ' _ UE_dw; From queue Q1_UE_ul, exclude and element identical queue Q3_UE_ul, be designated as queue Q1 ' _ UE_ul; What in fact Zhe Liangge priority query recorded is to be scheduled descending UE and the uplink UE of not yet carrying out channel resource allocation;
S702, judge whether queue Q1 ' _ UE_ul and queue Q1 ' _ UE_dw are sky, if so, finish; Otherwise queue Q1 ' _ UE_ul and queue Q1 ' _ UE_dw have one at least not for empty, carry out S703;
S703, judge whether CCE resource has residue, if do not had, finish; Otherwise, turn S704;
S704, judge whether at least one in PDSCH resource and PUSCH resource has residue; If had, turn S705; Otherwise, finish;
S705, judge that whether remaining PDSCH and/or PUSCH resource are also to there being the UE of unallocated channel resource; If had, turn S706; Otherwise, finish;
Wherein, PUSCH resource and PDSCH resource have residue, and while having still unappropriated uplink UE and descending UE simultaneously, are preferably the little UE allocation of channel resources of CCE demand in the head of the queue UE of Q1 ' _ UE_dw and Q1 ' _ UE_ul;
S706, be that this UE distributes PDCCH, and distribute corresponding PDSCH or PUSCH;
S707, renewal residue channel resource are deleted this UE from UE place queue Q1 ' _ UE_dw or Q1 ' _ UE_ul; Wherein, for the UE of channel resource allocation failure, this UE is deleted from corresponding queue, and this subframe is no longer dispatched this UE;
Return to S702.
In above step, UE allocation of channel resources is comprised to UE is distributed PDCCH and UE is distributed to PDSCH/PUSCH; In concrete assigning process, need to consider that whether resource distribution is successful, if unsuccessful, this subframe is no longer dispatched this UE.
Referring to Fig. 8, it is the entire flow schematic diagram that becomes more meticulous and adjust of channel resource.
Referring to Fig. 9, the distributor of a kind of channel resource that the embodiment of the present invention provides comprises:
PDCCH resource allocation unit 91, for the whole available physical down control channel PDCCH resources of basis, all treat the PDCCH total resources that dispatching downlink user equipment (UE) is required and all treat the PDCCH total resources that dispatching uplink UE is required, being respectively descending UE to be scheduled and uplink UE to be scheduled and distributing PDCCH resource;
Shared channel resources allocation units 92, are used to and distribute the to be scheduled descending UE of PDCCH resource to distribute Physical Downlink Shared Channel PDSCH resource, and, for distributing the uplink UE to be scheduled of PDCCH resource to distribute Physical Uplink Shared Channel PUSCH resource.
Referring to Figure 10, preferably, described PDCCH resource allocation unit, comprising:
PDCCH resource is estimated unit 1001, be used for according to whole available PDCCH resources, all treat the PDCCH total resources that dispatching downlink UE is required and all treat the PDCCH total resources that dispatching uplink UE is required, determine respectively to distribute to and all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE;
Estimate resource allocation unit 1002, for distributing to described in basis, all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE, being respectively descending UE to be scheduled and uplink UE to be scheduled and distributing PDCCH resource.
Preferably, described PDCCH resource is estimated unit 1001, specifically for:
Judgement all treat the PDCCH total resources that dispatching downlink UE is required and all treat PDCCH total resources that dispatching uplink UE is required with, whether be not more than whole available PDCCH resources, if, to all treat that the required PDCCH total resources of dispatching downlink UE is defined as distributing to the PDCCH total resources of all treating dispatching downlink UE, and will all treat that the required PDCCH total resources of dispatching uplink UE is defined as distributing to the PDCCH total resources of all treating dispatching uplink UE;
Otherwise, according to all treating the PDCCH total resources that dispatching downlink UE is required and all treating the proportionate relationship between the required PDCCH total resources of dispatching uplink UE, and whole available PDCCH resources, determine respectively to distribute to and all treat the PDCCH total resources of dispatching downlink UE and distribute to the PDCCH total resources of all treating dispatching uplink UE.
Preferably, described in estimate resource allocation unit 1002, specifically for:
According to described, distribute to the PDCCH total resources of all treating dispatching downlink UE, and the priority query of descending UE to be scheduled, for descending UE to be scheduled distributes PDCCH resource;
And, according to described, distribute to the PDCCH total resources of all treating dispatching uplink UE, and the priority query of uplink UE to be scheduled, for uplink UE to be scheduled is distributed PDCCH resource.
Referring to Figure 11, preferably, this device also comprises:
Surplus resources is determined first module 1101, for judging whether PDCCH resource also has residue;
Surplus resources is determined second unit 1102, when determining that when surplus resources first module determines that PDCCH resource remains in addition, judges whether PDSCH resource and/or PUSCH resource have residue;
Surplus resources allocation units 1103, while only having PDSCH resources left for determining that when surplus resources second unit is definite, are that the to be scheduled descending UE of unallocated channel resource distributes PDCCH and PDSCH; When surplus resources, determining second unit and determine while only having PUSCH resources left, is that the uplink UE to be scheduled of unallocated channel resource is distributed PDCCH and PUSCH; When surplus resources determines that second unit determines that PDSCH resource and PUSCH resource all have residue, the size of the PDCCH resource that more current descending UE to be scheduled and uplink UE are required, is the less UE allocation of channel resources of required PDCCH resource.
In sum, the embodiment of the present invention provides a kind of distribution method and device of channel resource, avoid down direction to be limited to PDCCH and can not dispatch more UE and the situation of the up PDCCH of the existence wasting of resources, more make full use of the resources such as PDCCH, PDSCH, PUSCH, improved the utilance of channel resource simultaneously.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.