Disclosure of Invention
Embodiments of the present invention provide a buffer status reporting method, a terminal, and a computer-readable storage medium, so as to solve the problem that in an NR system, when a terminal receives multiple UL grants for the same time period, where TTI lengths are different, the terminal cannot determine how to perform BSR, and cannot ensure reliability of network communication.
In order to solve the foregoing technical problem, an embodiment of the present invention provides a method for reporting a buffer status, including:
if a terminal receives a plurality of uplink scheduling grants with different lengths, which are sent by a base station and aim at the same preset time period, determining a first uplink scheduling grant for reporting a buffer status in the plurality of uplink scheduling grants;
sending buffer state reporting information to a base station on the resource scheduled by the first uplink scheduling permission;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
Further, the determining a first uplink scheduling grant for buffer status reporting among the plurality of uplink scheduling grants includes:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Further, the sending the buffer status report information to the base station on the resource schedulable by the first uplink scheduling grant includes:
determining a buffer state value corresponding to a logical channel or a logical channel group carried in buffer state report information;
and sending the buffer status reporting information containing the buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Further, the determining a buffer state value corresponding to a logical channel or a logical channel group that needs to be carried in the buffer state report information includes:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Further, the method for reporting the buffer status further includes:
if the piggybacked BSR exists, sending the piggybacked BSR to a base station by utilizing a resource scheduled by a second uplink scheduling grant;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Further, the step of sending the piggybacked BSR to the base station by using the resource scheduled by the second uplink scheduling grant includes:
determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the piggybacked BSR;
and sending the piggybacked BSR containing the buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Further, the determining a buffer status value corresponding to a logical channel or a logical channel group that needs to be carried in the piggybacked BSR includes:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
The embodiment of the invention also provides a terminal, which comprises a transceiver, a memory, a processor and a computer program which is stored on the memory and can run on the processor; wherein the processor is used for reading the program in the memory and executing the following processes:
if a terminal receives a plurality of uplink scheduling grants with different lengths, which are sent by a base station and aim at the same preset time period, determining a first uplink scheduling grant for reporting a buffer status in the plurality of uplink scheduling grants;
the transceiver is configured to send buffer status report information to the base station on the resource that is schedulable by the first uplink scheduling grant;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
Further, the processor is used for reading the program in the memory and executing the following processes:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Further, the processor is used for reading the program in the memory and executing the following processes:
determining a buffer state value corresponding to a logical channel or a logical channel group carried in buffer state report information;
the transceiver is configured to send buffer status report information including a buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Further, the processor is used for reading the program in the memory and executing the following processes:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Further, in the terminal, the transceiver is configured to:
if the piggybacked BSR exists, sending the piggybacked BSR to a base station by utilizing a resource scheduled by a second uplink scheduling grant;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Further, the processor is used for reading the program in the memory and executing the following processes:
determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the piggybacked BSR;
and the transceiver is configured to send a piggybacked BSR including a buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Further, the processor is used for reading the program in the memory and executing the following processes:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the buffer status reporting method described above.
An embodiment of the present invention further provides a terminal, including:
the terminal comprises a determining module, a buffer area state reporting module and a buffer area state reporting module, wherein the determining module is used for determining a first uplink scheduling permission for reporting a buffer area state in a plurality of uplink scheduling permissions if the terminal receives the plurality of uplink scheduling permissions which are sent by a base station and have different lengths and aim at the same preset time period;
a first sending module, configured to send buffer status report information to a base station on the resource that is schedulable by the first uplink scheduling grant;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
Further, the determination module is to:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Further, the first transmitting module includes:
a first determining unit, configured to determine a buffer state value corresponding to a logical channel or a logical channel group that needs to be carried in the buffer state report information;
and a first sending unit, configured to send buffer status report information including a buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Further, the first determination unit is configured to:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Further, the terminal further includes:
a second sending module, configured to send a piggybacked BSR to a base station by using a resource scheduled by a second uplink scheduling grant if the piggybacked BSR exists;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Further, the second sending module includes:
a second determining unit, configured to determine a buffer status value corresponding to a logical channel or a logical channel group that needs to be carried in the piggybacked BSR;
and a second sending unit, configured to send a piggybacked BSR including a buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Further, the second determination unit is configured to:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
The invention has the beneficial effects that:
according to the scheme, when a terminal receives a plurality of uplink scheduling grants with different lengths and aiming at the same preset time period, a first uplink scheduling grant for reporting the buffer zone state is determined in the plurality of uplink scheduling grants, and then buffer zone state reporting information is sent to a base station on a resource which can be scheduled by the first uplink scheduling grant; therefore, the problem of how to utilize a plurality of uplink scheduling permission transmission buffer areas with different lengths to report information is solved, the network communication flow is perfected, the subsequent scheduling judgment of the base station is avoided being influenced, and the reliability of network communication is ensured.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The invention provides a buffer status reporting method, a terminal and a computer readable storage medium, aiming at the problem that in an NR system, when a terminal receives a plurality of UL grants with different TTI lengths in the same time period, the terminal cannot determine how to carry out BSR and cannot ensure the reliability of network communication.
As shown in fig. 2, a method for reporting a buffer status according to an embodiment of the present invention is applied to a terminal, and includes:
step 21, if the terminal receives a plurality of uplink scheduling grants with different lengths, which are sent by the base station and aim at the same preset time period, determining a first uplink scheduling grant for reporting the buffer status in the plurality of uplink scheduling grants;
it should be noted that, this embodiment mainly aims at the situation that the terminal receives multiple uplink scheduling grants (UL grants) with different lengths and for the same preset time period sent by the base station, for example, when such a situation occurs, the terminal first determines to report the resource buffer status scheduled by which uplink scheduling grants (i.e., the first uplink scheduling grant) of the multiple uplink scheduling grants (where the multiple uplink scheduling grants refer to at least two uplink scheduling grants), where one uplink scheduling grant may be determined in the multiple uplink scheduling grants, that is, the first uplink scheduling grant only includes one uplink scheduling grant; at least two uplink scheduling grants may also be determined in the plurality of uplink scheduling grants, that is, the first uplink scheduling grant includes at least two uplink scheduling grants.
The different lengths mean that the lengths of the TTIs of the uplink scheduling grants are different.
Step 22, sending the buffer status report information to the base station on the resource which is scheduled by the first uplink scheduling permission;
it should be noted that, the buffer status reporting information sent on the first uplink scheduling grant includes: regular buffer status reporting BSR or periodic BSR. When the BSR priority ordering is carried out, the priority of the regular BSR is the same as that of the periodic BSR. If a plurality of BSRs are triggered simultaneously, only reporting with the highest priority is carried out, and for the regular BSR and the periodic BSR, because the reporting contents are the same, all available data volume information in a terminal buffer is contained, and the reporting formats are completely the same, so that the terminal only needs to select one reporting format.
In the embodiment of the invention, when a terminal receives a plurality of uplink scheduling grants with different lengths and aiming at the same preset time period, a first uplink scheduling grant for reporting the state of a buffer zone is determined in the plurality of uplink scheduling grants, and then buffer zone state reporting information is sent to a base station on a resource which can be scheduled by the first uplink scheduling grant; therefore, the problem of how to utilize a plurality of uplink scheduling permission transmission buffer areas with different lengths to report information is solved, the network communication flow is perfected, the subsequent scheduling judgment of the base station is avoided being influenced, and the reliability of network communication is ensured.
Specifically, step 21 may be implemented by any one of the following implementations (i.e. the determination principle of the first uplink scheduling grant):
1. determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission;
it should be noted that, with this implementation, the Buffer State (BS) information reported by the regular BSR or the periodic BSR can reflect the BS condition of the terminal after all current uplink scheduling grants are finished, so that the subsequent scheduling is more accurate, and the waste of the scheduling resources of the base station is avoided.
2. Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission;
it should be noted that, this implementation manner can enable the network side to obtain the buffer status information of the terminal as soon as possible, and if there is a service with a high delay requirement and a large data volume, the subsequent scheduling can be performed as soon as possible.
3. Determining at least two uplink scheduling grants as first uplink scheduling grants in the plurality of uplink scheduling grants;
it should be noted that, in this implementation manner, by selecting a plurality of uplink scheduling grants for reporting of the regular BSR or the periodic BSR, the reliability of BSR reporting can be improved.
It should be noted that, in practical application, the implementation manner meeting the use requirement may be flexibly selected according to the actual use requirement of the network to determine the first uplink scheduling grant.
It should be further noted that, since the reporting of the buffer status is performed according to the logical channel or the logical channel group, the reporting information needs to carry the buffer status value corresponding to the logical channel to be reported or the logical channel group to be reported, specifically, the implementation manner of step 22 is:
determining a buffer state value corresponding to a logical channel or a logical channel group carried in buffer state report information;
and sending the buffer status reporting information containing the buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Specifically, the manner of determining the buffer status value corresponding to the logical channel or the logical channel group that needs to be carried in the buffer status report information is as follows:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
It should be noted that, if there is a Padding bit in the UL grant during the reporting process of the regular BSR or the periodic BSR, the piggybacked BSR may also be sent to the base station, specifically, the implementation manner is:
if the piggybacked BSR exists, sending the piggybacked BSR to a base station by utilizing a resource scheduled by a second uplink scheduling grant;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
It should be noted that, because a MAC Protocol Data Unit (PDU) includes at most one BSR, the piggybacked BSR cannot be transmitted in one MAC PDU with the conventional BSR (or the periodic BSR).
Similarly, the piggyback BSR is also performed according to a logical channel or a logical channel group, so that a buffer state value corresponding to the logical channel to be reported or the logical channel group to be reported needs to be carried in the report information, and specifically, a specific implementation manner for sending the piggyback BSR to the base station by using a resource scheduled by the second uplink scheduling grant is as follows:
determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the piggybacked BSR;
and sending the piggybacked BSR containing the buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Further, the manner of determining the buffer status value corresponding to the logical channel or the logical channel group that needs to be carried in the piggybacked BSR is as follows:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
In practical applications, specific implementations of the embodiments of the present invention are illustrated below according to a determination rule for each different first uplink scheduling grant, and it should be noted that, in the following examples, a terminal receives three UL grants (as shown in fig. 1) for the same T period, and before the T period, the terminal has a regular BSR or a periodic BSR trigger.
Situation one,
The selection principle of the first uplink scheduling grant for reporting the buffer status is as follows: and selecting the uplink scheduling permission with the earliest scheduling resource ending time from the plurality of uplink scheduling permissions as a first uplink scheduling permission so as to report the conventional BSR or the periodic BSR. The purpose of this is to let the network side know the buffer status information of the terminal as soon as possible, and if there is a service with high delay requirement and large data volume, the subsequent scheduling can be performed as soon as possible. Based on this principle, the terminal should select UL grant 2 for regular BSR or periodic BSR reporting.
Meanwhile, the BS information calculation principle of the logical channel or logical channel group that needs to be carried in the regular BSR or the periodic BSR is as follows: and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the conventional BSR or the periodic BSR according to the ending time of the resource scheduled by the UL grant 2.
If there is a piggyback BSR (Padding BSR), the Padding BSR may be carried in a MAC PDU without a regular BSR or a periodic BSR, as shown in fig. 1, that is, the Padding BSR is carried in a MAC PDU corresponding to resources scheduled by a UL grant 1 and a UL grant 3 (provided that there is excess Padding in the resources scheduled by the UL grant 1 and the UL grant 3). The buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR may be the same as or different from the buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR. When the value calculation rule of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR is to determine the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the piggybacked BSR according to the end time of the resource scheduled by the UL grant where the Padding BSR is located, the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR and the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR are different.
The second case,
The selection principle of the first uplink scheduling grant for reporting the buffer status is as follows: and selecting the uplink scheduling permission with the latest scheduling resource ending time from the plurality of uplink scheduling permissions as a first uplink scheduling permission so as to report the conventional BSR or the periodic BSR. The purpose of this is to enable the BS information reported by the regular BSR or the periodic BSR to reflect the condition of the terminal BS after the current UL grant is finished, so that the following scheduling is more accurate, and the waste of the scheduling resources of the base station is avoided. Therefore, the terminal should select UL grant 1 (since the end time of the scheduling resources of UL grant 1 and UL grant 3 is the same, one of the scheduling resources may be randomly selected here) for regular BSR or periodic BSR reporting.
Meanwhile, the BS information calculation principle of the logical channel or logical channel group that needs to be carried in the regular BSR or the periodic BSR is as follows: and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the conventional BSR or the periodic BSR according to the ending time of the resource scheduled by the UL grant 1.
If there is Padding BSR, the Padding BSR may be carried in a MAC PDU without regular BSR or periodic BSR, as shown in fig. 1, that is, the Padding BSR is carried in a MAC PDU corresponding to the resources scheduled by UL grant 2 and UL grant 3 (provided that there is excess Padding in the resources scheduled by UL grant 2 and UL grant 3). The buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR may be the same as or different from the buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR. When the value calculation rule of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR is to determine the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the piggybacked BSR according to the end time of the resource scheduled by the UL grant where the Padding BSR is located, the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR and the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR are different.
Case three,
The selection principle of the first uplink scheduling grant for reporting the buffer status is as follows: and selecting at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants so as to report the conventional BSR or the periodic BSR. This is done to improve the reliability of BSR reporting. For example, based on this principle, the terminal should select UL grant 1 and UL grant 3 for regular BSR or periodic BSR reporting.
Also, the BS information calculation principle of the logical channel or logical channel group that needs to be carried in the regular BSR or the periodic BSR is: determining a buffer state value corresponding to a logical channel or a logical channel group carried in a conventional BSR or a periodic BSR by utilizing the resource transmission scheduled in the UL grant 1 according to the ending time of the resource scheduled in the UL grant 1; and determining a buffer state value corresponding to a logical channel or a logical channel group carried in the conventional BSR or the periodic BSR according to the ending time of the resource scheduled by the UL grant 3, wherein the buffer state value needs to be transmitted by using the resource scheduled in the UL grant 3.
If there is a Padding BSR, the Padding BSR may be carried in a MAC PDU without a regular BSR or a periodic BSR, as shown in fig. 1, that is, the Padding BSR is carried in a MAC PDU corresponding to a resource scheduled by a UL grant 2 (provided that there is excess Padding in the resource scheduled by the UL grant 2). The buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR may be the same as or different from the buffer state value corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR. When the value calculation rule of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR is to determine the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the piggybacked BSR according to the end time of the resource scheduled by the UL grant where the Padding BSR is located, the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the Padding BSR and the value of the buffer state corresponding to the logical channel or the logical channel group that needs to be carried in the regular BSR or the periodic BSR are different.
It should be noted that the embodiment of the present invention can ensure that the terminal reports the BSR according to the network requirement, ensure the reliability of the BS information obtained by the base station, facilitate the subsequent scheduling of the base station, and ensure the reliability of network communication.
As shown in fig. 3, an embodiment of the present invention further provides a terminal 30, including:
a determining module 31, configured to determine, if a terminal receives multiple uplink scheduling grants with different lengths and for a same preset time period, a first uplink scheduling grant for reporting a buffer status in the multiple uplink scheduling grants;
a first sending module 32, configured to send buffer status report information to a base station on the resource that is scheduled by the first uplink scheduling grant;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
Further, the determining module 31 is configured to:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Further, the first sending module 32 includes:
a first determining unit, configured to determine a buffer state value corresponding to a logical channel or a logical channel group that needs to be carried in the buffer state report information;
and a first sending unit, configured to send buffer status report information including a buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Specifically, the first determination unit is configured to:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Further, the terminal further includes:
a second sending module, configured to send a piggybacked BSR to a base station by using a resource scheduled by a second uplink scheduling grant if the piggybacked BSR exists;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Further, the second sending module includes:
a second determining unit, configured to determine a buffer status value corresponding to a logical channel or a logical channel group that needs to be carried in the piggybacked BSR;
and a second sending unit, configured to send a piggybacked BSR including a buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Further, the second determination unit is configured to:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
It should be noted that the terminal embodiment is a terminal corresponding to the above method embodiments one to one, and all implementation manners in the above method embodiments are applicable to the terminal embodiment, and the same technical effect can be achieved.
As shown in fig. 4, an embodiment of the present invention further provides a terminal 40, which includes a processor 41, a transceiver 42, a memory 43, and a computer program stored on the memory 43 and operable on the processor 41; the transceiver 42 is connected to the processor 41 and the memory 43 through a bus interface, wherein the processor 41 is configured to read a program in the memory and execute the following processes:
if a terminal receives a plurality of uplink scheduling grants with different lengths, which are sent by a base station and aim at the same preset time period, determining a first uplink scheduling grant for reporting a buffer status in the plurality of uplink scheduling grants;
the transceiver 42 is configured to send buffer status report information to the base station on the resource that can be scheduled by the first uplink scheduling grant;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
It should be noted that in fig. 4, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 41 and various circuits of memory represented by memory 43 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 42 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. For different terminals, the user interface 44 may also be an interface capable of interfacing with a desired device, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 41 is responsible for managing the bus architecture and general processing, and the memory 43 may store data used by the processor 41 in performing operations.
Optionally, the processor 41 is configured to read a program in the memory 43, and execute the following processes:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Optionally, the processor 41 is configured to read a program in the memory 43, and execute the following processes:
determining a buffer state value corresponding to a logical channel or a logical channel group carried in buffer state report information;
the transceiver 42 is configured to send buffer status report information including a buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Optionally, the processor 41 is configured to read a program in the memory 43, and execute the following processes:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Further, the transceiver 42 is further configured to:
if the piggybacked BSR exists, sending the piggybacked BSR to a base station by utilizing a resource scheduled by a second uplink scheduling grant;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Optionally, the processor 41 is configured to read a program in the memory 43, and execute the following processes:
determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the piggybacked BSR;
the transceiver 42 is configured to send a piggybacked BSR including a buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Optionally, the processor 41 is configured to read a program in the memory 43, and execute the following processes:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
When receiving a plurality of uplink scheduling grants with different lengths and aiming at the same preset time period, which are sent by a base station, a terminal of the embodiment of the invention firstly determines a first uplink scheduling grant for reporting a buffer status in the plurality of uplink scheduling grants, and then sends buffer status report information to the base station on a resource which can be scheduled by the first uplink scheduling grant; therefore, the problem of how to utilize a plurality of uplink scheduling permission transmission buffer areas with different lengths to report information is solved, the network communication flow is perfected, the subsequent scheduling judgment of the base station is avoided being influenced, and the reliability of network communication is ensured.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
if a terminal receives a plurality of uplink scheduling grants with different lengths, which are sent by a base station and aim at the same preset time period, determining a first uplink scheduling grant for reporting a buffer status in the plurality of uplink scheduling grants;
sending buffer state reporting information to a base station on the resource scheduled by the first uplink scheduling permission;
wherein the buffer status reporting information includes: regular buffer status reporting BSR or periodic BSR.
Optionally, the computer program when executed by a processor implements the steps of:
determining the uplink scheduling permission with the latest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
Determining the uplink scheduling permission with the earliest scheduling resource ending time in the plurality of uplink scheduling permissions as a first uplink scheduling permission; or
And determining at least two uplink scheduling grants from the plurality of uplink scheduling grants as first uplink scheduling grants.
Optionally, the computer program when executed by a processor implements the steps of:
determining a buffer state value corresponding to a logical channel or a logical channel group carried in buffer state report information;
and sending the buffer status reporting information containing the buffer status value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the first uplink scheduling grant.
Optionally, the computer program when executed by a processor implements the steps of:
and determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the buffer state report information according to the scheduling resource ending time corresponding to the first uplink scheduling permission.
Optionally, the computer program when executed by a processor implements the steps of:
if the piggybacked BSR exists, sending the piggybacked BSR to a base station by utilizing a resource scheduled by a second uplink scheduling grant;
and the second uplink scheduling permission is an uplink scheduling permission except the first uplink scheduling permission in the plurality of uplink scheduling permissions.
Optionally, the computer program when executed by a processor implements the steps of:
determining a buffer state value corresponding to a logical channel or a logical channel group which needs to be carried in the piggybacked BSR;
and sending the piggybacked BSR containing the buffer state value corresponding to the logical channel or the logical channel group to the base station through the resource scheduled by the second uplink scheduling grant.
Optionally, the computer program when executed by a processor implements the steps of:
and determining a buffer state value corresponding to the logical channel or the logical channel group carried in the piggybacked BSR according to the scheduling resource ending time corresponding to the second uplink scheduling permission.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.