WO2019214524A1 - Resource allocation method and apparatus - Google Patents

Resource allocation method and apparatus Download PDF

Info

Publication number
WO2019214524A1
WO2019214524A1 PCT/CN2019/085380 CN2019085380W WO2019214524A1 WO 2019214524 A1 WO2019214524 A1 WO 2019214524A1 CN 2019085380 W CN2019085380 W CN 2019085380W WO 2019214524 A1 WO2019214524 A1 WO 2019214524A1
Authority
WO
WIPO (PCT)
Prior art keywords
logical channel
mdbv
resource allocation
token bucket
terminal
Prior art date
Application number
PCT/CN2019/085380
Other languages
French (fr)
Chinese (zh)
Inventor
赵亚利
皮埃尔
刘佳敏
谌丽
Original Assignee
电信科学技术研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院有限公司 filed Critical 电信科学技术研究院有限公司
Publication of WO2019214524A1 publication Critical patent/WO2019214524A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • H04W28/0263Traffic management, e.g. flow control or congestion control per individual bearer or channel involving mapping traffic to individual bearers or channels, e.g. traffic flow template [TFT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for performing resource allocation.
  • the core network configures the QoS (Quality of Service) profile for each Flow.
  • the RAN Radio Access Network
  • the RAN performs QoS management based on the QoS profile configured by the core network for each Flow.
  • One parameter in the QoS profile is 5QI (5G QoS Identifier, the fifth generation mobile communication system service quality identifier).
  • MDBV Maximum Data Burst Volume
  • the 5G NR system mainly supports three types of services: the first is eMBB (enhanced Mobile Broadband) service, the second is mMTC (massive machine type communication) service, and the third is URLLC. (Ultra-Reliable and Low Latency Communications) business.
  • the URLLC service has a relatively high latency requirement, so it is also generally called a Delay-Sensed GBR (Guaranteed Bit Rate) service.
  • the 5QI generally includes the MDBV parameter.
  • the MDBV indicates that the 5G access network needs to process the maximum data of a Flow within the time range of the PDB (Packet Delay Budget). Quantity, and 5QI can be standardized or non-standardized.
  • the present invention provides a method and apparatus for resource allocation, which solves the problem that the resource allocation method based on MDBV data transmission in the 5G system in the prior art has no clear solution.
  • the terminal determines an MDBV corresponding to the logical channel and a token bucket for MDBV control; and then performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • the terminal first determines the MDBV corresponding to the logical channel and the token bucket used for the MDBV control, and then performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding the delay when the system load is heavy. Sensitive services seize resources from other businesses.
  • the terminal determines an MDBV corresponding to the logical channel and a token bucket for MDBV control; and/or the terminal needs to receive the network-side device to transmit based on the MDBV. After the notification of resource allocation, the MDBV corresponding to the logical channel and the token bucket for MDBV control are determined.
  • the terminal determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel at the MAC (Medium Access Control) layer.
  • the terminal uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
  • the terminal will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; M is a positive integer.
  • the terminal determines the MDBV corresponding to the logical channel according to different situations, so that the resource allocation is ensured when the resource is allocated, and the delay sensitive service is prevented from preempting resources of other services.
  • the terminal before the terminal determines the MDBV corresponding to the object through the MAC layer, the terminal needs to notify the mapping relationship between the MAC layer Flow and the logical channel through a SDAP or RRC (Radio Resource Control) layer; or
  • the terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the terminal notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer;
  • the terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
  • the MDBV corresponding to the object is determined by the MAC layer.
  • the terminal since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple ways of notifying the MAC layer are introduced, which is more diverse and guaranteed.
  • the terminal can determine the MDBV corresponding to the logical channel at the MAC layer.
  • the terminal since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple manners of notifying the MAC layer are introduced to ensure that the terminal can determine the logic at the MAC layer.
  • the MDBV corresponding to the channel since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple manners of notifying the MAC layer are introduced to ensure that the terminal can determine the logic at the MAC layer.
  • the MDBV corresponding to the channel since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple manners of notifying the MAC layer are introduced to ensure that the terminal can determine the logic at the MAC layer.
  • the MDBV corresponding to the channel since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship
  • the size of the token bucket for MDBV control is the MDBV corresponding to the logical channel. Determining, by the terminal, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the The number of available tokens in the token bucket corresponding to the logical channel; where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
  • the terminal determines the PDB corresponding to the logical channel by:
  • the number of tokens actually used in the time slot (N-PDB, N) within the token bucket for the MDBV control is determined according to the token bucket size used for the MDBV control and the logical channel is determined for the MDBV control. Determining the number of available tokens in the token bucket corresponding to the logical channel, and performing resource allocation according to the number of available tokens in the token bucket corresponding to the determined logical channel, which fully ensures that the amount of data sent by each QoS Flow is not The MDBV limit is exceeded, so that the delay-sensitive service can seize resources of other services when the system is heavily loaded.
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic
  • the channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The smaller of the data amount of the current resource to be allocated, and the resource allocation to the logical channel; if the logical channel that needs to be allocated currently is a logical channel that does not have the MDBV requirement and includes a GBR (Guarantee Bit Rate) service And the terminal performs resource allocation on the logical channel;
  • GBR Guardantee Bit Rate
  • the terminal If the terminal determines that there are remaining resources, the terminal allocates resources to the remaining to-be-transmitted data in descending order of all logical channel priorities with data transmission requirements until the resources are exhausted or the data to be transmitted of all logical channels All resources are allocated.
  • the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel and the command for MDBV control corresponding to the logical channel. The difference in the number of tokens that have actually been used in the bucket.
  • the terminal determines the number M of tokens that have been actually used in the time slot (N-PDB, N) in the token bucket controlled by the MDBV, and sets the size of the token bucket and the difference of M as The number of available tokens in the token bucket corresponding to the object, so that after completing the PBR-based resource allocation, the number of available tokens in the token bucket used for MDBV control is performed on the logical channel required by the MDBV.
  • N-PDB, N the number of tokens that have been actually used in the time slot
  • resource allocation when performing resource allocation, is performed in different manners for a logical channel without MDBV requirements and a logical channel having MDBV requirements, further ensuring that the amount of data sent by each QoS Flow does not exceed MDBV. Restrictions, so that delay-sensitive services can seize resources of other services when the system is heavily loaded.
  • an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
  • the network side device Determining, by the network side device, the MDBV corresponding to the resource allocation object and the token bucket for the MDBV control; and then the network side device performs the resource allocation object according to the determined MDBV and the token bucket for MDBV control Resource allocation; wherein, if uplink resource allocation is performed, the resource allocation object is a logical channel group; and if downlink resource allocation is performed, the resource allocation object is a logical channel.
  • the network side device determines the MDBV corresponding to the resource allocation object and the token bucket used for the MDBV control, and then performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control.
  • the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding the delay when the system load is heavy. Sensitive services seize resources from other businesses.
  • the network side device determines the MDBV corresponding to the resource allocation object and the token bucket used for the MDBV control; and/or determines that the resource allocation needs to be performed based on the MDBV according to the system load. Determine the MDBV corresponding to the resource allocation object and the token bucket for MDBV control.
  • the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal that the resource allocation needs to be performed based on the MDBV.
  • the network side device determines the MDBV corresponding to the logical channel according to different situations, so that the resource allocation is ensured when the resource is allocated, and the delay sensitive service is prevented from preempting resources of other services.
  • the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel;
  • the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group; or ,
  • the network side device uses the sum of the MDBVs corresponding to the logical channels reported by the terminal as the MDBV corresponding to the logical channel group; or
  • the network side device receives the MDBV corresponding to the logical channel group reported by the terminal.
  • the network side device uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the network side device uses, according to the mapping relationship between the flow and the logical channel, the sum of the MDBVs corresponding to the flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel; or ,
  • the network side device will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; , M is a positive integer.
  • the network side device before the network side device determines the MDBV corresponding to the resource allocation object by using the MAC layer, the network side device needs to notify the MAC layer of the flow and the logical channel by using a SDAP or a RRC (Radio Resource Control) layer. Mapping relationship; or,
  • the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
  • the MDBV corresponding to the resource allocation object is determined by the MAC layer.
  • the MAC layer does not know the mapping relationship between the logical channel and the logical channel group when the uplink resource is allocated, so the RRC layer needs to notify the mapping relationship between the logical layer and the logical channel group of the MAC layer, so that the network side
  • the device can determine the MDBV corresponding to the logical channel group at the MAC layer.
  • the network side device if the resource allocation object is a logical channel group, the network side device notifies the mapping relationship between the MAC layer logical channel and the logical channel group through the RRC layer.
  • the network side device is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple ways of notifying the MAC layer are introduced to ensure that the network side device can The MAC layer determines the MDBV corresponding to the logical channel.
  • the size of the token bucket for MDBV control is the MDBV corresponding to the logical channel. Determining, by the network side device, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M The number of available tokens in the token bucket corresponding to the logical channel; where N is a scheduling moment, and the PDB is a packet delay budget corresponding to the logical channel.
  • the network side device determines the PDB corresponding to the logical channel by:
  • the token bucket size for the MDBV control and the tokens that have been actually used in the time bucket (N-PDB, N) in the token bucket for the MDBV control according to the resource allocation object.
  • the number of available tokens in the token bucket corresponding to the resource allocation object is determined, and the resource allocation is performed according to the number of available tokens in the token bucket corresponding to the determined resource allocation object, which fully ensures the transmission of each QoS Flow.
  • the amount of data does not exceed the MDBV limit, so that the delay-sensitive service can seize resources of other services when the system is heavily loaded.
  • the network side device uses, as the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for MDBV control.
  • the logical channel is capable of allocating the amount of data of the resource; then the minimum value between the number of available tokens in the token bucket corresponding to the logical channel MDBV and the actual amount of data to be transmitted of the current logical channel is the logic The channel performs resource allocation.
  • the network side device if the uplink resource allocation is performed, the network side device has actually used the MDBV corresponding to the logical channel group and the token bucket for MDBV control corresponding to the logical channel group.
  • the difference between the number of the tokens is the number of available tokens in the token bucket corresponding to the logical channel group; and then the number of available tokens in the token bucket corresponding to the logical channel group and the current logical channel.
  • the minimum value between the data amount of the actual resource to be allocated is resource allocation for the logical channel group.
  • an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes: a processor, a memory, and a transceiver;
  • the processor is configured to read a program in the memory and execute:
  • Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control; performing resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • an embodiment of the present invention provides a network side device that performs resource allocation, where the network side device includes: a processor, a memory, and a transceiver;
  • the processor is configured to read a program in the memory and execute:
  • the resource allocation object is a logical channel group; if downlink resource allocation is performed, the resource allocation object is a logical channel.
  • an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes:
  • a first determining module configured to determine an MDBV corresponding to the logical channel and a token bucket for the MDBV control
  • a first allocation module configured to perform resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • an embodiment of the present invention provides a network side device that performs resource allocation, where the network side device includes:
  • a second determining module configured to determine an MDBV corresponding to the resource allocation object and a token bucket used for MDBV control
  • a second allocation module configured to perform resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control
  • the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
  • FIG. 1 is a schematic diagram of a system for performing resource allocation according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a complete method for resource allocation of downlink resources according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a complete method for performing resource allocation on a terminal side of an uplink resource according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a complete method for performing resource allocation on a network device side of an uplink resource according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a terminal for performing resource allocation according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a network side device for performing resource allocation according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another terminal for performing resource allocation according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another network side device for performing resource allocation according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method for performing resource allocation according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of another method for performing resource allocation according to an embodiment of the present invention.
  • the core network configures the QoS profile for each flow for the 5G NR system.
  • the RAN performs QoS management based on the QoS profile configured by the core network for each Flow.
  • One parameter in the QoS profile is 5QI
  • MDBV is a parameter included in 5QI.
  • the terminal first determines the MDBV corresponding to the object and the token bucket used for MDBV control, and performs resource allocation according to the determined MDBV and the token bucket for MDBV control.
  • the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding when the system is heavily loaded. Delay sensitive business to seize resources of other businesses.
  • an embodiment of the present invention provides a system for performing resource allocation, where the system includes: a terminal 100 and a network side device 101.
  • the terminal 100 is configured to determine an MDBV corresponding to the logical channel and a token bucket for the MDBV control, and perform resource allocation on the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • the network side device 101 is configured to determine an MDBV corresponding to the resource allocation object and a token bucket for MDBV control, and perform resources for the resource allocation object according to the determined MDBV and the token bucket for MDBV control.
  • the resource allocation object is a logical channel group if the uplink resource allocation is performed, and the resource allocation object is a logical channel if the downlink resource allocation is performed.
  • the terminal and the network side device first determine the MDBV corresponding to the object and the token bucket for MDBV control, and perform resource allocation according to the determined MDBV and the token bucket for MDBV control.
  • the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding when the system is heavily loaded. Delay sensitive business to seize resources of other businesses.
  • the following uses the downlink resources as an example to describe the system for resource allocation.
  • Method 1 Resource allocation for downlink resources.
  • the network side device determines the MDBV corresponding to the logical channel and is used for the MDBV control. Token bucket.
  • the MDBV corresponding to the logical channel determined by the network side device is different.
  • the MDBV corresponding to the logical channel determined by the network side device is different.
  • the first case if the Flow and the logical channel adopt 1:1 mapping, the network side device will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the 1:1 scale mapping used by the Flow and the logical channel is that only one logical channel only maps one Flow.
  • the MDBV of the Flow is used as the MDBV corresponding to the logical channel.
  • the second case if the flow and the logical channel adopt the M:1 scale mapping, the network side device obtains the MDBV corresponding to the flow corresponding to the flow of the logical channel according to the mapping relationship between the flow and the logical channel, and the MDBV corresponding to the logical channel, where M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • 6 flows are mapped to the same logical channel, and the network side device adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the logical channel.
  • MDBV 6:1 scale mapping
  • the third case if the flow and the logical channel adopt the M:1 scale mapping, the network side device uses the sum of the MDBV corresponding to the Flow actually mapped to the logical channel in the Flow and logical channel mapping relationship as the MDBV corresponding to the logical channel.
  • M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • the actual mapping rule there should be M flows mapped to the same logical channel at this time, but only three flows are mapped to the same logical channel.
  • the network side device adds the MDBVs corresponding to the three Flows, and the sum of the MDBVs is the MDBV corresponding to the logical channel.
  • the network side device determines the MDBV corresponding to the logical channel at the MAC layer root, but the MAC layer does not know the mapping relationship between the flow and the logical channel and the MDBV corresponding to the logical channel, the MAC layer needs to be notified in advance, and the network side device can be in the MAC.
  • the layer determines the MDBV corresponding to the logical channel, and specifically can notify the MAC layer in the following manner.
  • the network side device notifies the MAC layer Flow and logical channel mapping relationship through a Service Data Adaptation Protocol (SDAP) or an RRC layer;
  • SDAP Service Data Adaptation Protocol
  • RRC Radio Resource Control
  • the flow is represented by QFI.
  • the MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
  • the network side device can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the corresponding corresponding to each flow according to the MDBV corresponding to the QFI.
  • the MDBV finally adds the MDBVs corresponding to the Flows mapped to the logical channels to obtain the MDBVs corresponding to the logical channels.
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer.
  • the network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP or RRC layer notification.
  • the network side device notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP, and the flow is represented by QFI.
  • the MAC layer determines the MDBV corresponding to each flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. . Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
  • the network side device finds the MDBV corresponding to the Flow mapped to the logical channel according to the MDBV corresponding to the QFI, and finally maps the flow actually mapped to the logical channel.
  • the corresponding MDBVs are added to obtain the MDBV corresponding to the logical channel.
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
  • the network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP layer notification.
  • the network side device uses the MDBV corresponding to the logical channel as the logical channel for the size of the MDBV controlled token bucket, and determines the logical channel for the MDBV control.
  • an optional implementation manner is: the network side device uses the MDBV corresponding to the logical channel and the current logical channel as the difference between the number of tokens actually used in the token bucket controlled by the MDBV.
  • the logical channel is used for the number of available tokens in the token bucket controlled by the MDBV.
  • the network side device uses the number of available tokens in the token bucket controlled by the MDBV according to the logical channel.
  • the minimum value between the data volume of the current logical channel actually to be allocated resources is resource allocation for the logical channel.
  • the PDB is determined as follows:
  • the terminal determines, according to the mapping relationship of the logical channels, the 5QI corresponding to all the flows of all the logical channels that can be mapped or the 5QIs of all the flows that are actually mapped to the logical channels; and finally determines the largest PDB as the logical channel from the 5QI corresponding to the Flow. Corresponding PDB.
  • the network side device first determines that the logical channels that can be mapped to the logical channel group or are actually mapped to the logical channel group are the logical channels 1, 2, 3, and 4, and then the network side device determines that the logical channels 1, 2, 3, and 4 correspond to
  • the 5QI corresponding to the Flow is determined from the determined 5QI corresponding to the Flow, and the largest PDB is determined as the PDB corresponding to the logical channel group according to the standardized 5QI table of the 3GPP.
  • the resource allocation is performed for the logical channel according to the determined MDBV and the token bucket for the MDBV control.
  • the network side device preferentially allocates resources for the data required to meet the MDBV corresponding to the logical channel, if there is still remaining The resource, the network side device allocates resources according to the data amount that the logical channel can allocate resources according to the MDBV requirements that do not satisfy the logical channel group.
  • the embodiment of the present invention provides a schematic flowchart of a complete method for resource allocation for downlink resources.
  • Step 200 The network side device determines that the logical channel establishment is completed, and/or the network side device determines, according to the system load, that resource allocation needs to be performed based on the MDBV.
  • Step 201 The network side device determines, by using a MAC layer, an MDBV corresponding to the logical channel.
  • Step 202 The network side device determines, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV;
  • Step 203 The network side device uses the difference between the MDBV corresponding to the logical channel and the number M of tokens actually used in the time period (N-PDB, N) in the MDBV control token bucket as a logical channel for MDBV control. Number of tokens available in the token bucket;
  • Step 204 The network side device allocates resources to the logical channel according to a minimum value between the number of available tokens in the token bucket used by the logical channel for the MDBV control and the data volume of the actual logical channel to be allocated.
  • Method 2 Allocate resources to uplink resources.
  • the network side device When the resource allocation is performed on the uplink resource, the network side device needs to allocate uplink resources for different terminals.
  • the network side device determines that the logical channel establishment is completed and/or the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, the logical channel is determined. The corresponding MDBV of the group and the token bucket for MDBV control.
  • the network side device can determine the MDBV corresponding to the logical channel group in the following centralized manner:
  • the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group.
  • the network side device determines the MDBV corresponding to the logical channels 1, 2, and 3 according to the mapping relationship between the flow and the logical channel, and the logical channels 1 and 2 are in the same logical channel group 1, and the network side device sets the logical channel 1
  • the sum of the corresponding MDBVs of 2 is the MDBV corresponding to the logical channel group 1.
  • the MDBV corresponding to the logical channel determined by the network device is different. The following describes different situations:
  • the first case if the Flow and the logical channel adopt a 1:1 scale mapping, the network side device will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the 1:1 scale mapping used by the Flow and the logical channel is that only one logical channel only maps one Flow.
  • the MDBV of the Flow is used as the MDBV corresponding to the logical channel.
  • the second case if the flow and the logical channel adopt the M:1 scale mapping, the network side device uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel.
  • M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • 6 flows are mapped to the same logical channel, and the network side device adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the logical channel.
  • MDBV 6:1 scale mapping
  • the third case if the Flow and the logical channel adopt the M:1 scale mapping, the network side device will use the sum of the MDBVs corresponding to the Flow actually mapped to the logical channel according to the Flow and logical channel mapping relationship.
  • M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • the network side device adds the MDBVs corresponding to the three Flows, and the sum of the MDBVs is the MDBV corresponding to the logical channel.
  • the network side device receives the sum of the MDBVs corresponding to the logical channels reported by the terminal, and uses the sum of the MDBVs corresponding to the reported logical channels as the MDBV corresponding to the logical channel group.
  • the network side device will receive the sum of the MDBVs corresponding to the logical channels 1, 2, and 3 reported by the receiving end, and the logical channels 1, 2, and 3 are in the same logical channel group 1, and the logical channel 1 to be reported by the network side device at this time.
  • the sum of the MDBVs corresponding to 2 and 3 is the MDBV corresponding to the logical channel group 1.
  • the network side device receives the MDBV corresponding to the logical channel group reported by the terminal, and then uses the MDBV corresponding to the reported logical channel group as the MDBV corresponding to the logical channel group.
  • the terminal reports the sum of the MDBVs corresponding to the logical channels 1, 2, and 3 in the same logical channel group 1 to the network side device, and the sum of the MDBVs corresponding to the same logical channel group 1 reported by the network side device at this time.
  • the MDBV corresponding to logical channel group 1 1.
  • the MAC layer Since the network side device determines the MDBV corresponding to the logical channel group at the MAC layer, the MAC layer does not know the mapping relationship between the Flow and the logical channel and the MDBV corresponding to the logical channel, so the MAC layer needs to be notified in advance.
  • the RRC layer since the MAC layer does not know the mapping relationship between the logical channel and the logical channel group when performing uplink allocation of resources, the RRC layer also needs to notify the mapping relationship between the logical layer and the logical channel group of the MAC layer, so that the network side device can be in the MAC.
  • the layer determines the MDBV corresponding to the logical channel group, and specifically can notify the MAC layer in the following manner.
  • the network side device notifies the MAC layer Flow and the logical channel mapping relationship through the SDAP or the RRC layer;
  • the flow is represented by QFI.
  • the MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the MAC layer determines the sum of the MDBVs of all logical channels mapped to the logical channel group as the MDBV of the logical channel group based on the mapping relationship between the logical channel and the logical channel group.
  • the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
  • the network side device can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the corresponding corresponding to each flow according to the MDBV corresponding to the QFI.
  • the MDBV finally adds the MDBVs corresponding to the Flows mapped to the logical channels to obtain the MDBVs corresponding to the logical channels.
  • the MAC layer determines the sum of the MDBVs of all the logical channels mapped to the logical channel group as the MDBV of the logical channel group according to the mapping relationship between the logical channel and the logical channel group.
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer.
  • the network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP or RRC layer notification.
  • the MAC layer determines the sum of the MDBVs of all the logical channels mapped to the logical channel group as the MDBV of the logical channel group according to the mapping relationship between the logical channel and the logical channel group.
  • the network side device notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
  • An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
  • the network side SDAP notifies the MAC layer to actually map to the flow of the logical channel, and the flow is represented by QFI.
  • the MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
  • An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
  • the network side SDAP notifies the MAC layer to actually map to the flow of the logical channel.
  • the network side device finds the mapping to the logic according to the MDBV corresponding to the QFI.
  • the MDBV corresponding to the Flow of the channel is finally added to the MDBV corresponding to the Flow that is actually mapped to the logical channel, and the MDBV corresponding to the logical channel is obtained.
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
  • An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
  • the network side SDAP layer determines the MDBV corresponding to the logical channel according to the mapping relationship between the actual Flow and the logical channel, and the MAC layer can directly determine the MDBV corresponding to the logical channel according to the SDAP layer notification.
  • the above method of notifying the MAC layer may use one of the methods separately, or may use multiple methods at the same time.
  • the network side device uses the MDBV as the logical channel group for the size of the MDBV controlled token bucket, and determines the token bucket for the MDBV control at the time.
  • the number M of tokens actually used in the segment (N-PDB, N), where N is the scheduling time, and the PDB is the packet delay budget corresponding to the logical channel.
  • the difference between the MDBV and the M is the current time N.
  • the PDB is determined as follows:
  • the terminal determines, according to the mapping relationship between the flow and the logical channel, the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QI corresponding to all the flows that are actually mapped to the logical channel group, and finally determines the largest PDB according to the 5QI corresponding to the Flow.
  • the PDB corresponding to the logical channel group determines, according to the mapping relationship between the flow and the logical channel, the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QI corresponding to all the flows that are actually mapped to the logical channel group.
  • the network side device first determines that the logical channels that can be mapped to the logical channel group or are actually mapped to the logical channel group are the logical channels 1, 2, 3, and 4, and then the network side device determines that the logical channels 1, 2, 3, and 4 correspond to The 5QI corresponding to the Flow further determines the largest PDB as the PDB corresponding to the logical channel group from the determined 5QI corresponding to the Flow.
  • the resource allocation is performed for the logical channel group according to the determined MDBV and the token bucket for MDBV control.
  • an optional implementation manner is: the network side device uses the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control as the logical channel group. The number of available tokens in the corresponding token bucket.
  • the difference (100-bit) logical channel group is used to control the number of available tokens in the MDBV control token bucket to be 100 bits.
  • the network side device After obtaining the number of available tokens in the token bucket used as the logical channel group for the MDBV control, if the number of available tokens of the logical channel group is smaller than the actual amount of data to be transmitted by the logical channel group, the network side device preferentially satisfies The data allocation resource required by the MDBV corresponding to the logical channel group. If the remaining resources still exist, the network side device allocates resources according to the data that the logical channel group actually needs to transmit but does not satisfy the MDBV corresponding to the logical channel group.
  • the network side device allocates resources to different terminals
  • the allocated resources are notified to the terminal, and the terminal needs to perform resource allocation on the logical channel based on the resources allocated by the network side, so when the terminal determines that the logical channel is established and/or received.
  • the terminal determines the token bucket for the MDBV control and the MDBV corresponding to the logical channel.
  • the terminal determines the MDBV corresponding to the logical channel at the MAC layer, there are several different situations in the mapping relationship between the flow and the logical channel. Therefore, the MDBV corresponding to the logical channel determined by the terminal is different, and the following describes different situations. :
  • the first case if the Flow and the logical channel adopt a 1:1 ratio mapping, the terminal will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the Flow and the logical channel adopt a 1:1 ratio mapping.
  • the terminal uses the MDBV of the Flow as the MDBV corresponding to the logical channel.
  • the second case if the flow and the logical channel adopt the M:1 scale mapping, the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; , M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • 6 flows are mapped to the same logical channel, and the terminal adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the MDBV corresponding to the logical channel. .
  • the terminal uses the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the logical channel according to the flow and logical channel mapping relationship.
  • MDBV where M is a positive integer.
  • the flow and logical channels adopt a 6:1 scale mapping.
  • the actual mapping rule there should be 6 flows mapped to the same logical channel at this time, but only three flows are mapped to the same logical channel.
  • the MDBVs corresponding to the three Flows are added, and the sum of the MDBVs is taken as the MDBV corresponding to the logical channel.
  • the terminal determines the MDBV corresponding to the logical channel at the MAC layer, but the MAC layer does not know the mapping relationship between the MDBV corresponding to the logical channel and the flow and the logical channel, it is necessary to introduce an inter-layer interaction mechanism to notify the MAC layer that the terminal can be in the MAC layer.
  • the MDBV corresponding to the logical channel is determined, and the MAC layer may be notified in the following manner.
  • the terminal notifies the medium access control MAC layer Flow and the logical channel mapping relationship through the service data adaptation layer SDAP or the radio resource control RRC layer.
  • the flow is represented by QFI.
  • the MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
  • the terminal can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the MDBV corresponding to each flow according to the MDBV corresponding to the QFI. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
  • the terminal notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP or the RRC layer.
  • the MAC can directly obtain the MDBV corresponding to the logical channel according to the notification.
  • the MDBV is the sum of MDBVs corresponding to Flows that can be mapped to the logical channel.
  • the terminal notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
  • the MDBV corresponding to the Flow mapped to the logical channel is found according to the MDBV corresponding to the QFI, and finally the MDBV corresponding to the Flow mapped to the logical channel is actually mapped. Add together to get the MDBV corresponding to the logical channel.
  • the terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
  • the MDBV corresponding to the Flow mapped to the logical channel is found according to the MDBV corresponding to the QFI, and finally the MDBV corresponding to the Flow mapped to the logical channel is actually mapped. Add together to get the MDBV corresponding to the logical channel.
  • the terminal device notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP layer.
  • the MAC layer can directly obtain the MDBV corresponding to the logical channel according to the notification.
  • the MDBV is the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel.
  • the terminal uses the MDBV corresponding to the logical channel group as the logical channel group for the size of the token bucket controlled by the MDBV, and determines the token bucket for the MDBV control at the time.
  • the number of tokens actually used in the segment (N-PDB, N), where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
  • N is the scheduling moment
  • PDB is the packet delay budget corresponding to the logical channel.
  • the difference between MDBV and M is taken as the current moment.
  • the terminal After the terminal determines the MDBV corresponding to the logical channel group and the token bucket for the MDBV control, the terminal performs resource allocation for the logical channel group according to the determined MDBV and the token bucket for MDBV control, an optional implementation manner. for:
  • the terminal first sorts the logical channels with available PBR tokens and data transmission requirements in descending order of logical channel priority, and then the terminal sequentially allocates the first round of resources based on PBR for each logical channel, and updates each logic simultaneously.
  • the number of tokens in the PBR token bucket corresponding to the channel, and after completing the PBR-based resource allocation for the logical channel with the MDBV requirement, the number of available tokens in the MDBV token bucket corresponding to the logical channel is updated.
  • the number of available tokens in the token bucket corresponding to the logical channel herein is the difference between the MDBV and the number of tokens actually used by the logical channel in the token bucket corresponding to the current time;
  • the second round of resource allocation is performed on all logical channels having data transmission requirements in descending order of logical channel priority, specifically:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process.
  • the logical channel is used for the number of tokens that can be used in the token bucket controlled by the MDBV and the current resource to be allocated. a smaller of the amount of data, resource allocation for the logical channel;
  • the terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel.
  • the terminal determines that there is a logical channel required by the MDBV, and the number of available tokens in the current token bucket corresponding to the logical channel is 40 bits, and the amount of data that can be allocated in the current token bucket of the logical channel is 60 bits, at which time the terminal takes a smaller value (40 bits) between the two to allocate resources to the logical channel.
  • the terminal has two ways to allocate resources.
  • the terminal allocates resources to the logical channel according to the amount of data of the resource to be allocated currently on the logical channel:
  • the amount of data of the resource to be allocated on the logical channel is 600 bits, and the terminal allocates resources according to the 600 bits.
  • the terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel.
  • the data volume of the logical channel to be allocated is 600 bits
  • the logical channel that needs to be allocated is a logical channel that includes the GBR service.
  • the terminal allocates resources only to the logical channel according to the 600 bits.
  • the remaining to-be-transmitted data is allocated in descending order of all logical channels having data transmission requirements until the resources are exhausted or all logical channels are Resources are allocated for the data to be transmitted.
  • the terminal determines whether there are any remaining resources. If there are remaining resources, the resources are allocated to the respective logical channels according to the remaining resources according to the order of the logical channels.
  • the PDB is determined as follows:
  • the terminal determines the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QIs corresponding to all the flows that are actually mapped to the logical channel group according to the mapping relationship between the flow and the logical channel, and finally determines the largest PDB according to the 5QI corresponding to the Flow as the logic.
  • the PDB corresponding to the channel group determines the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QIs corresponding to all the flows that are actually mapped to the logical channel group according to the mapping relationship between the flow and the logical channel, and finally determines the largest PDB according to the 5QI corresponding to the Flow as the logic.
  • the PDB corresponding to the channel group is the largest PDB according to the 5QI corresponding to the Flow as the logic.
  • the network side device first determines that the logical channel that can be mapped or the actually mapped logical channel is the logical channel 1, 2, 3, and 4, and then the field determines the 5QI corresponding to the Flow corresponding to the logical channels 1, 2, 3, and 4, and then The maximum PDB is determined as the PDB corresponding to the logical channel from the determined 5QI corresponding to the Flow.
  • the embodiment of the present invention provides a schematic flowchart of a complete method for performing resource allocation on an uplink side of an uplink resource.
  • Step 300 The terminal needs to determine that the logical channel is established and/or receives a notification that the network side device needs to perform resource allocation based on the MDBV.
  • Step 301 The terminal determines, by using a MAC layer, an MDBV corresponding to the logical channel.
  • Step 302 The terminal network side device determines, by the logical network channel, the number of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV;
  • Step 303 The terminal sorts logical channels having available PBR tokens and having data transmission requirements in descending order of logical channel priorities.
  • Step 304 The terminal sequentially performs a first round of resource allocation based on the PBR for each logical channel, and simultaneously updates the number of tokens in the PBR token bucket corresponding to each logical channel group, and updates each logical channel group corresponding to the MDBV. The number of tokens available in the controlled token bucket;
  • Step 305 After completing the PBR-based resource allocation on the logical channel required by the MDBV, the terminal updates the logical channel for the number of available tokens in the token bucket controlled by the MDBV.
  • Step 306 after the terminal determines that there are remaining resources that can be allocated, it is determined whether the logical channel that needs to be allocated currently has a logical channel required by the MDBV, if yes, step 307 is performed; otherwise, step 308 is performed;
  • Step 307 The terminal takes a logical channel for a smaller value of the number of available tokens in the token bucket controlled by the MDBV and the data volume of the current resource to be allocated of the logical channel, and performs resource allocation on the logical channel.
  • Step 308 The terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel, or the logical channel that needs to be allocated before is a logical channel that does not have an MDBV requirement, and includes a GBR service, and the current resource to be allocated according to the logical channel.
  • the amount of data is allocated to the logical channel;
  • Step 309 The terminal determines that there are remaining resources, and performs resource allocation on the remaining data to be transmitted in descending order of all logical channel priorities having data transmission requirements.
  • the embodiment of the present invention provides a schematic flowchart of a complete method for performing resource allocation on a network side device for uplink resources.
  • Step 400 The network side device determines that the logical channel establishment is complete and/or the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal to determine, according to the system load, that the resource allocation needs to be performed based on the MDBV.
  • Step 401 The network side device determines, by using a MAC layer, an MDBV corresponding to the logical channel group.
  • Step 402 The network side device determines, by the logical channel, the number of tokens that have been actually used in the time slot (N-PDB, N) in the token bucket controlled by the MDBV;
  • Step 403 The network side device uses, as a logical channel group, the difference between the MDBV corresponding to the logical channel group and the number M of tokens actually used in the time period (N-PDB, N) in the MDBV control token bucket. The number of tokens available in the token bucket controlled by MDBV;
  • Step 404 The network side device preferentially allocates resources for data required to meet the MDBV corresponding to the logical channel group.
  • Step 405 The network side device determines that there are remaining resources. If the step 406 is performed, the resource allocation is ended.
  • Step 406 The network side device further allocates resources according to data required to be transmitted by the logical channel group but does not meet the MDBV requirement corresponding to the logical channel group.
  • Step 407 The network side device ends resource allocation.
  • an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes: a processor 500, a memory 501, and a transceiver 502;
  • the processor 500 is configured to read a program in the memory 501 and execute:
  • Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control; performing resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • processor 500 is further configured to:
  • the processor 500 is specifically configured to:
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the Flow and the logical channel.
  • the processor is specifically configured to:
  • the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel;
  • the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
  • the processor 500 is specifically configured to:
  • the MDBV corresponding to the logical channel is determined at the MAC layer.
  • processor 500 is further configured to:
  • the mapping relationship between the MAC layer Flow and the logical channel is notified through the SDAP or the RRC layer; or
  • the MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  • the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
  • processor 500 is further configured to:
  • the logical channel is used for the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and the difference between the size of the token bucket and the difference of M is used as the logical channel.
  • N is the scheduling moment
  • PDB is the packet delay budget corresponding to the logical channel.
  • the processor is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel:
  • the processor 500 is specifically configured to:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the amount of data to be transmitted by the channel, and performing resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal is currently to be transmitted according to the logical channel. A quantity is allocated to the logical channel.
  • processor 500 is further configured to:
  • the terminal After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  • processor 500 is further configured to:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
  • processor 500 is further configured to:
  • the terminal After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  • the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
  • the processor 500 is specifically configured to:
  • N is the scheduling time
  • PDB is the data packet delay budget corresponding to the logical channel.
  • the processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations.
  • the transceiver 502 is configured to receive and transmit data under the control of the processor 500.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 500 and various circuits of memory represented by memory 501.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations.
  • the flow disclosed in the embodiment of the present invention may be applied to the processor 500 or implemented by the processor 500.
  • each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 500 or an instruction in the form of software.
  • the processor 500 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can be implemented or executed in an embodiment of the invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501 and completes the steps of the signal processing flow in conjunction with its hardware.
  • the embodiment of the present invention provides a network side device for performing resource allocation, where the network side device includes: a processor 600, a memory 601, and a transceiver 602;
  • the processor 600 is configured to read a program in the memory 601 and execute:
  • the resource allocation object is a logical channel group; if downlink resource allocation is performed, the resource allocation object is a logical channel.
  • processor 600 is further configured to:
  • processor 600 is further configured to:
  • the notification terminal needs to perform resource allocation based on the MDBV.
  • processor 600 is specifically configured to:
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel;
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel, and the sum of the MDBVs corresponding to the logical channels in the same logical channel group is used as the MDBV corresponding to the logical channel group; or
  • the sum of the MDBVs corresponding to the logical channels reported by the terminal is used as the MDBV corresponding to the logical channel group;
  • the MDBV corresponding to the logical channel group reported by the terminal is received.
  • processor 600 is specifically configured to:
  • the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel;
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
  • processor 600 is specifically configured to:
  • the MDBV corresponding to the resource allocation object is determined at the MAC layer.
  • processor 600 is further configured to:
  • the MAC layer Before the MAC layer determines the MDBV corresponding to the resource allocation object, notifying the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
  • the MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  • processor 600 is further configured to:
  • the mapping relationship between the MAC layer logical channel and the logical channel group is notified by the RRC layer.
  • processor 600 is further configured to:
  • the size is determined according to the size of the token bucket used by the logical channel for MDBV control and the number M of tokens in the token bucket that the logical channel has used in the time period (N-PDB, N) Number of available tokens in the token bucket corresponding to the logical channel; or,
  • uplink resource allocation it is determined according to the size of the token bucket used by the logical channel group for MDBV control and the number M of tokens in the token bucket that have been used by the logical channel group in the time period (N-PDB, N) The number of available tokens in the token bucket corresponding to the logical channel group; where N is a scheduling moment, and the PDB is a data packet delay budget corresponding to the logical channel.
  • the processor 600 is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel group:
  • processor 600 is specifically configured to:
  • the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for the MDBV control is used as the data amount of the logical channel capable of allocating resources;
  • the logical channel is used for resource allocation of the logical channel for the minimum value between the number of available tokens in the token bucket controlled by the MDBV and the actual amount of data to be transmitted of the current logical channel.
  • processor 600 is specifically configured to:
  • the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group is used as the logic.
  • the number of available tokens in the token bucket corresponding to the channel group; the minimum value between the number of tokens available in the token bucket corresponding to the logical channel group and the actual amount of data to be transmitted in the current logical channel group Resource allocation is performed for the logical channel group.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 601 can store data used by the processor 600 in performing operations.
  • the transceiver 602 is configured to receive and transmit data under the control of the processor 600.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 600 and various circuits of memory represented by memory 601.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 601 can store data used by the processor 600 in performing operations.
  • the flow disclosed in the embodiment of the present invention may be applied to the processor 600 or implemented by the processor 600.
  • each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 600 or an instruction in the form of software.
  • the processor 600 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can be implemented or executed in an embodiment of the invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 601, and the processor 600 reads the information in the memory 601 and completes the steps of the signal processing flow in conjunction with its hardware.
  • an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes:
  • a first determining module 700 configured to determine an MDBV corresponding to the logical channel and a token bucket for MDBV control
  • the first allocating module 701 is configured to perform resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • the first determining module 700 is further configured to:
  • the first determining module 700 is further configured to:
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the Flow and the logical channel.
  • the first determining module 700 is specifically configured to:
  • the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel;
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
  • the first determining module 700 is specifically configured to:
  • the MDBV corresponding to the logical channel is determined at the MAC layer.
  • the first determining module 700 is further configured to:
  • the mapping relationship between the MAC layer Flow and the logical channel is notified through the SDAP or the RRC layer; or
  • the MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  • the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
  • the first determining module 700 is specifically configured to:
  • N the number of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and comparing the size of the token bucket with the difference of M as the logical channel
  • N the scheduling moment
  • PDB the packet delay budget corresponding to the logical channel
  • the first determining module 700 is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel:
  • the first allocating module 701 is specifically configured to:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the amount of data to be transmitted by the channel, and performing resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal is currently to be transmitted according to the logical channel. A quantity is allocated to the logical channel.
  • the first allocating module 701 is further configured to:
  • the terminal After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  • the first allocating module 701 is further configured to:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
  • the first allocating module 701 is further configured to:
  • the terminal determines that there are remaining resources, the remaining channels are in descending order of all logical channels having data transmission requirements.
  • the data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  • the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
  • the first determining module 700 is further configured to:
  • N the number of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and M as the object
  • N the scheduling moment
  • PDB the packet delay budget corresponding to the logical channel.
  • the embodiment of the present invention provides a network side device that performs resource allocation, and the network side device includes:
  • a second determining module 800 configured to determine an MDBV corresponding to the resource allocation object and a token bucket for the MDBV control
  • a second allocation module 801 configured to perform resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control;
  • the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
  • the second determining module 800 is further configured to:
  • the second determining module 800 is further configured to:
  • the notification terminal needs to perform resource allocation based on the MDBV.
  • the second determining module 800 is specifically configured to:
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel;
  • the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel, and the sum of the MDBVs corresponding to the logical channels in the same logical channel group is used as the MDBV corresponding to the logical channel group; or
  • the sum of the MDBVs corresponding to the logical channels reported by the terminal is used as the MDBV corresponding to the logical channel group;
  • the MDBV corresponding to the logical channel group reported by the terminal is received.
  • the second determining module 800 is further configured to:
  • the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel;
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
  • the Flow and the logical channel adopt the M:1 mapping
  • the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
  • the second determining module 800 is specifically configured to:
  • the MDBV corresponding to the resource allocation object is determined at the MAC layer.
  • the second determining module 800 is further configured to:
  • the MAC layer Before the MAC layer determines the MDBV corresponding to the resource allocation object, notifying the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
  • the MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  • the second determining module 800 is further configured to:
  • the mapping relationship between the MAC layer logical channel and the logical channel group is notified by the RRC layer.
  • the second determining module 800 is further configured to:
  • the size is determined according to the size of the token bucket used by the logical channel for MDBV control and the number M of tokens in the token bucket that the logical channel has used in the time period (N-PDB, N) Number of available tokens in the token bucket corresponding to the logical channel; or,
  • uplink resource allocation it is determined according to the size of the token bucket used by the logical channel group for MDBV control and the number M of tokens in the token bucket that have been used by the logical channel group in the time period (N-PDB, N) The number of available tokens in the token bucket corresponding to the logical channel group; where N is a scheduling moment, and the PDB is a data packet delay budget corresponding to the logical channel.
  • the second determining module 800 is specifically configured to:
  • the PDB corresponding to the logical channel is determined in the following manner:
  • the second determining module 800 is specifically configured to:
  • the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for the MDBV control is used as the data amount of the logical channel capable of allocating resources;
  • the logical channel is used for resource allocation of the logical channel for the minimum value between the number of available tokens in the token bucket controlled by the MDBV and the data volume of the actual logical channel to be allocated.
  • the second determining module 800 is specifically configured to:
  • the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group is used as the logic.
  • a value is allocated for the logical channel group.
  • an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
  • Step 900 The terminal determines an MDBV corresponding to the logical channel and a token bucket used for MDBV control.
  • Step 901 The terminal performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  • the terminal before determining, by the terminal, the MDBV corresponding to the logical channel and the token bucket for the MDBV control, determining that the logical channel is established; and/or receiving the notification that the network side device needs to perform resource allocation based on the MDBV.
  • the terminal determines, according to the mapping relationship between the flow and the logical channel, the MDBV corresponding to the logical channel.
  • the terminal uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
  • the terminal will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; M is a positive integer.
  • the terminal determines, at the MAC layer, an MDBV corresponding to the logical channel.
  • the terminal notifies, by using a SDAP or an RRC layer, a mapping relationship between a MAC layer flow and a logical channel; or
  • the terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the terminal notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP or the RRC layer; or
  • the terminal notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer;
  • the terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
  • the MDBV corresponding to the object is determined by the MAC layer.
  • the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
  • the terminal determines, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and the difference between the size of the token bucket and the M.
  • the value is the number of available tokens in the token bucket corresponding to the logical channel;
  • N is the scheduling time
  • PDB is the data packet delay budget corresponding to the logical channel.
  • the terminal determines, according to the following manner, a PDB corresponding to the logical channel:
  • the terminal allocates resources for the logical channel according to the determined MDBV and the token bucket for MDBV control:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic
  • the channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
  • the terminal after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels that have data transmission requirements, the terminal further includes:
  • the remaining to-be-transmitted data is allocated according to the logical channel priority descending order of all data transmission requirements until the resources are exhausted or the resources to be transmitted of all logical channels are allocated resources.
  • the terminal allocates resources for the logical channel according to the determined MDBV and the token bucket for MDBV control:
  • the terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously.
  • the terminal After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
  • the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
  • the terminal after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels that have data transmission requirements, the terminal further includes:
  • the remaining to-be-transmitted data is allocated according to the logical channel priority descending order of all data transmission requirements until the resources are exhausted or the resources to be transmitted of all logical channels are allocated resources.
  • the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
  • the terminal updates the logical channel for the number of available tokens in the token bucket controlled by the MDBV, including:
  • N the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the The number of available tokens in the token bucket corresponding to the object; where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
  • an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
  • Step 1000 The network side device determines an MDBV corresponding to the resource allocation object and a token bucket used for MDBV control.
  • Step 1001 The network side device performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control.
  • the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
  • the network side device determines that the logical channel establishment is completed; and/or determines that the resource allocation needs to be performed based on the MDBV according to the system load.
  • the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal that the resource allocation is performed based on the MDBV.
  • the network side device determines, according to the mapping relationship between the flow and the logical channel, the MDBV corresponding to the logical channel; or
  • the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group; or ,
  • the network side device uses the sum of the MDBVs corresponding to the logical channels reported by the terminal as the MDBV corresponding to the logical channel group; or
  • the network side device receives the MDBV corresponding to the logical channel group reported by the terminal.
  • the network side device uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
  • the network side device uses, according to the mapping relationship between the flow and the logical channel, the sum of the MDBVs corresponding to the flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel; or ,
  • the network side device will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; , M is a positive integer.
  • the network side device determines, at the MAC layer, an MDBV corresponding to the resource allocation object.
  • the network side device before the MAC layer determines the MDBV corresponding to the resource allocation object, the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
  • the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer; or
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
  • the network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
  • the network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
  • the method further includes:
  • the network side device notifies the mapping relationship between the MAC layer logical channel and the logical channel group through the RRC layer.
  • the network side device uses the size of the token bucket controlled by the MDBV according to the logical channel, and the token bucket that has been used by the logical channel in the time period (N-PDB, N)
  • the number of tokens M determines the number of available tokens in the token bucket corresponding to the logical channel;
  • the logical channel group of the network side device is used for the size of the token bucket controlled by the MDBV and the token within the token bucket that has been used by the logical channel group in the N-PDB, N]
  • the number M determines the number of available tokens in the token bucket corresponding to the logical channel group;
  • N is the scheduling moment
  • PDB is the packet delay budget corresponding to the logical channel.
  • the network side device determines, according to the following manner, a PDB corresponding to the logical channel:
  • the network side device determines, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that can be mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel;
  • the network side device determines, according to the 5QI corresponding to the Flow, the largest PDB as the PDB corresponding to the logical channel.
  • the network side device uses, as the logic, a difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for MDBV control.
  • the network side device performs resources for the logical channel according to a minimum value between the number of available tokens in the token bucket used by the MDBV control and the actual data volume of the current logical channel to be allocated. distribution.
  • the network side device, the MDBV corresponding to the logical channel group, and the token used in the MDBV control token bucket corresponding to the logical channel group are actually used.
  • the difference of the number is used as the number of available tokens in the token bucket corresponding to the logical channel group;
  • the network side device allocates resources to the logical channel group according to a minimum value between the number of available tokens in the token bucket corresponding to the logical channel group and the data amount of the current logical channel to be allocated. .
  • the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system.
  • a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A resource allocation method and apparatus, used to resolve the issue in the prior art in which no specific solution exists for a resource allocation method based on MDBV data transmission in a 5G system. In the embodiment of the present invention, a terminal and a network side device determine an MDBV corresponding to an object and a token bucket used for MDBV control, and allocate resources to the object according to the determined MDBV and the token bucket used for MDBV control. Data transmission resources are allocated according to a token bucket used for MDBV control, thereby ensuring that the amount of data sent by each QoS Flow does not exceed an MDBV limit, and eliminating, when a system is under heavy loading, the situation in which a delay-sensitive service preempts resources of other services.

Description

一种进行资源分配的方法和装置Method and device for resource allocation
本申请要求在2018年5月9日提交中国专利局、申请号为201810438523.2、发明名称为“一种进行资源分配的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201810438523.2, entitled "A Method and Apparatus for Resource Allocation", which is filed on May 9, 2018, the entire disclosure of which is incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及无线通信技术领域,特别涉及一种进行资源分配的方法和装置。The present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for performing resource allocation.
背景技术Background technique
对于5G NR(New Radio,新空口)系统,核心网会为每个Flow(流)配置的QoS(Quality of Service,业务质量)Profile(属性)。RAN(Radio Access Network,接入网)基于核心网为每个Flow配置的QoS Profile进行QoS管理。QoS profile中的一个参数是5QI(5G QoS Identifier,第五代移动通信系统业务质量标识)。MDBV(Maximum Data Burst Volume,最大数据突发容量)是5QI包含的一个参数。而5G NR系统主要支持三类业务:第一种是eMBB(enhanced Mobile Broadband,增强型宽带通信)业务,第二种为mMTC(massive Machine Type Communications,大量机器类型通信)业务,第三种是URLLC(Ultra-Reliable and Low Latency Communications,高可靠低时延通信)业务。For the 5G NR (New Radio) system, the core network configures the QoS (Quality of Service) profile for each Flow. The RAN (Radio Access Network) performs QoS management based on the QoS profile configured by the core network for each Flow. One parameter in the QoS profile is 5QI (5G QoS Identifier, the fifth generation mobile communication system service quality identifier). MDBV (Maximum Data Burst Volume) is a parameter included in 5QI. The 5G NR system mainly supports three types of services: the first is eMBB (enhanced Mobile Broadband) service, the second is mMTC (massive machine type communication) service, and the third is URLLC. (Ultra-Reliable and Low Latency Communications) business.
其中,URLLC业务对时延要求比较高,因此一般也称为时延敏感GBR(Guaranteed Bit Rate,保证比特率)业务。对于这类业务,核心网基于Flow定义QoS profile时,5QI中一般会包含MDBV参数,其中,MDBV表示PDB(Packet Delay Budget,包延迟预算)时间范围内5G接入网需要处理一个Flow的最大数据量,并且5QI可以是标准化的,也可以是非标准化的。Among them, the URLLC service has a relatively high latency requirement, so it is also generally called a Delay-Sensed GBR (Guaranteed Bit Rate) service. For the service, when the core network defines the QoS profile based on the flow, the 5QI generally includes the MDBV parameter. The MDBV indicates that the 5G access network needs to process the maximum data of a Flow within the time range of the PDB (Packet Delay Budget). Quantity, and 5QI can be standardized or non-standardized.
但是,现有技术中对于5G系统,如何进行基于MDBV数据传输的资源分配方法尚没有明确的解决方案。However, in the prior art, there is no clear solution for how to perform a resource allocation method based on MDBV data transmission for a 5G system.
发明内容Summary of the invention
本发明提供一种进行资源分配的方法和装置,用以解决现有技术中5G系统中基于MDBV数据传输的资源分配方法尚没有明确的解决方案的问题。The present invention provides a method and apparatus for resource allocation, which solves the problem that the resource allocation method based on MDBV data transmission in the 5G system in the prior art has no clear solution.
第一方面,终端确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶;之后根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。In a first aspect, the terminal determines an MDBV corresponding to the logical channel and a token bucket for MDBV control; and then performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
在本发明实施例中,终端首先确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶,然后根据确定的MDBV和用于MDBV控制的令牌桶为逻辑信道进行资源分配。由于本发明实施例中是根据用于MDBV控制的令牌桶对数据传输的资源进行分配,保证了每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, the terminal first determines the MDBV corresponding to the logical channel and the token bucket used for the MDBV control, and then performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control. In the embodiment of the present invention, the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding the delay when the system load is heavy. Sensitive services seize resources from other businesses.
在一些具体的实施中,所述终端确定逻辑信道建立完成后,确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶;和/或所述终端接收到网络侧设备发送的需要基于MDBV进行资源分配的通知之后,确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶。In some specific implementations, after determining that the logical channel is established, the terminal determines an MDBV corresponding to the logical channel and a token bucket for MDBV control; and/or the terminal needs to receive the network-side device to transmit based on the MDBV. After the notification of resource allocation, the MDBV corresponding to the logical channel and the token bucket for MDBV control are determined.
其中,在一些具体点的实施中,所述终端在MAC(Medium Access Control,媒体接入控制)层根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。In some implementations of the specific point, the terminal determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel at the MAC (Medium Access Control) layer.
在一些具体点的实施中,若Flow和逻辑信道采用1:1映射,所述终端将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,In some implementations of the specific point, if the Flow and the logical channel adopt a 1:1 mapping, the terminal uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,所述终端根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,所述终端将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the terminal will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; M is a positive integer.
在本发明实施例中,由于终端是根据不同的情况确定逻辑信道对应的MDBV,这样在资源分配的时候保证了资源分配的合理话,避免了时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, the terminal determines the MDBV corresponding to the logical channel according to different situations, so that the resource allocation is ensured when the resource is allocated, and the delay sensitive service is prevented from preempting resources of other services.
在一些具体的实施中,在终端通过MAC层确定对象对应的MDBV之前,所述终端需要通过SDAP或RRC(Radio Resource Control,无线资源控制)层通知MAC层Flow和逻辑信道的映射关系;或,In some implementations, before the terminal determines the MDBV corresponding to the object through the MAC layer, the terminal needs to notify the mapping relationship between the MAC layer Flow and the logical channel through a SDAP or RRC (Radio Resource Control) layer; or
所述终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系和QFI对应的MDBV;或,The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
所述终端备通过SDAP层通知MAC层逻辑信道对应的MDBV之后,通过MAC层确定对象对应的MDBV。After the terminal device notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP layer, the MDBV corresponding to the object is determined by the MAC layer.
在本发明实施例中,由于终端是在MAC层确定的逻辑信道对应的MDBV,但是MAC层并不知道相应的映射关系,因此引入了多种通知MAC层的方式,更加的多样化,以及保证终端可以在MAC层确定逻辑信道对应的MDBV。In the embodiment of the present invention, since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple ways of notifying the MAC layer are introduced, which is more diverse and guaranteed. The terminal can determine the MDBV corresponding to the logical channel at the MAC layer.
在本发明实施例中,由于终端是在MAC层确定的逻辑信道对应的MDBV,但是MAC层并不知道相应的映射关系,因此引入了多种通知MAC层的方式保证终端可以在MAC层确定逻辑信道对应的MDBV。In the embodiment of the present invention, since the terminal is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple manners of notifying the MAC layer are introduced to ensure that the terminal can determine the logic at the MAC layer. The MDBV corresponding to the channel.
在一些具体的实施中,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。In some implementations, the size of the token bucket for MDBV control is the MDBV corresponding to the logical channel. Determining, by the terminal, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the The number of available tokens in the token bucket corresponding to the logical channel; where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
在一些具体的实施中,所述终端通过下列方式确定逻辑信道对应的PDB:In some specific implementations, the terminal determines the PDB corresponding to the logical channel by:
根据逻辑信道和Flow映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to the logical channel and the flow mapping relationship, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining a maximum PDB according to the 5QI corresponding to the Flow as the The PDB corresponding to the logical channel.
在本发明实施例中,由于根据用于MDBV控制的令牌桶大小和确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数确定逻辑信道对应的令牌桶中的可用令牌个数,并依据确定的逻辑信道对应的令牌桶中的可用令牌个数进行资源分配,充分保证了每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, the number of tokens actually used in the time slot (N-PDB, N) within the token bucket for the MDBV control is determined according to the token bucket size used for the MDBV control and the logical channel is determined for the MDBV control. Determining the number of available tokens in the token bucket corresponding to the logical channel, and performing resource allocation according to the number of available tokens in the token bucket corresponding to the determined logical channel, which fully ensures that the amount of data sent by each QoS Flow is not The MDBV limit is exceeded, so that the delay-sensitive service can seize resources of other services when the system is heavily loaded.
在一些具体的实施中,在进行分配资源时,对于有MDBV要求的逻辑信道:In some specific implementations, for the logical channel with MDBV requirements when allocating resources:
1:所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道对应的MDBV令牌桶中的可用令牌个数;1: The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously. The number of tokens in the PBR token bucket corresponding to the channel, and the number of available tokens in the MDBV token bucket corresponding to the logical channel after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
2:所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:2: After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
3:如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。3: If the terminal determines that there are remaining resources, allocate resources to the remaining to-be-transmitted data in descending order of all logical channel priorities with data transmission requirements until the resources are exhausted or the data to be transmitted of all logical channels are allocated. Resources.
以及在进行分配资源时,对于没有MDBV要求的逻辑信道:And when performing resource allocation, for logical channels without MDBV requirements:
1:所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的可用令牌个数;1: The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously. The number of tokens in the PBR token bucket corresponding to the channel, and the number of available tokens for the MDBV control after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
2:所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:2: After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR(Guarantee Bit Rate,保证比特速率)业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配;For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The smaller of the data amount of the current resource to be allocated, and the resource allocation to the logical channel; if the logical channel that needs to be allocated currently is a logical channel that does not have the MDBV requirement and includes a GBR (Guarantee Bit Rate) service And the terminal performs resource allocation on the logical channel;
3:如果所述终端确定还有剩余资源,所述终端按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。3: If the terminal determines that there are remaining resources, the terminal allocates resources to the remaining to-be-transmitted data in descending order of all logical channel priorities with data transmission requirements until the resources are exhausted or the data to be transmitted of all logical channels All resources are allocated.
其中,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。The number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel and the command for MDBV control corresponding to the logical channel. The difference in the number of tokens that have actually been used in the bucket.
其中,所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的令牌桶中的可用令牌个数,以达到在完成基于PBR的资源分配后,对有MDBV要求的逻辑信道用于MDBV控制的令牌桶中的可用令牌个数进行更新的目的。The terminal determines the number M of tokens that have been actually used in the time slot (N-PDB, N) in the token bucket controlled by the MDBV, and sets the size of the token bucket and the difference of M as The number of available tokens in the token bucket corresponding to the object, so that after completing the PBR-based resource allocation, the number of available tokens in the token bucket used for MDBV control is performed on the logical channel required by the MDBV. The purpose of the update.
在本发明实施例中,以及在进行分配资源时,针对对于没有MDBV要求的逻辑信道和有MDBV要求的逻辑信道采用不同的方式进行资源分配,进一 步保证每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, when performing resource allocation, resource allocation is performed in different manners for a logical channel without MDBV requirements and a logical channel having MDBV requirements, further ensuring that the amount of data sent by each QoS Flow does not exceed MDBV. Restrictions, so that delay-sensitive services can seize resources of other services when the system is heavily loaded.
第二方面,本发明实施例提供一种进行资源分配的方法,该方法包括:In a second aspect, an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
网络侧设备确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;然后所述网络侧设备根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。Determining, by the network side device, the MDBV corresponding to the resource allocation object and the token bucket for the MDBV control; and then the network side device performs the resource allocation object according to the determined MDBV and the token bucket for MDBV control Resource allocation; wherein, if uplink resource allocation is performed, the resource allocation object is a logical channel group; and if downlink resource allocation is performed, the resource allocation object is a logical channel.
上述方案,网络侧设备确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶,然后根据确定的MDBV和用于MDBV控制的令牌桶为资源分配对象进行资源分配。由于本发明实施例中是根据用于MDBV控制的令牌桶对数据传输的资源进行分配,保证了每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the above solution, the network side device determines the MDBV corresponding to the resource allocation object and the token bucket used for the MDBV control, and then performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control. In the embodiment of the present invention, the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding the delay when the system load is heavy. Sensitive services seize resources from other businesses.
在一些具体的实施中,所述网络侧设备确定逻辑信道建立完成后,确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;和/或根据系统负荷确定需要基于MDBV进行资源分配后,确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶。In some implementations, after determining that the logical channel is established, the network side device determines the MDBV corresponding to the resource allocation object and the token bucket used for the MDBV control; and/or determines that the resource allocation needs to be performed based on the MDBV according to the system load. Determine the MDBV corresponding to the resource allocation object and the token bucket for MDBV control.
其中,若进行上行资源分配,所述网络侧设备根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。If the uplink resource allocation is performed, the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal that the resource allocation needs to be performed based on the MDBV.
在本发明实施例中,由于网络侧设备是根据不同的情况确定逻辑信道对应的MDBV,这样在资源分配的时候保证了资源分配的合理话,避免了时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, the network side device determines the MDBV corresponding to the logical channel according to different situations, so that the resource allocation is ensured when the resource is allocated, and the delay sensitive service is prevented from preempting resources of other services.
在一些具体的实施中,若进行下行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV;或,In some implementations, if the downlink resource allocation is performed, the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
若进行上行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的 MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group; or ,
若进行上行资源分配,所述网络侧设备将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device uses the sum of the MDBVs corresponding to the logical channels reported by the terminal as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,所述网络侧设备接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the network side device receives the MDBV corresponding to the logical channel group reported by the terminal.
在一些具体的实施中,若Flow和逻辑信道采用1:1映射,所述网络侧设备将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,In some implementations, if the Flow and the logical channel adopt a 1:1 mapping, the network side device uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,所述网络侧设备根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the network side device uses, according to the mapping relationship between the flow and the logical channel, the sum of the MDBVs corresponding to the flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel; or ,
若Flow和逻辑信道采用M:1映射,所述网络侧设备将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the flow and the logical channel adopt the M:1 mapping, the network side device will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; , M is a positive integer.
在一些具体的实施中,在网络侧设备通过MAC层确定资源分配对象对应的MDBV之前,所述网络侧设备需要通过SDAP或RRC(Radio Resource Control,无线资源控制)层通知MAC层Flow和逻辑信道的映射关系;或,In some implementations, before the network side device determines the MDBV corresponding to the resource allocation object by using the MAC layer, the network side device needs to notify the MAC layer of the flow and the logical channel by using a SDAP or a RRC (Radio Resource Control) layer. Mapping relationship; or,
所述网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
所述网络侧设备备通过SDAP层通知MAC层逻辑信道对应的MDBV之后,通过MAC层确定资源分配对象对应的MDBV。After the network side device is configured to notify the MDBV corresponding to the logical channel of the MAC layer by using the SDAP layer, the MDBV corresponding to the resource allocation object is determined by the MAC layer.
在一些具体的实施中,由于进行上行分配资源时,MAC层是不知道逻辑 信道和逻辑信道组的映射关系,因此RRC层还需要通知MAC层逻辑信道和逻辑信道组的映射关系,这样网络侧设备才可以在MAC层确定逻辑信道组对应的MDBV。In some implementations, the MAC layer does not know the mapping relationship between the logical channel and the logical channel group when the uplink resource is allocated, so the RRC layer needs to notify the mapping relationship between the logical layer and the logical channel group of the MAC layer, so that the network side The device can determine the MDBV corresponding to the logical channel group at the MAC layer.
在一些具体的实施中,如果所述资源分配对象是逻辑信道组,所述网络侧设备通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。In some specific implementations, if the resource allocation object is a logical channel group, the network side device notifies the mapping relationship between the MAC layer logical channel and the logical channel group through the RRC layer.
在本发明实施例中,由于网络侧设备是在MAC层确定的逻辑信道对应的MDBV,但是MAC层并不知道相应的映射关系,因此引入了多种通知MAC层的方式保证网络侧设备可以在MAC层确定逻辑信道对应的MDBV。In the embodiment of the present invention, since the network side device is the MDBV corresponding to the logical channel determined by the MAC layer, but the MAC layer does not know the corresponding mapping relationship, multiple ways of notifying the MAC layer are introduced to ensure that the network side device can The MAC layer determines the MDBV corresponding to the logical channel.
在一些具体的实施中,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。所述网络侧设备确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。In some implementations, the size of the token bucket for MDBV control is the MDBV corresponding to the logical channel. Determining, by the network side device, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M The number of available tokens in the token bucket corresponding to the logical channel; where N is a scheduling moment, and the PDB is a packet delay budget corresponding to the logical channel.
在一些具体的实施中,所述网络侧设备通过下列方式确定逻辑信道对应的PDB:In some specific implementations, the network side device determines the PDB corresponding to the logical channel by:
根据逻辑信道和Flow映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to the logical channel and the flow mapping relationship, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining a maximum PDB according to the 5QI corresponding to the Flow as the The PDB corresponding to the logical channel.
在本发明实施例中,由于根据用于MDBV控制的令牌桶大小和确定资源分配对象用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数确定资源分配对象对应的令牌桶中的可用令牌个数,并依据确定的资源分配对象对应的令牌桶中的可用令牌个数进行资源分配,充分保证了每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, due to the token bucket size for the MDBV control and the tokens that have been actually used in the time bucket (N-PDB, N) in the token bucket for the MDBV control according to the resource allocation object. The number of available tokens in the token bucket corresponding to the resource allocation object is determined, and the resource allocation is performed according to the number of available tokens in the token bucket corresponding to the determined resource allocation object, which fully ensures the transmission of each QoS Flow. The amount of data does not exceed the MDBV limit, so that the delay-sensitive service can seize resources of other services when the system is heavily loaded.
在一些具体的实施中,若进行下行资源分配,所述网络侧设备将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道能够分配资源的数据量;之后根据所述逻辑 信道MDBV对应的令牌桶中的可用令牌个数和当前逻辑信道实际待传输数据量两者之间的最小值为所述逻辑信道进行资源分配。In some implementations, if the downlink resource allocation is performed, the network side device uses, as the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for MDBV control. The logical channel is capable of allocating the amount of data of the resource; then the minimum value between the number of available tokens in the token bucket corresponding to the logical channel MDBV and the actual amount of data to be transmitted of the current logical channel is the logic The channel performs resource allocation.
在一些具体的实施中,若进行上行资源分配,所述网络侧设备将所述逻辑信道组对应的MDBV与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道组对应的令牌桶中的可用令牌个数;之后根据所述逻辑信道组对应的令牌桶中的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道组进行资源分配。In some implementations, if the uplink resource allocation is performed, the network side device has actually used the MDBV corresponding to the logical channel group and the token bucket for MDBV control corresponding to the logical channel group. The difference between the number of the tokens is the number of available tokens in the token bucket corresponding to the logical channel group; and then the number of available tokens in the token bucket corresponding to the logical channel group and the current logical channel. The minimum value between the data amount of the actual resource to be allocated is resource allocation for the logical channel group.
第三方面,本发明实施例提供一种进行资源分配的终端,该终端包括:处理器、存储器和收发机;In a third aspect, an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes: a processor, a memory, and a transceiver;
其中,所述处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control; performing resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
第四方面,本发明实施例提供一种进行资源分配的网络侧设备,该网络侧设备包括:处理器、存储器和收发机;In a fourth aspect, an embodiment of the present invention provides a network side device that performs resource allocation, where the network side device includes: a processor, a memory, and a transceiver;
其中,所述处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。Determining, by the MDBV and the token bucket for the MDBV control, resource allocation for the resource allocation object In the case of allocation, the resource allocation object is a logical channel group; if downlink resource allocation is performed, the resource allocation object is a logical channel.
第五方面,本发明实施例提供一种进行资源分配的终端,该端包括:In a fifth aspect, an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes:
第一确定模块,用于确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶;a first determining module, configured to determine an MDBV corresponding to the logical channel and a token bucket for the MDBV control;
第一分配模块,用于根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。And a first allocation module, configured to perform resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
第六方面,本发明实施例提供一种进行资源分配的网络侧设备,该网络侧设备包括:In a sixth aspect, an embodiment of the present invention provides a network side device that performs resource allocation, where the network side device includes:
第二确定模块,用于确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;a second determining module, configured to determine an MDBV corresponding to the resource allocation object and a token bucket used for MDBV control;
第二分配模块,用于根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;a second allocation module, configured to perform resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control;
其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。If the uplink resource allocation is performed, the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
另外,第二方面至第六方面中任一一种实现方式所带来的技术效果可参见第一方面中实现方式所带来的技术效果,此处不再赘述。In addition, the technical effects brought by the implementations of the second aspect to the sixth aspect can be referred to the technical effects brought about by the implementation manners in the first aspect, and details are not described herein again.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本发明实施例一种进行资源分配的系统示意图;FIG. 1 is a schematic diagram of a system for performing resource allocation according to an embodiment of the present invention; FIG.
图2为本发明实施例下行资源进行资源分配的完整方法流程示意图;2 is a schematic flowchart of a complete method for resource allocation of downlink resources according to an embodiment of the present invention;
图3为本发明实施例上行资源进行资源分配终端侧的完整方法流程示意图;3 is a schematic flowchart of a complete method for performing resource allocation on a terminal side of an uplink resource according to an embodiment of the present invention;
图4为本发明实施例上行资源进行资源分配网络设备侧的完整方法流程示意图;4 is a schematic flowchart of a complete method for performing resource allocation on a network device side of an uplink resource according to an embodiment of the present invention;
图5为本发明实施例一种进行资源分配的的终端结构示意图;FIG. 5 is a schematic structural diagram of a terminal for performing resource allocation according to an embodiment of the present invention; FIG.
图6为本发明实施例一种进行资源分配的的网络侧设备结构示意图;FIG. 6 is a schematic structural diagram of a network side device for performing resource allocation according to an embodiment of the present invention;
图7为本发明实施例另一种进行资源分配的的终端结构示意图;FIG. 7 is a schematic structural diagram of another terminal for performing resource allocation according to an embodiment of the present invention; FIG.
图8为本发明实施例另一种进行资源分配的的网络侧设备结构示意图;FIG. 8 is a schematic structural diagram of another network side device for performing resource allocation according to an embodiment of the present invention;
图9为本发明实施例一种进行资源分配的方法流程示意图;FIG. 9 is a schematic flowchart of a method for performing resource allocation according to an embodiment of the present invention;
图10为本发明实施例另一种进行资源分配的方法流程示意图。FIG. 10 is a schematic flowchart of another method for performing resource allocation according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例应用于5G NR系统中MDBV数据传输的应用场景中,对于5G NR系统,核心网会为每个Flow配置的QoS Profile。RAN基于核心网为每个Flow配置的QoS Profile进行QoS管理。QoS profile中的一个参数是5QI,而MDBV是5QI包含的一个参数。在本发明实施例中,终端首先确定对象对应的MDBV和用于MDBV控制的令牌桶,并根据确定的MDBV和用于MDBV控制的令牌桶为对象进行资源分配。由于本发明实施例中是根据用于MDBV控制的令牌桶对数据传输的资源进行分配,所以能保证每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the application scenario of the MDBV data transmission in the 5G NR system, the core network configures the QoS profile for each flow for the 5G NR system. The RAN performs QoS management based on the QoS profile configured by the core network for each Flow. One parameter in the QoS profile is 5QI, and MDBV is a parameter included in 5QI. In the embodiment of the present invention, the terminal first determines the MDBV corresponding to the object and the token bucket used for MDBV control, and performs resource allocation according to the determined MDBV and the token bucket for MDBV control. In the embodiment of the present invention, the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding when the system is heavily loaded. Delay sensitive business to seize resources of other businesses.
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图1所示,本发明实施例提供一种进行资源分配的系统,该系统包括:终端100和网络侧设备101。As shown in FIG. 1 , an embodiment of the present invention provides a system for performing resource allocation, where the system includes: a terminal 100 and a network side device 101.
终端100,主要用于确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。The terminal 100 is configured to determine an MDBV corresponding to the logical channel and a token bucket for the MDBV control, and perform resource allocation on the logical channel according to the determined MDBV and the token bucket for MDBV control.
网络侧设备101,主要用于确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。The network side device 101 is configured to determine an MDBV corresponding to the resource allocation object and a token bucket for MDBV control, and perform resources for the resource allocation object according to the determined MDBV and the token bucket for MDBV control. The resource allocation object is a logical channel group if the uplink resource allocation is performed, and the resource allocation object is a logical channel if the downlink resource allocation is performed.
在本发明实施例中,终端和网络侧设备首先确定对象对应的MDBV和用于MDBV控制的令牌桶,并根据确定的MDBV和用于MDBV控制的令牌桶 为对象进行资源分配。由于本发明实施例中是根据用于MDBV控制的令牌桶对数据传输的资源进行分配,所以能保证每个QoS Flow发送的数据量不超过MDBV限制,从而避免在系统负荷较重时,时延敏感业务抢占其他业务的资源。In the embodiment of the present invention, the terminal and the network side device first determine the MDBV corresponding to the object and the token bucket for MDBV control, and perform resource allocation according to the determined MDBV and the token bucket for MDBV control. In the embodiment of the present invention, the resources of the data transmission are allocated according to the token bucket used for the MDBV control, so that the amount of data sent by each QoS Flow does not exceed the MDBV limit, thereby avoiding when the system is heavily loaded. Delay sensitive business to seize resources of other businesses.
下面以上、下行资源为例对进行资源分配的系统进行描述。The following uses the downlink resources as an example to describe the system for resource allocation.
方式一、对下行资源进行资源分配。Method 1: Resource allocation for downlink resources.
当对下行资源进行资源分配时,网络侧设备在确定逻辑信道建立完成和/或网络侧设备根据系统负荷确定需要基于MDBV进行资源分配之后,网络侧设备确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶。When the resource allocation is performed on the downlink resource, after the network side device determines that the logical channel establishment is completed and/or the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, the network side device determines the MDBV corresponding to the logical channel and is used for the MDBV control. Token bucket.
其中,网络侧设备是在MAC层确定逻辑信道对应的MDBV时,由于Flow和逻辑信道的映射关系会存在几种不同的情况,因此网络侧设备确定的逻辑信道对应的MDBV也会不同,下面针对不同的情况进行说明:When the network side device determines the MDBV corresponding to the logical channel at the MAC layer, there are several different situations in the mapping relationship between the flow and the logical channel. Therefore, the MDBV corresponding to the logical channel determined by the network side device is different. Explain different situations:
第一种情况:若Flow和逻辑信道采用1:1映射,此时网络侧设备会将Flow对应的MDBV作为逻辑信道对应的MDBV;The first case: if the Flow and the logical channel adopt 1:1 mapping, the network side device will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
比如,Flow和逻辑信道采用的1:1比例映射,此时只有1个逻辑信道只会映射1个Flow,此时这个Flow的MDBV则作为逻辑信道对应的MDBV。For example, the 1:1 scale mapping used by the Flow and the logical channel is that only one logical channel only maps one Flow. At this time, the MDBV of the Flow is used as the MDBV corresponding to the logical channel.
第二种情况:若Flow和逻辑信道采用M:1比例映射,网络侧设备将根据Flow和逻辑信道的映射关系得到映射到逻辑信道的Flow对应的MDBV之和作为逻辑信道对应的MDBV,其中,M为正整数。The second case: if the flow and the logical channel adopt the M:1 scale mapping, the network side device obtains the MDBV corresponding to the flow corresponding to the flow of the logical channel according to the mapping relationship between the flow and the logical channel, and the MDBV corresponding to the logical channel, where M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,此时会有6个Flow映射到同一个逻辑信道,网络侧设备则将6个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. In this case, 6 flows are mapped to the same logical channel, and the network side device adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the logical channel. MDBV.
第三种情况:若Flow和逻辑信道采用M:1比例映射,此时网络侧设备则将Flow和逻辑信道映射关系中实际映射到逻辑信道的Flow对应的MDBV之和作为逻辑信道对应的MDBV,其中,M为正整数。The third case: if the flow and the logical channel adopt the M:1 scale mapping, the network side device uses the sum of the MDBV corresponding to the Flow actually mapped to the logical channel in the Flow and logical channel mapping relationship as the MDBV corresponding to the logical channel. Where M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,按照实际的映射规则此时应该会有M个Flow映射到同一个逻辑信道,但实际上只有3个Flow映射到 同一个逻辑信道,此时网络侧设备则将3个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. According to the actual mapping rule, there should be M flows mapped to the same logical channel at this time, but only three flows are mapped to the same logical channel. The network side device adds the MDBVs corresponding to the three Flows, and the sum of the MDBVs is the MDBV corresponding to the logical channel.
由于网络侧设备是在MAC层根确定逻辑信道对应的MDBV,但是MAC层并不知道Flow和逻辑信道的映射关系以及逻辑信道对应的MDBV,因此需要提前通知MAC层,网络侧设备才可以在MAC层确定逻辑信道对应的MDBV,具体可以采用下面的方式通知MAC层。Since the network side device determines the MDBV corresponding to the logical channel at the MAC layer root, but the MAC layer does not know the mapping relationship between the flow and the logical channel and the MDBV corresponding to the logical channel, the MAC layer needs to be notified in advance, and the network side device can be in the MAC. The layer determines the MDBV corresponding to the logical channel, and specifically can notify the MAC layer in the following manner.
(1)、网络侧设备通过SDAP(Service Data Adaptation Protocol,服务数据适配协议)或RRC层通知MAC层Flow和逻辑信道映射关系;(1) The network side device notifies the MAC layer Flow and logical channel mapping relationship through a Service Data Adaptation Protocol (SDAP) or an RRC layer;
网络侧设备通知MAC层Flow和逻辑信道映射关系时Flow以QFI表示,MAC层根据自身存储的QFI和5QI标识的对应关系,以及5QI和MDBV的对应关系确定每个Flow对应的MDBV。最后,将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。When the network side device notifies the MAC layer of the flow and the logical channel mapping relationship, the flow is represented by QFI. The MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
(2)、网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系和QFI对应的MDBV。(2) The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
在MAC层已知Flow和逻辑信道的映射关系和QFI对应的MDBV后,网络侧设备根据Flow和逻辑信道的映射关系可知映射到逻辑信道的Flow,再根据QFI对应的MDBV找到每个Flow对应的MDBV,最后将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer knows the mapping between the flow and the logical channel and the MDBV corresponding to the QFI, the network side device can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the corresponding corresponding to each flow according to the MDBV corresponding to the QFI. The MDBV finally adds the MDBVs corresponding to the Flows mapped to the logical channels to obtain the MDBVs corresponding to the logical channels.
(3)、所述网络侧设备通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV。(3) The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer.
这种情况下,网络侧设备根据SDAP或RRC层通知就可以直接确定出逻辑信道对应的MDBV。In this case, the network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP or RRC layer notification.
(4)、所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow。(4) The network side device notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
网络侧设备通过SDAP通知MAC层实际映射到该逻辑信道的Flow,Flow以QFI表示,MAC层根据自身存储的QFI和5QI标识的对应关系,以及5QI和MDBV的对应关系确定每个Flow对应的MDBV。最后,将映射到 逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。The network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP, and the flow is represented by QFI. The MAC layer determines the MDBV corresponding to each flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. . Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
(5)、所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV。(5) The network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
在MAC层已知实际映射到逻辑信道的Flow和QFI对应的MDBV后,网络侧设备根据QFI对应的MDBV找到每个际映射到逻辑信道的Flow对应的MDBV,最后将实际映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer is actually mapped to the MDBV corresponding to the flow and the QFI of the logical channel, the network side device finds the MDBV corresponding to the Flow mapped to the logical channel according to the MDBV corresponding to the QFI, and finally maps the flow actually mapped to the logical channel. The corresponding MDBVs are added to obtain the MDBV corresponding to the logical channel.
(6)、所述网络侧设备通过SDAP层通知MAC层逻辑信道对应的MDBV。(6) The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
网络侧设备根据SDAP层通知就可以直接确定出逻辑信道对应的MDBV。The network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP layer notification.
这里需要说明的是:在通知MAC层时可以采用上述方式中的一种方式,也可以同时使用多种方式。It should be noted here that one of the above manners may be used when notifying the MAC layer, or multiple methods may be used at the same time.
相应的,当网络侧设备确定出将逻辑信道对应的MDBV以后,网络侧设备将逻辑信道对应的MDBV作为逻辑信道用于MDBV控制的令牌桶的大小,并且确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,其中这里的N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。然后将MDBV和M的差值作为当前时刻N的可用令牌个数。Correspondingly, after the network side device determines the MDBV corresponding to the logical channel, the network side device uses the MDBV corresponding to the logical channel as the logical channel for the size of the MDBV controlled token bucket, and determines the logical channel for the MDBV control. The number M of tokens actually used in the time slot (N-PDB, N) within the bucket, where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel. Then the MDBV and The difference of M is taken as the number of available tokens at the current time N.
在具体的实施中,一种可选的实施方式是:网络侧设备将逻辑信道对应的MDBV与当前的逻辑信道用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为逻辑信道用于MDBV控制的令牌桶中的可用令牌个数。In a specific implementation, an optional implementation manner is: the network side device uses the MDBV corresponding to the logical channel and the current logical channel as the difference between the number of tokens actually used in the token bucket controlled by the MDBV. The logical channel is used for the number of available tokens in the token bucket controlled by the MDBV.
相应的,在得到作为逻辑信道用于MDBV控制的令牌桶中的可用令牌个数之后,网络侧设备再根据所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道进行资源分配。Correspondingly, after obtaining the number of available tokens in the token bucket used as the logical channel for the MDBV control, the network side device uses the number of available tokens in the token bucket controlled by the MDBV according to the logical channel. The minimum value between the data volume of the current logical channel actually to be allocated resources is resource allocation for the logical channel.
其中,PDB确定方式如下:Among them, the PDB is determined as follows:
终端根据逻辑信道的映射关系确定所有能够映射的逻辑信道的所有Flow对应的5QI或实际映射到述逻辑信道的所有Flow对应的5QI;最后从所述 Flow对应的5QI确定出最大的PDB作为逻辑信道对应的PDB。The terminal determines, according to the mapping relationship of the logical channels, the 5QI corresponding to all the flows of all the logical channels that can be mapped or the 5QIs of all the flows that are actually mapped to the logical channels; and finally determines the largest PDB as the logical channel from the 5QI corresponding to the Flow. Corresponding PDB.
比如,网络侧设备首先确定能够映射到逻辑信道组或者实际映射到逻辑信道组的逻辑信道为逻辑信道1、2、3、4,之后网络侧设备确定出逻辑信道1、2、3、4对应的Flow对应的5QI,再从确定出的Flow对应的5QI中根据3GPP的标准化5QI表确定出最大的PDB作为所述逻辑信道组对应的PDB。For example, the network side device first determines that the logical channels that can be mapped to the logical channel group or are actually mapped to the logical channel group are the logical channels 1, 2, 3, and 4, and then the network side device determines that the logical channels 1, 2, 3, and 4 correspond to The 5QI corresponding to the Flow is determined from the determined 5QI corresponding to the Flow, and the largest PDB is determined as the PDB corresponding to the logical channel group according to the standardized 5QI table of the 3GPP.
当网络侧设备确定出逻辑信道对应的MDBV和用于MDBV控制的令牌桶之后,则根据确定的MDBV和用于MDBV控制的令牌桶为逻辑信道进行资源分配。After the network side device determines the MDBV corresponding to the logical channel and the token bucket for the MDBV control, the resource allocation is performed for the logical channel according to the determined MDBV and the token bucket for the MDBV control.
比如,若逻辑信道用于MDBV控制的令牌桶中的可用令牌个数小于逻辑信道需要的数据量,则网络侧设备优先为满足逻辑信道对应的MDBV要求的数据分配资源,若还存在剩余资源,网络侧设备再根据逻辑信道能够分配资源的数据量为不满足逻辑信道组对应的MDBV要求的数据分配资源。For example, if the number of available tokens in the token bucket used by the MDBV control is smaller than the amount of data required by the logical channel, the network side device preferentially allocates resources for the data required to meet the MDBV corresponding to the logical channel, if there is still remaining The resource, the network side device allocates resources according to the data amount that the logical channel can allocate resources according to the MDBV requirements that do not satisfy the logical channel group.
如图2所示,本发明实施例提供对下行资源进行资源分配的完整方法流程示意图。As shown in FIG. 2, the embodiment of the present invention provides a schematic flowchart of a complete method for resource allocation for downlink resources.
步骤200、网络侧设备确定逻辑信道建立完成和/或网络侧设备根据系统负荷确定需要基于MDBV进行资源分配;Step 200: The network side device determines that the logical channel establishment is completed, and/or the network side device determines, according to the system load, that resource allocation needs to be performed based on the MDBV.
步骤201、网络侧设备是通过MAC层确定逻辑信道对应的MDBV;Step 201: The network side device determines, by using a MAC layer, an MDBV corresponding to the logical channel.
步骤202、网络侧设备确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M;Step 202: The network side device determines, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV;
步骤203、网络侧设备将逻辑信道对应的MDBV与用于MDBV控制令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M之差作为逻辑信道用于MDBV控制的令牌桶中的可用令牌个数;Step 203: The network side device uses the difference between the MDBV corresponding to the logical channel and the number M of tokens actually used in the time period (N-PDB, N) in the MDBV control token bucket as a logical channel for MDBV control. Number of tokens available in the token bucket;
步骤204、网络侧设备根据逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为逻辑信道分配资源。Step 204: The network side device allocates resources to the logical channel according to a minimum value between the number of available tokens in the token bucket used by the logical channel for the MDBV control and the data volume of the actual logical channel to be allocated.
方式二、对上行资源进行资源分配。Method 2: Allocate resources to uplink resources.
当对上行资源进行资源分配时,网络侧设备需要为不同终端分配上行资 源,当网络侧设备确定逻辑信道建立完成和/或网络侧设备根据系统负荷确定需要基于MDBV进行资源分配之后,确定逻辑信道组对应的MDBV和用于MDBV控制的令牌桶。When the resource allocation is performed on the uplink resource, the network side device needs to allocate uplink resources for different terminals. When the network side device determines that the logical channel establishment is completed and/or the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, the logical channel is determined. The corresponding MDBV of the group and the token bucket for MDBV control.
其中,网络侧设备可以采用下列集中方式确定逻辑信道组对应的MDBV:The network side device can determine the MDBV corresponding to the logical channel group in the following centralized manner:
1、网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV。1. The network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group.
比如,网络侧设备根据Flow和逻辑信道的映射关系确定出了逻辑信道1、2、3对应的MDBV,而逻辑信道1、2处于同一逻辑信道组1内,此时网络侧设备将逻辑信道1、2对应的MDBV之和作为该逻辑信道组1对应的MDBV。For example, the network side device determines the MDBV corresponding to the logical channels 1, 2, and 3 according to the mapping relationship between the flow and the logical channel, and the logical channels 1 and 2 are in the same logical channel group 1, and the network side device sets the logical channel 1 The sum of the corresponding MDBVs of 2 is the MDBV corresponding to the logical channel group 1.
但是由于Flow和逻辑信道的映射关系会存在几种不同的情况,因此网络侧设备确定的逻辑信道对应的MDBV也会不同,下面针对不同的情况进行说明:However, there are several different situations in the mapping between the flow and the logical channel. Therefore, the MDBV corresponding to the logical channel determined by the network device is different. The following describes different situations:
第一种情况:若Flow和逻辑信道采用1:1比例映射,此时网络侧设备会将Flow对应的MDBV作为逻辑信道对应的MDBV;The first case: if the Flow and the logical channel adopt a 1:1 scale mapping, the network side device will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
比如,Flow和逻辑信道采用的1:1比例映射,此时只有1个逻辑信道只会映射1个Flow,此时这个Flow的MDBV则作为逻辑信道对应的MDBV。For example, the 1:1 scale mapping used by the Flow and the logical channel is that only one logical channel only maps one Flow. At this time, the MDBV of the Flow is used as the MDBV corresponding to the logical channel.
第二种情况:若Flow和逻辑信道采用M:1比例映射,网络侧设备根据Flow和逻辑信道的映射关系,将能够映射到逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,M为正整数。The second case: if the flow and the logical channel adopt the M:1 scale mapping, the network side device uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel. Where M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,此时会有6个Flow映射到同一个逻辑信道,网络侧设备则将6个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. In this case, 6 flows are mapped to the same logical channel, and the network side device adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the logical channel. MDBV.
第三种情况:若Flow和逻辑信道采用M:1比例映射,此时网络侧设备将将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV。其中,M为正整数。The third case: if the Flow and the logical channel adopt the M:1 scale mapping, the network side device will use the sum of the MDBVs corresponding to the Flow actually mapped to the logical channel according to the Flow and logical channel mapping relationship. The MDBV corresponding to the logical channel. Where M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,按照实际的映射规则此时 应该会有6个Flow映射到同一个逻辑信道,但实际上只有3个Flow映射到同一个逻辑信道,此时网络侧设备则将3个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. According to the actual mapping rule, there should be 6 flows mapped to the same logical channel at this time, but only three flows are mapped to the same logical channel. The network side device adds the MDBVs corresponding to the three Flows, and the sum of the MDBVs is the MDBV corresponding to the logical channel.
2、网络侧设备接收终端上报的逻辑信道对应的MDBV之和,将上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV。2. The network side device receives the sum of the MDBVs corresponding to the logical channels reported by the terminal, and uses the sum of the MDBVs corresponding to the reported logical channels as the MDBV corresponding to the logical channel group.
比如,网络侧设备会接收端上报的逻辑信道1、2、3对应的MDBV之和,逻辑信道1、2、3处于同一逻辑信道组1内,此时网络侧设备将上报的逻辑信道1、2、3对应的MDBV之和作为逻辑信道组1对应的MDBV。For example, the network side device will receive the sum of the MDBVs corresponding to the logical channels 1, 2, and 3 reported by the receiving end, and the logical channels 1, 2, and 3 are in the same logical channel group 1, and the logical channel 1 to be reported by the network side device at this time. The sum of the MDBVs corresponding to 2 and 3 is the MDBV corresponding to the logical channel group 1.
3、网络侧设备接收终端上报的逻辑信道组对应的MDBV,之后将上报的逻辑信道组对应的MDBV上作为逻辑信道组对应的MDBV。3. The network side device receives the MDBV corresponding to the logical channel group reported by the terminal, and then uses the MDBV corresponding to the reported logical channel group as the MDBV corresponding to the logical channel group.
比如,终端会将处于同一逻辑信道组1内的逻辑信道1、2、3对应的MDBV之和上报至网络侧设备,此时网络侧设备将上报的处于同一逻辑信道组1对应的MDBV之和作为逻辑信道组1对应的MDBV。For example, the terminal reports the sum of the MDBVs corresponding to the logical channels 1, 2, and 3 in the same logical channel group 1 to the network side device, and the sum of the MDBVs corresponding to the same logical channel group 1 reported by the network side device at this time. As the MDBV corresponding to logical channel group 1.
由于网络侧设备是在MAC层确定逻辑信道组对应的MDBV,MAC层并不知道Flow和逻辑信道的映射关系以及逻辑信道对应的MDBV,因此需要提前通知MAC层。Since the network side device determines the MDBV corresponding to the logical channel group at the MAC layer, the MAC layer does not know the mapping relationship between the Flow and the logical channel and the MDBV corresponding to the logical channel, so the MAC layer needs to be notified in advance.
此外,由于进行上行分配资源时,MAC层是不知道逻辑信道和逻辑信道组的映射关系,因此RRC层还需要通知MAC层逻辑信道和逻辑信道组的映射关系,这样网络侧设备才可以在MAC层确定逻辑信道组对应的MDBV,具体可以采用下面的方式通知MAC层。In addition, since the MAC layer does not know the mapping relationship between the logical channel and the logical channel group when performing uplink allocation of resources, the RRC layer also needs to notify the mapping relationship between the logical layer and the logical channel group of the MAC layer, so that the network side device can be in the MAC. The layer determines the MDBV corresponding to the logical channel group, and specifically can notify the MAC layer in the following manner.
(1)、网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道映射关系;(1) The network side device notifies the MAC layer Flow and the logical channel mapping relationship through the SDAP or the RRC layer;
网络侧设备通知MAC层Flow和逻辑信道映射关系时Flow以QFI表示,MAC层根据自身存储的QFI和5QI标识的对应关系,以及5QI和MDBV的对应关系确定每个Flow对应的MDBV。最后,将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。When the network side device notifies the MAC layer of the flow and the logical channel mapping relationship, the flow is represented by QFI. The MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
然后MAC层再根据逻辑信道和逻辑信道组的映射关系,确定映射到该逻 辑信道组的所有逻辑信道的MDBV之和作为逻辑信道组的MDBV。The MAC layer then determines the sum of the MDBVs of all logical channels mapped to the logical channel group as the MDBV of the logical channel group based on the mapping relationship between the logical channel and the logical channel group.
(2)、网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV。(2) The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
在MAC层已知Flow和逻辑信道的映射关系和QFI对应的MDBV后,网络侧设备根据Flow和逻辑信道的映射关系可知映射到逻辑信道的Flow,再根据QFI对应的MDBV找到每个Flow对应的MDBV,最后将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer knows the mapping between the flow and the logical channel and the MDBV corresponding to the QFI, the network side device can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the corresponding corresponding to each flow according to the MDBV corresponding to the QFI. The MDBV finally adds the MDBVs corresponding to the Flows mapped to the logical channels to obtain the MDBVs corresponding to the logical channels.
然后MAC层再根据逻辑信道和逻辑信道组的映射关系,确定映射到该逻辑信道组的所有逻辑信道的MDBV之和作为逻辑信道组的MDBV。The MAC layer then determines the sum of the MDBVs of all the logical channels mapped to the logical channel group as the MDBV of the logical channel group according to the mapping relationship between the logical channel and the logical channel group.
(3)、所述网络侧设备通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV。(3) The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer.
这种情况下,网络侧设备根据SDAP或RRC层通知就可以直接确定出逻辑信道对应的MDBV。In this case, the network side device can directly determine the MDBV corresponding to the logical channel according to the SDAP or RRC layer notification.
然后MAC层再根据逻辑信道和逻辑信道组的映射关系,确定映射到该逻辑信道组的所有逻辑信道的MDBV之和作为逻辑信道组的MDBV。The MAC layer then determines the sum of the MDBVs of all the logical channels mapped to the logical channel group as the MDBV of the logical channel group according to the mapping relationship between the logical channel and the logical channel group.
(4)、所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow。(4) The network side device notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
终端SDAP和网络侧SDAP之间需要交互信息,让网络侧设备获知终端侧设备,网络侧设备通过SDAP层实际映射到该逻辑信道的Flow信息。An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
然后网络侧SDAP通知MAC层实际映射到该逻辑信道的Flow,Flow以QFI表示,MAC层根据自身存储的QFI和5QI标识的对应关系,以及5QI和MDBV的对应关系确定每个Flow对应的MDBV。最后,将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。Then, the network side SDAP notifies the MAC layer to actually map to the flow of the logical channel, and the flow is represented by QFI. The MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
(5)、所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV。(5) The network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
终端SDAP和网络侧SDAP之间需要交互信息,让网络侧设备获知终端侧设备,网络侧设备通过SDAP层实际映射到该逻辑信道的Flow信息。An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
然后网络侧SDAP通知MAC层实际映射到该逻辑信道的Flow,在MAC层已知实际映射到逻辑信道的Flow和QFI对应的MDBV后,网络侧设备根据QFI对应的MDBV找到每个际映射到逻辑信道的Flow对应的MDBV,最后将实际映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。Then, the network side SDAP notifies the MAC layer to actually map to the flow of the logical channel. After the MAC layer knows the actual mapping to the logical channel and the MDBV corresponding to the QFI, the network side device finds the mapping to the logic according to the MDBV corresponding to the QFI. The MDBV corresponding to the Flow of the channel is finally added to the MDBV corresponding to the Flow that is actually mapped to the logical channel, and the MDBV corresponding to the logical channel is obtained.
(6)、所述网络侧设备通过SDAP层通知MAC层逻辑信道对应的MDBV。(6) The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
终端SDAP和网络侧SDAP之间需要交互信息,让网络侧设备获知终端侧设备,网络侧设备通过SDAP层实际映射到该逻辑信道的Flow信息。An interaction information is required between the terminal SDAP and the network side SDAP, so that the network side device learns the terminal side device, and the network side device actually maps the flow information of the logical channel through the SDAP layer.
然后网络侧SDAP层根据实际Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,MAC层根据SDAP层通知就可以直接确定出逻辑信道对应的MDBV。Then, the network side SDAP layer determines the MDBV corresponding to the logical channel according to the mapping relationship between the actual Flow and the logical channel, and the MAC layer can directly determine the MDBV corresponding to the logical channel according to the SDAP layer notification.
这里需要说明的是:上面通知MAC层的方式可以单独使用其中的一种方式,也可以同时使用多种方式。It should be noted here that the above method of notifying the MAC layer may use one of the methods separately, or may use multiple methods at the same time.
相应的,当网络侧设备确定出将逻辑信道组对应的MDBV之后,网络侧设备将MDBV作为逻辑信道组用于MDBV控制的令牌桶的大小,并且确定用于MDBV控制的令牌桶在时间段(N-PDB,N]内已经实际使用的令牌的个数M,其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。MDBV和M的差值即当前时刻N用于MDBV控制的令牌桶实际可以使用的令牌个数。Correspondingly, after the network side device determines the MDBV corresponding to the logical channel group, the network side device uses the MDBV as the logical channel group for the size of the MDBV controlled token bucket, and determines the token bucket for the MDBV control at the time. The number M of tokens actually used in the segment (N-PDB, N), where N is the scheduling time, and the PDB is the packet delay budget corresponding to the logical channel. The difference between the MDBV and the M is the current time N. The number of tokens that can be used by the token bucket for MDBV control.
PDB确定方式如下:The PDB is determined as follows:
终端根据Flow和逻辑信道的映射关系确定所有能够映射到逻辑信道组的所有Flow对应的5QI或实际映射到所述逻辑信道组的所有Flow对应的5QI,最后根据Flow对应的5QI确定最大的PDB作为逻辑信道组对应的PDB。The terminal determines, according to the mapping relationship between the flow and the logical channel, the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QI corresponding to all the flows that are actually mapped to the logical channel group, and finally determines the largest PDB according to the 5QI corresponding to the Flow. The PDB corresponding to the logical channel group.
比如,网络侧设备首先确定能够映射到逻辑信道组或者实际映射到逻辑信道组的逻辑信道为逻辑信道1、2、3、4,之后网络侧设备确定出逻辑信道1、2、3、4对应的Flow对应的5QI,再从确定出的Flow对应的5QI确定出最大的PDB作为所述逻辑信道组对应的PDB。For example, the network side device first determines that the logical channels that can be mapped to the logical channel group or are actually mapped to the logical channel group are the logical channels 1, 2, 3, and 4, and then the network side device determines that the logical channels 1, 2, 3, and 4 correspond to The 5QI corresponding to the Flow further determines the largest PDB as the PDB corresponding to the logical channel group from the determined 5QI corresponding to the Flow.
当网络侧设备确定出逻辑信道组对应的MDBV和用于MDBV控制的令牌桶之后,则根据确定的MDBV和用于MDBV控制的令牌桶为逻辑信道组进行资源分配。After the network side device determines the MDBV corresponding to the logical channel group and the token bucket for the MDBV control, the resource allocation is performed for the logical channel group according to the determined MDBV and the token bucket for MDBV control.
在具体的实施中,一种可选的实施方式是:网络侧设备将逻辑信道组对应的MDBV与用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为逻辑信道组对应的令牌桶中的可用令牌的个数。In a specific implementation, an optional implementation manner is: the network side device uses the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control as the logical channel group. The number of available tokens in the corresponding token bucket.
比如,逻辑信道组对应的MDBV为200比特,用于MDBV控制的令牌桶中已经实际使用的令牌的个数为100比特,此时将二者做差100-100=100,则将该差值(100比特)逻辑信道组用于MDBV控制令牌桶中的可用令牌个数为100比特。For example, the MDBV corresponding to the logical channel group is 200 bits, and the number of tokens that have been actually used in the token bucket controlled by the MDBV is 100 bits. In this case, the difference between the two is 100-100=100. The difference (100-bit) logical channel group is used to control the number of available tokens in the MDBV control token bucket to be 100 bits.
当得到作为逻辑信道组用于MDBV控制的令牌桶中的可用令牌个数之后,若逻辑信道组的可用令牌个数小于逻辑信道组实际待传输数据量,则网络侧设备优先为满足逻辑信道组对应的MDBV要求的数据分配资源,若还存在剩余资源,网络侧设备再根据逻辑信道组实际待传输但是不满足逻辑信道组对应的MDBV要求的数据分配资源。After obtaining the number of available tokens in the token bucket used as the logical channel group for the MDBV control, if the number of available tokens of the logical channel group is smaller than the actual amount of data to be transmitted by the logical channel group, the network side device preferentially satisfies The data allocation resource required by the MDBV corresponding to the logical channel group. If the remaining resources still exist, the network side device allocates resources according to the data that the logical channel group actually needs to transmit but does not satisfy the MDBV corresponding to the logical channel group.
相应的,当网络侧设备为不同终端分配的资源之后,将分配的资源通知至终端,终端需要基于网络侧分配的资源对逻辑信道进行资源分配,因此当终端确定逻辑信道建立完成和/或接收到网络侧设备发送的需要基于MDBV进行资源分配的通知之后,终端确定用于MDBV控制的令牌桶和逻辑信道对应的MDBV。Correspondingly, after the network side device allocates resources to different terminals, the allocated resources are notified to the terminal, and the terminal needs to perform resource allocation on the logical channel based on the resources allocated by the network side, so when the terminal determines that the logical channel is established and/or received. After the notification sent by the network side device that needs to be allocated based on the MDBV, the terminal determines the token bucket for the MDBV control and the MDBV corresponding to the logical channel.
其中,终端在MAC层确定逻辑信道对应的MDBV时,由于Flow和逻辑信道的映射关系会存在几种不同的情况,因此终端确定的逻辑信道对应的MDBV也会不同,下面针对不同的情况进行说明:When the terminal determines the MDBV corresponding to the logical channel at the MAC layer, there are several different situations in the mapping relationship between the flow and the logical channel. Therefore, the MDBV corresponding to the logical channel determined by the terminal is different, and the following describes different situations. :
第一种情况:若Flow和逻辑信道采用1:1比例映射,此时终端会将Flow对应的MDBV作为逻辑信道对应的MDBV;The first case: if the Flow and the logical channel adopt a 1:1 ratio mapping, the terminal will use the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel;
比如,Flow和逻辑信道采用1:1的比例映射,此时终端会将Flow的MDBV作为逻辑信道对应的MDBV。For example, the Flow and the logical channel adopt a 1:1 ratio mapping. In this case, the terminal uses the MDBV of the Flow as the MDBV corresponding to the logical channel.
第二种情况:若Flow和逻辑信道采用M:1比例映射,终端根据Flow和逻辑信道的映射关系,将能够映射到逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,M为正整数。The second case: if the flow and the logical channel adopt the M:1 scale mapping, the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; , M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,此时会有6个Flow映射到同一个逻辑信道,终端则将6个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. In this case, 6 flows are mapped to the same logical channel, and the terminal adds the MDBVs corresponding to the 6 flows, and the sum of the MDBVs is used as the MDBV corresponding to the logical channel. .
第三种情况:若Flow和逻辑信道采用M:1比例映射,此时终端根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV,其中,M为正整数。In the third case, if the flow and the logical channel adopt the M:1 scale mapping, the terminal uses the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the logical channel according to the flow and logical channel mapping relationship. MDBV, where M is a positive integer.
比如,Flow和逻辑信道采用6:1的比例映射,按照实际的映射规则此时应该会有6个Flow映射到同一个逻辑信道,但实际上只有3个Flow映射到同一个逻辑信道,此时中的则将3个Flow对应的MDBV相加,将MDBV之和作为逻辑信道对应的MDBV。For example, the flow and logical channels adopt a 6:1 scale mapping. According to the actual mapping rule, there should be 6 flows mapped to the same logical channel at this time, but only three flows are mapped to the same logical channel. In the middle, the MDBVs corresponding to the three Flows are added, and the sum of the MDBVs is taken as the MDBV corresponding to the logical channel.
由于终端是在MAC层确定逻辑信道对应的MDBV,但是MAC层并不知道逻辑信道对应的MDBV以及Flow和逻辑信道的映射关系,因此需要引入层间交互机制通知MAC层,终端才可以在MAC层确定逻辑信道对应的MDBV,具体可以采用下面的方式通知MAC层。Since the terminal determines the MDBV corresponding to the logical channel at the MAC layer, but the MAC layer does not know the mapping relationship between the MDBV corresponding to the logical channel and the flow and the logical channel, it is necessary to introduce an inter-layer interaction mechanism to notify the MAC layer that the terminal can be in the MAC layer. The MDBV corresponding to the logical channel is determined, and the MAC layer may be notified in the following manner.
(1)、终端通过业务数据适配层SDAP或无线资源控制RRC层通知媒体接入控制MAC层Flow和逻辑信道的映射关系。(1) The terminal notifies the medium access control MAC layer Flow and the logical channel mapping relationship through the service data adaptation layer SDAP or the radio resource control RRC layer.
终端SDAP或者RRC通知MAC层Flow和逻辑信道映射关系时Flow以QFI表示,MAC层根据自身存储的QFI和5QI标识的对应关系,以及5QI和MDBV的对应关系确定每个Flow对应的MDBV。最后,将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。When the terminal SDAP or the RRC notifies the MAC layer of the flow and the logical channel mapping relationship, the flow is represented by QFI. The MAC layer determines the MDBV corresponding to each Flow according to the correspondence between the QFI and the 5QI identifier stored by the MAC layer and the correspondence between the 5QI and the MDBV. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
(2)、终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV。(2) The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer.
在MAC层已知Flow和逻辑信道的映射关系和QFI对应的MDBV后,终端根据Flow和逻辑信道的映射关系可知映射到逻辑信道的Flow,再根据 QFI对应的MDBV找到每个Flow对应的MDBV,最后将映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer knows the mapping between the flow and the logical channel and the MDBV corresponding to the QFI, the terminal can know the flow mapped to the logical channel according to the mapping relationship between the flow and the logical channel, and then find the MDBV corresponding to each flow according to the MDBV corresponding to the QFI. Finally, the MDBVs corresponding to the Flows mapped to the logical channels are added to obtain the MDBVs corresponding to the logical channels.
(3)、终端通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV。(3) The terminal notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP or the RRC layer.
MAC直接根据该通知就可以得到逻辑信道对应的MDBV。该MDBV为能够映射到该逻辑信道的Flow对应的MDBV之和。The MAC can directly obtain the MDBV corresponding to the logical channel according to the notification. The MDBV is the sum of MDBVs corresponding to Flows that can be mapped to the logical channel.
(4)、终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow。(4) The terminal notifies the MAC layer to actually map to the Flow of the logical channel through the SDAP layer.
在MAC层已知实际映射到逻辑信道的Flow和QFI对应的MDBV后,根据QFI对应的MDBV找到每个际映射到逻辑信道的Flow对应的MDBV,最后将实际映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer is actually mapped to the MDBV corresponding to the Flow and the QFI of the logical channel, the MDBV corresponding to the Flow mapped to the logical channel is found according to the MDBV corresponding to the QFI, and finally the MDBV corresponding to the Flow mapped to the logical channel is actually mapped. Add together to get the MDBV corresponding to the logical channel.
(5)、所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV。(5) The terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer.
在MAC层已知实际映射到逻辑信道的Flow和QFI对应的MDBV后,根据QFI对应的MDBV找到每个际映射到逻辑信道的Flow对应的MDBV,最后将实际映射到逻辑信道的Flow对应的MDBV相加,得到逻辑信道对应的MDBV。After the MAC layer is actually mapped to the MDBV corresponding to the Flow and the QFI of the logical channel, the MDBV corresponding to the Flow mapped to the logical channel is found according to the MDBV corresponding to the QFI, and finally the MDBV corresponding to the Flow mapped to the logical channel is actually mapped. Add together to get the MDBV corresponding to the logical channel.
(6)、终端备通过SDAP层通知MAC层逻辑信道对应的MDBV。(6) The terminal device notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP layer.
MAC层直接根据该通知就可以得到逻辑信道对应的MDBV。该MDBV为实际映射到该逻辑信道的Flow对应的MDBV之和。The MAC layer can directly obtain the MDBV corresponding to the logical channel according to the notification. The MDBV is the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel.
这里需要说明的是:上面两种通知MAC层的方式可以单独使用其中的一种方式,也可以同时使用两种方式。It should be noted here that the above two ways of notifying the MAC layer can be used alone or in combination.
相应的,当终端确定出将逻辑信道对应的MDBV以后,终端将逻辑信道组对应的MDBV作为逻辑信道组用于MDBV控制的令牌桶的大小,并且确定用于MDBV控制的令牌桶在时间段(N-PDB,N]内已经实际使用的令牌的个数,其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。然后将MDBV和M的差值作为当前时刻N的可用令牌个数。Correspondingly, after the terminal determines the MDBV corresponding to the logical channel, the terminal uses the MDBV corresponding to the logical channel group as the logical channel group for the size of the token bucket controlled by the MDBV, and determines the token bucket for the MDBV control at the time. The number of tokens actually used in the segment (N-PDB, N), where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel. Then the difference between MDBV and M is taken as the current moment. The number of tokens available for N.
当终端确定出逻辑信道组对应的MDBV和用于MDBV控制的令牌桶之 后,终端根据确定的MDBV和用于MDBV控制的令牌桶为逻辑信道组进行资源分配,一种可选的实施方式为:After the terminal determines the MDBV corresponding to the logical channel group and the token bucket for the MDBV control, the terminal performs resource allocation for the logical channel group according to the determined MDBV and the token bucket for MDBV control, an optional implementation manner. for:
1:终端首先对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后终端依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,并对有MDBV要求的逻辑信道完成基于PBR的资源分配后,更新逻辑信道对应的MDBV令牌桶内的可用令牌个数。1: The terminal first sorts the logical channels with available PBR tokens and data transmission requirements in descending order of logical channel priority, and then the terminal sequentially allocates the first round of resources based on PBR for each logical channel, and updates each logic simultaneously. The number of tokens in the PBR token bucket corresponding to the channel, and after completing the PBR-based resource allocation for the logical channel with the MDBV requirement, the number of available tokens in the MDBV token bucket corresponding to the logical channel is updated.
其中,这里的逻辑信道对应的令牌桶内的可用令牌个数为MDBV和当前时刻对应的令牌桶内该逻辑信道已经实际使用的令牌的个数之差;The number of available tokens in the token bucket corresponding to the logical channel herein is the difference between the MDBV and the number of tokens actually used by the logical channel in the token bucket corresponding to the current time;
比如,逻辑信道对应的MDBV为200比特,用于MDBV控制的令牌桶中已经实际使用的令牌的个数为100比特,此时将二者做差200-100=100,则逻辑信道组对应的令牌桶中能够使用的令牌的个数为100比特。For example, the MDBV corresponding to the logical channel is 200 bits, and the number of tokens that have been actually used in the token bucket controlled by the MDBV is 100 bits. In this case, the difference between the two is 200-100=100, then the logical channel group The number of tokens that can be used in the corresponding token bucket is 100 bits.
2:当终端确定有剩余能够分配的资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配,具体为:2: After the terminal determines that there are remaining resources that can be allocated, the second round of resource allocation is performed on all logical channels having data transmission requirements in descending order of logical channel priority, specifically:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中逻辑信道允许分配资源的数据量取逻辑信道用于MDBV控制的令牌桶内能够使用的令牌个数和逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process. The logical channel is used for the number of tokens that can be used in the token bucket controlled by the MDBV and the current resource to be allocated. a smaller of the amount of data, resource allocation for the logical channel;
若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则终端根据逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配。If the logical channel that needs to be allocated is a logical channel that does not have the MDBV requirement, the terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel.
比如,终端确定有MDBV要求的逻辑信道,而此时逻辑信道对应的当前的令牌桶内的可用令牌个数为40比特,逻辑信道当前的令牌桶内能够分配的资源的数据量为60比特,此时终端取二者之间的较小值(40比特)对逻辑信道进行资源分配。For example, the terminal determines that there is a logical channel required by the MDBV, and the number of available tokens in the current token bucket corresponding to the logical channel is 40 bits, and the amount of data that can be allocated in the current token bucket of the logical channel is 60 bits, at which time the terminal takes a smaller value (40 bits) between the two to allocate resources to the logical channel.
若终端当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则终端存在两种方式分配资源。If the logical channel that the terminal currently needs to allocate is a logical channel that does not have the MDBV requirement, the terminal has two ways to allocate resources.
一种方式为:终端根据逻辑信道当前待分配资源的数据量对逻辑信道进 行资源分配:One way is: the terminal allocates resources to the logical channel according to the amount of data of the resource to be allocated currently on the logical channel:
比如,逻辑信道当前待分配资源的数据量为600比特,此时终端就根据这600比特进行资源分配。For example, the amount of data of the resource to be allocated on the logical channel is 600 bits, and the terminal allocates resources according to the 600 bits.
另一种方式为:若前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,则终端根据逻辑信道当前待分配资源的数据量对逻辑信道进行资源分配。The other way is: if the logical channel that needs to be allocated before is a logical channel that does not have the MDBV requirement and includes the GBR service, the terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel.
比如,逻辑信道当前待分配资源的数据量为600比特,并且当前需要分配的逻辑信道是包含GBR业务的逻辑信道,此时终端就根据这600比特仅对逻辑信道进行资源分配。For example, the data volume of the logical channel to be allocated is 600 bits, and the logical channel that needs to be allocated is a logical channel that includes the GBR service. At this time, the terminal allocates resources only to the logical channel according to the 600 bits.
3:在进行第二轮分配之后,如果终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。3: After the second round of allocation, if the terminal determines that there are remaining resources, the remaining to-be-transmitted data is allocated in descending order of all logical channels having data transmission requirements until the resources are exhausted or all logical channels are Resources are allocated for the data to be transmitted.
当分配完成之后,终端会判断是否还有剩余资源,若是还有剩余的资源,则根据剩余的资源按照逻辑信道优先级的顺序对各个逻辑信道进资源分配。After the allocation is completed, the terminal determines whether there are any remaining resources. If there are remaining resources, the resources are allocated to the respective logical channels according to the remaining resources according to the order of the logical channels.
其中,PDB确定方式如下:Among them, the PDB is determined as follows:
终端根据Flow和逻辑信道的映射关系确定能够映射到逻辑信道组的所有Flow对应的5QI或实际映射到所述逻辑信道组的所有Flow对应的5QI,最后根据Flow对应的5QI确定最大的PDB作为逻辑信道组对应的PDB。The terminal determines the 5QI corresponding to all flows that can be mapped to the logical channel group or the 5QIs corresponding to all the flows that are actually mapped to the logical channel group according to the mapping relationship between the flow and the logical channel, and finally determines the largest PDB according to the 5QI corresponding to the Flow as the logic. The PDB corresponding to the channel group.
比如,网络侧设备首先确定能够映射的逻辑信道或者实际映射的逻辑信道为逻辑信道1、2、3、4,之后字段确定出逻辑信道1、2、3、4对应的Flow对应的5QI,再从确定出的Flow对应的5QI确定出最大的PDB作为所述逻辑信道对应的PDB。For example, the network side device first determines that the logical channel that can be mapped or the actually mapped logical channel is the logical channel 1, 2, 3, and 4, and then the field determines the 5QI corresponding to the Flow corresponding to the logical channels 1, 2, 3, and 4, and then The maximum PDB is determined as the PDB corresponding to the logical channel from the determined 5QI corresponding to the Flow.
如图3所示,本发明实施例提供对上行资源进行资源分配终端侧的完整方法流程示意图。As shown in FIG. 3, the embodiment of the present invention provides a schematic flowchart of a complete method for performing resource allocation on an uplink side of an uplink resource.
步骤300、终端需要确定逻辑信道建立完成和/或接收到网络侧设备发送的需要基于MDBV进行资源分配的通知;Step 300: The terminal needs to determine that the logical channel is established and/or receives a notification that the network side device needs to perform resource allocation based on the MDBV.
步骤301、终端通过MAC层确定逻辑信道对应的MDBV;Step 301: The terminal determines, by using a MAC layer, an MDBV corresponding to the logical channel.
步骤302、终端网络侧设备确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数;Step 302: The terminal network side device determines, by the logical network channel, the number of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV;
步骤303、终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序;Step 303: The terminal sorts logical channels having available PBR tokens and having data transmission requirements in descending order of logical channel priorities.
步骤304、终端依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道组对应的PBR令牌桶中令牌个数,且更新每个逻辑信道组对应的用于MDBV控制的令牌桶内的可用令牌个数;Step 304: The terminal sequentially performs a first round of resource allocation based on the PBR for each logical channel, and simultaneously updates the number of tokens in the PBR token bucket corresponding to each logical channel group, and updates each logical channel group corresponding to the MDBV. The number of tokens available in the controlled token bucket;
步骤305、终端对有MDBV要求的逻辑信道完成基于PBR的资源分配后,更新逻辑信道用于MDBV控制的令牌桶内的可用令牌个数;Step 305: After completing the PBR-based resource allocation on the logical channel required by the MDBV, the terminal updates the logical channel for the number of available tokens in the token bucket controlled by the MDBV.
步骤306、终端确定有剩余能够分配的资源后,判断当前需要分配的逻辑信道是否具有MDBV要求的逻辑信道,若是执行步骤307;否则执行步骤308; Step 306, after the terminal determines that there are remaining resources that can be allocated, it is determined whether the logical channel that needs to be allocated currently has a logical channel required by the MDBV, if yes, step 307 is performed; otherwise, step 308 is performed;
步骤307、终端取逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;Step 307: The terminal takes a logical channel for a smaller value of the number of available tokens in the token bucket controlled by the MDBV and the data volume of the current resource to be allocated of the logical channel, and performs resource allocation on the logical channel.
步骤308、终端根据逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配,或前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,根据逻辑信道当前待分配资源的数据量对逻辑信道进行资源分配;Step 308: The terminal allocates resources to the logical channel according to the data amount of the resource to be allocated by the logical channel, or the logical channel that needs to be allocated before is a logical channel that does not have an MDBV requirement, and includes a GBR service, and the current resource to be allocated according to the logical channel. The amount of data is allocated to the logical channel;
步骤309、终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配。Step 309: The terminal determines that there are remaining resources, and performs resource allocation on the remaining data to be transmitted in descending order of all logical channel priorities having data transmission requirements.
如图4所示,本发明实施例提供对上行资源进行资源分配网络侧设备的完整方法流程示意图。As shown in FIG. 4, the embodiment of the present invention provides a schematic flowchart of a complete method for performing resource allocation on a network side device for uplink resources.
步骤400、网络侧设备确定逻辑信道建立完成和/或网络侧设备根据系统负荷确定需要基于MDBV进行资源分配,并通知终端根据系统负荷确定需要基于MDBV进行资源分配;Step 400: The network side device determines that the logical channel establishment is complete and/or the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal to determine, according to the system load, that the resource allocation needs to be performed based on the MDBV.
步骤401、网络侧设备通过MAC层确定逻辑信道组对应的MDBV;Step 401: The network side device determines, by using a MAC layer, an MDBV corresponding to the logical channel group.
步骤402、网络侧设备确定逻辑信道用于MDBV控制的令牌桶内在时间 段(N-PDB,N]内已经实际使用的令牌的个数;Step 402: The network side device determines, by the logical channel, the number of tokens that have been actually used in the time slot (N-PDB, N) in the token bucket controlled by the MDBV;
步骤403、网络侧设备将逻辑信道组对应的MDBV与用于MDBV控制令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M之差作为逻辑信道组用于MDBV控制的令牌桶中的可用令牌个数;Step 403: The network side device uses, as a logical channel group, the difference between the MDBV corresponding to the logical channel group and the number M of tokens actually used in the time period (N-PDB, N) in the MDBV control token bucket. The number of tokens available in the token bucket controlled by MDBV;
步骤404、网络侧设备优先为满足逻辑信道组对应的MDBV要求的数据分配资源;Step 404: The network side device preferentially allocates resources for data required to meet the MDBV corresponding to the logical channel group.
步骤405、网络侧设备判断存在剩余资源,若是执行步骤406,否则结束资源分配;Step 405: The network side device determines that there are remaining resources. If the step 406 is performed, the resource allocation is ended.
步骤406、网络侧设备再根据逻辑信道组实际待传输但是不满足逻辑信道组对应的MDBV要求的数据分配资源;Step 406: The network side device further allocates resources according to data required to be transmitted by the logical channel group but does not meet the MDBV requirement corresponding to the logical channel group.
步骤407、网络侧设备结束资源分配。Step 407: The network side device ends resource allocation.
如图5所示,本发明实施例提供一种进行资源分配的终端,该终端包括:处理器500、存储器501和收发机502;As shown in FIG. 5, an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes: a processor 500, a memory 501, and a transceiver 502;
其中,所述处理器500,用于读取存储器501中的程序并执行:The processor 500 is configured to read a program in the memory 501 and execute:
确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control; performing resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
在确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或接收到网络侧设备发送的需要基于MDBV进行资源分配的通知。Before determining the MDBV corresponding to the logical channel and the token bucket for the MDBV control, determining that the logical channel establishment is completed; and/or receiving the notification that the network side device needs to perform resource allocation based on the MDBV.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined according to the mapping relationship between the Flow and the logical channel.
可选的,所述处理器具体用于:Optionally, the processor is specifically configured to:
若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系, 将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
在MAC层确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined at the MAC layer.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
在通过MAC层确定逻辑信道对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MDBV corresponding to the logical channel is determined by the MAC layer, the mapping relationship between the MAC layer Flow and the logical channel is notified through the SDAP or the RRC layer; or
通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
可选的,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。Optionally, the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
首先确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数,其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。First, the logical channel is used for the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and the difference between the size of the token bucket and the difference of M is used as the logical channel. The number of available tokens in the corresponding token bucket, where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
可选的,所述处理器具体用于:通过下列方式确定逻辑信道对应的PDB:Optionally, the processor is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel:
根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining, according to the 5QI corresponding to the Flow, a maximum PDB as a The PDB corresponding to the logical channel.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens in the token bucket controlled by the MDBV after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待传输的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待传输的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the amount of data to be transmitted by the channel, and performing resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal is currently to be transmitted according to the logical channel. A quantity is allocated to the logical channel.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens for the MDBV control after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道 允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配;For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
可选的,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。Optionally, the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的令牌桶中的可用令牌个数;Determining, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and M as the object Number of tokens available in the token bucket;
其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
处理器500负责管理总线架构和通常的处理,存储器501可以存储处理器500在执行操作时所使用的数据。收发机502用于在处理器500的控制下接收和发送数据。The processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations. The transceiver 502 is configured to receive and transmit data under the control of the processor 500.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器500代表的一个或多个处理器和存储器501代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器500负责管理总线架构和通常的处理,存储器501可以存储处理器500在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 500 and various circuits of memory represented by memory 501. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations.
本发明实施例揭示的流程,可以应用于处理器500中,或者由处理器500 实现。在实现过程中,信号处理流程的各步骤可以通过处理器500中的硬件的集成逻辑电路或者软件形式的指令完成。处理器500可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器501,处理器500读取存储器501中的信息,结合其硬件完成信号处理流程的步骤。The flow disclosed in the embodiment of the present invention may be applied to the processor 500 or implemented by the processor 500. In the implementation process, each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 500 or an instruction in the form of software. The processor 500 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can be implemented or executed in an embodiment of the invention. Various methods, steps, and logic blocks of the disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501 and completes the steps of the signal processing flow in conjunction with its hardware.
如图6所示,本发明实施例提供一种进行资源分配的网络侧设备,该网络侧设备包括:处理器600、存储器601和收发机602;As shown in FIG. 6, the embodiment of the present invention provides a network side device for performing resource allocation, where the network side device includes: a processor 600, a memory 601, and a transceiver 602;
其中,所述处理器600,用于读取存储器601中的程序并执行:The processor 600 is configured to read a program in the memory 601 and execute:
确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。Determining, by the MDBV and the token bucket for the MDBV control, resource allocation for the resource allocation object In the case of allocation, the resource allocation object is a logical channel group; if downlink resource allocation is performed, the resource allocation object is a logical channel.
可选的,所述处理器600还用于:Optionally, the processor 600 is further configured to:
在确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或根据系统负荷确定需要基于MDBV进行资源分配。Before determining the MDBV corresponding to the resource allocation object and the token bucket for MDBV control, determining that the logical channel establishment is completed; and/or determining that resource allocation based on the MDBV is required according to the system load.
可选的,所述处理器600还用于:Optionally, the processor 600 is further configured to:
若进行上行资源分配,根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。If the uplink resource allocation is performed, after determining that the resource allocation needs to be performed based on the MDBV according to the system load, the notification terminal needs to perform resource allocation based on the MDBV.
可选的,所述处理器600具体用于:Optionally, the processor 600 is specifically configured to:
若进行下行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对 应的MDBV;或,If downlink resource allocation is performed, the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel; or
若进行上行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel, and the sum of the MDBVs corresponding to the logical channels in the same logical channel group is used as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the sum of the MDBVs corresponding to the logical channels reported by the terminal is used as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the MDBV corresponding to the logical channel group reported by the terminal is received.
可选的,所述处理器600具体用于:Optionally, the processor 600 is specifically configured to:
若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
可选的,所述处理器600具体用于:Optionally, the processor 600 is specifically configured to:
在MAC层确定资源分配对象对应的MDBV。The MDBV corresponding to the resource allocation object is determined at the MAC layer.
可选的,所述处理器600还用于:Optionally, the processor 600 is further configured to:
在MAC层确定资源分配对象对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MAC layer determines the MDBV corresponding to the resource allocation object, notifying the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
可选的,所述处理器600还用于:Optionally, the processor 600 is further configured to:
如果所述资源分配对象是逻辑信道组,通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。If the resource allocation object is a logical channel group, the mapping relationship between the MAC layer logical channel and the logical channel group is notified by the RRC layer.
可选的,所述处理器600还用于:Optionally, the processor 600 is further configured to:
若进行下行资源分配,根据逻辑信道用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道已经使用的令牌桶内令牌的个数M确定所述逻辑信道对应的令牌桶中的可用令牌个数;或,If the downlink resource allocation is performed, the size is determined according to the size of the token bucket used by the logical channel for MDBV control and the number M of tokens in the token bucket that the logical channel has used in the time period (N-PDB, N) Number of available tokens in the token bucket corresponding to the logical channel; or,
若进行上行资源分配,根据逻辑信道组用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道组已经使用的令牌桶内令牌的个数M确定所述逻辑信道组对应的令牌桶中的可用令牌个数;其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。If uplink resource allocation is performed, it is determined according to the size of the token bucket used by the logical channel group for MDBV control and the number M of tokens in the token bucket that have been used by the logical channel group in the time period (N-PDB, N) The number of available tokens in the token bucket corresponding to the logical channel group; where N is a scheduling moment, and the PDB is a data packet delay budget corresponding to the logical channel.
可选的,所述处理器600具体用于:通过下列方式确定逻辑信道组对应的PDB:Optionally, the processor 600 is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel group:
根据Flow和逻辑信道映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to the Flow and the logical channel mapping relationship, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining a maximum PDB according to the 5QI corresponding to the Flow as the The PDB corresponding to the logical channel.
可选的,所述处理器600具体用于:Optionally, the processor 600 is specifically configured to:
若进行下行资源分配,将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道能够分配资源的数据量;根据所述逻辑信道用于MDBV控制的令牌桶中可用令牌的个数和当前逻辑信道实际待传输数据量两者之间的最小值为所述逻辑信道进行资源分配。If the downlink resource allocation is performed, the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for the MDBV control is used as the data amount of the logical channel capable of allocating resources; The logical channel is used for resource allocation of the logical channel for the minimum value between the number of available tokens in the token bucket controlled by the MDBV and the actual amount of data to be transmitted of the current logical channel.
可选的,所述处理器600具体用于:Optionally, the processor 600 is specifically configured to:
若进行上行资源分配,将所述逻辑信道组对应的MDBV与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道组对应的令牌桶中可用令牌的个数;根据所述逻辑信道组 对应的令牌桶中可用令牌的个数和当前逻辑信道组实际待传输数据量两者之间的最小值为所述逻辑信道组进行资源分配。If the uplink resource allocation is performed, the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group is used as the logic. The number of available tokens in the token bucket corresponding to the channel group; the minimum value between the number of tokens available in the token bucket corresponding to the logical channel group and the actual amount of data to be transmitted in the current logical channel group Resource allocation is performed for the logical channel group.
处理器600负责管理总线架构和通常的处理,存储器601可以存储处理器600在执行操作时所使用的数据。收发机602用于在处理器600的控制下接收和发送数据。The processor 600 is responsible for managing the bus architecture and general processing, and the memory 601 can store data used by the processor 600 in performing operations. The transceiver 602 is configured to receive and transmit data under the control of the processor 600.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器601代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器600负责管理总线架构和通常的处理,存储器601可以存储处理器600在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 600 and various circuits of memory represented by memory 601. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 601 can store data used by the processor 600 in performing operations.
本发明实施例揭示的流程,可以应用于处理器600中,或者由处理器600实现。在实现过程中,信号处理流程的各步骤可以通过处理器600中的硬件的集成逻辑电路或者软件形式的指令完成。处理器600可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器601,处理器600读取存储器601中的信息,结合其硬件完成信号处理流程的步骤。The flow disclosed in the embodiment of the present invention may be applied to the processor 600 or implemented by the processor 600. In the implementation process, each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 600 or an instruction in the form of software. The processor 600 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can be implemented or executed in an embodiment of the invention. Various methods, steps, and logic blocks of the disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 601, and the processor 600 reads the information in the memory 601 and completes the steps of the signal processing flow in conjunction with its hardware.
如图7所示,本发明实施例提供一种进行资源分配的终端,该终端包括:As shown in FIG. 7, an embodiment of the present invention provides a terminal for performing resource allocation, where the terminal includes:
第一确定模块700,用于确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶;a first determining module 700, configured to determine an MDBV corresponding to the logical channel and a token bucket for MDBV control;
第一分配模块701,用于根据确定的所述MDBV和所述用于MDBV控制 的令牌桶为所述逻辑信道进行资源分配。The first allocating module 701 is configured to perform resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
可选的,所述第一确定模块700还用于:Optionally, the first determining module 700 is further configured to:
在确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或接收到网络侧设备发送的需要基于MDBV进行资源分配的通知。Before determining the MDBV corresponding to the logical channel and the token bucket for the MDBV control, determining that the logical channel establishment is completed; and/or receiving the notification that the network side device needs to perform resource allocation based on the MDBV.
可选的,所述第一确定模块700还用于:Optionally, the first determining module 700 is further configured to:
根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined according to the mapping relationship between the Flow and the logical channel.
可选的,所述第一确定模块700具体用于:Optionally, the first determining module 700 is specifically configured to:
若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
可选的,所述第一确定模块700具体用于:Optionally, the first determining module 700 is specifically configured to:
在MAC层确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined at the MAC layer.
可选的,所述第一确定模块700还用于:Optionally, the first determining module 700 is further configured to:
在通过MAC层确定逻辑信道对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MDBV corresponding to the logical channel is determined by the MAC layer, the mapping relationship between the MAC layer Flow and the logical channel is notified through the SDAP or the RRC layer; or
通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
可选的,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。Optionally, the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
可选的,所述第一确定模块700具体用于:Optionally, the first determining module 700 is specifically configured to:
确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Determining, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and comparing the size of the token bucket with the difference of M as the logical channel The number of available tokens in the token bucket; where N is the scheduling moment and the PDB is the packet delay budget corresponding to the logical channel.
可选的,所述第一确定模块700具体用于:通过下列方式确定逻辑信道对应的PDB:Optionally, the first determining module 700 is specifically configured to: determine, by using the following manner, a PDB corresponding to the logical channel:
根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining, according to the 5QI corresponding to the Flow, a maximum PDB as a The PDB corresponding to the logical channel.
可选的,所述第一分配模块701具体用于:Optionally, the first allocating module 701 is specifically configured to:
所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens in the token bucket controlled by the MDBV after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待传输的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待传输的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the amount of data to be transmitted by the channel, and performing resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal is currently to be transmitted according to the logical channel. A quantity is allocated to the logical channel.
可选的,所述第一分配模块701还用于:Optionally, the first allocating module 701 is further configured to:
在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行 第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
可选的,所述第一分配模块701还用于:Optionally, the first allocating module 701 is further configured to:
所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens in the token bucket controlled by the MDBV after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配;For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
可选的,所述第一分配模块701还用于:Optionally, the first allocating module 701 is further configured to:
对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After all the logical channels having data transmission requirements are subjected to the second round of resource allocation in descending order of logical channel priority, if the terminal determines that there are remaining resources, the remaining channels are in descending order of all logical channels having data transmission requirements. The data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
可选的,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。Optionally, the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
可选的,所述第一确定模块700还用于:Optionally, the first determining module 700 is further configured to:
确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的 令牌桶中的可用令牌个数;其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Determining, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and M as the object The number of available tokens in the token bucket; where N is the scheduling moment and the PDB is the packet delay budget corresponding to the logical channel.
如图8所示,本发明实施例提供一种进行资源分配的网络侧设备,该网络侧设备包括:As shown in FIG. 8, the embodiment of the present invention provides a network side device that performs resource allocation, and the network side device includes:
第二确定模块800,用于确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;a second determining module 800, configured to determine an MDBV corresponding to the resource allocation object and a token bucket for the MDBV control;
第二分配模块801,用于根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;a second allocation module 801, configured to perform resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control;
其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。If the uplink resource allocation is performed, the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
在确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或根据系统负荷确定需要基于MDBV进行资源分配。Before determining the MDBV corresponding to the resource allocation object and the token bucket for MDBV control, determining that the logical channel establishment is completed; and/or determining that resource allocation based on the MDBV is required according to the system load.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
若进行上行资源分配,根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。If the uplink resource allocation is performed, after determining that the resource allocation needs to be performed based on the MDBV according to the system load, the notification terminal needs to perform resource allocation based on the MDBV.
可选的,所述第二确定模块800具体用于:Optionally, the second determining module 800 is specifically configured to:
若进行下行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV;或,If the downlink resource allocation is performed, the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel; or
若进行上行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel, and the sum of the MDBVs corresponding to the logical channels in the same logical channel group is used as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the sum of the MDBVs corresponding to the logical channels reported by the terminal is used as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the MDBV corresponding to the logical channel group reported by the terminal is received.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
可选的,所述第二确定模块800具体用于:Optionally, the second determining module 800 is specifically configured to:
在MAC层确定资源分配对象对应的MDBV。The MDBV corresponding to the resource allocation object is determined at the MAC layer.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
在MAC层确定资源分配对象对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MAC layer determines the MDBV corresponding to the resource allocation object, notifying the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
如果所述资源分配对象是逻辑信道组,通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。If the resource allocation object is a logical channel group, the mapping relationship between the MAC layer logical channel and the logical channel group is notified by the RRC layer.
可选的,所述第二确定模块800还用于:Optionally, the second determining module 800 is further configured to:
若进行下行资源分配,根据逻辑信道用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道已经使用的令牌桶内令牌的个数M确定所述逻辑信道对应的令牌桶中的可用令牌个数;或,If the downlink resource allocation is performed, the size is determined according to the size of the token bucket used by the logical channel for MDBV control and the number M of tokens in the token bucket that the logical channel has used in the time period (N-PDB, N) Number of available tokens in the token bucket corresponding to the logical channel; or,
若进行上行资源分配,根据逻辑信道组用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道组已经使用的令牌桶内令牌的个数M确定所述逻辑信道组对应的令牌桶中的可用令牌个数;其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。If uplink resource allocation is performed, it is determined according to the size of the token bucket used by the logical channel group for MDBV control and the number M of tokens in the token bucket that have been used by the logical channel group in the time period (N-PDB, N) The number of available tokens in the token bucket corresponding to the logical channel group; where N is a scheduling moment, and the PDB is a data packet delay budget corresponding to the logical channel.
可选的,所述第二确定模块800具体用于:Optionally, the second determining module 800 is specifically configured to:
通过下列方式确定逻辑信道对应的PDB:The PDB corresponding to the logical channel is determined in the following manner:
根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining, according to the 5QI corresponding to the Flow, a maximum PDB as a The PDB corresponding to the logical channel.
可选的,所述第二确定模块800具体用于:Optionally, the second determining module 800 is specifically configured to:
若进行下行资源分配,将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道能够分配资源的数据量;根据所述逻辑信道用于MDBV控制的令牌桶中可用令牌的个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道进行资源分配。If the downlink resource allocation is performed, the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for the MDBV control is used as the data amount of the logical channel capable of allocating resources; The logical channel is used for resource allocation of the logical channel for the minimum value between the number of available tokens in the token bucket controlled by the MDBV and the data volume of the actual logical channel to be allocated.
可选的,所述第二确定模块800具体用于:Optionally, the second determining module 800 is specifically configured to:
若进行上行资源分配,将所述逻辑信道组对应的MDBV与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道组对应的令牌桶中可用令牌的个数;根据所述逻辑信道组对应的令牌桶中可用令牌的个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道组进行资源分配。If the uplink resource allocation is performed, the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group is used as the logic. The number of available tokens in the token bucket corresponding to the channel group; the minimum between the number of tokens available in the token bucket corresponding to the logical channel group and the amount of data of the current logical channel to be allocated. A value is allocated for the logical channel group.
图9所示,本发明实施例提供一种进行资源分配的方法,该方法包括:As shown in FIG. 9, an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
步骤900、终端确定逻辑信道对应的MDBV和用于MDBV控制的令牌桶;Step 900: The terminal determines an MDBV corresponding to the logical channel and a token bucket used for MDBV control.
步骤901、所述终端根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。Step 901: The terminal performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
可选的,所述终端确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或接收到网络侧设备发送的需要基 于MDBV进行资源分配的通知。Optionally, before determining, by the terminal, the MDBV corresponding to the logical channel and the token bucket for the MDBV control, determining that the logical channel is established; and/or receiving the notification that the network side device needs to perform resource allocation based on the MDBV.
可选的,所述终端根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。Optionally, the terminal determines, according to the mapping relationship between the flow and the logical channel, the MDBV corresponding to the logical channel.
可选的,若Flow和逻辑信道采用1:1映射,所述终端将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,Optionally, if the Flow and the logical channel adopt a 1:1 mapping, the terminal uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,所述终端根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
若Flow和逻辑信道采用M:1映射,所述终端将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the terminal will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; M is a positive integer.
可选的,所述终端在MAC层确定逻辑信道对应的MDBV。Optionally, the terminal determines, at the MAC layer, an MDBV corresponding to the logical channel.
可选的,所述终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Optionally, the terminal notifies, by using a SDAP or an RRC layer, a mapping relationship between a MAC layer flow and a logical channel; or
所述终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述终端通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,The terminal notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP or the RRC layer; or
所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
所述终端备通过SDAP层通知MAC层逻辑信道对应的MDBV后,通过MAC层确定对象对应的MDBV。After the terminal device notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP layer, the MDBV corresponding to the object is determined by the MAC layer.
可选的,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。Optionally, the size of the token bucket used for the MDBV control is an MDBV corresponding to the logical channel.
可选的,所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;Optionally, the terminal determines, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and the difference between the size of the token bucket and the M. The value is the number of available tokens in the token bucket corresponding to the logical channel;
其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
可选的,所述终端通过下列方式确定逻辑信道对应的PDB:Optionally, the terminal determines, according to the following manner, a PDB corresponding to the logical channel:
根据逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;Determining, according to a mapping relationship of the logical channels, a 5QI corresponding to all flows that can be mapped to the logical channel or a 5QI corresponding to all flows actually mapped to the logical channel;
根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining the largest PDB as the PDB corresponding to the logical channel according to the 5QI corresponding to the Flow.
可选的,所述终端根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配:Optionally, the terminal allocates resources for the logical channel according to the determined MDBV and the token bucket for MDBV control:
1:所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道对应的MDBV令牌桶中的可用令牌个数;1: The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously. The number of tokens in the PBR token bucket corresponding to the channel, and the number of available tokens in the MDBV token bucket corresponding to the logical channel after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
2:所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:2: After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
可选的,所述终端在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,还包括:Optionally, after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels that have data transmission requirements, the terminal further includes:
如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。If the terminal determines that there are remaining resources, the remaining to-be-transmitted data is allocated according to the logical channel priority descending order of all data transmission requirements until the resources are exhausted or the resources to be transmitted of all logical channels are allocated resources.
可选的,所述终端根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配:Optionally, the terminal allocates resources for the logical channel according to the determined MDBV and the token bucket for MDBV control:
1:所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信 道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道对应的对应的MDBV令牌桶中的可用令牌个数;1: The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logic simultaneously. The number of tokens in the PBR token bucket corresponding to the channel, and the number of available tokens in the corresponding MDBV token bucket corresponding to the logical channel after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement. ;
2:所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:2: After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements:
对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配;For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic Channel for resource allocation;
可选的,所述终端在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,还包括:Optionally, after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels that have data transmission requirements, the terminal further includes:
如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。If the terminal determines that there are remaining resources, the remaining to-be-transmitted data is allocated according to the logical channel priority descending order of all data transmission requirements until the resources are exhausted or the resources to be transmitted of all logical channels are allocated resources.
可选的,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。Optionally, the number of tokens that can be used in the token bucket for the MDBV control corresponding to the logical channel is the MDBV corresponding to the logical channel, and the MDBV control corresponding to the logical channel. The difference between the number of tokens actually used in the token bucket.
可选的,所述终端更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数,包括:Optionally, the terminal updates the logical channel for the number of available tokens in the token bucket controlled by the MDBV, including:
所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的令牌桶中的可用令牌个数;其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Determining, by the terminal, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the The number of available tokens in the token bucket corresponding to the object; where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
如图10所示,本发明实施例提供一种进行资源分配的方法,该方法包括:As shown in FIG. 10, an embodiment of the present invention provides a method for performing resource allocation, where the method includes:
步骤1000、网络侧设备确定资源分配对象对应的MDBV和用于MDBV 控制的令牌桶;Step 1000: The network side device determines an MDBV corresponding to the resource allocation object and a token bucket used for MDBV control.
步骤1001、所述网络侧设备根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;Step 1001: The network side device performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control.
其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。If the uplink resource allocation is performed, the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
可选的,在确定逻辑信道用于MDBV控制的令牌桶和对象对应的MDBV之前,所述网络侧设备确定逻辑信道建立完成;和/或根据系统负荷确定需要基于MDBV进行资源分配。Optionally, before determining that the logical channel is used for the MDBV controlled token bucket and the MDBV corresponding to the object, the network side device determines that the logical channel establishment is completed; and/or determines that the resource allocation needs to be performed based on the MDBV according to the system load.
可选的,若进行上行资源分配,所述网络侧设备根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。Optionally, if the uplink resource allocation is performed, the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal that the resource allocation is performed based on the MDBV.
可选的,若进行下行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV;或,Optionally, if the downlink resource allocation is performed, the network side device determines, according to the mapping relationship between the flow and the logical channel, the MDBV corresponding to the logical channel; or
若进行上行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group; or ,
若进行上行资源分配,所述网络侧设备将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device uses the sum of the MDBVs corresponding to the logical channels reported by the terminal as the MDBV corresponding to the logical channel group; or
若进行上行资源分配,所述网络侧设备接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the network side device receives the MDBV corresponding to the logical channel group reported by the terminal.
可选的,若Flow和逻辑信道采用1:1映射,所述网络侧设备将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,Optionally, if the Flow and the logical channel adopt a 1:1 mapping, the network side device uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
若Flow和逻辑信道采用M:1映射,所述网络侧设备根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the network side device uses, according to the mapping relationship between the flow and the logical channel, the sum of the MDBVs corresponding to the flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel; or ,
若Flow和逻辑信道采用M:1映射,所述网络侧设备将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the flow and the logical channel adopt the M:1 mapping, the network side device will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; , M is a positive integer.
可选的,所述网络侧设备在MAC层确定资源分配对象对应的MDBV。Optionally, the network side device determines, at the MAC layer, an MDBV corresponding to the resource allocation object.
可选的,在MAC层确定资源分配对象对应的MDBV之前,所述网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Optionally, before the MAC layer determines the MDBV corresponding to the resource allocation object, the network side device notifies the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
所述网络侧设备通过SDAP或RRC层通知MAC层Flow以及逻辑信道的映射关系和QFI对应的MDBV;或,The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
所述网络侧设备通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer; or
所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
所述网络侧设备通过SDAP层通知MAC层逻辑信道对应的MDBV。The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
可选的,如果所述资源分配对象是逻辑信道组,所述方法还包括:Optionally, if the resource allocation object is a logical channel group, the method further includes:
所述网络侧设备通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。The network side device notifies the mapping relationship between the MAC layer logical channel and the logical channel group through the RRC layer.
可选的,若进行下行资源分配,所述网络侧设备根据逻辑信道用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道已经使用的令牌桶内令牌的个数M确定所述逻辑信道对应的令牌桶中的可用令牌个数;或,Optionally, if the downlink resource allocation is performed, the network side device uses the size of the token bucket controlled by the MDBV according to the logical channel, and the token bucket that has been used by the logical channel in the time period (N-PDB, N) The number of tokens M determines the number of available tokens in the token bucket corresponding to the logical channel; or
若进行上行资源分配,所述网络侧设备逻辑信道组用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道组已经使用的令牌桶内令牌的个数M确定所述逻辑信道组对应的令牌桶中的可用令牌个数;If the uplink resource allocation is performed, the logical channel group of the network side device is used for the size of the token bucket controlled by the MDBV and the token within the token bucket that has been used by the logical channel group in the N-PDB, N] The number M determines the number of available tokens in the token bucket corresponding to the logical channel group;
其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
可选的,所述网络侧设备通过下列方式确定逻辑信道对应的PDB:Optionally, the network side device determines, according to the following manner, a PDB corresponding to the logical channel:
所述网络侧设备根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;The network side device determines, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that can be mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel;
所述网络侧设备根据所述Flow对应的5QI确定最大的PDB作为所述逻 辑信道对应的PDB。The network side device determines, according to the 5QI corresponding to the Flow, the largest PDB as the PDB corresponding to the logical channel.
可选的,若进行下行资源分配,所述网络侧设备将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道能够分配资源的数据量;Optionally, if the downlink resource allocation is performed, the network side device uses, as the logic, a difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for MDBV control. The amount of data that the channel can allocate resources;
所述网络侧设备根据所述逻辑信道用于MDBV控制的令牌桶中的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道进行资源分配。The network side device performs resources for the logical channel according to a minimum value between the number of available tokens in the token bucket used by the MDBV control and the actual data volume of the current logical channel to be allocated. distribution.
可选的,若进行上行资源分配,所述网络侧设备将所述逻辑信道组对应的MDBV与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道组对应的令牌桶中的可用令牌个数;Optionally, if the uplink resource allocation is performed, the network side device, the MDBV corresponding to the logical channel group, and the token used in the MDBV control token bucket corresponding to the logical channel group are actually used. The difference of the number is used as the number of available tokens in the token bucket corresponding to the logical channel group;
所述网络侧设备根据所述逻辑信道组对应的令牌桶中的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道组进行资源分配。The network side device allocates resources to the logical channel group according to a minimum value between the number of available tokens in the token bucket corresponding to the logical channel group and the data amount of the current logical channel to be allocated. .
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to embodiments of the present application. It will be understood that one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine such that instructions for execution via a computer processor and/or other programmable data processing apparatus are created for A method of implementing the functions/actions specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使 用,或结合指令执行系统、装置或设备使用。Accordingly, the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system. In the context of the present application, a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (56)

  1. 一种进行资源分配的方法,其特征在于,该方法包括:A method for resource allocation, characterized in that the method comprises:
    终端确定逻辑信道对应的最大数据突发容量MDBV以及用于MDBV控制的令牌桶;The terminal determines a maximum data burst capacity MDBV corresponding to the logical channel and a token bucket for MDBV control;
    所述终端根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。And the terminal performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  2. 如权利要求1所述的方法,其特征在于,所述终端确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶之前,还包括:The method according to claim 1, wherein the determining, by the terminal, the MDBV corresponding to the logical channel and the token bucket for the MDBV control, the method further includes:
    所述终端确定逻辑信道建立完成;和/或,The terminal determines that the logical channel establishment is complete; and/or,
    所述终端接收到网络侧设备发送的需要基于MDBV进行资源分配的通知。The terminal receives the notification that the network side device needs to perform resource allocation based on the MDBV.
  3. 如权利要求1所述的方法,其特征在于,所述终端确定逻辑信道对应的MDBV,包括:The method of claim 1, wherein the determining, by the terminal, the MDBV corresponding to the logical channel comprises:
    所述终端根据流Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。The terminal determines the MDBV corresponding to the logical channel according to the mapping relationship between the flowFlow and the logical channel.
  4. 如权利要求3所述的方法,其特征在于,所述终端根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,包括:The method according to claim 3, wherein the terminal determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, including:
    若Flow和逻辑信道采用1:1映射,所述终端将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the 1:1 mapping is used for the flow and the logical channel, the terminal uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
    若Flow和逻辑信道采用M:1映射,所述终端根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the terminal uses the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
    若Flow和逻辑信道采用M:1映射,所述终端将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the terminal will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; M is a positive integer.
  5. 如权利要求4所述的方法,其特征在于,所述终端确定逻辑信道对应的MDBV,包括:The method of claim 4, wherein the determining, by the terminal, the MDBV corresponding to the logical channel comprises:
    所述终端在媒体接入控制MAC层确定逻辑信道对应的MDBV。The terminal determines an MDBV corresponding to the logical channel at the medium access control MAC layer.
  6. 如权利要求5所述的方法,其特征在于,所述终端通过MAC层确定逻辑信道对应的MDBV之前,还包括:The method according to claim 5, wherein before the determining, by the MAC layer, the MDBV corresponding to the logical channel, the terminal further includes:
    所述终端通过协议数据适配层SDAP或无线资源控制RRC层通知MAC层Flow和逻辑信道的映射关系;或,The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel through the protocol data adaptation layer SDAP or the radio resource control RRC layer; or
    所述终端通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The terminal notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
    所述终端通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,The terminal notifies the MDBV corresponding to the logical channel of the MAC layer through the SDAP or the RRC layer; or
    所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
    所述终端通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The terminal notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
    所述终端备通过SDAP层通知MAC层逻辑信道对应的MDBV。The terminal device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
  7. 如权利要求1所述的方法,其特征在于,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。The method according to claim 1, wherein the size of the token bucket for MDBV control is an MDBV corresponding to a logical channel.
  8. 如权利要求1所述的方法,其特征在于,所述终端确定逻辑信道用于MDBV控制的令牌桶中的可用令牌个数,包括:The method according to claim 1, wherein the terminal determines the number of available tokens in the token bucket used by the MDBV control logical channel, including:
    所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;Determining, by the terminal, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the Number of available tokens in the token bucket corresponding to the logical channel;
    其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
  9. 如权利要求8所述的方法,其特征在于,所述终端通过下列方式所述逻辑信道对应的PDB:The method according to claim 8, wherein the terminal corresponds to the PDB by the logical channel in the following manner:
    所述终端根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;Determining, by the terminal, the 5QI corresponding to all flows that are mapped to the logical channel or the 5QIs corresponding to all flows that are actually mapped to the logical channel according to the mapping relationship between the flow and the logical channel;
    所述终端根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。The terminal determines, according to the 5QI corresponding to the Flow, the largest PDB as the PDB corresponding to the logical channel.
  10. 如权利要求1所述的方法,其特征在于,所述终端根据确定的所述 MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配,包括:The method according to claim 1, wherein the terminal performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control, including:
    所述终端对有PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道对应的用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels having PBR tokens and having data transmission requirements according to logical channel priority descending order, and then sequentially performs first round resource allocation on each logical channel based on PBR, and simultaneously updates each logical channel corresponding to each logical channel. The number of tokens in the token bucket of the PBR token bucket, and the number of available tokens in the token bucket for the MDBV control corresponding to the logical channel after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
    所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
    对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
  11. 如权利要求10所述的方法,其特征在于,所述终端对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,还包括:The method according to claim 10, wherein after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, the terminal further includes:
    如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。If the terminal determines that there are remaining resources, the remaining to-be-transmitted data is allocated according to the logical channel priority descending order of all data transmission requirements until the resources are exhausted or the resources to be transmitted of all logical channels are allocated resources.
  12. 如权利要求1所述的方法,其特征在于,所述终端根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配,还包括:The method according to claim 1, wherein the terminal performs resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control, and further includes:
    所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道 用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens in the token bucket controlled by the MDBV after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
    所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
    对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic The channel performs resource allocation.
  13. 如权利要求12所述的方法,其特征在于,所述终端对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,还包括:The method according to claim 12, wherein after the terminal performs the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, the terminal further includes:
    如果所述终端确定还有剩余资源,所述终端按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。If the terminal determines that there are remaining resources, the terminal allocates resources to the remaining to-be-transmitted data in descending order of all logical channel priorities having data transmission requirements until the resources are exhausted or the data to be transmitted of all logical channels are allocated. Resources.
  14. 如权利要求10或12所述的方法,其特征在于,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。The method according to claim 10 or 12, wherein the number of tokens that can be used in the token bucket for MDBV control corresponding to the logical channel is the MDBV and the corresponding channel of the logical channel. The difference between the number of tokens actually used in the token bucket for the MDBV control corresponding to the logical channel.
  15. 如权利要求10或12所述的方法,其特征在于,所述终端更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数,包括:The method according to claim 10 or 12, wherein the terminal updates the logical channel for the number of available tokens in the token bucket controlled by the MDBV, including:
    所述终端确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的令牌桶中的可用令牌个数;Determining, by the terminal, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and the M as the Number of available tokens in the token bucket corresponding to the object;
    其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
  16. 一种进行资源分配的方法,其特征在于,该方法包括:A method for resource allocation, characterized in that the method comprises:
    网络侧设备确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;The network side device determines the MDBV corresponding to the resource allocation object and the token bucket used for the MDBV control;
    所述网络侧设备根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;The network side device performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control;
    其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。If the uplink resource allocation is performed, the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
  17. 如权利要求16所述的方法,其特征在于,所述网络侧设备确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶之前,还包括:The method according to claim 16, wherein before the network side device determines the MDBV corresponding to the resource allocation object and the token bucket for the MDBV control, the network side device further includes:
    所述网络侧设备确定逻辑信道建立完成;和/或,The network side device determines that the logical channel establishment is completed; and/or,
    所述网络侧设备根据系统负荷确定需要基于MDBV进行资源分配。The network side device determines that resource allocation needs to be performed based on the MDBV according to the system load.
  18. 如权利要求17所述的方法,其特征在于,该方法还包括:The method of claim 17 further comprising:
    若进行上行资源分配,所述网络侧设备根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。If the uplink resource allocation is performed, the network side device determines that the resource allocation needs to be performed based on the MDBV according to the system load, and notifies the terminal that the resource allocation needs to be performed based on the MDBV.
  19. 如权利要求16所述的方法,其特征在于,所述网络侧设备确定资源分配对象对应的MDBV,包括:The method of claim 16, wherein the network side device determines the MDBV corresponding to the resource allocation object, including:
    若进行下行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV;或,If the downlink resource allocation is performed, the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel; or
    若进行上行资源分配,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, and uses the sum of the MDBVs corresponding to the logical channels in the same logical channel group as the MDBV corresponding to the logical channel group; or ,
    若进行上行资源分配,所述网络侧设备将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the network side device uses the sum of the MDBVs corresponding to the logical channels reported by the terminal as the MDBV corresponding to the logical channel group; or
    若进行上行资源分配,所述网络侧设备接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the network side device receives the MDBV corresponding to the logical channel group reported by the terminal.
  20. 如权利要求19所述的方法,其特征在于,所述网络侧设备根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,包括:The method according to claim 19, wherein the network side device determines the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel, including:
    若Flow和逻辑信道采用1:1映射,所述网络侧设备将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the network side device uses the MDBV corresponding to the Flow as the MDBV corresponding to the logical channel; or
    若Flow和逻辑信道采用M:1映射,所述网络侧设备根据Flow和逻辑信 道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the flow and the logical channel adopt the M:1 mapping, the network side device uses, according to the mapping relationship between the flow and the logical channel, the sum of the MDBVs corresponding to the flows that can be mapped to the logical channel as the MDBV corresponding to the logical channel; or ,
    若Flow和逻辑信道采用M:1映射,所述网络侧设备将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the flow and the logical channel adopt the M:1 mapping, the network side device will use the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; , M is a positive integer.
  21. 如权利要求20所述的方法,其特征在于,所述网络侧设备确定资源分配对象对应的MDBV,包括:The method of claim 20, wherein the network side device determines the MDBV corresponding to the resource allocation object, including:
    所述网络侧设备在MAC层确定资源分配对象对应的MDBV。The network side device determines, at the MAC layer, an MDBV corresponding to the resource allocation object.
  22. 如权利要求21所述的方法,其特征在于,所述网络侧设备在MAC层确定资源分配对象对应的MDBV之前,还包括:The method of claim 21, wherein before the MAC layer determines the MDBV corresponding to the resource allocation object, the network side device further includes:
    所述网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
    所述网络侧设备通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,The network side device notifies the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or the RRC layer; or
    所述网络侧设备通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP or the RRC layer; or
    所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
    所述网络侧设备通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,The network side device notifies the MAC layer to actually map to the flow of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
    所述网络侧设备通过SDAP层通知MAC层逻辑信道对应的MDBV。The network side device notifies the MDBV corresponding to the MAC layer logical channel through the SDAP layer.
  23. 如权利要求22所述的方法,其特征在于,如果所述资源分配对象是逻辑信道组,所述方法还包括:The method of claim 22, wherein if the resource allocation object is a logical channel group, the method further comprises:
    所述网络侧设备通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。The network side device notifies the mapping relationship between the MAC layer logical channel and the logical channel group through the RRC layer.
  24. 如权利要求16所述的方法,其特征在于,所述网络侧设备资源分配对象用于MDBV控制的令牌桶中的可用令牌个数,包括:The method according to claim 16, wherein the network side device resource allocation object is used for the number of available tokens in the token bucket controlled by the MDBV, including:
    若进行下行资源分配,所述网络侧设备根据逻辑信道用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道已经使用的令牌桶内令牌的个数M确定所述逻辑信道对应的令牌桶中的可用令牌个数;或,If the downlink resource allocation is performed, the network side device uses the size of the token bucket controlled by the MDBV according to the logical channel and the token token in the token bucket that has been used by the logical channel in the time period (N-PDB, N) The number M determines the number of available tokens in the token bucket corresponding to the logical channel; or
    若进行上行资源分配,所述网络侧设备逻辑信道组用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道组已经使用的令牌桶内令牌的个数M确定所述逻辑信道组对应的令牌桶中的可用令牌个数;If the uplink resource allocation is performed, the logical channel group of the network side device is used for the size of the token bucket controlled by the MDBV and the token within the token bucket that has been used by the logical channel group in the N-PDB, N] The number M determines the number of available tokens in the token bucket corresponding to the logical channel group;
    其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
  25. 如权利要求24所述的方法,其特征在于,所述网络侧设备通过下列方式确定逻辑信道组对应的PDB:The method according to claim 24, wherein the network side device determines the PDB corresponding to the logical channel group by:
    所述网络侧设备根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;The network side device determines, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that can be mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel;
    所述网络侧设备根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。The network side device determines, according to the 5QI corresponding to the Flow, the largest PDB as the PDB corresponding to the logical channel.
  26. 如权利要求16~25任一所述的方法,其特征在于,所述网络侧设备根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配,包括:The method according to any one of claims 16 to 25, wherein the network side device performs resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control, including :
    若进行下行资源分配,所述网络侧设备将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道MDBV对应的令牌桶中的可用令牌个数;If the downlink resource allocation is performed, the network side device uses, as the logical channel MDBV, a difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for MDBV control. Number of tokens available in the token bucket;
    所述网络侧设备根据所述逻辑信道MDBV对应的令牌桶中的可用令牌个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道进行资源分配。The network side device performs resource allocation for the logical channel according to a minimum value between the number of available tokens in the token bucket corresponding to the logical channel MDBV and the data amount of the current logical channel to be allocated.
  27. 如权利要求16~25任一所述的方法,其特征在于,所述网络侧设备根据确定的所述用于MDBV控制的令牌桶和所述MDBV为所述资源分配对象进行资源分配,包括:The method according to any one of claims 16 to 25, wherein the network side device performs resource allocation for the resource allocation object according to the determined token bucket for MDBV control and the MDBV, including :
    若进行上行资源分配,所述网络侧设备将所述逻辑信道组对应的MDBV 与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;If the uplink resource allocation is performed, the network side device compares the MDBV corresponding to the logical channel group with the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group. The value is the number of available tokens in the token bucket corresponding to the logical channel;
    所述网络侧设备根据所述逻辑信道组对应的令牌桶中的可用令牌个数和当前逻辑信道组实际待传输数据量两者之间的最小值为所述逻辑信道组进行资源分配。The network side device performs resource allocation for the logical channel group according to a minimum value between the number of available tokens in the token bucket corresponding to the logical channel group and the actual data volume to be transmitted of the current logical channel group.
  28. 一种进行资源分配的终端,其特征在于,该终端包括:处理器、存储器和收发机;A terminal for performing resource allocation, wherein the terminal comprises: a processor, a memory, and a transceiver;
    其中,所述处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
    确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。Determining a MDBV corresponding to the logical channel and a token bucket for MDBV control; performing resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  29. 如权利要求28所述的终端,其特征在于,所述处理器还用于:The terminal of claim 28, wherein the processor is further configured to:
    在确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或接收到网络侧设备发送的需要基于MDBV进行资源分配的通知。Before determining the MDBV corresponding to the logical channel and the token bucket for the MDBV control, determining that the logical channel establishment is completed; and/or receiving the notification that the network side device needs to perform resource allocation based on the MDBV.
  30. 如权利要求28所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 28, wherein the processor is specifically configured to:
    根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined according to the mapping relationship between the Flow and the logical channel.
  31. 如权利要求30所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 30, wherein the processor is specifically configured to:
    若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel;
    或若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;Or if the Flow and the logical channel adopt the M:1 mapping, according to the mapping relationship between the Flow and the logical channel, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channel is used as the MDBV corresponding to the logical channel;
    或若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。Or if the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein, the M is Is a positive integer.
  32. 如权利要求31所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 31, wherein the processor is specifically configured to:
    在MAC层确定逻辑信道对应的MDBV。The MDBV corresponding to the logical channel is determined at the MAC layer.
  33. 如权利要求32所述的终端,其特征在于,所述处理器还用于:The terminal according to claim 32, wherein the processor is further configured to:
    在通过MAC层确定逻辑信道对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MDBV corresponding to the logical channel is determined by the MAC layer, the mapping relationship between the MAC layer Flow and the logical channel is notified through the SDAP or the RRC layer; or
    通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
    通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or notifying the MAC layer to actually map to the Flow of the logical channel through the SDAP layer; or
    通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
    通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  34. 如权利要求28所述的终端,其特征在于,所述用于MDBV控制的令牌桶的大小为逻辑信道对应的MDBV。The terminal according to claim 28, wherein the size of the token bucket for MDBV control is an MDBV corresponding to a logical channel.
  35. 如权利要求28所述的终端,其特征在于,所述处理器还用于:The terminal of claim 28, wherein the processor is further configured to:
    确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述逻辑信道对应的令牌桶中的可用令牌个数;Determining, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and comparing the size of the token bucket with the difference of M as the logical channel Number of tokens available in the token bucket;
    其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
  36. 如权利要求35所述的终端,其特征在于,所述处理器具体用于:通过下列方式确定逻辑信道对应的PDB:The terminal according to claim 35, wherein the processor is specifically configured to: determine a PDB corresponding to the logical channel by:
    根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining, according to the 5QI corresponding to the Flow, a maximum PDB as a The PDB corresponding to the logical channel.
  37. 如权利要求28所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 28, wherein the processor is specifically configured to:
    所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有 MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens for the MDBV control after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
    所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
    对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求的逻辑信道,则所述终端根据所述逻辑信道当前待分配资源的数据量对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic The channel has a smaller value of the data of the resource to be allocated, and performs resource allocation on the logical channel; if the logical channel that needs to be allocated is a logical channel that is not required by the MDBV, the terminal currently allocates resources according to the logical channel. The amount of data is allocated to the logical channel.
  38. 如权利要求37所述的终端,其特征在于,所述处理器还用于:The terminal according to claim 37, wherein the processor is further configured to:
    在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  39. 如权利要求28所述的终端,其特征在于,所述处理器还用于:The terminal of claim 28, wherein the processor is further configured to:
    所述终端对有可用PBR令牌且有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行排序,然后依次对每个逻辑信道基于PBR进行第一轮资源分配,同时更新每个逻辑信道对应的PBR令牌桶中令牌个数,同时对有MDBV要求的逻辑信道,完成基于PBR的资源分配后,需要更新该逻辑信道用于MDBV控制的令牌桶中的可用令牌个数;The terminal sorts logical channels with available PBR tokens and data transmission requirements according to logical channel priority descending order, and then performs first round resource allocation on each logical channel based on PBR, and updates each logical channel correspondingly. The number of tokens in the PBR token bucket, and the number of available tokens in the token bucket controlled by the MDBV after the PBR-based resource allocation is completed for the logical channel with the MDBV requirement;
    所述终端在确定还有剩余资源后,对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配:After determining that there are remaining resources, the terminal performs a second round of resource allocation in descending order of logical channel priorities for all logical channels having data transmission requirements:
    对于有MDBV要求的逻辑信道,在第二轮资源分配过程中所述逻辑信道允许分配资源的数据量取所述逻辑信道用于MDBV控制的令牌桶内的可用令牌个数和所述逻辑信道当前待分配资源的数据量中较小值,对所述逻辑信道进行资源分配;若当前需要分配的逻辑信道是没有MDBV要求,且包含GBR 业务的逻辑信道,则所述终端对所述逻辑信道进行资源分配。For a logical channel with MDBV requirements, the logical channel allows the amount of data to be allocated in the second round of resource allocation process to take the logical channel for the number of available tokens in the token bucket controlled by the MDBV and the logic a smaller value of the data amount of the current resource to be allocated, and performing resource allocation on the logical channel; if the logical channel currently required to be allocated is a logical channel that does not have an MDBV requirement and includes a GBR service, the terminal pairs the logic The channel performs resource allocation.
  40. 如权利要求39所述的终端,其特征在于,所述处理器还用于:The terminal according to claim 39, wherein the processor is further configured to:
    在对所有有数据传输需求的逻辑信道按照逻辑信道优先级降序顺序进行第二轮资源分配之后,如果所述终端确定还有剩余资源,按对所有有数据传输需求的逻辑信道优先级降序顺序对剩余待传输数据进行资源分配,直到资源耗尽或者所有逻辑信道的待传输数据都分配了资源。After performing the second round of resource allocation in descending order of logical channel priority for all logical channels having data transmission requirements, if the terminal determines that there are remaining resources, the logical channel priorities are reversed in order for all data transmission requirements. The remaining data to be transmitted is allocated for resources until resources are exhausted or resources of all logical channels to be transmitted are allocated.
  41. 如权利要求37或39所述的终端,其特征在于,所述逻辑信道对应的所述用于MDBV控制的令牌桶中能够使用的令牌的个数为所述逻辑信道对应的MDBV与所述逻辑信道对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值。The terminal according to claim 37 or 39, wherein the number of tokens that can be used in the token bucket for MDBV control corresponding to the logical channel is the MDBV and the corresponding channel of the logical channel. The difference between the number of tokens actually used in the token bucket for the MDBV control corresponding to the logical channel.
  42. 如权利要求37或39所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 37 or 39, wherein the processor is specifically configured to:
    确定逻辑信道用于MDBV控制的令牌桶内在时间段(N-PDB,N]内已经实际使用的令牌的个数M,将令牌桶的大小和M的差值作为所述对象对应的令牌桶中的可用令牌个数;Determining, by the logical channel, the number M of tokens that have been actually used in the time period (N-PDB, N) in the token bucket controlled by the MDBV, and using the difference between the size of the token bucket and M as the object Number of tokens available in the token bucket;
    其中,N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling time, and the PDB is the data packet delay budget corresponding to the logical channel.
  43. 一种进行资源分配的网络侧设备,其特征在于,该网络侧设备包括:处理器、存储器和收发机;A network side device for performing resource allocation, wherein the network side device comprises: a processor, a memory, and a transceiver;
    其中,所述处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
    确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。Determining, by the MDBV and the token bucket for the MDBV control, resource allocation for the resource allocation object In the case of allocation, the resource allocation object is a logical channel group; if downlink resource allocation is performed, the resource allocation object is a logical channel.
  44. 如权利要求43所述的网络侧设备,其特征在于,所述处理器还用于:The network side device according to claim 43, wherein the processor is further configured to:
    在确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶之前,确定逻辑信道建立完成;和/或根据系统负荷确定需要基于MDBV进行资源分配。Before determining the MDBV corresponding to the resource allocation object and the token bucket for MDBV control, determining that the logical channel establishment is completed; and/or determining that resource allocation based on the MDBV is required according to the system load.
  45. 如权利要求44所述的网络侧设备,其特征在于,该网络侧设备包括:The network side device according to claim 44, wherein the network side device comprises:
    通知模块,用于若进行上行资源分配,根据系统负荷确定需要基于MDBV进行资源分配之后,通知终端需要基于MDBV进行资源分配。The notification module is configured to notify the terminal that resource allocation based on the MDBV is performed after determining that the resource allocation needs to be performed based on the MDBV according to the system load.
  46. 如权利要求43所述的网络侧设备,其特征在于,所述处理器具体用于:The network side device according to claim 43, wherein the processor is specifically configured to:
    若进行下行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV;If the downlink resource allocation is performed, determining the MDBV corresponding to the logical channel according to the mapping relationship between the flow and the logical channel;
    若进行上行资源分配,根据Flow和逻辑信道的映射关系确定逻辑信道对应的MDBV,并将同一逻辑信道组内的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the MDBV corresponding to the logical channel is determined according to the mapping relationship between the flow and the logical channel, and the sum of the MDBVs corresponding to the logical channels in the same logical channel group is used as the MDBV corresponding to the logical channel group; or
    若进行上行资源分配,将终端上报的逻辑信道对应的MDBV之和作为逻辑信道组对应的MDBV;或,If the uplink resource allocation is performed, the sum of the MDBVs corresponding to the logical channels reported by the terminal is used as the MDBV corresponding to the logical channel group; or
    若进行上行资源分配,接收终端上报的逻辑信道组对应的MDBV。If the uplink resource allocation is performed, the MDBV corresponding to the logical channel group reported by the terminal is received.
  47. 如权利要求46所述的网络侧设备,其特征在于,所述处理器具体用于:The network side device according to claim 46, wherein the processor is specifically configured to:
    若Flow和逻辑信道采用1:1映射,将Flow对应的MDBV作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt a 1:1 mapping, the MDBV corresponding to the Flow is used as the MDBV corresponding to the logical channel; or
    若Flow和逻辑信道采用M:1映射,根据Flow和逻辑信道的映射关系,将能够映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;或,If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows that can be mapped to the logical channels is used as the MDBV corresponding to the logical channel according to the mapping relationship between the Flow and the logical channel; or
    若Flow和逻辑信道采用M:1映射,将根据Flow和逻辑信道映射关系,将实际映射到所述逻辑信道的Flow对应的MDBV之和作为所述逻辑信道对应的MDBV;其中,所述M为正整数。If the Flow and the logical channel adopt the M:1 mapping, the sum of the MDBVs corresponding to the Flows actually mapped to the logical channel is used as the MDBV corresponding to the logical channel according to the Flow and logical channel mapping relationship; wherein the M is A positive integer.
  48. 如权利要求47所述的网络侧设备,其特征在于,所述处理器具体用于:The network side device according to claim 47, wherein the processor is specifically configured to:
    在MAC层确定资源分配对象对应的MDBV。The MDBV corresponding to the resource allocation object is determined at the MAC layer.
  49. 如权利要求48所述的网络侧设备,其特征在于,所述处理器还用于:The network side device according to claim 48, wherein the processor is further configured to:
    在MAC层确定资源分配对象对应的MDBV之前,通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系;或,Before the MAC layer determines the MDBV corresponding to the resource allocation object, notifying the mapping relationship between the MAC layer Flow and the logical channel through the SDAP or the RRC layer; or
    通过SDAP或RRC层通知MAC层Flow和逻辑信道的映射关系以及QFI对应的MDBV;或,Notifying the mapping relationship between the MAC layer Flow and the logical channel and the MDBV corresponding to the QFI through the SDAP or RRC layer; or
    通过SDAP或RRC层通知MAC层逻辑信道对应的MDBV;或,Notifying the MDBV corresponding to the MAC layer logical channel through the SDAP or RRC layer; or
    通过SDAP层通知MAC层实际映射到逻辑信道的Flow;或,Notifying the MAC layer to actually map to the flow of the logical channel through the SDAP layer; or
    通过SDAP层通知MAC层实际映射到逻辑信道的Flow和QFI对应的MDBV;或,Notifying the MAC layer to actually map to the flow channel of the logical channel and the MDBV corresponding to the QFI through the SDAP layer; or
    通过SDAP层通知MAC层逻辑信道对应的MDBV。The MDBV corresponding to the MAC layer logical channel is notified through the SDAP layer.
  50. 如权利要求49所述的网络侧设备,其特征在于,如果所述资源分配对象是逻辑信道组,所述处理器还用于:The network side device according to claim 49, wherein if the resource allocation object is a logical channel group, the processor is further configured to:
    通过所述RRC层通知MAC层逻辑信道和逻辑信道组的映射关系。The mapping relationship between the MAC layer logical channel and the logical channel group is notified by the RRC layer.
  51. 如权利要求43所述的网络侧设备,其特征在于,所述处理器还用于:The network side device according to claim 43, wherein the processor is further configured to:
    若进行下行资源分配,根据逻辑信道用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道已经使用的令牌桶内令牌的个数M确定所述逻辑信道对应的令牌桶中的可用令牌个数;或,If the downlink resource allocation is performed, the size is determined according to the size of the token bucket used by the logical channel for MDBV control and the number M of tokens in the token bucket that the logical channel has used in the time period (N-PDB, N) Number of available tokens in the token bucket corresponding to the logical channel; or,
    若进行上行资源分配,根据逻辑信道组用于MDBV控制的令牌桶的大小以及时间段(N-PDB,N]内所述逻辑信道组已经使用的令牌桶内令牌的个数M确定所述逻辑信道组对应的令牌桶中的可用令牌个数;If uplink resource allocation is performed, it is determined according to the size of the token bucket used by the logical channel group for MDBV control and the number M of tokens in the token bucket that have been used by the logical channel group in the time period (N-PDB, N) The number of available tokens in the token bucket corresponding to the logical channel group;
    其中N为调度时刻,PDB为所述逻辑信道对应的数据包时延预算。Where N is the scheduling moment, and the PDB is the packet delay budget corresponding to the logical channel.
  52. 如权利要求51所述的网络侧设备,其特征在于,所述处理器具体用于:通过下列方式确定逻辑信道对应的PDB:The network side device according to claim 51, wherein the processor is specifically configured to: determine a PDB corresponding to the logical channel by:
    根据Flow和逻辑信道的映射关系确定能够映射到所述逻辑信道的所有Flow对应的5QI或实际映射到所述逻辑信道的所有Flow对应的5QI;根据所述Flow对应的5QI确定最大的PDB作为所述逻辑信道对应的PDB。Determining, according to a mapping relationship between the flow and the logical channel, a 5QI corresponding to all flows that are mapped to the logical channel or a 5QI corresponding to all flows that are actually mapped to the logical channel; determining, according to the 5QI corresponding to the Flow, a maximum PDB as a The PDB corresponding to the logical channel.
  53. 如权利要求43~52任一所述的网络侧设备,其特征在于,所述处理器具体用于:The network side device according to any one of claims 43 to 52, wherein the processor is specifically configured to:
    若进行下行资源分配,将所述逻辑信道对应的MDBV与所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数之差作为所述逻辑信道能够分配资源的数据量;根据所述逻辑信道MDBV对应的令牌桶中可用令牌的个数和当前逻辑信道实际待分配资源的数据量两者之间的最小值为所述逻辑信道进行资源分配。If the downlink resource allocation is performed, the difference between the MDBV corresponding to the logical channel and the number of tokens actually used in the token bucket for the MDBV control is used as the data amount of the logical channel capable of allocating resources; The minimum value between the number of available tokens in the token bucket corresponding to the logical channel MDBV and the data amount of the actual logical channel to be allocated is resource allocation for the logical channel.
  54. 如权利要求43~52任一所述的网络侧设备,其特征在于,所述处理器具体用于:The network side device according to any one of claims 43 to 52, wherein the processor is specifically configured to:
    若进行上行资源分配,将所述逻辑信道组对应的MDBV与所述逻辑信道组对应的所述用于MDBV控制的令牌桶中已经实际使用的令牌的个数的差值作为所述逻辑信道组对应的令牌桶中可用令牌的个数;根据所述逻辑信道组对应的令牌桶中可用令牌的个数和当前逻辑信道组实际待传输数据量两者之间的最小值为所述逻辑信道组进行资源分配。If the uplink resource allocation is performed, the difference between the MDBV corresponding to the logical channel group and the number of tokens actually used in the token bucket for MDBV control corresponding to the logical channel group is used as the logic. The number of available tokens in the token bucket corresponding to the channel group; the minimum value between the number of tokens available in the token bucket corresponding to the logical channel group and the actual amount of data to be transmitted in the current logical channel group Resource allocation is performed for the logical channel group.
  55. 一种进行资源分配的终端,其特征在于,该终端包括:A terminal for performing resource allocation, wherein the terminal comprises:
    第一确定模块,用于确定逻辑信道对应的MDBV以及用于MDBV控制的令牌桶;a first determining module, configured to determine an MDBV corresponding to the logical channel and a token bucket for the MDBV control;
    第一分配模块,用于根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述逻辑信道进行资源分配。And a first allocation module, configured to perform resource allocation for the logical channel according to the determined MDBV and the token bucket for MDBV control.
  56. 一种进行资源分配的网络侧设备,其特征在于,该网络侧设备包括:A network side device that performs resource allocation, where the network side device includes:
    第二确定模块,用于确定资源分配对象对应的MDBV和用于MDBV控制的令牌桶;a second determining module, configured to determine an MDBV corresponding to the resource allocation object and a token bucket used for MDBV control;
    第二分配模块,用于根据确定的所述MDBV和所述用于MDBV控制的令牌桶为所述资源分配对象进行资源分配;a second allocation module, configured to perform resource allocation for the resource allocation object according to the determined MDBV and the token bucket for MDBV control;
    其中,若进行上行资源分配,则所述资源分配对象为逻辑信道组;若进行下行资源分配,则所述资源分配对象为逻辑信道。If the uplink resource allocation is performed, the resource allocation target is a logical channel group; and when downlink resource allocation is performed, the resource allocation object is a logical channel.
PCT/CN2019/085380 2018-05-09 2019-04-30 Resource allocation method and apparatus WO2019214524A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810438523.2 2018-05-09
CN201810438523.2A CN110475284B (en) 2018-05-09 2018-05-09 Method and device for resource allocation

Publications (1)

Publication Number Publication Date
WO2019214524A1 true WO2019214524A1 (en) 2019-11-14

Family

ID=68467711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085380 WO2019214524A1 (en) 2018-05-09 2019-04-30 Resource allocation method and apparatus

Country Status (2)

Country Link
CN (1) CN110475284B (en)
WO (1) WO2019214524A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022235199A1 (en) * 2021-05-07 2022-11-10 Telefonaktiebolaget Lm Ericsson (Publ) Variable maximum data burst volume patterns
CN116582496A (en) * 2023-07-13 2023-08-11 广东睿江云计算股份有限公司 Token bucket packet loss optimization method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235833B (en) * 2020-10-14 2023-06-02 中国联合网络通信集团有限公司 Dynamic configuration method of data flow parameters and session management functional entity

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621457A (en) * 2008-07-01 2010-01-06 大唐移动通信设备有限公司 Multi-service scheduling method and system
CN107204836A (en) * 2016-03-16 2017-09-26 电信科学技术研究院 The Method of Scheduling Parallel and device of a kind of carrier aggregation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102791003B (en) * 2011-05-20 2016-09-28 中兴通讯股份有限公司 The call access control implementation method of Business Stream and device
US11444850B2 (en) * 2016-05-02 2022-09-13 Huawei Technologies Co., Ltd. Method and apparatus for communication network quality of service capability exposure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621457A (en) * 2008-07-01 2010-01-06 大唐移动通信设备有限公司 Multi-service scheduling method and system
CN107204836A (en) * 2016-03-16 2017-09-26 电信科学技术研究院 The Method of Scheduling Parallel and device of a kind of carrier aggregation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA ET AL.: "MDBV in Uplink", 3GPP TSG-RAN WG2 MEETING #101BIS, R2-1804911, 20 April 2018 (2018-04-20), pages 1 - 3, XP051415726 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022235199A1 (en) * 2021-05-07 2022-11-10 Telefonaktiebolaget Lm Ericsson (Publ) Variable maximum data burst volume patterns
CN116582496A (en) * 2023-07-13 2023-08-11 广东睿江云计算股份有限公司 Token bucket packet loss optimization method and system
CN116582496B (en) * 2023-07-13 2024-04-19 广东睿江云计算股份有限公司 Token bucket packet loss optimization method and system

Also Published As

Publication number Publication date
CN110475284A (en) 2019-11-19
CN110475284B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN110838899B (en) Direct communication link resource allocation method and terminal
US11039448B2 (en) Resource scheduling method and apparatus
WO2020192244A1 (en) Communication method and apparatus
WO2018032991A1 (en) Data processing method and apparatus
WO2019214524A1 (en) Resource allocation method and apparatus
TWI392261B (en) Method of radio resource allocation and related communication apparatus
CN109392024B (en) Method for controlling service quality flow and related equipment
CN109392013B (en) Method for adjusting quality of service (QoS) and communication device
WO2020228419A1 (en) Method for signaling transmission, user terminal, base station and storage medium
CN109756986B (en) Uplink data packet resource allocation method and user terminal
JP7507876B2 (en) Resource determination method and device
CN112019363B (en) Method, device and system for determining service transmission requirement
CN115245022A (en) Resource unit allocation in a mesh network
WO2021155517A1 (en) Resource indication method and apparatus, and terminal
TWI772538B (en) A power control method, device and computer readable storage medium
WO2022028166A1 (en) Resource allocation method and apparatus, and communication device
CN111418177A (en) Reliable transmission method and related product
WO2019214553A1 (en) Resource allocation method and apparatus
CN110933758B (en) Interference coordination method and device, and base station
CN108513727B (en) Method and device for establishing default data radio bearer
CN112272108B (en) Scheduling method and device
WO2021159474A1 (en) Resource reservation method, apparatus and terminal
WO2021012110A1 (en) Scheduling request transmission method, terminal device, and network device
WO2018120985A1 (en) Method and device for performing resource allocation
CN113055938B (en) Resource allocation method, equipment, device and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19799683

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19799683

Country of ref document: EP

Kind code of ref document: A1