WO2019056828A1 - Method and device for reporting cache state and allocating resources - Google Patents

Method and device for reporting cache state and allocating resources Download PDF

Info

Publication number
WO2019056828A1
WO2019056828A1 PCT/CN2018/093856 CN2018093856W WO2019056828A1 WO 2019056828 A1 WO2019056828 A1 WO 2019056828A1 CN 2018093856 W CN2018093856 W CN 2018093856W WO 2019056828 A1 WO2019056828 A1 WO 2019056828A1
Authority
WO
WIPO (PCT)
Prior art keywords
format
bsr
bsr mac
mac
terminal
Prior art date
Application number
PCT/CN2018/093856
Other languages
French (fr)
Chinese (zh)
Inventor
谌丽
许芳丽
刘佳敏
Original Assignee
电信科学技术研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院有限公司 filed Critical 电信科学技术研究院有限公司
Publication of WO2019056828A1 publication Critical patent/WO2019056828A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and a device for reporting a buffer status and allocating resources.
  • LTE Long Term Evolution
  • MAC Media Access Control
  • PDU Protocol Data Unit
  • R indicates a reserved bit
  • LCID is The logical channel group number, the logical channel group corresponding to each bearer RB has a logical channel group number LCID, and each MAC CE also corresponds to one LCID;
  • L indicates the length of the corresponding MAC SDU or MAC CE, and the unit is byte.
  • the LTE MAC CE may be of a variable length or a fixed length. If the length is longer, the MAC subheader carries the L field. If the length is fixed, the MAC subheader does not have the L field.
  • BSR MAC CEs for the BSR (Buffer Status Report) in the LTE: the BSR MAC CE that reports only one logical channel group and the BSR MAC CE that reports all four logical channel groups.
  • the number of logical channel groups is increased to eight, and the logical channel group (LCG) ID needs to occupy 3 bits.
  • the Buffer Size field is only 5 bits.
  • the service rate and transmission rate supported by the 5G are greatly improved, and the maximum value of the buffer status report is greatly improved.
  • the 5-bit Buffer Size field length is used uniformly, the buffer status cannot be accurately represented, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation. Or waste of resources.
  • the current Buffer Size field length cannot accurately represent the buffer status, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation or waste of resources.
  • the present invention provides a method and a device for reporting a buffer status and allocating resources, which are used to solve the problem that the length of the Buffer Size field existing in the prior art cannot accurately represent the buffer status, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation or resources. The problem of wasting.
  • a method for reporting a cache state is provided by the embodiment of the present invention, where the method includes:
  • the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status.
  • the terminal generates a 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;
  • the terminal reports the generated BSR MAC CE to the network side device.
  • the network side device receives the 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, where the used BSR MAC CE format is a logical channel group in which the terminal reports the buffer status as needed.
  • the network side device allocates an uplink resource to the terminal according to the determined amount of the cached data.
  • a terminal for reporting a cache state where the terminal includes: a processor, a memory, and a transceiver;
  • the processor is configured to read a program in the memory and execute:
  • a network side device for allocating resources where the terminal includes: a processor, a memory, and a transceiver;
  • the processor is configured to read a program in the memory and execute:
  • the receiving terminal generates a 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, where the BSR MAC CE format used is determined by the terminal according to the number of logical channel groups that need to report the buffer status. And determining, according to the BSR table, the amount of cached data corresponding to the cached sequence number in the BSR MAC CE; and allocating the uplink resource to the terminal according to the determined amount of the cached data.
  • a terminal for reporting a cache state is provided by the embodiment of the present invention, where the terminal includes:
  • a format determining module configured to determine a BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status
  • a generating module configured to generate a BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the cache serial number in the BSR MAC CE format;
  • the reporting module is configured to report the generated BSR MAC CE to the network side device.
  • a network side device for allocating resources according to an embodiment of the present invention where the network side device includes:
  • a receiving module configured to receive, by the terminal, a BSR MAC CE generated 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, where the used BSR MAC CE format is a logic for the terminal to report the buffer status according to the need The number of channel groups is determined;
  • a data quantity determining module configured to determine, according to the BSR table, a cache data amount corresponding to a cache serial number in the BSR MAC CE;
  • an allocating module configured to allocate an uplink resource to the terminal according to the determined amount of the cached data.
  • the embodiment of the present invention provides a computer storable medium, which is stored with a computer program, and when the program is executed by the processor, the step of reporting the cached state in the embodiment of the present invention or the step of allocating resources according to the embodiment of the present invention.
  • the terminal generates a BSR MAC CE according to the used BSR MAC CE format determined by the number of logical channel groups that need to be reported in the buffer state, and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and generates the BSR.
  • the MAC CE is reported to the network side device.
  • the network side device determines, according to the BSR table, the amount of buffered data corresponding to the buffer sequence number in the BSR MAC CE, and allocates the uplink resource to the terminal according to the determined amount of the buffered data.
  • the terminal can determine the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, and generate a 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 numbers for different logical channel groups.
  • the BSR MAC CE format enables more accurate scheduling of terminal data, reducing the number of times the resource allocation is insufficient or the resource is wasted.
  • FIG. 1 is a schematic structural diagram of a MAC PDU in the background art
  • FIG. 2 is a schematic structural diagram of a system for allocating resources according to an embodiment of the present invention
  • 3A is a schematic diagram of a format of a first BSR MAC CE according to an embodiment of the present invention.
  • 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 flowchart of a method for reporting a buffer status according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method for allocating resources according to an embodiment of the present invention.
  • the system for allocating resources includes:
  • the terminal 10 is configured to determine a used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status, and generate a BSR MAC 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.
  • the CE sends the generated BSR MAC CE to the network side device.
  • the network side device 20 is configured to receive, by the terminal, a BSR MAC CE generated 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 cache corresponding to the cache serial number in the BSR MAC CE. The amount of data; allocating uplink resources to the terminal according to the determined amount of cached data.
  • the terminal generates a BSR MAC CE according to the used BSR MAC CE format determined by the number of logical channel groups that need to be reported in the buffer state, and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and generates the BSR.
  • the MAC CE is reported to the network side device.
  • the network side device determines, according to the BSR table, the amount of buffered data corresponding to the buffer sequence number in the BSR MAC CE, and allocates the uplink resource to the terminal according to the determined amount of the buffered data.
  • the terminal can determine the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, and generate a 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 numbers for different logical channel groups.
  • the BSR MAC CE format enables more accurate scheduling of terminal data, reducing the number of times the resource allocation is insufficient or the resource is wasted.
  • the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups or the first BSR capable of reporting the buffer status of one logical channel group may be selected according to the number of logical channel groups that need to report the buffer status.
  • the terminal stores the first BSR MAC CE format and the second BSR MAC CE format, and each BSR MAC CE format corresponds to a BSR table.
  • the BSR table records the correspondence between the cache sequence number and the cache data amount range. That is, the BSR table is only a form that displays the correspondence between the cache sequence number and the cache data amount range, and can also be adopted as needed. Other forms of presentation, such as databases, formulas, etc. Different presentations are simply substitutions of tables that fall within the scope of equivalent technology.
  • FIG. 3A One possible first BSR MAC CE format is shown in FIG. 3A, and one possible second BSR MAC CE format is shown in FIG. 3B.
  • the length of the Buffer Size field in Figure 3A can be 5 bits or other values.
  • the length of the Buffer Size field in Figure 3B is 8 bit.
  • the length of the Buffer Size field in the second BSR MAC CE format may also be other values, such as 7 bits.
  • the first byte is used to indicate which logical channel groups need to be reported and buffered, and then the cache is sequentially reported in the order indicated in the bitmap of the first byte.
  • the BSR MAC CE in this format is variable length. You can report the cache of 1 to 8 logical channel groups as needed.
  • the BSR MAC CE is 4 bytes in length except for the MAC sub-header, and the first byte is a bitmap indication. For this example, it is set to 01010100 (that is, the first 1/3/5).
  • the logical channel group is set to 1), and the 2nd, 3rd, and 4th bytes respectively indicate the data buffer amounts of the logical channel groups 1, 3, and 5.
  • 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
  • the BSR table corresponding to the second BSR MAC CE format is a BSR table corresponding to the first BSR MAC CE format.
  • the length of the Buffer Size field in the first BSR MAC CE format is greater than the length of the Buffer Size field in the second BSR MAC CE format.
  • the table corresponding to the first BSR MAC CE format is generated by exponential distribution according to the length of the Buffer Size field in the first BSR MAC CE format.
  • the BSR table corresponding to the second BSR MAC CE format is a separate table (that is, the BSR table corresponding to the first BSR MAC CE format is not multiplexed)
  • the BSR table corresponding to the second BSR MAC CE format is based on the second BSR MAC.
  • the length of the Buffer Size field in the CE format is generated by exponential distribution.
  • the following is an example of the length of the Buffer Size field in the first BSR MAC CE format.
  • the other values are, for example, 7 bits, which are similar to the 8 bits, and are not described here.
  • the length of the 8bit Buffer Size generates a single BSR table, which indicates that the buffer data amount interval is 256 (that is, 2 ⁇ 8. 2 ⁇ X indicates 2 x , and the subsequent descriptions are not explained).
  • the following is an example of the length of the Buffer Size field in the first BSR MAC CE format.
  • the other values are similar to those of the 5 bit, and are not described here.
  • the 5bit Buffer Size length generates a single BSR table, and the indicated buffer data amount interval is 32 (that is, 2 ⁇ 5).
  • both the terminal and the base station need to distinguish between the BSR of the single logical channel group or the BSR of the multiple logical channel groups, which are distinguished by different LCIDs.
  • LCID1 indicates that a single logical channel group is reported
  • LCID2 indicates that the report is reported. Is a group of multiple logical channels.
  • the embodiment of the present invention provides two modes: mode 1: the terminal adopts one table, that is, the BSR table corresponding to the second BSR MAC CE is a BSR table corresponding to the first BSR MAC CE format; Two: The terminal adopts two tables, that is, the table of the BSR corresponding to the second BSR MAC CE is an independent table.
  • the following describes the status of reporting multiple logical channel groups and reporting the status of one logical channel group as an example.
  • Case 1 Reporting multiple logical channel group buffer states.
  • the terminal uses a first BSR MAC CE format that can report a plurality of logical channel group buffer states.
  • the table of the BSR corresponding to the second BSR MAC CE in the terminal is to multiplex the BSR table corresponding to the 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, and the report buffer needs to be reported.
  • the terminal uses a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states.
  • the terminal when the terminal generates the BSR MAC CE, determining, according to the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of each logical channel group;
  • the terminal places the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
  • the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • the amount of buffered data of logical channel group A is 6523 bits, and the amount of buffered data of logical channel group A is 329 bits.
  • Table 1 after the terminal looks up the table, the buffer number corresponding to the cached data volume 6523 bit of the logical channel group A is 133; after the terminal looks up the table, the cache serial number corresponding to the buffered data volume 329 bit of the logical channel group B is 73. After that, the terminal places 133 and 73 respectively in positions corresponding to the first BSR MAC CE format;
  • the network side device After receiving the BSR MAC CE in the format of the first BSR MAC CE, the network side device knows that the terminal reports the buffer status of multiple logical channel groups. After determining the cache identifiers 133 and 73, the logical channel group A can be known according to Table 1. The amount of cached data is between 6522 and 6855, and the number of buffers for logical channel group B is between 328 and 345.
  • Case 2 Reporting a logical channel group buffer status.
  • Method 1 The terminal uses one table.
  • the terminal may be configured to use a second BSR MAC CE format that can report the buffer status of one logical channel group.
  • the terminal may also be configured to determine the used BSR according to the buffered data volume of the logical channel group.
  • the MAC CE format is described below.
  • the terminal selects a second BSR MAC CE format that can report the buffer status of one logical channel group.
  • the reporting of a logical channel group buffer state may be that one logical channel group needs to be reported; or the terminal may send a padding BSR after transmitting the uplink transmission according to the obtained uplink resource, but the remaining resources are only enough to send one logical channel group. BSR.
  • the terminal when the terminal generates the BSR MAC CE, according to the number of bits occupied by the buffer sequence number and the buffered data volume of the logical channel group in the second BSR MAC CE format, the terminal corresponds to the first BSR MAC CE format. Determining, in the BSR table, a cache sequence number corresponding to the amount of buffered data of the logical channel group;
  • the terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  • the second BSR MAC CE format can only be multiplexed in the table corresponding to the first BSR MAC CE format, because the number of bits in the Buffer Size field of the second BSR MAC CE format is smaller than the number of bits in the Buffer Size field of the first BSR MAC CE format. Part of the content.
  • the second BSR MAC CE format can only multiplex 32 cache numbers in the second BSR MAC CE format. .
  • the embodiment of the present invention provides a feasible manner: multiplexing the first (2 ⁇ X-1) cache serial numbers in the second BSR MAC CE format, if the front (2 ⁇ X-1) cache serial numbers It is not possible to indicate that the cache sequence number can be set to a maximum value, indicating that the amount of cache data has exceeded the amount of cache data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format.
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the terminal is configured according to the first BSR.
  • a BSR table corresponding to the MAC CE format determining a cache serial number corresponding to the buffered data volume of the logical channel group;
  • the terminal sets the cache sequence number to a maximum value, indicating The amount of cached data exceeds the amount of cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format.
  • the network side device is configured according to the first The BSR table corresponding to the BSR MAC CE format determines the amount of cached data corresponding to the cache sequence number in the BSR MAC CE;
  • the network side device determines that the buffered data volume of the terminal exceeds the (2 ⁇ X-1) cache in the BSR table corresponding to the BSR MAC CE format. The amount of cached data represented by the sequence number.
  • the Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
  • the lookup table 1 can determine that the corresponding cache serial number is 17. 17 can be represented by 5 bits, so the cache identifier corresponding to the amount of cached data of the logical channel group that needs to be reported is 17;
  • the network side device After receiving the BSR MAC CE in 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. After determining that the cache identifier is 17, it can check Table 1 to determine the logical channel group. The amount of cached data is 22.
  • the lookup table 1 can determine that the corresponding cache serial number is 33, which exceeds 31. Determine a cache identifier corresponding to the amount of buffered data of the logical channel group to be reported as a maximum value represented by 5 bits, and 11111 is 32.
  • the network side device After receiving the BSR MAC CE in 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. After determining that the cache identifier is 32, the amount of the buffered data of the logical channel group can be determined. More than 43.
  • the terminal determines the BSR MAC CE format to be used according to the buffered data volume of the logical channel group.
  • the second BSR MAC CE format can only be multiplexed in the table corresponding to the first BSR MAC CE format, because the number of bits in the Buffer Size field of the second BSR MAC CE format is smaller than the number of bits in the Buffer Size field of the first BSR MAC CE format. Part of the content.
  • the second BSR MAC CE format can only multiplex 32 cache numbers in the second BSR MAC CE format. .
  • the embodiment of the present invention provides a feasible manner: multiplexing the first (2 ⁇ X) cache serial numbers in the second BSR MAC CE format, if the previous (2 ⁇ X) cache serial numbers cannot be represented, The first BSR MAC CE format is selected (that is, if the first (2 ⁇ X) cache sequence numbers cannot be represented, the first BSR MAC CE format is selected even if only one logical channel group buffer state needs to be reported.
  • the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format cannot represent the buffered data volume of the logical channel group, and the terminal uses the buffer status that can report multiple logical channel groups.
  • a first BSR MAC CE format where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format
  • the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format can be used to indicate the amount of buffered data of the logical channel group.
  • the terminal determines, according to the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group, and places the determined cache sequence number on the first BSR MAC.
  • the CE format corresponds to the location.
  • the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • the Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
  • the lookup table 1 can determine that the corresponding cache serial number is 17. 17 can be represented by 5 bits, so the cache identifier corresponding to the amount of cached data of the logical channel group that needs to be reported is 17;
  • the network side device After receiving the BSR MAC CE in 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. After determining that the cache identifier is 17, it can check Table 1 to determine the logical channel group. The amount of cached data is 22.
  • the lookup table 1 can determine that the corresponding cache serial number is 33, which exceeds 32. At this time, the terminal chooses to report in the format of the first BSR MAC CE, and the corresponding cache serial number is 33.
  • the network side device receives the BSR MAC CE format as the first BSR MAC CE.
  • the lookup table 1 can determine that the cached data volume of the logical channel group is 44 or 45.
  • Method 2 The terminal uses two tables.
  • the terminal may determine, according to the BSR table corresponding to the second BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group.
  • the terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  • the network side device determines, according to the BSR table corresponding to the second BSR MAC CE format, the cache data corresponding to the cache sequence number in the BSR MAC CE. the amount.
  • the Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
  • the lookup table 2 can determine that the corresponding cache serial number is 3.
  • the network side device After receiving the BSR MAC CE in 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. After determining that the cache identifier is 3, the device 2 can determine the logical channel group. The amount of cached data is between 16 and 24.
  • the terminal uses two tables, if the terminal is to report the buffer status of a logical channel group, the first BSR MAC CE is selected. If the terminal reports the buffer status of multiple logical channel groups, the second BSR MAC is selected. CE.
  • the terminal of the embodiment of the present invention is also referred to as a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc., and is a voice and/or provided to the user.
  • Data connectivity devices such as handheld devices with wireless connectivity, in-vehicle devices, and the like.
  • terminals are: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality. (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid Wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and the like.
  • the network side device in the embodiment of the present invention may be a radio access network (RAN) node.
  • the RAN is the part of the network that connects 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.
  • RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), and Node B (Node).
  • the RAN may include a centralized unit (CU) node and a distributed unit (DU) node.
  • CU centralized unit
  • DU distributed unit
  • the first terminal of the 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 can store data used by the processor 400 in performing operations.
  • the transceiver 402 is configured to receive and transmit data under the control of the processor 400.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 400 and various circuits of memory represented by memory 401.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the processor 400 is responsible for managing the bus architecture and general processing, and the memory 401 can store data used by the processor 400 in performing operations.
  • the flow disclosed in the embodiment of the present invention may be applied to the processor 400 or implemented by the processor 400.
  • each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 400 or an instruction in the form of software.
  • the processor 400 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can be implemented or executed in an embodiment of the invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the signal processing flow in conjunction with its hardware.
  • the processor 400 is configured to read a program in the memory 401 and execute:
  • the processor 400 is specifically configured to:
  • the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups is used.
  • the processor 400 is specifically configured to:
  • the determined cache sequence number is placed in a location corresponding to the first BSR MAC CE format.
  • the processor 400 is specifically configured to:
  • the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is selected.
  • the BSR MAC CE format used is determined according to the amount of buffered data of the logical channel group.
  • the processor 400 selects to use a second BSR MAC CE format that can report a logical channel group buffer status
  • the processor 400 is specifically configured to:
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the logic Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
  • the determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  • the processor 400 is specifically configured to:
  • the BSR corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group
  • the BSR corresponding to the first BSR MAC CE format is used. a table, determining a cache serial number corresponding to the amount of cached data of the logical channel group;
  • the cache sequence number is set to a maximum value, indicating the amount of cached data. The amount of cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format has been exceeded;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the processor 400 selects to use a second BSR MAC CE format that can report a logical channel group buffer status
  • the processor 400 is specifically configured to:
  • the determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  • the processor 400 is specifically configured to:
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format If the amount of cached data of the logical channel group cannot be represented, a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format
  • the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is used, and X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the processor 400 is specifically configured to:
  • the first network side device in the 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 can store data used by the processor 500 when performing operations.
  • the transceiver 502 is configured to receive and transmit data under the control of the processor 500.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 500 and various circuits of memory represented by memory 501.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations.
  • the flow disclosed in the embodiment of the present invention may be applied to the processor 500 or implemented by the processor 500.
  • each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 500 or an instruction in the form of software.
  • the processor 500 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can be implemented or executed in an embodiment of the invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501 and completes the steps of the signal processing flow in conjunction with its hardware.
  • the processor 500 is configured to read a program in the memory 501 and execute:
  • the receiving terminal generates a 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, where the BSR MAC CE format used is determined by the terminal according to the number of logical channel groups that need to report the buffer status. And determining, according to the BSR table, the amount of cached data corresponding to the cached sequence number in the BSR MAC CE; and allocating the uplink resource to the terminal according to the determined amount of the cached data.
  • the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
  • the processor 500 is specifically configured to:
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the processor 500 is specifically configured to:
  • the buffer sequence number in the BSR MAC CE is the first (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format
  • the BSR table corresponding to the first BSR MAC CE format is used. , determining the amount of cached data corresponding to the cache serial number in the BSR MAC CE; or
  • the buffer sequence number in the BSR MAC CE is the maximum value, it is determined that the buffered data volume of the terminal exceeds the cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the BSR MAC CE format. the amount;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR.
  • the processor 500 is specifically configured to:
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the processor 500 is specifically configured to:
  • the second terminal of the embodiment of the present invention includes:
  • the format determining module 600 is configured to determine the used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status;
  • the generating module 601 is configured to generate a 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;
  • the reporting module 602 is configured to report the generated BSR MAC CE to the network side device.
  • the format determining module 600 is specifically configured to:
  • the first BSR MAC CE format capable of reporting a plurality of logical channel group cache states is used.
  • the generating module 601 is specifically configured to:
  • the determined cache sequence number is placed in a location corresponding to the first BSR MAC CE format.
  • the format determining module 600 is specifically configured to:
  • the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is selected.
  • the BSR MAC CE format used is determined according to the amount of buffered data of the logical channel group.
  • the processor selects to use a second BSR MAC CE format that can report a logical channel group buffer status
  • the generating module 601 is specifically configured to:
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the logic Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
  • the determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  • the generating module 601 is specifically configured to:
  • the BSR corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group
  • the BSR corresponding to the first BSR MAC CE format is used. a table, determining a cache serial number corresponding to the amount of cached data of the logical channel group;
  • the cache sequence number is set to a maximum value, indicating the amount of cached data. The amount of cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format has been exceeded;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the processor selects to use a second BSR MAC CE format that can report a logical channel group buffer status
  • the generating module 601 is specifically configured to:
  • the determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  • the format determining module 600 is specifically configured to:
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format If the amount of cached data of the logical channel group cannot be represented, a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format
  • the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is used, and X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the generating module 601 is specifically configured to:
  • the second network side device of the embodiment of the present invention includes:
  • the receiving module 700 is configured to receive, by the terminal, a BSR MAC CE generated 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, where the used BSR MAC CE format is that the terminal reports the buffer status according to requirements.
  • the number of logical channel groups is determined;
  • the data quantity determining module 701 is configured to determine, according to the BSR table, a cache data amount corresponding to the cache serial number in the BSR MAC CE;
  • the allocating module 702 is configured to allocate an uplink resource to the terminal according to the determined amount of the buffered data.
  • the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
  • the data amount determining module 701 is specifically configured to:
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the data amount determining module 701 is specifically configured to:
  • the buffer sequence number in the BSR MAC CE is the first (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format
  • the BSR table corresponding to the first BSR MAC CE format is used. , determining the amount of cached data corresponding to the cache serial number in the BSR MAC CE; or
  • the buffer sequence number in the BSR MAC CE is the maximum value, it is determined that the buffered data volume of the terminal exceeds the cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the BSR MAC CE format. the amount;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR.
  • the data amount determining module 701 is specifically configured to:
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the data amount determining module 701 is specifically configured to:
  • the embodiment of the present invention further provides a computer storable medium, where the computer program is stored, and when the program is executed by the processor, the steps of the terminal in the embodiment of the present invention or the steps of the network side device in the embodiment of the present invention are implemented. .
  • the embodiment of the present invention further provides a method for reporting a cache state, where the device corresponding to the method is a terminal in a system for allocating resources according to an embodiment of the present invention, and the method solves the problem and the device Similarly, the implementation of the method can be referred to the implementation of the device, and the repeated description will not be repeated.
  • the method for reporting a cache state includes:
  • Step 800 The terminal determines the used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status.
  • Step 801 The terminal generates a 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.
  • Step 802 The terminal reports the generated BSR MAC CE to the network side device.
  • the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
  • the terminal uses a first BSR MAC CE format that can report a plurality of logical channel group buffer states.
  • the terminal generates a 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 places the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
  • the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
  • the terminal selects to use a second BSR MAC CE format capable of reporting a logical channel group buffer state
  • the terminal determines the BSR MAC CE format to be used according to the buffered data volume of the logical channel group.
  • the terminal selects to use a second BSR MAC CE format that can report the buffer status of one logical channel group;
  • the terminal generates a 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 uses the number of bits occupied by the buffer sequence number in the second BSR MAC CE format. Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
  • the terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  • the terminal determines, according to the number of bits occupied by the buffer sequence number and the buffered data volume of the logical channel group in the second BSR MAC CE format, from the BSR table corresponding to the first BSR MAC CE format.
  • the cache serial number corresponding to the buffered data volume of the logical channel group including:
  • the terminal If the first (2 ⁇ X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the terminal according to the first BSR MAC CE format Corresponding BSR table, determining a cache serial number corresponding to the buffered data volume of the logical channel group; or
  • the terminal sets the cache sequence number to a maximum value, indicating The amount of cached data exceeds the amount of cached data represented by the (2 ⁇ X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the terminal selects to use a second BSR MAC CE format that can report the buffer status of one logical channel group;
  • the terminal generates a 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, according to the BSR table corresponding to the second BSR MAC CE format, a cache serial number corresponding to the amount of buffered data of the logical channel group;
  • the terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  • the terminal determines, according to the buffered data volume of the logical channel group, a format of the used BSR MAC CE, including:
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format
  • the first BSR MAC CE format capable of reporting the buffer status of the plurality of logical channel groups is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format
  • the first 2 ⁇ X cache numbers of the BSR table corresponding to the first BSR MAC CE format can be used to indicate the amount of buffered data of the logical channel group.
  • the terminal generates a 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 method for allocating resources includes:
  • Step 900 The network side device receives the 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, where the BSR MAC CE format used by the terminal is reported by the terminal according to the need to report the buffer status.
  • the number of logical channel groups is determined;
  • Step 901 The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • Step 902 The network side device allocates an uplink resource to the terminal according to the determined amount of the cached data.
  • the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
  • the network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
  • the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
  • the network side device is configured according to the first BSR MAC CE.
  • the BSR table corresponding to the format determines the amount of cache data corresponding to the cache sequence number in the BSR MAC CE; or
  • the network side device determines that the buffered data volume of the terminal exceeds the (2 ⁇ X-1) cache in the BSR table corresponding to the BSR MAC CE format.
  • the amount of cached data represented by the sequence number;
  • X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  • the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR.
  • the network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
  • the network side device determines, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state
  • the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR.
  • the network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
  • the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  • Embodiment 1 A BSR table, a logical channel group BSR report, 5 bit BS size (1 in the first mode of the second case).
  • Step 1 The buffer state of only one logical channel group needs to be reported, and the LCID of the short BSR is selected to organize the MAC sub-header; or the terminal can send the padding BSR after transmitting the uplink transmission according to the obtained uplink resource, but the remaining resources are only enough to send a logic.
  • the BSR of the channel group that is, the truncated BSR, selects the LCID of the truncated BSR to organize the MAC subheader.
  • the 1 byte BSR MAC CE format (for example, the format of FIG. 3A) is selected, where the BS size is 5 bits.
  • the BSR table of the 8-bit BS size (for example, Table 1), the first 31 index numbers are selected to be filled in the BSR MAC CE. If the amount of buffered data is greater than the amount of data indicated by the 31st index, all 1s are reported in the BS field.
  • Step 2 The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
  • Step 3 The terminal sends the uplink buffer data according to the uplink resource allocated by the base station. If there is a padding resource, the terminal reports the padding BSR to reflect the latest BSR.
  • Step 1 The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the short BSR or the truncated BSR according to the LCID in the MAC subheader, and determines the format of the 1 byte BSR MAC CE and then reads the BSR MAC CE.
  • Step 2 The base station allocates uplink resources to the terminal according to the reported BSR.
  • Step 3 The base station receives the uplink transmission and subsequent possible BSR reporting.
  • Embodiment 2 A BSR table, a logical channel group BSR is reported, and the terminal selects one of a 5-bit BS size and an 8-bit BS size (2 in the first mode of the second case).
  • Step 1 When the buffer status of only one logical channel group needs to be reported, the BS size selected according to the amount of data buffered by the terminal is 5 bits or 8 bits. If the buffered data volume can be used in the first 32 indexes of the BSR table (Table 1) One indicates that the 5-bit BS size is selected, otherwise the 8-bit BS size is selected. According to the selected BS size, the corresponding LCID is generated to generate the MAC sub-header and the corresponding BSR MAC CE format to generate the BSR MAC CE.
  • Step 2 The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
  • Step 3 The terminal sends the uplink buffer data according to the uplink resource allocated by the base station. If there is a padding resource, the terminal reports the padding BSR to reflect the latest BSR.
  • Step 1 The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines whether it is 5 bit or 8 bit BS size and its corresponding BSR MAC CE according to the LCID in the MAC sub-header.
  • Step 2 The base station allocates uplink resources to the terminal according to the reported BSR.
  • Step 3 The base station receives the uplink transmission and subsequent possible BSR reporting.
  • Embodiment 3 A BSR table, multiple logical channel group caches are reported (corresponding to case 1).
  • Step 1 When the buffer status of the logical channel group of the terminal needs to be reported, the 8-bit BS size is used; the corresponding LCID is generated to generate the MAC sub-header and the corresponding BSR MAC CE format, and the BSR MAC CE is generated.
  • Step 2 The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
  • Step 3 The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
  • Step 1 The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines the 8-bit BS size and its corresponding BSR MAC CE format according to the LCID in the MAC sub-header.
  • Step 2 The base station allocates uplink resources to the terminal according to the reported BSR.
  • Step 3 The base station receives the uplink transmission and subsequent possible BSR reporting.
  • Embodiment 4 Two BSR tables, a single logical channel group cache is reported (for the second case of the second case).
  • Step 1 When the buffer status of only one logical channel group needs to be reported, determine that the 5-bit BS size and the 1-byte BSR MAC CE format are used, and determine the corresponding LCID to generate the MAC sub-header to find the BSR table of the 5-bit BS size (for example, Table 2). , generate BSR MAC CE.
  • Step 2 The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
  • Step 3 The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
  • Step 1 The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the 5 bit BS size according to the LCID in the MAC sub-header, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 5-bit BS size.
  • Step 2 The base station allocates uplink resources to the terminal according to the reported BSR.
  • Step 3 The base station receives the uplink transmission and subsequent possible BSR reporting.
  • Embodiment 5 Two BSR tables, multiple logical channel group caches are reported (for the above case one).
  • Step 1 When the buffer status of the logical channel group of the terminal needs to be reported, it is determined that the MAC sub-header is generated by using the 8-bit BS size, the corresponding BSR MAC CE format, and the corresponding LCID, and the BSR table of the 8-bit BS size is searched to generate the BSR MAC CE. .
  • Step 2 The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
  • Step 3 The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
  • Step 1 The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the 8-bit BS size according to the LCID in the MAC sub-header, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 8-bit BS size.
  • Step 2 The base station allocates uplink resources to the terminal according to the reported BSR.
  • Step 3 The base station receives the uplink transmission and subsequent possible BSR reporting.
  • the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system.
  • a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the present invention are a method and device for reporting cache state and allocating resources, for solving the problem in the prior art of under-allocation of resources or resource waste caused by the fact that the length of a Buffer Size domain cannot accurately represent the cache state quantity, and as a result, a base station cannot accurately schedule terminal data. According to embodiments of the present invention, a terminal determines the used BSR MAC CE format according to the quantity of logic channel groups which need to report the cache state, generates a BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the cached serial number in the BSR MAC CE format, and reports the generated BSR MAC CE to a network device. By using the solution of the embodiments of the present invention, different BSR MAC CE formats can be selected for different quantities of logic channel groups, so as to schedule the terminal data more accurately, thereby reducing the frequency of occurrence of under-allocation of resources or resource waste.

Description

一种上报缓存状态和分配资源的方法及设备Method and device for reporting cache status and allocating resources
本申请要求在2017年9月25日提交中国专利局、申请号为201710874651.7、申请名称为“一种上报缓存状态和分配资源的方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on September 25, 2017, the Chinese Patent Office, Application No. 201710874651.7, the application of which is entitled "A method and a device for reporting the buffering status and allocating resources", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本发明涉及无线通信技术领域,特别涉及一种上报缓存状态和分配资源的方法及设备。The present invention relates to the field of wireless communication technologies, and in particular, to a method and a device for reporting a buffer status and allocating resources.
背景技术Background technique
长期演进(Long Term Evolution,LTE)媒体接入控制(Medium Access Control,MAC)协议数据单元(Protocol Data Unit,PDU)格式如图1所示。其中,“R”表示预留比特;“F2”和“F”联合指示L域的长度,如果该MAC子头对应的MAC服务数据单元(service Data Unit,SDU)或MAC控制单元(Control Element,CE)的长度大于32767 bytes,F2=1,否则F2=0;“E”用于指示后续是否为MAC子头,如果后续为MAC子头,E=1,否则E=0;“LCID”为逻辑信道组号,每个承载RB对应的逻辑信道组有一个逻辑信道组号LCID,每个MAC CE也对应一个LCID;“L”表示对应MAC SDU或MAC CE长度,单位为byte。Long Term Evolution (LTE) Media Access Control (MAC) Protocol Data Unit (PDU) format is shown in Figure 1. Wherein, "R" indicates a reserved bit; "F2" and "F" jointly indicate the length of the L domain, if the MAC sub-head corresponds to a MAC service data unit (SDU) or a MAC control unit (Control Element, The length of CE) is greater than 32767 bytes, F2=1, otherwise F2=0; “E” is used to indicate whether the subsequent MAC subheader, if the subsequent MAC subheader, E=1, otherwise E=0; “LCID” is The logical channel group number, the logical channel group corresponding to each bearer RB has a logical channel group number LCID, and each MAC CE also corresponds to one LCID; "L" indicates the length of the corresponding MAC SDU or MAC CE, and the unit is byte.
LTE MAC CE可以为变长或固定长度,如果是变长,则MAC子头中携带L域,如果是固定长度,则MAC子头中不带L域。The LTE MAC CE may be of a variable length or a fixed length. If the length is longer, the MAC subheader carries the L field. If the length is fixed, the MAC subheader does not have the L field.
其中,LTE中BSR(Buffer Status Report,缓存状态上报)MAC CE格式有两种:只报一个逻辑信道组的BSR MAC CE和上报全部4个逻辑信道组的BSR MAC CE。There are two types of BSR MAC CEs for the BSR (Buffer Status Report) in the LTE: the BSR MAC CE that reports only one logical channel group and the BSR MAC CE that reports all four logical channel groups.
5G NR(新空口)中,逻辑信道组个数增加到8个,逻辑信道组(Logical Channel Group,LCG)ID需要占用3bit,如果支持1byte的短BSR,Buffer Size(缓存容量)域只有5bit。然而,5G支持的业务速率和传输速率大大提升,缓存状态报告的最大值大大提升,如果统一采用5bit Buffer Size域长度,不能准确表示缓存状态量,使得基站不能准确调度终端数据,造成资源分配不足或资源浪费。In the 5G NR (new air interface), the number of logical channel groups is increased to eight, and the logical channel group (LCG) ID needs to occupy 3 bits. If a short BSR of 1 byte is supported, the Buffer Size field is only 5 bits. However, the service rate and transmission rate supported by the 5G are greatly improved, and the maximum value of the buffer status report is greatly improved. If the 5-bit Buffer Size field length is used uniformly, the buffer status cannot be accurately represented, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation. Or waste of resources.
综上所述,目前Buffer Size域长度不能准确表示缓存状态量,使得基站不能准确调度终端数据,造成资源分配不足或资源浪费。In summary, the current Buffer Size field length cannot accurately represent the buffer status, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation or waste of resources.
发明内容Summary of the invention
本发明提供一种上报缓存状态和分配资源的方法及设备,用以解决现有技术中存在的Buffer Size域长度不能准确表示缓存状态量,使得基站不能准确调度终端数据,造成资源分配不足或资源浪费的问题。The present invention provides a method and a device for reporting a buffer status and allocating resources, which are used to solve the problem that the length of the Buffer Size field existing in the prior art cannot accurately represent the buffer status, so that the base station cannot accurately schedule the terminal data, resulting in insufficient resource allocation or resources. The problem of wasting.
本发明实施例提供的一种上报缓存状态的方法,该方法包括:A method for reporting a cache state is provided by the embodiment of the present invention, where the method includes:
终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;The terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status.
所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;The terminal generates a 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;
所述终端将生成的所述BSR MAC CE上报给网络侧设备。The terminal reports the generated BSR MAC CE to the network side device.
本发明实施例提供的一种分配资源的方法,该方法包括:A method for allocating resources according to an embodiment of the present invention includes:
网络侧设备接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;The network side device receives the 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, where the used BSR MAC CE format is a logical channel group in which the terminal reports the buffer status as needed. The number of
所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;Determining, by the network side device, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE according to the BSR table;
所述网络侧设备根据确定的所述缓存数据量为所述终端分配上行资源。The network side device allocates an uplink resource to the terminal according to the determined amount of the cached data.
本发明实施例提供的一种上报缓存状态的终端,该终端包括:处理器、存储器和收发机;A terminal for reporting a cache state, where the terminal includes: a processor, a memory, and a transceiver;
其中,处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。Determining the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status; generating a 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; The BSR MAC CE is reported to the network side device.
本发明实施例提供的一种分配资源的网络侧设备,该终端包括:处理器、存储器和收发机;A network side device for allocating resources, where the terminal includes: a processor, a memory, and a transceiver;
其中,处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。The receiving terminal generates a 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, where the BSR MAC CE format used is determined by the terminal according to the number of logical channel groups that need to report the buffer status. And determining, according to the BSR table, the amount of cached data corresponding to the cached sequence number in the BSR MAC CE; and allocating the uplink resource to the terminal according to the determined amount of the cached data.
本发明实施例提供的一种上报缓存状态的终端,该终端包括:A terminal for reporting a cache state is provided by the embodiment of the present invention, where the terminal includes:
格式确定模块,用于根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;a format determining module, configured to determine a BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status;
生成模块,用于根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序 号占用的比特数,生成BSR MAC CE;a generating module, configured to generate a BSR MAC CE according to the determined BSR MAC CE format and the number of bits occupied by the cache serial number in the BSR MAC CE format;
上报模块,用于将生成的所述BSR MAC CE上报给网络侧设备。The reporting module is configured to report the generated BSR MAC CE to the network side device.
本发明实施例提供的一种分配资源的网络侧设备,该网络侧设备包括:A network side device for allocating resources according to an embodiment of the present invention, where the network side device includes:
接收模块,用于接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;a receiving module, configured to receive, by the terminal, a BSR MAC CE generated 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, where the used BSR MAC CE format is a logic for the terminal to report the buffer status according to the need The number of channel groups is determined;
数据量确定模块,用于根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;a data quantity determining module, configured to determine, according to the BSR table, a cache data amount corresponding to a cache serial number in the BSR MAC CE;
分配模块,用于根据确定的所述缓存数据量为所述终端分配上行资源。And an allocating module, configured to allocate an uplink resource to the terminal according to the determined amount of the cached data.
本发明实施例提供的一种计算机可存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例上述上报缓存状态的步骤或本发明实施例上述分配资源的步骤。The embodiment of the present invention provides a computer storable medium, which is stored with a computer program, and when the program is executed by the processor, the step of reporting the cached state in the embodiment of the present invention or the step of allocating resources according to the embodiment of the present invention.
本发明实施例终端根据需要上报缓存状态的逻辑信道组的数量确定的使用的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。由于终端根据需要上报缓存状态的逻辑信道组的数量确定使用的BSR MAC CE格式,并根据BSR MAC CE格式中缓存序号占用的比特数生成BSR MAC CE,能够针对不同的逻辑信道组的数量选择不同的BSR MAC CE格式,从而可以更准确调度终端数据,降低了资源分配不足或资源浪费的情况发生的次数。In the embodiment of the present invention, the terminal generates a BSR MAC CE according to the used BSR MAC CE format determined by the number of logical channel groups that need to be reported in the buffer state, and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and generates the BSR. The MAC CE is reported to the network side device. The network side device determines, according to the BSR table, the amount of buffered data corresponding to the buffer sequence number in the BSR MAC CE, and allocates the uplink resource to the terminal according to the determined amount of the buffered data. The terminal can determine the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, and generate a 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 numbers for different logical channel groups. The BSR MAC CE format enables more accurate scheduling of terminal data, reducing the number of times the resource allocation is insufficient or the resource is wasted.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为背景技术中MAC PDU的结构示意图;1 is a schematic structural diagram of a MAC PDU in the background art;
图2为本发明实施例分配资源的系统结构示意图;2 is a schematic structural diagram of a system for allocating resources according to an embodiment of the present invention;
图3A为本发明实施例第一BSR MAC CE格式示意图;3A is a schematic diagram of a format of a first BSR MAC CE according to an embodiment of the present invention;
图3B为本发明实施例第二BSR MAC CE格式示意图;3B is a schematic diagram of a second BSR MAC CE format according to an embodiment of the present invention;
图4为本发明实施例第一种终端的结构示意图;4 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
图5为本发明实施例第一种网络侧设备的结构示意图;FIG. 5 is a schematic structural diagram of a first network side device according to an embodiment of the present invention;
图6为本发明实施例第二种终端的结构示意图;6 is a schematic structural diagram of a second terminal according to an embodiment of the present invention;
图7为本发明实施例第二种网络侧设备的结构示意图;FIG. 7 is a schematic structural diagram of a second network side device according to an embodiment of the present invention;
图8为本发明实施例上报缓存状态的方法流程示意图;FIG. 8 is a schematic flowchart of a method for reporting a buffer status according to an embodiment of the present invention;
图9为本发明实施例分配资源的方法流程示意图。FIG. 9 is a schematic flowchart of a method for allocating resources according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图2所述,本发明实施例分配资源的系统包括:As shown in FIG. 2, the system for allocating resources according to an embodiment of the present invention includes:
终端10,用于根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。The terminal 10 is configured to determine a used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status, and generate a BSR MAC 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. The CE sends the generated BSR MAC CE to the network side device.
网络侧设备20,用于接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。The network side device 20 is configured to receive, by the terminal, a BSR MAC CE generated 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 cache corresponding to the cache serial number in the BSR MAC CE. The amount of data; allocating uplink resources to the terminal according to the determined amount of cached data.
本发明实施例终端根据需要上报缓存状态的逻辑信道组的数量确定的使用的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。由于终端根据需要上报缓存状态的逻辑信道组的数量确定使用的BSR MAC CE格式,并根据BSR MAC CE格式中缓存序号占用的比特数生成BSR MAC CE,能够针对不同的逻辑信道组的数量选择不同的BSR MAC CE格式,从而可以更准确调度终端数据,降低了资源分配不足或资源浪费的情况发生的次数。In the embodiment of the present invention, the terminal generates a BSR MAC CE according to the used BSR MAC CE format determined by the number of logical channel groups that need to be reported in the buffer state, and the number of bits occupied by the buffer sequence number in the BSR MAC CE format, and generates the BSR. The MAC CE is reported to the network side device. The network side device determines, according to the BSR table, the amount of buffered data corresponding to the buffer sequence number in the BSR MAC CE, and allocates the uplink resource to the terminal according to the determined amount of the buffered data. The terminal can determine the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, and generate a 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 numbers for different logical channel groups. The BSR MAC CE format enables more accurate scheduling of terminal data, reducing the number of times the resource allocation is insufficient or the resource is wasted.
本发明实施例根据需要上报缓存状态的逻辑信道组的数量,可以选择使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式或使用能够上报1个逻辑信道组缓存状态的第一BSR MAC CE格式。According to the embodiment of the present invention, the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups or the first BSR capable of reporting the buffer status of one logical channel group may be selected according to the number of logical channel groups that need to report the buffer status. MAC CE format.
其中,终端会存储第一BSR MAC CE格式和第二BSR MAC CE格式,每个BSR MAC CE格式都会对应一个BSR表(table)。The terminal stores the first BSR MAC CE format and the second BSR MAC CE format, and each BSR MAC CE format corresponds to a BSR table.
需要说明的是,BSR表中记录的是缓存序号和缓存数据量范围的对应关系,也就是说,BSR表只是展示缓存序号和缓存数据量范围的对应关系的一种形式,根据需要也可以通过其他形式展现,比如数据库、公式等。不同的展现形式只是对表的简单替换,这些改变都属于等同技术的范围。It should be noted that the BSR table records the correspondence between the cache sequence number and the cache data amount range. That is, the BSR table is only a form that displays the correspondence between the cache sequence number and the cache data amount range, and can also be adopted as needed. Other forms of presentation, such as databases, formulas, etc. Different presentations are simply substitutions of tables that fall within the scope of equivalent technology.
一种可能的第一BSR MAC CE格式如图3A所示,一种可能的第二BSR MAC CE格式如图3B所示。One possible first BSR MAC CE format is shown in FIG. 3A, and one possible second BSR MAC CE format is shown in FIG. 3B.
图3A中的Buffer Size域的长度可以是5bit或其他数值。The length of the Buffer Size field in Figure 3A can be 5 bits or other values.
图3B中的Buffer Size域的长度是以8bit为例。根据需要第二BSR MAC CE格式中的Buffer Size域的长度也可以是其他数值,比如有7bit。The length of the Buffer Size field in Figure 3B is 8 bit. The length of the Buffer Size field in the second BSR MAC CE format may also be other values, such as 7 bits.
图3B中,第一个byte用于指示哪些逻辑信道组需要上报缓存,后续按第一个byte的bitmap(比特位图)中的指示顺序依次上报缓存。这种格式的BSR MAC CE是变长的,可以根据需要上报1~8个逻辑信道组的缓存。In FIG. 3B, the first byte is used to indicate which logical channel groups need to be reported and buffered, and then the cache is sequentially reported in the order indicated in the bitmap of the first byte. The BSR MAC CE in this format is variable length. You can report the cache of 1 to 8 logical channel groups as needed.
例如逻辑信道组LCG1、3、5有数据缓存需要上报,则除了MAC子头外,BSR MAC CE长度为4byte,第1byte是bitmap指示,针对本例设置为01010100(即第1/3/5个逻辑信道组设置为1),第2、3、4个byte分别指示逻辑信道组1、3、5的数据缓存量。For example, if the logical channel groups LCG1, 3, and 5 have data buffers to be reported, the BSR MAC CE is 4 bytes in length except for the MAC sub-header, and the first byte is a bitmap indication. For this example, it is set to 01010100 (that is, the first 1/3/5). The logical channel group is set to 1), and the 2nd, 3rd, and 4th bytes respectively indicate the data buffer amounts of the logical channel groups 1, 3, and 5.
在实施中,终端存储的第二BSR MAC CE格式对应的BSR表可以是与第一BSR MAC CE格式对应的表不同;In an 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;
也可以是第二BSR MAC CE格式对应的BSR表是复用第一BSR MAC CE格式对应的BSR表。The BSR table corresponding to the second BSR MAC CE format is a BSR table corresponding to the first BSR MAC CE format.
其中,第一BSR MAC CE格式中的Buffer Size域的长度大于第二BSR MAC CE格式中的Buffer Size域的长度。The length of the Buffer Size field in the first BSR MAC CE format is greater than the length of the Buffer Size field in the second BSR MAC CE format.
第一BSR MAC CE格式对应的表是根据第一BSR MAC CE格式中的Buffer Size域的长度,采用指数分布式生成的。The table corresponding to the first BSR MAC CE format is generated by exponential distribution according to the length of the Buffer Size field in the first BSR MAC CE format.
如果第二BSR MAC CE格式对应的BSR表是独立的一个表(即不是复用第一BSR MAC CE格式对应的BSR表),则第二BSR MAC CE格式对应的BSR表是根据第二BSR MAC CE格式中的Buffer Size域的长度,采用指数分布式生成的。If the BSR table corresponding to the second BSR MAC CE format is a separate table (that is, the BSR table corresponding to the first BSR MAC CE format is not multiplexed), the BSR table corresponding to the second BSR MAC CE format is based on the second BSR MAC. The length of the Buffer Size field in the CE format is generated by exponential distribution.
下面以第一BSR MAC CE格式中的Buffer Size域的长度为8bit举例说明,其他数值比如7bit,与8bit类似,在此不再赘述。The following is an example of the length of the Buffer Size field in the first BSR MAC CE format. The other values are, for example, 7 bits, which are similar to the 8 bits, and are not described here.
8bit Buffer Size长度生成单个BSR table,可指示的缓存数据量区间为256(即2^8。其中2^X表示2 x,后续相同的描述不再进行解释)个。 The length of the 8bit Buffer Size generates a single BSR table, which indicates that the buffer data amount interval is 256 (that is, 2^8. 2^X indicates 2 x , and the subsequent descriptions are not explained).
为便于说明,以和LTE相同的最大缓存值Bmax=3000000byte为例构造8bit BS对应的 BSR table如下。需要说明的是,表1只是个示例,实际5G NR的最大缓存值Bmax远大于3000000byte,划分的区间也可以根据需要进行色设定。For convenience of explanation, the BSR table corresponding to the 8-bit BS is constructed by taking the same maximum buffer value Bmax=3000000byte as LTE as follows. 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 3000000 bytes, and the divided interval can also be set according to needs.
表1 8bit BS size的BSR table示例Table 1 Example of BSR table for 8bit BS size
Figure PCTCN2018093856-appb-000001
Figure PCTCN2018093856-appb-000001
Figure PCTCN2018093856-appb-000002
Figure PCTCN2018093856-appb-000002
Figure PCTCN2018093856-appb-000003
Figure PCTCN2018093856-appb-000003
下面以第一BSR MAC CE格式中的Buffer Size域的长度为5bit举例说明,其他数值与5bit类似,在此不再赘述。The following is an example of the length of the Buffer Size field in the first BSR MAC CE format. The other values are similar to those of the 5 bit, and are not described here.
5bit Buffer Size长度生成单个BSR table,可指示的缓存数据量区间为32(即2^5)个。The 5bit Buffer Size length generates a single BSR table, and the indicated buffer data amount interval is 32 (that is, 2^5).
为便于说明,以和LTE相同的最大缓存值Bmax=3000000byte为例构造8bit BS对应的BSR table如下。需要说明的是,表2只是个示例,实际5G NR的最大缓存值Bmax远大于3000000byte,划分的区间也可以根据需要进行色设定。For convenience of explanation, the BSR table corresponding to the 8-bit BS is constructed by taking the same maximum cache value Bmax=3000000byte as LTE as follows. 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 3000000 bytes, and the divided interval can also be set according to the needs.
表4 5bit BS size的BSR table示例Table 4 Example of BSR table with 5bit BS size
IndexIndex Buffer Size(BS)value[bytes]Buffer Size(BS)value[bytes] IndexIndex Buffer Size(BS)value[bytes]Buffer Size(BS)value[bytes]
11 BS=0BS=0 1717 4407<BS<=68084407<BS<=6808
22 0<BS<=100<BS<=10 1818 6808<BS<=105176808<BS<=10517
33 10<BS<=1610<BS<=16 1919 10517<BS<=1624610517<BS<=16246
44 16<BS<=2416<BS<=24 2020 16246<BS<=2509616246<BS<=25096
55 24<BS<=3724<BS<=37 21twenty one 25096<BS<=3876725096<BS<=38767
66 37<BS<=5737<BS<=57 22twenty two 38767<BS<=5988638767<BS<=59886
77 57<BS<=8857<BS<=88 23twenty three 59886<BS<=9251159886<BS<=92511
88 88<BS<=13688<BS<=136 24twenty four 92511<BS<=14290992511<BS<=142909
99 136<BS<=210136<BS<=210 2525 142909<BS<=220762142909<BS<=220762
1010 210<BS<=325210<BS<=325 2626 220762<BS<=341028220762<BS<=341028
1111 325<BS<=501325<BS<=501 2727 341028<BS<=526813341028<BS<=526813
1212 501<BS<=774501<BS<=774 2828 526813<BS<=813810526813<BS<=813810
1313 774<BS<=1196774<BS<=1196 2929 813810<BS<=1257155813810<BS<=1257155
1414 1196<BS<=18471196<BS<=1847 3030 1257155<BS<=19420261257155<BS<=1942026
1515 1847<BS<=28531847<BS<=2853 3131 1942026<BS<=30000001942026<BS<=3000000
1616 2853<BS<=44072853<BS<=4407 3232 BS>3000000BS>3000000
比较表1和表2,显然在相同最大值和最小值下,bit数越大,指示范围越准确。指示bit数越少,index取值高时,针对大数据量的指示范围越大。但由于采用了指数分布生成BSR table,小数据量时的缓存数据量指示比较准确。Comparing Table 1 and Table 2, it is clear that under the same maximum and minimum values, the larger the number of bits, the more accurate the indication range. The smaller the number of indicated bits, the larger the indication range for the amount of large data when the index value is high. However, since the BSR table is generated by using the exponential distribution, the amount of cached data when the amount of small data is relatively accurate.
在实施中,终端和基站都需要区分上报的是单个逻辑信道组的BSR还是多个逻辑信道组的BSR,具体采用不同的LCID区分,如LCID1表示上报的是单个逻辑信道组,LCID2表示上报的是多个逻辑信道组。In the implementation, both the terminal and the base station need to distinguish between the BSR of the single logical channel group or the BSR of the multiple logical channel groups, which are distinguished by different LCIDs. For example, LCID1 indicates that a single logical channel group is reported, and LCID2 indicates that the report is reported. Is a group of multiple logical channels.
基于上面内容可知:本发明实施例给出两种方式:方式一:终端采用1个表,即第二 BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;方式二:终端采用2个表,即第二BSR MAC CE对应的BSR的表是独立的表。Based on the above, the embodiment of the present invention provides two modes: mode 1: the terminal adopts one table, that is, the BSR table corresponding to the second BSR MAC CE is a BSR table corresponding to the first BSR MAC CE format; Two: The terminal adopts two tables, that is, the table of the BSR corresponding to the second BSR MAC CE is an independent table.
下面按照上报多个逻辑信道组状态和上报1个逻辑信道组状态为例分别进行介绍。The following describes the status of reporting multiple logical channel groups and reporting the status of one logical channel group as an example.
情况一、上报多个逻辑信道组缓存状态。Case 1: Reporting multiple logical channel group buffer states.
具体的,若需要上报缓存状态的逻辑信道组的数量是多个,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。Specifically, if the number of logical channel groups that need to be reported in the buffer state is multiple, the terminal uses a first BSR MAC CE format that can report a plurality of logical channel group buffer states.
对于终端中的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,还是终端中的第二BSR MAC CE对应的BSR的表是独立的表,需要上报缓存状态的逻辑信道组的数量是多个时,所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。The table of the BSR corresponding to the second BSR MAC CE in the terminal is to multiplex the BSR table corresponding to the 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, and the report buffer needs to be reported. When the number of logical channel groups of the state is plural, the terminal uses a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states.
可选的,所述终端生成BSR MAC CE时,根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Optionally, when the terminal generates the BSR MAC CE, determining, according to the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of each logical channel group;
所述终端将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
相应的,所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。Correspondingly, the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
比如一共有逻辑信道组A和逻辑信道组B两个逻辑信道组。逻辑信道组A的缓存数据量是6523bit,逻辑信道组A的缓存数据量是329bit。以表1为例,终端查表后得到逻辑信道组A的缓存数据量6523bit对应的缓存序号是133;终端查表后得到逻辑信道组B的缓存数据量329bit对应的缓存序号是73。之后,终端将133和73分别置于所述第一BSR MAC CE格式对应的位置中;For example, there are two logical channel groups of logical channel group A and logical channel group B. The amount of buffered data of logical channel group A is 6523 bits, and the amount of buffered data of logical channel group A is 329 bits. Taking Table 1 as an example, after the terminal looks up the table, the buffer number corresponding to the cached data volume 6523 bit of the logical channel group A is 133; after the terminal looks up the table, the cache serial number corresponding to the buffered data volume 329 bit of the logical channel group B is 73. After that, the terminal places 133 and 73 respectively in positions corresponding to the first BSR MAC CE format;
网络侧设备在收到BSR MAC CE的格式为第一BSR MAC CE后,知道终端上报多个逻辑信道组的缓存状态,在确定缓存标识133和73后,根据表1可以知道逻辑信道组A的缓存数据量在6522到6855之间,逻辑信道组B的缓存数量在328和345之间。After receiving the BSR MAC CE in the format of the first BSR MAC CE, the network side device knows that the terminal reports the buffer status of multiple logical channel groups. After determining the cache identifiers 133 and 73, the logical channel group A can be known according to Table 1. The amount of cached data is between 6522 and 6855, and the number of buffers for logical channel group B is between 328 and 345.
情况二、上报1个逻辑信道组缓存状态。Case 2: Reporting a logical channel group buffer status.
对于上报1个逻辑信道组缓存状态,终端采用1个表和终端采用2个表的处理过程有不同,下面分别进行介绍。For reporting the status of a logical channel group buffer, the processing procedure of the terminal using one table and the terminal using two tables is different, which are respectively introduced below.
方式一、终端采用1个表。Method 1: The terminal uses one table.
对于终端采用1个表的方式,可以规定终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;还可以规定终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式,下面分别进行说明。For the terminal to use one table, the terminal may be configured to use a second BSR MAC CE format that can report the buffer status of one logical channel group. The terminal may also be configured to determine the used BSR according to the buffered data volume of the logical channel group. The MAC CE format is described below.
1、终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式。1. The terminal selects a second BSR MAC CE format that can report the buffer status of one logical channel group.
这种方式下不管终端上报的逻辑信道组的缓存数据量是多少,只要上报1个逻辑信道组的缓存状态,都只选择第二BSR MAC CE格式。In this manner, regardless of the amount of buffered data of the logical channel group reported by the terminal, only the second BSR MAC CE format is selected as long as the buffer state of one logical channel group is reported.
这里上报1个逻辑信道组缓存状态可能是1有一个逻辑信道组需要上报;也可能是终端根据获得的上行资源在发送上行传输后可以发送padding BSR,但剩余资源只够发送一个逻辑信道组的BSR。Here, the reporting of a logical channel group buffer state may be that one logical channel group needs to be reported; or the terminal may send a padding BSR after transmitting the uplink transmission according to the obtained uplink resource, but the remaining resources are only enough to send one logical channel group. BSR.
可选的,所述终端生成BSR MAC CE时,根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;Optionally, when the terminal generates the BSR MAC CE, according to the number of bits occupied by the buffer sequence number and the buffered data volume of the logical channel group in the second BSR MAC CE format, the terminal corresponds to the first BSR MAC CE format. Determining, in the BSR table, a cache sequence number corresponding to the amount of buffered data of the logical channel group;
所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
由于第二BSR MAC CE格式的Buffer Size域的比特数小于第一BSR MAC CE格式的Buffer Size域的比特数,所以第二BSR MAC CE格式只能复用第一BSR MAC CE格式对应的表中的部分内容。The second BSR MAC CE format can only be multiplexed in the table corresponding to the first BSR MAC CE format, because the number of bits in the Buffer Size field of the second BSR MAC CE format is smaller than the number of bits in the Buffer Size field of the first BSR MAC CE format. Part of the content.
比如第二BSR MAC CE格式的Buffer Size域为5bit,第一BSR MAC CE格式的Buffer Size域为8bit,则第二BSR MAC CE格式只能复用第二BSR MAC CE格式中的32个缓存序号。For example, if the Buffer Size field of the second BSR MAC CE format is 5 bits, and the Buffer Size field of the first BSR MAC CE format is 8 bits, the second BSR MAC CE format can only multiplex 32 cache numbers in the second BSR MAC CE format. .
基于此,本发明实施例给出一种可行的方式:就是复用第二BSR MAC CE格式中的前(2^X-1)个缓存序号,如果前(2^X-1)个缓存序号不能表示,可以将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量。其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Based on this, the embodiment of the present invention provides a feasible manner: multiplexing the first (2^X-1) cache serial numbers in the second BSR MAC CE format, if the front (2^X-1) cache serial numbers It is not possible to indicate that the cache sequence number can be set to a maximum value, indicating that the amount of cache data has exceeded the amount of cache data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format. Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
具体的:若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或Specifically, if the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the terminal is configured according to the first BSR. a BSR table corresponding to the MAC CE format, determining a cache serial number corresponding to the buffered data volume of the logical channel group; or
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则所述终端将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量。If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the terminal sets the cache sequence number to a maximum value, indicating The amount of cached data exceeds the amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format.
相应的,若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号,则所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或Correspondingly, if the cache sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side device is configured according to the first The BSR table corresponding to the BSR MAC CE format determines the amount of cached data corresponding to the cache sequence number in the BSR MAC CE; or
若所述BSR MAC CE中的缓存序号为最大值,则所述网络侧设备确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量。If the number of the buffer in the BSR MAC CE is the maximum value, the network side device determines that the buffered data volume of the terminal exceeds the (2^X-1) cache in the BSR table corresponding to the BSR MAC CE format. The amount of cached data represented by the sequence number.
以第二BSR MAC CE格式的Buffer Size域为5bit,第一BSR MAC CE格式的Buffer Size域为8bit为例:The Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
如果终端需要上报的逻辑信道组的缓存数据量可以用表1中前31个缓存序号表示,比如逻辑信道组的缓存数据量是22,则查找表1可以确定对应的缓存序号是17。而17可以用5bit进行表示,所以确定需要上报的逻辑信道组的缓存数据量对应的缓存标识为17;If the amount of buffered data of the logical channel group that the terminal needs to report can be represented by the first 31 cache numbers in Table 1, for example, the buffered data volume of the logical channel group is 22, the lookup table 1 can determine that the corresponding cache serial number is 17. 17 can be represented by 5 bits, so the cache identifier corresponding to the amount of cached data of the logical channel group that needs to be reported is 17;
相应的,网络侧设备在收到BSR MAC CE的格式为第二BSR MAC CE后,知道终端上报一个逻辑信道组的缓存状态,在确定缓存标识是17后,可以查表1确定逻辑信道组的缓存数据量是22。Correspondingly, after receiving the BSR MAC CE in 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. After determining that the cache identifier is 17, it can check Table 1 to determine the logical channel group. The amount of cached data is 22.
如果终端需要上报的逻辑信道组的缓存数据量不能用表1中前31个缓存序号表示,比如逻辑信道组的缓存数据量是46,则查找表1可以确定对应的缓存序号是33,超过了31,确定需要上报的逻辑信道组的缓存数据量对应的缓存标识为5bit表示的最大值,11111即32。If the amount of cached data of the logical channel group that the terminal needs to report cannot be represented by the first 31 cache numbers in Table 1, for example, the cached data volume of the logical channel group is 46, the lookup table 1 can determine that the corresponding cache serial number is 33, which exceeds 31. Determine a cache identifier corresponding to the amount of buffered data of the logical channel group to be reported as a maximum value represented by 5 bits, and 11111 is 32.
相应的,网络侧设备在收到BSR MAC CE的格式为第二BSR MAC CE后,知道终端上报一个逻辑信道组的缓存状态,在确定缓存标识是32后,可以确定逻辑信道组的缓存数据量超过43。Correspondingly, after receiving the BSR MAC CE in 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. After determining that the cache identifier is 32, the amount of the buffered data of the logical channel group can be determined. More than 43.
2、终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。2. The terminal determines the BSR MAC CE format to be used according to the buffered data volume of the logical channel group.
由于第二BSR MAC CE格式的Buffer Size域的比特数小于第一BSR MAC CE格式的Buffer Size域的比特数,所以第二BSR MAC CE格式只能复用第一BSR MAC CE格式对应的表中的部分内容。The second BSR MAC CE format can only be multiplexed in the table corresponding to the first BSR MAC CE format, because the number of bits in the Buffer Size field of the second BSR MAC CE format is smaller than the number of bits in the Buffer Size field of the first BSR MAC CE format. Part of the content.
比如第二BSR MAC CE格式的Buffer Size域为5bit,第一BSR MAC CE格式的Buffer Size域为8bit,则第二BSR MAC CE格式只能复用第二BSR MAC CE格式中的32个缓存序号。For example, if the Buffer Size field of the second BSR MAC CE format is 5 bits, and the Buffer Size field of the first BSR MAC CE format is 8 bits, the second BSR MAC CE format can only multiplex 32 cache numbers in the second BSR MAC CE format. .
基于此,本发明实施例给出一种可行的方式:就是复用第二BSR MAC CE格式中的前(2^X)个缓存序号,如果前(2^X)个缓存序号不能表示,则选择第一BSR MAC CE格式(也就是说,如果前(2^X)个缓存序号不能表示,即使只有一个逻辑信道组的缓存状态需要上报,也选择第一BSR MAC CE格式)。Based on this, the embodiment of the present invention provides a feasible manner: multiplexing the first (2^X) cache serial numbers in the second BSR MAC CE format, if the previous (2^X) cache serial numbers cannot be represented, The first BSR MAC CE format is selected (that is, if the first (2^X) cache sequence numbers cannot be represented, the first BSR MAC CE format is selected even if only one logical channel group buffer state needs to be reported.
具体的,所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或Specifically, the first 2×X cache numbers of the BSR table corresponding to the first BSR MAC CE format cannot represent the buffered data volume of the logical channel group, and the terminal uses the buffer status that can report multiple logical channel groups. a first BSR MAC CE format, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所 述逻辑信道组的缓存数据量,则所述终端使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format, can be used to indicate the amount of buffered data of the logical channel group. .
可选的,所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。Optionally, the terminal determines, according to the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group, and places the determined cache sequence number on the first BSR MAC. The CE format corresponds to the location.
相应的,所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。Correspondingly, the network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
以第二BSR MAC CE格式的Buffer Size域为5bit,第一BSR MAC CE格式的Buffer Size域为8bit为例:The Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
如果终端需要上报的逻辑信道组的缓存数据量可以用表1中前32个缓存序号表示,比如逻辑信道组的缓存数据量是22,则查找表1可以确定对应的缓存序号是17。而17可以用5bit进行表示,所以确定需要上报的逻辑信道组的缓存数据量对应的缓存标识为17;If the amount of buffered data of the logical channel group that the terminal needs to report can be represented by the first 32 cache numbers in Table 1, for example, the buffered data volume of the logical channel group is 22, the lookup table 1 can determine that the corresponding cache serial number is 17. 17 can be represented by 5 bits, so the cache identifier corresponding to the amount of cached data of the logical channel group that needs to be reported is 17;
相应的,网络侧设备在收到BSR MAC CE的格式为第二BSR MAC CE后,知道终端上报一个逻辑信道组的缓存状态,在确定缓存标识是17后,可以查表1确定逻辑信道组的缓存数据量是22。Correspondingly, after receiving the BSR MAC CE in 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. After determining that the cache identifier is 17, it can check Table 1 to determine the logical channel group. The amount of cached data is 22.
如果终端需要上报的逻辑信道组的缓存数据量不能用表1中前32个缓存序号表示,比如逻辑信道组的缓存数据量是46,则查找表1可以确定对应的缓存序号是33,超过了32,此时终端选择采用第一BSR MAC CE的格式上报,对应的缓存序号是33。If the amount of cached data of the logical channel group that the terminal needs to report cannot be represented by the first 32 cache numbers in Table 1, for example, the buffered data volume of the logical channel group is 46, the lookup table 1 can determine that the corresponding cache serial number is 33, which exceeds 32. At this time, the terminal chooses to report in the format of the first BSR MAC CE, and the corresponding cache serial number is 33.
相应的,网络侧设备收到BSR MAC CE的格式为第一BSR MAC CE,在确定缓存标识是33后,查找表1可以确定逻辑信道组的缓存数据量是44或45。Correspondingly, the network side device receives the BSR MAC CE format as the first BSR MAC CE. After determining that the cache identifier is 33, the lookup table 1 can determine that the cached data volume of the logical channel group is 44 or 45.
方式二、终端采用2个表。Method 2: The terminal uses two tables.
对于终端采用2个表的方式,终端可以根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号。For the terminal to adopt two tables, the terminal may determine, according to the BSR table corresponding to the second BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group.
所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
相应的,所述网络侧设备在收到的BSR MAC CE是第二BSR MAC CE格式后,根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。Correspondingly, after the received BSR MAC CE is in the second BSR MAC CE format, the network side device determines, according to the BSR table corresponding to the second BSR MAC CE format, the cache data corresponding to the cache sequence number in the BSR MAC CE. the amount.
以第二BSR MAC CE格式的Buffer Size域为5bit,第一BSR MAC CE格式的Buffer Size域为8bit为例:The Buffer Size field in the second BSR MAC CE format is 5 bits, and the Buffer Size field in the first BSR MAC CE format is 8 bits.
如果终端需要上报的逻辑信道组的缓存数据量是22,则查找表2可以确定对应的缓存序号是3。If the amount of buffered data of the logical channel group that the terminal needs to report is 22, the lookup table 2 can determine that the corresponding cache serial number is 3.
相应的,网络侧设备在收到BSR MAC CE的格式为第二BSR MAC CE后,知道终端上报一个逻辑信道组的缓存状态,在确定缓存标识是3后,可以查表2确定逻辑信道组的缓存数据量在16到24之间。Correspondingly, after receiving the BSR MAC CE in 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. After determining that the cache identifier is 3, the device 2 can determine the logical channel group. The amount of cached data is between 16 and 24.
对于终端采用2个表的情况,如果终端要上报一个逻辑信道组的缓存状态,则选择采用第一BSR MAC CE,如果终端要上报多个逻辑信道组的缓存状态,则选择采用第二BSR MAC CE。If the terminal uses two tables, if the terminal is to report the buffer status of a logical channel group, the first BSR MAC CE is selected. If the terminal reports the buffer status of multiple logical channel groups, the second BSR MAC is selected. CE.
其中,本发明实施例的终端又称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。The terminal of the embodiment of the present invention is also referred to as a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc., and is a voice and/or provided to the user. Data connectivity devices, such as handheld devices with wireless connectivity, in-vehicle devices, and the like. Currently, some examples of terminals are: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality. (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid Wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and the like.
其中,本发明实施例的网络侧设备可以是无线接入网(Radio Access Network,RAN)节点。RAN是网络中将终端接入到无线网络的部分。RAN节点(或设备)为无线接入网中的节点(或设备),又可以称为基站。目前,一些RAN节点的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。另外,在一种网络结构中,RAN可以包括集中单元(centralized unit,CU)节点和分布单元(distributed unit,DU)节点。这种结构将长期演进(long term evolution,LTE)系统中eNB的协议层拆分开,部分协议层的功能放在CU集中控制,剩下部分或全部协议层的功能分布在DU中,由CU集中控制DU。The network side device in the embodiment of the present invention may be a radio access network (RAN) node. The RAN is the part of the network that connects 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: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), and Node B (Node). B, NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit , BBU), or wireless fidelity (Wifi) access point (AP). In addition, in a network structure, the RAN may include a centralized unit (CU) node and a distributed unit (DU) node. This structure separates the protocol layer of the eNB in the long term evolution (LTE) system, and the functions of some protocol layers are centrally controlled in the CU, and the functions of the remaining part or all of the protocol layers are distributed in the DU by the CU. Centrally control the DU.
如图4所述,本发明实施例第一种终端包括:处理器400、存储器401、收发机402以及总线接口。As shown in FIG. 4, the first terminal of the embodiment of the present invention includes: a processor 400, a memory 401, a transceiver 402, and a bus interface.
处理器400负责管理总线架构和通常的处理,存储器401可以存储处理器400在执行操作时所使用的数据。收发机402用于在处理器400的控制下接收和发送数据。The processor 400 is responsible for managing the bus architecture and general processing, and the memory 401 can store data used by the processor 400 in performing operations. The transceiver 402 is configured to receive and transmit data under the control of the processor 400.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器400代表的一个或多个 处理器和存储器401代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器400负责管理总线架构和通常的处理,存储器401可以存储处理器400在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 400 and various circuits of memory represented by memory 401. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The processor 400 is responsible for managing the bus architecture and general processing, and the memory 401 can store data used by the processor 400 in performing operations.
本发明实施例揭示的流程,可以应用于处理器400中,或者由处理器400实现。在实现过程中,信号处理流程的各步骤可以通过处理器400中的硬件的集成逻辑电路或者软件形式的指令完成。处理器400可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器401,处理器400读取存储器401中的信息,结合其硬件完成信号处理流程的步骤。The flow disclosed in the embodiment of the present invention may be applied to the processor 400 or implemented by the processor 400. In the implementation process, each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 400 or an instruction in the form of software. The processor 400 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can be implemented or executed in an embodiment of the invention. Various methods, steps, and logic blocks of the disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the signal processing flow in conjunction with its hardware.
具体地,处理器400,用于读取存储器401中的程序并执行:Specifically, the processor 400 is configured to read a program in the memory 401 and execute:
根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。Determining the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status; generating a 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; The BSR MAC CE is reported to the network side device.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
若需要上报缓存状态的逻辑信道组的数量是多个,则使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is multiple, the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups is used.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of each logical channel group;
将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The determined cache sequence number is placed in a location corresponding to the first BSR MAC CE format.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
若需要上报缓存状态的逻辑信道组的数量是1个,则选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;或If the number of logical channel groups that need to be reported in the buffer state is one, the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is selected; or
若需要上报缓存状态的逻辑信道组的数量是1个,则根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is one, the BSR MAC CE format used is determined according to the amount of buffered data of the logical channel group.
可选的,所述处理器400选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC  CE格式;Optionally, the processor 400 selects to use a second BSR MAC CE format that can report a logical channel group buffer status;
所述处理器400具体用于:The processor 400 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the logic Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或If the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the BSR corresponding to the first BSR MAC CE format is used. a table, determining a cache serial number corresponding to the amount of cached data of the logical channel group; or
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the cache sequence number is set to a maximum value, indicating the amount of cached data. The amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format has been exceeded;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述处理器400选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;Optionally, the processor 400 selects to use a second BSR MAC CE format that can report a logical channel group buffer status;
所述处理器400具体用于:The processor 400 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the second BSR MAC CE format, the logical channel group, if the BSR table corresponding to the second BSR MAC CE of the terminal is not the multiplexed BSR table corresponding to the first BSR MAC CE format The cache serial number corresponding to the amount of cached data;
将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format If the amount of cached data of the logical channel group cannot be represented, a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所述逻辑信道组的缓存数据量,则使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group is used, and X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述处理器400具体用于:Optionally, the processor 400 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。And determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of the logical channel group, and placing the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
如图5所述,本发明实施例第一种网络侧设备包括:处理器500、存储器501、收发机502以及总线接口。As shown in FIG. 5, the first network side device in the embodiment of the present invention includes: a processor 500, a memory 501, a transceiver 502, and a bus interface.
处理器500负责管理总线架构和通常的处理,存储器501可以存储处理器500在执行操作时所使用的数据。收发机502用于在处理器500的控制下接收和发送数据。The processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations. The transceiver 502 is configured to receive and transmit data under the control of the processor 500.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器500代表的一个或多个处理器和存储器501代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器500负责管理总线架构和通常的处理,存储器501可以存储处理器500在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 500 and various circuits of memory represented by memory 501. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The processor 500 is responsible for managing the bus architecture and general processing, and the memory 501 can store data used by the processor 500 when performing operations.
本发明实施例揭示的流程,可以应用于处理器500中,或者由处理器500实现。在实现过程中,信号处理流程的各步骤可以通过处理器500中的硬件的集成逻辑电路或者软件形式的指令完成。处理器500可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器501,处理器500读取存储器501中的信息,结合其硬件完成信号处理流程的步骤。The flow disclosed in the embodiment of the present invention may be applied to the processor 500 or implemented by the processor 500. In the implementation process, each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 500 or an instruction in the form of software. The processor 500 can be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can be implemented or executed in an embodiment of the invention. Various methods, steps, and logic blocks of the disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501 and completes the steps of the signal processing flow in conjunction with its hardware.
具体地,处理器500,用于读取存储器501中的程序并执行:Specifically, the processor 500 is configured to read a program in the memory 501 and execute:
接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。The receiving terminal generates a 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, where the BSR MAC CE format used is determined by the terminal according to the number of logical channel groups that need to report the buffer status. And determining, according to the BSR table, the amount of cached data corresponding to the cached sequence number in the BSR MAC CE; and allocating the uplink resource to the terminal according to the determined amount of the cached data.
可选的,所述BSR MAC CE的格式是能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式;Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
所述处理器500具体用于:The processor 500 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对 应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述处理器500具体用于:The processor 500 is specifically configured to:
若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号,则根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或If the buffer sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the BSR table corresponding to the first BSR MAC CE format is used. , determining the amount of cached data corresponding to the cache serial number in the BSR MAC CE; or
若所述BSR MAC CE中的缓存序号为最大值,则确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the buffer sequence number in the BSR MAC CE is the maximum value, it is determined that the buffered data volume of the terminal exceeds the cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the BSR MAC CE format. the amount;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表;Optionally, the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR. BSR table corresponding to the MAC CE format;
所述处理器500具体用于:The processor 500 is specifically configured to:
根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述处理器500具体用于:The processor 500 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
如图6所述,本发明实施例第二种终端包括:As shown in FIG. 6, the second terminal of the embodiment of the present invention includes:
格式确定模块600,用于根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;The format determining module 600 is configured to determine the used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status;
生成模块601,用于根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;The generating module 601 is configured to generate a 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;
上报模块602,用于将生成的所述BSR MAC CE上报给网络侧设备。The reporting module 602 is configured to report the generated BSR MAC CE to the network side device.
可选的,所述格式确定模块600具体用于:Optionally, the format determining module 600 is specifically configured to:
若需要上报缓存状态的逻辑信道组的数量是多个,则使用能够上报多个逻辑信道组缓 存状态的第一BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is multiple, the first BSR MAC CE format capable of reporting a plurality of logical channel group cache states is used.
可选的,所述生成模块601具体用于:Optionally, the generating module 601 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of each logical channel group;
将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The determined cache sequence number is placed in a location corresponding to the first BSR MAC CE format.
可选的,所述格式确定模块600具体用于:Optionally, the format determining module 600 is specifically configured to:
若需要上报缓存状态的逻辑信道组的数量是1个,则选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;或If the number of logical channel groups that need to be reported in the buffer state is one, the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is selected; or
若需要上报缓存状态的逻辑信道组的数量是1个,则根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is one, the BSR MAC CE format used is determined according to the amount of buffered data of the logical channel group.
可选的,所述处理器选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;Optionally, the processor selects to use a second BSR MAC CE format that can report a logical channel group buffer status;
所述生成模块601具体用于:The generating module 601 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the logic Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
可选的,所述生成模块601具体用于:Optionally, the generating module 601 is specifically configured to:
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或If the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the BSR corresponding to the first BSR MAC CE format is used. a table, determining a cache serial number corresponding to the amount of cached data of the logical channel group; or
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the cache sequence number is set to a maximum value, indicating the amount of cached data. The amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format has been exceeded;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述处理器选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;Optionally, the processor selects to use a second BSR MAC CE format that can report a logical channel group buffer status;
所述生成模块601具体用于:The generating module 601 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的 缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the second BSR MAC CE format, the logical channel group, if the BSR table corresponding to the second BSR MAC CE of the terminal is not the multiplexed BSR table corresponding to the first BSR MAC CE format The cache serial number corresponding to the amount of cached data;
将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
可选的,所述格式确定模块600具体用于:Optionally, the format determining module 600 is specifically configured to:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format If the amount of cached data of the logical channel group cannot be represented, a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所述逻辑信道组的缓存数据量,则使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group is used, and X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述生成模块601具体用于:Optionally, the generating module 601 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。And determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of the logical channel group, and placing the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
如图7所述,本发明实施例第二种网络侧设备包括:As shown in FIG. 7, the second network side device of the embodiment of the present invention includes:
接收模块700,用于接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;The receiving module 700 is configured to receive, by the terminal, a BSR MAC CE generated 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, where the used BSR MAC CE format is that the terminal reports the buffer status according to requirements. The number of logical channel groups is determined;
数据量确定模块701,用于根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;The data quantity determining module 701 is configured to determine, according to the BSR table, a cache data amount corresponding to the cache serial number in the BSR MAC CE;
分配模块702,用于根据确定的所述缓存数据量为所述终端分配上行资源。The allocating module 702 is configured to allocate an uplink resource to the terminal according to the determined amount of the buffered data.
可选的,所述BSR MAC CE的格式是能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式;Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
所述数据量确定模块701具体用于:The data amount determining module 701 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述所述数据量确定模块701具体用于:The data amount determining module 701 is specifically configured to:
若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前 (2^X-1)个缓存序号,则根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或If the buffer sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the BSR table corresponding to the first BSR MAC CE format is used. , determining the amount of cached data corresponding to the cache serial number in the BSR MAC CE; or
若所述BSR MAC CE中的缓存序号为最大值,则确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the buffer sequence number in the BSR MAC CE is the maximum value, it is determined that the buffered data volume of the terminal exceeds the cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the BSR MAC CE format. the amount;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表;Optionally, the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR. BSR table corresponding to the MAC CE format;
所述所述数据量确定模块701具体用于:The data amount determining module 701 is specifically configured to:
根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述所述数据量确定模块701具体用于:The data amount determining module 701 is specifically configured to:
根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
其中,本发明实施例还提供的一种计算机可存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例上述终端的步骤或本发明实施例上述网络侧设备的步骤。The embodiment of the present invention further provides a computer storable medium, where the computer program is stored, and when the program is executed by the processor, the steps of the terminal in the embodiment of the present invention or the steps of the network side device in the embodiment of the present invention are implemented. .
基于同一发明构思,本发明实施例中还提供了一种上报缓存状态的方法,由于该方法对应的设备是本发明实施例分配资源的系统中的终端,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见设备的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention further provides a method for reporting a cache state, where the device corresponding to the method is a terminal in a system for allocating resources according to an embodiment of the present invention, and the method solves the problem and the device Similarly, the implementation of the method can be referred to the implementation of the device, and the repeated description will not be repeated.
如图8所述,本发明实施例上报缓存状态的方法包括:As shown in FIG. 8, the method for reporting a cache state according to an embodiment of the present invention includes:
步骤800、终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;Step 800: The terminal determines the used BSR MAC CE format according to the number of logical channel groups that need to report the buffer status.
步骤801、所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;Step 801: The terminal generates a 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.
步骤802、所述终端将生成的所述BSR MAC CE上报给网络侧设备。Step 802: The terminal reports the generated BSR MAC CE to the network side device.
可选的,所述终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式,包括:Optionally, the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
若需要上报缓存状态的逻辑信道组的数量是多个,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is multiple, the terminal uses a first BSR MAC CE format that can report a plurality of logical channel group buffer states.
可选的,所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:Optionally, the terminal generates a 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:
所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Determining, by the terminal, the cache sequence number corresponding to the buffered data volume of each logical channel group according to the BSR table corresponding to the first BSR MAC CE format;
所述终端将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
可选的,所述终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式,包括:Optionally, the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
若需要上报缓存状态的逻辑信道组的数量是1个,则所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;或If the number of logical channel groups that need to be reported in the buffer state is one, the terminal selects to use a second BSR MAC CE format capable of reporting a logical channel group buffer state; or
若需要上报缓存状态的逻辑信道组的数量是1个,则所述终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is one, the terminal determines the BSR MAC CE format to be used according to the buffered data volume of the logical channel group.
可选的,所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;Optionally, the terminal selects to use a second BSR MAC CE format that can report the buffer status of one logical channel group;
所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The terminal generates a 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:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,则所述终端根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, the terminal uses the number of bits occupied by the buffer sequence number in the second BSR MAC CE format. Determining, by the BSR table corresponding to the first BSR MAC CE format, a cache sequence number corresponding to the buffered data volume of the logical channel group;
所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
可选的,所述终端根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号,包括:Optionally, the terminal determines, according to the number of bits occupied by the buffer sequence number and the buffered data volume of the logical channel group in the second BSR MAC CE format, from the BSR table corresponding to the first BSR MAC CE format. The cache serial number corresponding to the buffered data volume of the logical channel group, including:
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或If the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the terminal according to the first BSR MAC CE format Corresponding BSR table, determining a cache serial number corresponding to the buffered data volume of the logical channel group; or
若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则所述终端将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the terminal sets the cache sequence number to a maximum value, indicating The amount of cached data exceeds the amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;Optionally, the terminal selects to use a second BSR MAC CE format that can report the buffer status of one logical channel group;
所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The terminal generates a 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:
若所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表,则所述终端根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is not the multiplexed BSR table corresponding to the first BSR MAC CE format, the terminal determines, according to the BSR table corresponding to the second BSR MAC CE format, a cache serial number corresponding to the amount of buffered data of the logical channel group;
所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
可选的,所述终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式,包括:Optionally, the terminal determines, according to the buffered data volume of the logical channel group, a format of the used BSR MAC CE, including:
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The first BSR MAC CE format capable of reporting the buffer status of the plurality of logical channel groups is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format. ;or
若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所述逻辑信道组的缓存数据量,则所述终端使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format, can be used to indicate the amount of buffered data of the logical channel group. .
可选的,所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:Optionally, the terminal generates a 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:
所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。Determining, by the terminal, the cache sequence number corresponding to the buffered data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and placing the determined cache sequence number in the first BSR MAC CE format. In the location.
如图9所述,本发明实施例分配资源的方法包括:As shown in FIG. 9, the method for allocating resources according to an embodiment of the present invention includes:
步骤900、网络侧设备接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;Step 900: The network side device receives the 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, where the BSR MAC CE format used by the terminal is reported by the terminal according to the need to report the buffer status. The number of logical channel groups is determined;
步骤901、所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;Step 901: The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
步骤902、所述网络侧设备根据确定的所述缓存数据量为所述终端分配上行资源。Step 902: The network side device allocates an uplink resource to the terminal according to the determined amount of the cached data.
可选的,所述BSR MAC CE的格式是能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式;Optionally, the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of multiple logical channel groups;
所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号,则所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或And if the cache sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side device is configured according to the first BSR MAC CE. The BSR table corresponding to the format determines the amount of cache data corresponding to the cache sequence number in the BSR MAC CE; or
若所述BSR MAC CE中的缓存序号为最大值,则所述网络侧设备确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the number of the buffer in the BSR MAC CE is the maximum value, the network side device determines that the buffered data volume of the terminal exceeds the (2^X-1) cache in the BSR table corresponding to the BSR MAC CE format. The amount of cached data represented by the sequence number;
其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表;Optionally, the format of the BSR MAC CE is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is not the first BSR. BSR table corresponding to the MAC CE format;
所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
所述网络侧设备根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
可选的,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;Optionally, the BSR MAC CE format is a second BSR MAC CE format that can report a logical channel group buffer state, and the BSR table corresponding to the second BSR MAC CE of the terminal is a multiplexed first BSR. BSR table corresponding to the MAC CE format;
所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE 中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
下面列举几个例子,对本发明的方案进行详细说明。The scheme of the present invention will be described in detail below by way of a few examples.
实施例1:一个BSR table,一个逻辑信道组BSR上报,5bit BS size(针对上述情况二的方式一中的1)。Embodiment 1: A BSR table, a logical channel group BSR report, 5 bit BS size (1 in the first mode of the second case).
终端侧:Terminal side:
步骤1:终端只有一个逻辑信道组的缓存状态需要上报,选择短BSR的LCID组织MAC子头;或者终端根据获得的上行资源在发送上行传输后可以发送padding BSR,但剩余资源只够发送一个逻辑信道组的BSR,即truncated BSR,选择truncated BSR的LCID组织MAC子头。Step 1: The buffer state of only one logical channel group needs to be reported, and the LCID of the short BSR is selected to organize the MAC sub-header; or the terminal can send the padding BSR after transmitting the uplink transmission according to the obtained uplink resource, but the remaining resources are only enough to send a logic. The BSR of the channel group, that is, the truncated BSR, selects the LCID of the truncated BSR to organize the MAC subheader.
选择1byte的BSR MAC CE格式(例如图3A的格式),其中BS size为5bit。根据该逻辑信道组的缓存数据量,在8bit BS size的BSR table中(例如表1),选择前31个指示序号index填入BSR MAC CE。如果缓存数据量大于第31个index指示的数据量,在BS域填报全1。The 1 byte BSR MAC CE format (for example, the format of FIG. 3A) is selected, where the BS size is 5 bits. According to the amount of buffered data of the logical channel group, in the BSR table of the 8-bit BS size (for example, Table 1), the first 31 index numbers are selected to be filled in the BSR MAC CE. If the amount of buffered data is greater than the amount of data indicated by the 31st index, all 1s are reported in the BS field.
步骤2:终端在分配的上行资源上发送组织好的BSR MAC CE及其子头。Step 2: The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
步骤3:终端按照基站分配的上行资源发送上行缓存数据,如果有padding资源,上报padding BSR,反映最新BSR情况。Step 3: The terminal sends the uplink buffer data according to the uplink resource allocated by the base station. If there is a padding resource, the terminal reports the padding BSR to reflect the latest BSR.
基站:Base station:
步骤1:基站接收终端的上行传输,确定终端上报的BSR,根据MAC子头中的LCID,确定为短BSR或truncated BSR,并确定1byte BSR MAC CE的格式后读取BSR MAC CE。Step 1: The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the short BSR or the truncated BSR according to the LCID in the MAC subheader, and determines the format of the 1 byte BSR MAC CE and then reads the BSR MAC CE.
步骤2:基站根据上报的BSR为终端分配上行资源。Step 2: The base station allocates uplink resources to the terminal according to the reported BSR.
步骤3:基站接收上行传输和后续可能的BSR上报。Step 3: The base station receives the uplink transmission and subsequent possible BSR reporting.
实施例2:一个BSR table,一个逻辑信道组BSR上报,终端选择使用5bit BS size和8bit BS size中的一个(针对上述情况二的方式一中的2)。Embodiment 2: A BSR table, a logical channel group BSR is reported, and the terminal selects one of a 5-bit BS size and an 8-bit BS size (2 in the first mode of the second case).
终端侧:Terminal side:
步骤1:终端只有一个逻辑信道组的缓存状态需要上报时,根据终端缓存数据量选择使用的BS size为5bit还是8bit,如果缓存数据量可以由BSR table(表1)的前32个索引中的一个表示,选择5bit BS size,否则选择8bit BS size;根据选定的BS size,确定对应的LCID生成MAC子头,以及对应的BSR MAC CE格式,生成BSR MAC CE。Step 1: When the buffer status of only one logical channel group needs to be reported, the BS size selected according to the amount of data buffered by the terminal is 5 bits or 8 bits. If the buffered data volume can be used in the first 32 indexes of the BSR table (Table 1) One indicates that the 5-bit BS size is selected, otherwise the 8-bit BS size is selected. According to the selected BS size, the corresponding LCID is generated to generate the MAC sub-header and the corresponding BSR MAC CE format to generate the BSR MAC CE.
步骤2:终端在分配的上行资源上发送组织好的BSR MAC CE及其子头。Step 2: The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
步骤3:终端按照基站分配的上行资源发送上行缓存数据,如果有padding资源,上报padding BSR,反映最新BSR情况。Step 3: The terminal sends the uplink buffer data according to the uplink resource allocated by the base station. If there is a padding resource, the terminal reports the padding BSR to reflect the latest BSR.
基站侧:Base station side:
步骤1:基站接收终端的上行传输,确定终端上报的BSR,根据MAC子头中的LCID,确定为5bit还是8bit BS size及其对应的BSR MAC CE。Step 1: The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines whether it is 5 bit or 8 bit BS size and its corresponding BSR MAC CE according to the LCID in the MAC sub-header.
步骤2:基站根据上报的BSR为终端分配上行资源。Step 2: The base station allocates uplink resources to the terminal according to the reported BSR.
步骤3:基站接收上行传输和后续可能的BSR上报。Step 3: The base station receives the uplink transmission and subsequent possible BSR reporting.
实施例3:一个BSR table,多个逻辑信道组缓存上报(对应情况一)。Embodiment 3: A BSR table, multiple logical channel group caches are reported (corresponding to case 1).
终端侧:Terminal side:
步骤1:终端有多个逻辑信道组的缓存状态需要上报时,使用8bit BS size;确定对应的LCID生成MAC子头以及对应的BSR MAC CE格式,生成BSR MAC CE。Step 1: When the buffer status of the logical channel group of the terminal needs to be reported, the 8-bit BS size is used; the corresponding LCID is generated to generate the MAC sub-header and the corresponding BSR MAC CE format, and the BSR MAC CE is generated.
步骤2:终端在分配的上行资源上发送组织好的BSR MAC CE及其子头。Step 2: The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
步骤3:终端按照基站分配的上行资源发送上行缓存数据。Step 3: The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
基站侧:Base station side:
步骤1:基站接收终端上行传输,确定终端上报的BSR,根据MAC子头中的LCID,确定为8bit BS size及其对应的BSR MAC CE格式。Step 1: The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, and determines the 8-bit BS size and its corresponding BSR MAC CE format according to the LCID in the MAC sub-header.
步骤2:基站根据上报的BSR为终端分配上行资源。Step 2: The base station allocates uplink resources to the terminal according to the reported BSR.
步骤3:基站接收上行传输和后续可能的BSR上报。Step 3: The base station receives the uplink transmission and subsequent possible BSR reporting.
实施例4:两个BSR table,单个逻辑信道组缓存上报(针对上述情况二的方式二)。Embodiment 4: Two BSR tables, a single logical channel group cache is reported (for the second case of the second case).
终端侧:Terminal side:
步骤1:终端只有一个逻辑信道组的缓存状态需要上报时,确定使用5bit BS size和1byte BSR MAC CE格式,并确定对应的LCID生成MAC子头,查找5bit BS size的BSR table(例如表2),生成BSR MAC CE。Step 1: When the buffer status of only one logical channel group needs to be reported, determine that the 5-bit BS size and the 1-byte BSR MAC CE format are used, and determine the corresponding LCID to generate the MAC sub-header to find the BSR table of the 5-bit BS size (for example, Table 2). , generate BSR MAC CE.
步骤2:终端在分配的上行资源上发送组织好的BSR MAC CE及其子头。Step 2: The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
步骤3:终端按照基站分配的上行资源发送上行缓存数据。Step 3: The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
基站侧:Base station side:
步骤1:基站接收终端上行传输,确定终端上报的BSR,根据MAC子头中的LCID,确定为5bit BS size,进一步确定对应的BSR MAC CE格式和使用的是5bit BS size对应的BSR table。Step 1: The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the 5 bit BS size according to the LCID in the MAC sub-header, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 5-bit BS size.
步骤2:基站根据上报的BSR为终端分配上行资源。Step 2: The base station allocates uplink resources to the terminal according to the reported BSR.
步骤3:基站接收上行传输和后续可能的BSR上报。Step 3: The base station receives the uplink transmission and subsequent possible BSR reporting.
实施例5:两个BSR table,多个逻辑信道组缓存上报(针对上述情况一)。Embodiment 5: Two BSR tables, multiple logical channel group caches are reported (for the above case one).
终端侧:Terminal side:
步骤1:终端有多个逻辑信道组的缓存状态需要上报时,确定使用8bit BS size、对应的BSR MAC CE格式以及对应的LCID生成MAC子头,查找8bit BS size的BSR table,生成BSR MAC CE。Step 1: When the buffer status of the logical channel group of the terminal needs to be reported, it is determined that the MAC sub-header is generated by using the 8-bit BS size, the corresponding BSR MAC CE format, and the corresponding LCID, and the BSR table of the 8-bit BS size is searched to generate the BSR MAC CE. .
步骤2:终端在分配的上行资源上发送组织好的BSR MAC CE及其子头。Step 2: The terminal sends the organized BSR MAC CE and its subheaders on the allocated uplink resources.
步骤3:终端按照基站分配的上行资源发送上行缓存数据。Step 3: The terminal sends uplink buffer data according to the uplink resource allocated by the base station.
基站侧:Base station side:
步骤1:基站接收终端上行传输,确定终端上报的BSR,根据MAC子头中的LCID,确定为8bit BS size,进一步确定对应的BSR MAC CE格式和使用的是8bit BS size对应的BSR table。Step 1: The base station receives the uplink transmission of the terminal, determines the BSR reported by the terminal, determines the 8-bit BS size according to the LCID in the MAC sub-header, and further determines the corresponding BSR MAC CE format and the BSR table corresponding to the 8-bit BS size.
步骤2:基站根据上报的BSR为终端分配上行资源。Step 2: The base station allocates uplink resources to the terminal according to the reported BSR.
步骤3:基站接收上行传输和后续可能的BSR上报。Step 3: The base station receives the uplink transmission and subsequent possible BSR reporting.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to embodiments of the present application. It will be understood that one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine such that instructions for execution via a computer processor and/or other programmable data processing apparatus are created for A method of implementing the functions/actions specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system. In the context of the present application, a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (31)

  1. 一种上报缓存状态的方法,其特征在于,该方法包括:A method for reporting a cache state, the method comprising:
    终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的缓存状态上报媒体接入控制格式控制单元BSR MAC CE;The terminal determines the used buffer status to report the media access control format control unit BSR MAC CE according to the number of logical channel groups that need to report the buffer status;
    所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;The terminal generates a 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;
    所述终端将生成的所述BSR MAC CE上报给网络侧设备。The terminal reports the generated BSR MAC CE to the network side device.
  2. 如权利要求1所述的方法,其特征在于,所述终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式,包括:The method according to claim 1, wherein the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
    若需要上报缓存状态的逻辑信道组的数量是多个,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is multiple, the terminal uses a first BSR MAC CE format that can report a plurality of logical channel group buffer states.
  3. 如权利要求2所述的方法,其特征在于,所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The method according to claim 2, wherein the terminal generates a 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:
    所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Determining, by the terminal, the cache sequence number corresponding to the buffered data volume of each logical channel group according to the BSR table corresponding to the first BSR MAC CE format;
    所述终端将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
  4. 如权利要求1所述的方法,其特征在于,所述终端根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式,包括:The method according to claim 1, wherein the terminal determines the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status, including:
    若需要上报缓存状态的逻辑信道组的数量是1个,则所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;或If the number of logical channel groups that need to be reported in the buffer state is one, the terminal selects to use a second BSR MAC CE format capable of reporting a logical channel group buffer state; or
    若需要上报缓存状态的逻辑信道组的数量是1个,则所述终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is one, the terminal determines the BSR MAC CE format to be used according to the buffered data volume of the logical channel group.
  5. 如权利要求4所述的方法,其特征在于,所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;The method according to claim 4, wherein the terminal selects to use a second BSR MAC CE format capable of reporting a logical channel group buffer state;
    所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The terminal generates a 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:
    若所述终端的第二BSR MAC CE对应的BSR的表是复用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式对应的BSR表,则所述终端根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format that can report the buffer status of the multiple logical channel groups, the terminal is configured according to the second BSR MAC. The number of the bits occupied by the buffer sequence number and the amount of the buffered data of the logical channel group in the CE format, and the cache sequence number corresponding to the buffered data volume of the logical channel group is determined from the BSR table corresponding to the first BSR MAC CE format;
    所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  6. 如权利要求5所述的方法,其特征在于,所述终端根据所述第二BSR MAC CE格式中缓存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号,包括:The method according to claim 5, wherein the terminal is from the first BSR MAC according to the number of bits occupied by the buffer sequence number in the second BSR MAC CE format and the buffered data amount of the logical channel group. The cache serial number corresponding to the cached data volume of the logical channel group is determined in the BSR table corresponding to the CE format, and includes:
    若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或If the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the terminal according to the first BSR MAC CE format Corresponding BSR table, determining a cache serial number corresponding to the buffered data volume of the logical channel group; or
    若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则所述终端将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the terminal sets the cache sequence number to a maximum value, indicating The amount of cached data exceeds the amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format;
    其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  7. 如权利要求4所述的方法,其特征在于,所述终端选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;The method according to claim 4, wherein the terminal selects to use a second BSR MAC CE format capable of reporting a logical channel group buffer state;
    所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The terminal generates a 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:
    若所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表,则所述终端根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is not the multiplexed BSR table corresponding to the first BSR MAC CE format, the terminal determines, according to the BSR table corresponding to the second BSR MAC CE format, a cache serial number corresponding to the amount of buffered data of the logical channel group;
    所述终端将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The terminal places the determined cache sequence number in a location corresponding to the second BSR MAC CE format.
  8. 如权利要求4所述的方法,其特征在于,所述终端根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式,包括:The method according to claim 4, wherein the terminal determines the BSR MAC CE format to be used according to the amount of buffered data of the logical channel group, including:
    若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则所述终端使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The first BSR MAC CE format capable of reporting the buffer status of the plurality of logical channel groups is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format. ;or
    若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所述逻辑信道组的缓存数据量,则所述终端使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format, can be used to indicate the amount of buffered data of the logical channel group. .
  9. 如权利要求8所述的方法,其特征在于,所述终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE,包括:The method according to claim 8, wherein the terminal generates a 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:
    所述终端根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓 存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。Determining, by the terminal, the cache sequence number corresponding to the buffered data volume of the logical channel group according to the BSR table corresponding to the first BSR MAC CE format, and placing the determined cache sequence number in the first BSR MAC CE format. In the location.
  10. 一种分配资源的方法,其特征在于,该方法包括:A method for allocating resources, characterized in that the method comprises:
    网络侧设备接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;The network side device receives the 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, where the used BSR MAC CE format is a logical channel group in which the terminal reports the buffer status as needed. The number of
    所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;Determining, by the network side device, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE according to the BSR table;
    所述网络侧设备根据确定的所述缓存数据量为所述终端分配上行资源。The network side device allocates an uplink resource to the terminal according to the determined amount of the cached data.
  11. 如权利要求10所述的方法,其特征在于,所述BSR MAC CE的格式是能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式;The method according to claim 10, wherein the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of a plurality of logical channel groups;
    所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
    所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  12. 如权利要求10所述的方法,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;The method according to claim 10, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a buffer state of one logical channel group, and the second BSR MAC CE of the terminal corresponds to The BSR table is a BSR table corresponding to the first BSR MAC CE format.
    所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
    若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号,则所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或And if the cache sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the network side device is configured according to the first BSR MAC CE. The BSR table corresponding to the format determines the amount of cache data corresponding to the cache sequence number in the BSR MAC CE; or
    若所述BSR MAC CE中的缓存序号为最大值,则所述网络侧设备确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the number of the buffer in the BSR MAC CE is the maximum value, the network side device determines that the buffered data volume of the terminal exceeds the (2^X-1) cache in the BSR table corresponding to the BSR MAC CE format. The amount of cached data represented by the sequence number;
    其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  13. 如权利要求10所述的方法,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表;The method according to claim 10, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a buffer state of one logical channel group, and the second BSR MAC CE of the terminal corresponds to The BSR table is not a multiplexed BSR table corresponding to the first BSR MAC CE format;
    所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
    所述网络侧设备根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  14. 如权利要求10所述的方法,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;The method according to claim 10, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a buffer state of one logical channel group, and the second BSR MAC CE of the terminal corresponds to The BSR table is a BSR table corresponding to the first BSR MAC CE format.
    所述网络侧设备根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量,包括:The network side device determines, according to the BSR table, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE, including:
    所述网络侧设备根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。The network side device determines, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  15. 一种上报缓存状态的终端,其特征在于,该终端包括:处理器、存储器和收发机;A terminal for reporting a cache state, wherein the terminal comprises: a processor, a memory, and a transceiver;
    其中,处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
    根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;将生成的所述BSR MAC CE上报给网络侧设备。Determining the BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status; generating a 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; The BSR MAC CE is reported to the network side device.
  16. 如权利要求15所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 15, wherein the processor is specifically configured to:
    若需要上报缓存状态的逻辑信道组的数量是多个,则使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is multiple, the first BSR MAC CE format capable of reporting the buffer status of multiple logical channel groups is used.
  17. 如权利要求16所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 16, wherein the processor is specifically configured to:
    根据所述第一BSR MAC CE格式对应的BSR表,确定每个逻辑信道组的缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of each logical channel group;
    将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。The determined cache sequence number is placed in a location corresponding to the first BSR MAC CE format.
  18. 如权利要求15所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 15, wherein the processor is specifically configured to:
    若需要上报缓存状态的逻辑信道组的数量是1个,则选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;或If the number of logical channel groups that need to be reported in the buffer state is one, the second BSR MAC CE format capable of reporting the buffer status of one logical channel group is selected; or
    若需要上报缓存状态的逻辑信道组的数量是1个,则根据所述逻辑信道组的缓存数据量,确定使用的BSR MAC CE格式。If the number of logical channel groups that need to be reported in the buffer state is one, the BSR MAC CE format used is determined according to the amount of buffered data of the logical channel group.
  19. 如权利要求18所述的终端,其特征在于,所述处理器选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;The terminal according to claim 18, wherein the processor selects to use a second BSR MAC CE format capable of reporting a buffer state of one logical channel group;
    所述处理器具体用于:The processor is specifically configured to:
    若所述终端的第二BSR MAC CE对应的BSR的表是复用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式中缓 存序号占用的比特数和所述逻辑信道组的缓存数据量,从所述第一BSR MAC CE格式对应的BSR表中确定所述逻辑信道组的缓存数据量对应的缓存序号;If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format that can report the buffer status of the multiple logical channel groups, according to the second BSR MAC CE format Determining, by the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of the logical channel group, where the number of bits occupied by the buffer sequence number and the buffered data volume of the logical channel group are determined;
    将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  20. 如权利要求19所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 19, wherein the processor is specifically configured to:
    若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号能够表示所述逻辑信道组的缓存数据量,则根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;或If the first (2^X-1) cache numbers in the BSR table corresponding to the first BSR MAC CE format can represent the buffered data volume of the logical channel group, the BSR corresponding to the first BSR MAC CE format is used. a table, determining a cache serial number corresponding to the amount of cached data of the logical channel group; or
    若所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号不能表示所述逻辑信道组的缓存数据量,则将缓存序号设置为最大值,表示缓存数据量已超过第一BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format cannot indicate the buffered data volume of the logical channel group, the cache sequence number is set to a maximum value, indicating the amount of cached data. The amount of cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format has been exceeded;
    其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  21. 如权利要求18所述的终端,其特征在于,所述处理器选择使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式;The terminal according to claim 18, wherein the processor selects to use a second BSR MAC CE format capable of reporting a buffer state of one logical channel group;
    所述处理器具体用于:The processor is specifically configured to:
    若所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表,则根据所述第二BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号;Determining, according to the BSR table corresponding to the second BSR MAC CE format, the logical channel group, if the BSR table corresponding to the second BSR MAC CE of the terminal is not the multiplexed BSR table corresponding to the first BSR MAC CE format The cache serial number corresponding to the amount of cached data;
    将确定的缓存序号置于所述第二BSR MAC CE格式对应的位置中。The determined buffer sequence number is placed in a location corresponding to the second BSR MAC CE format.
  22. 如权利要求18所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 18, wherein the processor is specifically configured to:
    若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号无法表示所述逻辑信道组的缓存数据量,则使用能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数;或If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format If the amount of cached data of the logical channel group cannot be represented, a first BSR MAC CE format capable of reporting a plurality of logical channel group buffer states is used, where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format; or
    若所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表,且所述第一BSR MAC CE格式对应的BSR表的前2^X个缓存序号能够表示所述逻辑信道组的缓存数据量,则使用能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,其中X为第二BSR MAC CE格式中缓存序号占用的比特数。If the BSR table corresponding to the second BSR MAC CE of the terminal is a BSR table corresponding to the first BSR MAC CE format, and the first 2^X cache numbers of the BSR table corresponding to the first BSR MAC CE format The second BSR MAC CE format capable of reporting the buffer status of one logical channel group is used, and X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  23. 如权利要求22所述的终端,其特征在于,所述处理器具体用于:The terminal according to claim 22, wherein the processor is specifically configured to:
    根据所述第一BSR MAC CE格式对应的BSR表,确定所述逻辑信道组的缓存数据量对应的缓存序号,并将确定的缓存序号置于所述第一BSR MAC CE格式对应的位置中。And determining, according to the BSR table corresponding to the first BSR MAC CE format, a buffer sequence number corresponding to the buffered data volume of the logical channel group, and placing the determined cache sequence number in a location corresponding to the first BSR MAC CE format.
  24. 一种分配资源的网络侧设备,其特征在于,该网络侧设备包括:处理器、存储器 和收发机;A network side device for allocating resources, wherein the network side device comprises: a processor, a memory, and a transceiver;
    其中,处理器,用于读取存储器中的程序并执行:The processor is configured to read a program in the memory and execute:
    接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;根据确定的所述缓存数据量为所述终端分配上行资源。The receiving terminal generates a 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, where the BSR MAC CE format used is determined by the terminal according to the number of logical channel groups that need to report the buffer status. And determining, according to the BSR table, the amount of cached data corresponding to the cached sequence number in the BSR MAC CE; and allocating the uplink resource to the terminal according to the determined amount of the cached data.
  25. 如权利要求24所述的网络侧设备,其特征在于,所述BSR MAC CE的格式是能够上报多个逻辑信道组缓存状态的第一BSR MAC CE格式;The network side device according to claim 24, wherein the format of the BSR MAC CE is a first BSR MAC CE format capable of reporting a buffer status of a plurality of logical channel groups;
    所述处理器具体用于:The processor is specifically configured to:
    根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  26. 如权利要求24所述的网络侧设备,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;The network side device according to claim 24, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a logical channel group buffer state, and the second BSR MAC CE of the terminal The corresponding BSR table is a BSR table corresponding to the first BSR MAC CE format;
    所述处理器具体用于:The processor is specifically configured to:
    若所述BSR MAC CE中的缓存序号为所述第一BSR MAC CE格式对应的BSR表中前(2^X-1)个缓存序号,则根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量;或If the buffer sequence number in the BSR MAC CE is the first (2^X-1) cache sequence numbers in the BSR table corresponding to the first BSR MAC CE format, the BSR table corresponding to the first BSR MAC CE format is used. , determining the amount of cached data corresponding to the cache serial number in the BSR MAC CE; or
    若所述BSR MAC CE中的缓存序号为最大值,则确定所述终端的缓存数据量已超过BSR MAC CE格式对应的BSR表中的第(2^X-1)个缓存序号表征的缓存数据量;If the buffer sequence number in the BSR MAC CE is the maximum value, it is determined that the buffered data volume of the terminal exceeds the cached data represented by the (2^X-1) cache sequence numbers in the BSR table corresponding to the BSR MAC CE format. the amount;
    其中,X为第二BSR MAC CE格式中缓存序号占用的比特数。Where X is the number of bits occupied by the buffer sequence number in the second BSR MAC CE format.
  27. 如权利要求24所述的网络侧设备,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表不是复用第一BSR MAC CE格式对应的BSR表;The network side device according to claim 24, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a logical channel group buffer state, and the second BSR MAC CE of the terminal The corresponding BSR table is not a BSR table corresponding to the first BSR MAC CE format;
    所述处理器具体用于:The processor is specifically configured to:
    根据所述第二BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the second BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  28. 如权利要求24所述的网络侧设备,其特征在于,所述BSR MAC CE的格式是能够上报1个逻辑信道组缓存状态的第二BSR MAC CE格式,且所述终端的第二BSR MAC CE对应的BSR的表是复用第一BSR MAC CE格式对应的BSR表;The network side device according to claim 24, wherein the format of the BSR MAC CE is a second BSR MAC CE format capable of reporting a logical channel group buffer state, and the second BSR MAC CE of the terminal The corresponding BSR table is a BSR table corresponding to the first BSR MAC CE format;
    所述处理器具体用于:The processor is specifically configured to:
    根据所述第一BSR MAC CE格式对应的BSR表,确定BSR MAC CE中的缓存序号对应的缓存数据量。And determining, according to the BSR table corresponding to the first BSR MAC CE format, the amount of cache data corresponding to the cache sequence number in the BSR MAC CE.
  29. 一种上报缓存状态的终端,其特征在于,该终端包括:A terminal for reporting a cached state, the terminal includes:
    格式确定模块,用于根据需要上报缓存状态的逻辑信道组的数量,确定使用的BSR MAC CE格式;a format determining module, configured to determine a BSR MAC CE format to be used according to the number of logical channel groups that need to report the buffer status;
    生成模块,用于根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数,生成BSR MAC CE;a generating module, configured to generate a 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;
    上报模块,用于将生成的所述BSR MAC CE上报给网络侧设备。The reporting module is configured to report the generated BSR MAC CE to the network side device.
  30. 一种分配资源的网络侧设备,其特征在于,该网络侧设备包括:A network side device that allocates resources, where the network side device includes:
    接收模块,用于接收终端根据确定的BSR MAC CE格式以及所述BSR MAC CE格式中缓存序号占用的比特数生成的BSR MAC CE,其中使用的BSR MAC CE格式是终端根据需要上报缓存状态的逻辑信道组的数量确定的;a receiving module, configured to receive, by the terminal, a BSR MAC CE generated 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, where the used BSR MAC CE format is a logic for the terminal to report the buffer status according to the need The number of channel groups is determined;
    数据量确定模块,用于根据BSR表确定BSR MAC CE中的缓存序号对应的缓存数据量;a data quantity determining module, configured to determine, according to the BSR table, a cache data amount corresponding to a cache serial number in the BSR MAC CE;
    分配模块,用于根据确定的所述缓存数据量为所述终端分配上行资源。And an allocating module, configured to allocate an uplink resource to the terminal according to the determined amount of the cached data.
  31. 一种计算机可存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1~9任一所述方法的步骤或权利要求10~14任一所述方法的步骤。A computer storable medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the steps of any of claims 1-9 or the method of any of claims 10-14 A step of.
PCT/CN2018/093856 2017-09-25 2018-06-29 Method and device for reporting cache state and allocating resources WO2019056828A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2019056828A1 true WO2019056828A1 (en) 2019-03-28

Family

ID=65810975

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134027A1 (en) * 2020-12-25 2022-06-30 Lenovo (Beijing) Limited Method and apparatus for information processing in a small data transmission procedure
WO2023151615A1 (en) * 2022-02-14 2023-08-17 维沃移动通信有限公司 Sl bsr processing method, apparatus, communication device and readable storage medium

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
CN117835429A (en) * 2022-09-28 2024-04-05 荣耀终端有限公司 Information reporting method and communication device
CN118265079A (en) * 2022-12-28 2024-06-28 上海朗帛通信技术有限公司 Method and apparatus in a communication node for wireless communication
CN118283641A (en) * 2022-12-29 2024-07-02 大唐移动通信设备有限公司 Information processing method, device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291772A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for user equipment (UE) to report bit scan reverse (BSR) and for base station to determine buffer data quantity reported by UE
CN102291200A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for reporting buffer status report, method for determining quantity of data and equipment
CN102291760A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method, system and equipment for reporting and confirming buffer memory state information
CN102547669A (en) * 2012-02-10 2012-07-04 大唐移动通信设备有限公司 Data buffer status report and uplink resource scheduling methods and equipment
WO2014003412A1 (en) * 2012-06-26 2014-01-03 Lg Electronics Inc. Method and apparatus for transmitting indicator in wireless communication system
CN106470445A (en) * 2015-08-21 2017-03-01 中兴通讯股份有限公司 Buffer status report generation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3001755B1 (en) * 2014-09-26 2018-11-07 Alcatel Lucent Uplink resource allocation for direct communications between user equipment within groups
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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291772A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for user equipment (UE) to report bit scan reverse (BSR) and for base station to determine buffer data quantity reported by UE
CN102291200A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method for reporting buffer status report, method for determining quantity of data and equipment
CN102291760A (en) * 2010-06-21 2011-12-21 电信科学技术研究院 Method, system and equipment for reporting and confirming buffer memory state information
CN102547669A (en) * 2012-02-10 2012-07-04 大唐移动通信设备有限公司 Data buffer status report and uplink resource scheduling methods and equipment
WO2014003412A1 (en) * 2012-06-26 2014-01-03 Lg Electronics Inc. Method and apparatus for transmitting indicator in wireless communication system
CN106470445A (en) * 2015-08-21 2017-03-01 中兴通讯股份有限公司 Buffer status report generation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134027A1 (en) * 2020-12-25 2022-06-30 Lenovo (Beijing) Limited Method and apparatus for information processing in a small data transmission procedure
WO2023151615A1 (en) * 2022-02-14 2023-08-17 维沃移动通信有限公司 Sl bsr processing method, apparatus, communication device and readable storage medium

Also Published As

Publication number Publication date
CN109561464A (en) 2019-04-02
CN109561464B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2019056828A1 (en) Method and device for reporting cache state and allocating resources
TWI681654B (en) Method and equipment for reporting cache status report
US11082884B2 (en) Communication method, terminal device, and access network device
WO2017092707A1 (en) Method and device for wireless communication
US11039448B2 (en) Resource scheduling method and apparatus
CN109716838A (en) A kind of resource request method, equipment and system
US10966224B2 (en) Logical channel scheduling method and system, and apparatus
WO2020125654A1 (en) Bsr reporting method and device
US12004228B2 (en) Information transmission method, terminal device, and network device
WO2021208848A1 (en) Scheduling method, and terminal and network side device
US20220217581A1 (en) Downlink control information sending method and apparatus, and readable storage medium
JP7507876B2 (en) Resource determination method and device
WO2018227814A1 (en) Data indicating method, device and communication system
CN101150597A (en) Method, system and device for allocating media access control address for access point
US11974317B2 (en) Data transmission method and apparatus, computer device, and system
KR20210150582A (en) Method, terminal and network-side device for obtaining a pre-configured grant
WO2019047757A1 (en) Resource indication and determination method and device
WO2019192053A1 (en) Information processing method and device
CN112153687B (en) Cache information reporting method, receiving method, terminal and network side equipment
US20240259867A1 (en) Method, device, and system for buffer status report
WO2021121059A1 (en) Media access control protocol data unit processing method, terminal, and medium
WO2024104057A1 (en) Resource allocation method and apparatus
WO2024067186A1 (en) Communication method and apparatus
CA3064631C (en) Method and device for transmitting data
WO2024102779A1 (en) Flexible buffer status reports in a communication network

Legal Events

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

Ref document number: 18857506

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18857506

Country of ref document: EP

Kind code of ref document: A1