Detailed Description
The method comprises the steps that when at least two user terminals to be scheduled exist currently, a current scheduling algorithm is selected according to user channel condition information of the user terminals to be scheduled; and then scheduling the user terminal to be scheduled by utilizing the current scheduling algorithm. The user channel condition information may be information characterizing or reflecting the user channel quality, such as a signal-to-noise ratio, a user rate, or the like.
Referring to fig. 4, a method of an embodiment of the present invention includes the steps of:
step 401: and when at least two user terminals to be scheduled exist currently, selecting a current scheduling algorithm according to the user channel condition information of the user terminals to be scheduled.
Step 402: and scheduling the user terminal to be scheduled by utilizing the current scheduling algorithm.
In the embodiment of the invention, when the quality difference of user channels is large, a maximum C/I algorithm can be adopted as a current scheduling algorithm; when the user channel quality is good, a round robin algorithm can be adopted as the current scheduling algorithm; when the user channel quality is poor, the PF algorithm can be adopted as the current scheduling algorithm; when the distribution is uniform, the maximum C/I algorithm, the PF algorithm and the polling algorithm can be adopted as the current scheduling algorithm in sequence by utilizing the large-area polling strategy.
The following describes an implementation manner of selecting a current scheduling algorithm, taking the user channel condition information as the signal-to-noise ratio as an example:
if the snr of each ue to be scheduled is smaller than the set first snr threshold, that is, the channel quality of the current user is better, the polling algorithm may be selected as the current scheduling algorithm.
If the signal-to-noise ratio of each user terminal to be scheduled is greater than the set second signal-to-noise ratio threshold, that is, the channel quality of the current user is poor, the PF algorithm may be selected as the current scheduling algorithm.
If the signal-to-noise ratio of each user terminal to be scheduled is uniformly distributed, that is, the signal-to-noise ratios of the user terminals to be scheduled are distributed in a set interval, the maximum C/I algorithm, the PF algorithm and the polling algorithm can be sequentially adopted as the current scheduling algorithm by using the large-area polling strategy.
The signal-to-noise ratio of a part of user terminals to be scheduled is greater than a set third signal-to-noise ratio threshold, the signal-to-noise ratios of the rest of user terminals to be scheduled are less than a set fourth signal-to-noise ratio threshold, the fourth signal-to-noise ratio threshold is greater than the third signal-to-noise ratio threshold, the signal-to-noise ratios of the user terminals to be scheduled are distributed unevenly, the quality difference of user channels is large, and then a maximum C/I algorithm can be adopted as the current scheduling algorithm.
Of course, in the embodiment of the present invention, the sizes of the first signal-to-noise ratio threshold, the second signal-to-noise ratio threshold, the third signal-to-noise ratio threshold, and the fourth signal-to-noise ratio threshold are not specifically limited, and may be selected according to an actual simulation result. Such as: in the actual operation process, one signal-to-noise ratio threshold value may be used for dividing the region, or a plurality of signal-to-noise ratio threshold values may be used for dividing the region, and when a plurality of signal-to-noise ratio threshold values are used, the first signal-to-noise ratio threshold value may be greater than the second signal-to-noise ratio threshold value, may also be smaller than the second signal-to-noise ratio threshold value, or may also be equal to the second signal.
The following takes two snr thresholds and the second snr threshold is greater than the first snr threshold as an example to specifically describe the specific implementation process of the present invention.
In the embodiment of the invention, two signal-to-noise ratio threshold values SIR1 and SIR2 are adopted, SIR1 is a first signal-to-noise ratio threshold value, SIR2 is a second signal-to-noise ratio threshold value, SIRUE is the signal-to-noise ratio of a user terminal, the signal-to-noise ratio is divided into three regions, SIRUE < SIR1 is a region,SIRUE 1 < SIRUE < SIR2 is a region, SIRUE > SIR2 is a region, the user terminal is divided into three groups according to the signal-to-noise ratio, the first region corresponds to a first group, the second region corresponds to a second group.
| A region | SIRUE<SIR1 |
| Two zones | SIR1<SIRUE<SIR2 |
| Three zones | SIRUE>SIR2 |
TABLE 1
Therefore, in this embodiment, selecting the current scheduling algorithm according to the user channel condition information of the user terminal to be scheduled may be implemented as follows: determining the grouping condition of the user terminal to be scheduled according to the signal-to-noise ratio; and determining a current scheduling algorithm according to the grouping condition of the user terminal to be scheduled.
Such as: if the user channel condition information is the signal-to-noise ratio, when the user terminals in a base station are divided into three groups according to the signal-to-noise ratio in advance, the three groups are respectively a first group, a second group and a third group, the signal-to-noise ratio of the first group is smaller than that of the second group, and the signal-to-noise ratio of the second group is smaller than that of the third group.
Then, the specific process of determining the current scheduling algorithm is as follows:
if the user terminal to be scheduled currently belongs to the first group and the third group respectively, selecting a maximum C/I algorithm as a current scheduling algorithm;
if the user terminals to be scheduled currently belong to the second group and the third group respectively, selecting a PF algorithm as a current scheduling algorithm;
if the user terminal users to be scheduled currently belong to the first group and the second group respectively, selecting a polling algorithm as a current scheduling algorithm;
if the user terminal users to be scheduled belong to the same group, selecting a PF algorithm as a current scheduling algorithm;
if the user terminal users to be scheduled currently belong to the first group, the second group and the third group respectively, the maximum C/I algorithm, the PF algorithm and the polling algorithm are adopted as the current scheduling algorithm in sequence by utilizing the large-area polling strategy.
The following describes in detail a specific process for implementing resource scheduling in this embodiment, with reference to table 1 and fig. 5:
step 501: and initializing parameter values of a resource set, channel conditions, service types and the like which can be scheduled in the current time slot.
Step 502: and dividing the user terminals in the base station into a plurality of groups according to the signal-to-noise ratio of the user terminals, and entering a preset queue to wait for scheduling.
Step 503: when the current time slot is idle and a plurality of users in the queue wait for scheduling at the same time, selecting a scheduling algorithm according to the following mode:
(1) when the signal-to-noise ratios of the user terminals are distributed in a first area and a third area, namely the user terminals waiting for scheduling belong to a first group and a third group, the channel quality difference between the user terminals is large, the modulation coding mode difference is large, so that the instantaneous rate difference between the user terminals is large, and therefore, in order to ensure the system throughput, a maximum C/I algorithm is adopted as the current scheduling algorithm;
(2) when the signal-to-noise ratio of the user terminals is distributed in a second area and a third area, namely the user terminals waiting for scheduling belong to a second group and a third group, the user channel quality is poor, but the difference of the user channel quality is small, the difference of modulation and coding modes between users is small, and the difference of instantaneous rates between the users is small, so that a PF algorithm is adopted as the current scheduling algorithm, and the aim of balancing the system throughput and the fairness is fulfilled;
(3) the signal-to-noise ratio of the user terminal is distributed in a first zone and a second zone, namely the user terminal waiting for scheduling belongs to a first group and a second group, the user channel quality is better, but the rate difference between the user terminals is smaller, and the information quantity transmitted by the adopted modulation coding mode is larger, so that the polling algorithm is adopted as the current scheduling algorithm, and the fairness of the user is ensured;
(4) when the signal-to-noise ratios of the user terminals are distributed in the same area, namely the user terminals to be scheduled belong to the same group, the PF algorithm is adopted as the current scheduling algorithm, and the aim is to balance the throughput and fairness of the system;
(5) the signal-to-noise ratios of the user terminals are distributed in three areas, namely, the user terminals to be scheduled belong to a first group, a second group and a third group, so that a large-area polling strategy is adopted to sequentially adopt a maximum C/I algorithm, a PF algorithm and a polling algorithm as a current scheduling algorithm.
Step 504: and when the user terminal to be scheduled in the queue is scheduled according to the scheduling algorithm selected in thestep 503, determining the scheduling priority among the services according to the services applied by the user terminal.
Step 505: according to the service quality (QoS) request of the user terminal, allocating resources for the high priority service of the user terminal, and when the current system resources are left, allocating the resources to other services applied by the user terminal or scheduling the user terminal with the next priority.
Of course, in this embodiment, the ues in a base station may be grouped again according to the user channel status information according to the set time period. The priority of the wireless resource used by the user is changed along with the change of the channel condition of the user, the belonged grouping possibly changes, and then a corresponding algorithm can be selected, so that the throughput of the whole cell is improved, and certain fairness can be considered at the same time.
It should be noted that the number of the thresholds is different, which causes the number of the snr regions to be different, but the idea of selecting the corresponding scheduling algorithm according to different groups is the same, and therefore, the details are not described herein.
Referring to fig. 6, a resource scheduling apparatus provided in an embodiment of the present invention includes: an algorithm selection unit 61 and a scheduling unit 62. Wherein,
an algorithm selecting unit 61, configured to select a current scheduling algorithm according to user channel condition information of at least two user terminals to be scheduled when the at least two user terminals to be scheduled currently exist;
and a scheduling unit 62, configured to schedule the user terminal to be scheduled by using the current scheduling algorithm.
The user channel condition information may include a signal-to-noise ratio or a user rate.
The algorithm selecting unit 61 may be configured to select a polling algorithm as the current scheduling algorithm if the snr of each to-be-scheduled user terminal is less than a set first snr threshold when the user channel condition information is the snr.
The algorithm selecting unit 61 may be configured to, when the user channel condition information is a signal-to-noise ratio, select a PF algorithm as the current scheduling algorithm if the signal-to-noise ratio of each user terminal to be scheduled is greater than a set second signal-to-noise ratio threshold.
The algorithm selecting unit 61 may be configured to, when the user channel condition information is a signal-to-noise ratio, if the signal-to-noise ratio of each to-be-scheduled user terminal is uniformly distributed, use a large-area polling policy to respectively adopt a maximum C/I algorithm, a PF algorithm, and a polling algorithm as a current scheduling algorithm.
The algorithm selecting unit 61 may be configured to, when the user channel condition information is a signal-to-noise ratio, if the signal-to-noise ratios of a part of the user terminals to be scheduled are all greater than a set third signal-to-noise ratio threshold, and the signal-to-noise ratios of the remaining user terminals to be scheduled are all less than a set fourth signal-to-noise ratio threshold, adopt a maximum C/I algorithm as the current scheduling algorithm.
As another embodiment, the algorithm selecting unit 61 may include: a grouping determination unit and an algorithm determination unit.
A grouping determining unit, configured to determine a grouping situation to which the user terminal to be scheduled belongs according to the user channel condition information;
and the algorithm determining unit is used for determining the current scheduling algorithm according to the grouping condition of the user terminal to be scheduled.
The grouping determination unit may be configured to select a maximum C/I algorithm as the current scheduling algorithm if the current user terminal to be scheduled belongs to the first group and the third group, respectively; if the user terminals to be scheduled currently belong to the second group and the third group respectively, selecting a PF algorithm as a current scheduling algorithm; if the user terminal users to be scheduled currently belong to the first group and the second group respectively, selecting a polling algorithm as a current scheduling algorithm; if the user terminal users to be scheduled belong to the same group, selecting a PF algorithm as a current scheduling algorithm; if the user terminal users to be scheduled currently belong to the first group, the second group and the third group respectively, the maximum C/I algorithm, the PF algorithm and the polling algorithm are adopted as the current scheduling algorithm by utilizing the large-area polling strategy respectively.
The grouping determining unit may be configured to determine, according to a set time period and according to the user channel condition information, a grouping situation to which the user terminal to be scheduled belongs.
Fig. 7 is a schematic diagram illustrating comparison of average throughput of simulated cells in four algorithms, and fig. 8 is a schematic diagram illustrating comparison of user received data amount in four algorithms. Referring to fig. 7 and 8, in the scheduling algorithm based on region partition according to the embodiment of the present invention, compared with the round-robin algorithm, the maximum C/I algorithm, and the PF algorithm, a higher throughput and a better fairness are obtained than the round-robin algorithm and the PF algorithm.
Fig. 9a to 9d are simulation diagrams illustrating the successful receiving of data amount by a user in four algorithms. It can be seen from fig. 9a to 9d that the region division algorithm has a larger average throughput than the other two algorithms. Under the polling algorithm, the data volume received by all users in the cell is the minimum, the data volume received by the PF algorithm is more than that received by polling, the data volume received by the area division algorithm is more than that received by the PF algorithm, and the data volume received by the users in the cell is the maximum C/I algorithm. However, it can be seen that the scheduling algorithm based on region division according to the embodiment of the present invention obtains better fairness. Therefore, simulation results show that the scheduling algorithm based on the region division ensures fairness and improves system throughput.
Therefore, the scheduling method of the embodiment of the invention selects different scheduling algorithms according to different channel conditions of the current user, and the priority of the user terminal may change along with the different channel conditions of the current user. When the difference of the user channel quality is large, the maximum C/I algorithm is adopted as the current scheduling algorithm; when the user channel quality is good, adopting a round robin algorithm as a current scheduling algorithm; when the user channel quality is poor, adopting a PF algorithm as a current scheduling algorithm; when the distribution is uniform, a large-area polling strategy is utilized to sequentially adopt a maximum C/I algorithm, a PF algorithm and a polling algorithm as a current scheduling algorithm. Therefore, the throughput of the whole cell can be improved, and certain fairness can be considered at the same time.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.