Summary of the invention
In view of above-mentioned technical problem, the embodiment of the present invention provides one kind, solves low priority but more sensitive to time delay
The problem of transfer resource of business is seized by high-priority service.
First aspect according to an embodiment of the present invention provides a kind of uplink resource allocating method, which comprises
Terminal receives one or more uplink scheduling authorization UL grant;
The terminal is joined when carrying out ascending resource distribution on each UL grant based on carrying or logic channel and base band
The mapping relations of number numerology and/or Transmission Time Interval TTI length, for the maximum numerology that can support and/
Or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant, and have data need the carrying transmitted or
Logical channel assignment ascending resource.
Optionally, in the terminal when carrying out ascending resource distribution on each UL grant, based on carrying or logic letter
The mapping relations in road and numerology and/or TTI length, for the maximum numerology and/or TTI length etc. that can be supported
In the corresponding numerology and/or TTI length of the UL grant, and the carrying or logical channel assignment for thering are data to need to transmit
After ascending resource, the method also includes:
If corresponding UL grant there are also remaining ascending resource, based on carrying or logic channel and numerology and/or
The mapping relations of TTI length, it is corresponding that the maximum numerology and/or TTI length for that can support is greater than the UL grant
Numerology and/or TTI length, and the carrying for thering are data to need to transmit or logical channel assignment ascending resource.
Optionally, the mapping relations of the carrying or logic channel and numerology and/or TTI length are that network side is matched
It sets or protocol conventions.
Optionally, the carrying or logic channel and the mapping relations of numerology and/or TTI length include:
All numerology and/or TTI length combinations that carrying or logic channel and the carrying or logic channel use
Mapping relations;Or
The maximum numerology and/or TTI length that carrying or logic channel and the carrying or logic channel use
Mapping relations.
Optionally, the terminal on each UL grant carry out resource allocation when, based on carrying or logic channel with
The mapping relations of numerology and/or TTI length, the maximum numerology and/or TTI length for that can support is equal to should
The corresponding numerology and/or TTI length of UL grant, and the carrying or logical channel assignment uplink for thering are data to need to transmit
Resource, comprising:
It determines the processing sequence of the multiple UL grant, generates UL grant processing priority queue;
According to UL grant in the UL grant processing priority queue processing priority sequence from high to low according to
Secondary selection UL grant to be processed, and determine the corresponding numerology and/or TTI length of UL grant to be processed;
According to carrying or the corresponding relationship of logic channel and numerology and/or TTI length, the maximum supported is selected
Numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of UL grant to be processed and has number
According to needing the carrying transmitted or logic channel, to the carrying or logic channel chosen according to the preferential of carrying or logic channel
Grade is ranked up, and generates carrying or priority of logical channels queue;
According to scheduled resource distribution mode to it is described carrying or priority of logical channels queue in carrying or logic believe
Road carries out ascending resource distribution, until the corresponding ascending resource of UL grant all in UL grant processing priority queue is whole
The data to be transmitted of assigned or all carryings or logic channel is all assigned with ascending resource.
Optionally, the processing sequence of the multiple UL grant is perhaps configured or is depended on by network side by protocol conventions
It is realized in terminal.
Optionally, the scheduled resource distribution mode is by network configuration, perhaps by protocol conventions or depending on terminal
It realizes.
Optionally, the scheduled resource distribution mode includes:
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its be prioritized bit
Rate PBR carries out first round PBR resource allocation;If first round PBR resource allocation terminates corresponding UL grant, there are also in residue
Row resource then has remaining data to need the carrying transmitted or patrol again against each in carrying or priority of logical channels queue
The remaining data for collecting channel carries out the second wheel remaining data resource allocation, until the ascending resource of corresponding UL grant is all divided
Match or carries or the data to be transmitted of all carryings in priority of logical channels queue or logic channel is all assigned with uplink
Resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to institute's available for transmission number
Resource allocation is carried out according to measuring, until the ascending resource of corresponding UL grant is all assigned or carries or priority of logical channels
The data to be transmitted of all carryings or logic channel in queue is all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
PBR resource allocation is taken turns, wherein not needing to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel need to distribute ascending resource for its total data then in first round PBR resource allocation;If first
Wheel PBR resource allocation terminates corresponding UL grant, and there are also remaining ascending resources, then again against carrying or priority of logical channels
The remaining data of each carrying or logic channel for having remaining data to need to transmit in queue carries out the second wheel remaining data money
Source distribution, until the ascending resource of corresponding UL grant be all assigned or carrying or priority of logical channels queue in institute
There is the data to be transmitted of carrying or logic channel to be all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
Take turns PBR resource allocation, wherein do not need to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel do not need to distribute ascending resource for it then in first round PBR resource allocation;If first round PBR provides
Source distribution terminates corresponding UL grant, and there are also remaining ascending resources, then again against in carrying or priority of logical channels queue
The remaining data of each carrying or logic channel for having remaining data to need to transmit carries out the second wheel resource allocation, until corresponding UL
The ascending resource of grant is all assigned or carrying or all carryings in priority of logical channels queue or logic channel
Data to be transmitted is all assigned with ascending resource.
Optionally, if the corresponding UL grant is there are also remaining ascending resource, based on carrying or logic channel with
The mapping relations of numerology and/or TTI length, the maximum numerology and/or TTI length for that can support is greater than should
The corresponding numerology and/or TTI length of UL grant, and the carrying for thering are data to need to transmit or logical channel assignment money
Source, comprising:
If corresponding UL grant there are also remaining ascending resource, according to carrying or logic channel and numerology and/or
The corresponding relationship of TTI length selects the maximum numerology and/or TTI length supported to be greater than UL grant couple to be processed
Numerology the and/or TTI length answered, and some or all of carrying for thering are data to need to transmit or logic channel;
The carrying or logic channel chosen is ranked up according to the priority of carrying or logic channel, generates carrying
Or priority of logical channels queue, to the carrying or logic channel progress uplink in the carrying or priority of logical channels queue
Resource allocation, until the whole assigned or all carryings being mapped on the UL grant of ascending resource or the institute of logic channel
There are data to be all assigned with ascending resource.
Optionally, the method also includes:
The terminal merges the ascending resource for distributing to the same carrying or logic channel, then determines carrying or logic
The data volume of channel, and for a carrying or one media access control MAC service data unit SDU of logic channel tissue;
Or
The terminal is raw for the carrying or logic channel to a carrying or a logic channel ascending resource of every distribution
At a MAC SDU.
The second aspect according to an embodiment of the present invention additionally provides a kind of ascending resource distributor, described device packet
It includes:
Receiving module, for receiving one or more uplink scheduling authorization UL grant;
First resource distribution module, for when carrying out ascending resource distribution on each UL grant, based on carrying or patrol
The mapping relations of channel and baseband parameter numerology and/or Transmission Time Interval TTI length are collected, for the maximum that can be supported
Numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant, and has data needs
The carrying of transmission or logical channel assignment ascending resource.
Optionally, described device further include:
Secondary resource distribution module, if there are also remaining ascending resources for corresponding UL grant, based on carrying or logic
The mapping relations of channel and numerology and/or TTI length, for the maximum numerology and/or TTI length that can be supported
Numerology and/or TTI length corresponding greater than the UL grant, and the carrying for thering are data to need to transmit or logic channel point
With ascending resource.
Optionally, the mapping relations of the carrying or logic channel and numerology and/or TTI length are that network side is matched
It sets or protocol conventions.
Optionally, the carrying or logic channel and the mapping relations of numerology and/or TTI length include:
All numerology and/or TTI length combinations that carrying or logic channel and the carrying or logic channel use
Mapping relations;Or
The maximum numerology and/or TTI length that carrying or logic channel and the carrying or logic channel use
Mapping relations.
Optionally, the first resource distribution module includes:
It is preferential to generate UL grant processing for determining the processing sequence of the multiple UL grant for first determination unit
Grade queue;
Second determination unit, for the processing priority according to UL grant in the UL grant processing priority queue
Sequence from high to low successively selects UL grant to be processed, and determines that the UL grant to be processed is corresponding
Numerology and/or TTI length;
First queue generation unit, for corresponding with numerology and/or TTI length according to carrying or logic channel
Relationship selects the maximum numerology and/or TTI length supported to be equal to the corresponding numerology of UL grant to be processed
And/or TTI length and there are data to need the carrying transmitted or logic channel, to the carrying or logic channel chosen according to holding
It carries or the priority of logic channel is ranked up, generate carrying or priority of logical channels queue;
First resource allocation unit is used for according to scheduled resource distribution mode to the carrying or priority of logical channels
Carrying or logic channel in queue carry out ascending resource distribution, until all UL in UL grant processing priority queue
The corresponding ascending resource of grant is all assigned or the data to be transmitted of all carryings or logic channel is all assigned with uplink money
Source.
Optionally, the processing sequence of the multiple UL grant is perhaps configured or is depended on by network side by protocol conventions
It is realized in terminal.
Optionally, the scheduled resource distribution mode is by network configuration, perhaps by protocol conventions or depending on terminal
It realizes.
Optionally, the scheduled resource distribution mode includes:
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its be prioritized bit
Rate PBR carries out first round PBR resource allocation;If first round PBR resource allocation terminates corresponding UL grant, there are also in residue
Row resource then has remaining data to need the carrying transmitted or patrol again against each in carrying or priority of logical channels queue
The remaining data for collecting channel carries out the second wheel remaining data resource allocation, until the ascending resource of corresponding UL grant is all divided
Match or carries or the data to be transmitted of all carryings in priority of logical channels queue or logic channel is all assigned with uplink
Resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to institute's available for transmission number
Resource allocation is carried out according to measuring, until the ascending resource of corresponding UL grant is all assigned or carries or priority of logical channels
The data to be transmitted of all carryings or logic channel in queue is all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
PBR resource allocation is taken turns, wherein not needing to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel need to distribute ascending resource for its total data then in first round PBR resource allocation;If first
Wheel PBR resource allocation terminates corresponding UL grant, and there are also remaining ascending resources, then again against carrying or priority of logical channels
The remaining data of each carrying or logic channel for having remaining data to need to transmit in queue carries out the second wheel remaining data money
Source distribution, until the ascending resource of corresponding UL grant be all assigned or carrying or priority of logical channels queue in institute
There is the data to be transmitted of carrying or logic channel to be all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
Take turns PBR resource allocation, wherein do not need to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel do not need to distribute ascending resource for it then in first round PBR resource allocation;If first round PBR provides
Source distribution terminates corresponding UL grant, and there are also remaining ascending resources, then again against in carrying or priority of logical channels queue
The remaining data of each carrying or logic channel for having remaining data to need to transmit carries out the second wheel resource allocation, until corresponding UL
The ascending resource of grant is all assigned or carrying or all carryings in priority of logical channels queue or logic channel
Data to be transmitted is all assigned with ascending resource.
Optionally, the Secondary resource distribution module includes:
Selecting unit, if for corresponding UL grant there are also remaining ascending resource, according to carrying or logic channel with
The corresponding relationship of numerology and/or TTI length selects the maximum numerology and/or TTI length supported to be greater than wait locate
The corresponding numerology and/or TTI length of the UL grant of reason, and have data need some or all of carrying transmitted or
Logic channel;
Second queue generation unit, for the carrying or logic channel chosen according to carrying or logic channel it is excellent
First grade is ranked up, and generates carrying or priority of logical channels queue;
Secondary resource allocation unit, for it is described carrying or priority of logical channels queue in carrying or logic channel
Ascending resource distribution is carried out, until the whole assigned or all carryings or logic being mapped on the UL grant of ascending resource
All data of channel are all assigned with ascending resource.
Optionally, described device further include:
MAC SDU generation module, the ascending resource for that will distribute to the same carrying or logic channel merge, then really
The data volume of fixed carrying or logic channel, and for a carrying or the one media access control MAC service of logic channel tissue
Data cell SDU;Or
To a carrying or a logic channel ascending resource of every distribution, one is generated for the carrying or logic channel
MAC SDU。
In terms of third according to an embodiment of the present invention, a kind of terminal is additionally provided, comprising: memory, processor and deposit
The computer program that can be run on a memory and on a processor is stored up, the processor realizes institute as above when executing described program
The step in uplink resource allocating method stated.
The 4th aspect according to an embodiment of the present invention, additionally provides a kind of computer readable storage medium, stores thereon
There is computer program, which realizes the step in uplink resource allocating method as described above when being executed by processor.
A technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that terminal receives N number of UL
Grant (N >=1), when carrying out resource allocation on each UL grant, based on carrying or logic channel and numerology and/
Or the mapping relations of TTI length, it is preferably that the maximum numerology and/or TTI length that can be supported is equal to the UL grant
Corresponding numerology and/or TTI length and the carrying or logical channel assignment resource for thering are data to need to transmit;Further
Ground, if corresponding UL grant is there are also surplus resources, the maximum numerology and/or TTI length for that can support is greater than
The corresponding numerology and/or TTI length of the UL grant and there are data to need the carrying or logical channel assignment transmitted
Resource, avoids the problem that low priority but the transfer resource of the business more sensitive to time delay is seized by high-priority service.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Referring to Fig. 1, the process of uplink resource allocating method in one embodiment is shown in figure, the specific steps are as follows:
Step 101, terminal receive one or more UL grant;
UL grant: uplink scheduling authorization.
It should be noted that not limiting the particular number of UL grant in the present embodiment.
Step 102, terminal on each UL grant carry out ascending resource distribution when, based on carrying or logic channel with
The mapping relations of numerology and/or TTI length, the maximum numerology and/or TTI length for that can support is equal to should
The corresponding numerology and/or TTI length of UL grant, and the carrying or logical channel assignment uplink for thering are data to need to transmit
Resource.
It should be noted that carrying in the present embodiment identical with the meaning that logic channel is expressed.
In the present embodiment, above-mentioned carrying or logic channel and the mapping relations of numerology and/or TTI length include
Any one or more representation below:
The mapping relations of carrying and numerology;
The mapping relations of carrying and TTI length;
The mapping relations of carrying and numerology and TTI length;
The mapping relations of logic channel and numerology;
The mapping relations of logic channel and TTI length;
The mapping relations of logic channel and numerology and TTI length;
In the present embodiment, the corresponding numerology and/or TTI length of above-mentioned UL grant, including it is following any one
Kind or multiform expression:
The corresponding numerology of UL grant;
The corresponding TTI length of UL grant;
The corresponding numerology and TTI length of UL grant.
In the present embodiment, the mapping relations of carrying or logic channel and numerology and/or TTI length can be net
The configuration of network side or protocol conventions.
In the present embodiment, carrying or logic channel and the mapping relations of numerology and/or TTI length are specifically
Refer to:
All numerology and/or TTI length combinations that carrying or logic channel and the carrying or logic channel use
Mapping relations;Or
The maximum numerology and/or TTI length that carrying or logic channel and the carrying or logic channel use
Mapping relations are also not limited to this certainly.
Referring to fig. 2, above-mentioned steps 102 specifically include:
Step 1021, the processing sequence for determining multiple UL grant generate UL grant processing priority queue;
In the present embodiment, the processing sequence of multiple UL grant is by protocol conventions, for example, according to numerology and/or
The sequence of TTI length from small to large arrange multiple UL grant processing sequence or multiple UL grant processing sequence by
The processing sequence of network side configuration or multiple UL grant are realized depending on terminal.Certainly it is also not limited to this.
Step 1022, processing priority from high to low suitable according to UL grant in UL grant processing priority queue
Sequence successively selects UL grant to be processed, and determines the corresponding numerology and/or TTI long of UL grant to be processed
Degree;
In the present embodiment, the corresponding numerology of UL grant to be processed can be determined by existing mode
And/or TTI length, it no longer repeats herein.
Step 1023, according to carrying or logic channel and numerology and/or TTI length corresponding relationship, selection prop up
The maximum numerology and/or TTI length held is equal to the corresponding numerology and/or TTI long of UL grant to be processed
It spends and there are data to need the carrying transmitted or logic channel, the carrying or logic channel chosen is believed according to carrying or logic
The priority in road is ranked up, and generates carrying or priority of logical channels queue;
In the present embodiment, it is alternatively possible to determine carrying by Qos parameter corresponding with carrying or logic channel or patrol
Collect the priority of channel.Certainly it is also not limited to this.
Step 1024, according to scheduled resource distribution mode to it is described carrying or priority of logical channels queue in carrying
Or logic channel carries out ascending resource distribution, until the corresponding uplink of UL grant all in UL grant processing priority queue
Resource is all assigned or all carryings or the data to be transmitted of logic channel are all assigned with ascending resource.
In the present embodiment, according to scheduled resource distribution mode to it is described carrying or priority of logical channels queue in
Carrying or after logic channel carries out ascending resource distribution, repeat in step 1022,1023 and step 1024 by
According to scheduled resource distribution mode to the carrying or logic channel progress uplink in the carrying or priority of logical channels queue
Resource allocation, be all assigned until the corresponding ascending resource of UL grant all in UL grant processing priority queue or
The data to be transmitted of all carryings or logic channel is all assigned with ascending resource.
In the present embodiment, scheduled resource distribution mode by protocol conventions or can perhaps be depended on by network configuration
It is realized in terminal.
In the present embodiment, the scheduled resource distribution mode includes any of the following:
Mode one, in carrying or priority of logical channels queue each carrying or logic channel it is successively preferential according to it
Change bit rate PBR and carries out first round PBR resource allocation;If first round PBR resource allocation terminates corresponding UL grant also
Remaining ascending resource, then again against carrying or priority of logical channels queue in it is each have remaining data need transmit hold
It carries or the remaining data of logic channel carries out the second wheel remaining data resource allocation, until the ascending resource of corresponding UL grant is complete
Portion is assigned or the data to be transmitted of carrying or all carryings in priority of logical channels queue or logic channel is all distributed
Ascending resource;
Mode two, in carrying or priority of logical channels queue each carrying or logic channel successively according to being needed
Transmitted data amount carries out resource allocation, until the ascending resource of corresponding UL grant is all assigned or carries or logic channel
The data to be transmitted of all carryings or logic channel in priority query is all assigned with ascending resource;
Mode three, to carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR
First round PBR resource allocation is carried out, wherein not needing to carry out two-wheeled money for determining in carrying or priority of logical channels queue
The carrying of source distribution or logic channel need to distribute ascending resource for its total data then in first round PBR resource allocation;
If first round PBR resource allocation terminates corresponding UL grant there are also remaining ascending resource, believe again against carrying or logic
It is surplus that the remaining data of each carrying or logic channel for having remaining data to need to transmit in road priority query carries out the second wheel
Remainder is according to resource allocation, until the ascending resource of corresponding UL grant is all assigned or carries or priority of logical channels team
The data to be transmitted of all carryings or logic channel in column is all assigned with ascending resource;
Above-mentioned two-wheeled resource allocation refers to: first round PBR resource allocation and the second wheel remaining data resource allocation.
Mode four, to carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR
Carry out first round PBR resource allocation, wherein do not need to carry out two-wheeled money for determining in carrying or priority of logical channels queue
The carrying of source distribution or logic channel do not need to distribute ascending resource for it then in first round PBR resource allocation;If the
One wheel PBR resource allocation terminates corresponding UL grant, and there are also remaining ascending resources, then again against carrying or bgical channel priority
The remaining data of each carrying or logic channel for having remaining data to need to transmit in grade queue carries out the second wheel resource allocation,
Until the ascending resource of corresponding UL grant be all assigned or carrying or priority of logical channels queue in all carryings
Or the data to be transmitted of logic channel is all assigned with ascending resource.
In the present embodiment, terminal is according to ascending resource allocation result tissue MAC PDU, and specific there are two types of modes:
Mode one, terminal will distribute to it is same carrying or logic channel ascending resource merge, then determine carrying or
The data volume of logic channel, and for a carrying or one, logic channel tissue (media access control) MAC (service data list
Member) SDU;
Mode two, terminal believe a carrying or a logic channel ascending resource of every distribution for the carrying or logic
Road generates a MAC SDU.
In the present embodiment, terminal receives N number of UL grant (N >=1), carries out resource allocation on each UL grant
When, the mapping relations based on carrying or logic channel and numerology and/or TTI length, are preferably the maximum that can be supported
Numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant and has data needs
The carrying or logical channel assignment resource of transmission, avoid low priority but the transfer resource of the business more sensitive to time delay is high
The problem of business of priority is seized.
Referring to Fig. 3, the process of uplink resource allocating method in another embodiment is shown in figure, the specific steps are as follows:
Step 301, terminal receive one or more UL grant;
Step 302, terminal on each UL grant carry out ascending resource distribution when, based on carrying or logic channel with
The mapping relations of numerology and/or TTI length, the maximum numerology and/or TTI length for that can support is equal to should
The corresponding numerology and/or TTI length of UL grant, and the carrying or logical channel assignment uplink for thering are data to need to transmit
Resource.
It should be noted that above-mentioned steps 301 and step 302 are identical as step 101 shown in FIG. 1 and step 102, step
302 specific implementation process can be found in the introduction to step 102, no longer applies state herein.
If step 303, corresponding UL grant there are also remaining ascending resource, based on carrying or logic channel with
The mapping relations of numerology and/or TTI length, the maximum numerology and/or TTI length for that can support is greater than should
The corresponding numerology and/or TTI length of UL grant, and the carrying or logical channel assignment uplink for thering are data to need to transmit
Resource.
Referring to fig. 4, detailed process is as follows for step 303:
If step 3031, corresponding UL grant there are also remaining ascending resource, according to carrying or logic channel with
The corresponding relationship of numerology and/or TTI length selects the maximum numerology and/or TTI length supported to be greater than wait locate
The corresponding numerology and/or TTI length of the UL grant of reason and have data need some or all of carrying transmitted or
Logic channel;
Step 3032 arranges the carrying or logic channel chosen according to the priority of carrying or logic channel
Sequence generates carrying or priority of logical channels queue, to the carrying or logic in the carrying or priority of logical channels queue
Channel carries out ascending resource distribution, until ascending resource be all assigned or all carryings being mapped on the UL grant or
All data of logic channel are all assigned with ascending resource.
In the present embodiment, terminal is according to ascending resource allocation result tissue MAC PDU, and specific there are two types of modes:
Mode one, terminal will distribute to it is same carrying or logic channel ascending resource merge, then determine carrying or
The data volume of logic channel, and for a carrying or one, logic channel tissue (media access control) MAC (service data list
Member) SDU;
Mode two, terminal believe a carrying or a logic channel ascending resource of every distribution for the carrying or logic
Road generates a MAC SDU.
In the present embodiment, terminal receives N number of UL grant (N >=1), carries out resource allocation on each UL grant
When, the mapping relations based on carrying or logic channel and numerology and/or TTI length, are preferably the maximum that can be supported
Numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant and has data needs
The carrying or logical channel assignment resource of transmission;If there are also surplus resources by corresponding UL grant, for the maximum that can be supported
Numerology and/or TTI length be greater than the corresponding numerology and/or TTI length of the UL grant and have data need
The carrying or logical channel assignment resource to be transmitted, can be avoided low priority but the transmission of the business more sensitive to time delay provides
The problem of source is seized by the business of high priority.
Referring to Fig. 5, the process of terminal side ascending resource distribution is shown in figure, the specific steps are as follows:
Step 501 determines UL grant processing priority queue;
Specifically, terminal receives N number of UL grant, determines the processing sequence of N number of UL grant, generates at UL grant
Priority query is managed, N is more than or equal to 1.
Optionally, the processing sequence of N number of UL grant can be protocol conventions, such as according to numerology and/or TTI
The processing sequence of the sequence of length from small to large, N number of UL grant can also be configured by network side.
Step 502, according to UL grant processing priority queue, selection is in the UL grant of head of the queue, to the UL
Grant carries out ascending resource distribution.
Optionally, ascending resource distribution is carried out to the UL grant according to mode shown in fig. 6:
First UL grant to be processed in step 5021, selection UL grant processing priority queue, and determining should
The corresponding numerology and/or TTI length of UL grant.
Step 5022, according to carrying or logic channel and numerology and/or TTI length corresponding relationship, selection prop up
The maximum numerology and/or TTI length held is equal to the corresponding numerology and/or TTI long of UL grant to be processed
It spends and there are data to need the carrying transmitted, then to the carrying or logic channel chosen according to the excellent of carrying or logic channel
First grade carries out descending sort from high to low, generates carrying or priority of logical channels queue.
Step 5023, in carrying or priority of logical channels queue carrying or logic channel carry out ascending resource point
Match.
Specifically there are several types of modes:
Mode one: to carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR
Carry out first round resource allocation.If first round resource allocation terminates to believe there are also surplus resources again against carrying or logic
The remaining data of each carrying or logic channel for having remaining data to need to transmit in road priority query carries out the second wheel money
Source distribution, until the data to be transmitted of all carryings in resource exhaustion or loading priority queue is all assigned with resource.
Mode two: in carrying or priority of logical channels queue each carrying or logic channel successively according to being needed
Transmitted data amount carries out resource allocation.Until in resource exhaustion or carrying or priority of logical channels queue all carryings or
The data to be transmitted of logic channel is all assigned with resource.
Mode three: to carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR
Carry out first round resource allocation.Wherein, it does not need to carry out two-wheeled resource for determining in carrying or priority of logical channels queue
The carrying of distribution or logic channel need to distribute resource for its total data then in first round resource allocation.If the first round
Resource allocation terminates there are also surplus resources, then has remaining data again against each in carrying or priority of logical channels queue
The remaining data of the carrying or logic channel that need to transmit carries out the second wheel resource allocation, until resource exhaustion or carrying or patrols
The data to be transmitted for collecting all carryings or logic channel in channel priority queue is all assigned with resource.
Optionally, it does not need to carry out holding for two-wheeled resource allocation for being configured in carrying or priority of logical channels queue
It carries or logic channel its corresponding data is all transmitted in first round resource allocation.
Mode four: to carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR
Carry out first round resource allocation.Wherein, it does not need to carry out two-wheeled resource for determining in carrying or priority of logical channels queue
The carrying of distribution or logic channel do not need to distribute resource for it then in first round resource allocation.If first round resource point
With terminating there are also surplus resources, then there is remaining data to need to pass again against each in carrying or priority of logical channels queue
The remaining data of defeated carrying or logic channel carries out the second wheel resource allocation, until resource exhaustion or carrying or logic channel
The data to be transmitted of all carryings or logic channel in priority query is all assigned with resource.
For determining the carrying or logic that do not need to carry out two-wheeled resource allocation in carrying or priority of logical channels queue
Channel, all data all distribute resource in the second wheel resource allocation.
If after step 5024, step 5023 resource allocation, there are also surplus resources by the UL grant, then according to carrying
Or the corresponding relationship of logic channel and numerology and/or TTI length, select the maximum numerology and/or TTI supported
Length be greater than the corresponding numerology and/or TTI length of UL grant to be processed and have data need the part transmitted or
Person all carries or logic channel.Then to the carrying or logic channel chosen according to carrying or the priority of logic channel
Descending sort is carried out from high to low, generates carrying or priority of logical channels queue, and continue to execute step 5023 and 5024, directly
To the UL grant resource exhaustion or all carryings that may map on the UL grant or all data of logic channel
All it is assigned with resource.
Step 503 updates UL grant priority process queue, and processed UL grant is deleted, is then weighed
Multiple step 502, until the resource exhaustion of all UL grant or all carryings or logic channel all at its it is corresponding
Ascending resource is assigned on the corresponding UL grant of numerology/TTI.
In the present embodiment, terminal is according to ascending resource allocation result tissue MAC PDU, and specific there are two types of modes:
Mode one: the resource for distributing to the same carrying is merged, the data volume that then determination can carry, and is directed to one
A one MAC SDU of carrying tissue.
Mode two: an each pair of carrying or logical channel assignment first resource (distribute resource such as PBR or are directed to
Remaining data distribution resource can be regarded as resource allocation twice), then a MAC SDU is generated for the carrying.
In the present embodiment, terminal receives N number of UL grant (N >=1), carries out resource allocation on each UL grant
When, the mapping relations based on carrying and numerology/TTI length, are preferably the maximum numerology/TTI that can be supported
Length is equal to the corresponding numerology/TTI length of the UL grant and has data to need the carrying transmitted distribution carrying or patrol
Collect channel distribution resource;If the maximum numerology/TTI length for that can support is greater than the UL there are also surplus resources
The corresponding numerology/TTI length of grant and have data need transmit carrying distribution carrying or logical channel assignment money
Source, can be avoided low priority but the transfer resource of the business more sensitive to time delay is asked by what the business of high priority was seized
Topic.
Based on the same inventive concept, a kind of ascending resource distributor is additionally provided in the embodiment of the present invention, due on this
The principle that row resource allocation device solves the problems, such as is similar to uplink resource allocating method in Fig. 1~5 of the embodiment of the present invention, therefore should
The implementation of ascending resource distributor may refer to the implementation of method, no longer applies and states in place of repeating.
Referring to Fig. 7, a kind of structure of ascending resource distributor is shown in figure, which includes:
Receiving module 701, for receiving one or more uplink scheduling authorization UL grant;
First resource distribution module 702, on each UL grant carry out ascending resource distribution when, based on carrying or
The mapping relations of logic channel and baseband parameter numerology and/or Transmission Time Interval TTI length, for that can support most
Big numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant, and has data to need
The carrying to be transmitted or logical channel assignment ascending resource.
In the present embodiment, optionally, with continued reference to Fig. 7, device 700 further include:
Secondary resource distribution module 703, if for corresponding UL grant there are also remaining ascending resource, based on carrying or patrol
The mapping relations of channel and numerology and/or TTI length are collected, for the maximum numerology and/or TTI long that can be supported
Degree is greater than the corresponding numerology and/or TTI length of the UL grant, and the carrying for having data to need to transmit or logic channel
Distribute ascending resource.
In the present embodiment, optionally, the carrying or the mapping of logic channel and numerology and/or TTI length
Relationship is network side configuration or protocol conventions.
In the present embodiment, optionally, the carrying or the mapping of logic channel and numerology and/or TTI length
Relationship includes:
All numerology and/or TTI length combinations that carrying or logic channel and the carrying or logic channel use
Mapping relations;Or
The maximum numerology and/or TTI length that carrying or logic channel and the carrying or logic channel use
Mapping relations.
In the present embodiment, optionally, with continued reference to Fig. 7, the first resource distribution mould 702 includes:
First determination unit 7021 generates UL grant processing for determining the processing sequence of the multiple UL grant
Priority query;
Second determination unit 7022, it is excellent for the processing according to UL grant in the UL grant processing priority queue
The sequence of first grade from high to low successively selects UL grant to be processed, and determines that the UL grant to be processed is corresponding
Numerology and/or TTI length;
First queue generation unit 7023, for according to carrying or logic channel and numerology and/or TTI length
Corresponding relationship selects the maximum numerology and/or TTI length supported to be equal to UL grant to be processed corresponding
Numerology and/or TTI length and the carrying for thering are data to need to transmit or logic channel, carrying or logic to choosing
Channel is ranked up according to the priority of carrying or logic channel, generates carrying or priority of logical channels queue;
First resource allocation unit 7024, for excellent to the carrying or logic channel according to scheduled resource distribution mode
Carrying or logic channel in first grade queue carry out ascending resource distribution, until all UL in UL grant processing priority queue
The corresponding ascending resource of grant is all assigned or the data to be transmitted of all carryings or logic channel is all assigned with uplink money
Source.
In the present embodiment, optionally, the processing sequence of the multiple UL grant is by protocol conventions, or by network side
Configuration, or depend on terminal and realize.
In the present embodiment, optionally, the scheduled resource distribution mode is by network configuration, or by protocol conventions,
Or it depends on terminal and realizes.
In the present embodiment, optionally, the scheduled resource distribution mode includes:
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its be prioritized bit
Rate PBR carries out first round PBR resource allocation;If first round PBR resource allocation terminates corresponding UL grant, there are also in residue
Row resource then has remaining data to need the carrying transmitted or patrol again against each in carrying or priority of logical channels queue
The remaining data for collecting channel carries out the second wheel remaining data resource allocation, until the ascending resource of corresponding UL grant is all divided
Match or carries or the data to be transmitted of all carryings in priority of logical channels queue or logic channel is all assigned with uplink
Resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to institute's available for transmission number
Resource allocation is carried out according to measuring, until the ascending resource of corresponding UL grant is all assigned or carries or priority of logical channels
The data to be transmitted of all carryings or logic channel in queue is all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
PBR resource allocation is taken turns, wherein not needing to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel need to distribute ascending resource for its total data then in first round PBR resource allocation;If first
Wheel PBR resource allocation terminates corresponding UL grant, and there are also remaining ascending resources, then again against carrying or priority of logical channels
The remaining data of each carrying or logic channel for having remaining data to need to transmit in queue carries out the second wheel remaining data money
Source distribution, until the ascending resource of corresponding UL grant be all assigned or carrying or priority of logical channels queue in institute
There is the data to be transmitted of carrying or logic channel to be all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
Take turns PBR resource allocation, wherein do not need to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel do not need to distribute ascending resource for it then in first round PBR resource allocation;If first round PBR provides
Source distribution terminates corresponding UL grant, and there are also remaining ascending resources, then again against in carrying or priority of logical channels queue
The remaining data of each carrying or logic channel for having remaining data to need to transmit carries out the second wheel resource allocation, until corresponding UL
The ascending resource of grant is all assigned or carrying or all carryings in priority of logical channels queue or logic channel
Data to be transmitted is all assigned with ascending resource.
In the present embodiment, optionally, with continued reference to Fig. 7, the Secondary resource distribution module 703 includes:
Selecting unit 7031, if there are also remaining ascending resources for corresponding UL grant, according to carrying or logic channel
With the corresponding relationship of numerology and/or TTI length, select support maximum numerology and/or TTI length be greater than to
The corresponding numerology and/or TTI length of the UL grant of processing, and some or all of carrying for thering are data to need to transmit
Or logic channel;
Second queue generation unit 7032, for the carrying or logic channel chosen according to carrying or logic channel
Priority be ranked up, generate carrying or priority of logical channels queue;
Secondary resource allocation unit 7033, for the carrying or logic in the carrying or priority of logical channels queue
Channel carries out ascending resource distribution, until ascending resource be all assigned or all carryings being mapped on the UL grant or
All data of logic channel are all assigned with ascending resource.
In the present embodiment, optionally, with continued reference to Fig. 7, described device 700 further include:
MAC SDU generation module 704, the ascending resource for that will distribute to the same carrying or logic channel merge, so
The data volume of carrying or logic channel is determined afterwards, and for a carrying or one media access control MAC of logic channel tissue
Service data unit SDU;Or
To a carrying or a logic channel ascending resource of every distribution, one is generated for the carrying or logic channel
MAC SDU。
The embodiment of the invention also provides a kind of terminals, comprising: memory, processor and storage are on a memory and can be
The computer program run on processor, the processor realize ascending resource as shown in Fig. 1 when executing described program
Step in distribution method.
Referring to Fig. 8, a kind of structure of terminal is shown, which includes memory, processor and store on a memory
And the computer program that can be run on a processor, the processor perform the steps of reception one when executing described program
Or multiple uplink scheduling authorization UL grant;When carrying out ascending resource distribution on each UL grant, based on carrying or logic
The mapping relations of channel and baseband parameter numerology and/or Transmission Time Interval TTI length, for the maximum that can be supported
Numerology and/or TTI length is equal to the corresponding numerology and/or TTI length of the UL grant, and has data needs
The carrying of transmission or logical channel assignment ascending resource.
In fig. 8, bus architecture (being represented with bus 800), bus 800 may include the bus of any number of interconnection
And bridge, the storage that bus 800 will include the one or more processors represented by general processor 801 and memory 804 represents
The various circuits of device link together.Bus 800 can also will such as peripheral equipment, voltage-stablizer and management circuit or the like
Various other circuits link together, these are all it is known in the art, therefore, is no longer further retouched to it herein
It states.Bus interface 803 provides interface between bus 800 and transceiver 802.Transceiver 802 can be an element, can also be with
It is multiple element, such as multiple receivers and transmitter, the list for communicating over a transmission medium with various other devices is provided
Member.Such as: transceiver 802 receives external data from other equipment.Transceiver 802 is used for treated the data of processor 801
It is sent to other equipment.Depending on the property of computing system, user interface, such as keypad, display, loudspeaking can also be provided
Device, microphone, control stick.
Processor 801 is responsible for management bus 800 and common processing, and the general-purpose operating system is run as described in aforementioned.And it deposits
Reservoir 704 can be used for the used data when executing operation of storage processor 801.
Optionally, processor 801 can be CPU, ASIC (Application Specific Integrated
Circuit, specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or
CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).
Optionally, processor 801 is also used to: if corresponding UL grant there are also remaining ascending resource, based on carrying or patrol
The mapping relations of channel and numerology and/or TTI length are collected, for the maximum numerology and/or TTI long that can be supported
Degree is greater than the corresponding numerology and/or TTI length of the UL grant, and the carrying for having data to need to transmit or logic channel
Distribute ascending resource.
Optionally, the mapping relations of the carrying or logic channel and numerology and/or TTI length are that network side is matched
It sets or protocol conventions.
Optionally, the carrying or logic channel and the mapping relations of numerology and/or TTI length include:
All numerology and/or TTI length combinations that carrying or logic channel and the carrying or logic channel use
Mapping relations;Or
The maximum numerology and/or TTI length that carrying or logic channel and the carrying or logic channel use
Mapping relations.
Optionally, processor 801 is further used for: determining the processing sequence of the multiple UL grant, generates UL
Grant processing priority queue;According to the processing priority of UL grant in the UL grant processing priority queue from height
UL grant to be processed is successively selected to low sequence, and determines the corresponding numerology of UL grant to be processed
And/or TTI length;According to carrying or the corresponding relationship of logic channel and numerology and/or TTI length, support is selected
Maximum numerology and/or TTI length be equal to the corresponding numerology and/or TTI length of UL grant to be processed and
There are data to need the carrying transmitted or logic channel, to the carrying or logic channel chosen according to carrying or logic channel
Priority is ranked up, and generates carrying or priority of logical channels queue;According to scheduled resource distribution mode to the carrying
Or carrying or logic channel progress ascending resource distribution in priority of logical channels queue, until UL grant processing priority
The corresponding ascending resource of all UL grant is all assigned or the data to be transmitted of all carryings or logic channel in queue
All it is assigned with ascending resource.
Optionally, the processing sequence of the multiple UL grant is perhaps configured or is depended on by network side by protocol conventions
It is realized in terminal.
Optionally, the scheduled resource distribution mode is by network configuration, perhaps by protocol conventions or depending on terminal
It realizes.
Optionally, the scheduled resource distribution mode includes:
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its be prioritized bit
Rate PBR carries out first round PBR resource allocation;If first round PBR resource allocation terminates corresponding UL grant, there are also in residue
Row resource then has remaining data to need the carrying transmitted or patrol again against each in carrying or priority of logical channels queue
The remaining data for collecting channel carries out the second wheel remaining data resource allocation, until the ascending resource of corresponding UL grant is all divided
Match or carries or the data to be transmitted of all carryings in priority of logical channels queue or logic channel is all assigned with uplink
Resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to institute's available for transmission number
Resource allocation is carried out according to measuring, until the ascending resource of corresponding UL grant is all assigned or carries or priority of logical channels
The data to be transmitted of all carryings or logic channel in queue is all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
PBR resource allocation is taken turns, wherein not needing to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel need to distribute ascending resource for its total data then in first round PBR resource allocation;If first
Wheel PBR resource allocation terminates corresponding UL grant, and there are also remaining ascending resources, then again against carrying or priority of logical channels
The remaining data of each carrying or logic channel for having remaining data to need to transmit in queue carries out the second wheel remaining data money
Source distribution, until the ascending resource of corresponding UL grant be all assigned or carrying or priority of logical channels queue in institute
There is the data to be transmitted of carrying or logic channel to be all assigned with ascending resource;Or
To carrying or priority of logical channels queue in each carrying or logic channel successively according to its PBR carry out first
Take turns PBR resource allocation, wherein do not need to carry out two-wheeled resource allocation for determining in carrying or priority of logical channels queue
Carrying or logic channel do not need to distribute ascending resource for it then in first round PBR resource allocation;If first round PBR provides
Source distribution terminates corresponding UL grant, and there are also remaining ascending resources, then again against in carrying or priority of logical channels queue
The remaining data of each carrying or logic channel for having remaining data to need to transmit carries out the second wheel resource allocation, until corresponding UL
The ascending resource of grant is all assigned or carrying or all carryings in priority of logical channels queue or logic channel
Data to be transmitted is all assigned with ascending resource.
Optionally, processor 801 is further used for: if there are also remaining ascending resources by corresponding UL grant, according to carrying
Or the corresponding relationship of logic channel and numerology and/or TTI length, select the maximum numerology and/or TTI supported
Length is greater than the corresponding numerology and/or TTI length of UL grant to be processed, and have data need the part transmitted or
Person all carries or logic channel;The carrying or logic channel chosen is carried out according to the priority of carrying or logic channel
Sequence generates carrying or priority of logical channels queue;To the carrying in the carrying or priority of logical channels queue or patrol
It collects channel and carries out ascending resource distribution, until the whole assigned or all carryings being mapped on the UL grant of ascending resource
Or all data of logic channel are all assigned with ascending resource.
Optionally, processor 801 is also used to: the ascending resource for distributing to the same carrying or logic channel being merged, so
The data volume of carrying or logic channel is determined afterwards, and for a carrying or one media access control MAC of logic channel tissue
Service data unit SDU;Or to a carrying or a logic channel ascending resource of every distribution, believe for the carrying or logic
Road generates a MAC SDU.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, special
Sign is that the program realizes the step in uplink resource allocating method as shown in Fig. 1 when being executed by processor.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment
A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction
" in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot
Structure or characteristic can combine in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that magnitude of the sequence numbers of the above procedures are not meant to execute suitable
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
In addition, the terms " system " and " network " are often used interchangeably herein.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit
In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
In embodiment provided herein, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can be with according to A
Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information
Determine B.
In several embodiments provided herein, it should be understood that disclosed method and apparatus, it can be by other
Mode realize.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine
Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be through some interfaces, the INDIRECT COUPLING or communication of device or unit
Connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or network side equipment etc.) executes transmitting-receiving side described in each embodiment of the present invention
The part steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, letter
Claim ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, several improvements and modifications can also be made under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.