Summary of the invention
In view of this, the application provides a kind of user scheduling and resource allocation methods and device, to realize simultaneously to normal
The scheduling of TTI user and short TTI user and the distribution of resource.
A kind of user scheduling and resource allocation methods, comprising:
The TTI type of user to be dispatched is judged, wherein the TTI type includes normal TTI user and short TTI user;
It is that user to be dispatched distributes resource according to default resource allocation methods, record is described wait dispatch in the first time slot
Resource occupation position of the user in the first time slot;
In the second time slot, when described when dispatching user is normal TTI user, according to the normal TTI user the
Resource occupation position in one time slot is that the normal TTI user distributes resource;
In the second time slot, the type of the short TTI user is judged when dispatching user is short TTI user when described,
Described in the type of short TTI user include retransmitting short TTI user and the short TTI user of new biography;
If the short TTI user is to retransmit short TTI user, short TTI user is retransmitted in the first time slot according to described
Resource occupation position is that the short TTI user of re-transmission distributes resource;
If the short TTI user is the short TTI user of new biography, the resource occupation position based on short TTI user in the first time slot
It sets, is that the short TTI user of the new biography distributes resource in the second time slot.
Preferably, described to distribute resource according to default resource allocation methods for user to be dispatched, later further include:
Record the dispatching sequence of the user to be dispatched in the first time slot.
Preferably, described in the second time slot, when the user to be dispatched be normal TTI user, later further include:
Dispatching sequence based on the normal TTI user in the first time slot determines the normal TTI user at second
Dispatching sequence in gap.
Preferably, the type of the judgement short TTI user, later further include:
The dispatching sequence of the short TTI user of the re-transmission and the short TTI user of the new biography are determined, wherein the re-transmission is short
Dispatching sequence of the dispatching sequence of TTI user prior to the short TTI user of the new biography.
Preferably, the TTI type for judging user to be dispatched, wherein the TTI type include normal TTI user and
After short TTI user, further includes:
Establish normal TTI Subscriber Queue and short TTI Subscriber Queue;
User in normal TTI Subscriber Queue and short TTI Subscriber Queue according to polling dispatching rule-based scheduling.
A kind of user scheduling and resource allocation device, comprising:
First judging unit, for judging the TTI type of the user to be dispatched, wherein the TTI type includes normal
TTI user and short TTI user;
First resource allocation unit, for being user to be dispatched point according to default resource allocation methods in the first time slot
With resource, and record the resource occupation position of the user to be dispatched in the first time slot;
Secondary resource allocation unit, for when described when dispatching user is normal TTI user, pressing in the second time slot
It is that the normal TTI user distributes resource according to resource occupation position of the normal TTI user in the first time slot;
Second judgment unit is used in the second time slot, when described when dispatching user is short TTI user, is judged described short
The type of TTI user, wherein the type of the short TTI user includes retransmitting the short TTI user of TTI and the short TTI user of new biography;
It is short according to the re-transmission if information resources allocation unit is to retransmit short TTI user for the short TTI user
TTI user is that the short TTI user of re-transmission distributes resource in the second time slot in the resource occupation position in the first time slot;
4th resource allocation unit, if being the short TTI user of new biography for the short TTI user, based in the first time slot
The resource occupation position of short TTI user is that the short TTI user of the new biography distributes resource in the second time slot.
Preferably, further includes: dispatching sequence's recording unit, for recording the tune of the user to be dispatched in the first time slot
Degree sequence.
Preferably, further includes: first dispatching sequence's determination unit, based on the normal TTI user in the first time slot
Dispatching sequence determines dispatching sequence of the normal TTI user in the second time slot.
Preferably, further includes: second dispatching sequence's determination unit described retransmits short TTI user and described for determining
The dispatching sequence of the short TTI user of new biography, wherein the dispatching sequence for retransmitting short TTI user uses prior to the short TTI of the new biography
The dispatching sequence at family.
Preferably, further include
Unit is established in queue, for establishing normal TTI Subscriber Queue and short TTI Subscriber Queue;
User's selection unit is dispatched, for choosing the normal TTI Subscriber Queue and short TTI according to polling dispatching rule
User in Subscriber Queue is as the user to be dispatched.
As can be seen from the above technical solutions, this application discloses a kind of user scheduling and resource allocation methods and device.It should
Method is that user to be dispatched distributes resource, and records the occupancy position of resource according to preset resource allocation methods in the first time slot
It sets.When in the second time slot, when user is normal TTI user or user is short TTI user, and when being retransmission user, then according to
It is that the user distributes resource according to resource occupation position of the user in the first time slot.When user is new biography TTI user, then base
In the resource occupation position of TTI user short in the first time slot, resource is distributed for the user in the second time slot.The present invention props up simultaneously
The scheduling and resource allocation of short TTI user and normal TTI user are held, there is compatibility.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Show referring to the process that Fig. 1 shows a kind of scheduling of user disclosed in one embodiment of the invention and resource allocation methods
It is intended to.
As shown in Figure 1, this method comprises:
S101: judging the TTI type of user to be dispatched, wherein the TTI type includes normal TTI user and short TTI
User.
It is described wait dispatch in user include normal TTI user and short TTI user.Wherein, the son of normal TTI user
Frame includes the time slot of 2 0.5ms, and the subframe of short TTI user includes 1 0.5ms time slot.
Distinguishing the user in the present invention with the number in subframe comprising time slot is normal TTI user or short TTI user.
S102: being that user to be dispatched distributes resource according to default resource allocation methods in the first time slot, record it is described to
Dispatch resource occupation position of the user in the first time slot
S103: in the second time slot, when described when dispatching user is normal TTI user, according to the normal TTI user
Resource occupation position in the first time slot is that the normal TTI user distributes resource.
Since the subframe of normal TTI user includes the time slot of 2 0.5ms, thus the transmission of normal TTI user needs
It is completed in 2 time slots, and the subframe of short TTI user only includes the time slot of 1 0.5ms, thus short TTI user is at one
Transmission can be completed in time slot.
It should be noted that the transmission in order to guarantee normal TTI user, needs to guarantee that system is normal in the first time slot
The resource of TTI user's distribution is identical as in the position of resource that the second time slot is normal TTI user distribution.
For this purpose, the present invention when dispatching user's distribution resource, needs to record the user to be dispatched in the first time slot
Resource occupation position in the first time slot.In this way, system can be based on normal TTI user at first when in the second time slot
Resource occupation position in gap is that normal TTI user distributes resource.
S104: when described when dispatching user is short TTI user, the type of the short TTI user is judged, wherein described short
The type of TTI user includes retransmitting the short TTI user of TTI and the short TTI user of new biography.
Short TTI since the subframe of short TTI user only includes the time slot of 1 0.5ms, thus in the second time slot is used
Family, which is only, retransmits short TTI user and the short TTI user of new biography.The so-called short TTI user of re-transmission, which refers to transmit in the first time slot, to be lost
The short TTI user lost.
S105: if the short TTI user is to retransmit short TTI user, short TTI user is retransmitted in the first time slot according to described
Interior resource occupation position is that the short TTI user of re-transmission distributes resource.
S106: idle in the second time slot based on the first time slot if the short TTI user is the short TTI user of new biography
Resource location is that the short TTI user of the new biography distributes resource.
As short TTI user TTI user short for new biography, the resource location in the first time slot of record is looked into first
It looks for, the first resource position of short TTI user occupancy in the first time slot is searched, and then by the second time slot, with first resource position
Set resource distribution location of the corresponding second idling-resource position as the short TTI user of new biography.Preferably, according to first short
Resource distribution location of the first resource position of TTI user occupancy as the short TTI user of new biography.Wherein, when the second idle money
When the corresponding inadequate resource in source position, then next idling-resource position is continued to search.
Such as, in the first time slot, the resource location of short TTI user occupancy is A, B, C, then will be in the second time slot and resource-niche
Set resource distribution location of the corresponding resource location D of A as the short TTI user of new biography.Wherein, when resource location D inadequate resource,
Then using resource-niche E corresponding with resource location B in the second time slot as the resource distribution location of the short TTI user of new biography.
As seen from the above embodiment, this application discloses a kind of user scheduling and resource allocation methods.This method is first
Resource is distributed for user to be dispatched according to preset resource allocation methods in time slot, and records the engaged position of resource.Second
When in time slot, when user is normal TTI user or user is short TTI user, and when being retransmission user, then according to the user
Resource occupation position in the first time slot is that the user distributes resource.When user is new biography TTI user, then when being based on first
Resource is distributed in the second time slot for the user in the resource occupation position of short TTI user in gap.The present invention supports short TTI simultaneously
The scheduling and resource allocation of user and normal TTI user have compatibility.
It should be noted that not only needing to consider the distribution position of resource in user's scheduling and resource allocation, it is also necessary to examine
Consider the dispatching sequence of user.
For this purpose, a kind of scheduling of user disclosed in another embodiment of the present invention and resource allocation methods are from resource allocation and tune
Two aspect of degree sequence introduces the compatibling problem for how realizing normal TTI user and short TTI user.
The process of a kind of scheduling of user disclosed in another embodiment of the present invention and resource allocation methods is shown referring to fig. 2
Schematic diagram.
As shown in Figure 2, this method comprises:
S201: judging the TTI type of the user to be dispatched, wherein the TTI type includes normal TTI user and short
TTI user.
Optionally, it in other embodiments disclosed by the invention, can further be established according to the TTI type of user to be dispatched
Normal TTI Subscriber Queue and short TTI Subscriber Queue, and then the normal TTI Subscriber Queue according to polling dispatching rule-based scheduling
And the user in short TTI Subscriber Queue.The polling dispatching rule refers to, in turn to the selection normal TTI Subscriber Queue
And the user in short TTI Subscriber Queue.
S202: being that user to be dispatched distributes resource according to default resource allocation methods in the first time slot, record it is described to
Dispatch resource occupation position and dispatching sequence of the user in the first time slot.
It is described wait dispatch in user include normal TTI user and short TTI user.Wherein, the son of normal TTI user
Frame includes the time slot of 2 0.5ms, and the subframe of short TTI user includes 1 0.5ms time slot.
Distinguishing the user in the present invention with the number in subframe comprising time slot is normal TTI user or short TTI user.
S203: in the second time slot, when described when dispatching user is normal TTI user, according to the normal TTI user
Resource occupation position in the first time slot is that the normal TTI user distributes resource, and based on the normal TTI user the
Dispatching sequence in one time slot determines dispatching sequence of the normal TTI user in the second time slot.
S204: when described when dispatching user is short TTI user, the type of the short TTI user is judged, wherein described short
The type of TTI user includes retransmitting the short TTI user of TTI and the short TTI user of new biography.
S205: the dispatching sequence of the short TTI user of the re-transmission and the short TTI user of the new biography are determined.
Preferably, in the second time slot, the dispatching sequence for retransmitting short TTI user uses prior to the short TTI of the new biography
The dispatching sequence at family.Currently, dispatching sequence can also be arranged in user according to their needs in other embodiments disclosed by the invention
Priority.
S206: if the short TTI user is to retransmit short TTI user, short TTI user is retransmitted in the first time slot according to described
Interior resource occupation position is that the short TTI user of re-transmission distributes resource;
S207: if the short TTI user is the short TTI user of new biography, the resource based on short TTI user in the first time slot is accounted for
It is that the short TTI user of the new biography distributes resource in the second time slot with position.
The structure of a kind of scheduling of user disclosed in another embodiment of the present invention and resource allocation device is shown referring to Fig. 3
Schematic diagram.
From the figure 3, it may be seen that the device includes: first resource allocation unit 1, the first judging unit 2, Secondary resource allocation unit
3, second judgment unit 4, information resources allocation unit 5 and the 4th resource allocation unit 6.
Wherein, first resource allocation unit 1 is used in the first time slot, is use to be dispatched according to default resource allocation methods
Resource is distributed at family, and records the resource occupation position of the user to be dispatched in the first time slot.
First judging unit 2 is connected with first resource allocation unit 1, for judging the TTI type of the user to be dispatched.
Wherein, the TTI type includes normal TTI user and short TTI user.
Since the subframe of normal TTI user includes the time slot of 2 0.5ms, thus the transmission of normal TTI user needs
It is completed in 2 time slots, and the subframe of short TTI user only includes the time slot of 1 0.5ms, thus short TTI user is at one
Transmission can be completed in time slot.
It should be noted that the transmission in order to guarantee normal TTI user, needs to guarantee that system is normal in the first time slot
The resource of TTI user's distribution is identical as in the position of resource that the second time slot is normal TTI user distribution.
For this purpose, the Secondary resource allocation unit 3 being connected with the first judging unit 2, in the second time slot, when it is described to
Dispatch user be normal TTI user when, according to resource occupation position of the normal TTI user in the first time slot be it is described just
Normal TTI user distributes resource.
Second judgment unit 4 is connected with the first judging unit 2, for when dispatching user is short TTI user, sentencing when described
Break the type of the short TTI user, wherein the type of the short TTI user includes retransmitting the short TTI user of TTI and new biography is short
TTI user.
Information resources allocation unit 5 is connected with the second judgment unit 4, if being that re-transmission is short for the short TTI user
TTI user is then the short TTI user of re-transmission according to the resource occupation position for retransmitting short TTI user in the first time slot
Distribute resource.
4th resource allocation unit 6 be connected with the second judgment unit 4 be connected, if for the short TTI user be new
Short TTI user is passed, then is described new in the second time slot based on the resource occupation position based on short TTI user in the first time slot
It passes short TTI user and distributes resource.
The structure of a kind of scheduling of user disclosed in another embodiment of the present invention and resource allocation device is shown referring to fig. 4
Schematic diagram.
As shown in Figure 4, which includes: first resource allocation unit 1, the first judging unit 2, Secondary resource allocation unit
3, second judgment unit 4, information resources allocation unit 5, the 4th resource allocation unit 6, dispatching sequence's recording unit 7, first are adjusted
Spend order determination unit 8 and second dispatching sequence's determination unit 9.
Wherein, first resource allocation unit 1 is used in the first time slot, is use to be dispatched according to default resource allocation methods
Resource is distributed at family, and records the resource occupation position of the user to be dispatched in the first time slot.
Dispatching sequence's recording unit 7, for recording the dispatching sequence of the user to be dispatched in the first time slot.
First judging unit 2, for judging the TTI type of the user to be dispatched.Wherein, the TTI type includes just
Normal TTI user and short TTI user.
In turn, queue establishes unit 10 for establishing normal TTI Subscriber Queue and short TTI Subscriber Queue.
User's selection unit 11 is dispatched for the normal TTI Subscriber Queue according to polling dispatching rule-based scheduling and short
User in TTI Subscriber Queue.
Since the subframe of normal TTI user includes the time slot of 2 0.5ms, thus the transmission of normal TTI user needs
It is completed in 2 time slots, and the subframe of short TTI user only includes the time slot of 1 0.5ms, thus short TTI user is at one
Transmission can be completed in time slot.
It should be noted that the transmission in order to guarantee normal TTI user, needs to guarantee that system is normal in the first time slot
The resource of TTI user's distribution is identical as in the position of resource that the second time slot is normal TTI user distribution.
For this purpose, Secondary resource allocation unit 3, is used in the second time slot, when the user to be dispatched is normal TTI user
When, it is that the normal TTI user distributes resource according to resource occupation position of the normal TTI user in the first time slot.
Second judgment unit 4 is connected with first resource allocation unit 1, for being short TTI user as the user to be dispatched
When, the type of the short TTI user is judged, wherein the type of the short TTI user is including the short TTI user of re-transmission TTI and newly
Pass short TTI user.
Information resources allocation unit 5 is connected with the second judgment unit 4, if being that re-transmission is short for the short TTI user
TTI user is then the short TTI user of re-transmission according to the resource occupation position for retransmitting short TTI user in the first time slot
Distribute resource.
4th resource allocation unit 6 be connected with the second judgment unit 4 be connected, if for the short TTI user be new
Short TTI user is passed, then the resource occupation position based on short TTI user in the first time slot is that the new biography is short in the second time slot
TTI user distributes resource.
First dispatching sequence's determination unit 8 is connected with dispatching sequence's recording unit 9, for being based on the normal TTI user
Dispatching sequence in the first time slot determines dispatching sequence of the normal TTI user in the second time slot.
Second dispatching sequence's determination unit 9 is connected 4 with second judgment unit, for determine it is described retransmit short TTI user with
And the dispatching sequence of the short TTI user of new biography, wherein the dispatching sequence for retransmitting short TTI user is short prior to the new biography
The dispatching sequence of TTI user.
It should be noted that in other embodiments disclosed by the invention, the device further include queue establish unit 10 with
And scheduling user's selection unit 11.
It should be noted that the Installation practice is corresponding with embodiment of the method, implementation procedure is identical with implementation principle,
Therefore not to repeat here.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.