Downlink resource allocation method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a downlink resource allocation method and apparatus.
Background
LTE (Long Term Evolution ) is a super 3G broadband wireless access technology initiated by 3 GPP. The frequency selection scheduling technology is a resource allocation mode for reasonably allocating resources according to channel conditions, and the mode can improve the utilization rate of the resources and improve the throughput of a cell. However, since the frequency selection scheduling needs the subchannel state information as a reference, and the downlink CHannel information needs to be sent on a PUCCH (physical uplink Control CHannel), the uplink rate is affected by too much occupied resources of the PUCCH, so that the number ratio of the frequency selection UEs needs to be compromised. For this reason, the downlink UE may be divided into a frequency-selective UE and a non-frequency-selective UE, where the frequency-selective UE needs to perform resource allocation by using information such as a Channel Quality Indicator (CQI) of a downlink sub-band reported in an uplink, and the non-frequency-selective UE may consider performing resource allocation by using information such as a downlink wideband Channel Quality reported in the uplink.
In the existing frequency-selective resource allocation method, when resource allocation is performed, resources are allocated only according to sub-band channel quality, and during actual allocation, a user with low service requirement may have higher sub-band channel quality on the RBG (resource block Group), and a user with high service requirement may lose the allocation right of the RBG due to the slightly lower sub-band channel quality on the RBG. It follows that it is not reasonable to base the sub-channel state information on frequency selective allocation alone.
In addition, the allocation of frequency-selective resources is usually started from the RBG with a low sequence number, the sub-band channel quality of all frequency-selective UEs on the RBG is compared, and the UE with the highest sub-channel quality obtains the allocation weight of the RBG and then enters the allocation of the next RBG. According to the allocation method, when a certain UE completes resource allocation due to a previous RBG and a subsequent RBG has better channel quality, the UE cannot obtain allocation right of the RBG with better channel quality because the UE has allocated resources on the previous RBG, and the user can transmit more services on the subsequent RBG. In this case, the above allocation strategy is less efficient.
Disclosure of Invention
The invention provides a downlink resource allocation method and a downlink resource allocation device, which are used for solving the problem that an intermediate frequency selection resource allocation method in the prior art is unreasonable.
According to an aspect of the present invention, a downlink resource allocation method is provided, including: comparing the scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current resource block group RBG in the pre-calculated UE to be scheduled with the non-frequency-selective UE with the maximum scheduling metric value; if the scheduling metric value of the frequency selection UE is larger than or equal to the scheduling metric value of the non-frequency selection UE, distributing the current RBG to the frequency selection UE; otherwise, the current RBG is allocated to the non-frequency-selective UE.
Further, the method further comprises: before comparing the pre-calculated scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG with the non-frequency-selective UE with the maximum scheduling metric value, calculating the scheduling metric value of the frequency-selective UE on each RBG and the scheduling metric value of the non-frequency-selective UE in the UE to be scheduled; and sequencing the RBGs according to the sequence of the scheduling metric value of the frequency selection UE with the maximum scheduling metric value on the RBGs from large to small so as to allocate resources according to the sequencing sequence of the RBGs.
The method further comprises the following steps: and before comparing the scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG in the pre-calculated UE to be scheduled with the non-frequency-selective UE with the maximum scheduling metric value, allocating resources for the retransmission UE and the semi-static UE in the UE to be scheduled.
The method for calculating the scheduling metric value of the frequency-selective UE and the scheduling metric value of the non-frequency-selective UE on each RBG in the UE to be scheduled comprises the following steps: multiplying sub-band frequency spectrum efficiency of frequency selection UE in the UE to be scheduled by QoS metric value of the frequency selection UE, and calculating scheduling metric value of each frequency selection UE; and multiplying the broadband frequency spectrum efficiency of the non-frequency selection UE in the UE with scheduling by the QoS metric value of the non-frequency selection UE to obtain the scheduling metric value of each non-frequency selection UE.
The method for calculating the scheduling metric value of the frequency-selective UE and the scheduling metric value of the non-frequency-selective UE on each RBG in the UE to be scheduled comprises the following steps: multiplying the ratio of the QoS metric value of the frequency selection UE in the UE to be scheduled to the realized throughput by the sub-band frequency spectrum efficiency of the frequency selection UE to obtain the scheduling metric value of each frequency selection UE; and multiplying the ratio of the QoS metric value of the non-frequency-selection UE in the UE to be scheduled to the realized throughput by the broadband spectrum efficiency of the non-frequency-selection UE to obtain the scheduling metric value of each non-frequency-selection UE.
Further, the method further comprises: updating Resource Blocks (RBs) required for Guaranteed Bit Rate (GBR) services and RBs required for all services of the UE allocated to the resources, if the number of RBs required for the GBR services of the UE allocated to the resources is more than zero; the scheduling metric value of the UE allocated to the RBG is increased to a first preset value, and if the number of RBs required for the GBR service by the UE allocated to the resource is not greater than zero and the RBs required for all services are not greater than zero, the scheduling metric value of the UE allocated to the RBG is decreased to a second preset value.
According to another aspect of the present invention, there is provided a downlink resource allocation apparatus, including: the comparison module is used for comparing the scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG in the pre-calculated UE to be scheduled with the non-frequency-selective UE with the maximum scheduling metric value; the first allocation module is used for allocating the current RBG to the frequency selection UE when the comparison result of the comparison module is that the scheduling metric value of the frequency selection UE is greater than or equal to the scheduling metric value of the non-frequency selection UE; and the second allocating module is used for allocating the current RBG to the non-frequency-selective UE when the comparison result of the comparing module is that the scheduling metric value of the frequency-selective UE is smaller than the scheduling metric value of the non-frequency-selective UE.
Further, the above apparatus further comprises: the first calculation module is used for calculating scheduling metric values of frequency-selective UE on each RBG and scheduling metric values of non-frequency-selective UE in the UE to be scheduled before comparing the pre-calculated scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG with the non-frequency-selective UE; and the first sequencing module is used for sequencing the RBGs according to the sequence from large to small of the scheduling metric value of the frequency selection UE with the maximum scheduling metric value on the RBGs so as to allocate resources according to the sequencing sequence of the RBGs.
Further, the above apparatus further comprises: a third allocating module, configured to allocate resources to a retransmission UE and a semi-static UE in the UEs to be scheduled before comparing the scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG among the pre-calculated UEs to be scheduled with the non-frequency-selective UE with the maximum scheduling metric value
Wherein, the first calculating module comprises: the first calculation unit is used for multiplying the sub-band spectrum efficiency of frequency selection UE in the UE to be scheduled by the QoS metric value of the frequency selection UE to calculate the scheduling metric value of each frequency selection UE; and the second calculation unit is used for multiplying the broadband spectrum efficiency of the non-frequency-selection UE in the UE with scheduling by the QoS metric value of the non-frequency-selection UE to obtain the scheduling metric value of each non-frequency-selection UE.
Wherein, the first calculating module comprises: the third calculating unit is used for multiplying the ratio of the QoS metric value of the frequency selection UE in the UE to be scheduled to the realized throughput by the sub-band frequency spectrum efficiency of the frequency selection UE to obtain the scheduling metric value of each frequency selection UE; and the fourth calculation unit is used for multiplying the ratio of the QoS metric value of the non-frequency-selective UE in the UE to be scheduled to the realized throughput by the broadband spectrum efficiency of the non-frequency-selective UE to obtain the scheduling metric value of each non-frequency-selective UE.
Further, the above apparatus further comprises: an updating module, configured to update resource groups RB required for GBR services and RBs required for all services of the UE that has been allocated to the resources; the device comprises an increasing module and a reducing module, wherein the increasing module is used for increasing the scheduling metric value of the UE allocated to the RBG to a first preset value if the number of the RBs of the UE allocated to the resource, which are required for GBR service, is greater than zero, and the reducing module is used for reducing the scheduling metric value of the UE allocated to the RBG to a second preset value if the number of the RBs of the UE allocated to the resource, which are required for the GBR service, is not greater than zero and the RBs required for all the services are not greater than zero.
According to the technical scheme, on the basis of comprehensively considering the scheduling metric values of the frequency selection UE and the non-frequency selection UE, the type of the UE for obtaining the current RBG is determined by comparing the scheduling metric values of the frequency selection UE and the non-frequency selection UE which have the maximum scheduling metric value currently. The method and the device solve the problem that in the prior art, due to the fact that non-frequency selective allocation is carried out after frequency selective allocation, certain UE with better broadband CQI (Channel Quality Indicator) cannot correspondingly obtain RBG with better Channel Quality, and certain UE with requirements but with lower sub-band CQI preferentially obtains RBG with better Channel Quality. And further improves the rationality of resource allocation.
Drawings
Fig. 1 is a flowchart of a downlink resource allocation method according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a downlink resource allocation process in embodiment 2 of the present invention;
fig. 3 is a processing flow chart for determining GBR-type service parameters of a frequency selective UE in embodiment 2 of the present invention;
fig. 4 is a block diagram of a downlink resource allocation apparatus according to embodiment 3 of the present invention;
fig. 5 is a block diagram of another downlink resource allocation apparatus according to embodiment 3 of the present invention;
fig. 6 is a block diagram of the structure of a first calculation unit of embodiment 3 of the present invention;
fig. 7 is a block diagram of another first calculation unit according to embodiment 3 of the present invention; and
fig. 8 is a block diagram of a downlink resource allocation apparatus according to yet another embodiment 3 of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Example 1
Fig. 1 is a flowchart of a downlink resource allocation method according to embodiment 1 of the present invention. As shown in fig. 1, the method comprises the steps of:
step 101: comparing the scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on the current RBG in the pre-calculated UE to be scheduled with the non-frequency-selective UE with the maximum scheduling metric value;
step 102: judging whether the maximum frequency selection UE scheduling metric value of the current RBG is larger than or equal to the maximum non-frequency selection UE scheduling metric value
Step 103: if the scheduling metric value of the frequency selection UE is larger than or equal to the scheduling metric value of the non-frequency selection UE, distributing the current RBG to the frequency selection UE;
step 104: if the scheduling metric value of the frequency selection UE is smaller than the scheduling metric value of the non-frequency selection UE, distributing the current RBG to the non-frequency selection UE;
step 105: and judging whether the resources needed by the UE exist or not, if so, returning to the step 101, and if not, continuing to the step 106.
The downlink resource allocation method is carried out by taking RBGs (under the condition of 20M bandwidth, one RBG consists of 4 resource blocks RB) as a unit, and frequency resources under the 20M bandwidth comprise 25 RBG resources.
In order to realize that the RBG with the best channel quality is allocated firstly, the RBGs are required to be sorted according to the scheduling metric value of the frequency-selective UE before the RBGs are allocated to the UE. Therefore, before executing the step 101, a scheduling metric value of the frequency-selective UE in the UEs to be scheduled on each RBG needs to be calculated; and sequencing the RBGs according to the sequence from large to small of the scheduling metric value of the frequency selection UE with the maximum scheduling metric value on the RBGs.
Before step 101 is executed, a scheduling metric value of the UE to be scheduled is calculated by using a multi-user scheduling algorithm. Specifically, the scheduling metric values of the frequency-selective UE and the non-frequency-selective UE can be calculated by the following two algorithms.
Multiplying sub-band frequency spectrum efficiency of frequency selection UE in the UE to be scheduled by QoS metric value of the frequency selection UE, and calculating scheduling metric value of each frequency selection UE; and multiplying the broadband frequency spectrum efficiency of the non-frequency selection UE in the UE to be scheduled by the QoS metric value of the non-frequency selection UE to obtain the scheduling metric value of each non-frequency selection UE.
Multiplying the ratio of the QoS metric value of the frequency selection UE in the UE to be scheduled to the realized throughput by the sub-band frequency spectrum efficiency of the frequency selection UE to obtain the frequency selection scheduling metric value of each frequency selection UE; and multiplying the QoS metric value of the non-frequency selection UE in the UE to be scheduled by the realized throughput ratio and the broadband spectrum efficiency of the non-frequency selection UE to obtain the non-frequency selection scheduling metric value of each non-frequency selection UE.
In order to improve the priority of the UE with the GBR type services, the UE with the GBR type services obtains RBG resources in preference to the UE without the GBR type services. The downlink resource allocation method may further include: updating Resource Blocks (RBs) required for Guaranteed Bit Rate (GBR) services and RBs required for all services of the UE allocated to the resources, if the number of RBs required for the GBR services of the UE allocated to the resources is more than zero; the scheduling metric value of the UE allocated to the RBG is increased to a first preset value, and if the number of RBs required for the GBR service by the UE allocated to the resource is not greater than zero and the RBs required for all services are not greater than zero, the scheduling metric value of the UE allocated to the RBG is decreased to a second preset value.
The downlink resource allocation method is realized in the frequency domain scheduling stage of resource allocation. Before that, the scheduler selects the UE to be scheduled which meets the requirement, performs scheduling mode selection on the preselected UE in a time domain scheduling stage, and divides the preselected UE into retransmission UE, semi-static UE, frequency selection UE and non-frequency selection UE according to the scheduling mode. Because the priority level of the retransmission UE and the semi-static UE is highest, resources are preferentially allocated to the retransmission UE and the semi-static UE in the UE to be scheduled and occupied RBGs are marked, and the occupied RBGs can directly jump to the next RBG to continue allocation in the subsequent resource allocation process for the frequency selection UE and the non-frequency selection UE.
Example 2
Fig. 2 is a schematic diagram of a downlink resource allocation process in embodiment 2 of the present invention.
As shown in fig. 2, the method for allocating frequency selective and non-frequency selective resources may be specifically divided into the following stages: the method comprises a sorting stage of frequency selection UE on the RBG, a sorting stage of non-frequency selection UE and a sorting stage of RBG resources.
As shown in fig. 2, the frequency-selective queue 23 is a queue of frequency-selective UEs on the RBG1, and the queue is sorted from top to bottom in order of the scheduling metric of the UE from large to small. In the time domain scheduling stage, each frequency-selective UE calculates a group of scheduling metric values through a multi-user scheduling algorithm (for example, under a 20M bandwidth condition, including 25 sub-scheduling metric values corresponding to 25 RBG resources), on each RBG, all frequency-selective UEs are sorted according to the size of the sub-scheduling metric values on the RBG, and the sub-scheduling metric value of the frequency-selective UE at the head of the queue is used as the maximum frequency-selective UE scheduling metric value of the RBG, as shown in the figure, the frequency-selective UE2 is the frequency-selective UE with the largest scheduling metric value on the RBG 1.
As shown in fig. 2, the non-frequency-selective queue 24 sorts the non-frequency-selective UEs in order of descending scheduling metric. The stage is used for determining the resource allocation sequence of the non-frequency-selective UEs, in the time domain scheduling stage, each non-frequency-selective UE calculates a scheduling metric value through a multi-user scheduling algorithm, in the whole bandwidth range, all the non-frequency-selective UEs are sorted according to the scheduling metric values, and the scheduling metric value of the head non-frequency-selective UE is used as the maximum non-frequency-selective scheduling metric value, as shown in the figure, the non-frequency-selective UE3 is the non-frequency-selective UE with the maximum scheduling metric value.
The RBG queue 21 is an unsorted queue, and sorts all RBGs according to the scheduling metric of the maximum frequency-selective UE on the RBG, and the sorted queue is the queue 22 in fig. 2, which is used to determine the allocation order of the RBG resources.
The above three ordering processes need support of the scheduling metric value provided by the time domain scheduling stage, and specifically, the above-described calculation methods of the scheduling metric value of the two frequency-selective UEs and the algorithm of the scheduling metric value of the non-frequency-selective UE may be adopted, which are not described herein again.
When the resource allocation is carried out on the UE, the RBG queue which is sequenced by the method is traversed, the scheduling metric value of the frequency selection UE with the maximum scheduling metric value on the current RBG is compared with the scheduling metric value of the non-frequency selection UE with the maximum scheduling metric value, and then the corresponding resource is allocated. The specific process is as follows:
as shown in fig. 2, RBG resource allocation is performed from the head RBG1 of the RBG queue 22, and if an RBG1 is not occupied in resource allocation of a previously retransmitted UE or a semi-static UE, resource allocation is performed on an RBG1, and if the RBG is occupied previously, resource allocation is performed on the next RBG.
The scheduling metric value of the frequency-selected UE currently having the largest scheduling metric value on RBG1 is compared with the non-frequency-selected UE scheduling metric value having the largest current scheduling metric value, as shown in fig. 2, the scheduling metric values of the frequency-selected UE2 and the non-frequency-selected UE3 are compared. The number of the guarantee allocation RBs and the maximum allocation RB number are considered when the UE allocates the resources. In order to ensure that the GBR-type traffic of the UE can be preferentially allocated to the resources, it is further necessary to determine the parameters of the GBR-type traffic for the UE in the frequency-selective UE queue 23, and if only the frequency-selective UE3 has the GBR-type traffic in the queue through the determination, the frequency-selective UE3 is lifted to the head of the queue 23. Assuming that the result of comparing the scheduling metric values of the frequency-selective UE2 and the non-frequency-selective UE3 is that the scheduling metric value of the frequency-selective UE2 is greater than the scheduling metric value of the non-frequency-selective UE3, after the GBR-type service of the frequency-selective UE is determined, the frequency-selective UE3 located at the head of the frequency-selective UE queue 23 obtains RBG1 resources.
When resource allocation is performed on the RBG4, the frequency-selective UE3 located at the head of the frequency-selective UE queue 25 is compared with the non-frequency-selective UE3 located at the head of the non-frequency-selective queue 26, and if the comparison result shows that the scheduling metric value of the non-frequency-selective UE3 is greater than the scheduling metric value of the frequency-selective UE3, the non-frequency-selective UE has no GBR type service, so that the ordering position of the non-frequency-selective UE queue is unchanged, and the non-frequency-selective UE3 obtains RBG resources.
In the resource allocation process, if the first-in-line frequency selection UE has obtained enough resources in the previous allocation in a certain RBG allocation process, the scheduling metric value of the second-in-line UE on the RBG is used as the current maximum frequency selection UE scheduling metric value of the RBG. And if the non-frequency-selective UE at the head of the queue has obtained enough resources in the previous allocation in a certain RBG allocation process, the scheduling metric value of the UE at the second position is taken as the current maximum non-frequency-selective UE scheduling metric value.
When the GBR service of the frequently selected UE is determined, the number of RBs requiredrrbsforgbr required by the UE for the GBR-based service and the number of RBs requiredrrbsforall required by the UE for all services need to be updated. The specific updating method is that after the UE allocates the RBG resources, the number of RBs contained in the RBG under the current broadband is subtracted by the numerical values of the two parameters, and the two updated parameters are obtained. For example, under the 20M bandwidth condition, the RBG includes 4 RBs, so that the updated two parameters are the current two parameters minus 4. The number of the guarantee allocation RBs and the maximum allocation RB number are considered when the UE allocates the resources.
The specific processing procedure for judging the GBR-class service parameters of the frequency-selective UE may specifically include the following steps:
step 301: and traversing the sorted frequency selection UE queue or non-frequency selection UE queue when determining that the frequency selection UE or the non-frequency selection UE obtains a certain RBG allocation right.
Step 302: and judging whether the requiredRBsForGBR of the UE is more than 0.
If the requiredbsrforgbr of the UE is greater than 0, execute step 303: the scheduling metric value for the UE is increased. For a frequency-selective UE, the scheduling metric value of the UE on the current RBG may be multiplied by 1000. For non-frequency selective UEs, the scheduling metric value of the UE is multiplied by 1000.
If the requiredrbsForGBR of the UE is less than or equal to 0, go to step 304, and determine whether requiredrbsForAll is greater than zero. If requiredRBsForAll is greater than 0, go to step 305: keeping the scheduling metric value of the UE unchanged. And for frequency-selective UE, keeping the scheduling metric value of the UE on the RBG unchanged, and for non-frequency-selective UE, keeping the scheduling metric value of the UE unchanged.
If the requiredRBsForGBR of the UE is less than or equal to 0 and the requiredRBsForAll is less than or equal to 0, execute step 206: for the frequency-selective UE, the scheduling metric value of the UE on the RBG is reduced, for example, the scheduling metric value may be set to-1, and for the non-frequency-selective UE, the scheduling metric value of the UE is set to-1.
It should be noted that the processing of the metric values in the process, such as multiplying by 1000, keeping unchanged, and assigning a value of-1, are all available methods for distinguishing two types of UEs, and there are many ways to implement this distinction, and the present solution is only an example of the above method.
In the processing process, the scheduling metric value of the frequency-selective or non-frequency-selective UE for obtaining the RBG distribution weight is increased or decreased according to two parameters of requiredRBsForGBR and requiredRBsForAll. Therefore, the queues for obtaining the RBG distribution weights can be reordered according to the increased or decreased scheduling metric values of the UE, and the UE in the front of the ordering obtains the RBG distribution weights. And finally, judging whether the available resources are remained and whether the resources required by the UE exist, if so, carrying out the process on the next available RBG, and if not, ending the RBG distribution phase.
In this embodiment, when the frequency-selective UE competes for the allocation right of a certain RBG, the requiredbsrforgbr >0 UE is ranked in front of the requiredbsrforall >0 UE, so that the priority of the UE having GBR-class service is increased, and the UE having GBR-class service obtains RBG resources preferentially over the UE having no GBR-class service. Therefore, the resource allocation process has high efficiency and guarantees the fairness of allocation.
The downlink resource allocation method of the embodiment can be directly applied to the design of the scheduling algorithm of the base station system MAC layer scheduler, and can improve the efficiency and the rationality of resource scheduling.
Example 3
Fig. 4 is a block diagram of a downlink resource allocation apparatus according to embodiment 2 of the present invention.
As shown in fig. 4, the downlink resource allocation apparatus 30 includes the following components, and is configured to implement the downlink resource allocation method.
A comparing module 41, configured to compare a scheduling metric value of a frequency-selective UE with a maximum scheduling metric value on a current RBG among pre-calculated UEs to be scheduled;
a first allocating module 42, configured to allocate the current RBG to the frequency-selective UE when the comparison result of the comparing module is that the scheduling metric of the frequency-selective UE is greater than or equal to the scheduling metric of the non-frequency-selective UE;
and a second allocating module 43, configured to allocate the current RBG to the non-frequency-selective UE when the comparison result of the comparing module is that the scheduling metric value of the frequency-selective UE is smaller than the scheduling metric value of the non-frequency-selective UE.
In order to realize the best channel quality RBG is allocated first, the RBGs need to be sorted according to the size of the scheduling metric value before the RBGs are allocated to the UE. Based on this, the present embodiment further provides another downlink resource allocation apparatus, as shown in fig. 5, the RBG downlink resource allocation apparatus 50 includes the following components in addition to the components of the apparatus 40:
a first calculating module 51, configured to calculate scheduling metric values of frequency-selective UEs in UEs to be scheduled on resource blocks RBGs before comparing the pre-calculated scheduling metric value of the frequency-selective UE with the maximum scheduling metric value on a current RBG with a non-frequency-selective UE; and a first sorting module 52, configured to sort the RBGs according to a descending order of the scheduling metric of the frequency-selective UE with the largest scheduling metric on the RBGs.
Since the priority level of the retransmission UE and the semi-static UE is the highest, the RBGs may be preferentially allocated to the retransmission UE and the semi-static UE in the UEs to be scheduled before resource allocation is performed on the frequency-selective or non-frequency-selective UEs. Based on this, the above-described apparatus further comprises a third distribution module 53 for implementing this function.
In order to make the resource allocation of the UE more reasonable, the calculation of the scheduling metric of the UE to be scheduled needs to comprehensively consider the channel state of the user and the service requirement of the user. Therefore, as shown in fig. 6, the first calculation module 51 includes: a first calculating unit 61, configured to multiply a sub-band spectrum efficiency of frequency-selective UEs in the UEs to be scheduled by a QoS metric of the frequency-selective UEs, and calculate a scheduling metric of each frequency-selective UE; the second calculating unit 62 is configured to multiply the wideband spectrum efficiency of the non-frequency-selective UE in the UEs to be scheduled by the QoS metric of the non-frequency-selective UE to obtain a scheduling metric of each non-frequency-selective UE.
As shown in fig. 7, the first calculating module 51 may also include a third calculating unit 71, configured to multiply a ratio of a QoS metric of frequency-selective UEs in UEs to be scheduled to achieved throughput by a sub-band spectrum efficiency of the frequency-selective UEs, so as to obtain a scheduling metric of each frequency-selective UE; a fourth calculating unit 72, configured to multiply the ratio of the QoS metric of the non-frequency-selective UE in the to-be-scheduled UE to the achieved throughput by the wideband spectrum efficiency of the non-frequency-selective UE, so as to obtain a scheduling metric of each non-frequency-selective UE.
In order to improve the priority of the UE with the GBR type services, the UE with the GBR type services obtains RBG resources in preference to the UE without the GBR type services. As shown in fig. 8, the apparatus may further include an updating module 81, configured to update resource groups RB required for GBR services and RBs required for all services of the UEs that have been allocated to the resources; an increasing module 82 for increasing the scheduling metric value of the UE allocated to the RBG to a first preset value if the number of RBs required for the GBR service of the UE allocated to the resource is greater than zero, and a decreasing module 83 for decreasing the scheduling metric value of the UE allocated to the RBG to a second preset value if the number of RBs required for the GBR service of the UE allocated to the resource is not greater than zero and the RBs required for all services are not greater than zero.
The method and the device for allocating the downlink resources of the invention firstly sort the RBGs, so that the resource allocation can be started from the RBGs with better channel quality, and the users with higher service requirements can obtain the RBGs with better channel quality. And the scheduling metric values of the frequency selection UE and the non-frequency selection UE are comprehensively considered, so that the UE with better CQI can obtain the RBG with better channel quality. In addition, in the resource allocation, the number of RBs required by the UE for the GBR service and the number of RBs required by the UE for all services are also considered, so that the UE with the GBR type service can be ensured to preferentially acquire the RBG resources.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.