CN109561464B - Method and equipment for reporting buffer state and allocating resources - Google Patents

Method and equipment for reporting buffer state and allocating resources Download PDF

Info

Publication number
CN109561464B
CN109561464B CN201710874651.7A CN201710874651A CN109561464B CN 109561464 B CN109561464 B CN 109561464B CN 201710874651 A CN201710874651 A CN 201710874651A CN 109561464 B CN109561464 B CN 109561464B
Authority
CN
China
Prior art keywords
format
bsr mac
bsr
buffer
logical channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710874651.7A
Other languages
Chinese (zh)
Other versions
CN109561464A (en
Inventor
谌丽
许芳丽
刘佳敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
China Academy of Telecommunications Technology CATT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201710874651.7A priority Critical patent/CN109561464B/en
Priority to PCT/CN2018/093856 priority patent/WO2019056828A1/en
Publication of CN109561464A publication Critical patent/CN109561464A/en
Application granted granted Critical
Publication of CN109561464B publication Critical patent/CN109561464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0278Traffic management, e.g. flow control or congestion control using buffer status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load

Abstract

The invention discloses a method and equipment for reporting a cache state and allocating resources, which are used for solving the problems that the Buffer Size domain length cannot accurately represent the cache state quantity in the prior art, so that a base station cannot accurately schedule terminal data, and resource allocation is insufficient or resource is wasted. According to the number of the logical channel groups needing to report the buffer state, the terminal generates the BSR MAC CE according to the used BSR MAC CE format determined by the number of the logical channel groups needing to report the buffer state and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment. By adopting the scheme of the embodiment of the invention, different BSR MAC CE formats can be selected according to the number of different logical channel groups, so that the terminal data can be more accurately scheduled, and the frequency of the situations of insufficient resource allocation or resource waste is reduced.

Description

Method and equipment for reporting buffer state and allocating resources
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for reporting a buffer status and allocating resources.
Background
The LTE (Long Term Evolution ) MAC (Medium Access Control) PDU (Protocol Data Unit) format is shown in fig. 1. Wherein "R" represents a reserved bit; "F2" and "F" jointly indicate the length of the L field, if the length of the MAC SDU or MAC CE (Control Element) corresponding to the MAC sub-header is greater than 32767bytes, F2 ═ 1, otherwise F2 ═ 0; "E" is used to indicate whether a MAC subheader follows, if the MAC subheader follows, E is 1, otherwise E is 0; "LCID" is a logical channel group number, each logical channel group corresponding to a bearer RB has a logical channel group number LCID, and each MAC CE also corresponds to an LCID; "L" indicates the corresponding MAC SDU or MAC CE length in bytes.
The LTE MAC CE can be in a variable length or a fixed length, if the LTE MAC CE is in the variable length, the MAC subheader carries the L field, and if the LTE MAC CE is in the fixed length, the MAC subheader does not carry the L field.
Among them, there are two types of BSR (Buffer Status Report ) MAC CE formats in LTE: reporting only the BSR MAC CE of one logical channel group and reporting the BSR MAC CEs of all 4 logical channel groups.
In 5G NR (new air interface), the number of logical channel groups is increased to 8, LCG ID needs to occupy 3 bits, and if 1byte short BSR is supported, the Buffer Size domain only has 5 bits. However, the service rate and the transmission rate supported by 5G are greatly increased, the maximum value of the Buffer status report is greatly increased, and if the length of the 5bit Buffer Size domain is uniformly adopted, the Buffer status quantity cannot be accurately represented, so that the base station cannot accurately schedule the terminal data, and resource allocation insufficiency or resource waste is caused.
To sum up, the length of the Buffer Size domain at present cannot accurately represent the Buffer state quantity, so that the base station cannot accurately schedule the terminal data, and resource allocation is insufficient or resource is wasted.
Disclosure of Invention
The invention provides a method and equipment for reporting a cache state and allocating resources, which are used for solving the problems that the Buffer Size domain length cannot accurately represent the cache state quantity in the prior art, so that a base station cannot accurately schedule terminal data, and resource allocation is insufficient or resource is wasted.
The method for reporting the buffer status provided by the embodiment of the invention comprises the following steps:
the terminal determines the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state;
the terminal generates a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format;
and the terminal reports the generated BSR MAC CE to network side equipment.
The method for allocating resources provided by the embodiment of the invention comprises the following steps:
the method comprises the steps that network side equipment receives BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and the number of bits occupied by a cache sequence number in the BSR MAC CE format, wherein the used BSR MAC CE format is determined by the terminal according to the number of logical channel groups needing to report a cache state;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table;
and the network side equipment allocates uplink resources for the terminal according to the determined cache data volume.
The terminal for reporting the buffer status provided by the embodiment of the invention comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing:
determining a used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state; generating a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment.
The network side device for distributing resources provided by the embodiment of the invention comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing:
receiving BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and the number of bits occupied by a buffer sequence number in the BSR MAC CE format, wherein the used BSR MAC CE format is determined by the number of logical channel groups of which the terminal reports a buffer state according to needs; determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table; and allocating uplink resources to the terminal according to the determined cache data volume.
The terminal for reporting the buffer status provided by the embodiment of the invention comprises:
the format determining module is used for determining the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state;
the generating module is used for generating the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format;
and the reporting module is used for reporting the generated BSR MAC CE to network side equipment.
The network side device for allocating resources provided by the embodiment of the present invention includes:
a receiving module, configured to receive a BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and a bit number occupied by a buffer sequence number in the BSR MAC CE format, where the used BSR MAC CE format is determined by the terminal according to the number of logical channel groups that need to report a buffer state;
the data volume determining module is used for determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table;
and the allocation module is used for allocating uplink resources to the terminal according to the determined cache data volume.
The computer-readable storage medium according to an embodiment of the present invention stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements the step of reporting the buffer status or the step of allocating the resource according to the embodiment of the present invention.
According to the number of the logical channel groups needing to report the buffer state, the terminal generates the BSR MAC CE according to the used BSR MAC CE format determined by the number of the logical channel groups needing to report the buffer state and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment. The network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table; and allocating uplink resources to the terminal according to the determined cache data volume. The terminal determines the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state, generates the BSR MAC CE according to the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and can select different BSR MAC CE formats according to the number of different logical channel groups, so that the terminal data can be more accurately scheduled, and the frequency of occurrence of the situations of insufficient resource allocation or resource waste is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a diagram illustrating a structure of a MAC PDU in the background art;
FIG. 2 is a diagram illustrating a system for allocating resources according to an embodiment of the present invention;
fig. 3A is a schematic diagram of a first BSR MAC CE format according to an embodiment of the present invention;
fig. 3B is a schematic diagram of a second BSR MAC CE format according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first network-side device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a second network-side device according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a method for reporting a buffer status according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating a method for allocating resources according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 2, the system for allocating resources according to the embodiment of the present invention includes:
the terminal 10 is configured to determine a BSR MAC CE format to be used according to the number of logical channel groups that need to report a buffer status; generating a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment.
The network side device 20 is configured to receive a BSR MAC CE generated by the terminal according to the determined BSR MAC CE format and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and determine, according to the BSR table, a buffer data amount corresponding to the buffer sequence number in the BSR MAC CE; and allocating uplink resources to the terminal according to the determined cache data volume.
According to the number of the logical channel groups needing to report the buffer state, the terminal generates the BSR MAC CE according to the used BSR MAC CE format determined by the number of the logical channel groups needing to report the buffer state and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment. The network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table; and allocating uplink resources to the terminal according to the determined cache data volume. The terminal determines the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state, generates the BSR MAC CE according to the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and can select different BSR MAC CE formats according to the number of different logical channel groups, so that the terminal data can be more accurately scheduled, and the frequency of occurrence of the situations of insufficient resource allocation or resource waste is reduced.
According to the number of the logical channel groups needing to report the buffer state, the embodiment of the invention can select to use the first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states or the first BSR MAC CE format capable of reporting 1 logical channel group buffer state.
The terminal stores a first BSR MAC CE format and a second BSR MAC CE format, and each BSR MAC CE format corresponds to a BSR table (table).
It should be noted that the BSR table records the corresponding relationship between the buffer sequence number and the buffer data volume range, that is, the BSR table only shows one form of the corresponding relationship between the buffer sequence number and the buffer data volume range, and may also show other forms, such as a database, a formula, and the like, according to needs. The various representations are simply alternatives to the table, and such variations are within the scope of the equivalent technique.
One possible second BSR MAC CE format is shown in fig. 3A, and one possible first BSR MAC CE format is shown in fig. 3B.
The Buffer Size field in fig. 3A may be 5 bits in length or other values.
The Size field in FIG. 3B is 8 bits in length. The length of the Buffer Size field in the first BSR MAC CE format may also be other values, for example, 7 bits.
In fig. 3B, the first byte is used to indicate which logical channel groups need to be reported to the buffer, and then the buffers are sequentially reported according to the indication sequence in the bitmap (bitmap) of the first byte. The BSR MAC CE with the format is lengthened, and the buffer of 1-8 logic channel groups can be reported according to the requirement.
For example, if the logical channel groups LCGs 1, 3, and 5 have data buffers to report, except for the MAC subheader, the BSR MAC CE length is 4 bytes, where the 1 st byte is a bitmap indication, and is set to 01010100 for this example (i.e., the 1/3/5 th logical channel group is set to 1), and the 2 nd, 3 rd, and 4 th bytes respectively indicate data buffer amounts of the logical channel groups 1, 3, and 5.
In implementation, the BSR table corresponding to the second BSR MAC CE format stored by the terminal may be different from the table corresponding to the first BSR MAC CE format;
or the BSR table corresponding to the second BSR MAC CE format may be a BSR table corresponding to the multiplexed first BSR MAC CE format.
Wherein the length of the Buffer Size domain in the first BSR MAC CE format is greater than the length of the Buffer Size domain in the second BSR MAC CE format.
The table corresponding to the first BSR MAC CE format is generated in an exponential distribution manner according to the length of the Buffer Size domain in the first BSR MAC CE format.
If the BSR table corresponding to the second BSR MAC CE format is an independent table (i.e., the BSR table corresponding to the multiplexing first BSR MAC CE format is not), the BSR table corresponding to the second BSR MAC CE format is generated in an exponential distribution manner according to the length of the Buffer Size domain in the second BSR MAC CE format.
The length of the Buffer Size field in the first BSR MAC CE format is 8 bits for example, and other values, such as 7 bits, are similar to 8 bits, and are not described herein again.
The 8bit Buffer Size length yields a single BSR table, with an indicated Buffer data Size interval of 256 (i.e., 2^8, where 2^ X represents 2xAnd the same description will not be explained later).
For convenience of description, the BSR table corresponding to the 8-bit BS is constructed as follows, taking the maximum buffer value Bmax equal to 3000000byte as an example. It should be noted that table 1 is only an example, the maximum buffer value Bmax of the actual 5G NR is much larger than 3000000byte, and the divided intervals may be set according to the color.
BSR table example for Table 18 bit BS size
Figure GDA0002616647220000071
Figure GDA0002616647220000081
Figure GDA0002616647220000091
The length of the Buffer Size field in the first BSR MAC CE format is 5 bits for example, and other values are similar to 5 bits, which are not described herein again.
The 5-bit Buffer Size length generates a single BSR table, and the indicated Buffer data volume interval is 32 (i.e. 2^ 5).
For convenience of description, the BSR table corresponding to the 8-bit BS is constructed as follows, taking the maximum buffer value Bmax equal to 3000000byte as an example. It should be noted that table 2 is only an example, the maximum buffer value Bmax of the actual 5G NR is much larger than 3000000byte, and the divided intervals may be set according to the color.
BSR table example for Table 45 bit BS size
Index Buffer Size(BS)value[bytes] Index Buffer Size(BS)value[bytes]
1 BS=0 17 4407<BS<=6808
2 0<BS<=10 18 6808<BS<=10517
3 10<BS<=16 19 10517<BS<=16246
4 16<BS<=24 20 16246<BS<=25096
5 24<BS<=37 21 25096<BS<=38767
6 37<BS<=57 22 38767<BS<=59886
7 57<BS<=88 23 59886<BS<=92511
8 88<BS<=136 24 92511<BS<=142909
9 136<BS<=210 25 142909<BS<=220762
10 210<BS<=325 26 220762<BS<=341028
11 325<BS<=501 27 341028<BS<=526813
12 501<BS<=774 28 526813<BS<=813810
13 774<BS<=1196 29 813810<BS<=1257155
14 1196<BS<=1847 30 1257155<BS<=1942026
15 1847<BS<=2853 31 1942026<BS<=3000000
16 2853<BS<=4407 32 BS>3000000
Comparing table 1 and table 2, it is clear that the larger the number of bits, the more accurate the indication range, at the same maximum and minimum values. The smaller the number of indicating bits is, the larger the indication range for a large data amount is when the index value is high. However, the BSR table is generated by adopting exponential distribution, so that the indication of the cache data volume is more accurate when the data volume is small.
In implementation, both the terminal and the base station need to distinguish whether the reported BSR is a BSR of a single logical channel group or a BSR of multiple logical channel groups, and specifically, different LCIDs are used for distinguishing, for example, LCID1 indicates that the reported BSR is a single logical channel group, and LCID2 indicates that the reported BSR is multiple logical channel groups.
Based on the above, it can be seen that: the embodiment of the invention provides two modes: the first method is as follows: the terminal adopts 1 table, namely the table of the BSR corresponding to the second BSR MAC CE is the BSR table corresponding to the multiplexing first BSR MAC CE format; the second method comprises the following steps: the terminal adopts 2 tables, namely the table of the BSR corresponding to the second BSR MAC CE is an independent table.
The following description will be made by taking reporting of a plurality of logical channel group states and reporting of 1 logical channel group state as an example.
And reporting the buffer status of a plurality of logical channel groups in case one.
Specifically, if the number of the logical channel groups requiring reporting of the buffer status is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer status of the multiple logical channel groups.
For the case that the table of the BSR corresponding to the second BSR MAC CE in the terminal is the BSR table corresponding to the multiplexed first BSR MAC CE format, or the table of the BSR corresponding to the second BSR MAC CE in the terminal is an independent table, when the number of logical channel groups requiring reporting the buffer status is multiple, the terminal uses the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups.
Optionally, when the terminal generates a BSR MAC CE, determining a buffer sequence number corresponding to the buffer data volume of each logical channel group according to the BSR table corresponding to the first BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
Correspondingly, the network side device determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
Such as two logical channel groups, a common logical channel group a and a logical channel group B. The buffer data amount of the logical channel group a is 6523 bits, and the buffer data amount of the logical channel group a is 329 bits. Taking table 1 as an example, the buffer sequence number corresponding to 6523bit of the buffer data volume of the logical channel group a obtained after table lookup by the terminal is 133; the buffer sequence number corresponding to the buffer data volume 329bit of the logical channel group B obtained by the terminal after table lookup is 73. Then, the terminal places 133 and 73 in the corresponding positions of the first BSR MAC CE format respectively;
after receiving the BSR MAC CE with the format of the first BSR MAC CE, the network side device knows that the terminal reports the buffer statuses of the plurality of logical channel groups, and after determining the buffer identifiers 133 and 73, according to table 1, it can know that the buffer data amount of the logical channel group a is between 6522 and 6855, and the buffer amount of the logical channel group B is between 328 and 345.
And reporting the buffer state of 1 logic channel group in case II.
For reporting the buffer status of 1 logical channel group, the processing procedures of 1 table adopted by the terminal and 2 tables adopted by the terminal are different, and the following description is respectively given.
In the first mode, the terminal adopts 1 table.
For the terminal, a mode of 1 table is adopted, and the terminal can be stipulated to select and use a second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group; it may also be specified that the terminal determines the used BSR MAC CE format according to the buffer data amount of the logical channel group, which will be described below.
1. And the terminal selects and uses a second BSR MAC CE format capable of reporting the buffer status of 1 logical channel group.
In this way, no matter how much the buffer data amount of the logical channel group is reported by the terminal, as long as the buffer status of 1 logical channel group is reported, only the second BSR MAC CE format is selected.
Here, reporting the buffer status of 1 logical channel group may be that 1 logical channel group needs to be reported; it may also be that the terminal may send padding BSR after sending uplink transmission according to the obtained uplink resource, but the remaining resource is only enough to send the BSR of one logical channel group.
Optionally, when the terminal generates a BSR MAC CE, determining, according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group, the buffer sequence number corresponding to the buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Since the number of bits of the Buffer Size domain in the second BSR MAC CE format is smaller than the number of bits of the Buffer Size domain in the first BSR MAC CE format, the second BSR MAC CE format can only multiplex part of the content in the table corresponding to the first BSR MAC CE format.
For example, if the Buffer Size domain of the second BSR MAC CE format is 5 bits, and the Buffer Size domain of the first BSR MAC CE format is 8 bits, the second BSR MAC CE format can only multiplex 32 Buffer sequence numbers in the second BSR MAC CE format.
Based on this, the embodiment of the present invention provides a feasible way: the first (2^ X-1) cache sequence numbers in the second BSR MAC CE format are multiplexed, and if the first (2^ X-1) cache sequence numbers cannot be represented, the cache sequence numbers can be set to be the maximum value to represent that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format. Wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
Specifically, the method comprises the following steps: if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, the terminal determines the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, the terminal sets the cache sequence number to the maximum value, which represents that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format.
Correspondingly, if the buffer sequence number in the BSR MAC CE is the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side device determines the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
If the buffer sequence number in the BSR MAC CE is the maximum value, the network side equipment determines that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
Take the Buffer Size field of the second BSR MAC CE format as 5 bits, and the Buffer Size field of the first BSR MAC CE format as 8 bits as an example:
if the amount of the buffer data of the logical channel group that the terminal needs to report may be represented by the first 31 buffer sequence numbers in table 1, for example, the amount of the buffer data of the logical channel group is 22, the lookup table 1 may determine that the corresponding buffer sequence number is 17. And 17 can be represented by 5 bits, so that the buffer identifier corresponding to the buffer data volume of the logical channel group to be reported is determined to be 17;
correspondingly, after receiving the BSR MAC CE with the format of the second BSR MAC CE, the network side device knows that the terminal reports the buffer status of a logical channel group, and after determining that the buffer identifier is 17, may look up table 1 to determine that the buffer data amount of the logical channel group is 22.
If the amount of the buffered data of the logical channel group that the terminal needs to report cannot be represented by the first 31 buffered sequence numbers in table 1, for example, the amount of the buffered data of the logical channel group is 46, the lookup table 1 may determine that the corresponding buffered sequence number is 33, which exceeds 31, determine that the buffered identifier corresponding to the amount of the buffered data of the logical channel group that needs to report is the maximum value represented by 5 bits, 11111 is 32.
Correspondingly, after receiving the BSR MAC CE with the format of the second BSR MAC CE, the network side device knows that the terminal reports the buffer status of a logical channel group, and after determining that the buffer identifier is 32, can determine that the buffer data amount of the logical channel group exceeds 43.
2. And the terminal determines the used BSR MAC CE format according to the buffer data volume of the logical channel group.
Since the number of bits of the Buffer Size domain in the second BSR MAC CE format is smaller than the number of bits of the Buffer Size domain in the first BSR MAC CE format, the second BSR MAC CE format can only multiplex part of the content in the table corresponding to the first BSR MAC CE format.
For example, if the Buffer Size domain of the second BSR MAC CE format is 5 bits, and the Buffer Size domain of the first BSR MAC CE format is 8 bits, the second BSR MAC CE format can only multiplex 32 Buffer sequence numbers in the second BSR MAC CE format.
Based on this, the embodiment of the present invention provides a feasible way: that is, the first (2^ X) buffer sequence numbers in the second BSR MAC CE format are multiplexed, and if the first (2^ X) buffer sequence numbers cannot be represented, the first BSR MAC CE format is selected (that is, if the first (2^ X) buffer sequence numbers cannot be represented, the first BSR MAC CE format is selected even if only the buffer status of one logical channel group needs to be reported).
Specifically, if the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format cannot represent the buffer data amount of the logical channel group, the terminal uses the first BSR MAC CE format capable of reporting buffer states of multiple logical channel groups, where X is the number of bits occupied by the buffer sequence numbers in the second BSR MAC CE format; or
And if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting 1 logical channel group buffer state by the terminal.
Optionally, the terminal determines, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffer data amount of the logical channel group, and places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format
Correspondingly, the network side device determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
Take the Buffer Size field of the second BSR MAC CE format as 5 bits, and the Buffer Size field of the first BSR MAC CE format as 8 bits as an example:
if the cache data amount of the logical channel group that the terminal needs to report may be represented by the first 32 cache sequence numbers in table 1, for example, the cache data amount of the logical channel group is 22, the lookup table 1 may determine that the corresponding cache sequence number is 17. And 17 can be represented by 5 bits, so that the buffer identifier corresponding to the buffer data volume of the logical channel group to be reported is determined to be 17;
correspondingly, after receiving the BSR MAC CE with the format of the second BSR MAC CE, the network side device knows that the terminal reports the buffer status of a logical channel group, and after determining that the buffer identifier is 17, may look up table 1 to determine that the buffer data amount of the logical channel group is 22.
If the buffer data amount of the logical channel group that the terminal needs to report cannot be represented by the first 32 buffer sequence numbers in table 1, for example, the buffer data amount of the logical channel group is 46, the lookup table 1 may determine that the corresponding buffer sequence number is 33, and exceeds 32, at this time, the terminal selects to report in the format of the first BSR MAC CE, and the corresponding buffer sequence number is 33.
Correspondingly, the format of the BSR MAC CE received by the network side device is the first BSR MAC CE, and after determining that the buffer identifier is 33, the lookup table 1 may determine that the buffer data amount of the logical channel group is 44 or 45.
And in the second mode, the terminal adopts 2 tables.
And for the terminal adopting a 2-table mode, the terminal may determine the buffer sequence number corresponding to the buffer data amount of the logical channel group according to the BSR table corresponding to the second BSR MAC CE format.
And the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Correspondingly, after the received BSR MAC CE is in the second BSR MAC CE format, the network side device determines the cache data amount corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
Take the Buffer Size field of the second BSR MAC CE format as 5 bits, and the Buffer Size field of the first BSR MAC CE format as 8 bits as an example:
if the amount of the buffer data of the logical channel group that the terminal needs to report is 22, the lookup table 2 may determine that the corresponding buffer sequence number is 3.
Correspondingly, after receiving the BSR MAC CE with the format of the second BSR MAC CE, the network side device knows that the terminal reports the buffer status of a logical channel group, and after determining that the buffer identifier is 3, may look up table 2 to determine that the buffer data amount of the logical channel group is between 16 and 24.
For the case that the terminal adopts 2 tables, if the terminal needs to report the buffer status of one logical channel group, the first BSR MAC CE is selected, and if the terminal needs to report the buffer status of a plurality of logical channel groups, the second BSR MAC CE is selected.
The terminal in the embodiment of the present invention is also referred to as User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), and the like, and is a device that provides voice and/or data connectivity to a user, for example, a handheld device, a vehicle-mounted device, and the like having a wireless connection function. Currently, some examples of terminals are: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm top computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (smart security), a wireless terminal in city (smart city), a wireless terminal in home (smart home), and the like.
The Network side device in the embodiment of the present invention may be a RAN (Radio Access Network) node. The RAN is the part of the network that accesses the terminal to the wireless network. A RAN node (or device) is a node (or device) in a radio access network, which may also be referred to as a base station. Currently, some examples of RAN nodes are: a gbb, a Transmission Reception Point (TRP), an evolved Node B (eNB), a Radio Network Controller (RNC), a Node B (NB), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a home base station (e.g., home evolved Node B, or home Node B, HNB), a Base Band Unit (BBU), or a wireless fidelity (Wifi) Access Point (AP), etc. In addition, in one network configuration, the RAN may include a Centralized Unit (CU) node and a Distributed Unit (DU) node. The structure separates the protocol layers of the eNB in a Long Term Evolution (LTE) system, the functions of part of the protocol layers are controlled in the CU in a centralized way, the functions of the rest part or all of the protocol layers are distributed in the DU, and the CU controls the DU in a centralized way.
As shown in fig. 4, a first terminal according to an embodiment of the present invention includes: a processor 400, a memory 401, a transceiver 402, and a bus interface.
The processor 400 is responsible for managing the bus architecture and general processing, and the memory 401 may store data used by the processor 400 in performing operations. The transceiver 402 is used to receive and transmit data under the control of the processor 400.
The bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 400, and various circuits, represented by memory 401, 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 processor 400 is responsible for managing the bus architecture and general processing, and the memory 401 may store data used by the processor 400 in performing operations.
The processes disclosed in the embodiments of the present invention may be applied to the processor 400, or implemented by the processor 400. In implementation, the steps of the signal processing flow may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 400. The processor 400 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like that implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the signal processing flow in combination with the hardware thereof.
Specifically, the processor 400 is configured to read the program in the memory 401 and execute:
determining a used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state; generating a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format; and reporting the generated BSR MAC CE to network side equipment.
Optionally, the processor 400 is specifically configured to:
if the number of the logical channel groups needing to report the buffer status is multiple, a first BSR MAC CE format capable of reporting the buffer status of the multiple logical channel groups is used.
Optionally, the processor 400 is specifically configured to:
determining a buffer sequence number corresponding to the buffer data volume of each logic channel group according to the BSR table corresponding to the first BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
Optionally, the processor 400 is specifically configured to:
if the number of the logical channel groups needing to report the buffer state is 1, selecting to use a second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group; or
And if the number of the logical channel groups needing to report the buffer state is 1, determining the used BSR MAC CE format according to the buffer data volume of the logical channel groups.
Optionally, the processor 400 selects and uses a second BSR MAC CE format capable of reporting the buffer status of 1 logical channel group;
the processor 400 is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format, determining a buffer sequence number corresponding to the buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the processor 400 is specifically configured to:
if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, determining the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, setting the cache sequence number as the maximum value to represent that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format;
wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
Optionally, the processor 400 selects and uses a second BSR MAC CE format capable of reporting the buffer status of 1 logical channel group;
the processor 400 is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is not the BSR corresponding to the multiplexing first BSR MAC CE format, determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR corresponding to the second BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the processor 400 is specifically configured to:
if the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a multiplexing first BSR MAC CE format, and the first 2^ X cache sequence numbers of the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, using the first BSR MAC CE format capable of reporting the cache states of the multiple logical channel groups, wherein X is the bit number occupied by the cache sequence numbers in the second BSR MAC CE format; or
And if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group.
Optionally, the processor 400 is specifically configured to:
and determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
As shown in fig. 5, a first network device according to an embodiment of the present invention includes: a processor 500, a memory 501, a transceiver 502, and a bus interface.
The processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 may store data used by the processor 500 in performing operations. The transceiver 502 is used to receive and transmit data under the control of the processor 500.
The bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 500 and various circuits of memory represented by memory 501 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 processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 may store data used by the processor 500 in performing operations.
The processes disclosed in the embodiments of the present invention may be applied to the processor 500, or implemented by the processor 500. In implementation, the steps of the signal processing flow may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 500. The processor 500 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501, and completes the steps of the signal processing flow in combination with the hardware thereof.
Specifically, the processor 500 is configured to read the program in the memory 501 and execute:
receiving BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and the number of bits occupied by a buffer sequence number in the BSR MAC CE format, wherein the used BSR MAC CE format is determined by the number of logical channel groups of which the terminal reports a buffer state according to needs; determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table; and allocating uplink resources to the terminal according to the determined cache data volume.
Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states;
the processor 500 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor 500 is specifically configured to:
if the buffer sequence number in the BSR MAC CE is the front (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, determining the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
And if the buffer sequence number in the BSR MAC CE is the maximum value, determining that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and a BSR table corresponding to the second BSR MAC CE of the terminal is not a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor 500 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor 500 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
As shown in fig. 6, a second terminal according to the embodiment of the present invention includes:
a format determining module 600, configured to determine a BSR MAC CE format to be used according to the number of logical channel groups that need to report a buffer status;
a generating module 601, configured to generate a BSR MAC CE according to a determined BSR MAC CE format and a bit number occupied by a buffer sequence number in the BSR MAC CE format;
a reporting module 602, configured to report the generated BSR MAC CE to a network side device.
Optionally, the format determining module 600 is specifically configured to:
if the number of the logical channel groups needing to report the buffer status is multiple, a first BSR MAC CE format capable of reporting the buffer status of the multiple logical channel groups is used.
Optionally, the generating module 601 is specifically configured to:
determining a buffer sequence number corresponding to the buffer data volume of each logic channel group according to the BSR table corresponding to the first BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
Optionally, the format determining module 600 is specifically configured to:
if the number of the logical channel groups needing to report the buffer state is 1, selecting to use a second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group; or
And if the number of the logical channel groups needing to report the buffer state is 1, determining the used BSR MAC CE format according to the buffer data volume of the logical channel groups.
Optionally, the processor selects and uses a second BSR MAC CE format capable of reporting a buffer status of 1 logical channel group;
the generating module 601 is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format, determining a buffer sequence number corresponding to the buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the generating module 601 is specifically configured to:
if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, determining the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, setting the cache sequence number as the maximum value to represent that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format;
wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
Optionally, the processor selects and uses a second BSR MAC CE format capable of reporting a buffer status of 1 logical channel group;
the generating module 601 is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is not the BSR corresponding to the multiplexing first BSR MAC CE format, determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR corresponding to the second BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the format determining module 600 is specifically configured to:
if the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a multiplexing first BSR MAC CE format, and the first 2^ X cache sequence numbers of the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, using the first BSR MAC CE format capable of reporting the cache states of the multiple logical channel groups, wherein X is the bit number occupied by the cache sequence numbers in the second BSR MAC CE format; or
And if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group.
Optionally, the generating module 601 is specifically configured to:
and determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
As shown in fig. 7, a second network-side device according to the embodiment of the present invention includes:
a receiving module 700, configured to receive a BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and a bit number occupied by a buffer sequence number in the BSR MAC CE format, where the used BSR MAC CE format is determined by the terminal according to a number of logical channel groups that need to report a buffer state;
a data amount determining module 701, configured to determine, according to the BSR table, a buffer data amount corresponding to the buffer sequence number in the BSR MAC CE;
an allocating module 702, configured to allocate uplink resources to the terminal according to the determined buffer data amount.
Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states;
the data amount determining module 701 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the data amount determining module 701 is specifically configured to:
if the buffer sequence number in the BSR MAC CE is the front (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, determining the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
And if the buffer sequence number in the BSR MAC CE is the maximum value, determining that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and a BSR table corresponding to the second BSR MAC CE of the terminal is not a BSR table corresponding to the multiplexing first BSR MAC CE format;
the data amount determining module 701 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the data amount determining module 701 is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
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 terminal according to the embodiment of the present invention or the steps of the network side device according to the embodiment of the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a method for performing repeated transmission, and since the device corresponding to the method is a DU in the system for performing repeated transmission on a channel in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the method can be implemented by referring to the device, and repeated parts are not described again.
As shown in fig. 8, the method for reporting a buffer status according to the embodiment of the present invention includes:
step 800, the terminal determines the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state;
step 801, the terminal generates a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format;
and step 802, the terminal reports the generated BSR MAC CE to a network side device.
Optionally, the determining, by the terminal, the used BSR MAC CE format according to the number of logical channel groups whose buffer status needs to be reported includes:
if the number of the logical channel groups needing to report the buffer status is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer status of the multiple logical channel groups.
Optionally, the generating, by the terminal, the BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the buffer sequence number in the BSR MAC CE format includes:
the terminal determines a buffer sequence number corresponding to the buffer data volume of each logic channel group according to the BSR table corresponding to the first BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
Optionally, the determining, by the terminal, the used BSR MAC CE format according to the number of logical channel groups whose buffer status needs to be reported includes:
if the number of the logical channel groups needing to report the buffer state is 1, the terminal selects to use a second BSR MAC CE format capable of reporting the buffer state of the 1 logical channel group; or
And if the number of the logical channel groups needing to report the buffer state is 1, the terminal determines the used BSR MAC CE format according to the buffer data volume of the logical channel groups.
Optionally, the terminal selects and uses a second BSR MAC CE format capable of reporting the buffer status of 1 logical channel group;
the terminal generates the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format, and the method comprises the following steps:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format, the terminal determines, according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data volume of the logical channel group, the buffer sequence number corresponding to the buffer data volume of the logical channel group from the BSR table corresponding to the first BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the determining, by the terminal, the buffer sequence number corresponding to the buffer data volume of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to the number of bits X occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data volume of the logical channel group includes:
if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, the terminal determines the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, the terminal sets the cache sequence number to be the maximum value, and represents that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format;
wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
Optionally, the terminal selects and uses a second BSR MAC CE format capable of reporting the buffer status of 1 logical channel group;
the terminal generates the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format, and the method comprises the following steps:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is not the BSR table corresponding to the multiplexing first BSR MAC CE format, the terminal determines the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the second BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
Optionally, the determining, by the terminal, a used BSR MAC CE format according to the buffer data amount of the logical channel group includes:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR corresponding to a multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR corresponding to the first BSR MAC CE format cannot represent the buffer data amount of the logical channel group, the terminal uses the first BSR MAC CE format capable of reporting the buffer states of a plurality of logical channel groups, wherein X is the bit number occupied by the buffer sequence numbers in the second BSR MAC CE format; or
And if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting 1 logical channel group buffer state by the terminal.
Optionally, the generating, by the terminal, the BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the buffer sequence number in the BSR MAC CE format includes:
and the terminal determines a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
As shown in fig. 9, the method for allocating resources according to the embodiment of the present invention includes:
step 900, a network side device receives a BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and a number of bits occupied by a buffer sequence number in the BSR MAC CE format, where the used BSR MAC CE format is determined by the number of logical channel groups for which the terminal needs to report a buffer state;
step 901, the network side device determines a cache data amount corresponding to a cache sequence number in a BSR MAC CE according to a BSR table;
step 902, the network side device allocates uplink resources to the terminal according to the determined buffer data amount.
Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
if the buffer sequence number in the BSR MAC CE is the first (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side equipment determines the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
If the buffer sequence number in the BSR MAC CE is the maximum value, the network side equipment determines that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and a BSR table corresponding to the second BSR MAC CE of the terminal is not a BSR table corresponding to the multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
Optionally, the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
The embodiments of the present invention will be described in detail below with reference to several examples.
Example 1: one BSR table, one logical channel group BSR report, 5bit BS size (1 in the first mode for the second case).
A terminal side:
step 1: the terminal only needs to report the buffer state of one logic channel group, and selects LCID of the short BSR to organize the MAC subheader; or the terminal may send padding BSR after sending uplink transmission according to the obtained uplink resource, but the remaining resource is only enough to send a BSR of a logical channel group, i.e., a truncated BSR, and selects the LCID of the truncated BSR to organize the MAC subheader.
A BSR MAC CE format of 1byte (e.g., the format of fig. 3A) is selected, where BS size is 5 bits. According to the buffer data amount of the logical channel group, the first 31 indication sequence numbers index are selected from the BSR table of 8-bit BS size (for example, table 1) and filled into the BSR MAC CE. If the amount of buffered data is larger than the amount of data indicated by the 31 st index, all 1 s are filled in the BS field.
Step 2: and the terminal sends the organized BSR MAC CE and the subheader thereof on the allocated uplink resources.
And step 3: and the terminal sends uplink buffer data according to the uplink resources distributed by the base station, and if the padding resources exist, the padding BSR is reported to reflect the latest BSR condition.
A base station:
step 1: the base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the BSR as a short BSR or a truncated BSR according to the LCID in the MAC subheader, and reads the BSR MAC CE after determining the format of the 1byte BSR MAC CE.
Step 2: and the base station distributes uplink resources for the terminal according to the reported BSR.
And step 3: the base station receives the uplink transmission and the subsequent possible BSR report.
Example 2: and one BSR table and one logical channel group BSR report, and the terminal selects to use one of 5-bit BS size and 8-bit BS size (2 in the first mode for the second case).
A terminal side:
step 1: when the terminal only needs to report the buffer state of one logical channel group, selecting the used BS size to be 5bit or 8bit according to the buffer data volume of the terminal, if the buffer data volume can be represented by one of the first 32 indexes of the BSR table (table 1), selecting the 5bit BS size, otherwise, selecting the 8bit BS size; and determining a corresponding LCID to generate a MAC subheader and a corresponding BSR MAC CE format according to the selected BS size to generate the BSR MAC CE.
Step 2: and the terminal sends the organized BSR MAC CE and the subheader thereof on the allocated uplink resources.
And step 3: and the terminal sends uplink buffer data according to the uplink resources distributed by the base station, and if the padding resources exist, the padding BSR is reported to reflect the latest BSR condition.
A base station side:
step 1: and the base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines whether the BSR is 5-bit or 8-bit BS size and the corresponding BSR MAC CE according to the LCID in the MAC subheader.
Step 2: and the base station distributes uplink resources for the terminal according to the reported BSR.
And step 3: the base station receives the uplink transmission and the subsequent possible BSR report.
Example 3: one BSR table, where multiple logical channel groups buffer and report (corresponding to case one).
A terminal side:
step 1: when the buffer status of a plurality of logical channel groups of the terminal needs to be reported, 8bit BS size is used; and determining a corresponding LCID to generate a MAC subheader and a corresponding BSR MAC CE format, and generating the BSR MAC CE.
Step 2: and the terminal sends the organized BSR MAC CE and the subheader thereof on the allocated uplink resources.
And step 3: and the terminal sends the uplink cache data according to the uplink resources allocated by the base station.
A base station side:
step 1: and the base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines the BSsize as 8-bit BS size and the corresponding BSR MAC CE format according to the LCID in the MAC subheader.
Step 2: and the base station distributes uplink resources for the terminal according to the reported BSR.
And step 3: the base station receives the uplink transmission and the subsequent possible BSR report.
Example 4: two BSR tables, a single logical channel group buffer reports (in the second way in the above case two).
A terminal side:
step 1: when the terminal needs to report the buffer state of only one logical channel group, the 5-bit BS size and 1-byte BSR MAC CE formats are determined to be used, the corresponding LCID is determined to generate the MAC subheader, the BSR table (such as a table 2) of the 5-bit BS size is searched, and the BSR MAC CE is generated.
Step 2: and the terminal sends the organized BSR MAC CE and the subheader thereof on the allocated uplink resources.
And step 3: and the terminal sends the uplink cache data according to the uplink resources allocated by the base station.
A base station side:
step 1: and the base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the BSR as 5-bit BS size according to the LCID in the MAC subheader, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 5-bit BS size.
Step 2: and the base station distributes uplink resources for the terminal according to the reported BSR.
And step 3: the base station receives the uplink transmission and the subsequent possible BSR report.
Example 5: two BSR tables, multiple logical channel group buffer reporting (for the case one above).
A terminal side:
step 1: when the terminal has the cache states of a plurality of logical channel groups to be reported, determining to use 8-bit BS size, the corresponding BSR MAC CE format and the corresponding LCID to generate an MAC subheader, searching for the BSR table of the 8-bit BS size, and generating the BSR MAC CE.
Step 2: and the terminal sends the organized BSR MAC CE and the subheader thereof on the allocated uplink resources.
And step 3: and the terminal sends the uplink cache data according to the uplink resources allocated by the base station.
A base station side:
step 1: and the base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the BSR as 8-bit BS size according to the LCID in the MAC subheader, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 8-bit BS size.
Step 2: and the base station distributes uplink resources for the terminal according to the reported BSR.
And step 3: the base station receives the uplink transmission and the subsequent possible BSR report.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, 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, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
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.

Claims (29)

1. A method for reporting a buffer status is characterized in that the method comprises the following steps:
the terminal determines the format of a buffer state reporting media access control format control unit (BSR MAC CE) according to the number of the logical channel groups needing to report the buffer state;
the terminal generates a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format;
the terminal reports the generated BSR MAC CE to network side equipment;
the method for determining the format of the buffer status reporting media access control format control unit (BSR MAC CE) according to the number of the logical channel groups needing to report the buffer status by the terminal comprises the following steps:
if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups;
the first byte of the first BSR MAC CE format indicates a logical channel group to be reported in a buffer state, and bytes following the first byte of the first BSR MAC CE format sequentially indicate the buffer data amount of the logical channel group according to the arrangement order of the logical channel group of the first byte.
2. The method of claim 1, wherein the terminal generates the BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, including:
the terminal determines a buffer sequence number corresponding to the buffer data volume of each logic channel group according to the BSR table corresponding to the first BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
3. The method of claim 1, wherein the determining, by the terminal, the used BSR MAC CE format according to the number of logical channel groups whose buffer status needs to be reported comprises:
if the number of the logical channel groups needing to report the buffer state is 1, the terminal selects to use a second BSR MAC CE format capable of reporting the buffer state of the 1 logical channel group; or
And if the number of the logical channel groups needing to report the buffer state is 1, the terminal determines the used BSR MAC CE format according to the buffer data volume of the logical channel groups.
4. The method of claim 3, wherein the terminal selects to use a second BSR MAC CE format capable of reporting 1 logical channel group buffer status;
the terminal generates the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format, and the method comprises the following steps:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a first BSR MAC CE format that multiplexes buffer states of multiple logical channel groups, determining, by the terminal, a buffer sequence number corresponding to a buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to a bit number occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group;
and the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
5. The method of claim 4, wherein the determining, by the terminal, the buffer sequence number corresponding to the buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to the number of bits X occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group, includes:
if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, the terminal determines the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, the terminal sets the cache sequence number to be the maximum value, and represents that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format;
wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
6. The method of claim 3, wherein the terminal selects to use a second BSR MAC CE format capable of reporting 1 logical channel group buffer status;
the terminal generates the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format, and the method comprises the following steps:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is not the BSR table corresponding to the multiplexing first BSR MAC CE format, the terminal determines the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the second BSR MAC CE format;
and the terminal places the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
7. The method of claim 3, wherein the determining, by the terminal, the used BSR MAC CE format according to the amount of buffered data of the logical channel group comprises:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR corresponding to a multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR corresponding to the first BSR MAC CE format cannot represent the buffer data amount of the logical channel group, the terminal uses the first BSR MAC CE format capable of reporting the buffer states of a plurality of logical channel groups, wherein X is the bit number occupied by the buffer sequence numbers in the second BSR MAC CE format; or
And if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting 1 logical channel group buffer state by the terminal.
8. The method of claim 7, wherein the generating, by the terminal, the BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the buffer sequence number in the BSR MAC CE format comprises:
and the terminal determines a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and places the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
9. A method for allocating resources, the method comprising:
the method comprises the steps that network side equipment receives BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and the number of bits occupied by a cache sequence number in the BSR MAC CE format, wherein the used BSR MAC CE format is determined by the terminal according to the number of logical channel groups needing to report a cache state; if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups;
the first byte of the first BSR MAC CE format indicates a logical channel group to be reported with a buffer status, and bytes following the first byte of the first BSR MAC CE format sequentially indicate buffer data amount of the logical channel group according to an arrangement order of the logical channel group of the first byte;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE format according to the BSR table;
and the network side equipment allocates uplink resources for the terminal according to the determined cache data volume.
10. The method of claim 9, wherein the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting multiple logical channel group buffer states;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
11. The method of claim 9, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
if the buffer sequence number in the BSR MAC CE is the first (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side equipment determines the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
If the buffer sequence number in the BSR MAC CE is the maximum value, the network side equipment determines that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
12. The method of claim 9, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the BSR table corresponding to the second BSR MAC CE of the terminal is not a BSR table corresponding to the multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
13. The method of claim 9, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a multiplexing first BSR MAC CE format;
the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table, and the method comprises the following steps:
and the network side equipment determines the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
14. A terminal for reporting a buffer status is characterized in that the terminal comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing:
determining a used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state; generating a BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format; reporting the generated BSR MAC CE to network side equipment;
the processor is specifically configured to: if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups;
the first byte of the first BSR MAC CE format indicates a logical channel group to be reported in a buffer state, and bytes following the first byte of the first BSR MAC CE format sequentially indicate the buffer data volume of the logical channel group according to the arrangement order of the logical channel group of the first byte.
15. The terminal of claim 14, wherein the processor is further configured to:
determining a buffer sequence number corresponding to the buffer data volume of each logic channel group according to the BSR table corresponding to the first BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
16. The terminal of claim 14, wherein the processor is further configured to:
if the number of the logical channel groups needing to report the buffer state is 1, selecting to use a second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group; or
And if the number of the logical channel groups needing to report the buffer state is 1, determining the used BSR MAC CE format according to the buffer data volume of the logical channel groups.
17. The terminal of claim 16, wherein the processor selects to use a second BSR MAC CE format capable of reporting 1 logical channel group buffer status;
the processor is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to a first BSR MAC CE format that multiplexes buffer states of multiple logical channel groups, determining a buffer sequence number corresponding to the buffer data amount of the logical channel group from the BSR table corresponding to the first BSR MAC CE format according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffer data amount of the logical channel group;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
18. The terminal of claim 17, wherein the processor is further configured to:
if the previous (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, determining the buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format; or
If the previous (2^ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot represent the cache data volume of the logical channel group, setting the cache sequence number as the maximum value to represent that the cache data volume exceeds the cache data volume represented by the (2^ X-1) cache sequence number in the BSR table corresponding to the first BSR MAC CE format;
wherein, X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
19. The terminal of claim 16, wherein the processor selects to use a second BSR MAC CE format capable of reporting 1 logical channel group buffer status;
the processor is specifically configured to:
if the table of the BSR corresponding to the second BSR MAC CE of the terminal is not the BSR corresponding to the multiplexing first BSR MAC CE format, determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR corresponding to the second BSR MAC CE format;
and placing the determined buffer sequence number in a position corresponding to the second BSR MAC CE format.
20. The terminal of claim 16, wherein the processor is further configured to:
and if the BSR table corresponding to the second BSR MAC CE of the terminal is the BSR table corresponding to the multiplexing first BSR MAC CE format, and the first 2^ X buffer sequence numbers of the BSR table corresponding to the first BSR MAC CE format can represent the buffer data volume of the logical channel group, using the second BSR MAC CE format capable of reporting the buffer state of 1 logical channel group.
21. The terminal of claim 20, wherein the processor is further configured to:
and determining a buffer sequence number corresponding to the buffer data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and placing the determined buffer sequence number in a position corresponding to the first BSR MAC CE format.
22. A network side device for allocating resources, the network side device comprising: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing:
receiving BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and the number of bits occupied by a buffer sequence number in the BSR MAC CE format, wherein the used BSR MAC CE format is determined by the number of logical channel groups of which the terminal reports a buffer state according to needs; if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups; the first byte of the first BSR MAC CE format indicates a logical channel group to be reported with a buffer status, and bytes following the first byte of the first BSR MAC CE format sequentially indicate buffer data amount of the logical channel group according to an arrangement order of the logical channel group of the first byte; determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE format according to the BSR table; and allocating uplink resources to the terminal according to the determined cache data volume.
23. The network-side device of claim 22, wherein the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states;
the processor is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
24. The network-side device of claim 22, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor is specifically configured to:
if the buffer sequence number in the BSR MAC CE is the front (2^ X-1) buffer sequence numbers in the BSR table corresponding to the first BSR MAC CE format, determining the buffer data volume corresponding to the buffer sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format; or
And if the buffer sequence number in the BSR MAC CE is the maximum value, determining that the buffer data volume of the terminal exceeds the buffer data volume represented by the (2^ X-1) th buffer sequence number in the BSR table corresponding to the format of the BSR MAC CE.
25. The network-side device of claim 22, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and a table of BSRs corresponding to the second BSR MAC CE of the terminal is not a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the second BSR MAC CE format.
26. The network-side device of claim 22, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting 1 logical channel group buffer status, and the table of the BSR corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the multiplexing first BSR MAC CE format;
the processor is specifically configured to:
and determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE according to the BSR table corresponding to the first BSR MAC CE format.
27. A terminal for reporting a buffer status is characterized in that the terminal comprises:
the format determining module is used for determining the used BSR MAC CE format according to the number of the logical channel groups needing to report the buffer state;
the generating module is used for generating the BSR MAC CE according to the determined BSR MAC CE format and the bit number occupied by the buffer sequence number in the BSR MAC CE format;
a reporting module, configured to report the generated BSR MAC CE to a network side device;
the format determining module is specifically configured to: if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups;
the first byte of the first BSR MAC CE format indicates a logical channel group to be reported in a buffer state, and bytes following the first byte of the first BSR MAC CE format sequentially indicate the buffer data amount of the logical channel group according to the arrangement order of the logical channel group of the first byte.
28. A network side device for allocating resources, the network side device comprising:
a receiving module, configured to receive a BSR MAC CE generated by a terminal according to a determined BSR MAC CE format and a bit number occupied by a buffer sequence number in the BSR MAC CE format, where the used BSR MAC CE format is determined by the terminal according to the number of logical channel groups that need to report a buffer state; if the number of the logical channel groups needing to report the buffer state is multiple, the terminal uses a first BSR MAC CE format capable of reporting the buffer states of the multiple logical channel groups;
the first byte of the first BSR MAC CE format indicates a logical channel group to be reported with a buffer status, and bytes following the first byte of the first BSR MAC CE format sequentially indicate buffer data amount of the logical channel group according to an arrangement order of the logical channel group of the first byte;
the data volume determining module is used for determining the cache data volume corresponding to the cache sequence number in the BSR MAC CE format according to the BSR table;
and the allocation module is used for allocating uplink resources to the terminal according to the determined cache data volume.
29. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8 or the steps of the method according to any one of claims 9 to 13.
CN201710874651.7A 2017-09-25 2017-09-25 Method and equipment for reporting buffer state and allocating resources Active CN109561464B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710874651.7A CN109561464B (en) 2017-09-25 2017-09-25 Method and equipment for reporting buffer state and allocating resources
PCT/CN2018/093856 WO2019056828A1 (en) 2017-09-25 2018-06-29 Method and device for reporting cache state and allocating resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710874651.7A CN109561464B (en) 2017-09-25 2017-09-25 Method and equipment for reporting buffer state and allocating resources

Publications (2)

Publication Number Publication Date
CN109561464A CN109561464A (en) 2019-04-02
CN109561464B true CN109561464B (en) 2020-11-24

Family

ID=65810975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710874651.7A Active CN109561464B (en) 2017-09-25 2017-09-25 Method and equipment for reporting buffer state and allocating resources

Country Status (2)

Country Link
CN (1) CN109561464B (en)
WO (1) WO2019056828A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152764B (en) * 2019-06-27 2022-08-23 大唐移动通信设备有限公司 Method for reporting repeated transmission activation state, method for confirming repeated transmission activation state and related equipment
CN112153687B (en) * 2019-06-27 2022-10-18 大唐移动通信设备有限公司 Cache information reporting method, receiving method, terminal and network side equipment
WO2022134027A1 (en) * 2020-12-25 2022-06-30 Lenovo (Beijing) Limited Method and apparatus for information processing in a small data transmission procedure
CN116647872A (en) * 2022-02-14 2023-08-25 维沃移动通信有限公司 Method, device, communication equipment and readable storage medium for processing SL BSR
CN117835429A (en) * 2022-09-28 2024-04-05 荣耀终端有限公司 Information reporting method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291200A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for reporting buffer status report, method for determining quantity of data and equipment
CN102547669A (en) * 2012-02-10 2012-07-04 大唐移动通信设备有限公司 Data buffer status report and uplink resource scheduling methods and equipment
WO2016045993A1 (en) * 2014-09-26 2016-03-31 Alcatel Lucent Uplink resource allocation for direct communications between user equipment within groups
CN106470445A (en) * 2015-08-21 2017-03-01 中兴通讯股份有限公司 Buffer status report generation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291772B (en) * 2010-06-21 2016-04-13 电信科学技术研究院 UE reports BSR and base station to determine the method for the buffer data size that UE reports
CN102291760B (en) * 2010-06-21 2014-04-02 电信科学技术研究院 Method, system and equipment for reporting and confirming buffer memory state information
WO2014003327A1 (en) * 2012-06-26 2014-01-03 Lg Electronics Inc. Method and apparatus for cancelling buffer status report in wireless communication system
EP3400733B1 (en) * 2016-01-06 2021-08-25 LG Electronics Inc. Method for transmitting a mac pdu in wireless communication system and a device therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291200A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for reporting buffer status report, method for determining quantity of data and equipment
CN102547669A (en) * 2012-02-10 2012-07-04 大唐移动通信设备有限公司 Data buffer status report and uplink resource scheduling methods and equipment
WO2016045993A1 (en) * 2014-09-26 2016-03-31 Alcatel Lucent Uplink resource allocation for direct communications between user equipment within groups
CN107079473A (en) * 2014-09-26 2017-08-18 阿尔卡特朗讯 Uplink resource allocation for organizing the direct communication between interior user equipment
CN106470445A (en) * 2015-08-21 2017-03-01 中兴通讯股份有限公司 Buffer status report generation method and device

Also Published As

Publication number Publication date
WO2019056828A1 (en) 2019-03-28
CN109561464A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109561464B (en) Method and equipment for reporting buffer state and allocating resources
CN107360591B (en) Method and equipment for reporting buffer status report
US7769926B2 (en) Method for providing a buffer status report using user equipment to calculate available space of a protocol data unit in a mobile communication network
CN107046697B (en) method and equipment for transmitting MAC control unit
US11272392B2 (en) Buffer status report processing method and apparatus
CN106954277B (en) Scheduling request processing method and device
US10966224B2 (en) Logical channel scheduling method and system, and apparatus
JP6870902B2 (en) Buffer status reporting method, UE, buffer status reporting processing method, and network-side equipment
CN109716838A (en) A kind of resource request method, equipment and system
CN109587726A (en) Communication means, terminal device and access network equipment
US10506580B2 (en) Uplink data transmission method and device
US20210314808A1 (en) BSR Reporting Method and Apparatus
CN108811154A (en) Data pack transmission method and equipment
US11758522B2 (en) Methods and apparatuses for determining a transport block size (TBS) for data transmission
US20210022205A1 (en) Mac pdu transmission method and apparatus
CN109565897A (en) The method and apparatus for transmitting information
CN108810972B (en) Communication method, terminal equipment and network equipment
US20180145736A1 (en) Method for Transmitting Channel State Information and Transmission Device
CN110149715B (en) Information indication method, PT-RS transmission method and device
CN102752794B (en) Method, device and the transmission system that a kind of data block sends, receives
CN107534604B (en) Data processing method and device
CN112996115B (en) Method and device for allocating uplink resources
CN113424615B (en) Data transmission method and equipment
CN111065167B (en) BSR reporting method, terminal and network side equipment
CN108370558A (en) Information source determines method, resource allocation methods and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210601

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY