Logical channel priority processing method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for processing priority of a logical channel.
Background
With the rapid development of intelligent terminals and the increasing requirements of users on data service transmission rate and capacity, the traditional macro base station single-layer coverage network cannot meet the data service requirements of users; at present, the 3GPP solves this problem by introducing a network scenario of layered networking, and introduces a bearer split (bearer split) technology and architecture at the same time, so that a terminal can use cell resources of multiple base stations at the same time, thereby enhancing mobility management of the terminal and improving a peak value of a terminal data service transmission rate.
The logical channel priority processing refers to that after receiving the uplink resource allocation information, the UE reasonably divides the uplink transmission resources allocated by the base station among the logical channels and between the logical channel data and the MAC Control information according to the logical channel priority Control information configured by the base station, the data amount to be transmitted of each logical channel, and the Media Access Control (MAC) unit information to be transmitted, and these operations are generally referred to as logical channel priority processing.
At present, in the process of processing the priority of a logical channel, when resources are allocated to the logical channel only based on the priority of the logical channel, if a large amount of data needs to be transmitted continuously on the logical channel with a high priority, the logical channel with a high priority will occupy all or most of the resources allocated to User Equipment (UE) by a base station for a long time, so that the data to be transmitted on the logical channel with a low priority cannot get transmission opportunities for a long time, and further, serious backlog of the data to be transmitted by some logical channels occurs, the actual transmission data rate is very low, the transmission delay is large, and other problems occur.
In order to avoid the above problems occurring during the transmission of logical channel data, a token bucket mechanism is adopted for the priority processing of logical channels in the UE, the base station needs to configure parameters such as the priority of the logical channel, the optimized bit rate, the duration of the token bucket and the like for each logical channel, and a token bucket Bj parameter needs to be maintained for each logical channel, wherein the Bj parameter is a variable and represents the number of tokens corresponding to the logical channel in the token bucket; the specific process of the priority processing of the logical channels in the UE is as follows:
allocating resources for the logical channels with the number of tokens larger than 0 in the token bucket of the UE according to the sequence of the priorities of the logical channels from top to bottom; when allocating resources, allocating resource amount for the logic channel according to the number of tokens in the token bucket corresponding to the logic channel and the data amount to be transmitted;
subtracting the number of tokens corresponding to the divided resources from the token bucket corresponding to the logic channel allocated with the resources;
after the logical channels are all allocated with resources, if unallocated resources exist, the resources are allocated to all the logical channels still having data to be transmitted according to the sequence of the priorities from small to large from the priority of the logical channels to the bottom, at this time, the resource amount allocated to the logical channels is not limited until the resource amount allocated to the logical channels can meet the requirement of the data amount to be transmitted of the logical channels, and the resources are completely allocated.
In the prior art, there is only one UE MAC entity of a base station corresponding to a UE, each bearer of the UE corresponds to only one logical channel, and only the one UE MAC entity allocates resources for data transmission to the bearer. Based on a bearer separation architecture, the UE corresponds to UE MAC entities of different aggregation base stations, each UE MAC entity is respectively responsible for data scheduling transmission and resource allocation of the corresponding aggregation base station, and the same bearer of the UE can be scheduled and transmitted by the UE MAC entities of a plurality of aggregation base stations together; in the logical channel priority processing process, the token buckets of the same bearer are shared by the UE MAC entities of different aggregation base stations.
In summary, in the prior art, based on a bearer separation architecture, for a same bearer of a UE, how a UE MAC entity of a different aggregation base station corresponding to the UE uses a token in a token bucket of the bearer to perform logical channel priority processing is not provided at present.
Disclosure of Invention
The invention provides a method and a device for processing the priority of a logical channel, which are used for realizing that based on a bearing separation architecture, UE MAC entities of different aggregation base stations corresponding to UE commonly use tokens in a token bucket of the same bearing of the UE and then carry out the priority processing of the logical channel, thereby avoiding the problems of serious backlog of data to be transmitted on the logical channel, low actual transmission data rate and data transmission delay.
The embodiment of the invention provides a logic channel priority processing method, which comprises the following steps:
determining the number of tokens in a token bucket of User Equipment (UE) occupied by a Media Access Control (MAC) entity of the UE in each aggregation base station corresponding to the UE under a bearer separation scene, wherein the aggregation base station comprises a main control base station and an auxiliary base station;
and aiming at any separated bearer of the UE, carrying out logic channel priority processing according to the number of tokens occupied by the MAC entity of the UE and the data transmission condition of a logic channel corresponding to the bearer.
According to the method, the number of tokens in the token bucket of the UE, occupied by the UE MAC entity in each aggregation base station corresponding to the UE, is determined, the priority processing of the logical channels is carried out according to the number of tokens occupied by the MAC entity of each UE and the data transmission condition of the logical channels corresponding to the bearers of the UE, so that the UE MAC entities of different aggregation base stations corresponding to the UE commonly use the tokens in the token bucket of the same bearer of the UE based on a bearer separation architecture, and then the priority processing of the logical channels is carried out, so that the logical channels do not occupy all or most of uplink scheduling resources allocated by the aggregation base stations, and the problems of serious backlog of data to be transmitted on the logical channels, low actual transmission data rate and data transmission delay are avoided.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the UE MAC entity of the aggregation base station that allocates resources for the UE occupies all tokens in the token bucket of the UE.
In this way, the UE MAC entity of one aggregation base station that allocates resources to the UE may occupy all the tokens in the token bucket of the UE, and then perform logical channel priority processing.
Preferably, if there are a plurality of aggregation base stations currently allocating uplink scheduling resources to the UE, determining the number of tokens in a token bucket of the UE occupied by a UE MAC entity of each aggregation base station corresponding to the UE in a bearer separation scenario, includes:
determining the proportion of logical channels which can be used by a UE MAC entity of each aggregation base station for allocating resources for the UE;
and respectively determining the number of tokens in a token bucket of the UE occupied by each UE MAC entity according to the proportion of the logic channels which can be used by each UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, the determining the proportion of the logical channels usable by the UE MAC entity of each aggregation base station allocating resources to the UE includes:
determining the proportion of logic channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE according to the data transmission condition information of the bearer stored by the UE MAC entity of the aggregation base station for allocating resources for the UE and/or the data transmission condition of the separated bearer of the UE MAC entity of the aggregation base station;
the data transmission condition information of the bearer stored by the UE MAC entity includes one or a combination of the following information: the data volume to be transmitted, the transmitted data volume, the data type and the resource volume distributed to the UE by the aggregation base station of the UE MAC entity;
the data transmission condition of the separated bearer comprises one or a combination of the following information: the UE MAC entity transmits data volume to be transmitted, transmitted data volume, retransmission data volume, data type and resource volume distributed to the UE by the aggregation base station.
In this way, according to the determined proportion of the logical channels available to the UE MAC entity of each aggregation base station that allocates resources to the UE, the number of tokens in the token bucket of the UE occupied by each UE MAC entity can be further determined.
Preferably, if there are a plurality of aggregation base stations currently allocating uplink scheduling resources to the UE, determining the number of tokens in a token bucket of the UE occupied by a UE MAC entity of each aggregation base station corresponding to the UE in a bearer separation scenario, includes:
preferentially distributing the number of tokens meeting the resource requirement of a UE MAC entity of a convergent base station for meeting a preset condition and distributing resources for the UE;
when unallocated tokens exist in a token bucket of the UE, allocating the number of the remaining tokens to an aggregation base station which does not meet a preset condition and allocates resources for the UE;
the aggregation base station meeting the preset condition is the aggregation base station with the largest amount of data to be transmitted, or the aggregation base station with the Protocol Data Unit (PDU) or retransmission PDU in the Radio Link Control (RLC) state currently, or the aggregation base station with the highest priority of scheduling resources.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if there are multiple aggregation base stations currently having PDUs in the RLC state or retransmitting PDUs, allocating the number of tokens in the UE token bucket to the UE MAC entities of the multiple aggregation base stations according to the amount of data to be transmitted in the links of the multiple aggregation base stations; or,
according to the total data volume transmitted and the data volume to be transmitted of the links in the aggregation base stations, the token number distribution proportion of the UE MAC entities in the aggregation base stations is respectively determined, and the number of the tokens in the UE token bucket is distributed for the UE MAC entities of the aggregation base stations according to the proportion.
In this way, according to the determined plurality of aggregation base stations meeting the preset condition, the number of tokens in the token bucket of the UE occupied by each UE MAC entity of the plurality of base stations can be further determined.
Preferably, if there are a plurality of aggregation base stations currently allocating uplink scheduling resources to the UE, determining the number of tokens in a token bucket of the UE occupied by a UE MAC entity of each aggregation base station corresponding to the UE in a bearer separation scenario, includes:
according to the formulaCalculating the priority of the token occupation of the UE MAC entity of each aggregation base station for allocating resources for the UE, wherein PkIndicating priority, CR, of UE MAC entity to occupy tokenkRepresenting the instantaneous data transmission rate, R, achieved by the user equipment kk(t) represents the actual data transmission rate after time domain smoothing, Rk(t) updating by means of a time sliding window;
and according to the priority of the token occupied by the UE MAC entity, distributing the number of the occupied tokens in the token bucket of the UE for the UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if there are a plurality of aggregation base stations currently allocating uplink scheduling resources to the UE, determining the number of tokens in a token bucket of the UE occupied by a UE MAC entity of each aggregation base station corresponding to the UE in a bearer separation scenario, includes:
respectively overlapping data volumes to be transmitted of UE MAC entities corresponding to different aggregation base stations by the same separation bearer of UE according to different data types or different bearer identifications to obtain the total data volume of the data to be transmitted of each data type or bearer identification, wherein the total data volume of the data to be transmitted of each data type or bearer identification comprises the data volume of the data to be transmitted of the data type or bearer identification in a plurality of UE MAC entities;
and allocating the number of the tokens in the token bucket of the UE occupied by the UE MAC entity according to the total data volume and the priority of the data to be transmitted of each data type or bearer identification and the proportion of the data to be transmitted of each data type or bearer identification in each UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the data transmission condition of the logical channel includes the amount of data to be transmitted by the logical channel; or,
if a plurality of aggregation base stations currently allocate uplink scheduling resources for the UE, the data transmission condition of the logical channel includes one or a combination of the following information: the data volume to be transmitted of the logical channel, the data type, the retransmission data volume, and the resource volume allocated by the aggregation base station to the UE.
Thus, for any separated bearer of the UE, the logical channel priority processing may be performed according to the number of tokens occupied by the UE MAC entity of the aggregation base station and the data transmission condition of the logical channel corresponding to the bearer.
An embodiment of the present invention provides a logical channel priority processing apparatus, including:
a token determining unit, configured to determine the number of tokens in a token bucket of each aggregation base station corresponding to a user equipment UE in a bearer separation scenario, where the aggregation base station includes a master base station and an auxiliary base station, and the UE media access control MAC entity occupies the token bucket of the UE;
and the logical channel processing unit is used for carrying out logical channel priority processing on any separated bearer of the UE according to the number of tokens occupied by the MAC entity of the UE and the data transmission condition of the logical channel corresponding to the bearer.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the UE MAC entity of the aggregation base station that allocates resources for the UE occupies all tokens in the token bucket of the UE.
In this way, the UE MAC entity of one aggregation base station that allocates resources to the UE may occupy all the tokens in the token bucket of the UE, and then perform logical channel priority processing.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit is specifically configured to:
determining the proportion of logical channels which can be used by a UE MAC entity of each aggregation base station for allocating resources for the UE;
and respectively determining the number of tokens in a token bucket of the UE occupied by each UE MAC entity according to the proportion of the logic channels which can be used by each UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, the token determining unit, when determining the proportion of the logical channels available to the UE MAC entity of each aggregation base station that allocates resources to the UE, is specifically configured to:
determining the proportion of logic channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE according to the data transmission condition information of the bearer stored by the UE MAC entity of the aggregation base station for allocating resources for the UE and/or the data transmission condition of the separated bearer of the UE MAC entity of the aggregation base station;
the data transmission condition information of the bearer stored by the UE MAC entity includes one or a combination of the following information: the UE MAC entity comprises the data volume to be transmitted, the transmitted data volume, the data type and the resource volume distributed to the UE by the aggregation base station;
the data transmission condition of the separated bearer comprises one or a combination of the following information: the UE MAC entity transmits data volume to be transmitted, transmitted data volume, retransmission data volume, data type and resource volume distributed to the UE by the aggregation base station.
In this way, the token determination unit may further determine the number of tokens in the token bucket of the UE occupied by each UE MAC entity according to the determined proportion of the logical channels available to the UE MAC entity of each aggregation base station that allocates resources to the UE.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit is specifically configured to:
preferentially distributing the number of tokens meeting the resource requirement of a UE MAC entity of a convergent base station for meeting a preset condition and distributing resources for the UE;
when unallocated tokens exist in a token bucket of the UE, allocating the number of the remaining tokens to an aggregation base station which does not meet a preset condition and allocates resources for the UE;
the aggregation base station meeting the preset condition is the aggregation base station with the largest amount of data to be transmitted, or the aggregation base station with the Protocol Data Unit (PDU) or retransmission PDU in the Radio Link Control (RLC) state currently, or the aggregation base station with the highest priority of scheduling resources.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if there are multiple aggregation base stations currently having PDUs in the RLC state or retransmitting PDUs, the token determining unit allocates the number of tokens in the UE token bucket to the UE MAC entities of the multiple aggregation base stations according to the amount of data to be transmitted in the links of the multiple aggregation base stations; or,
the token determining unit respectively determines the token number allocation proportion of the UE MAC entities in the aggregation base stations according to the total data amount transmitted and the data amount to be transmitted of the links in the aggregation base stations, and allocates the token number in the UE token bucket for the UE MAC entities in the aggregation base stations according to the proportion.
In this way, the token determination unit may further determine, according to the determined aggregation base stations satisfying the preset condition, the number of tokens in the token bucket of the UE occupied by each UE MAC entity of the base stations.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit is specifically configured to:
according to the formulaCalculating the priority of the token occupation of the UE MAC entity of each aggregation base station for allocating resources for the UE, wherein PkIndicating priority, CR, of UE MAC entity to occupy tokenkRepresenting the instantaneous data transmission rate, R, achieved by the user equipment kk(t) represents the actual data transmission rate after time domain smoothing, Rk(t) updating by means of a time sliding window;
and according to the priority of the token occupied by the UE MAC entity, distributing the number of the occupied tokens in the token bucket of the UE for the UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit is specifically configured to:
respectively overlapping data volumes to be transmitted of UE MAC entities corresponding to different aggregation base stations by the same separation bearer of UE according to different data types or different bearer identifications to obtain the total data volume of the data to be transmitted of each data type or bearer identification, wherein the total data volume of the data to be transmitted of each data type or bearer identification comprises the data volume of the data to be transmitted of the data type or bearer identification in a plurality of UE MAC entities;
and allocating the number of the occupied tokens in the token bucket of the UE for the UE MAC entity according to the total data volume and the priority of the data to be transmitted of each data type or bearer identification and the proportion of the data to be transmitted of each data type or bearer identification in each UE MAC entity.
Therefore, the UE MAC entities of a plurality of aggregation base stations for allocating resources to the UE can jointly occupy the tokens in the token bucket of the UE and then perform logic channel priority processing.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the data transmission condition of the logical channel includes the amount of data to be transmitted by the logical channel; or,
if a plurality of aggregation base stations currently allocate uplink scheduling resources for the UE, the data transmission condition of the logical channel includes one or a combination of the following information: the data volume to be transmitted of the logical channel, the data type, the retransmission data volume, and the resource volume allocated by the aggregation base station to the UE.
Thus, for any separated bearer of the UE, the logical channel processing unit may perform priority processing on the logical channels according to the number of tokens occupied by the UE MAC entity of the aggregation base station determined by the token determining unit and the data transmission condition of the logical channel corresponding to the bearer.
Drawings
FIG. 1 is a schematic diagram of a network scenario for hierarchical networking;
FIG. 2 is a diagram of architecture 1 in a bearer detach architecture;
FIG. 3 is a diagram of architecture 3 in a bearer detach architecture;
fig. 4 is a flowchart illustrating a logical channel priority processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a logical channel priority processing apparatus according to an embodiment of the present invention.
Detailed Description
The invention provides a method and a device for processing the priority of a logical channel, which are used for realizing that based on a bearing separation architecture, UE MAC entities of different aggregation base stations corresponding to UE commonly use tokens in a token bucket of the same bearing of the UE and then carry out the priority processing of the logical channel, thereby avoiding the problems of serious backlog of data to be transmitted on the logical channel, low actual transmission data rate and data transmission delay.
The invention provides a method and a device for processing logic channel priority, which are based on a network scene of layered networking, a bearing separation technology and a framework; the method and the device provided by the invention are not only suitable for the architecture which simultaneously supports the separation of the uplink and the downlink bearing, but also suitable for the architecture which only supports the separation of the downlink bearing.
In the network scenario of hierarchical networking shown in fig. 1, a Macro base station (Macro eNB, hereinafter referred to as a master base station) provides basic network coverage, a Small cell/Secondary eNB (hereinafter referred to as an auxiliary base station) is distributed in a Small-area coverage area such as a hotspot area, a home indoor environment, an office environment, and the like to provide Small-range hotspot coverage of the network, and a data interface or a signaling interface exists between the master base stations of the auxiliary base station, so that the UE can operate in the network covered by the master base station and also in the network covered by the auxiliary base station. Since the coverage area of the cell controlled by the auxiliary base station is small, and the number of the served UEs is small, the UEs connected to the auxiliary base station can often obtain better service quality, such as obtaining higher service data transmission rate, higher quality link, and the like. Therefore, when the UE connected to the master base station enters the cell coverage area corresponding to the secondary base station, the UE may transfer to the secondary base station to obtain the network service provided by the secondary base station; when the UE is far from the cell coverage area corresponding to the assisting base station, the UE needs to be transferred to the cell controlled by the main control base station to maintain the wireless connection.
The network scenario of layered networking shown in fig. 1 may support a bearer split architecture. Under the bearer separation architecture, a part of data of the UE is carried on the main control base station for maintenance management, and another part of data is carried on the auxiliary base station for maintenance management, wherein the control plane bearer of the UE is maintained and managed by the main control base station cell, and fig. 2 and 3 are schematic diagrams of a bearer separation architecture 1 and a bearer separation architecture 3, respectively; for the architecture 3 with separated bearers, at the network side, a Packet Data Convergence Protocol (PDCP) entity corresponding to the UE is located in the master base station, the master base station and the auxiliary base station have Radio Link Control (RLC), MAC and other entities corresponding to the same bearer, and the master base station sends the PDCP Data to the RLC of the master base station and the RLC of the auxiliary base station through technologies such as flow Control. The UE side architecture is peered to the network side. For the UE supporting the bearer separation architecture, if uplink and downlink bearer separation is supported, uplink and downlink data of the same bearer of the UE may be transmitted on the master base station and the auxiliary base station at the same time; if only the downlink bearer separation is supported, downlink data of the same bearer of the UE may be transmitted on the primary base station and the secondary base station at the same time. In the overlapping coverage area of the main control base station and the auxiliary base station under the bearer separation architecture, the UE supporting bearer separation can simultaneously operate under the main control base station and the auxiliary base station, and the resource of a plurality of aggregation base stations is used to enable higher data transmission rate and lower cost data service to be provided for the UE.
Based on the network scenario and bearer separation architecture of the layered networking in fig. 1 to fig. 3, as shown in fig. 4, an embodiment of the present invention provides a logical channel priority processing method, where the method includes:
s41, determining the number of tokens in a token bucket of each UE, which are occupied by a UE Media Access Control (MAC) entity in each aggregation base station corresponding to the UE under a bearer separation scene, wherein the aggregation base station comprises a main control base station and an auxiliary base station;
s42, for any separated load of the UE, according to the number of tokens occupied by the MAC entity of the UE and the data transmission condition of the logical channel corresponding to the load, the priority of the logical channel is processed.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the UE MAC entity of the aggregation base station that allocates resources for the UE occupies all tokens in the token bucket of the UE.
Preferably, if there are a plurality of aggregation base stations currently allocating uplink scheduling resources to the UE, aiming at the method for determining the number of tokens in the token bucket of the UE occupied by the UE MAC entity of each aggregation base station corresponding to the UE in the bearer separation scenario in step S41, the embodiment of the present invention provides the following four implementation schemes:
the first scheme is as follows: determining the proportion of logical channels which can be used by a UE MAC entity of each aggregation base station for allocating resources for the UE;
and respectively determining the number of tokens in a token bucket of the UE occupied by each UE MAC entity according to the proportion of the logic channels which can be used by each UE MAC entity.
The method for determining the proportion of the logical channels which can be used by the UE MAC entity of each aggregation base station for allocating resources to the UE comprises the following steps:
determining the proportion of logic channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE according to the data transmission condition information of the bearer stored by the UE MAC entity of the aggregation base station for allocating resources for the UE and/or the data transmission condition of the separated bearer of the UE MAC entity of the aggregation base station;
the data transmission condition information of the bearer stored by the UE MAC entity comprises one or a combination of the following information: the data volume to be transmitted, the transmitted data volume, the data type and the resource volume distributed to the UE by the aggregation base station of the UE MAC entity;
the data transmission condition of the separated bearer comprises one or a combination of the following information: the UE MAC entity transmits data volume to be transmitted, transmitted data volume, retransmission data volume, data type and resource volume distributed to the UE by the aggregation base station.
Scheme II: preferentially distributing the number of tokens meeting the resource requirement of a UE MAC entity of the aggregation base station to the aggregation base station which meets the preset condition and distributes resources to the UE;
when unallocated tokens exist in a token bucket of the UE, allocating the number of the remaining tokens to an aggregation base station which does not meet a preset condition and allocates resources for the UE;
the aggregation base station meeting the preset condition is the aggregation base station with the largest amount of Data to be transmitted, or the aggregation base station currently having a Protocol Data Unit (PDU) with a radio link control RLC state or retransmitting the PDU, or the aggregation base station with the highest priority of scheduling resources.
If a plurality of current PDU (protocol data units) in the RLC (radio link control) state or PDU (protocol data units) retransmission aggregation base stations exist, distributing the number of tokens in the UE token bucket for UE MAC (media access control) entities of the aggregation base stations according to the data volume to be transmitted of links in the aggregation base stations; or,
according to the total data volume transmitted and the data volume to be transmitted of the links in the aggregation base stations, the token number distribution proportion of the UE MAC entities in the aggregation base stations is respectively determined, and the number of the tokens in the UE token bucket is distributed for the UE MAC entities of the aggregation base stations according to the proportion.
The third scheme is as follows: according to the formulaCalculating the priority of the token occupation of the UE MAC entity of each aggregation base station for allocating resources for the UE, wherein PkIndicating priority, CR, of UE MAC entity to occupy tokenkRepresenting the instantaneous data transmission rate, R, achieved by the user equipment kk(t) represents the actual data transmission rate after time domain smoothing, Rk(t) updating by means of a time sliding window;
and according to the priority of the token occupied by the UE MAC entity, distributing the number of the occupied tokens in the token bucket of the UE for the UE MAC entity.
And the scheme is as follows: respectively overlapping data volumes to be transmitted of UE MAC entities corresponding to different aggregation base stations by the same separation bearer of UE according to different data types or different bearer identifications to obtain the total data volume of the data to be transmitted of each data type or bearer identification, wherein the total data volume of the data to be transmitted of each data type or bearer identification comprises the data volume of the data to be transmitted of the data type or bearer identification in a plurality of UE MAC entities;
and allocating the number of the occupied tokens in the token bucket of the UE for the UE MAC entity according to the total data volume and the priority of the data to be transmitted of each data type or bearer identification and the proportion of the data to be transmitted of each data type or bearer identification in each UE MAC entity.
Preferably, in step S42, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the data transmission condition of the logical channel includes the amount of data to be transmitted by the logical channel; or,
if a plurality of aggregation base stations currently allocate uplink scheduling resources for the UE, the data transmission condition of the logical channel includes one or a combination of the following information: the data volume to be transmitted of the logical channel, the data type, the retransmission data volume, and the resource volume allocated by the aggregation base station to the UE.
The following embodiments are described in detail with reference to specific embodiments, and the embodiments of the present invention provide a method for processing priority of a logical channel, and the following embodiments are applicable to a scenario supporting separation of uplink and downlink bearers and a scenario only supporting separation of downlink bearers. The logical channel priority processing entity of the operation subject can be positioned in a UE MAC entity of the aggregation base station, the aggregation base station comprises a main control base station and an auxiliary base station, and can also be used as an independent entity and positioned outside the UE MAC entity of the aggregation base station, and the logical channel priority processing entity is shared by the UE MAC entities of all aggregation base stations corresponding to the UE; the following embodiments take the example that the logical channel priority processing entity is located in the UE MAC entity of the master base station.
The first embodiment is as follows: a parameter maintenance method for logic channel priority processing;
the UE MAC entities of all aggregation base stations corresponding to the UE only maintain a set of parameters for priority processing of logical channels, where the parameters include one or a combination of the following information: bj parameter, maximum capacity of token Bucket, optimized bit rate (PRB), token Bucket capacity Duration (BSD); wherein the maximum capacity of the token bucket is equal to the product of the PBR and the BSD; the Bj parameter is a variable and represents the number of tokens corresponding to the logical channel in the token bucket, the initial value of the Bj parameter of the token bucket is 0, a token is added to the token bucket according to the product of the PBR and the TTI in each Transmission Time Interval (TTI), and the value of the Bj parameter is increased.
In one TTI, when a UE MAC entity of a certain aggregation base station corresponding to the UE needs to schedule the data of the separated bearer, the UE MAC entity of the main control base station modifies the value of a Bj parameter processed by the priority of a logical channel; in the next TTI, if the UE MAC entity of the auxiliary base station corresponding to the UE needs to schedule the data of the separated bearer, the UE MAC entity of the main control base station corresponding to the UE allocates the number of tokens in the token bucket of the separated bearer to the UE MAC entity of the auxiliary base station corresponding to the UE according to the related information of the UE MAC entity of the auxiliary base station, and modifies the value of the Bj parameter of the logic channel priority processing; wherein, the related information of the UE MAC entity of the auxiliary base station comprises one or a combination of the following information: the method comprises the steps of data volume to be transmitted, data type, uplink scheduling resource volume allocated by a base station, transmitted data volume, data transmission waiting time, flow control proportion and PRB configuration use proportion.
Or, the UE MAC entity of the main control base station and the UE MAC entity of the auxiliary base station corresponding to the UE each maintain a set of parameters for priority processing of logical channels, but it should be ensured that the Bj parameter value maintained by the UE MAC entity of the main control base station is the same as the Bj parameter value maintained by the UE MAC entity of the auxiliary base station. For example: for token number increase, the initial value of the Bj parameter maintained by each UE MAC entity is 0, and a token is added to the token bucket in each TTI according to the product of the PBR and the TTI, and the value of the Bj parameter is increased. For token use, in one TTI, when a UE MAC entity of a certain aggregation base station corresponding to a UE needs to schedule data of the separate bearer, the UE MAC entity of the main control base station modifies a value of a Bj parameter processed by a logical channel priority, and then notifies the updated value of the Bj parameter to the UE MAC entity of the auxiliary base station, so that the UE MAC entity of the auxiliary base station updates the parameter processed by the logical channel priority of the local side, thereby ensuring that the values of the Bj parameters maintained by the UE MAC entities of the main control base station and the auxiliary base station are the same.
Example two: if only one aggregation base station currently allocates uplink scheduling resources for the UE, the priority processing method of the logical channel is used.
Assuming that the uplink scheduling resource is allocated to the UE by the master control base station currently, the UE MAC entity of the master control base station occupies all tokens in a token bucket of the UE;
in a token bucket of a separated bearer of UE, allocating uplink scheduling resources for a logical channel of which the token book of the logical channel corresponding to the bearer is greater than zero in the token bucket according to a priority order, wherein the allocated resource amount is based on the number of tokens in the token bucket corresponding to the current logical channel and the data amount to be transmitted.
When uplink scheduling resources are allocated to the logical channel of the separated bearer, the resource amount allocated to the logical channel by the UE MAC entity of the main control base station is the minimum value of the number of tokens in the token bucket corresponding to the logical channel, the data amount to be transmitted, and the remaining uplink scheduling resource amount, and at this time, the UE MAC entity of the main control base station updates the Bj parameter of the priority processing of the logical channel to the number of tokens corresponding to the original Bj parameter minus the number of tokens corresponding to the divided uplink scheduling resource amount.
If the resources are still remained after the resource allocation is completed, the resources are allocated to all the logical channels still having data to be transmitted according to the priority order, and no limitation exists in the allocation of the resource amount at this time.
Example three: if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, a logic channel priority processing method (I);
if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, assuming that the main control base station and the auxiliary base station both distribute the uplink scheduling resources for the UE, respectively determining the number of tokens in a token bucket of the UE occupied by each UE MAC entity according to the proportion of the logical channels which can be used by the UE MAC entity of the main control base station and the UE MAC entity of the auxiliary base station, and further carrying out priority processing on the logical channels by combining the data transmission condition of the logical channels corresponding to the bearers.
The ratio of the logical channels available to the UE MAC entity of the main control base station and the UE MAC entity of the auxiliary base station may be a preset fixed value, or may be adjusted by itself between the UE MAC entity of the main control base station and the UE MAC entity of the auxiliary base station, or determined by the main control base station according to the obtained information, where the information includes one or a combination of the following information: channel quality, BSR, transmitted data volume, data transmission delay, and data transmission ratio carried in each UE MAC entity separately.
The method for determining the proportion of the logical channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE comprises the following steps:
determining the proportion of logic channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE according to the data transmission condition information of the bearer stored by the UE MAC entity of the aggregation base station for allocating resources for the UE and/or the data transmission condition of the separated bearer of the UE MAC entity of the aggregation base station;
the data transmission condition information of the bearer stored by the UE MAC entity includes one or a combination of the following information: the UE MAC entity comprises a data volume to be transmitted, a transmitted data volume, a retransmission data volume, a data type (whether a Protocol Data Unit (PDU) in a Radio Link Control (RLC) state or a base station for retransmitting the PDU currently exists) and a resource volume distributed by a base station for the UE;
the data transmission condition of the separated bearer comprises one or a combination of the following information: the UE MAC entity transmits data volume to be transmitted, transmitted data volume, retransmission data volume, data type and resource volume distributed to the UE by the aggregation base station.
If RLC state PDU exists in a plurality of logic channels, calculating to obtain the proportion of the data quantity to be transmitted on the plurality of logic channels, and then distributing the number of tokens used by each logic channel according to the proportion; or,
firstly, calculating to obtain the comprehensive proportion of the data quantity to be transmitted and the transmitted data quantity on the plurality of logic channels, and then distributing the number of tokens used by each logic channel according to the proportion; the comprehensive proportion of the plurality of logical channels can be calculated as follows: pbucket = (total data amount transmitted by UE MAC entity of ai × base station i + data amount to be transmitted by UE MAC entity of bi × base station i)/(total data amount transmitted by UE MAC entity of aj × base station j + data amount to be transmitted by UE MAC entity of bj) base station j), where ai, aj, bi, bj are fixed parameters greater than 0 and less than 1, and are used to adjust the proportion of data amount information of different data types in priority calculation; or,
if the plurality of logical channels have RLC status PDU and/or RLC retransmission PDU, calculating to obtain the data volume or PDU number proportion of the RLC status PDU and/or the RLC retransmission PDU existing on the plurality of logical channels, and then distributing the number of tokens used by each logical channel according to the proportion;
or, determining a token allocation proportion on each logical channel according to the total transmitted data amount and the data amount to be transmitted of each logical channel, where the token allocation proportion P = (a 1 × (total data amount already transmitted by UE MAC entity of main control base station + b1 × (data amount to be transmitted by UE MAC entity of main control base station)/(a 2 × (total transmitted data amount of UE MAC entity of auxiliary base station + b2 × (data amount to be transmitted by UE MAC entity of auxiliary base station)), a1, a2, b1, b2 are fixed parameters greater than 0 and smaller than 1, and the method is used to adjust the proportion of data amount information of different data types in priority calculation, and then obtain the token numbers respectively occupied by UE MAC entity of main control base station and UE MAC entity of auxiliary base station according to the proportion;
and the UE MAC entity of the auxiliary base station semi-statically or dynamically sends the loaded data transmission condition information to the UE MAC entity of the main control base station so as to ensure that the UE MAC entity of the main control base station can adjust the proportion of the logic channel which can be used by each UE MAC entity in real time.
Example four: if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, a logic channel priority processing method (II) is adopted;
if a plurality of aggregation base stations currently allocate uplink scheduling resources for the UE, assuming that the master control base station and the auxiliary base station both allocate uplink scheduling resources for the UE, the token in the token bucket may be preferentially allocated to the UE MAC entity of one aggregation base station for use, and the specific method includes:
preferentially distributing the number of tokens meeting the resource requirement of a UE MAC entity of a convergent base station for meeting a preset condition and distributing resources for the UE;
when unallocated tokens exist in a token bucket of the UE, allocating the number of the remaining tokens to an aggregation base station which does not meet a preset condition and allocates resources for the UE;
the aggregation base station meeting the preset condition is the aggregation base station with the largest amount of data to be transmitted, or the aggregation base station with the Protocol Data Unit (PDU) or retransmission PDU in the Radio Link Control (RLC) state currently, or the aggregation base station with the highest priority of scheduling resources.
For example, if the aggregation base station bearing the largest amount of data to be transmitted currently or within a period of time is an auxiliary base station, the number of tokens in the token bucket is preferentially allocated to the UE MAC entity of the auxiliary base station for use by a logical channel of the UE MAC entity of the auxiliary base station; if the tokens in the token bucket are left, the number of the tokens in the token bucket is distributed for the UE MAC entity of the main control base station for the logic channel of the UE MAC entity of the main control base station to use.
If a plurality of current PDU (protocol data units) in an RLC (radio link control) state or PDU (protocol data units) retransmission aggregation base stations exist, distributing the number of tokens in a UE token bucket for UE MAC (media access control) entities of the aggregation base stations according to the data volume to be transmitted of links in the aggregation base stations; or,
according to the total data volume transmitted and the data volume to be transmitted of the links in the aggregation base stations, the token number distribution proportion of the UE MAC entities in the aggregation base stations is respectively determined, and the number of the tokens in the UE token bucket is distributed for the UE MAC entities of the aggregation base stations according to the proportion.
Example five: if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, a logic channel priority processing method (III);
introducing a proportional fairness mode, and distributing the number of tokens which can be occupied for a UE MAC entity of a base station according to the size of data transmitted before each logic channel which is separately loaded, the size of data which is not transmitted currently, data transmission waiting time, the amount of uplink scheduling resource shares which are obtained currently and the like, wherein the specific method comprises the following steps:
the UE MAC entity of each aggregation base station maintains and calculates the distribution priority of the token in a token bucket, and when the UE obtains the uplink scheduling resource distributed by the aggregation base station, the token of each UE MAC entity uses the priority according toCalculation of where PkIndicating priority, CR, of UE MAC entity to occupy tokenkRepresenting the instants obtained by the user equipment kData transmission rate, Rk(t) represents the actual data transmission rate after time domain smoothing, Rk(t) updating by means of a time sliding window, wherein the specific updating method is as follows:
in this formula,. DELTA.t is Rk(t) an updated time interval, typically 1 subframe; CRkAn instantaneous data transmission rate obtained for user equipment k; t iscIs a time constant, representing the size of the time sliding window.
And according to the priority of the token occupied by the UE MAC entity, distributing the number of the occupied tokens in the token bucket of the UE for the UE MAC entity.
Example six: if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, a logic channel priority processing method (IV);
if a plurality of aggregation base stations currently distribute uplink scheduling resources for the UE, assuming that the main control base station and the auxiliary base station both distribute the uplink scheduling resources for the UE, the logic channel priority processing is performed by the following method:
respectively overlapping data volumes to be transmitted of UE MAC entities corresponding to different aggregation base stations by the same separation bearer of UE according to different data types to obtain the total data volume of the data to be transmitted of each data type, wherein the total data volume of the data to be transmitted of each data type comprises the data volume of the data to be transmitted of the data type in a plurality of UE MAC entities;
and allocating the number of tokens in a token bucket of the UE occupied by the UE MAC entity according to the total data volume and the priority of the data to be transmitted of each data type and the proportion of the data to be transmitted of each data type in each UE MAC entity. For example, if the UE MAC entity allocates uplink scheduling resources for transmitting data of a certain data type or bearer identifier, the UE MAC entity compares data amounts to be transmitted on a logical channel of each UE MAC entity corresponding to the data type or bearer identifier to obtain a corresponding data proportion to be transmitted, then allocates tokens in a token bucket to each UE MAC entity by using the proportion, and simultaneously or further allocates uplink scheduling resource amounts to the data type or bearer identifier, and finally each UE MAC entity uses the token number and the uplink scheduling resources according to the allocation result.
When uplink scheduling resources are allocated to the logical channels which are not separately loaded, the resource amount allocated to the logical channels by the UE MAC entity of the main control base station is the minimum value of the number of tokens available in the corresponding token bucket of the logical channels, the data amount to be transmitted and the total amount of the uplink scheduling resources left by the UE MAC entity corresponding to the logical channels. At this time, the UE MAC entity of the master control base station updates the Bj parameter processed by the priority of the logical channel to the number of tokens corresponding to the original Bj parameter minus the number of tokens corresponding to the amount of the allocated uplink scheduling resource; or the main control base station informs the UE MAC entity corresponding to the logical channel of the information, and the UE MAC entity updates the Bj parameter processed by the logical channel priority into the number of tokens corresponding to the original Bj parameter minus the number of tokens corresponding to the divided uplink scheduling resource amount.
When allocating uplink scheduling resources for the logical channel of the separation bearer, the resource amount allocated to the bearer by the UE MAC entity of the master control base station is the minimum value of the number of available tokens, the amount of data to be transmitted, and the total amount of remaining uplink scheduling resources of the separation bearer in the corresponding token bucket. At this time, the UE MAC entity of the master control base station updates the Bj parameter processed by the logical channel priority to the number of tokens corresponding to the original Bj parameter minus the number of tokens corresponding to the allocated uplink scheduling resource amount.
In the first to sixth embodiments, when allocating the uplink scheduling resource to the logical channel of the separate bearer, the UE MAC entity of the main control base station allocates the resource amount of the logical channel to be the minimum value of the number of tokens available in the corresponding token bucket for the logical channel of the UE MAC entity corresponding to the different base station, the data amount to be transmitted of the logical channel corresponding to the UE MAC entity, and the remaining uplink scheduling resource amount UL-grant corresponding to the UE MAC entity, and at this time, the UE MAC entity of the main control base station updates the Bj parameter of the logical channel priority processing to the number of tokens corresponding to the original Bj parameter minus the number of tokens corresponding to the allocated uplink scheduling resource amount.
In correspondence with the above method, as shown in fig. 5, an embodiment of the present invention provides a logical channel priority processing apparatus, including:
a token determining unit 51, configured to determine the number of tokens in a token bucket of each aggregation base station corresponding to a user equipment UE in a bearer separation scenario, where the aggregation base station includes a master base station and an auxiliary base station, and the UE media access control MAC entity occupies the token bucket of the UE;
a logical channel processing unit 52, configured to perform, for any separated bearer of the UE, a logical channel priority processing according to the number of tokens occupied by the UE mac entity and a data transmission condition of a logical channel corresponding to the bearer.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the UE MAC entity of the aggregation base station that allocates resources for the UE occupies all tokens in the token bucket of the UE.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit 51 is specifically configured to:
determining the proportion of logical channels which can be used by a UE MAC entity of each aggregation base station for allocating resources for the UE;
and respectively determining the number of tokens in a token bucket of the UE occupied by each UE MAC entity according to the proportion of the logic channels which can be used by each UE MAC entity.
Preferably, the token determining unit 51, when determining the proportion of the logical channels available to the UE mac entity of each aggregation base station that allocates resources for the UE, is specifically configured to:
determining the proportion of logic channels which can be used by the UE MAC entity of each aggregation base station for allocating resources for the UE according to the data transmission condition information of the bearer stored by the UE MAC entity of the aggregation base station for allocating resources for the UE and/or the data transmission condition of the separated bearer of the UE MAC entity of the aggregation base station;
the data transmission condition information of the bearer stored by the UE MAC entity includes one or a combination of the following information: the UE MAC entity comprises the data volume to be transmitted, the transmitted data volume, the data type and the resource volume distributed to the UE by the aggregation base station;
the data transmission condition of the separated bearer comprises one or a combination of the following information: the UE MAC entity transmits data volume to be transmitted, transmitted data volume, retransmission data volume, data type and resource volume distributed to the UE by the aggregation base station.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit 51 is specifically configured to:
preferentially distributing the number of tokens meeting the resource requirement of a UE MAC entity of a convergent base station for meeting a preset condition and distributing resources for the UE;
when unallocated tokens exist in a token bucket of the UE, allocating the number of the remaining tokens to an aggregation base station which does not meet a preset condition and allocates resources for the UE;
the aggregation base station meeting the preset condition is the aggregation base station with the largest amount of data to be transmitted, or the aggregation base station with the Protocol Data Unit (PDU) or retransmission PDU in the Radio Link Control (RLC) state currently, or the aggregation base station with the highest priority of scheduling resources.
Preferably, if there are multiple aggregation base stations currently having PDUs in the RLC state or retransmitting PDUs, the token determining unit 51 allocates the number of tokens in the UE token bucket to the UE MAC entities of the multiple aggregation base stations according to the amount of data to be transmitted in the links of the multiple aggregation base stations; or,
the token determining unit 51 determines the token number allocation proportion of the UE MAC entities in the multiple aggregation base stations according to the total data amount transmitted and the data amount to be transmitted of the links in the multiple aggregation base stations, and allocates the token number in the UE token bucket to the UE MAC entities of the multiple aggregation base stations according to the proportion.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit 51 is specifically configured to:
according to the formulaCalculating the priority of the token occupation of the UE MAC entity of each aggregation base station for allocating resources for the UE, wherein PkIndicating priority, CR, of UE MAC entity to occupy tokenkRepresenting the instantaneous data transmission rate, R, achieved by the user equipment kk(t) represents the actual data transmission rate after time domain smoothing, Rk(t) updating by means of a time sliding window;
and according to the priority of the token occupied by the UE MAC entity, distributing the number of the occupied tokens in the token bucket of the UE for the UE MAC entity.
Preferably, if there are multiple aggregation base stations currently allocating uplink scheduling resources for the UE, the token determining unit 51 is specifically configured to:
respectively overlapping data volumes to be transmitted of UE MAC entities corresponding to different aggregation base stations by the same separation bearer of UE according to different data types or different bearer identifications to obtain the total data volume of the data to be transmitted of each data type or bearer identification, wherein the total data volume of the data to be transmitted of each data type or bearer identification comprises the data volume of the data to be transmitted of the data type or bearer identification in a plurality of UE MAC entities;
and allocating the number of the occupied tokens in the token bucket of the UE for the UE MAC entity according to the total data volume and the priority of the data to be transmitted of each data type or bearer identification and the proportion of the data to be transmitted of each data type or bearer identification in each UE MAC entity.
Preferably, if only one aggregation base station currently allocates uplink scheduling resources for the UE, the data transmission condition of the logical channel includes the amount of data to be transmitted by the logical channel; or,
if a plurality of aggregation base stations currently allocate uplink scheduling resources for the UE, the data transmission condition of the logical channel includes one or a combination of the following information: the data volume to be transmitted of the logical channel, the data type, the retransmission data volume, and the resource volume allocated by the aggregation base station to the UE.
Specifically, the token determination unit 51 and the logical channel processing unit 52 may be implemented by an entity such as a processor, and the present invention is not limited to the entity implementing these units.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.