Summary of the invention
In view of this, the application provides a kind of user scheduling and resource allocation methods and device, same to realize
Time to normal TTI user and the scheduling of short TTI user and the distribution of resource.
A kind of user scheduling and resource allocation methods, including:
Judge that the TTI type of user to be dispatched, wherein said TTI type include normal TTI user and short
TTI user;
In the first time slot, when described in time dispatching user and be normal TTI user, use for described normal TTI
The resource of resource-area is preset in family distribution first, records described normal TTI user and presets resource-area described first
Resource occupation position;
In the first time slot, when described in time dispatching user and be short TTI user, divide for described short TTI user
Join the second resource presetting resource-area, record described short TTI user in the described second resource presetting resource-area
Engaged position
In the second time slot, when described in time dispatching user and be normal TTI user, according to institute in the first time slot
Stating normal TTI user is that described normal TTI user divides in the resource occupation position that described first presets resource-area
Join resource;
In the second time slot, when described in time dispatching user and be short TTI user, it is judged that described short TTI user
Type, the type of wherein said short TTI user includes retransmitting short TTI user and the short TTI user of new biography;
If described short TTI user is for retransmitting short TTI user, then based on the short TTI of re-transmission described in the first time slot
User, in the described second resource occupation position presetting resource-area, is the short TTI of described re-transmission in the second time slot
User resource allocation;
If described short TTI user is the short TTI user of new biography, then preset money based in the first time slot described second
The resource occupation position of source region, is described new biography short TTI user resource allocation in the second time slot.
Preferably, described described normal TTI user is recorded in the described first resource occupation position presetting resource-area
Put, the most also include:
Record described normal TTI user dispatching sequence in the first time slot.
Preferably, described in the second time slot, when described user to be dispatched is normal TTI user, afterwards also
Including:
Based on described normal TTI user dispatching sequence in the first time slot, determine described normal TTI user
Dispatching sequence in the second time slot.
Preferably, the type of the described short TTI user of described judgement, the most also include:
Determine the short TTI user of described re-transmission and the dispatching sequence of the short TTI user of described new biography, wherein said
The dispatching sequence retransmitting short TTI user has precedence over the dispatching sequence of the short TTI user of described new biography.
Preferably, after the described TTI type judging user to be dispatched, also include:
Set up normal TTI Subscriber Queue and short TTI Subscriber Queue;
According to normal TTI Subscriber Queue described in polling dispatching rule-based scheduling and the use in short TTI Subscriber Queue
Family.
A kind of user scheduling and resource allocation device, including:
First judging unit, for judging the TTI type of user to be dispatched, wherein said TTI type includes
Normal TTI user and short TTI user;
First resource allocation unit, in the first time slot, when described user to be dispatched is that normal TTI uses
During family, distribute the first resource presetting resource-area for described normal TTI user, record described normal TTI and use
Family is in the described first resource occupation position presetting resource-area;
Secondary resource allocation unit, in the first time slot, when described user to be dispatched is short TTI user
Time, distribute the second resource presetting resource-area for described short TTI user, record described short TTI user in institute
State the second resource occupation position presetting resource-area
Information resources allocation unit, in the second time slot, when described user to be dispatched is that normal TTI uses
During family, according to normal TTI user described in the first time slot in the resource occupation position that first presets resource-area it is
Described normal TTI user resource allocation;
Second judging unit, in the second time slot, when described in time dispatching user and be short TTI user,
Judge the type of described short TTI user, the type of wherein said short TTI user include retransmitting short TTI user with
And the short TTI user of new biography;
4th resource allocation unit, if for described short TTI user for retransmitting short TTI user, then based on the
In one time slot, the short TTI user of described re-transmission is in the described second resource occupation position presetting resource-area, second
It is described re-transmission short TTI user resource allocation in time slot;
5th resource distribution unit, in the second time slot, if described short TTI user is the short TTI of new biography
User, then preset the resource occupation position of resource-area, at the second time slot based in the first time slot described second
Interior is described new biography short TTI user resource allocation.
Preferably, also include: dispatching sequence records unit, record described normal TTI user at the first time slot
Interior dispatching sequence.
Preferably, also include: the first dispatching sequence determines unit, based on described normal TTI user first
Dispatching sequence in time slot, determines described normal TTI user dispatching sequence in the second time slot.
Preferably, also include: the second dispatching sequence determines unit, be used for determining the short TTI user of described re-transmission
And the dispatching sequence of the described short TTI user of new biography, the dispatching sequence of the short TTI user of wherein said re-transmission is excellent
Dispatching sequence prior to the short TTI user of described new biography.
Preferably, also include
Unit is set up in queue, is used for setting up normal TTI Subscriber Queue and short TTI Subscriber Queue;
Scheduling user choose unit, for according to TTI Subscriber Queue normal described in polling dispatching rule-based scheduling with
And the user in short TTI Subscriber Queue.
Through as shown from the above technical solution, this application discloses a kind of user scheduling and resource allocation methods and
Device.The method first determines whether the TTI type of user to be dispatched.And then, in the first time slot, when waiting to dispatch
When user is normal TTI user, distributing the first resource presetting resource-area for this user, user to be dispatched is
During short TTI user, distribute the second resource presetting resource-area for this user, and the resource recording this user accounts for
Use position.In the second time slot, if user to be dispatched is normal TTI user, then according in the first time slot just
Often the resource occupation position of TTI user is this user resource allocation.If in time dispatching user and be short TTI user,
Then determine whether that this short TTI user is to retransmit short TTI user or the short TTI user of new biography.When short for retransmitting
During TTI user, then it is that this user divides according to the resource occupation position of the short TTI user of this re-transmission in the first time slot
Join resource;As TTI user short for new biography, then account for based on the second resource presetting resource-area in the first time slot
With position, it is this user resource allocation in the second time slot.The present invention can support simultaneously short TTI user and
The scheduling of normal TTI user and resource distribution, have compatibility.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
See Fig. 1 and show a kind of user scheduling and resource allocation methods disclosed in one embodiment of the invention
Schematic flow sheet.
As shown in Figure 1, the method includes:
S101: judge the TTI type of user to be dispatched, wherein said TTI type include normal TTI user with
And short TTI user.
Described user to be dispatched includes normal TTI user and short TTI user.Wherein, normal TTI user
A subframe include the time slot of 2 0.5ms, and short TTI user subframe includes 1 0.5ms time slot.
It is normal TTI user or short subframe comprises the number of time slot to distinguish this user in the present invention
TTI user.
S102: in the first time slot, when described wait dispatch user be normal TTI user time, for described normally
TTI user distributes the first resource presetting resource-area, records described normal TTI user and presets described first
The resource occupation position of resource-area.
S103: in the first time slot, when described in time dispatching user and be short TTI user, for described short TTI
User distributes the second resource presetting resource-area, records described short TTI user and presets resource-area described second
Resource occupation position.
It is respectively normal TTI user in the present invention and short TTI user has divided different resource-areas.For
In time dispatching user resource allocation, first determine whether the TTI type of this user to be dispatched, treat that scheduling is used according to this
The TTI type at family is the resource that user distributes different resource district.Such as, it is normal TTI user as this user
Time, distribute the first resource presetting resource-area for this user, when this user is short TTI user, for this use
The resource of resource-area is preset in family distribution second.
S104: in the second time slot, when described in time dispatching user and be normal TTI user, during according to first
In gap, described normal TTI user is described normal TTI in the resource occupation position that described first presets resource-area
User resource allocation.
One subframe of normal TTI user includes the time slot of 2 0.5ms, thus the transmission of normal TTI user
Need to complete in 2 time slots.
S105: in the second time slot, when described in time dispatching user and be short TTI user, it is judged that described short TTI
The type of user, the type of wherein said short TTI user includes retransmitting the short TTI user of TTI and new biography is short
TTI user.
A subframe due to normal TTI user includes the time slot of 2 0.5ms, thus normal TTI user
Transmission needs to complete in 2 time slots, and short TTI user subframe only includes the time slot of 1 0.5ms,
Thus short TTI user can complete transmission in a time slot.
A subframe due to short TTI user only includes the time slot of 1 0.5ms, thus in the second time slot
Short TTI user can be to retransmit short TTI user and the short TTI user of new biography.The short TTI user of so-called re-transmission refers to
The short TTI user of bust this in the first time slot.
S106: if described short TTI user for retransmitting short TTI user, then based on described heavy in the first time slot
Pass short TTI user in the described second resource occupation position presetting resource-area, be described heavy in the second time slot
Pass short TTI user resource allocation.
Time in the second time slot for retransmitting short TTI user resource allocation, can refer to this re-transmission in the first time slot
TTI user is in the second resource occupation position presetting resource-area, to ensure in the first time slot and when second
In gap, it is identical that the short TTI user of this re-transmission presets the resource occupation position of resource-area second.
S107: if described short TTI user is the short TTI user of new biography, then based in the first time slot described second
Preset the resource occupation position of resource-area, be described new biography short TTI user resource allocation in the second time slot.
In the present invention, in order to produce unnecessary resource fragmentation, when this short TTI user is the short TTI of new biography
During user, first second in the first time slot is preset resource-area and makes a look up, and accounts in obtaining the first time slot
The second first resource position presetting resource-area.And then, by the second time slot, with first resource position
Put the second idling-resource position resource distribution location as the short TTI user of new biography of correspondence.Preferably,
Preset, second, the first resource position that resource-area takies short as new biography according to first short TTI user
The resource distribution location of TTI user.Wherein, when the inadequate resource that this second idling-resource position is corresponding,
Then continue to search for next idling-resource position.
As, in the first time slot, short TTI user second preset the resource location that resource-area takies be A,
B, C, then using resource location D corresponding with resource location A in the second time slot as the short TTI user of new biography
Resource distribution location.Wherein, when resource location D inadequate resource, then by the second time slot and resource
Resource-niche E corresponding for position B is as the resource distribution location of the short TTI user of new biography.
Through as shown from the above technical solution, this application discloses a kind of user scheduling and resource allocation methods.
The method first determines whether the TTI type of user to be dispatched.And then, in the first time slot, when user to be dispatched is
During normal TTI user, distributing the first resource presetting resource-area for this user, user to be dispatched is short TTI
During user, distribute the second resource presetting resource-area for this user, and record the resource occupation position of this user
Put.In the second time slot, if user to be dispatched is normal TTI user, then according to TTI normal in the first time slot
The resource occupation position of user is this user resource allocation.If in time dispatching user and be short TTI user, then entering
One step judges that this short TTI user is to retransmit short TTI user or the short TTI user of new biography.When for retransmitting short TTI
During user, then it is that this user distributes money according to the resource occupation position of the short TTI user of this re-transmission in the first time slot
Source;As TTI user short for new biography, then according to the in the first time slot second idling-resource position presetting resource-area
Put, for this user resource allocation.The present invention can support short TTI user and the tune of normal TTI user simultaneously
Degree and resource distribution, have compatibility.
As seen from the above embodiment, this application discloses a kind of user scheduling and resource allocation methods.The party
Method is user resource allocation to be dispatched according to default resource allocation methods in the first time slot, and records money
The engaged position in source.Time in the second time slot, when user is normal TTI user, or user is short TTI
User, and for retransmitting user constantly, then according to this user resource occupation position in the first time slot for should
User resource allocation.When user is new biography TTI user, then in being based on the first time slot described second
Preset the resource occupation position of resource-area, be this user resource allocation in the second time slot.The present invention is simultaneously
Support short TTI user and the scheduling of normal TTI user and resource distribution, there is compatibility.
It should be noted that user scheduling and resource distribution not only need to consider the dispensing position of resource,
Also need to consider the dispatching sequence of user.
To this end, a kind of user scheduling and resource allocation methods are from resource disclosed in another embodiment of the present invention
How distribution and dispatching sequence two aspect introduction realize the compatibility of normal TTI user and short TTI user is asked
Topic.
See Fig. 2 and show a kind of user scheduling and resource distribution side disclosed in another embodiment of the present invention
The schematic flow sheet of method.
As shown in Figure 2, the method includes:
S201: judge the TTI type of user to be dispatched, wherein said TTI type include normal TTI user with
And short TTI user.
Optionally, normal TTI Subscriber Queue and short TTI team can be set up according to the TTI type of user to be dispatched
Row.And then dispatch described normal TTI Subscriber Queue and short TTI user team successively according to polling dispatching rule
User in row.Described polling dispatching rule refers to, in turn to dispatch described normal TTI Subscriber Queue and
User in short TTI Subscriber Queue.
S202: in the first time slot, distributes the first resource presetting resource-area, record for normal TTI user
Normal TTI user's scheduling in the described first resource occupation position presetting resource-area and normal TTI user is suitable
Sequence.
S203: in the first time slot, distributes the second resource presetting resource-area for short TTI user, records institute
State short TTI user in the described second resource occupation position presetting resource-area.
S204: in the second time slot, presets resource-area according to TTI user normal in the first time slot first
Resource occupation position is normal TTI user resource allocation, and based on normal TTI user in the first time slot
Dispatching sequence, determines normal TTI user dispatching sequence in the second time slot.
S205: in the second time slot, when in time dispatching user and be short TTI user, it is judged that short TTI user's
Type, the type of wherein said short TTI user includes retransmitting the short TTI user of TTI and the short TTI user of new biography.
S206: determine the short TTI user of described re-transmission and the dispatching sequence of the short TTI user of described new biography.
Preferably, in the second time slot, the dispatching sequence of the short TTI user of described re-transmission has precedence over described new biography
The dispatching sequence of short TTI user.Currently, in other embodiments disclosed by the invention user also dependent on from
Body needs to arrange the priority of dispatching sequence.
S207: if described short TTI user is for retransmitting short TTI user, then according to re-transmission described in the first time slot
Short TTI user, in the second resource occupation position presetting resource-area, is that described re-transmission is short in the second time slot
TTI user resource allocation.
S208: if described short TTI user is the short TTI user of new biography, then based in the first time slot described
The two resource occupation positions presetting resource-area, distribute money for the short TTI user of described new biography in the second time slot
Source.
See Fig. 3 and show a kind of user scheduling disclosed in another embodiment of the present invention and resource distribution dress
The structural representation put.
From the figure 3, it may be seen that this device includes: the first judging unit 1, first resource allocation unit 2, second
Resource allocation unit 3, information resources allocation unit the 4, second judging unit the 5, the 4th resource allocation unit
6 and the 5th resource allocation unit 7.
First judging unit 1, for judging the TTI type of user to be dispatched, wherein said TTI type includes
Normal TTI user and short TTI user.
One subframe of normal TTI user includes the time slot of 2 0.5ms, and short TTI user subframe
Including 1 0.5ms time slot.
It is normal TTI user or short subframe comprises the number of time slot to distinguish this user in the present invention
TTI user.
First resource allocation unit 2 is connected with the first judging unit 1, in the first time slot, when described
In time dispatching user and be normal TTI user, distribute the first money presetting resource-area for described normal TTI user
Source, records described normal TTI user in the described first resource occupation position presetting resource-area.
Secondary resource allocation unit 3 is connected with the first judging unit 1, in the first time slot, when described
In time dispatching user and be short TTI user, distribute the second resource presetting resource-area for described short TTI user,
Record described short TTI user in the described second resource occupation position presetting resource-area.
It is respectively normal TTI user in the present invention and short TTI user has divided different resource-areas.For
In time dispatching user resource allocation, first determine whether the TTI type of this user to be dispatched, treat that scheduling is used according to this
The TTI type at family is the resource that user distributes different resource district.Such as, it is normal TTI user as this user
Time, distribute the first resource presetting resource-area for this user, when this user is short TTI user, for this use
The resource of resource-area is preset in family distribution second.
Information resources allocation unit 4 is connected with described first resource allocation unit 2, is used in the second time slot,
When described in time dispatching user and be normal TTI user, according to normal TTI user described in the first time slot the
The one resource occupation position presetting resource-area is described normal TTI user resource allocation.
When information resources allocation unit 4 is normal TTI user resource allocation in the second time slot, can refer to
This normal TTI user is in the described first resource occupation position presetting resource-area in one time slot, to ensure the
In one time slot and in the second time slot, this normal TTI user is in the first resource occupation position presetting resource-area
Identical.
Second judging unit 5 is connected 3 with Secondary resource allocation unit, in the second time slot, when described
In time dispatching user and be short TTI user, it is judged that the type of described short TTI user, wherein said short TTI user
Type include retransmitting the short TTI user of TTI and the short TTI user of new biography;
4th resource allocation unit 6 is connected with the second judging unit 5, is used in the second time slot, if described
Short TTI user is for retransmitting short TTI user, then according to the short TTI user of re-transmission described in the first time slot described the
The two resource occupation positions presetting resource-area are described re-transmission short TTI user resource allocation.
Time in the second time slot for retransmitting short TTI user resource allocation, the 4th resource allocation unit can refer to the
This re-transmission TTI user is in the second resource occupation position presetting resource-area in one time slot, to ensure when first
In gap and in the second time slot, the short TTI user of this re-transmission is in the second resource occupation position phase presetting resource-area
With.
5th resource distribution unit 7 and the second judging unit 5, is used in the second time slot, if described short TTI
User is the short TTI user of new biography, then preset the resource occupation position of resource-area based in the first time slot described second
Put, be described new biography short TTI user resource allocation in the second time slot.
See Fig. 4 and show a kind of user scheduling disclosed in another embodiment of the present invention and resource distribution dress
The structural representation put.
As shown in Figure 4, this device includes: the first judging unit 1, first resource allocation unit 2, second
Resource allocation unit 3, information resources allocation unit the 4, second judging unit the 5, the 4th resource allocation unit
6, the 5th resource allocation unit 7, dispatching sequence record unit the 8, first dispatching sequence determine unit 9,
Two dispatching sequences determine unit 10.
Wherein, dispatching sequence records unit 8 and is connected with first resource allocation unit 2, is used for recording normal TTI
User dispatching sequence in the first time slot.
First dispatching sequence determines that unit 9 records unit 8 and is connected with dispatching sequence, for using according to normal TTI
Family dispatching sequence in the first time slot, determines normal TTI user dispatching sequence in the second time slot.Excellent
Choosing, normal TTI user dispatching sequence in the first time slot and the dispatching sequence's phase in the second time slot
With.
Second dispatching sequence determines that unit 10 is connected with the second judging unit 5, is used for determining that described re-transmission is short
TTI user and the dispatching sequence of the short TTI user of described new biography, the scheduling of the short TTI user of wherein said re-transmission
Order has precedence over the dispatching sequence of the short TTI user of described new biography, for new user then according to packet scheduling algorithm
It is ranked up.
It should be noted that in other embodiments disclosed by the invention, this device also includes that queue is set up
Unit 11 and scheduling user choose unit 12.
Wherein, queue set up unit 11 be connected with the first judging unit for set up normal TTI Subscriber Queue with
And short TTI Subscriber Queue.
Scheduling user chooses unit 12 and sets up unit with queue and be connected, is used for transferring according to polling dispatching rule
User in described normal TTI Subscriber Queue and short TTI Subscriber Queue.
It should be noted that this device embodiment is corresponding with embodiment of the method, it performs process and performs former
Managing identical, therefore not to repeat here.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, thus
Make to include that the process of a series of key element, method, article or equipment not only include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's equipment is intrinsic.In the case of there is no more restriction, by statement " including ... "
The key element limited, it is not excluded that also deposit in including the process of described key element, method, article or equipment
In other identical element.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.